Commit 058b45a6 by 王志慧

feat

1 parent f260225d
......@@ -67,8 +67,8 @@
<template v-if="currentIndex == 3">
<potential-client ref="childCompPotential" :url="url"></potential-client>
</template>
<template v-if="currentIndex == 4">
<group-tag ref="childCompPotential" :url="url"></group-tag>
<template v-if="currentIndex == 4">
<group-tag ref="childCompPotential" :url="url" @updateGroupTag="updateGroupTag"></group-tag>
</template>
<GLDialog mode="small" :visible.sync="dialogVisible">
<div class="content-body">
......@@ -155,11 +155,9 @@ export default {
// },
methods: {
// getTotal(num) {
// if (this.currentIndex == 0) {
// this.$set(this.titles[0], 'personNum', num)
// }
// },
updateGroupTag() {
this.getTableDetail()
},
handleExport(currentIndex) {
if (currentIndex == 0) {
this.$refs.childCompClient.handleExport()
......@@ -185,7 +183,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)
this.$set(this.titles[4], 'personNum', res.tagCount)
},
goBack() {
......
......@@ -233,6 +233,7 @@ export default {
if (res.code == 0) {
this.sloading = false
this.$message.success('设置成功')
this.$emit('updateGroupTag')
this.handleClose()
this.getCustomerTag() //刷新当前页面
} else {
......
......@@ -74,7 +74,7 @@
<GLCombiForm ref="formSearch" :formObj="searchForm" :formData="tagsPartFormList" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<div class="clientNumExp">
<div class="clientNum">
<div class="clientListNew">客户列表({{ tableTotal }}人)</div>
<div class="clientListNew">群聊列表({{ tableTotal }}人)</div>
</div>
<div>
<GLButton size="small" @click="handleExport" class="export" fn="导出">导出</GLButton>
......@@ -242,7 +242,7 @@
</div>
</GLDialog>
<div class="loading-containner" v-if="userLoading">
<div class="loading-box">客户列表加载中</div>
<div class="loading-box">群聊列表加载中</div>
</div>
</div>
</template>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!