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({
path:'/claimAndRefund/return/returnApplyAdd',
query:{
taskId:row.taskId,
isEdit:true
Id:row.id,
isEdit:true,
}
})
},

View File

@ -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