修改bug 52637 第二部驳回后,应回到发起人进行修订

This commit is contained in:
zhangyichen
2022-04-22 16:14:55 +08:00
parent f6f088a20a
commit f7a8ffd439
2 changed files with 75 additions and 41 deletions
@@ -500,8 +500,9 @@ export default {
*/ */
getFormFieldList(item) { getFormFieldList(item) {
this.$nextTick(() => { this.$nextTick(() => {
this.standardSearch = item.standardSearch this.standardSearch = JSON.parse(JSON.stringify(item))
this.roleForm = item.roleForm // this.standardSearch = item.standardSearch
this.roleForm = JSON.parse(JSON.stringify(item))
}); });
}, },
//tab发生变化 //tab发生变化
@@ -621,6 +622,29 @@ export default {
if (valid) { if (valid) {
this.$refs['roleForm'].validate((valid) => { this.$refs['roleForm'].validate((valid) => {
if (valid) { if (valid) {
if (this.$route.query.type === 2) {
this.isSubmit = true
this.standardSearch.commentText = this.commentText
var json = Object.assign(this.standardSearch, this.roleForm)
this.$http.post('lawss/activiti/completeTaskNew', {
taskIds: this.$route.query.taskIds,
userId : this.$store.getters.userInfo.userId,
json: JSON.stringify(json),
specialJson: JSON.stringify({
roleForm: this.roleForm,
qbfsForm: this.standardSearch,
commentText: this.commentText
})
}, {
_this: this
}, res => {
if (res.success) {
this.$message.success(res.message)
this.isSubmit = false
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
}
})
} else {
this.isSubmit = true this.isSubmit = true
this.standardSearch.commentText = this.commentText this.standardSearch.commentText = this.commentText
var json = Object.assign(this.standardSearch, this.roleForm) var json = Object.assign(this.standardSearch, this.roleForm)
@@ -660,6 +684,7 @@ export default {
}) })
} }
}) })
}
}else { }else {
this.$message.warning('请检查人员信息表单是否填写完整') this.$message.warning('请检查人员信息表单是否填写完整')
} }
@@ -2075,7 +2075,7 @@ export default {
if (row.taskInfo === '标准法规部部长审核') { if (row.taskInfo === '标准法规部部长审核') {
this.$router.push({ this.$router.push({
name: 'qbfzStep2', name: 'qbfzStep2',
query:{ query: {
taskIds: row.taskIds, taskIds: row.taskIds,
prcId: row.prcId, prcId: row.prcId,
prcNum: row.prcNum, prcNum: row.prcNum,
@@ -2083,6 +2083,15 @@ export default {
prcType: row.prcType prcType: row.prcType
} }
}) })
} else if (row.taskInfo === '重新起草') {
this.$router.push({
name: 'qbfzStep1',
query:{
type: 2,
taskIds: row.taskIds,
prcId: row.prcId
}
})
} else if(row.taskInfo === '会签') { } else if(row.taskInfo === '会签') {
this.$router.push({ this.$router.push({
name: 'qbfzStep3', name: 'qbfzStep3',