Commit 3e4d5d9b authored by gengshaojing's avatar gengshaojing

add: 自提点管理

parent adee0d54
......@@ -27,7 +27,9 @@
<div>
<search @getData="getPlaceList"></search>
</div>
<el-button type="primary" @click="$router.push('/op/groupmeal/point')">自提点管理</el-button>
<a href="/op/groupmeal/point" target="_blank">
<el-button type="primary">自提点管理</el-button>
</a>
</div>
<div
......@@ -61,6 +63,7 @@
border
tooltip-effect="dark"
style="width: 100%"
@select-all="selectall"
@selection-change="handleSelectionChange"
>
<el-table-column align="center" type="selection" width="80"></el-table-column>
......@@ -266,6 +269,12 @@
},
},
methods: {
selectall() {
console.log("selectall");
if (this.currentCheckedTakePlacelist.length === 0) {
this.checkedTakePlacelist = [];
}
},
/* API */
// 获取自提点
async getPlaceList(params = {}) {
......@@ -392,6 +401,7 @@
// 复选框(提供给父组件)
handleSelectionChange(val) {
console.log(val);
this.currentCheckedTakePlacelist = val; // 当前勾选的列表
this.checkedNum = val.length;
this.multipleSelection = val;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment