From bac3814ab911f9870fac191ab919cd49f3b38f06 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 17 三月 2025 09:28:18 +0800
Subject: [PATCH] 检验任务复核-无法审核

---
 src/views/business/inspectionReview/index.vue |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/src/views/business/inspectionReview/index.vue b/src/views/business/inspectionReview/index.vue
index 66e90e9..3b0d853 100644
--- a/src/views/business/inspectionReview/index.vue
+++ b/src/views/business/inspectionReview/index.vue
@@ -47,7 +47,6 @@
 
 <script>
 import { getYearAndMonthAndDays } from "@/utils/date";
-// import ShowInfo from "../do/b1-material-ins-order/showInfo.vue";
 import onlyoffice from "@/components/Onlyoffice/onlyoffice.vue";
 import limsTable from "@/components/Table/lims-table.vue";
 import { selectInsOrderPlanList, selectUserCondition } from "@/api/business/inspectionTask";
@@ -56,11 +55,11 @@
 import filePreview from "@/components/Preview/filePreview.vue";
 
 export default {
+  name: 'InspectionReview',
   components: {
     filePreview,
     onlyoffice,
     limsTable,
-    // ShowInfo,
   },
   dicts: ["urgency_level", "inspection_task_state"],
   computed: {
@@ -154,7 +153,9 @@
                 this.handleReview(row);
               },
               disabled: (row) => {
-                return row.userName == null || row.userName && !row.userName.includes(this.nickName)
+                console.log('row.userName', row.checkName);
+                console.log('this.nickName', this.nickName);
+                return row.checkName == null || (row.checkName && !row.checkName.includes(this.nickName))
               }
             },
             {
@@ -250,6 +251,9 @@
     this.currentTime = getYearAndMonthAndDays()
   },
   mounted() {
+    this.refreshTable()
+  },
+  activated() {
     this.refreshTable()
   },
   methods: {
@@ -374,6 +378,7 @@
 /*      if (!row.tempUrlPdf) return this.$message.warning('鏂囦欢鏈笂浼�')
       this.currentInfo = row
       this.lookDialogVisible = true*/
+      console.log(this.javaApi)
       this.currentInfo = row;
       let fileName = row.url
       let fileType = "docx"

--
Gitblit v1.9.3