Commit f67a7755 by 王志慧

feat

1 parent 1489656d
...@@ -185,6 +185,7 @@ export default { ...@@ -185,6 +185,7 @@ export default {
this.$set(this.titles[1], 'personNum', res.staffCount) this.$set(this.titles[1], 'personNum', res.staffCount)
this.$set(this.titles[2], 'personNum', res.quitCount) this.$set(this.titles[2], 'personNum', res.quitCount)
this.$set(this.titles[3], 'personNum', res.potentialCount) this.$set(this.titles[3], 'personNum', res.potentialCount)
this.$set(this.titles[4], 'personNum', res.tagCount)
}, },
goBack() { goBack() {
......
...@@ -152,8 +152,8 @@ export default { ...@@ -152,8 +152,8 @@ export default {
getTableList(status) { getTableList(status) {
this.labelTree = [] this.labelTree = []
let params = { let params = {
belongType: 2,
labelTreeReq: { labelTreeReq: {
belongType: 2,
pageNum: 1, pageNum: 1,
pageSize: 10000, pageSize: 10000,
shopId: this.$globalState.session.merchantId, shopId: this.$globalState.session.merchantId,
......
...@@ -107,7 +107,7 @@ ...@@ -107,7 +107,7 @@
<span>{{ scope.scope.delFlag == -1 ? '已解散' : scope.scope.delFlag == 0 ? '正常' : '' }}</span> <span>{{ scope.scope.delFlag == -1 ? '已解散' : scope.scope.delFlag == 0 ? '正常' : '' }}</span>
</span> </span>
<div class="table-btns" slot="optionBtns" slot-scope="scope"> <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> </div>
</GLTable> </GLTable>
</div> </div>
...@@ -608,6 +608,15 @@ export default { ...@@ -608,6 +608,15 @@ export default {
path: `/tagsManage/viewCustomers/${id}/${type}` path: `/tagsManage/viewCustomers/${id}/${type}`
}) })
}, },
goDetail(id, name) {
this.$router.push({
path: '/clientGroupManage/clientGroupDetail',
query: {
id: id,
groupName: name
}
})
},
watchInput() {}, watchInput() {},
showTagArray(list) { showTagArray(list) {
if (list.length == 0) { if (list.length == 0) {
...@@ -662,7 +671,7 @@ export default { ...@@ -662,7 +671,7 @@ export default {
}) })
}, },
getTableTagNumFun() { 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) { if (!res) {
return false return false
} }
...@@ -801,7 +810,7 @@ export default { ...@@ -801,7 +810,7 @@ export default {
newAddTagFun(status) { newAddTagFun(status) {
//满足条件进行提交 //满足条件进行提交
let params = {} let params = {}
params.belongType = 2 params['labelDTO.belongType'] = 2
params['labelDTO.dataFrom'] = 'cs' params['labelDTO.dataFrom'] = 'cs'
params['labelDTO.shopId'] = this.merchantId params['labelDTO.shopId'] = this.merchantId
params['labelDTO.edition'] = this.merchantModel params['labelDTO.edition'] = this.merchantModel
...@@ -842,7 +851,7 @@ export default { ...@@ -842,7 +851,7 @@ export default {
}, },
updateTagFun() { updateTagFun() {
let param = {} let param = {}
param.belongType = 2 param['labelDTO.belongType'] = 2
param['labelDTO.dataFrom'] = 'cs' param['labelDTO.dataFrom'] = 'cs'
param['labelDTO.edition'] = this.merchantModel param['labelDTO.edition'] = this.merchantModel
param['labelDTO.labelGroup.id'] = this.tagGroupId 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!