[bug修复]

1、mybatis-plus去除自动更新规则
2、页面新增校验
pet
liujun 2024-12-11 13:49:19 +08:00
parent 400a998c5c
commit 95a5d8d63d
3 changed files with 8 additions and 5 deletions

View File

@ -652,7 +652,6 @@ export default {
}
requestFN('/medicalInstitutions/detail', params).then((response) => {
const data = response.data
console.log(data)
this.form = {
//
INSTITUTION_NAME: data.INSTITUTION_NAME,
@ -671,7 +670,7 @@ export default {
//
FAX: data.FAX,
//
ADMINISTRATIVE_REGION: data.ADMINISTRATIVE_REGION,
ADMINISTRATIVE_REGION: data.ADMINISTRATIVE_REGION === '' ? null : data.ADMINISTRATIVE_REGION,
//
LONGITUDE: data.LONGITUDE,
//

View File

@ -560,14 +560,14 @@ export default {
console.log(data)
this.form = {
ORG_NAME: data.ORG_NAME,
ORG_TYPE: data.ORG_TYPE,
ORG_TYPE: data.ORG_TYPE === '' ? null : data.ORG_TYPE,
ORG_TYPE_NAME: data.ORG_TYPE_NAME,
ORG_LEVEL: data.ORG_LEVEL,
ADDRESS: data.ADDRESS,
POSTAL_CODE: data.POSTAL_CODE,
SECURITY_LEVEL: data.SECURITY_LEVEL,
DUTY_PHONE: data.DUTY_PHONE,
ADMINISTRATIVE_REGION: data.ADMINISTRATIVE_REGION,
ADMINISTRATIVE_REGION: data.ADMINISTRATIVE_REGION === '' ? null : data.ADMINISTRATIVE_REGION,
ADMINISTRATIVE_REGION_NAME: data.ADMINISTRATIVE_REGION_NAME,
LONGITUDE: data.LONGITUDE,
LATITUDE: data.LATITUDE,
@ -581,7 +581,7 @@ export default {
CONTACT_MOBILE_PHONE: data.CONTACT_MOBILE_PHONE,
CONTACT_HOME_PHONE: data.CONTACT_HOME_PHONE,
CONTACT_EMAIL: data.CONTACT_EMAIL,
SUPERVISING_UNIT: data.SUPERVISING_UNIT,
SUPERVISING_UNIT: data.SUPERVISING_UNIT === '' ? null : data.SUPERVISING_UNIT,
SUPERVISING_UNIT_NAME: data.SUPERVISING_UNIT_NAME,
SUPERVISING_UNIT_ADDRESS: data.SUPERVISING_UNIT_ADDRESS,
COMPANY_OVERVIEW: data.COMPANY_OVERVIEW,

View File

@ -98,6 +98,10 @@ export default {
this.$parent.CASE_ID = id
},
setCheck() {
if (!this.AUDIT_STATUS || this.AUDIT_STATUS === ''){
this.$message.error('请选择是否通过')
return
}
this.listISLOADing = true
requestFN(
'/major/emergencyplan/check',