From 5cc1ac83a9cc0aa10acffb54a1c4d62b73b595d5 Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期三, 05 七月 2023 16:30:48 +0800
Subject: [PATCH] 服务管理模块和销售管理模块新增及路由配置

---
 src/views/service/serviceContract/index.vue |   72 +++++++++++++-----------------------
 1 files changed, 26 insertions(+), 46 deletions(-)

diff --git a/src/views/service/serviceContract/index.vue b/src/views/service/serviceContract/index.vue
index 03d7e7c..07704e8 100644
--- a/src/views/service/serviceContract/index.vue
+++ b/src/views/service/serviceContract/index.vue
@@ -1,5 +1,5 @@
 <template>
-  <div class="sales-lead">
+  <div class="service-contract">
     <SearchCommonView ref="searchCommonView" :query-class-options="queryClassOptions" :search-options="searchOptions" />
     <div class="btn-pager">
       <PublicFunctionBtnView :submit-approval="true" :operates-list="operatesList" />
@@ -14,7 +14,7 @@
         </el-table-column>
       </template>
     </TableCommonView>
-    <!-- 鏂板缓/缂栬緫閿�鍞嚎绱� -->
+    <!-- 鏂板缓/缂栬緫 -->
     <AddServiceContractDialog v-if="editConfig.visible" :edit-common-config="editConfig" />
   </div>
 </template>
@@ -27,7 +27,7 @@
 import AddServiceContractDialog from "@/views/service/serviceContract/AddServiceContractDialog"
 
 export default {
-  name: "SalesLead",
+  name: "ServiceContract",
   props: {},
   components: {
     SearchCommonView,
@@ -125,37 +125,13 @@
         signDate: "",
         startDate: "",
         endDate: "",
-
-        customType: "",
-        customSource: "",
-        importantLevel: "",
-        serviceAgent: "",
-        nextFollowupDate: "",
-        latestServiceDate: "",
-
-        customStatus: "",
-        phoneNumber: "",
-        duties: "",
-        wechat: "1",
-        contactsEmail: "",
-        industry: "",
-        legalPerson: "",
-        registerTime: "",
-        registerCapital: "",
-        companyNature: "",
-        customerSize: "",
-        operateRange: "",
-        position: "",
-        map: "",
-        country: "1",
-        province: "1",
-        city: "1",
-        region: "1",
+        contractStatus: "",
+        serviceNumber: "",
+        termsTreaty: "",
         notes: "",
         approvalWorkflow: "",
         approvalSteps: "",
         approvalPerson: "",
-        approvalUrgent: "",
         approvalOpinion: ""
       }
     },
@@ -165,21 +141,25 @@
       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: ""
+        customName: "",
+        serviceContractNumber: "AC6521",
+        owner: "5",
+        contactName: "",
+        salesOpportunity: "",
+        contractOrder: "",
+        quotation: "",
+        contractType: "",
+        signDate: "",
+        startDate: "",
+        endDate: "",
+        contractStatus: "",
+        serviceNumber: "",
+        termsTreaty: "",
+        notes: "",
+        approvalWorkflow: "",
+        approvalSteps: "",
+        approvalPerson: "",
+        approvalOpinion: ""
       }
     }
   }
@@ -188,7 +168,7 @@
 
 <!-- Add "scoped" attribute to limit CSS to this component only -->
 <style lang="scss" scoped>
-.sales-lead {
+.service-contract {
   .btn-pager {
     display: flex;
     .page {

--
Gitblit v1.8.0