From 6050b02cd808a9af2070d61e3b278e3407b845ca Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期四, 30 十一月 2023 14:17:36 +0800
Subject: [PATCH] 新建选择负责人修改

---
 src/views/sales/contractManage/index.vue |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/views/sales/contractManage/index.vue b/src/views/sales/contractManage/index.vue
index 64821f8..1866304 100644
--- a/src/views/sales/contractManage/index.vue
+++ b/src/views/sales/contractManage/index.vue
@@ -113,7 +113,8 @@
         { label: "鍚堝悓鐘舵��", prop: "serviceContractStatus_name", min: 100 },
         { label: "鍒涘缓鏃堕棿", prop: "created_at" }
       ],
-      showCol: ["鍗曟嵁缂栧彿", "璐熻矗浜�", "瀹㈡埛鍚嶇О", "鍚堝悓鐘舵��", "鍒涘缓鏃堕棿"]
+      showCol: ["鍗曟嵁缂栧彿", "璐熻矗浜�", "瀹㈡埛鍚嶇О", "鍚堝悓鐘舵��", "鍒涘缓鏃堕棿"],
+      keyword:''
     }
   },
   created() {
@@ -160,7 +161,7 @@
     async getData() {
       this.loading = true
       await getContractList({
-        search_map: this.search_map,
+        keyword:this.keyword,
         page: this.pagerOptions.currPage,
         pageSize: this.pagerOptions.pageSize
       })
@@ -195,7 +196,7 @@
     },
     // 鎼滅储
     onFilterSearch(searchText) {
-      this.search_map.number = searchText ?? ""
+      this.keyword=searchText
       this.pagerOptions.currPage = 1
       this.getData()
     },
@@ -221,7 +222,7 @@
         type: "warning"
       })
         .then(() => {
-          getDelContract({ ids: [id] }).then((response) => {
+          getDelContract(id).then((response) => {
             if (response.code === 200) {
               this.$message.success("鍒犻櫎鎴愬姛")
               this.getData()

--
Gitblit v1.8.0