Commit 01c8081f by 周田

mod:删除不需要的参数

parent 3fe301f2
......@@ -7,9 +7,9 @@
<el-form-item label="设备中文名" :label-width="formLabelWidth" prop="device_name_chn">
<el-input v-model="form.device_name_chn" autocomplete="false" />
</el-form-item>
<el-form-item label="设备序号" :label-width="formLabelWidth" prop="device_name_chn">
<!-- <el-form-item label="设备序号" :label-width="formLabelWidth" prop="device_name_chn">
<el-input v-model="form.device_id" autocomplete="false" />
</el-form-item>
</el-form-item> -->
<el-form-item label="所属站点" :label-width="formLabelWidth" prop="station_id">
<el-input v-model="form.station_id" autocomplete="false" />
</el-form-item>
......@@ -179,7 +179,7 @@ const validatePort = (_: any, value: any, callback: any) => {
// 表单校验规则
const rules = reactive<FormRules<typeof form>>({
station_id: [{ required: true, message: 'Please input station id', trigger: 'blur' }],
device_id: [{ required: true, message: 'Please input device id', trigger: 'blur' }],
// device_id: [{ required: true, message: 'Please input device id', trigger: 'blur' }],
device_name: [{ required: true, message: 'Please input device name', trigger: 'blur' }],
device_name_chn: [{ required: true, message: 'Please input device name chn', trigger: 'blur' }],
protocol_name: [{ required: true, message: 'Please input protocol name', trigger: 'blur' }],
......
No preview for this file type
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment