企标计划新增接口发起待办
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user