From 2605e8abbd4d5c8b6fc7086b05b876ed96917bb4 Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期四, 06 七月 2023 18:44:38 +0800 Subject: [PATCH] 销售模块部分页面及新建页面添加 --- src/views/service/serviceFollowup/index.vue | 72 ++++++++++++++++------------------- 1 files changed, 33 insertions(+), 39 deletions(-) diff --git a/src/views/service/serviceFollowup/index.vue b/src/views/service/serviceFollowup/index.vue index 125c151..dcc4300 100644 --- a/src/views/service/serviceFollowup/index.vue +++ b/src/views/service/serviceFollowup/index.vue @@ -14,8 +14,8 @@ </el-table-column> </template> </TableCommonView> - <!-- 鏂板缓/缂栬緫閿�鍞嚎绱� --> - <AddSalesLeadDialog v-if="editSalesLeadConfig.visible" :edit-sales-lead-config="editSalesLeadConfig" /> + <!-- 鏂板缓/缂栬緫 --> + <AddServiceFollowupDialog v-if="editConfig.visible" :edit-common-config="editConfig" /> </div> </template> @@ -24,7 +24,7 @@ import PublicFunctionBtnView from "@/components/makepager/PublicFunctionBtnView" import PagerView from "@/components/makepager/PagerView" import TableCommonView from "@/components/makepager/TableCommonView" -import AddSalesLeadDialog from "@/views/custom/salesLead/AddSalesLeadDialog" +import AddServiceFollowupDialog from "@/views/service/serviceFollowup/AddServiceFollowupDialog" export default { name: "SalesLead", @@ -34,7 +34,7 @@ PublicFunctionBtnView, PagerView, TableCommonView, - AddSalesLeadDialog + AddServiceFollowupDialog }, computed: { searchCommonHeight() { @@ -56,7 +56,7 @@ { id: "7", name: "瀹℃壒璁剧疆" }, { id: "8", name: "鎭㈠棰勮鍒楀" } ], - editSalesLeadConfig: { + editConfig: { visible: false, title: "鏂板缓", infomation: {} @@ -98,47 +98,41 @@ }, // 鏂板缓 addBtnClick() { - this.editSalesLeadConfig.visible = true - this.editSalesLeadConfig.title = "鏂板缓" - this.editSalesLeadConfig.infomation = { + this.editConfig.visible = true + this.editConfig.title = "鏂板缓" + this.editConfig.infomation = { customName: "", - saleLeadNumber: "LEA50", + followupNumber: "HF21", contactName: "", - contactDuties: "", - phoneNumber: "", - businessStatus: "鏂板缓", - businessSource: "1", - owner: "", - position: "", - map: "", - country: "1", - province: "1", - city: "1", - region: "1", - address: "" + customServiceForm: "", + visitor: "", + projectPlan: "", + satisfaction: "", + timelyRate: "", + resolveRate: "", + originServicePerson: "", + haveBeen: "", + notes: "" } }, // 缂栬緫 handleClick(row) { console.log(row) - this.editSalesLeadConfig.visible = true - this.editSalesLeadConfig.title = "缂栬緫" - this.editSalesLeadConfig.infomation = { - customName: row.customName, - saleLeadNumber: row.saleLeadNumber, - contactName: row.contactName, - contactDuties: row.contactDuties, - phoneNumber: row.phoneNumber, - businessStatus: "鏂板缓", - businessSource: row.businessSource, - owner: row.owner, - position: "", - map: "", - country: "1", - province: "1", - city: "1", - region: "1", - address: "" + this.editConfig.visible = true + this.editConfig.title = "缂栬緫" + this.editConfig.infomation = { + customName: "", + followupNumber: "HF21", + contactName: "", + customServiceForm: "", + visitor: "", + projectPlan: "", + satisfaction: "", + timelyRate: "", + resolveRate: "", + originServicePerson: "", + haveBeen: "", + notes: "" } } } -- Gitblit v1.8.0