隐患排查检查清单

pull/1/head
zhangyanli 2024-02-04 08:55:43 +08:00
parent a1eca8d05d
commit 592d8716ab
2 changed files with 5 additions and 10 deletions

View File

@ -190,7 +190,7 @@ const fnInspect = (ID, LIST_TYPE) => {
path:
LIST_TYPE === "1"
? "/hazard_investigation/inventory_troubleshooting/inspect"
: "/hazard_investigation/inventory_troubleshooting/standard_inspect",
: "/hazard_investigation/inventory_troubleshooting/inspect_custom",
query: { ID },
});
};

View File

@ -41,14 +41,7 @@
<el-table-column prop="CHECK_ITEM_NAME" label="检查项目" />
<el-table-column prop="CHECK_CONTENT" label="检查内容" />
<el-table-column prop="CHECK_STANDARD" label="检查标准" />
<el-table-column prop="CHECK_QUALIFIED" label="检查合格项" />
<el-table-column prop="CHECK_UNQUALIFIED" label="检查不合格项" />
<el-table-column label="操作类型">
<template v-slot="{ row }">
<span v-if="row.OPERATION_TYPE === 1"></span>
<span v-if="row.OPERATION_TYPE === 2"></span>
</template>
</el-table-column>
<el-table-column prop="CHECK_RESULT" label="检查结果" />
<el-table-column label="操作" width="280">
<template v-slot="{ row, $index }">
<el-radio-group
@ -384,6 +377,7 @@ const fnDisabledDate = (time) => {
else return false;
};
const fnQualified = async (index, row) => {
row.CHECK_RESULT = row.CHECK_QUALIFIED;
if (row.HASHIDDEN > 0) return;
data.qualifiedDialog.visible = true;
await nextTick();
@ -497,6 +491,7 @@ const fnSubmit = debounce(
item.CUSTOM_ITEM_ID = inspectionList.value[i].CUSTOM_ITEM_ID;
item.ISNORMAL = inspectionList.value[i].ISNORMAL;
item.RECORDITEM_ID = inspectionList.value[i].RECORDITEM_ID;
item.CHECK_RESULT = inspectionList.value[i].CHECK_RESULT;
items.push(item);
if (inspectionList.value[i].ISNORMAL === 1)
ids.push(inspectionList.value[i].HIDDEN_ID);
@ -505,7 +500,7 @@ const fnSubmit = debounce(
if (inspectedList.length > 0) inspectedList.splice(0, 1);
const params = {
ID,
LIST_NAME: info.value.NAME,
CUSTOM_NAME: info.value.NAME,
CHECK_TIME: data.form.CHECK_TIME,
DESCR: data.form.DESCR,
ITEMS: JSON.stringify(items),