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/custom/customManage/index.vue |   30 +++++++++++-------------------
 1 files changed, 11 insertions(+), 19 deletions(-)

diff --git a/src/views/custom/customManage/index.vue b/src/views/custom/customManage/index.vue
index f61e50b..4b93a52 100644
--- a/src/views/custom/customManage/index.vue
+++ b/src/views/custom/customManage/index.vue
@@ -31,7 +31,7 @@
     </div>
     <TableCommonView ref="tableListRef" :table-list="tableList">
       <template slot="tableButton">
-        <el-table-column label="鎿嶄綔" width="120" fixed="right">
+        <el-table-column label="鎿嶄綔" width="150" fixed="right">
           <template slot-scope="scope">
             <el-button type="text" size="small">鍙樻洿鍏捣</el-button>
             <el-button @click="handleClick(scope.row)" type="text" size="small">缂栬緫</el-button>
@@ -41,24 +41,16 @@
       </template>
     </TableCommonView>
     <!-- 鏂板缓/缂栬緫瀹㈡埛绠$悊 -->
-    <AddCustomManageDialog v-if="editConfig.visible" :edit-contacts-config="editConfig" />
+    <AddCustomManageDialog v-if="editConfig.visible" :edit-cuntom-manage-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 AddCustomManageDialog from "@/views/custom/customManage/AddCustomManageDialog"
 export default {
   name: "CustomManage",
   props: {},
   components: {
-    SearchCommonView,
-    PublicFunctionBtnView,
-    PagerView,
-    TableCommonView,
     AddCustomManageDialog
   },
   computed: {
@@ -69,7 +61,7 @@
   data() {
     return {
       tableList: {},
-      activeName: "second",
+      activeName: "first",
       gonghaiValue: "",
       gonghaiOptions: [],
       queryClassOptions: [
@@ -118,15 +110,15 @@
           }
         ],
         tableColumn: [
-          { label: "瀹㈡埛鍚嶇О", prop: "customName", min: 190 }, // 瀹㈡埛鍚嶇О
-          { label: "閿�鍞礋璐d汉", prop: "saleLeadOwner", min: 120 }, // 閿�鍞礋璐d汉
-          { label: "閲嶈绾у埆", prop: "importantLevel", min: 120 }, // 閲嶈绾у埆
+          { label: "瀹㈡埛鍚嶇О", prop: "customName", min: 100 }, // 瀹㈡埛鍚嶇О
+          { label: "閿�鍞礋璐d汉", prop: "saleLeadOwner" }, // 閿�鍞礋璐d汉
+          { label: "閲嶈绾у埆", prop: "importantLevel" }, // 閲嶈绾у埆
           { label: "涓嬫鍥炶鏃ユ湡", prop: "notContactDay", min: 90 }, // 鏈仈绯讳汉澶╂暟
-          { label: "鎵嬫満鍙风爜", prop: "nextFollowDate", min: 150 }, // 涓嬫鍥炶鏃ユ湡
-          { label: "璇︾粏鍦板潃", prop: "detailAddress", min: 290 }, // 璇︾粏鍦板潃
-          { label: "瀹㈡埛鐘舵��", prop: "customStatus", min: 100 }, // 瀹㈡埛鐘舵��
-          { label: "鑱旂郴浜哄鍚�", prop: "contactName", min: 100 }, // 鑱旂郴浜哄鍚�
-          { label: "鎵嬫満", prop: "phoneNumber", min: 100 } // 鎵嬫満鍙风爜
+          { label: "鎵嬫満鍙风爜", prop: "nextFollowDate" }, // 涓嬫鍥炶鏃ユ湡
+          { label: "璇︾粏鍦板潃", prop: "detailAddress", min: 200 }, // 璇︾粏鍦板潃
+          { label: "瀹㈡埛鐘舵��", prop: "customStatus" }, // 瀹㈡埛鐘舵��
+          { label: "鑱旂郴浜哄鍚�", prop: "contactName" }, // 鑱旂郴浜哄鍚�
+          { label: "鎵嬫満", prop: "phoneNumber" } // 鎵嬫満鍙风爜
         ]
       }
       this.searchOptions = []

--
Gitblit v1.8.0