From 6f6bb47263c84990cd8ebd15de0d5005660a0ee6 Mon Sep 17 00:00:00 2001 From: PQZ Date: Fri, 20 Sep 2024 16:23:59 +0800 Subject: [PATCH] 1 --- src/views/base/customer/components/CorpCustomer.vue | 13 ++++++++++++- src/views/base/customer/components/TodoCustomer.vue | 13 ++++++++++++- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/src/views/base/customer/components/CorpCustomer.vue b/src/views/base/customer/components/CorpCustomer.vue index 1599615..f1890c9 100644 --- a/src/views/base/customer/components/CorpCustomer.vue +++ b/src/views/base/customer/components/CorpCustomer.vue @@ -107,6 +107,7 @@ v-hasPermi="['base:customer-main:car']">绑定车辆 经办人 + 打标签 @@ -119,6 +120,7 @@ + @@ -126,10 +128,11 @@ import * as CustomerMainApi from '@/api/base/customer'; import CustomerMainForm from '@/views/base/customer/CustomerMainForm.vue'; import CustomerCarForm from '@/views/base/customer/CustomerCarForm.vue'; +import CustomerLabelForm from '@/views/base/customer/CustomerLabelForm.vue'; export default { name: "CorpCustomer", components: { - CustomerMainForm,CustomerCarForm + CustomerMainForm,CustomerCarForm,CustomerLabelForm }, props: { typeCode: { @@ -195,6 +198,9 @@ export default { //经办人管理 this.openFormAttn(row); break; + case 'bindLabel': + this.bindLabel(row); + break; default: break; } @@ -207,6 +213,11 @@ export default { this.$refs["carFormRef"].open(row); }, + /**打标签*/ + bindLabel(row){ + this.$refs["labelFormRef"].open(row); + }, + /** 查询列表 */ async getList() { try { diff --git a/src/views/base/customer/components/TodoCustomer.vue b/src/views/base/customer/components/TodoCustomer.vue index 593f102..d16eaa2 100644 --- a/src/views/base/customer/components/TodoCustomer.vue +++ b/src/views/base/customer/components/TodoCustomer.vue @@ -82,6 +82,8 @@ 绑定车辆 + 打标签 + @@ -93,6 +95,7 @@ + @@ -100,10 +103,11 @@ import * as CustomerMainApi from '@/api/base/customer'; import CustomerMainForm from '@/views/base/customer/CustomerMainForm.vue'; import CustomerCarForm from '@/views/base/customer/CustomerCarForm.vue'; +import CustomerLabelForm from '@/views/base/customer/CustomerLabelForm.vue'; export default { name: "TodoCustomer", components: { - CustomerMainForm,CustomerCarForm + CustomerMainForm,CustomerCarForm,CustomerLabelForm }, props:{ typeCode: { @@ -165,6 +169,9 @@ export default { //绑定车辆信息 this.bindCar(row); break; + case 'bindLabel': + this.bindLabel(row); + break; default: break; } @@ -175,6 +182,10 @@ export default { bindCar(row){ this.$refs["carFormRef"].open(row); }, + /**打标签*/ + bindLabel(row){ + this.$refs["labelFormRef"].open(row); + }, /** 查询列表 */ async getList() { try {