Commit f67a7755 by 王志慧

feat

1 parent 1489656d
......@@ -185,6 +185,7 @@ export default {
this.$set(this.titles[1], 'personNum', res.staffCount)
this.$set(this.titles[2], 'personNum', res.quitCount)
this.$set(this.titles[3], 'personNum', res.potentialCount)
this.$set(this.titles[4], 'personNum', res.tagCount)
},
goBack() {
......
......@@ -152,8 +152,8 @@ export default {
getTableList(status) {
this.labelTree = []
let params = {
belongType: 2,
labelTreeReq: {
belongType: 2,
pageNum: 1,
pageSize: 10000,
shopId: this.$globalState.session.merchantId,
......
......@@ -107,7 +107,7 @@
<span>{{ scope.scope.delFlag == -1 ? '已解散' : scope.scope.delFlag == 0 ? '正常' : '' }}</span>
</span>
<div class="table-btns" slot="optionBtns" slot-scope="scope">
<el-button type="text" @click="goGroupDetail(scope.scope)" class="blue-text">详情</el-button>
<el-button type="text" @click="goDetail(scope.scope.id, scope.scope.custGroupName)" class="blue-text">详情</el-button>
</div>
</GLTable>
</div>
......@@ -608,6 +608,15 @@ export default {
path: `/tagsManage/viewCustomers/${id}/${type}`
})
},
goDetail(id, name) {
this.$router.push({
path: '/clientGroupManage/clientGroupDetail',
query: {
id: id,
groupName: name
}
})
},
watchInput() {},
showTagArray(list) {
if (list.length == 0) {
......@@ -662,7 +671,7 @@ export default {
})
},
getTableTagNumFun() {
getTableTagNum({ 'labelStatReq.shopId': this.merchantId, 'labelStatReq.edition': this.merchantModel, belongType: 2 }).then(res => {
getTableTagNum({ 'labelStatReq.shopId': this.merchantId, 'labelStatReq.edition': this.merchantModel, 'labelStatReq.belongType': 2 }).then(res => {
if (!res) {
return false
}
......@@ -801,7 +810,7 @@ export default {
newAddTagFun(status) {
//满足条件进行提交
let params = {}
params.belongType = 2
params['labelDTO.belongType'] = 2
params['labelDTO.dataFrom'] = 'cs'
params['labelDTO.shopId'] = this.merchantId
params['labelDTO.edition'] = this.merchantModel
......@@ -842,7 +851,7 @@ export default {
},
updateTagFun() {
let param = {}
param.belongType = 2
param['labelDTO.belongType'] = 2
param['labelDTO.dataFrom'] = 'cs'
param['labelDTO.edition'] = this.merchantModel
param['labelDTO.labelGroup.id'] = this.tagGroupId
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!