BUG 28177

This commit is contained in:
aixianling
2022-03-14 20:23:00 +08:00
parent e5c0470c38
commit e468bdca51
2 changed files with 12 additions and 4 deletions

View File

@@ -213,9 +213,18 @@ export default {
this.getType()
},
onShow() {
document.title = this.isEdit ? "编辑人员" : '新增人员'
this.appId = this.$route.query.appId
if (this.isEdit) {
document.title = "编辑人员"
this.getDetail()
} else {
document.title = '新增人员'
if (this.appId) {
this.typeConfirm([this.$route.query])
}
}
},
methods: {
...mapActions(['selectEnterpriseContact']),
@@ -479,7 +488,6 @@ export default {
}).then(res => {
if (res?.data) {
this.formData = res.data
this.appId = appId
}
})
}

View File

@@ -174,7 +174,7 @@ export default {
this.getUsers()
},
gotoSpecialPersion() {
uni.navigateTo({url: '/apps/AppSpecialPeople/add'})
uni.navigateTo({url: `/apps/AppSpecialPeople/add?appId=${this.appId}&appName=${this.applicationName}`})
}
},
}