Commit 8c5d351f by huaying

fix: kk

parent 160b5199
......@@ -71,12 +71,12 @@
</el-table-column>
<el-table-column label="添加好友人数" prop="addNum" sortable="custom" width="150">
<template slot-scope="{ row }">
<p>{{ row.addNum == null ? row.addNum : '--' }}</p>
<p>{{ row.addNum ? row.addNum : '--' }}</p>
</template>
</el-table-column>
<el-table-column label="今日新增人数" prop="addNumT" sortable="custom" width="150">
<template slot-scope="{ row }">
<p>{{ row.addNumT == null ? row.addNumT : '--' }}</p>
<p>{{ row.addNumT ? row.addNumT : '--' }}</p>
</template>
</el-table-column>
<el-table-column label="关联导购" width="120" show-overflow-tooltip>
......@@ -113,11 +113,11 @@
</p>
</template>
</el-table-column>
<el-table-column label="所属分组" width="100" show-overflow-tooltip>
<!-- <el-table-column label="所属分组" width="100" show-overflow-tooltip>
<template slot-scope="{ row }">
<p>{{ row.hmGroupId ? row.hmGroupId : '--' }}</p>
</template>
</el-table-column>
</el-table-column> -->
<el-table-column label="创建人" width="100">
<template slot-scope="{ row }">
<p>{{ row.creatorName ? row.creatorName : '--' }}</p>
......@@ -525,11 +525,11 @@ export default {
watch: {
currentGroupId: {
handler: function(val) {
if (val) {
// if (val) {
this.currentGroupId = val;
this.pageParam.pageNo = 1;
this.getTableList();
}
// }
},
immediate: true
}
......
......@@ -64,7 +64,9 @@ export default {
},
onChange(data) {
this.data = data;
this.form.clerkIdList = data;
this.form.clerkIdList = data.map(item => {
return item.clerkId;
});
this.form.hmUserNum = data.length;
},
async onSubmit(event) {
......
......@@ -99,6 +99,16 @@ export default {
};
},
created() {
// this.searchGroup();
},
activated() {
if (this.$route.meta.refresh) {
this.pageP = {
groupName: '',
pageNum: 1,
pageSize: 20
};
}
this.searchGroup();
},
methods: {
......@@ -115,9 +125,7 @@ export default {
}
},
clickGroupListItem(listItem) {
console.log(listItem, 'uuuuu');
this.currentListItemUuid = listItem.groupId;
console.log(this.currentListItemUuid, 'this.currentListItemUuid');
this.$emit('updateList', this.currentListItemUuid);
},
isShowGroupListItemMore(listItem) {
......@@ -241,7 +249,6 @@ export default {
if (this.pageP.groupName == '') {
this.searchTip = false;
} else if (this.pageP.groupName != '') {
// this.groupList.splice(0, 1);
if (this.groupList.length <= 0) {
this.searchTip = true;
}
......
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