From d4d34a9b730ac328068f936598d4138ac2635e57 Mon Sep 17 00:00:00 2001
From: 吴羡 <16976746+Xian-TT3@user.noreply.gitee.com>
Date: 星期四, 15 十月 2026 11:21:08 +0800
Subject: [PATCH] 质量监督计划:新增计划下发(列表下发状态列与下发按钮,仅已批准未下发的可下发),导出弹窗改卡片式并拦截导出错误响应避免下载损坏文件,日常监督检查记录单按纸质表重做(受监督人多选、监督员下拉、监督内容多选、监督记录、存在问题、整改意见),各表单人员列表改为全实验室不按部门筛选;方法验证:表单新增数据处理、质量控制方法、方法结果验证、验证结论及评审、审批意见字段并新增详情入口,迁移原标准方法变更的设备、检测记录、校准文件、工作证等查看组件,标准方法变更模块下线;设备档案、设备管理编辑弹窗改版为图片与基本信息左右布局、表单行式排列

---
 src/views/CNAS/resourceDemand/device/component/deviceOverview.vue |   29 +++++------------------------
 1 files changed, 5 insertions(+), 24 deletions(-)

diff --git a/src/views/CNAS/resourceDemand/device/component/deviceOverview.vue b/src/views/CNAS/resourceDemand/device/component/deviceOverview.vue
index 9a79f1d..c7b4d4e 100644
--- a/src/views/CNAS/resourceDemand/device/component/deviceOverview.vue
+++ b/src/views/CNAS/resourceDemand/device/component/deviceOverview.vue
@@ -116,6 +116,7 @@
       entity: {
         deviceStatus: null,
         deviceName: null,
+        largeCategory: null,
       },
       options: [],
       list: [],
@@ -125,7 +126,6 @@
       loading: true, // 缁勪欢loading鐨勫睍绀�,榛樿涓簍rue
       finishLoding: false, // 鍔犺浇瀹屾垚锛屾樉绀哄凡缁忔病鏈夋洿澶氫簡
       keyMap: {},
-      laboratoryNameIsNull: false,
       importVisible: false,
       importing: false,
       importFiles: [],
@@ -206,7 +206,6 @@
         this.finishLoding = false;
       }
       selectDeviceParameter({
-        laboratoryNameIsNull: this.laboratoryNameIsNull,
         current: this.currentPage,
         size: this.pageSize,
         ...this.entity
@@ -263,6 +262,7 @@
       this.entity = {
         deviceStatus: null,
         deviceName: null,
+        largeCategory: null,
       };
       this.refreshTable()
     },
@@ -275,33 +275,14 @@
     },
     // 鐐瑰嚮渚ц竟鏍忓埛鏂�
     clickSidebar(clickNodeVal) {
-      this.laboratoryNameIsNull = false
-      // 鏄惁瀛樺湪value锛屽瓨鍦╲alue浠h〃涓轰笁绾�
+      // 瀛樺湪value浠h〃閫変腑浜嗚澶囷紝鐢辫澶囪鎯呭睍绀哄鐞�
       if (!clickNodeVal.value) {
         this.finishLoding = false;
         this.keyMap = {};
         this.currentPage = 1;
         this.list = [];
-        this.entity.laboratoryName = null
-        this.entity.storagePoint = null
-        // 绛変簬1浠h〃涓烘爲鐨勪竴绾э紝label涓洪儴闂�
-        if (clickNodeVal.label == '鍏朵粬') {
-          this.laboratoryNameIsNull = true
-          this.refreshTable();
-          return
-        }
-        if (clickNodeVal.level == 1) {
-          this.entity.laboratoryName = clickNodeVal.label
-          // 绛変簬浜岀骇銆俵abel涓哄瓨鍌ㄥ湴鐐�
-        } else if (clickNodeVal.level == 2) {
-          // 鍏朵粬琛ㄧず娌℃湁閰嶇疆瀹為獙瀹わ紝鍙厤缃簡鍦扮偣
-          if (clickNodeVal.parent.label == '鍏朵粬') {
-            this.laboratoryNameIsNull = true
-          } else {
-            this.entity.laboratoryName = clickNodeVal.parent.label
-          }
-          this.entity.storagePoint = clickNodeVal.label
-        }
+        // 鏍戠殑涓�绾т负鍒嗙被锛氬叏閮�/璁惧/璁¢噺鍣ㄥ叿
+        this.entity.largeCategory = clickNodeVal.label === '鍏ㄩ儴' ? null : clickNodeVal.label;
         this.refreshTable();
       }
     }

--
Gitblit v1.9.3