From 7d520e6190241adc647f36f7aea34c365216edb0 Mon Sep 17 00:00:00 2001
From: charles <981744753@qq.com>
Date: 星期二, 06 八月 2024 11:45:27 +0800
Subject: [PATCH] feat:更新代码

---
 src/views/productManage/silkRegisterForm/index.vue |   19 +++++++++++--------
 1 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/src/views/productManage/silkRegisterForm/index.vue b/src/views/productManage/silkRegisterForm/index.vue
index d7c6e67..1dd0658 100644
--- a/src/views/productManage/silkRegisterForm/index.vue
+++ b/src/views/productManage/silkRegisterForm/index.vue
@@ -28,9 +28,10 @@
             @selTableCol="selTableCol"
           >
             <template slot="tableButton">
-              <el-table-column label="鎿嶄綔" width="90" fixed="right">
+              <el-table-column label="鎿嶄綔" width="120" fixed="right">
                 <template slot-scope="scope">
-                  <el-button @click="handleClick(scope.row)" type="text" size="small">淇敼</el-button>
+                  <el-button @click="handleClick(scope.row,1)" type="text" size="small">鏌ョ湅</el-button>
+                  <el-button @click="handleClick(scope.row,2)" type="text" size="small">淇敼</el-button>
                   <el-button @click="delClick(scope.row.ID)" type="text" size="small">鍒犻櫎</el-button>
                 </template>
               </el-table-column>
@@ -67,10 +68,10 @@
         { label: "钀戒笣鏃堕棿", prop: "finishDate", min: 190, }, // 瀹㈡埛鍚嶇О
         { label: "杞︾粍", prop: "workshopGroup", min: 100, }, // 鑱旂郴浜哄鍚�
         { label: "瑙勬牸", prop: "spec", min: 100 }, // 瀹㈡埛鐘舵��
-        { label: "杞﹂棿", prop: "name", min: 100 }, // 鑱旂郴鏂瑰紡
+        { label: "杞﹂棿", prop: "workshopName", min: 100 }, // 鑱旂郴鏂瑰紡
         { label: "搴勫彛", prop: "market", min: 130 }, // 鑱旂郴浜烘棩鏈�
-        { label: "寮�濮嬪洖鏁�", prop: "startCircle", min: 130 }, // 涓嬫鍥炶鏃ユ湡
-        { label: "缁撴潫鍥炴暟", prop: "endCircle", min: 110 }, // 璐熻矗浜�
+        { label: "寮�濮嬪洖鏁�", prop: "circle", min: 130 }, // 涓嬫鍥炶鏃ユ湡
+        { label: "缁撴潫鍥炴暟", prop: "totalCircle", min: 110 }, // 璐熻矗浜�
       ],
       showCol: [
         "缂栧彿",
@@ -143,7 +144,7 @@
               //   }
               // })
               this.tableList.tableInfomation =  res.data || []
-              this.pagerOptions.totalCount = res.count
+              this.pagerOptions.totalCount = res.total
             } else {
               this.tableList.tableInfomation = []
             }
@@ -175,12 +176,14 @@
 
     },
     // 缂栬緫
-    handleClick(row) {
+    handleClick(row,type) {
       this.$router.push({
                 path:"/productManage/silkRegisterForm/addPage",
                 query:{
                   id:row.ID,
-                  activeName:'first'
+                  activeName:'first',
+                  inspectID:row.finenessCheckID,
+                  title:type===1?'鏌ョ湅':'淇敼',
                 }
               });
     },

--
Gitblit v1.8.0