修改流程
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
|
||||||
json.standCode = this.tableData.standardData[0].standCode
|
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
|
||||||
|
}
|
||||||
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
|
||||||
json.standCode = this.standardCheckedList[0].standCode
|
if(this.form.reviseStatus == '3'){
|
||||||
json.id = this.standardCheckedList[0].id
|
json.standCode = this.standardCheckedList[0].standCode
|
||||||
|
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,33 +1230,36 @@
|
|||||||
this.addDrawer = false
|
this.addDrawer = false
|
||||||
this.$message.success(tips + '成功')
|
this.$message.success(tips + '成功')
|
||||||
this.getData()
|
this.getData()
|
||||||
this.addForm.addFlag = '1'
|
if(this.DrawerType === 'add'){
|
||||||
this.addForm.prcCreateUser = this.$store.getters.userInfo.userId
|
this.addForm.addFlag = '1'
|
||||||
this.addForm.prcCreateUserName = this.$store.getters.userInfo.userName
|
this.addForm.prcCreateUser = this.$store.getters.userInfo.userId
|
||||||
this.addForm.type = '5'
|
this.addForm.prcCreateUserName = this.$store.getters.userInfo.userName
|
||||||
var json = Object.assign(this.addForm)
|
this.addForm.esId = res.message
|
||||||
this.$http.post('lawss/activiti/startProcessRollBack', {
|
this.addForm.type = '5'
|
||||||
createUser: this.$store.getters.userInfo.userId,
|
var json = Object.assign(this.addForm)
|
||||||
createUserName: this.$store.getters.userInfo.userName,
|
this.$http.post('lawss/activiti/startProcessRollBack', {
|
||||||
type: '25',
|
createUser: this.$store.getters.userInfo.userId,
|
||||||
json: JSON.stringify({
|
createUserName: this.$store.getters.userInfo.userName,
|
||||||
qbfsForm: this.addForm
|
type: '25',
|
||||||
})
|
json: JSON.stringify({
|
||||||
}, {}, res => {
|
qbfsForm: this.addForm
|
||||||
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)
|
|
||||||
}
|
|
||||||
})
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
|
}, {}, 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)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
} 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