|
@@ -7,7 +7,7 @@
|
|
|
<div class="search-table-container">
|
|
<div class="search-table-container">
|
|
|
<header>
|
|
<header>
|
|
|
<div style="position: relative">
|
|
<div style="position: relative">
|
|
|
- <el-button type="primary" class="search-table-container--button" @click="handleCreate"> 添加 </el-button>
|
|
|
|
|
|
|
+ <el-button type="primary" class="search-table-container--button" @click="handleCreate" :icon="Plus"> 添加 </el-button>
|
|
|
<el-button plain class="search-table-container--button" @click="handleImport"> 导入 </el-button>
|
|
<el-button plain class="search-table-container--button" @click="handleImport"> 导入 </el-button>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
@@ -83,14 +83,20 @@
|
|
|
</template>
|
|
</template>
|
|
|
<template #needOverallDesc="scope">
|
|
<template #needOverallDesc="scope">
|
|
|
<span>{{
|
|
<span>{{
|
|
|
- scope.row.needOverallDesc === true ? '是' : scope.row.needOverallDesc === false ? '否' : '-'
|
|
|
|
|
|
|
+ scope.row.status === 0 ? '-' : scope.row.needOverallDesc === true ? '是' : scope.row.needOverallDesc === false ? '否' : '-'
|
|
|
}}</span>
|
|
}}</span>
|
|
|
</template>
|
|
</template>
|
|
|
<template #needSigneeSign="scope">
|
|
<template #needSigneeSign="scope">
|
|
|
<span>{{
|
|
<span>{{
|
|
|
- scope.row.needSigneeSign === true ? '是' : scope.row.needSigneeSign === false ? '否' : '-'
|
|
|
|
|
|
|
+ scope.row.status === 0 ? '-' : scope.row.needSigneeSign === true ? '是' : scope.row.needSigneeSign === false ? '否' : '-'
|
|
|
}}</span>
|
|
}}</span>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
+ <template #planStartTime="scope">
|
|
|
|
|
+ <span>{{ scope.row.planStartTime ?? '-' }}</span>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ <template #planEndTime="scope">
|
|
|
|
|
+ <span>{{ scope.row.planEndTime ?? '-' }}</span>
|
|
|
|
|
+ </template>
|
|
|
<template #action="scope">
|
|
<template #action="scope">
|
|
|
<div class="action-container--div" style="justify-content: left">
|
|
<div class="action-container--div" style="justify-content: left">
|
|
|
<!-- 未下发(0):编辑、删除、查看、下发 -->
|
|
<!-- 未下发(0):编辑、删除、查看、下发 -->
|
|
@@ -279,6 +285,7 @@
|
|
|
import BasicTable from '@/components/BasicTable.vue';
|
|
import BasicTable from '@/components/BasicTable.vue';
|
|
|
import useTableConfig from '@/hooks/useTableConfigHook';
|
|
import useTableConfig from '@/hooks/useTableConfigHook';
|
|
|
import ActionButton from '@/components/ActionButton.vue';
|
|
import ActionButton from '@/components/ActionButton.vue';
|
|
|
|
|
+ import { Plus } from '@element-plus/icons-vue';
|
|
|
import {
|
|
import {
|
|
|
TABLE_OPTIONS,
|
|
TABLE_OPTIONS,
|
|
|
AREA_CHECK_PLAN_TABLE_COLUMNS,
|
|
AREA_CHECK_PLAN_TABLE_COLUMNS,
|
|
@@ -622,14 +629,14 @@
|
|
|
|
|
|
|
|
// 安全应急部门
|
|
// 安全应急部门
|
|
|
safetyEmergencyDeptName,
|
|
safetyEmergencyDeptName,
|
|
|
- safetyEmergencyDeptId: issueForm.safetyEmergencyDeptId,
|
|
|
|
|
|
|
+ SafetyEmergencyDeptCode: issueForm.safetyEmergencyDeptId,
|
|
|
safetyEmergencyExecutorGroupName: findGroupNameById(issueForm.safetyEmergencyGroupId),
|
|
safetyEmergencyExecutorGroupName: findGroupNameById(issueForm.safetyEmergencyGroupId),
|
|
|
safetyEmergencyExecGroupCode:
|
|
safetyEmergencyExecGroupCode:
|
|
|
issueForm.safetyEmergencyGroupId != null ? String(issueForm.safetyEmergencyGroupId) : undefined,
|
|
issueForm.safetyEmergencyGroupId != null ? String(issueForm.safetyEmergencyGroupId) : undefined,
|
|
|
|
|
|
|
|
// 院领导部门
|
|
// 院领导部门
|
|
|
hospitalLeaderDeptName,
|
|
hospitalLeaderDeptName,
|
|
|
- hospitalLeaderDeptId: issueForm.hospitalLeaderDeptId,
|
|
|
|
|
|
|
+ hospitalLeaderDeptCode: issueForm.hospitalLeaderDeptId,
|
|
|
hospitalLeaderExecutorGroupName: findGroupNameById(issueForm.hospitalLeaderGroupId),
|
|
hospitalLeaderExecutorGroupName: findGroupNameById(issueForm.hospitalLeaderGroupId),
|
|
|
hospitalLeaderExecGroupCode:
|
|
hospitalLeaderExecGroupCode:
|
|
|
issueForm.hospitalLeaderGroupId != null ? String(issueForm.hospitalLeaderGroupId) : undefined,
|
|
issueForm.hospitalLeaderGroupId != null ? String(issueForm.hospitalLeaderGroupId) : undefined,
|
|
@@ -646,7 +653,7 @@
|
|
|
showIssueDialog.value = false;
|
|
showIssueDialog.value = false;
|
|
|
getTableData();
|
|
getTableData();
|
|
|
} catch (e) {
|
|
} catch (e) {
|
|
|
- console.error('下发失败:', e);
|
|
|
|
|
|
|
+ ElMessage.error(e.message);
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|
|
|
|
|
|