From c3be68e062555f2abd5045e8139592fc58d242d1 Mon Sep 17 00:00:00 2001 From: zhangyuan Date: Thu, 7 Jul 2022 17:04:22 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E8=9E=8D=E5=90=88=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../union/customerrelation-add-or-update.vue | 186 ++++++++++++++++++ .../plugins/union/customerrelation.vue | 139 +++++++++++++ 2 files changed, 325 insertions(+) create mode 100644 src/views/modules/plugins/union/customerrelation-add-or-update.vue create mode 100644 src/views/modules/plugins/union/customerrelation.vue diff --git a/src/views/modules/plugins/union/customerrelation-add-or-update.vue b/src/views/modules/plugins/union/customerrelation-add-or-update.vue new file mode 100644 index 00000000..cb6e13b4 --- /dev/null +++ b/src/views/modules/plugins/union/customerrelation-add-or-update.vue @@ -0,0 +1,186 @@ + + + diff --git a/src/views/modules/plugins/union/customerrelation.vue b/src/views/modules/plugins/union/customerrelation.vue new file mode 100644 index 00000000..be0cdd12 --- /dev/null +++ b/src/views/modules/plugins/union/customerrelation.vue @@ -0,0 +1,139 @@ + + + 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 2/3] =?UTF-8?q?=E5=AE=A2=E6=88=B7=E6=9D=83=E9=99=90?= =?UTF-8?q?=E6=9B=B4=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 { From 2dff7d5f85cb280e8f19ac484e7afd344ec38ea6 Mon Sep 17 00:00:00 2001 From: wanggongfeng <1305282856@qq.com> Date: Wed, 20 Jul 2022 10:51:27 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E5=AE=A2=E6=88=B7=E6=9D=83=E9=99=90?= =?UTF-8?q?=E6=9B=B4=E6=8D=A2=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/plugins/union/customerrelation.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/modules/plugins/union/customerrelation.vue b/src/views/modules/plugins/union/customerrelation.vue index 25090efc..7ec83244 100644 --- a/src/views/modules/plugins/union/customerrelation.vue +++ b/src/views/modules/plugins/union/customerrelation.vue @@ -8,9 +8,9 @@ - - {{ $t('add') }} - + + +