修改流程
This commit is contained in:
@@ -3084,7 +3084,11 @@ export default {
|
|||||||
json.applyUpdUserId = this.form.applyUpdUserId
|
json.applyUpdUserId = this.form.applyUpdUserId
|
||||||
json.prcCreateUser = this.form.prcCreateUser
|
json.prcCreateUser = this.form.prcCreateUser
|
||||||
json.prcCreateUserName = this.form.prcCreateUserName
|
json.prcCreateUserName = this.form.prcCreateUserName
|
||||||
|
if(this.form.reviseStatus == '1' || this.form.reviseStatus == '2'){
|
||||||
|
json.nowEsId = this.tableData.standardData[0].id
|
||||||
|
}else if(this.form.reviseStatus == '3'){
|
||||||
json.standCode = this.tableData.standardData[0].standCode
|
json.standCode = this.tableData.standardData[0].standCode
|
||||||
|
}
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
userId : this.$store.getters.userInfo.userId,
|
userId : this.$store.getters.userInfo.userId,
|
||||||
|
|||||||
@@ -3087,8 +3087,11 @@ export default {
|
|||||||
json.applyUpdUserId = this.form.applyUpdUserId
|
json.applyUpdUserId = this.form.applyUpdUserId
|
||||||
json.prcCreateUser = this.form.prcCreateUser
|
json.prcCreateUser = this.form.prcCreateUser
|
||||||
json.prcCreateUserName = this.form.prcCreateUserName
|
json.prcCreateUserName = this.form.prcCreateUserName
|
||||||
|
if(this.form.reviseStatus == '3'){
|
||||||
json.standCode = this.standardCheckedList[0].standCode
|
json.standCode = this.standardCheckedList[0].standCode
|
||||||
json.id = this.standardCheckedList[0].id
|
json.id = this.standardCheckedList[0].id
|
||||||
|
}
|
||||||
|
|
||||||
this.$http.post('lawss/activiti/startProcessRollBack', {
|
this.$http.post('lawss/activiti/startProcessRollBack', {
|
||||||
createUser: this.$store.getters.userInfo.userId,
|
createUser: this.$store.getters.userInfo.userId,
|
||||||
createUserName: this.$store.getters.userInfo.userName,
|
createUserName: this.$store.getters.userInfo.userName,
|
||||||
|
|||||||
@@ -1230,9 +1230,11 @@
|
|||||||
this.addDrawer = false
|
this.addDrawer = false
|
||||||
this.$message.success(tips + '成功')
|
this.$message.success(tips + '成功')
|
||||||
this.getData()
|
this.getData()
|
||||||
|
if(this.DrawerType === 'add'){
|
||||||
this.addForm.addFlag = '1'
|
this.addForm.addFlag = '1'
|
||||||
this.addForm.prcCreateUser = this.$store.getters.userInfo.userId
|
this.addForm.prcCreateUser = this.$store.getters.userInfo.userId
|
||||||
this.addForm.prcCreateUserName = this.$store.getters.userInfo.userName
|
this.addForm.prcCreateUserName = this.$store.getters.userInfo.userName
|
||||||
|
this.addForm.esId = res.message
|
||||||
this.addForm.type = '5'
|
this.addForm.type = '5'
|
||||||
var json = Object.assign(this.addForm)
|
var json = Object.assign(this.addForm)
|
||||||
this.$http.post('lawss/activiti/startProcessRollBack', {
|
this.$http.post('lawss/activiti/startProcessRollBack', {
|
||||||
@@ -1257,6 +1259,7 @@
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
this.addDrawer = false
|
this.addDrawer = false
|
||||||
this.$message.warning(res.data)
|
this.$message.warning(res.data)
|
||||||
|
|||||||
Reference in New Issue
Block a user