修改提交流程的传参
This commit is contained in:
@@ -166,12 +166,12 @@
|
||||
},
|
||||
methods: {
|
||||
...mapGetters(['userInfo']),
|
||||
terminationProcess() {
|
||||
this.completeTask({ flag: 2 })
|
||||
terminationProcess(handlingTime) {
|
||||
this.completeTask({ flag: 2 },handlingTime)
|
||||
},
|
||||
submit() {
|
||||
submit(handlingTime) {
|
||||
this.$refs.examineInformationRef.submit((res) => {
|
||||
this.completeTask(res)
|
||||
this.completeTask(res,handlingTime)
|
||||
})
|
||||
},
|
||||
queryTaskDetailByTask(callback) {
|
||||
@@ -186,13 +186,14 @@
|
||||
}
|
||||
})
|
||||
},
|
||||
completeTask(value) {
|
||||
completeTask(value,handlingTime) {
|
||||
let json = Object.assign({}, this.queryBy, value)
|
||||
let data = JSON.stringify(json).replace(/\"/g, '\'')
|
||||
let query = {
|
||||
userid: this.userInfo().id,
|
||||
taskId: this.$route.query.taskId || this.$route.query.taskIds,
|
||||
json: data
|
||||
json: data,
|
||||
handlingTime:handlingTime
|
||||
}
|
||||
postAction('/workFlow/completeTask', query).then((res) => {
|
||||
if (res.success) {
|
||||
|
||||
Reference in New Issue
Block a user