PPPoE表单添加字段之间关联功能

1、PPPoE表单添加字段之间关联功能
2、服务器管理详情带宽字段修改
3、优化PPPoE表单切换只读时清空数据出现的必填提示
This commit is contained in:
康冉冉
2026-01-09 18:57:36 +08:00
parent c6eced0841
commit 19e5bb3d31
4 changed files with 94 additions and 56 deletions
+3
View File
@@ -93,6 +93,7 @@
:label="option.label"
:value="option.value"></el-option>
</el-select>
<span v-if="!toBoolean(formVal.disabled || formItem.config.readonly)" class="warningCol">{{formVal.warningTitle}}</span>
</template>
<template v-else-if="formVal.type === 'treeSelect'">
@@ -393,6 +394,8 @@
} else if (item.controls[val] && item.controls[val].required) {
let msgType = item.controls[val].type === 'input' ? '请输入' : '请选择';
this.rules[val] = [{required: true,message: `${msgType}${item.controls[val].label}`}];
} else {
delete this.rules[val];
}
});
});