|
|
@ -246,13 +246,13 @@ export default {
|
|
|
|
// 表单校验
|
|
|
|
// 表单校验
|
|
|
|
rules: {
|
|
|
|
rules: {
|
|
|
|
deviceId: [
|
|
|
|
deviceId: [
|
|
|
|
{ required: true, message: "设备ID,关联dms_base_device_ledger的device_id不能为空", trigger: "blur" }
|
|
|
|
{ required: true, message: "设备ID不能为空", trigger: "blur" }
|
|
|
|
],
|
|
|
|
],
|
|
|
|
paramName: [
|
|
|
|
paramName: [
|
|
|
|
{ required: true, message: "参数名称不能为空", trigger: "blur" }
|
|
|
|
{ required: true, message: "参数名称不能为空", trigger: "blur" }
|
|
|
|
],
|
|
|
|
],
|
|
|
|
paramCode: [
|
|
|
|
paramCode: [
|
|
|
|
{ required: true, message: "是否标识:1-是;2-否不能为空", trigger: "blur" }
|
|
|
|
{ required: true, message: "参数编号不能为空", trigger: "blur" }
|
|
|
|
],
|
|
|
|
],
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|