From 847b294cf2b5782c471dfd394a8ff2327963da97 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 17 三月 2025 09:30:42 +0800
Subject: [PATCH] 检验任务-提交流程修改

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

diff --git a/src/views/business/inspectionReview/index.vue b/src/views/business/inspectionReview/index.vue
index 66e90e9..8b979dc 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,7 @@
                 this.handleReview(row);
               },
               disabled: (row) => {
-                return row.userName == null || row.userName && !row.userName.includes(this.nickName)
+                return row.checkName == null || (row.checkName && !row.checkName.includes(this.nickName))
               }
             },
             {
@@ -250,6 +249,9 @@
     this.currentTime = getYearAndMonthAndDays()
   },
   mounted() {
+    this.refreshTable()
+  },
+  activated() {
     this.refreshTable()
   },
   methods: {
@@ -374,6 +376,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