From 20568326b4e7191789c2b6b81875cde1ec30bd51 Mon Sep 17 00:00:00 2001 From: zhouzy062 Date: Thu, 29 Feb 2024 16:03:02 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=80=E6=96=993?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sgzb-ui/src/views/claimAndRefund/return/returnApply.vue | 4 ++-- .../src/views/claimAndRefund/return/returnApplyAdd.vue | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) 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