Commit 9c7e50c4 by xuyl

修改标签组客户列表显示数量bug

1 parent b549cf2e
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
<div class="clientNum"> <div class="clientNum">
<!-- {{ labelGroupName }} --> <!-- {{ labelGroupName }} -->
标签组客户列表 标签组客户列表
<span class="clientNumText">{{ customerListsNum }}个</span> <span class="clientNumText">{{ tableTotal }}个</span>
</div> </div>
<div class="export" @click="handleExport">导出</div> <div class="export" @click="handleExport">导出</div>
</div> </div>
...@@ -443,6 +443,7 @@ export default { ...@@ -443,6 +443,7 @@ export default {
}, },
setTableFinishFun(content) { setTableFinishFun(content) {
console.log(content, this.$refs.viewCustomers.data.length, '获取数据') console.log(content, this.$refs.viewCustomers.data.length, '获取数据')
console.log(this.$refs.viewCustomers.total)
this.customerListsNum = this.$refs.viewCustomers.total this.customerListsNum = this.$refs.viewCustomers.total
this.$refs.viewCustomers.data.length ? (this.$refs.viewCustomers.tableHeightValues = '') : this.$refs.viewCustomers.setTableHeightFun() this.$refs.viewCustomers.data.length ? (this.$refs.viewCustomers.tableHeightValues = '') : this.$refs.viewCustomers.setTableHeightFun()
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!