修改 外部标准化协会入会流程 第二个节点不涉及 不对入会人员进行表单校验
This commit is contained in:
@@ -381,6 +381,7 @@ export default {
|
||||
},
|
||||
// 退回按钮
|
||||
handleSubmitNo() {
|
||||
this.$refs['rh_pageData'].clearValidate('comityOpRoleId')
|
||||
if (this.commentText === '') {
|
||||
this.$message.warning('请输入审批意见')
|
||||
} else {
|
||||
@@ -391,22 +392,18 @@ export default {
|
||||
commentText: this.commentText,
|
||||
rh_pageData: this.rh_pageData,
|
||||
}
|
||||
this.$refs['rh_pageData'].validate((valid) => {
|
||||
if (valid) {
|
||||
this.isSubmit = true
|
||||
const params = new FormData();
|
||||
params.set('json', JSON.stringify(json))
|
||||
params.set('userId', this.$store.getters.userInfo.userId)
|
||||
params.set('taskId', this.taskIds)
|
||||
completeTask(params).then(res => {
|
||||
if (res.success === true) {
|
||||
this.$message.success('退回成功')
|
||||
this.$router.push("/processCenter");
|
||||
}
|
||||
}).finally(() => {
|
||||
this.isSubmit = false
|
||||
})
|
||||
this.isSubmit = true
|
||||
const params = new FormData();
|
||||
params.set('json', JSON.stringify(json))
|
||||
params.set('userId', this.$store.getters.userInfo.userId)
|
||||
params.set('taskId', this.taskIds)
|
||||
completeTask(params).then(res => {
|
||||
if (res.success === true) {
|
||||
this.$message.success('退回成功')
|
||||
this.$router.push("/processCenter");
|
||||
}
|
||||
}).finally(() => {
|
||||
this.isSubmit = false
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user