1.项目结项提交按钮改为保存,新增弹出层,保存之后可直接提交
This commit is contained in:
parent
867e936d5f
commit
8a60c3d349
@ -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)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user