From 8dc78ef393f4a3ca258d2c9118411e935cc14233 Mon Sep 17 00:00:00 2001
From: shj <1790240199@qq.com>
Date: 星期四, 07 七月 2022 18:01:04 +0800
Subject: [PATCH] Merge branch 'master' of https://sinanoaq.cn:8888/r/gtqtOut

---
 src/views/contingencyManagement/panManagement/component/openAdd.vue |   39 ++++++++++++++++++++++++++++++++++-----
 1 files changed, 34 insertions(+), 5 deletions(-)

diff --git a/src/views/contingencyManagement/panManagement/component/openAdd.vue b/src/views/contingencyManagement/panManagement/component/openAdd.vue
index 629340b..580eba3 100644
--- a/src/views/contingencyManagement/panManagement/component/openAdd.vue
+++ b/src/views/contingencyManagement/panManagement/component/openAdd.vue
@@ -58,14 +58,14 @@
             </el-form-item>
           </el-col>
           <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12" class="mb20">
-            <el-form-item label="编写人" prop="telephone">
+            <el-form-item label="编写人" prop="telephone" >
               <el-input
                   v-model="ruleForm.teamLeader"
                   placeholder="请选择"
                   class="input-with-select"
               >
                 <template #append>
-                  <el-button :icon="Search"/>
+                  <el-button :icon="Search" @click="openUser"/>
                 </template>
               </el-input>
             </el-form-item>
@@ -92,7 +92,7 @@
             </el-form-item>
           </el-col>
           <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12" class="mb20">
-            <el-form-item label="应急队伍" prop="telephone">
+            <el-form-item label="应急队伍" prop="telephone" @click="daiInpt" >
               <el-input
                   v-model="ruleForm.teamLeader"
                   placeholder="请选择"
@@ -130,7 +130,7 @@
                   class="input-with-select"
               >
                 <template #append>
-                  <el-button :icon="Search"/>
+                  <el-button :icon="Search" @click="regionsDialog"/>
                 </template>
               </el-input>
             </el-form-item>
@@ -144,6 +144,9 @@
 				</span>
       </template>
     </el-dialog>
+    <DailogSearch ref="Shows"/>
+    <userSelections ref="userRef"/>
+    <RegionsDialog ref="openRef"/>
   </div>
 </template>
 
@@ -162,11 +165,16 @@
 import {
   Search
 } from '@element-plus/icons-vue'
+import UserSelections from "/@/components/userSelections/index.vue"
+import DailogSearch from '/@/views/contingencyManagement/panManagement/component/DailogSearch.vue'
+import RegionsDialog from '/@/views/contingencyManagement/panManagement/component/regionsDialog.vue'
 
 export default defineComponent({
   name: 'openAdd',
   components: {
-
+    DailogSearch,
+    UserSelections,
+    RegionsDialog,
   },
   setup() {
     const isShowDialog = ref(false)
@@ -372,6 +380,21 @@
         }
       })
     }
+    // 应急队伍弹窗
+    const Shows=ref()
+    const daiInpt=()=>{
+      Shows.value.openDailog()
+    }
+    // 选择区域弹窗
+    const openRef=ref()
+    const regionsDialog=()=>{
+      openRef.value.openDailog()
+    }
+    // 打开用户选择弹窗
+    const userRef = ref();
+    const openUser = () => {
+      userRef.value.openDialog();
+    };
     return {
       openDialog,
       closeDialog,
@@ -385,9 +408,15 @@
       value1,
       treeSelect,
       tree,
+      daiInpt,
+      Shows,
       ruleFormRef,
       submitForm,
       // rules,
+      openUser,
+      userRef,
+      regionsDialog,
+      openRef,
     };
   },
 });

--
Gitblit v1.9.2