From 979d725972cf15470422039eff86206398562d93 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期四, 21 十二月 2023 15:38:36 +0800
Subject: [PATCH] 报价单 销售机会的必填和非必填从自动获取编码接口的header获取,对应的需要修改拦截器里方法

---
 src/views/other/commonDialog/SelectLeadDialog.vue |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/views/other/commonDialog/SelectLeadDialog.vue b/src/views/other/commonDialog/SelectLeadDialog.vue
index df7f079..a5897d4 100644
--- a/src/views/other/commonDialog/SelectLeadDialog.vue
+++ b/src/views/other/commonDialog/SelectLeadDialog.vue
@@ -60,7 +60,7 @@
           editVisible: false,
           title: "",
           infomation: {},
-          search_map:{},
+          search_map: {}
         }
       }
     }
@@ -94,7 +94,7 @@
     async getData() {
       this.loading = true
       await getSalesLeadsList({
-        search_map: this.editCommonConfig.search_map,
+        search_map: this.editConfig.search_map,
         page: this.pagerOptions.currPage,
         pageSize: this.pagerOptions.pageSize
       })
@@ -131,13 +131,13 @@
     // 鎼滅储
     searchClick(val, content) {
       console.log(val, content)
-      this.search_map = {
+      this.editConfig.search_map = {
         [val.value]: content
       }
       this.getData()
     },
     resetClick() {
-      this.search_map = {}
+      this.editConfig.search_map = {}
       this.getData()
     }
   }

--
Gitblit v1.8.0