普测计划修改

This commit is contained in:
cdf
2024-06-05 17:42:55 +08:00
parent f5cadce4fe
commit 8148559d72

View File

@@ -157,14 +157,17 @@ const cancelFn = () => {
// 提交
const submitFn = () => {
formRef.value.validate(async (valid: any) => {
if (valid) {
if (!testReport.value) {
return ElMessage({
message: '请上传处理成效报告',
type: 'warning'
})
return ElMessage({
message: '请上传处理成效报告',
type: 'warning'
})
}
if (valid) {
if(addFlagRef){
//新增,则组装业务数据提交后台
await addSurveyTest(form.value)