shj
2022-08-18 ae07a87d84ccc7f568d4e3b8ff4b0c68cf43c0b1
src/views/contingencyManagement/panManagement/component/abolishLibrary.vue
@@ -12,8 +12,15 @@
                  :header-cell-style="{ background: '#f6f7fa', color: '#909399' }"
               >
                  <el-table-column prop="name" label="预案名称" show-overflow-tooltip sortable></el-table-column>
                  <el-table-column prop="type" label="预案类型" show-overflow-tooltip sortable></el-table-column>
                  <el-table-column prop="authorUid" label="编写人" show-overflow-tooltip sortable></el-table-column>
                  <el-table-column prop="type" label="预案类型" show-overflow-tooltip sortable>
                     <template #default="scope">
                        <div v-if="scope.row.type==1">综合应急预案</div>
                        <div v-if="scope.row.type==2">现场处置方案</div>
                        <div v-if="scope.row.type==3">专项应急预案</div>
                        <div v-if="scope.row.type==4">其他预案</div>
                     </template>
                  </el-table-column>
                  <el-table-column prop="authorName" label="编写人" show-overflow-tooltip sortable></el-table-column>
                  <el-table-column prop="releaseDate" label="发布实施日期" show-overflow-tooltip sortable></el-table-column>
                  <el-table-column label="操作" width="200" align="center">
                     <template #default="scope">
@@ -56,7 +63,7 @@
   ElMessage,
} from 'element-plus';
import { Search, FullScreen } from '@element-plus/icons-vue';
import { emergencyPlanApi } from '../../../../api/emergencyPlan';
import { emergencyPlanApi } from '../../../../api/contingencyManagement/emergencyPlan';
export default defineComponent({
   name: 'abolishLibrary',
   components: {},
@@ -89,7 +96,6 @@
            });
         }
      };
      const isShowDialog = ref(false);
      const ruleFormRef = ref<FormInstance>();