修改bug 52637 第二部驳回后,应回到发起人进行修订
This commit is contained in:
@@ -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,45 +622,69 @@ export default {
|
|||||||
if (valid) {
|
if (valid) {
|
||||||
this.$refs['roleForm'].validate((valid) => {
|
this.$refs['roleForm'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.isSubmit = true
|
if (this.$route.query.type === 2) {
|
||||||
this.standardSearch.commentText = this.commentText
|
this.isSubmit = true
|
||||||
var json = Object.assign(this.standardSearch, this.roleForm)
|
this.standardSearch.commentText = this.commentText
|
||||||
this.$http.post('lawss/activiti/startProcessRollBack', {
|
var json = Object.assign(this.standardSearch, this.roleForm)
|
||||||
createUser: this.$store.getters.userInfo.userId,
|
this.$http.post('lawss/activiti/completeTaskNew', {
|
||||||
createUserName: this.$store.getters.userInfo.userName,
|
taskIds: this.$route.query.taskIds,
|
||||||
type: '24',
|
userId : this.$store.getters.userInfo.userId,
|
||||||
json: JSON.stringify({
|
json: JSON.stringify(json),
|
||||||
roleForm: this.roleForm,
|
specialJson: JSON.stringify({
|
||||||
qbfsForm: this.standardSearch,
|
roleForm: this.roleForm,
|
||||||
commentText: this.commentText
|
qbfsForm: this.standardSearch,
|
||||||
})
|
commentText: this.commentText
|
||||||
}, {
|
|
||||||
_this: this
|
|
||||||
}, res => {
|
|
||||||
if (res.ok) {
|
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
|
||||||
taskIds: res.data,
|
|
||||||
userId : this.$store.getters.userInfo.userId,
|
|
||||||
json: JSON.stringify(json)
|
|
||||||
}, {
|
|
||||||
_this: this
|
|
||||||
}, res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.$message.success(res.message)
|
|
||||||
if (this.bpnId !== '') {
|
|
||||||
let taskId = {
|
|
||||||
id: this.bpnId
|
|
||||||
}
|
|
||||||
taskDel(taskId).then(res=>{
|
|
||||||
return res
|
|
||||||
})
|
|
||||||
}
|
|
||||||
this.isSubmit = false
|
|
||||||
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
}
|
}, {
|
||||||
})
|
_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.standardSearch.commentText = this.commentText
|
||||||
|
var json = Object.assign(this.standardSearch, this.roleForm)
|
||||||
|
this.$http.post('lawss/activiti/startProcessRollBack', {
|
||||||
|
createUser: this.$store.getters.userInfo.userId,
|
||||||
|
createUserName: this.$store.getters.userInfo.userName,
|
||||||
|
type: '24',
|
||||||
|
json: JSON.stringify({
|
||||||
|
roleForm: this.roleForm,
|
||||||
|
qbfsForm: this.standardSearch,
|
||||||
|
commentText: this.commentText
|
||||||
|
})
|
||||||
|
}, {
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
if (res.ok) {
|
||||||
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
|
taskIds: res.data,
|
||||||
|
userId : this.$store.getters.userInfo.userId,
|
||||||
|
json: JSON.stringify(json)
|
||||||
|
}, {
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success(res.message)
|
||||||
|
if (this.bpnId !== '') {
|
||||||
|
let taskId = {
|
||||||
|
id: this.bpnId
|
||||||
|
}
|
||||||
|
taskDel(taskId).then(res=>{
|
||||||
|
return res
|
||||||
|
})
|
||||||
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
}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',
|
||||||
|
|||||||
Reference in New Issue
Block a user