pssr检查内容上传文件参数修改
This commit is contained in:
@@ -53,7 +53,7 @@ const confirmed = ref<{[key: string]: boolean}>({
|
|||||||
'train': false,
|
'train': false,
|
||||||
'pssr': false,
|
'pssr': false,
|
||||||
'evaluation': false,
|
'evaluation': false,
|
||||||
'close': false,
|
// 'close': false,
|
||||||
});
|
});
|
||||||
|
|
||||||
// 变更预分析表单数据
|
// 变更预分析表单数据
|
||||||
@@ -68,7 +68,7 @@ const TABS = [
|
|||||||
{ id: "train", name: "变更培训内容", icon: 'lucide:graduation-cap' },
|
{ id: "train", name: "变更培训内容", icon: 'lucide:graduation-cap' },
|
||||||
{ id: "pssr", name: "PSSR 检查内容", icon: 'tabler:clipboard-check' },
|
{ id: "pssr", name: "PSSR 检查内容", icon: 'tabler:clipboard-check' },
|
||||||
{ id: "evaluation", name: "验收评价", icon: 'material-symbols:check-circle-outline' },
|
{ 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");
|
const tab = ref<string>(aiEnabled.value ? "pre" : "form");
|
||||||
@@ -153,7 +153,7 @@ const getAllFormData = () => {
|
|||||||
let changeTrainingForm = changeTrainingRef.value?.form;
|
let changeTrainingForm = changeTrainingRef.value?.form;
|
||||||
let pssrForm = pssrRef.value?.list;
|
let pssrForm = pssrRef.value?.list;
|
||||||
let evaluationForm = evaluationRef.value?.list;
|
let evaluationForm = evaluationRef.value?.list;
|
||||||
let closeConfirmForm = closeConfirmRef.value?.form;
|
// let closeConfirmForm = closeConfirmRef.value?.form;
|
||||||
return {
|
return {
|
||||||
title: title.value,
|
title: title.value,
|
||||||
...changePreForm,
|
...changePreForm,
|
||||||
@@ -162,7 +162,6 @@ const getAllFormData = () => {
|
|||||||
...changeTrainingForm,
|
...changeTrainingForm,
|
||||||
...pssrForm,
|
...pssrForm,
|
||||||
...evaluationForm,
|
...evaluationForm,
|
||||||
...closeConfirmForm
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ const uploadFile = async (e: any) => {
|
|||||||
if (!file) return;
|
if (!file) return;
|
||||||
const formData = new FormData();
|
const formData = new FormData();
|
||||||
formData.append('file', file);
|
formData.append('file', file);
|
||||||
formData.append('step', '2');
|
formData.append('step', '5');
|
||||||
uploadLoading.value = true;
|
uploadLoading.value = true;
|
||||||
const {error} = await uploadFileApi(props.currentId, formData);
|
const {error} = await uploadFileApi(props.currentId, formData);
|
||||||
if(!error){
|
if(!error){
|
||||||
@@ -105,6 +105,7 @@ defineExpose({list})
|
|||||||
本组内容经评估本次变更不涉及(如:无现场安装作业 / 不改变保护措施 / 无需归档资料),已不计入 PSSR 完成统计;如需恢复检查清单,点击右上角「恢复清单」。
|
本组内容经评估本次变更不涉及(如:无现场安装作业 / 不改变保护措施 / 无需归档资料),已不计入 PSSR 完成统计;如需恢复检查清单,点击右上角「恢复清单」。
|
||||||
</div>
|
</div>
|
||||||
<template v-else>
|
<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">
|
<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>
|
<span class="w-5 text-slate-400">{{ i + 1 }}</span>
|
||||||
<NInput
|
<NInput
|
||||||
|
|||||||
Reference in New Issue
Block a user