li预案校验
parent
5680891cbe
commit
7c44202f4e
|
@ -266,6 +266,12 @@ export default {
|
||||||
dialogFormEdit: false,
|
dialogFormEdit: false,
|
||||||
dialogFormShow: false,
|
dialogFormShow: false,
|
||||||
dialogType: 'add',
|
dialogType: 'add',
|
||||||
|
rules: {
|
||||||
|
ORG_NAME: [
|
||||||
|
{ required: true, message: '机构名称不能为空', trigger: 'blur' },
|
||||||
|
{ min: 2, max: 255, message: '长度在 2 到 255 个字符', trigger: 'blur' }
|
||||||
|
]
|
||||||
|
},
|
||||||
form: {
|
form: {
|
||||||
ORG_NAME: '',
|
ORG_NAME: '',
|
||||||
ORG_TYPE_NAME: '',
|
ORG_TYPE_NAME: '',
|
||||||
|
@ -558,7 +564,13 @@ export default {
|
||||||
this.$refs.upload.clearFiles()
|
this.$refs.upload.clearFiles()
|
||||||
},
|
},
|
||||||
confirm() {
|
confirm() {
|
||||||
|
this.$refs.form.validate(valid => {
|
||||||
|
if (valid) {
|
||||||
this.dataSave()
|
this.dataSave()
|
||||||
|
} else {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
})
|
||||||
},
|
},
|
||||||
dataSave() {
|
dataSave() {
|
||||||
this.listLoading = true
|
this.listLoading = true
|
||||||
|
|
|
@ -336,6 +336,12 @@ export default {
|
||||||
EMERGENCY_CAPACITY_DESCRIPTION: '',
|
EMERGENCY_CAPACITY_DESCRIPTION: '',
|
||||||
REMARK: ''
|
REMARK: ''
|
||||||
},
|
},
|
||||||
|
rules: {
|
||||||
|
ORG_NAME: [
|
||||||
|
{ required: true, message: '通信机构名称不能为空', trigger: 'blur' },
|
||||||
|
{ min: 2, max: 255, message: '长度在 2 到 255 个字符', trigger: 'blur' }
|
||||||
|
]
|
||||||
|
},
|
||||||
// rules: {
|
// rules: {
|
||||||
// ORG_NAME: [
|
// ORG_NAME: [
|
||||||
// { required: true, message: '通信机构名称不能为空', trigger: 'blur' },
|
// { required: true, message: '通信机构名称不能为空', trigger: 'blur' },
|
||||||
|
@ -739,7 +745,13 @@ export default {
|
||||||
this.$refs.upload.clearFiles()
|
this.$refs.upload.clearFiles()
|
||||||
},
|
},
|
||||||
confirm() {
|
confirm() {
|
||||||
|
this.$refs.form.validate(valid => {
|
||||||
|
if (valid) {
|
||||||
this.dataSave()
|
this.dataSave()
|
||||||
|
} else {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
})
|
||||||
},
|
},
|
||||||
dataSave() {
|
dataSave() {
|
||||||
this.listLoading = true
|
this.listLoading = true
|
||||||
|
|
|
@ -330,6 +330,12 @@ export default {
|
||||||
dialogFormEdit: false,
|
dialogFormEdit: false,
|
||||||
dialogFormShow: false,
|
dialogFormShow: false,
|
||||||
dialogType: 'add',
|
dialogType: 'add',
|
||||||
|
rules: {
|
||||||
|
INSTITUTION_NAME: [
|
||||||
|
{ required: true, message: '机构名称不能为空', trigger: 'blur' },
|
||||||
|
{ min: 2, max: 255, message: '长度在 2 到 255 个字符', trigger: 'blur' }
|
||||||
|
]
|
||||||
|
},
|
||||||
form: {
|
form: {
|
||||||
// 医疗机构名称
|
// 医疗机构名称
|
||||||
INSTITUTION_NAME: '',
|
INSTITUTION_NAME: '',
|
||||||
|
|
|
@ -233,6 +233,12 @@ export default {
|
||||||
// 备注
|
// 备注
|
||||||
REMARKSS: ''
|
REMARKSS: ''
|
||||||
},
|
},
|
||||||
|
rules: {
|
||||||
|
SKILL_NAME: [
|
||||||
|
{ required: true, message: '机构名称不能为空', trigger: 'blur' },
|
||||||
|
{ min: 2, max: 255, message: '长度在 2 到 255 个字符', trigger: 'blur' }
|
||||||
|
]
|
||||||
|
},
|
||||||
// rules: {
|
// rules: {
|
||||||
// SKILL_NAME: [
|
// SKILL_NAME: [
|
||||||
// { required: true, message: '医疗机构名称不能为空', trigger: 'blur' },
|
// { required: true, message: '医疗机构名称不能为空', trigger: 'blur' },
|
||||||
|
|
|
@ -311,116 +311,116 @@ export default {
|
||||||
EMERGENCY_CAPACITY_DESCRIPTION: '',
|
EMERGENCY_CAPACITY_DESCRIPTION: '',
|
||||||
REMARK: ''
|
REMARK: ''
|
||||||
},
|
},
|
||||||
// rules: {
|
rules: {
|
||||||
// ORG_NAME: [
|
ORG_NAME: [
|
||||||
// { required: true, message: '运输机构名称不能为空', trigger: 'blur' },
|
{ required: true, message: '运输机构名称不能为空', trigger: 'blur' },
|
||||||
// { min: 2, max: 255, message: '长度在 2 到 255 个字符', trigger: 'blur' }
|
{ min: 2, max: 255, message: '长度在 2 到 255 个字符', trigger: 'blur' }
|
||||||
// ],
|
],
|
||||||
// ORG_TYPE: [
|
ORG_TYPE: [
|
||||||
// { required: true, message: '运输机构类型不能为空', trigger: 'blur' },
|
{ required: true, message: '运输机构类型不能为空', trigger: 'blur' },
|
||||||
// { min: 2, max: 255, message: '长度在 2 到 255 个字符', trigger: 'blur' }
|
{ min: 2, max: 255, message: '长度在 2 到 255 个字符', trigger: 'blur' }
|
||||||
// ],
|
],
|
||||||
// ORG_LEVEL: [
|
ORG_LEVEL: [
|
||||||
// { required: true, message: '运输机构级别不能为空', trigger: 'blur' },
|
{ required: true, message: '运输机构级别不能为空', trigger: 'blur' },
|
||||||
// { min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
{ min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
||||||
// ],
|
],
|
||||||
// ADDRESS: [
|
ADDRESS: [
|
||||||
// { required: true, message: '地址不能为空', trigger: 'blur' },
|
{ required: true, message: '地址不能为空', trigger: 'blur' },
|
||||||
// { min: 5, max: 255, message: '长度在 5 到 255 个字符', trigger: 'blur' }
|
{ min: 5, max: 255, message: '长度在 5 到 255 个字符', trigger: 'blur' }
|
||||||
// ],
|
],
|
||||||
// POSTAL_CODE: [
|
POSTAL_CODE: [
|
||||||
// { required: true, message: '邮编不能为空', trigger: 'blur' },
|
{ required: true, message: '邮编不能为空', trigger: 'blur' },
|
||||||
// { min: 1, max: 50, message: '长度在 1 到 50 个字符', trigger: 'blur' }
|
{ min: 1, max: 50, message: '长度在 1 到 50 个字符', trigger: 'blur' }
|
||||||
// ],
|
],
|
||||||
// SECURITY_LEVEL: [
|
SECURITY_LEVEL: [
|
||||||
// { required: true, message: '机构密级不能为空', trigger: 'blur' },
|
{ required: true, message: '机构密级不能为空', trigger: 'blur' },
|
||||||
// { min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
{ min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
||||||
// ],
|
],
|
||||||
// DUTY_PHONE: [
|
DUTY_PHONE: [
|
||||||
// { required: true, message: '值班电话不能为空', trigger: 'blur' },
|
{ required: true, message: '值班电话不能为空', trigger: 'blur' },
|
||||||
// { min: 5, max: 255, message: '长度在 5 到 255 个字符', trigger: 'blur' }
|
{ min: 5, max: 255, message: '长度在 5 到 255 个字符', trigger: 'blur' }
|
||||||
// ],
|
],
|
||||||
// ADMINISTRATIVE_REGION: [
|
ADMINISTRATIVE_REGION: [
|
||||||
// { required: true, message: '所属区域不能为空', trigger: 'blur' },
|
{ required: true, message: '所属区域不能为空', trigger: 'blur' },
|
||||||
// { min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
{ min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
||||||
// ],
|
],
|
||||||
// LONGITUDE: [
|
LONGITUDE: [
|
||||||
// { required: true, message: '经度不能为空', trigger: 'blur' },
|
{ required: true, message: '经度不能为空', trigger: 'blur' },
|
||||||
// { min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
{ min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
||||||
// ],
|
],
|
||||||
// LATITUDE: [
|
LATITUDE: [
|
||||||
// { required: true, message: '纬度不能为空', trigger: 'blur' },
|
{ required: true, message: '纬度不能为空', trigger: 'blur' },
|
||||||
// { min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
{ min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
||||||
// ],
|
],
|
||||||
// EMERGENCY_TRANSPORT_MODE: [
|
EMERGENCY_TRANSPORT_MODE: [
|
||||||
// { required: true, message: '应急运输方式不能为空', trigger: 'blur' },
|
{ required: true, message: '应急运输方式不能为空', trigger: 'blur' },
|
||||||
// { min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
{ min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
||||||
// ],
|
],
|
||||||
// RESPONSIBLE_PERSON: [
|
RESPONSIBLE_PERSON: [
|
||||||
// { required: true, message: '负责人不能为空', trigger: 'blur' },
|
{ required: true, message: '负责人不能为空', trigger: 'blur' },
|
||||||
// { min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
{ min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
||||||
// ],
|
],
|
||||||
// RESPONSIBLE_OFFICE_PHONE: [
|
RESPONSIBLE_OFFICE_PHONE: [
|
||||||
// { required: true, message: '负责人办公电话不能为空', trigger: 'blur' },
|
{ required: true, message: '负责人办公电话不能为空', trigger: 'blur' },
|
||||||
// { min: 1, max: 50, message: '长度在 1 到 50 个字符', trigger: 'blur' }
|
{ min: 1, max: 50, message: '长度在 1 到 50 个字符', trigger: 'blur' }
|
||||||
// ],
|
],
|
||||||
// RESPONSIBLE_MOBILE_PHONE: [
|
RESPONSIBLE_MOBILE_PHONE: [
|
||||||
// { required: true, message: '负责人移动电话不能为空', trigger: 'blur' },
|
{ required: true, message: '负责人移动电话不能为空', trigger: 'blur' },
|
||||||
// { min: 1, max: 50, message: '长度在 1 到 50 个字符', trigger: 'blur' }
|
{ min: 1, max: 50, message: '长度在 1 到 50 个字符', trigger: 'blur' }
|
||||||
// ],
|
],
|
||||||
// RESPONSIBLE_HOME_PHONE: [
|
RESPONSIBLE_HOME_PHONE: [
|
||||||
// { required: true, message: '负责人住宅电话不能为空', trigger: 'blur' },
|
{ required: true, message: '负责人住宅电话不能为空', trigger: 'blur' },
|
||||||
// { min: 1, max: 50, message: '长度在 1 到 50 个字符', trigger: 'blur' }
|
{ min: 1, max: 50, message: '长度在 1 到 50 个字符', trigger: 'blur' }
|
||||||
// ],
|
],
|
||||||
// CONTACT_PERSON: [
|
CONTACT_PERSON: [
|
||||||
// { required: true, message: '联系人不能为空', trigger: 'blur' },
|
{ required: true, message: '联系人不能为空', trigger: 'blur' },
|
||||||
// { min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
{ min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
||||||
// ],
|
],
|
||||||
// CONTACT_OFFICE_PHONE: [
|
CONTACT_OFFICE_PHONE: [
|
||||||
// { required: true, message: '联系人办公电话不能为空', trigger: 'blur' },
|
{ required: true, message: '联系人办公电话不能为空', trigger: 'blur' },
|
||||||
// { min: 1, max: 50, message: '长度在 1 到 50 个字符', trigger: 'blur' }
|
{ min: 1, max: 50, message: '长度在 1 到 50 个字符', trigger: 'blur' }
|
||||||
// ],
|
],
|
||||||
// CONTACT_MOBILE_PHONE: [
|
CONTACT_MOBILE_PHONE: [
|
||||||
// { required: true, message: '联系人移动电话不能为空', trigger: 'blur' },
|
{ required: true, message: '联系人移动电话不能为空', trigger: 'blur' },
|
||||||
// { min: 1, max: 50, message: '长度在 1 到 50 个字符', trigger: 'blur' }
|
{ min: 1, max: 50, message: '长度在 1 到 50 个字符', trigger: 'blur' }
|
||||||
// ],
|
],
|
||||||
// CONTACT_HOME_PHONE: [
|
CONTACT_HOME_PHONE: [
|
||||||
// { required: true, message: '联系人住宅电话不能为空', trigger: 'blur' },
|
{ required: true, message: '联系人住宅电话不能为空', trigger: 'blur' },
|
||||||
// { min: 1, max: 50, message: '长度在 1 到 50 个字符', trigger: 'blur' }
|
{ min: 1, max: 50, message: '长度在 1 到 50 个字符', trigger: 'blur' }
|
||||||
// ],
|
],
|
||||||
// CONTACT_EMAIL: [
|
CONTACT_EMAIL: [
|
||||||
// { required: true, message: '联系人电子邮箱不能为空', trigger: 'blur' },
|
{ required: true, message: '联系人电子邮箱不能为空', trigger: 'blur' },
|
||||||
// { min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
{ min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
||||||
// ],
|
],
|
||||||
// SUPERVISING_UNIT: [
|
SUPERVISING_UNIT: [
|
||||||
// { required: true, message: '主管单位不能为空', trigger: 'blur' },
|
{ required: true, message: '主管单位不能为空', trigger: 'blur' },
|
||||||
// { min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
{ min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
||||||
// ],
|
],
|
||||||
// SUPERVISING_UNIT_ADDRESS: [
|
SUPERVISING_UNIT_ADDRESS: [
|
||||||
// { required: true, message: '主管单位地址不能为空', trigger: 'blur' },
|
{ required: true, message: '主管单位地址不能为空', trigger: 'blur' },
|
||||||
// { min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
{ min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
||||||
// ],
|
],
|
||||||
// COMPANY_OVERVIEW: [
|
COMPANY_OVERVIEW: [
|
||||||
// { required: true, message: '企业基本情况不能为空', trigger: 'blur' },
|
{ required: true, message: '企业基本情况不能为空', trigger: 'blur' },
|
||||||
// { min: 1, max: 1000, message: '长度在 1 到 1000 个字符', trigger: 'blur' }
|
{ min: 1, max: 1000, message: '长度在 1 到 1000 个字符', trigger: 'blur' }
|
||||||
// ],
|
],
|
||||||
// PASSENGER_TRANSPORT_CAPACITY: [
|
PASSENGER_TRANSPORT_CAPACITY: [
|
||||||
// { required: true, message: '客运能力不能为空', trigger: 'blur' },
|
{ required: true, message: '客运能力不能为空', trigger: 'blur' },
|
||||||
// { min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
{ min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
||||||
// ],
|
],
|
||||||
// CARGO_TRANSPORT_CAPACITY: [
|
CARGO_TRANSPORT_CAPACITY: [
|
||||||
// { required: true, message: '货运能力不能为空', trigger: 'blur' },
|
{ required: true, message: '货运能力不能为空', trigger: 'blur' },
|
||||||
// { min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
{ min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
||||||
// ],
|
],
|
||||||
// EMERGENCY_CAPACITY_DESCRIPTION: [
|
EMERGENCY_CAPACITY_DESCRIPTION: [
|
||||||
// { required: true, message: '应急能力描述不能为空', trigger: 'blur' },
|
{ required: true, message: '应急能力描述不能为空', trigger: 'blur' },
|
||||||
// { min: 1, max: 1000, message: '长度在 1 到 1000 个字符', trigger: 'blur' }
|
{ min: 1, max: 1000, message: '长度在 1 到 1000 个字符', trigger: 'blur' }
|
||||||
// ],
|
],
|
||||||
// REMARK: [
|
REMARK: [
|
||||||
// { required: true, message: '备注不能为空', trigger: 'blur' },
|
{ required: true, message: '备注不能为空', trigger: 'blur' },
|
||||||
// { min: 1, max: 1000, message: '长度在 1 到 1000 个字符', trigger: 'blur' }
|
{ min: 1, max: 1000, message: '长度在 1 到 1000 个字符', trigger: 'blur' }
|
||||||
// ]
|
]
|
||||||
// },
|
},
|
||||||
FFILE: [],
|
FFILE: [],
|
||||||
caseSummaryList: [],
|
caseSummaryList: [],
|
||||||
treeData: [],
|
treeData: [],
|
||||||
|
@ -697,7 +697,13 @@ export default {
|
||||||
this.$refs.upload.clearFiles()
|
this.$refs.upload.clearFiles()
|
||||||
},
|
},
|
||||||
confirm() {
|
confirm() {
|
||||||
|
this.$refs.form.validate(valid => {
|
||||||
|
if (valid) {
|
||||||
this.dataSave()
|
this.dataSave()
|
||||||
|
} else {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
})
|
||||||
},
|
},
|
||||||
dataSave() {
|
dataSave() {
|
||||||
this.listLoading = true
|
this.listLoading = true
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
<el-image
|
<el-image
|
||||||
:src="config.fileUrl + row.FILE_PATH"
|
:src="config.fileUrl + row.FILE_PATH"
|
||||||
:preview-src-list="[config.fileUrl +row.FILE_PATH]"
|
:preview-src-list="[config.fileUrl +row.FILE_PATH]"
|
||||||
style="width: 100px; height: 100px"/>
|
style="width: 50px; height: 50px"/>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="操作" align="center" width="220">
|
<el-table-column label="操作" align="center" width="220">
|
||||||
|
@ -98,7 +98,7 @@ export default {
|
||||||
requestFN('bi/emergency/iconList?showCount=' + this.page.limit + '¤tPage=' + this.page.page, this.form).then((data) => {
|
requestFN('bi/emergency/iconList?showCount=' + this.page.limit + '¤tPage=' + this.page.page, this.form).then((data) => {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
this.list = data.varList
|
this.list = data.varList
|
||||||
this.page.total = data.page.totalResult
|
this.total = data.page.totalResult
|
||||||
this.hasButton()
|
this.hasButton()
|
||||||
}).catch((e) => {
|
}).catch((e) => {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
|
|
|
@ -73,7 +73,7 @@ export default {
|
||||||
zhuangjianame: '',
|
zhuangjianame: '',
|
||||||
dialogzhuangjiaShow: false,
|
dialogzhuangjiaShow: false,
|
||||||
yjzjvarList: [],
|
yjzjvarList: [],
|
||||||
yjzhuangjiatotal: [],
|
yjzhuangjiatotal: 0,
|
||||||
zhuanjiaList: [],
|
zhuanjiaList: [],
|
||||||
listQueryzj: {
|
listQueryzj: {
|
||||||
page: 1,
|
page: 1,
|
||||||
|
|
|
@ -48,12 +48,12 @@
|
||||||
|
|
||||||
<el-row :gutter="20">
|
<el-row :gutter="20">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="专家组级别" prop="EXPERT_GROUP_NAME">
|
<el-form-item label="专家组级别" prop="EXPERT_GROUP_LEVEL">
|
||||||
<el-input v-model="form.EXPERT_GROUP_LEVEL" placeholder="专家组级别..." />
|
<el-input v-model="form.EXPERT_GROUP_LEVEL" placeholder="专家组级别..." />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="联系电话" prop="EXPERT_GROUP_NAME">
|
<el-form-item label="联系电话" prop="CONTACT_TELEPHONE">
|
||||||
<el-input v-model="form.CONTACT_TELEPHONE" placeholder="联系电话..." />
|
<el-input v-model="form.CONTACT_TELEPHONE" placeholder="联系电话..." />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
@ -204,6 +204,12 @@ export default {
|
||||||
dialogFormEdit: false,
|
dialogFormEdit: false,
|
||||||
dialogFormShow: false,
|
dialogFormShow: false,
|
||||||
dialogType: 'add',
|
dialogType: 'add',
|
||||||
|
rules: {
|
||||||
|
EXPERT_GROUP_NAME: [
|
||||||
|
{ required: true, message: '名称不能为空', trigger: 'blur' },
|
||||||
|
{ min: 2, max: 30, message: '长度在 2 到 30 个字符', trigger: 'blur' }]
|
||||||
|
|
||||||
|
},
|
||||||
form: {
|
form: {
|
||||||
// 专家组名称
|
// 专家组名称
|
||||||
EXPERT_GROUP_NAME: '',
|
EXPERT_GROUP_NAME: '',
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="性别" prop="form.GENDER">
|
<el-form-item label="性别" prop="GENDER">
|
||||||
<el-radio v-model="form.GENDER" label="0">男</el-radio>
|
<el-radio v-model="form.GENDER" label="0">男</el-radio>
|
||||||
<el-radio v-model="form.GENDER" label="1">女</el-radio>
|
<el-radio v-model="form.GENDER" label="1">女</el-radio>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -63,7 +63,7 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="身份证" prop="EXPERT_NAME">
|
<el-form-item label="身份证" prop="ID_CARD">
|
||||||
<el-input v-model="form.ID_CARD" placeholder="身份证..." />
|
<el-input v-model="form.ID_CARD" placeholder="身份证..." />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
@ -71,12 +71,12 @@
|
||||||
|
|
||||||
<el-row :gutter="20">
|
<el-row :gutter="20">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="专家类型" prop="EXPERT_NAME">
|
<el-form-item label="专家类型" prop="EXPERT_TYPE">
|
||||||
<el-input v-model="form.EXPERT_TYPE" placeholder="请输入专家类型..." />
|
<el-input v-model="form.EXPERT_TYPE" placeholder="请输入专家类型..." />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="专家密级" prop="EXPERT_NAME">
|
<el-form-item label="专家密级" prop="EXPERT_SECRET_LEVEL">
|
||||||
<el-input v-model="form.EXPERT_SECRET_LEVEL" placeholder="专家密级..." />
|
<el-input v-model="form.EXPERT_SECRET_LEVEL" placeholder="专家密级..." />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
@ -84,12 +84,12 @@
|
||||||
|
|
||||||
<el-row :gutter="20">
|
<el-row :gutter="20">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="职称" prop="EXPERT_NAME">
|
<el-form-item label="职称" prop="PROFESSIONAL_TITLE">
|
||||||
<el-input v-model="form.PROFESSIONAL_TITLE" placeholder="请输入职称..." />
|
<el-input v-model="form.PROFESSIONAL_TITLE" placeholder="请输入职称..." />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="专业类型" prop="EXPERT_NAME">
|
<el-form-item label="专业类型" prop="PROFESSIONAL_TYPE">
|
||||||
<el-input v-model="form.PROFESSIONAL_TYPE" placeholder="专业类型..." />
|
<el-input v-model="form.PROFESSIONAL_TYPE" placeholder="专业类型..." />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
@ -97,12 +97,12 @@
|
||||||
|
|
||||||
<el-row :gutter="20">
|
<el-row :gutter="20">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="民族" prop="EXPERT_NAME">
|
<el-form-item label="民族" prop="ETHNICITY">
|
||||||
<el-input v-model="form.ETHNICITY" placeholder="请输入民族..." />
|
<el-input v-model="form.ETHNICITY" placeholder="请输入民族..." />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="政治面貌" prop="EXPERT_NAME">
|
<el-form-item label="政治面貌" prop="POLITICAL_STATUS">
|
||||||
<el-input v-model="form.POLITICAL_STATUS" placeholder="政治面貌..." />
|
<el-input v-model="form.POLITICAL_STATUS" placeholder="政治面貌..." />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
@ -110,7 +110,7 @@
|
||||||
|
|
||||||
<el-row :gutter="20">
|
<el-row :gutter="20">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="最高学历" prop="EXPERT_NAME">
|
<el-form-item label="最高学历" prop="HIGHEST_EDUCATION">
|
||||||
<el-input v-model="form.HIGHEST_EDUCATION" placeholder="请输入最高学历..." />
|
<el-input v-model="form.HIGHEST_EDUCATION" placeholder="请输入最高学历..." />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
@ -298,6 +298,12 @@ export default {
|
||||||
dialogFormEdit: false,
|
dialogFormEdit: false,
|
||||||
dialogFormShow: false,
|
dialogFormShow: false,
|
||||||
dialogType: 'add',
|
dialogType: 'add',
|
||||||
|
rules: {
|
||||||
|
EXPERT_NAME: [
|
||||||
|
{ required: true, message: '名称不能为空', trigger: 'blur' },
|
||||||
|
{ min: 2, max: 30, message: '长度在 2 到 30 个字符', trigger: 'blur' }]
|
||||||
|
|
||||||
|
},
|
||||||
form: {
|
form: {
|
||||||
// 名称
|
// 名称
|
||||||
EXPERT_NAME: '',
|
EXPERT_NAME: '',
|
||||||
|
|
|
@ -413,6 +413,12 @@ export default {
|
||||||
REQUIRES_BACKUP_SUPPORT: '',
|
REQUIRES_BACKUP_SUPPORT: '',
|
||||||
REMARK: ''
|
REMARK: ''
|
||||||
},
|
},
|
||||||
|
rules: {
|
||||||
|
RESCUE_TEAM_NAME: [
|
||||||
|
{ required: true, message: '救援队名称不能为空', trigger: 'blur' },
|
||||||
|
{ min: 2, max: 255, message: '长度在 2 到 255 个字符', trigger: 'blur' }
|
||||||
|
]
|
||||||
|
},
|
||||||
// rules: {
|
// rules: {
|
||||||
// RESCUE_TEAM_NAME: [
|
// RESCUE_TEAM_NAME: [
|
||||||
// { required: true, message: '救援队名称不能为空', trigger: 'blur' },
|
// { required: true, message: '救援队名称不能为空', trigger: 'blur' },
|
||||||
|
@ -831,7 +837,13 @@ export default {
|
||||||
this.$refs.upload.clearFiles()
|
this.$refs.upload.clearFiles()
|
||||||
},
|
},
|
||||||
confirm() {
|
confirm() {
|
||||||
|
this.$refs.form.validate(valid => {
|
||||||
|
if (valid) {
|
||||||
this.dataSave()
|
this.dataSave()
|
||||||
|
} else {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
})
|
||||||
},
|
},
|
||||||
dataSave() {
|
dataSave() {
|
||||||
this.listLoading = true
|
this.listLoading = true
|
||||||
|
|
|
@ -97,29 +97,29 @@ export default {
|
||||||
CONTACT_PERSON: '',
|
CONTACT_PERSON: '',
|
||||||
CONTACT_PHONE: '',
|
CONTACT_PHONE: '',
|
||||||
DESCRIPTION: ''
|
DESCRIPTION: ''
|
||||||
|
},
|
||||||
|
rules: {
|
||||||
|
NAME: [
|
||||||
|
{ required: true, message: '名称不能为空', trigger: 'blur' },
|
||||||
|
{ min: 2, max: 255, message: '长度在 2 到 255 个字符', trigger: 'blur' }
|
||||||
|
],
|
||||||
|
ADDRESS: [
|
||||||
|
{ required: true, message: '地址不能为空', trigger: 'blur' },
|
||||||
|
{ min: 2, max: 255, message: '长度在 2 到 255 个字符', trigger: 'blur' }
|
||||||
|
],
|
||||||
|
CONTACT_PERSON: [
|
||||||
|
{ required: true, message: '联系人不能为空', trigger: 'blur' },
|
||||||
|
{ min: 2, max: 255, message: '长度在 2 到 255 个字符', trigger: 'blur' }
|
||||||
|
],
|
||||||
|
CONTACT_PHONE: [
|
||||||
|
{ required: true, message: '联系电话不能为空', trigger: 'blur' },
|
||||||
|
{ min: 2, max: 50, message: '长度在 2 到 50 个字符', trigger: 'blur' }
|
||||||
|
],
|
||||||
|
DESCRIPTION: [
|
||||||
|
{ required: true, message: '描述不能为空', trigger: 'blur' },
|
||||||
|
{ min: 2, max: 255, message: '长度在 2 到 255 个字符', trigger: 'blur' }
|
||||||
|
]
|
||||||
}
|
}
|
||||||
// rules: {
|
|
||||||
// NAME: [
|
|
||||||
// { required: true, message: '名称不能为空', trigger: 'blur' },
|
|
||||||
// { min: 2, max: 255, message: '长度在 2 到 255 个字符', trigger: 'blur' }
|
|
||||||
// ],
|
|
||||||
// ADDRESS: [
|
|
||||||
// { required: true, message: '地址不能为空', trigger: 'blur' },
|
|
||||||
// { min: 2, max: 255, message: '长度在 2 到 255 个字符', trigger: 'blur' }
|
|
||||||
// ],
|
|
||||||
// CONTACT_PERSON: [
|
|
||||||
// { required: true, message: '联系人不能为空', trigger: 'blur' },
|
|
||||||
// { min: 2, max: 255, message: '长度在 2 到 255 个字符', trigger: 'blur' }
|
|
||||||
// ],
|
|
||||||
// CONTACT_PHONE: [
|
|
||||||
// { required: true, message: '联系电话不能为空', trigger: 'blur' },
|
|
||||||
// { min: 2, max: 50, message: '长度在 2 到 50 个字符', trigger: 'blur' }
|
|
||||||
// ],
|
|
||||||
// DESCRIPTION: [
|
|
||||||
// { required: true, message: '描述不能为空', trigger: 'blur' },
|
|
||||||
// { min: 2, max: 255, message: '长度在 2 到 255 个字符', trigger: 'blur' }
|
|
||||||
// ]
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
@ -174,7 +174,13 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
confirm() {
|
confirm() {
|
||||||
|
this.$refs.form.validate(valid => {
|
||||||
|
if (valid) {
|
||||||
this.dataSave()
|
this.dataSave()
|
||||||
|
} else {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
})
|
||||||
},
|
},
|
||||||
dataSave() {
|
dataSave() {
|
||||||
this.listLoading = true
|
this.listLoading = true
|
||||||
|
|
|
@ -114,6 +114,12 @@ export default {
|
||||||
CONTACT_PHONE: '',
|
CONTACT_PHONE: '',
|
||||||
DESCRIPTION: ''
|
DESCRIPTION: ''
|
||||||
},
|
},
|
||||||
|
rules: {
|
||||||
|
NAME: [
|
||||||
|
{ required: true, message: '名称不能为空', trigger: 'blur' },
|
||||||
|
{ min: 2, max: 255, message: '长度在 2 到 255 个字符', trigger: 'blur' }
|
||||||
|
]
|
||||||
|
},
|
||||||
yjTypeData: [],
|
yjTypeData: [],
|
||||||
normalizer(node) {
|
normalizer(node) {
|
||||||
return {
|
return {
|
||||||
|
@ -205,7 +211,13 @@ export default {
|
||||||
console.log('Form initialized:', this.form)
|
console.log('Form initialized:', this.form)
|
||||||
},
|
},
|
||||||
confirm() {
|
confirm() {
|
||||||
|
this.$refs.form.validate(valid => {
|
||||||
|
if (valid) {
|
||||||
this.dataSave()
|
this.dataSave()
|
||||||
|
} else {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
})
|
||||||
},
|
},
|
||||||
dataSave() {
|
dataSave() {
|
||||||
this.listLoading = true
|
this.listLoading = true
|
||||||
|
|
|
@ -210,6 +210,12 @@ export default {
|
||||||
dialogFormEdit: false,
|
dialogFormEdit: false,
|
||||||
dialogFormShow: false,
|
dialogFormShow: false,
|
||||||
dialogType: 'add',
|
dialogType: 'add',
|
||||||
|
rules: {
|
||||||
|
SHELTER_NAME: [
|
||||||
|
{ required: true, message: '场区名称不能为空', trigger: 'blur' },
|
||||||
|
{ min: 2, max: 30, message: '长度在 2 到 30 个字符', trigger: 'blur' }]
|
||||||
|
|
||||||
|
},
|
||||||
form: {
|
form: {
|
||||||
// 名称
|
// 名称
|
||||||
SHELTER_NAME: '',
|
SHELTER_NAME: '',
|
||||||
|
|
|
@ -201,6 +201,12 @@ export default {
|
||||||
dialogFormEdit: false,
|
dialogFormEdit: false,
|
||||||
dialogFormShow: false,
|
dialogFormShow: false,
|
||||||
dialogType: 'add',
|
dialogType: 'add',
|
||||||
|
rules: {
|
||||||
|
EQUIP_NAME: [
|
||||||
|
{ required: true, message: '名称不能为空', trigger: 'blur' },
|
||||||
|
{ min: 2, max: 255, message: '长度在 2 到 255 个字符', trigger: 'blur' }
|
||||||
|
]
|
||||||
|
},
|
||||||
form: {
|
form: {
|
||||||
// 名称
|
// 名称
|
||||||
EQUIP_NAME: '',
|
EQUIP_NAME: '',
|
||||||
|
|
|
@ -198,6 +198,12 @@ export default {
|
||||||
dialogFormEdit: false,
|
dialogFormEdit: false,
|
||||||
dialogFormShow: false,
|
dialogFormShow: false,
|
||||||
dialogType: 'add',
|
dialogType: 'add',
|
||||||
|
rules: {
|
||||||
|
FAC_NAME: [
|
||||||
|
{ required: true, message: '名称不能为空', trigger: 'blur' },
|
||||||
|
{ min: 2, max: 255, message: '长度在 2 到 255 个字符', trigger: 'blur' }
|
||||||
|
]
|
||||||
|
},
|
||||||
form: {
|
form: {
|
||||||
// 医疗名称
|
// 医疗名称
|
||||||
FAC_NAME: '',
|
FAC_NAME: '',
|
||||||
|
|
|
@ -134,41 +134,41 @@ export default {
|
||||||
CONTACT_PHONE: '',
|
CONTACT_PHONE: '',
|
||||||
CONTACT_MOBILE_PHONE: '',
|
CONTACT_MOBILE_PHONE: '',
|
||||||
COMPANY_NAME: ''
|
COMPANY_NAME: ''
|
||||||
|
},
|
||||||
|
rules: {
|
||||||
|
RESOURCE_LIBRARY_NAME: [
|
||||||
|
{ required: true, message: '资源库名称不能为空', trigger: 'blur' },
|
||||||
|
{ min: 2, max: 255, message: '长度在 2 到 255 个字符', trigger: 'blur' }
|
||||||
|
],
|
||||||
|
LOCATION: [
|
||||||
|
{ required: true, message: '所在地点不能为空', trigger: 'blur' },
|
||||||
|
{ min: 2, max: 255, message: '长度在 2 到 255 个字符', trigger: 'blur' }
|
||||||
|
],
|
||||||
|
RESOURCE_CATEGORY: [
|
||||||
|
{ required: true, message: '存放资源类别不能为空', trigger: 'blur' },
|
||||||
|
{ min: 2, max: 255, message: '长度在 2 到 255 个字符', trigger: 'blur' }
|
||||||
|
],
|
||||||
|
RESOURCE_QUANTITY: [
|
||||||
|
{ required: true, message: '资源数量不能为空', trigger: 'blur' },
|
||||||
|
{ min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
||||||
|
],
|
||||||
|
CONTACT_PERSON: [
|
||||||
|
{ required: true, message: '联系人不能为空', trigger: 'blur' },
|
||||||
|
{ min: 2, max: 255, message: '长度在 2 到 255 个字符', trigger: 'blur' }
|
||||||
|
],
|
||||||
|
CONTACT_PHONE: [
|
||||||
|
{ required: true, message: '联系电话不能为空', trigger: 'blur' },
|
||||||
|
{ min: 2, max: 255, message: '长度在 2 到 255 个字符', trigger: 'blur' }
|
||||||
|
],
|
||||||
|
CONTACT_MOBILE_PHONE: [
|
||||||
|
{ required: true, message: '联系人手机号码不能为空', trigger: 'blur' },
|
||||||
|
{ min: 2, max: 50, message: '长度在 2 到 50 个字符', trigger: 'blur' }
|
||||||
|
],
|
||||||
|
COMPANY_NAME: [
|
||||||
|
{ required: true, message: '企业名称不能为空', trigger: 'blur' },
|
||||||
|
{ min: 2, max: 255, message: '长度在 2 到 255 个字符', trigger: 'blur' }
|
||||||
|
]
|
||||||
}
|
}
|
||||||
// rules: {
|
|
||||||
// RESOURCE_LIBRARY_NAME: [
|
|
||||||
// { required: true, message: '资源库名称不能为空', trigger: 'blur' },
|
|
||||||
// { min: 2, max: 255, message: '长度在 2 到 255 个字符', trigger: 'blur' }
|
|
||||||
// ],
|
|
||||||
// LOCATION: [
|
|
||||||
// { required: true, message: '所在地点不能为空', trigger: 'blur' },
|
|
||||||
// { min: 2, max: 255, message: '长度在 2 到 255 个字符', trigger: 'blur' }
|
|
||||||
// ],
|
|
||||||
// RESOURCE_CATEGORY: [
|
|
||||||
// { required: true, message: '存放资源类别不能为空', trigger: 'blur' },
|
|
||||||
// { min: 2, max: 255, message: '长度在 2 到 255 个字符', trigger: 'blur' }
|
|
||||||
// ],
|
|
||||||
// RESOURCE_QUANTITY: [
|
|
||||||
// { required: true, message: '资源数量不能为空', trigger: 'blur' },
|
|
||||||
// { min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
|
||||||
// ],
|
|
||||||
// CONTACT_PERSON: [
|
|
||||||
// { required: true, message: '联系人不能为空', trigger: 'blur' },
|
|
||||||
// { min: 2, max: 255, message: '长度在 2 到 255 个字符', trigger: 'blur' }
|
|
||||||
// ],
|
|
||||||
// CONTACT_PHONE: [
|
|
||||||
// { required: true, message: '联系电话不能为空', trigger: 'blur' },
|
|
||||||
// { min: 2, max: 255, message: '长度在 2 到 255 个字符', trigger: 'blur' }
|
|
||||||
// ],
|
|
||||||
// CONTACT_MOBILE_PHONE: [
|
|
||||||
// { required: true, message: '联系人手机号码不能为空', trigger: 'blur' },
|
|
||||||
// { min: 2, max: 50, message: '长度在 2 到 50 个字符', trigger: 'blur' }
|
|
||||||
// ],
|
|
||||||
// COMPANY_NAME: [
|
|
||||||
// { required: true, message: '企业名称不能为空', trigger: 'blur' },
|
|
||||||
// { min: 2, max: 255, message: '长度在 2 到 255 个字符', trigger: 'blur' }
|
|
||||||
// ]
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
@ -235,7 +235,14 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
confirm() {
|
confirm() {
|
||||||
|
/* this.dataSave()*/
|
||||||
|
this.$refs.form.validate(valid => {
|
||||||
|
if (valid) {
|
||||||
this.dataSave()
|
this.dataSave()
|
||||||
|
} else {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
})
|
||||||
},
|
},
|
||||||
dataSave() {
|
dataSave() {
|
||||||
this.listLoading = true
|
this.listLoading = true
|
||||||
|
|
|
@ -201,6 +201,12 @@ export default {
|
||||||
dialogFormEdit: false,
|
dialogFormEdit: false,
|
||||||
dialogFormShow: false,
|
dialogFormShow: false,
|
||||||
dialogType: 'add',
|
dialogType: 'add',
|
||||||
|
rules: {
|
||||||
|
SUPPLIES_NAME: [
|
||||||
|
{ required: true, message: '名称不能为空', trigger: 'blur' },
|
||||||
|
{ min: 2, max: 255, message: '长度在 2 到 255 个字符', trigger: 'blur' }
|
||||||
|
]
|
||||||
|
},
|
||||||
form: {
|
form: {
|
||||||
// 名称
|
// 名称
|
||||||
SUPPLIES_NAME: '',
|
SUPPLIES_NAME: '',
|
||||||
|
|
Loading…
Reference in New Issue