From cdf783f0924c07b3555a90c36c140f902247c2b3 Mon Sep 17 00:00:00 2001
From: songshankun <songshankun@foxmail.com>
Date: 星期二, 17 十月 2023 20:49:48 +0800
Subject: [PATCH] feat: 更换退款接口,修复取值错误问题

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

diff --git a/src/views/other/commonDialog/SelectLeadDialog.vue b/src/views/other/commonDialog/SelectLeadDialog.vue
index f60f85a..a5897d4 100644
--- a/src/views/other/commonDialog/SelectLeadDialog.vue
+++ b/src/views/other/commonDialog/SelectLeadDialog.vue
@@ -59,7 +59,8 @@
         return {
           editVisible: false,
           title: "",
-          infomation: {}
+          infomation: {},
+          search_map: {}
         }
       }
     }
@@ -93,7 +94,7 @@
     async getData() {
       this.loading = true
       await getSalesLeadsList({
-        search_map: this.search_map,
+        search_map: this.editConfig.search_map,
         page: this.pagerOptions.currPage,
         pageSize: this.pagerOptions.pageSize
       })
@@ -130,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