13937891274
2022-08-08 8f017727c72bb6f075bbaf6d13576bba63ee1565
src/views/contingencyManagement/panManagement/component/openAdd.vue
@@ -87,7 +87,7 @@
               </el-col>
               <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12" class="mb20">
                  <el-form-item label="应急队伍" prop="emergencyTeam">
                     <el-input v-model="ruleForm.emergencyTeam" placeholder="请选择" class="input-with-select">
                     <el-input v-model="ruleForm.teamName" placeholder="请选择" class="input-with-select">
                        <template #append>
                           <el-button :icon="Search" @click="daiInpt" />
                        </template>
@@ -131,7 +131,7 @@
            </span>
         </template>
      </el-dialog>
      <CheckTemplate ref="Shows" />
      <CheckTemplate ref="Shows"  @SearchUser="onUsers" />
      <DailogSearchUserManger ref="userRef" @SearchUser="onUser" />
      <RegionsDialog ref="openRef" />
   </div>
@@ -176,7 +176,8 @@
         ],
         emergencyTeam: '', //应急队伍
         areaList: [], //区域列表
         teamList: [],
         teamList: [
            ],
         deptList: [],
         abolishStatus: false,
      });
@@ -305,7 +306,8 @@
               ],
               emergencyTeam: '', //应急队伍
               areaList: [], //区域列表
               teamList: [],
               teamList: [
          ],
               deptList: [],
               abolishStatus: false,
            };
@@ -321,6 +323,10 @@
      const daiInpt = () => {
         Shows.value.openDailog();
      };
    const onUsers = (e: any) => {
      ruleForm.value.teamId = e[0].id
      ruleForm.value.teamName = e[0].teamName
    };
      // 选择区域弹窗
      const openRef = ref();
      const regionsDialog = () => {
@@ -358,6 +364,7 @@
         department,
         daiInpt,
         Shows,
      onUsers,
         submitForm,
         openUser,
         userRef,