From 22d4441a8c669185c13d2b6856c51ad550c50ae2 Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期五, 14 七月 2023 18:26:47 +0800
Subject: [PATCH] 编辑下拉框&网络请求封装优化
---
src/views/service/serviceContract/index.vue | 80 +++++++++++++---------------------------
1 files changed, 26 insertions(+), 54 deletions(-)
diff --git a/src/views/service/serviceContract/index.vue b/src/views/service/serviceContract/index.vue
index 03d7e7c..77d2356 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,26 +14,18 @@
</el-table-column>
</template>
</TableCommonView>
- <!-- 鏂板缓/缂栬緫閿�鍞嚎绱� -->
+ <!-- 鏂板缓/缂栬緫 -->
<AddServiceContractDialog v-if="editConfig.visible" :edit-common-config="editConfig" />
</div>
</template>
<script>
-import SearchCommonView from "@/components/makepager/SearchCommonView"
-import PublicFunctionBtnView from "@/components/makepager/PublicFunctionBtnView"
-import PagerView from "@/components/makepager/PagerView"
-import TableCommonView from "@/components/makepager/TableCommonView"
import AddServiceContractDialog from "@/views/service/serviceContract/AddServiceContractDialog"
export default {
- name: "SalesLead",
+ name: "ServiceContract",
props: {},
components: {
- SearchCommonView,
- PublicFunctionBtnView,
- PagerView,
- TableCommonView,
AddServiceContractDialog
},
computed: {
@@ -125,37 +117,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 +133,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 +160,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