报警管理-设备维护:

1.首次新增指标源时,定位已填完但仍显示坐标不可为空;
2.新增关掉窗口后,再次打开显示坐标不可为空;
pet_li_6.6 2024-04-19升级
limingyu 2024-04-19 08:44:13 +08:00
parent 63569ba19b
commit e3a8194c7c
1 changed files with 4 additions and 3 deletions

View File

@ -281,8 +281,8 @@ export default {
dialogVisible: false, dialogVisible: false,
dialogAlarm: false, dialogAlarm: false,
rules: { rules: {
LONGITUDE: [{ required: true, message: '不可为空', trigger: 'blur' }], // LONGITUDE: [{ required: true, message: '', trigger: 'blur' }],
LATITUDE: [{ required: true, message: '不可为空', trigger: 'blur' }], // LATITUDE: [{ required: true, message: '', trigger: 'blur' }],
RECIPIENT: [{ required: true, message: '不可为空', trigger: 'blur' }], RECIPIENT: [{ required: true, message: '不可为空', trigger: 'blur' }],
INDICATORSOURCE: [{ required: true, message: '不可为空', trigger: 'blur' }], INDICATORSOURCE: [{ required: true, message: '不可为空', trigger: 'blur' }],
ALARMTHRESHOLD: [{ required: true, message: '不可为空', trigger: 'blur' }], ALARMTHRESHOLD: [{ required: true, message: '不可为空', trigger: 'blur' }],
@ -582,7 +582,8 @@ export default {
RECIPIENT: '', RECIPIENT: '',
TYPE: '', TYPE: '',
LATITUDE: '', LATITUDE: '',
LONGITUDE: '' LONGITUDE: '',
LONGTITUDEANDLATITUDE: ''
} }
this.addForm.dialogType = '' this.addForm.dialogType = ''
}, },