From 7e15a84f1f30803d32c12afe3f80ac24c12b2e46 Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期三, 25 十二月 2024 13:14:48 +0800
Subject: [PATCH] 修改历史记录按钮权限

---
 src/components/view/a7-sample-registration.vue |   10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/src/components/view/a7-sample-registration.vue b/src/components/view/a7-sample-registration.vue
index 83360af..0c59dc9 100644
--- a/src/components/view/a7-sample-registration.vue
+++ b/src/components/view/a7-sample-registration.vue
@@ -5,7 +5,7 @@
     </el-row>
     <el-tabs type="border-card" v-model="activeName" style="height: 100%;" @tab-click="tabClick">
       <el-tab-pane label="濉啓" name="濉啓" style="height: 100%;" :key="1">
-        <el-button size="small" type="primary" @click="handleAdd0" style="margin-left: 20px;" v-if="addPower&&currentInfo.examineState!='閫氳繃'">鏂板</el-button>
+        <el-button size="small" type="primary" @click="handleAdd0" style="margin-left: 20px;" v-if="addPower&&currentInfo.submitState!='宸叉彁浜�'">鏂板</el-button>
         <div class="table" style="height: calc(100% - 200px)" v-if="activeName=='濉啓'">
           <ValueTable ref="ValueTable0" :url="$api.processSample.pageProcessSample"
       :componentData="componentData0" :key="upIndex0" :delUrl="$api.processSample.delProcessSample" />
@@ -326,17 +326,11 @@
             font: '淇敼',
             type: 'text',
             method: 'handleAdd0',
-            disabFun:(row, index) => {
-              return !this.addPower||this.currentInfo.examineState=='閫氳繃'
-            }
           },{
             id: 'delete',
             font: '鍒犻櫎',
             type: 'text',
             method: 'doDiy',
-            disabFun:(row, index) => {
-              return !this.addPower||this.currentInfo.examineState=='閫氳繃'
-            }
           }],
           tagField: {},
           selectField: {},
@@ -362,7 +356,7 @@
       if(val1=='濉啓'){
         this.componentData0.do.forEach((item)=>{
           item.disabFun = (row, index) => {
-            return !this.addPower||this.currentInfo.examineState=='閫氳繃'
+            return !this.addPower||this.currentInfo.submitState=='宸叉彁浜�'
           }
         })
       }

--
Gitblit v1.9.3