li预案校验
parent
77b123af82
commit
2ecc6718ec
|
@ -210,7 +210,7 @@ export default {
|
|||
renyuanadd() {
|
||||
if (this.jigoumainid === '0') {
|
||||
this.$message({
|
||||
message: '请选择结构',
|
||||
message: '请选择机构',
|
||||
type: 'warning'
|
||||
})
|
||||
return
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
v-model="form.START_TIME"
|
||||
type="datetime"
|
||||
placeholder="请选择接报时间"
|
||||
format="yyyy-MM-dd HH:mm:ss"
|
||||
|
||||
value-format="yyyy-MM-dd HH:mm:ss"
|
||||
style="width: 100%;"
|
||||
/>
|
||||
|
@ -60,7 +60,7 @@
|
|||
v-model="form.END_TIME"
|
||||
type="datetime"
|
||||
placeholder="请选择发生时间"
|
||||
format="yyyy-MM-dd HH:mm:ss"
|
||||
|
||||
value-format="yyyy-MM-dd HH:mm:ss"
|
||||
style="width: 100%;"
|
||||
/>
|
||||
|
@ -261,6 +261,7 @@ export default {
|
|||
},
|
||||
dataSave() {
|
||||
this.listLoading = true
|
||||
|
||||
requestFN('/major/dutylog/save', this.form).then((data) => {
|
||||
this.listLoading = false
|
||||
this.dialogFormEdit = false
|
||||
|
|
|
@ -134,13 +134,13 @@
|
|||
<el-col :span="12">
|
||||
<el-form-item label="是否救援" prop="ISRESCUE">
|
||||
<el-radio-group v-model="form.ISRESCUE">
|
||||
<el-radio :label="true">是</el-radio>
|
||||
<el-radio :label="false">否</el-radio>
|
||||
<el-radio :label="'true'">是</el-radio>
|
||||
<el-radio :label="'false'">否</el-radio>
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row v-if="form.ISRESCUE" :gutter="20">
|
||||
<el-row v-if="form.ISRESCUE==='true'" :gutter="20">
|
||||
<el-col :span="12">
|
||||
<el-form-item label="应急预案" prop="FIRERESERVEPLAN_ID">
|
||||
<el-select v-model="form.FIRERESERVEPLAN_ID" placeholder="请选择应急预案..." @change="handlePlanChange">
|
||||
|
|
|
@ -207,8 +207,10 @@ export default {
|
|||
rules: {
|
||||
EXPERT_GROUP_NAME: [
|
||||
{ required: true, message: '名称不能为空', trigger: 'blur' },
|
||||
{ min: 2, max: 30, message: '长度在 2 到 30 个字符', trigger: 'blur' }]
|
||||
|
||||
{ min: 2, max: 30, message: '长度在 2 到 30 个字符', trigger: 'blur' }],
|
||||
NUMBER_OF_PEOPLE: [
|
||||
{ required: true, message: '人数不能为空', trigger: 'blur' }
|
||||
]
|
||||
},
|
||||
form: {
|
||||
// 专家组名称
|
||||
|
|
|
@ -137,7 +137,7 @@
|
|||
<!-- 坐标选择 -->
|
||||
<el-dialog :visible.sync="dialogFormMap" title="编辑坐标" width="800px" class="dy-dialog">
|
||||
<baidu-map
|
||||
v-ISLOADing="ISLOADingMap"
|
||||
v-loading="ISLOADingMap"
|
||||
:zoom="zoom"
|
||||
:scroll-wheel-zoom="true"
|
||||
:style="{height: clientHeight+'px'}"
|
||||
|
|
|
@ -125,7 +125,7 @@
|
|||
<!-- 坐标选择 -->
|
||||
<el-dialog :visible.sync="dialogFormMap" title="编辑坐标" width="800px" class="dy-dialog">
|
||||
<baidu-map
|
||||
v-ISLOADing="ISLOADingMap"
|
||||
v-loading="ISLOADingMap"
|
||||
:zoom="zoom"
|
||||
:scroll-wheel-zoom="true"
|
||||
:style="{height: clientHeight+'px'}"
|
||||
|
|
|
@ -125,7 +125,7 @@
|
|||
<!-- 坐标选择 -->
|
||||
<el-dialog :visible.sync="dialogFormMap" title="编辑坐标" width="800px" class="dy-dialog">
|
||||
<baidu-map
|
||||
v-ISLOADing="ISLOADingMap"
|
||||
v-loading="ISLOADingMap"
|
||||
:zoom="zoom"
|
||||
:scroll-wheel-zoom="true"
|
||||
:style="{height: clientHeight+'px'}"
|
||||
|
|
|
@ -81,7 +81,7 @@
|
|||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="负责保管人固定电话" prop="CONTACT_OFFICE_PHONE">
|
||||
<el-form-item label="负责保管人固定电话" prop="CONTACT_TELE_PHONE">
|
||||
<el-input v-model="form.CONTACT_TELE_PHONE" placeholder="请输入负责保管人固定电话..." />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
|
Loading…
Reference in New Issue