fix(monitor): 修复设备名称显示异常问题
在 monitor.vue 页面中新增按钮用于查看预制舱参数,并引入模态框展示相关信息。
调整 EditCom.vue 中对 workModeIdSelect 的监听逻辑,去除冗余判断条件并补全 switch 语句结构。
```
This commit is contained in:
zhoumengru
2025-09-26 11:31:32 +08:00
parent 0abb4e54f1
commit 9454b73cbc
4 changed files with 24 additions and 5 deletions

View File

@@ -177,10 +177,11 @@ export default {
watch: {
workModeIdSelect: {
async handler(n, o) {
if (o && n !== o) {
if ( n !== o) {
this.detailInfos[0].ruleForm.policy_id = ''
}
switch (n) {
case '1':
this.detailInfos[0].list[this.detailInfos[0].list.length - 1].type = 'select'
this.detailInfos[0].list[this.detailInfos[0].list.length - 1].list =