| | |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12" class="mb20"> |
| | | <el-form-item label="是否有伤亡"> |
| | | <el-radio-group v-model="ruleForm.resource"> |
| | | <el-radio-group v-model="ruleForm.resource" @change="typeChang"> |
| | | <el-radio label="是" /> |
| | | <el-radio label="否" /> |
| | | </el-radio-group> |
| | | </el-form-item> |
| | | <el-form-item v-if="ruleForm.resource" prop="delivery"> |
| | | <!-- <el-input v-model="ruleForm.delivery" placeholder="">--> |
| | | <!-- <template #append> <el-button :icon="Search" @click="openDai" /> </template--> |
| | | <!-- ></el-input>--> |
| | | <el-button :icon="Search" @click="openDai" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12" class="mb20"> |
| | | <el-form-item label="事故简要经过"> |
| | | <el-input v-model="ruleForm.describe" type="textarea" placeholder="请填写事故简要经过" maxlength="150"></el-input> |
| | |
| | | </span> |
| | | </template> |
| | | </el-dialog> |
| | | <NumberOfCasualties ref="ShowUser"></NumberOfCasualties> |
| | | <CheckTemplate ref="Shows"/> |
| | | <userSelections ref="userRef"/> |
| | | <RegionsDialog ref="openRef"/> |
| | |
| | | import { |
| | | Search |
| | | } from '@element-plus/icons-vue' |
| | | import NumberOfCasualties from '/@/views/accidentManagementSystem/accidentExpress/component/numberOfCasualties.vue' |
| | | import UserSelections from "/@/components/userSelections/index.vue" |
| | | import CheckTemplate from '/@/components/checkTemplate/index.vue' |
| | | import RegionsDialog from '/@/components/regionsDialog/index.vue' |
| | |
| | | CheckTemplate, |
| | | UserSelections, |
| | | RegionsDialog, |
| | | NumberOfCasualties, |
| | | }, |
| | | setup() { |
| | | const isShowDialog = ref(false) |
| | |
| | | } |
| | | }) |
| | | } |
| | | // 是否有伤亡弹窗 |
| | | const typeChang=()=>{ |
| | | console.log('tag',ruleForm) |
| | | } |
| | | const ShowUser = ref(); |
| | | const openDai =()=>{ |
| | | ShowUser.value.openDialog() |
| | | } |
| | | // 应急队伍弹窗 |
| | | const Shows=ref() |
| | | const daiInpt=()=>{ |
| | |
| | | userRef.value.openDialog(); |
| | | }; |
| | | return { |
| | | ShowUser, |
| | | typeChang, |
| | | openDialog, |
| | | closeDialog, |
| | | isShowDialog, |
| | |
| | | openUser, |
| | | userRef, |
| | | regionsDialog, |
| | | openDai, |
| | | openRef, |
| | | }; |
| | | }, |