feat : 动态前置流程

This commit is contained in:
clay
2024-07-24 21:21:36 +08:00
parent d769ec9755
commit fc0451ca32
4 changed files with 76 additions and 69 deletions

View File

@@ -539,22 +539,6 @@ const getFileParam = (item) => {
}
}
const handleSubmit = async () => {
if (deploymentData.value.deploymentName === '重大项目立项' || deploymentData.value.deploymentName === '重大项目验收') {
if (localFormData.value.preProcess == undefined) {
if (JSON.parse(localStorage.getItem('preProcess'))?.length > 0) {
} else {
ElNotification({
title: '提示',
message: '请选择前置流程!',
type: 'error'
})
return;
}
}
}
let files = []
if (props.mode === 'resubmit') {
attachment.value.allFileList.forEach(item => {