企标计划新增接口发起待办

This commit is contained in:
zyx.net
2022-11-20 11:33:16 +08:00
parent 6a7f520a8c
commit d6c25cced6
2 changed files with 21 additions and 1 deletions
@@ -3183,11 +3183,28 @@ export default {
this.modelOptions = res.data
})
},
getData() {
if(this.$route.query.taskIds && this.$route.query.prcId){
return new Promise((resolve, reject) => {
inboundLiaisonDetail({
taskIds: this.$route.query.taskIds,
pId: this.$route.query.prcId
}).then(res => {
if (res) {
const processForm = JSON.parse(res.mesg)
this.form.reviseStatus = processForm.reviseStatus
}
}).catch(e => {
})
})
}
},
},
mounted () {
this.getTaskId()
this.getTree()
this.getData()
if(this.$route.query){
this.form.reviseStatus = this.$route.query.reviseStatus
}
@@ -1231,13 +1231,16 @@
this.$message.success(tips + '成功')
this.getData()
this.addForm.addFlag = '1'
this.addForm.prcCreateUser = this.$store.getters.userInfo.userId
this.addForm.prcCreateUserName = this.$store.getters.userInfo.userName
this.addForm.type = '5'
var json = Object.assign(this.addForm)
this.$http.post('lawss/activiti/startProcessRollBack', {
createUser: this.$store.getters.userInfo.userId,
createUserName: this.$store.getters.userInfo.userName,
type: '25',
json: JSON.stringify({
addForm: this.addForm
qbfsForm: this.addForm
})
}, {}, res => {
if (res.ok) {