From b96a095c7a6ba16676843829429146b971017849 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期四, 07 三月 2024 18:07:40 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/silk/silk-web

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

diff --git a/src/views/productManage/silkRegisterForm/index.vue b/src/views/productManage/silkRegisterForm/index.vue
index 32a406d..3274070 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 {
@@ -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