| | |
| | | <el-date-picker v-model="ruleForm.drillPlanDate" value-format="YYYY-MM-DD HH:mm:ss" type="datetime" placeholder="选择日期时间" style="width: 100%" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12" class="mb20"> |
| | | <el-form-item label="修改时间" prop="gmtModitify"> |
| | | <el-date-picker v-model="ruleForm.gmtModitify" value-format="YYYY-MM-DD HH:mm:ss" type="datetime" placeholder="选择日期时间" style="width: 100%" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <!--<el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12" class="mb20">--> |
| | | <!--<el-form-item label="修改时间" prop="gmtModitify">--> |
| | | <!--<el-date-picker v-model="ruleForm.gmtModitify" value-format="YYYY-MM-DD HH:mm:ss" type="datetime" placeholder="选择日期时间" style="width: 100%" />--> |
| | | <!--</el-form-item>--> |
| | | <!--</el-col>--> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12" class="mb20"> |
| | | <el-form-item label="计划定制人" prop="makingUserName"> |
| | | <el-input v-model="ruleForm.makingUserName" placeholder="请填写计划定制人" disabled></el-input> |
| | |
| | | // 表单提交验证必填项 |
| | | const submitForm = async (title: string, formEl: FormInstance | undefined) => { |
| | | ruleForm.value.userList = ruleForm.value.userList.concat(ruleForm.value.chargeUserList) |
| | | delete ruleForm.value.planName |
| | | delete ruleForm.value.chargeUserListString |
| | | delete ruleForm.value.userListString |
| | | delete ruleForm.value.chargeUserList |
| | | delete ruleForm.value.gmtModitify |
| | | if (title == '新建应急演练计划发布') { |
| | | if (!formEl) return; |
| | | await formEl.validate((valid, fields) => { |