|
|
@ -171,13 +171,16 @@ |
|
|
|
} |
|
|
|
this.dataListLoading = false |
|
|
|
}) |
|
|
|
},approveHandle(id){ |
|
|
|
}, |
|
|
|
approveHandle(id){ |
|
|
|
this.id = id |
|
|
|
this.dialogVisible = true |
|
|
|
},showFlowHandle(procInsId){ |
|
|
|
}, |
|
|
|
showFlowHandle(procInsId){ |
|
|
|
this.procInsId = procInsId |
|
|
|
this.dialogActiveVisible = true |
|
|
|
},submitFlowComplete(){ |
|
|
|
}, |
|
|
|
submitFlowComplete(){ |
|
|
|
// 做审批通过的操作 |
|
|
|
this.$http({ |
|
|
|
url: this.$http.adornUrl(`/flw/instance/completeFlow/${this.id}`), |
|
|
@ -189,8 +192,8 @@ |
|
|
|
this.getDataList(); |
|
|
|
} |
|
|
|
}) |
|
|
|
},claimHandle(id){ |
|
|
|
|
|
|
|
}, |
|
|
|
claimHandle(id){ |
|
|
|
this.$confirm('确定要拾取当前的任务吗?', '提示', { |
|
|
|
confirmButtonText: '确定', |
|
|
|
cancelButtonText: '取消', |
|
|
@ -205,15 +208,9 @@ |
|
|
|
this.getDataList(); |
|
|
|
} |
|
|
|
}) |
|
|
|
}).catch(() => { |
|
|
|
this.$message({ |
|
|
|
type: 'info', |
|
|
|
message: '已取消删除' |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
},unclaimHandle(id){ |
|
|
|
}).catch(() => {}) |
|
|
|
}, |
|
|
|
unclaimHandle(id){ |
|
|
|
this.$confirm('确定要归还当前的任务吗?', '提示', { |
|
|
|
confirmButtonText: '确定', |
|
|
|
cancelButtonText: '取消', |
|
|
@ -228,12 +225,7 @@ |
|
|
|
this.getDataList(); |
|
|
|
} |
|
|
|
}) |
|
|
|
}).catch(() => { |
|
|
|
this.$message({ |
|
|
|
type: 'info', |
|
|
|
message: '已取消删除' |
|
|
|
}); |
|
|
|
}); |
|
|
|
}).catch(() => {}) |
|
|
|
}, |
|
|
|
// 每页数 |
|
|
|
sizeChangeHandle (val) { |
|
|
@ -278,7 +270,7 @@ |
|
|
|
this.$message.error(data.msg) |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
}).catch(() => {}) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|