Your Name
2022-08-11 988558aaa309068fd393cc654be537434b0a15ea
src/views/contingencyManagement/emergencyResources/maintenanceOfEmergencyMaterials/index.vue
@@ -4,7 +4,7 @@
         <div class="system-user-search mb15">
            <el-form size="default" label-width="80px" :inline="true">
               <el-form-item prop="telephone">
                  <el-input v-model="listQuery.searchParams.suppliesName" placeholder="请选择应急物资" class="input-with-select">
                  <el-input v-model="suppliesName" placeholder="请选择应急物资" class="input-with-select">
                     <template #append>
                        <el-button :icon="Search" @click="daiInpt" />
                     </template>
@@ -148,10 +148,11 @@
            });
         }
      };
      const suppliesName = ref('');
      // 重置
      const submitReset = () => {
         listQuery.searchParams.suppliesId = '';
         listQuery.searchParams.suppliesName="";
         suppliesName.value = '';
         onSubmit();
      };
      const warning = ref(true);
@@ -163,7 +164,7 @@
         for (let i = 0; i < valId.length; i++) {
            arr.push(valId[i].id);
         }
         deletAll.value = arr
         deletAll.value = arr;
         if (val.length == 1) {
            warning.value = false;
            danger.value = false;
@@ -178,7 +179,7 @@
      // 打开新建用户弹窗
      const addRef = ref();
      const onOpenAdd = (data:any) => {
      const onOpenAdd = (data: any) => {
         addRef.value.openDialog(data);
      };
      // 新增后刷新
@@ -199,8 +200,8 @@
      };
      // 删除
      const onRowDel = (data: any) => {
         let arr=[]
         arr.push(data)
         let arr = [];
         arr.push(data);
         ElMessageBox.confirm('确定删除所选项吗?', '提示', {
            confirmButtonText: '确定',
            cancelButtonText: '取消',
@@ -271,7 +272,7 @@
      };
      const onUser = (e: any) => {
         listQuery.searchParams.suppliesId = e.id;
         listQuery.searchParams.suppliesName=e.name
         suppliesName.value = e.name;
      };
      // 分页
      const pageIndex = ref();
@@ -292,6 +293,7 @@
         onSubmit();
      });
      return {
         suppliesName,
         upButton,
         upShow,
         Edit,