From cc37fa838d0a9ff5f74a0ba06a8f944938dd0807 Mon Sep 17 00:00:00 2001
From: 13937891274 <kxc0822>
Date: Tue, 19 Jul 2022 18:01:41 +0800
Subject: [PATCH] 应急队伍一览对接
---
src/views/accidentManagementSystem/accidentExpress/component/openAdd.vue | 40 ++++++++++++++++++++++++++++++++++++++--
1 files changed, 38 insertions(+), 2 deletions(-)
diff --git a/src/views/accidentManagementSystem/accidentExpress/component/openAdd.vue b/src/views/accidentManagementSystem/accidentExpress/component/openAdd.vue
index 0b8a6b2..ea0c2f7 100644
--- a/src/views/accidentManagementSystem/accidentExpress/component/openAdd.vue
+++ b/src/views/accidentManagementSystem/accidentExpress/component/openAdd.vue
@@ -5,7 +5,9 @@
v-model="isShowDialog"
width="769px"
draggable
+ :fullscreen="full"
>
+ <el-button @click="toggleFullscreen" size="small" class="pot" :icon="FullScreen"></el-button>
<el-form
ref="ruleFormRef"
:model="ruleForm"
@@ -51,12 +53,19 @@
</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>
@@ -86,6 +95,7 @@
</span>
</template>
</el-dialog>
+ <NumberOfCasualties ref="ShowUser"></NumberOfCasualties>
<CheckTemplate ref="Shows"/>
<userSelections ref="userRef"/>
<RegionsDialog ref="openRef"/>
@@ -106,8 +116,10 @@
} from 'element-plus'
import {
- Search
+ Search,
+ FullScreen
} 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'
@@ -118,6 +130,7 @@
CheckTemplate,
UserSelections,
RegionsDialog,
+ NumberOfCasualties,
},
setup() {
const isShowDialog = ref(false)
@@ -323,6 +336,14 @@
}
})
}
+ // 是否有伤亡弹窗
+ const typeChang=()=>{
+ console.log('tag',ruleForm)
+ }
+ const ShowUser = ref();
+ const openDai =()=>{
+ ShowUser.value.openDialog()
+ }
// 应急队伍弹窗
const Shows=ref()
const daiInpt=()=>{
@@ -338,7 +359,18 @@
const openUser = () => {
userRef.value.openDialog();
};
+ //全屏
+ const full = ref(false);
+ const toggleFullscreen = () => {
+ if (full.value == false) {
+ full.value = true;
+ } else {
+ full.value = false;
+ }
+ };
return {
+ ShowUser,
+ typeChang,
openDialog,
closeDialog,
isShowDialog,
@@ -359,7 +391,11 @@
openUser,
userRef,
regionsDialog,
+ openDai,
openRef,
+ toggleFullscreen,
+ FullScreen,
+ full,
};
},
});
--
Gitblit v1.9.2