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 @@ };