This commit is contained in:
zhouzy062 2024-02-29 16:03:02 +08:00
parent 4ea4c1f81b
commit 20568326b4
2 changed files with 6 additions and 6 deletions

View File

@ -500,8 +500,8 @@ export default {
this.$tab.closeOpenPage({ this.$tab.closeOpenPage({
path:'/claimAndRefund/return/returnApplyAdd', path:'/claimAndRefund/return/returnApplyAdd',
query:{ query:{
taskId:row.taskId, Id:row.id,
isEdit:true isEdit:true,
} }
}) })
}, },

View File

@ -421,8 +421,8 @@ export default {
// this.getList(); // this.getList();
// console.log('this.$route.query.isEdit', this.$route.query.isEdit) // console.log('this.$route.query.isEdit', this.$route.query.isEdit)
this.isEdit = this.$route.query.isEdit; this.isEdit = this.$route.query.isEdit;
if (this.$route.query.taskId) { if (this.$route.query.Id) {
this.getViewByApply(this.$route.query.taskId) this.getViewByApply(this.$route.query.Id)
} }
getInfo().then(res => { getInfo().then(res => {
this.companyId = res.user.companyId this.companyId = res.user.companyId
@ -488,8 +488,8 @@ export default {
}, },
// //
async getViewByApply(taskId) { async getViewByApply(Id) {
const res = await getViewByApply({ taskId }) const res = await getViewByApply({ id:Id })
const data = res.rows[0] const data = res.rows[0]
this.queryParams.unitId = data.unitId this.queryParams.unitId = data.unitId
this.queryParams.proId = data.projectId this.queryParams.proId = data.projectId