普测计划修改
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user