pssr检查内容上传文件参数修改

This commit is contained in:
2026-09-07 11:42:24 +08:00
parent 0212c254ac
commit 563c830363
2 changed files with 5 additions and 5 deletions
+3 -4
View File
@@ -53,7 +53,7 @@ const confirmed = ref<{[key: string]: boolean}>({
'train': false,
'pssr': false,
'evaluation': false,
'close': false,
// 'close': false,
});
// 变更预分析表单数据
@@ -68,7 +68,7 @@ const TABS = [
{ id: "train", name: "变更培训内容", icon: 'lucide:graduation-cap' },
{ id: "pssr", name: "PSSR 检查内容", icon: 'tabler:clipboard-check' },
{ id: "evaluation", name: "验收评价", icon: 'material-symbols:check-circle-outline' },
{ id: "close", name: "变更关闭确认表", icon: 'quill:folder-open' },
// { id: "close", name: "变更关闭确认表", icon: 'quill:folder-open' },
];
// 当前标签
const tab = ref<string>(aiEnabled.value ? "pre" : "form");
@@ -153,7 +153,7 @@ const getAllFormData = () => {
let changeTrainingForm = changeTrainingRef.value?.form;
let pssrForm = pssrRef.value?.list;
let evaluationForm = evaluationRef.value?.list;
let closeConfirmForm = closeConfirmRef.value?.form;
// let closeConfirmForm = closeConfirmRef.value?.form;
return {
title: title.value,
...changePreForm,
@@ -162,7 +162,6 @@ const getAllFormData = () => {
...changeTrainingForm,
...pssrForm,
...evaluationForm,
...closeConfirmForm
};
}
+2 -1
View File
@@ -34,7 +34,7 @@ const uploadFile = async (e: any) => {
if (!file) return;
const formData = new FormData();
formData.append('file', file);
formData.append('step', '2');
formData.append('step', '5');
uploadLoading.value = true;
const {error} = await uploadFileApi(props.currentId, formData);
if(!error){
@@ -105,6 +105,7 @@ defineExpose({list})
本组内容经评估本次变更不涉及无现场安装作业 / 不改变保护措施 / 无需归档资料已不计入 PSSR 完成统计如需恢复检查清单点击右上角恢复清单
</div>
<template v-else>
<div v-if="g.items.length===0" class="py-3 px-2 text-center text-slate-400 text-xs">暂无检查项</div>
<div v-for="(it, i) in g.items" :key="`${gi}-${i}`" class="flex flex-wrap items-center gap-3 border-t px-3 py-2.5 text-sm">
<span class="w-5 text-slate-400">{{ i + 1 }}</span>
<NInput