|
@@ -68,7 +68,7 @@ export default {
|
|
|
status: '',
|
|
|
fastSearch: ''
|
|
|
},
|
|
|
- applyId: ''
|
|
|
+ applyRow: {}
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
@@ -201,13 +201,14 @@ export default {
|
|
|
|
|
|
// 申请
|
|
|
apply(row) {
|
|
|
- this.applyId = row.id
|
|
|
+ this.applyRow = row
|
|
|
this.$refs.receiveDialog.show = true
|
|
|
},
|
|
|
|
|
|
// 确认申请
|
|
|
applySure() {
|
|
|
- applyApproval(this.applyId).then(res => {
|
|
|
+ const { id, taskId } = this.applyRow
|
|
|
+ applyApproval({ Loading: true, id, taskId }).then(res => {
|
|
|
if (res.success) {
|
|
|
this.$message.success('申请成功')
|
|
|
this.$refs.receiveDialog.show = false
|