操作类型是选择的,点合格后上传照片,检查结果变空了。

操作类型是填写,点合格后最好是把合格项数据传过来。
pull/1/head
dearlin 2024-02-05 14:52:00 +08:00
parent 855daed2ab
commit 357924a7c0
1 changed files with 4 additions and 2 deletions

View File

@ -365,7 +365,9 @@ onMounted(() => {
}); });
const fnResultsSubmit = (CHECK_RESULT, index) => { const fnResultsSubmit = (CHECK_RESULT, index) => {
if (CHECK_RESULT) {
inspectionList.value[index].CHECK_RESULT = CHECK_RESULT; inspectionList.value[index].CHECK_RESULT = CHECK_RESULT;
}
}; };
const fnHiddenSubmit = (currentHiddenId, HIDDENDESCR) => { const fnHiddenSubmit = (currentHiddenId, HIDDENDESCR) => {
const { hiddenType, index } = data.unQualifiedDialog; const { hiddenType, index } = data.unQualifiedDialog;
@ -399,7 +401,7 @@ const fnQualified = async (index, row) => {
} else { } else {
data.qualifiedDialog.writeresults = true; data.qualifiedDialog.writeresults = true;
data.qualifiedDialog.form.CHECK_RESULT = data.qualifiedDialog.form.CHECK_RESULT =
row.CHECK_RESULT !== "不涉及" ? row.CHECK_RESULT : ""; row.CHECK_RESULT !== "不涉及" ? row.CHECK_RESULT : row.CHECK_QUALIFIED;
} }
data.qualifiedDialog.visible = true; data.qualifiedDialog.visible = true;
data.qualifiedDialog.index = index; data.qualifiedDialog.index = index;