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