From 0c42bdc94baf5406e2575c96681a6f0b4d48ad58 Mon Sep 17 00:00:00 2001 From: wanggongfeng <1305282856@qq.com> Date: Wed, 20 Jul 2022 10:32:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A2=E6=88=B7=E6=9D=83=E9=99=90=E6=9B=B4?= =?UTF-8?q?=E6=8D=A2=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../plugins/union/customerrelation.vue | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/src/views/modules/plugins/union/customerrelation.vue b/src/views/modules/plugins/union/customerrelation.vue index be0cdd12..25090efc 100644 --- a/src/views/modules/plugins/union/customerrelation.vue +++ b/src/views/modules/plugins/union/customerrelation.vue @@ -58,25 +58,25 @@ v-loading="tableLoading" :data="tableData" :default-expand-all="true" - row-key="id" + row-key="areaCode" border :tree-props="{children: 'children', hasChildren: 'hasChildren'}" :header-cell-style="{background:'#2195FE',color:'#FFFFFF'}" :height="tableHeight"> - - - - - - + + + + + + + + + + + + @@ -94,7 +94,7 @@ export default { return { mixinViewModuleOptions: { createdIsNeed: false, - getDataListURL: '/oper/crm/customerRelation/customertree', + getDataListURL: '/gov/org/agency/customertree', getDataListIsPage: true, deleteURL: '/oper/crm/customerRelation', deleteIsBatch: true @@ -117,7 +117,7 @@ export default { // 查询列表 async getTableData () { this.tableLoading = true - await this.$http.get('/oper/crm/customerRelation/customertree').then(({ data: res }) => { + await this.$http.get('/gov/org/agency/customertree').then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.internalMsg ? res.internalMsg : res.msg ? res.msg : '查询失败') } else {