1.项目结项提交按钮改为保存,新增弹出层,保存之后可直接提交

This commit is contained in:
zty 2024-08-14 16:52:39 +08:00
parent 867e936d5f
commit 8a60c3d349

View File

@ -74,7 +74,7 @@ export default {
operationDone: true,
},
formTitle: '新增发文',
formBtnTitle: '提交',
formBtnTitle: '保存',
formSchema: {},
formModel: {},
formProjectManagerData: [], //
@ -272,6 +272,17 @@ export default {
if (this.formValidate()) {
this.formSubmit()
}
this.$confirm('保存成功,是否直接提交审批?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(()=>{
this.isExamine=0
this.handleConfirm()
}).catch(() => { //
this.$router.push({name: 'ConclusionManagement'})
})
}
},
{
@ -779,7 +790,7 @@ export default {
type: 'success',
message: '新增成功!'
})
this.$router.go(-1)
// this.$router.go(-1)
} else {
this.$message.error(result.data)
}