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 {