-
清单信息
-
-
- {{ info.LIST_NAME }}
-
-
- {{ info.SCREENTYPENAME }}
-
-
- {{ info.USERS }}
-
-
- {{ info.CHECK_TIME }}
-
-
- {{ info.DEPARTMENT_NAME }}
-
-
- {{ info.POST_NAME }}
-
-
- {{ info.PERIODNAME }}
-
-
- {{ info.TYPENAME }}
-
-
- {{ info.START_DATE }} - {{ info.END_DATE }}
-
-
- {{ info.REASON }}
-
-
-
-
-
-
-
-
-
-
-
检查内容
-
-
-
-
-
-
-
-
-
-
-
-
- 合格
-
- 合格
-
-
- 不合格
-
- 不涉及
- 存在未整改隐患
-
-
-
-
-
-
- 序号 |
- 风险点(单元) |
- 辨识部位 |
- 存在风险 |
- 风险分级 |
- 检查内容 |
- 状态 |
-
-
- {{ index + 1 }} |
- {{ item.RISKUNITNAME }} |
- {{ item.PARTSNAME }} |
- {{ item.RISK_DESCR }} |
- {{ item.LEVEL_NAME }} |
- {{ item.CHECK_CONTENT }} |
-
-
-
- 合格
- |
-
-
- 合格 |
-
-
-
-
- 不合格
- |
-
-
- 不涉及 |
-
-
- 存在未整改隐患 |
-
-
-
-
其他隐患
-
-
-
-
-
-
-
- 查看
-
-
-
-
-
-
-
- 序号 |
- 隐患描述 |
-
-
- {{ index + 1 }} |
- {{ item.HIDDENDESCR }} |
-
-
+
-
+
打印
-
-
-
diff --git a/src/views/hazard_investigation/inspection_record/batch_printing.vue b/src/views/hazard_investigation/inspection_record/batch_printing.vue
new file mode 100644
index 0000000..3c8e1ed
--- /dev/null
+++ b/src/views/hazard_investigation/inspection_record/batch_printing.vue
@@ -0,0 +1,24 @@
+
+
+
+
+ 打印
+
+
+
+
+
+
+
diff --git a/src/views/hazard_investigation/inspection_record/index.vue b/src/views/hazard_investigation/inspection_record/index.vue
index b9e4f96..e72b659 100644
--- a/src/views/hazard_investigation/inspection_record/index.vue
+++ b/src/views/hazard_investigation/inspection_record/index.vue
@@ -43,6 +43,11 @@
+
+
+ 批量打印
+
+
@@ -51,7 +56,10 @@
:data="list"
@get-data="fnGetDataTransfer"
v-model:pagination="pagination"
+ ref="tableRef"
+ row-key="CHECKRECORD_ID"
>
+
{{ serialNumber(pagination, $index) }}
@@ -155,7 +163,7 @@ import { useUserStore } from "@/pinia/user.js";
const router = useRouter();
const userStore = useUserStore();
const info = ref({});
-const { list, pagination, searchForm, fnGetData, fnResetPagination } =
+const { list, pagination, searchForm, fnGetData, fnResetPagination, tableRef } =
useListData(getInspectionRecordList, {
otherParams: {
USER_ID: userStore.getUserInfo.USER_ID,
@@ -190,6 +198,20 @@ const fnDelete = debounce(
},
{ atBegin: true }
);
+const fnBatchPrinting = () => {
+ const selectionData = tableRef.value.getSelectionRows();
+ if (selectionData.length === 0) {
+ ElMessage.warning("请选择要打印的数据");
+ return;
+ }
+ const DATA_IDS = selectionData.map((item) => item.CHECKRECORD_ID).join(",");
+ router.push({
+ path: "/hazard_investigation/inspection_record/batch_printing",
+ query: {
+ DATA_IDS,
+ },
+ });
+};
diff --git a/src/views/hazard_investigation/inspection_record/view.vue b/src/views/hazard_investigation/inspection_record/view.vue
index 0ec62f0..4766025 100644
--- a/src/views/hazard_investigation/inspection_record/view.vue
+++ b/src/views/hazard_investigation/inspection_record/view.vue
@@ -1,9 +1,9 @@
-
+
diff --git a/src/views/hazard_investigation/inventory_troubleshooting/components/un_qualified.vue b/src/views/hazard_investigation/inventory_troubleshooting/components/un_qualified.vue
index 1e39bff..23a9b0b 100644
--- a/src/views/hazard_investigation/inventory_troubleshooting/components/un_qualified.vue
+++ b/src/views/hazard_investigation/inventory_troubleshooting/components/un_qualified.vue
@@ -140,7 +140,7 @@
/>
-
+
-
+
{
data.unQualifiedDialog.hiddenType = "unqualified";
};
const fnGetHiddenDangerView = async (HIDDEN_ID) => {
- const resData = await getInventoryTroubleshootingOtherHiddenDangerView({
+ const resData = await getHiddenDangerView({
HIDDEN_ID,
});
data.unQualifiedDialog.form = resData.pd;
@@ -448,7 +448,7 @@ const fnDeleteOtherHidden = async (HIDDEN_ID) => {
await ElMessageBox.confirm("确定要删除吗?", {
type: "warning",
});
- await setInventoryTroubleshootingOtherHiddenDangerDelete({ HIDDEN_ID });
+ await setHiddenDangerDelete({ HIDDEN_ID });
fnGetOtherHidden();
};
const fnAddOrEditOtherHidden = async (row, type) => {
diff --git a/src/views/hazard_investigation/troubleshooting_plan/index.vue b/src/views/hazard_investigation/troubleshooting_plan/index.vue
new file mode 100644
index 0000000..12b5978
--- /dev/null
+++ b/src/views/hazard_investigation/troubleshooting_plan/index.vue
@@ -0,0 +1,119 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ searchForm.YEAR }}年隐患排查计划
+
+
+
+
+
+
+ {{ dictionary[row.type_name].require }}
+
+
+
+
+
+
+
+ {{ dictionary[row.type_name].purpose }}
+
+
+
+
+
+
+
+
+
+