代码优化

This commit is contained in:
BianLzhaoMin 2024-08-16 13:37:50 +08:00
parent f3312f4970
commit d6434ff805
2 changed files with 10 additions and 7 deletions

View File

@ -398,14 +398,14 @@ export default {
{ {
required: true, required: true,
message: '工程类型不能为空', message: '工程类型不能为空',
trigger: 'blur', trigger: 'change',
}, },
], ],
deptId: [ deptId: [
{ {
required: true, required: true,
message: '所属上级不能为空', message: '所属上级不能为空',
trigger: 'blur', trigger: 'change',
}, },
], ],
startDate: [ startDate: [
@ -425,14 +425,14 @@ export default {
longitude: [ longitude: [
{ {
required: true, required: true,
trigger: 'blur', trigger: 'change',
message: '经度不能为空', message: '经度不能为空',
}, },
], ],
latitude: [ latitude: [
{ {
required: true, required: true,
trigger: 'blur', trigger: 'change',
message: '纬度不能为空', message: '纬度不能为空',
}, },
], ],
@ -440,7 +440,7 @@ export default {
{ {
required: true, required: true,
message: '请输入工程地址', message: '请输入工程地址',
trigger: 'blur', trigger: 'change',
}, },
], ],
}, },
@ -516,6 +516,9 @@ export default {
dictType: undefined, dictType: undefined,
status: '0', status: '0',
remark: undefined, remark: undefined,
longitude: '',
latitude: '',
address: '',
} }
this.resetForm('form') this.resetForm('form')
}, },

View File

@ -43,11 +43,11 @@ module.exports = {
// target: `https://test-cc.zhgkxt.com`,//线上环境-南网 // target: `https://test-cc.zhgkxt.com`,//线上环境-南网
// target: `https://z.csgmall.com.cn`, // target: `https://z.csgmall.com.cn`,
// target: `http://192.168.2.160:28080`, //超 target: `http://192.168.2.141:28080`, //超
// target: `http://10.40.92.81:28080`, //韩/ // target: `http://10.40.92.81:28080`, //韩/
// target: `http://192.168.2.82:28080`,//旭/ // target: `http://192.168.2.82:28080`,//旭/
// target: `http://192.168.2.248:28080`, //帅 // target: `http://192.168.2.248:28080`, //帅
target: `http://192.168.2.218:28080`, //福 // target: `http://192.168.2.218:28080`, //福
// target: `http://192.168.2.125:39080`, //王 // target: `http://192.168.2.125:39080`, //王
//******** 注意事项 ********* */ //******** 注意事项 ********* */