diff --git a/sgzb-ui/src/views/claimAndRefund/return/returnApply.vue b/sgzb-ui/src/views/claimAndRefund/return/returnApply.vue index a2b8856a..0123205c 100644 --- a/sgzb-ui/src/views/claimAndRefund/return/returnApply.vue +++ b/sgzb-ui/src/views/claimAndRefund/return/returnApply.vue @@ -500,8 +500,8 @@ export default { this.$tab.closeOpenPage({ path:'/claimAndRefund/return/returnApplyAdd', query:{ - taskId:row.taskId, - isEdit:true + Id:row.id, + isEdit:true, } }) }, diff --git a/sgzb-ui/src/views/claimAndRefund/return/returnApplyAdd.vue b/sgzb-ui/src/views/claimAndRefund/return/returnApplyAdd.vue index 87ad1c33..c54d2bd2 100644 --- a/sgzb-ui/src/views/claimAndRefund/return/returnApplyAdd.vue +++ b/sgzb-ui/src/views/claimAndRefund/return/returnApplyAdd.vue @@ -421,8 +421,8 @@ export default { // this.getList(); // console.log('this.$route.query.isEdit', this.$route.query.isEdit) this.isEdit = this.$route.query.isEdit; - if (this.$route.query.taskId) { - this.getViewByApply(this.$route.query.taskId) + if (this.$route.query.Id) { + this.getViewByApply(this.$route.query.Id) } getInfo().then(res => { this.companyId = res.user.companyId @@ -488,8 +488,8 @@ export default { }, // 获取 任务详情数据 - async getViewByApply(taskId) { - const res = await getViewByApply({ taskId }) + async getViewByApply(Id) { + const res = await getViewByApply({ id:Id }) const data = res.rows[0] this.queryParams.unitId = data.unitId this.queryParams.proId = data.projectId