From 29d12cf324c18ea1661a65a5977cd844a1ef48a2 Mon Sep 17 00:00:00 2001 From: lcc <805383944@qq.com> Date: Sat, 26 Jul 2025 23:19:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BA=BF=E7=B4=A2=E6=B1=A0?= =?UTF-8?q?=E5=92=8C=E5=AE=A2=E6=88=B7=E6=B1=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../receiver/subsidy/components/edit.vue | 1 + pingan/src/api/auto/index.js | 14 + pingan/src/views/receiver/clues/index.vue | 243 ++++++++++++------ pingan/src/views/receiver/customer/index.vue | 236 +++++++++++------ 4 files changed, 332 insertions(+), 162 deletions(-) diff --git a/admin/src/views/receiver/subsidy/components/edit.vue b/admin/src/views/receiver/subsidy/components/edit.vue index dca408a..512e100 100644 --- a/admin/src/views/receiver/subsidy/components/edit.vue +++ b/admin/src/views/receiver/subsidy/components/edit.vue @@ -38,6 +38,7 @@ - - - - - - - - - - - - - - + + + - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - -
+ + +
@@ -143,6 +183,7 @@ import { pageClues, getSearch } from '@/api/receiver/clues'; import RegionsSelect from '@/components/RegionsSelect/index.vue'; import BrandSelect from '@/components/BrandSelect/index.vue'; + import { pageCenterList, pageOrgNameList } from '@/api/auto'; export default { name: 'receiverClues', @@ -154,16 +195,17 @@ citys: [], brands: [], belong: [], - userCode: '' + userCode: '', + centerNumber: '', + orgName: '' }, // 表格列配置 columns: [ { prop: 'customer', label: '线索', - minWidth: 100, + minWidth: 115, align: 'center', - showOverflowTooltip: true, fixed: 'left', slot: 'customer' }, @@ -175,6 +217,22 @@ minWidth: 80, slot: 'belongUserName' }, + { + prop: 'centerNumber', + label: '中心', + align: 'center', + showOverflowTooltip: true, + minWidth: 50, + slot: 'centerNumber' + }, + { + prop: 'orgName', + label: '机构', + align: 'center', + showOverflowTooltip: true, + minWidth: 50, + slot: 'orgName' + }, { prop: 'brandSeries', label: '关注车型', @@ -189,23 +247,19 @@ label: '状态', align: 'center', showOverflowTooltip: true, - minWidth: 80 + minWidth: 50 + }, + { + prop: 'poi', + label: '所属地区', + align: 'center' }, { prop: 'enTime', - label: '日期', + label: '入池时间', align: 'center', minWidth: 80, - resizable: false, - showOverflowTooltip: true - }, - { - columnKey: 'action', - label: '操作', - width: 200, - align: 'center', - resizable: false, - slot: 'action' + resizable: false } ], // 表格选中数据 @@ -265,11 +319,15 @@ ] }, belongOptions: [], - statusList: [] + statusList: [], + centerList: [], + orgNameList: [] }; }, created() { this.loadSearch(); + this.loadCenterList(); + this.loadOrgNameList(); }, computed: { // 是否开启响应式布局 @@ -278,6 +336,24 @@ } }, methods: { + loadOrgNameList() { + pageOrgNameList() + .then((data) => { + this.orgNameList = data; + }) + .catch((e) => { + this.$message.error(e.message); + }); + }, + loadCenterList() { + pageCenterList() + .then((data) => { + this.centerList = data; + }) + .catch((e) => { + this.$message.error(e.message); + }); + }, loadSearch() { getSearch() .then((data) => { @@ -325,6 +401,7 @@ /* 重置搜索 */ reset() { this.where = {}; + this.reload(); } } }; diff --git a/pingan/src/views/receiver/customer/index.vue b/pingan/src/views/receiver/customer/index.vue index 19b16be..0acd18c 100644 --- a/pingan/src/views/receiver/customer/index.vue +++ b/pingan/src/views/receiver/customer/index.vue @@ -4,15 +4,6 @@ - - - - - + + + + + + + + + + + + @@ -35,42 +46,12 @@ - + - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ + + +