From a6fdbed4f31530c080b591d78c141e561db78967 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期一, 28 九月 2026 09:35:01 +0800
Subject: [PATCH] feat(inspection): 更新检测类型选项并移除湿度字段 - 将"委托试验"改为"委托检验",增加委托检测、实验室间比对、能力验证等检测类型 - 移除所有表单中的湿度相关字段及验证逻辑 - 在报告准备界面添加印章选择功能,支持MA章、报告章、骑缝章的位置选择 - 优化报告结果流程界面,增加报告下载功能和领报告相关信息字段 - 新增印章管理系统,支持印章的增删改查和图片上传功能

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

diff --git a/src/views/business/inspectionTask/inspection.vue b/src/views/business/inspectionTask/inspection.vue
index 64d1911..a660bcd 100644
--- a/src/views/business/inspectionTask/inspection.vue
+++ b/src/views/business/inspectionTask/inspection.vue
@@ -184,11 +184,6 @@
               style="width: 90px" @change="(m) => subOtherForm(m, 'temperature')"></el-input>
             <span class="template-panel__unit">鈩�</span>
           </el-form-item>
-          <el-form-item v-if="insOrder.ifsOrderType!=='02wg'" label="婀垮害:">
-            <el-input v-model="currentOtherForm.humidity" :disabled="state > 1" placeholder="" size="small"
-              style="width: 90px" @change="(m) => subOtherForm(m, 'humidity')"></el-input>
-            <span class="template-panel__unit">%RH</span>
-          </el-form-item>
           <el-form-item label="妫�娴嬫椂闂�:">
             <el-date-picker v-model="currentOtherForm.detectionTime" :disabled="state > 1" type="date"
               value-format="yyyy-MM-dd" placeholder="璇烽�夋嫨鏃ユ湡" size="small" style="width: 160px"
@@ -702,7 +697,7 @@
         inspectionItem: 1,
         inspectionItemSubclass: "20(甯告俯)",
       },
-      // 妫�娴嬫潯浠朵笌妫�楠岀粨璁烘寜妯℃澘 id 鍒嗙粍锛歿 [templateId]: { temperature, humidity, detectionTime, detectionPlace, deviceIds, insResult } }
+      // 妫�娴嬫潯浠朵笌妫�楠岀粨璁烘寜妯℃澘 id 鍒嗙粍锛歿 [templateId]: { temperature, detectionTime, detectionPlace, deviceIds, insResult } }
       otherForm: {},
       equipForm: {
         value0: null,
@@ -861,7 +856,6 @@
       return (
         this.otherForm[this.currentTable] || {
           temperature: null,
-          humidity: null,
           detectionTime: null,
           detectionPlace: null,
           deviceIds: [],
@@ -1152,7 +1146,6 @@
         (this.insOrder.templateConditions || []).forEach((item) => {
           this.$set(this.otherForm, item.templateId, {
             temperature: item.temperature != null ? item.temperature : null,
-            humidity: item.humidity != null ? item.humidity : null,
             detectionTime: item.detectionTime != null ? item.detectionTime : null,
             detectionPlace: item.detectionPlace != null ? item.detectionPlace : null,
             deviceIds: Array.isArray(item.deviceIds) ? [...item.deviceIds] : [],
@@ -1669,7 +1662,6 @@
       if (!this.otherForm[templateId]) {
         this.$set(this.otherForm, templateId, {
           temperature: null,
-          humidity: null,
           detectionTime: null,
           detectionPlace: null,
           deviceIds: [],
@@ -2265,7 +2257,6 @@
         const form = this.otherForm[m.templateId] || {};
         if (this.insOrder.ifsOrderType !== "02wg") {
           if (!form.temperature) missing.push(`璇峰~鍐欍��${m.templateName}銆嶇殑娓╁害`);
-          if (!form.humidity) missing.push(`璇峰~鍐欍��${m.templateName}銆嶇殑婀垮害`);
         }
         if (!form.detectionTime) missing.push(`璇烽�夋嫨銆�${m.templateName}銆嶇殑妫�娴嬫椂闂碻);
         if (!form.detectionPlace) missing.push(`璇峰~鍐欍��${m.templateName}銆嶇殑妫�娴嬪湴鐐筦);
@@ -2393,7 +2384,6 @@
             id: this.insOrder.id,
             templateId: template.templateId,
             temperature: form.temperature == null ? null : form.temperature,
-            humidity: form.humidity == null ? null : form.humidity,
             detectionTime: form.detectionTime || null,
             detectionPlace: form.detectionPlace || null,
             deviceIds: Array.isArray(form.deviceIds) ? [...form.deviceIds] : [],

--
Gitblit v1.9.3