This commit is contained in:
zhouzy062 2024-02-29 16:14:58 +08:00
parent c29db53cc7
commit 188cc9672d
1 changed files with 2 additions and 2 deletions

View File

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