forked from integrated_whb/integrated_whb_vue
隐患排查检查清单
parent
a1eca8d05d
commit
592d8716ab
|
@ -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 },
|
||||
});
|
||||
};
|
||||
|
|
|
@ -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),
|
Loading…
Reference in New Issue