From 620fc3210cb9af9e86e7679d21d323502fcb5ead Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期一, 17 二月 2025 14:23:32 +0800
Subject: [PATCH] 项目中心只有提交审核的才显示审核按钮

---
 src/views/projectEngineering/projectLibrary/index.vue |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/views/projectEngineering/projectLibrary/index.vue b/src/views/projectEngineering/projectLibrary/index.vue
index 50891c6..c3e2492 100644
--- a/src/views/projectEngineering/projectLibrary/index.vue
+++ b/src/views/projectEngineering/projectLibrary/index.vue
@@ -251,7 +251,7 @@
         <template slot-scope="scope">
           <el-tooltip class="item" effect="dark" content="瀹℃牳" placement="top">
             <el-button
-              v-if="scope.row.auditRole && $route.query.projectCategory==='6'"
+              v-if="scope.row.auditRole && $route.query.projectCategory==='6' && scope.row.usedStatus === 1"
               size="medium"
               type="text"
               icon="el-icon-circle-check"
@@ -407,7 +407,7 @@
       item.key = index;
       item.serialNumber = index + 1;
       if(item.id ==='usedStatus' ){
-        if(projectCategory === '1') {
+        if(projectCategory !== '6') {
           item.visible = false
         }  else {
           item.visible = true
@@ -454,7 +454,7 @@
         item.key = index;
         item.serialNumber = index + 1
         if(item.id ==='usedStatus' ){
-          if(this.$route.query.projectCategory === '1') {
+          if(projectCategory !== '6') {
             item.visible = false
           }  else {
             item.visible = true
@@ -467,7 +467,7 @@
         item.key = index;
         item.serialNumber = index + 1
         if(item.id ==='usedStatus' ){
-          if(this.$route.query.projectCategory === '1') {
+          if(projectCategory !== '6') {
             item.visible = false
           }  else {
             item.visible = true

--
Gitblit v1.8.0