From 5a5495cdeef4716cc20473f7929d386ee99a6285 Mon Sep 17 00:00:00 2001
From: 吴羡 <16976746+Xian-TT3@user.noreply.gitee.com>
Date: 星期五, 16 十月 2026 16:16:56 +0800
Subject: [PATCH] 撤回设备模块其他标签页的草稿自动保存,仅保留设备核查计划标签页:核查计划主页面、核查录入弹窗、核查记录弹窗、新增年计划弹窗 4 处保留编辑退出自动保存/恢复,其余 21 个组件恢复原状; management.vue(数采配置旧弹窗)与 calibration.vue(被注释导出按钮)仅保留此前已报备的死代码清理,草稿接线一并移除
---
src/views/CNAS/resourceDemand/device/component/usageAuthorization.vue | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/src/views/CNAS/resourceDemand/device/component/usageAuthorization.vue b/src/views/CNAS/resourceDemand/device/component/usageAuthorization.vue
index 8db89c6..bcd8062 100644
--- a/src/views/CNAS/resourceDemand/device/component/usageAuthorization.vue
+++ b/src/views/CNAS/resourceDemand/device/component/usageAuthorization.vue
@@ -80,7 +80,7 @@
<span style="width: 90px;margin-left: 10px">琚巿鏉冧汉锛�</span>
<el-select v-model="delegatedUser" clearable filterable multiple
placeholder="璇烽�夋嫨" size="small" style="width: 100%;">
- <el-option v-for="item in responsibleOptions" :key="item.name" :label="item.name" :value="item.name">
+ <el-option v-for="item in inspectorOptions" :key="item.name" :label="item.name" :value="item.name">
</el-option>
</el-select>
</div>
@@ -229,6 +229,7 @@
}
],
responsibleOptions: [],
+ inspectorOptions: [],
operationType: '',
usageTableDia: false,
deviceImpowerDetails: [],
@@ -337,7 +338,7 @@
// 娣诲姞璁惧
addTableRow() {
this.addEquipDia = true
- this.delegatedUser = this.responsibleOptions.map((item) => item.name);
+ this.delegatedUser = this.inspectorOptions.map((item) => item.name);
this.getEquipOptions()
},
// 鍒犻櫎琛ㄦ牸琛�
@@ -453,6 +454,12 @@
this.responsibleOptions = res.data
}
})
+ // 琚巿鏉冧汉涓嬫媺鍙彇妫�娴嬪憳瑙掕壊浜哄憳
+ selectUserCondition({type: 3}).then(res => {
+ if (res.code == 200) {
+ this.inspectorOptions = res.data
+ }
+ })
},
},
watch: {
--
Gitblit v1.9.3