From 9431e0245997487edfb44cb5321f50c30430ca9e Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期三, 20 三月 2024 10:16:30 +0800
Subject: [PATCH] 1

---
 src/views/productManage/silkRegisterForm/index.vue |   28 ++++++++++++++--------------
 1 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/src/views/productManage/silkRegisterForm/index.vue b/src/views/productManage/silkRegisterForm/index.vue
index 32a406d..f301c9d 100644
--- a/src/views/productManage/silkRegisterForm/index.vue
+++ b/src/views/productManage/silkRegisterForm/index.vue
@@ -46,7 +46,7 @@
 </template>
 
 <script>
-import { getFollowRecordList, getDeleteFollowRecord } from "@/api/productManage/silkRegisterForm.js"
+import { getRegisterList, getDeleteRegister } from "@/api/productManage/silkRegisterForm.js"
 import pageMixin from "@/components/makepager/pager/mixin/pageMixin"
 
 export default {
@@ -68,14 +68,14 @@
       },
       search_map: {},
       tableColumn: [
-        { label: "缂栧彿", prop: "topic", min: 120, default: true }, // 涓婚
-        { label: "钀戒笣鏃堕棿", prop: "client_name", min: 190, }, // 瀹㈡埛鍚嶇О
-        { label: "杞︾粍", prop: "contact_name", min: 100, }, // 鑱旂郴浜哄鍚�
-        { label: "瑙勬牸", prop: "client_status", min: 100 }, // 瀹㈡埛鐘舵��
-        { label: "杞﹂棿", prop: "contact_information_name", min: 100 }, // 鑱旂郴鏂瑰紡
-        { label: "搴勫彛", prop: "follow_time", min: 130 }, // 鑱旂郴浜烘棩鏈�
-        { label: "寮�濮嬪洖鏁�", prop: "next_follow_time", min: 130 }, // 涓嬫鍥炶鏃ユ湡
-        { label: "缁撴潫鍥炴暟", prop: "member_name", min: 110 }, // 璐熻矗浜�
+        { label: "缂栧彿", prop: "number", min: 120, default: true }, // 涓婚
+        { label: "钀戒笣鏃堕棿", prop: "finishDate", min: 190, }, // 瀹㈡埛鍚嶇О
+        { label: "杞︾粍", prop: "workshopGroup", min: 100, }, // 鑱旂郴浜哄鍚�
+        { label: "瑙勬牸", prop: "spec", min: 100 }, // 瀹㈡埛鐘舵��
+        { label: "杞﹂棿", prop: "name", min: 100 }, // 鑱旂郴鏂瑰紡
+        { label: "搴勫彛", prop: "market", min: 130 }, // 鑱旂郴浜烘棩鏈�
+        { label: "寮�濮嬪洖鏁�", prop: "startCircle", min: 130 }, // 涓嬫鍥炶鏃ユ湡
+        { label: "缁撴潫鍥炴暟", prop: "endCircle", min: 110 }, // 璐熻矗浜�
       ],
       showCol: [
         "缂栧彿",
@@ -127,7 +127,7 @@
     // 璇锋眰鏁版嵁
     async getData() {
       this.loading = true
-      await getFollowRecordList({
+      await getRegisterList({
         search_map: this.search_map,
         page: this.pagerOptions.currPage,
         pageSize: this.pagerOptions.pageSize
@@ -171,9 +171,9 @@
     },
     // 鏂板缓
     addBtnClick() {
-      this.editConfig.title = "鏂板缓"
-      this.editConfig.infomation = { contact_name:"",sales_leads_name:"",sale_chance_name:""}
-      this.editConfig.visible = true
+      this.$router.push({
+        path:"/productManage/silkRegisterForm/addPage?activeName=first",
+      });
     },
      // 鎵撳嵃
      printClick(){
@@ -197,7 +197,7 @@
         type: "warning"
       })
         .then(() => {
-          getDeleteFollowRecord({ ids: [id] }).then((response) => {
+          getDeleteRegister({ ids: id }).then((response) => {
             if (response.code === 200) {
               this.$message.success("鍒犻櫎鎴愬姛")
               this.getData()

--
Gitblit v1.8.0