From 033ca422a49b91d699cd7fffb8e9943ba38a99ce Mon Sep 17 00:00:00 2001 From: lcc <805383944@qq.com> Date: Wed, 16 Jul 2025 11:57:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=AE=A1=E7=90=86=E5=90=8E?= =?UTF-8?q?=E5=8F=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pingan/src/api/auto/index.js | 7 +++++ pingan/src/components/BizSelect/index.vue | 24 ++++++++--------- pingan/src/views/car/product/index.vue | 28 +++++++++++--------- pingan/src/views/receiver/clues/index.vue | 7 ++++- pingan/src/views/receiver/customer/index.vue | 23 +++------------- 5 files changed, 43 insertions(+), 46 deletions(-) diff --git a/pingan/src/api/auto/index.js b/pingan/src/api/auto/index.js index 964d480..b73d1be 100644 --- a/pingan/src/api/auto/index.js +++ b/pingan/src/api/auto/index.js @@ -20,3 +20,10 @@ export async function pageAutoCar(params) { }); return res.data; } + +export async function pageProvinceBiz(params) { + const res = await request.get('/common/allProvinceBiz', { + params + }); + return res.data; +} diff --git a/pingan/src/components/BizSelect/index.vue b/pingan/src/components/BizSelect/index.vue index 91ea668..c53683f 100644 --- a/pingan/src/components/BizSelect/index.vue +++ b/pingan/src/components/BizSelect/index.vue @@ -10,10 +10,12 @@ popper-class="ele-pop-wrap-higher" :props="props" @input="updateValue" + :show-all-levels="false" /> - + diff --git a/pingan/src/views/receiver/customer/index.vue b/pingan/src/views/receiver/customer/index.vue index 559c251..a9d7a91 100644 --- a/pingan/src/views/receiver/customer/index.vue +++ b/pingan/src/views/receiver/customer/index.vue @@ -256,24 +256,6 @@ this.$message.error(e.message); }); }, - /* 下拉按钮点击 */ - dropClick(command, row) { - if (command === 'edit') { - this.current = row; - this.showEdit = true; - } else if (command === 'brokerage') { - this.current = row; - this.showEditBrokerage = true; - } else if (command === 'coupon') { - const path = '/car/product/coupon'; - this.$nextTick(() => { - this.$router.push({ - path, - query: row ? { id: row.id, title: row.title } : undefined - }); - }); - } - }, goDetail(row) { const path = '/receiver/customer/detail'; this.$router.push({ @@ -297,7 +279,8 @@ };