forked from integrated_whb/integrated_whb_vue
隐患排查检查清单
parent
a1eca8d05d
commit
592d8716ab
|
@ -190,7 +190,7 @@ const fnInspect = (ID, LIST_TYPE) => {
|
||||||
path:
|
path:
|
||||||
LIST_TYPE === "1"
|
LIST_TYPE === "1"
|
||||||
? "/hazard_investigation/inventory_troubleshooting/inspect"
|
? "/hazard_investigation/inventory_troubleshooting/inspect"
|
||||||
: "/hazard_investigation/inventory_troubleshooting/standard_inspect",
|
: "/hazard_investigation/inventory_troubleshooting/inspect_custom",
|
||||||
query: { ID },
|
query: { ID },
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
|
@ -41,14 +41,7 @@
|
||||||
<el-table-column prop="CHECK_ITEM_NAME" label="检查项目" />
|
<el-table-column prop="CHECK_ITEM_NAME" label="检查项目" />
|
||||||
<el-table-column prop="CHECK_CONTENT" label="检查内容" />
|
<el-table-column prop="CHECK_CONTENT" label="检查内容" />
|
||||||
<el-table-column prop="CHECK_STANDARD" label="检查标准" />
|
<el-table-column prop="CHECK_STANDARD" label="检查标准" />
|
||||||
<el-table-column prop="CHECK_QUALIFIED" label="检查合格项" />
|
<el-table-column prop="CHECK_RESULT" 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 label="操作" width="280">
|
<el-table-column label="操作" width="280">
|
||||||
<template v-slot="{ row, $index }">
|
<template v-slot="{ row, $index }">
|
||||||
<el-radio-group
|
<el-radio-group
|
||||||
|
@ -384,6 +377,7 @@ const fnDisabledDate = (time) => {
|
||||||
else return false;
|
else return false;
|
||||||
};
|
};
|
||||||
const fnQualified = async (index, row) => {
|
const fnQualified = async (index, row) => {
|
||||||
|
row.CHECK_RESULT = row.CHECK_QUALIFIED;
|
||||||
if (row.HASHIDDEN > 0) return;
|
if (row.HASHIDDEN > 0) return;
|
||||||
data.qualifiedDialog.visible = true;
|
data.qualifiedDialog.visible = true;
|
||||||
await nextTick();
|
await nextTick();
|
||||||
|
@ -497,6 +491,7 @@ const fnSubmit = debounce(
|
||||||
item.CUSTOM_ITEM_ID = inspectionList.value[i].CUSTOM_ITEM_ID;
|
item.CUSTOM_ITEM_ID = inspectionList.value[i].CUSTOM_ITEM_ID;
|
||||||
item.ISNORMAL = inspectionList.value[i].ISNORMAL;
|
item.ISNORMAL = inspectionList.value[i].ISNORMAL;
|
||||||
item.RECORDITEM_ID = inspectionList.value[i].RECORDITEM_ID;
|
item.RECORDITEM_ID = inspectionList.value[i].RECORDITEM_ID;
|
||||||
|
item.CHECK_RESULT = inspectionList.value[i].CHECK_RESULT;
|
||||||
items.push(item);
|
items.push(item);
|
||||||
if (inspectionList.value[i].ISNORMAL === 1)
|
if (inspectionList.value[i].ISNORMAL === 1)
|
||||||
ids.push(inspectionList.value[i].HIDDEN_ID);
|
ids.push(inspectionList.value[i].HIDDEN_ID);
|
||||||
|
@ -505,7 +500,7 @@ const fnSubmit = debounce(
|
||||||
if (inspectedList.length > 0) inspectedList.splice(0, 1);
|
if (inspectedList.length > 0) inspectedList.splice(0, 1);
|
||||||
const params = {
|
const params = {
|
||||||
ID,
|
ID,
|
||||||
LIST_NAME: info.value.NAME,
|
CUSTOM_NAME: info.value.NAME,
|
||||||
CHECK_TIME: data.form.CHECK_TIME,
|
CHECK_TIME: data.form.CHECK_TIME,
|
||||||
DESCR: data.form.DESCR,
|
DESCR: data.form.DESCR,
|
||||||
ITEMS: JSON.stringify(items),
|
ITEMS: JSON.stringify(items),
|
Loading…
Reference in New Issue