From 0af4ccb5dacacce56c5fddd0d70288fc377c56be Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期二, 01 九月 2026 17:04:37 +0800
Subject: [PATCH] feat(inspection): 1.添加报告类型功能并优化检验流程 2.设备管理组件中的部门列表获取方法优化

---
 src/views/business/inspectionTask/inspection.vue |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/views/business/inspectionTask/inspection.vue b/src/views/business/inspectionTask/inspection.vue
index bf67066..796b098 100644
--- a/src/views/business/inspectionTask/inspection.vue
+++ b/src/views/business/inspectionTask/inspection.vue
@@ -2755,6 +2755,7 @@
       this.$refs.viewManHourDia.showDialog(this.id, 99);
     },
     openAddVerifyDia() {
+      this.reportType = null;
       this.addVerifyDia = true;
     },
     confirmSubmit(registerInsResults){
@@ -2803,12 +2804,13 @@
       checkSubmitPlan({
         orderId: this.orderId,
         laboratory: this.sonLaboratory,
+        reportType: this.reportType,
       }).then((res) => {
         if (res.code === 200) {
           if (!res.data || res.data.errorMsg.length == 0) {
             this.submitLoading = true;
             //妫�楠岀被鍨嬩负鍘熸潗鏂�
-            if(this.typeSource==1 && res.data.unInsOrderCount==0 && this.isSplit==1){
+            if(this.reportType === 1 && this.typeSource==1 && res.data.unInsOrderCount==0 && this.isSplit==1){
               const htmlStr = "鏄惁鐧昏IFS閲囪喘妫�楠岀粨鏋滃苟绉诲簱锛熻鎿嶄綔浼氱櫥璁�<span style='color:#ff4949'>鍚屼竴闆朵欢鍚屼竴璁㈠崟鐨勬墍鏈夋媶鍒嗘壒娆�</span>锛岃璋ㄦ厧閫夋嫨銆�"
               this.$confirm(htmlStr, '鎻愮ず', {
                 confirmButtonText: '鏄�',

--
Gitblit v1.9.3