BUG 28177
This commit is contained in:
@@ -213,9 +213,18 @@ export default {
|
|||||||
this.getType()
|
this.getType()
|
||||||
},
|
},
|
||||||
onShow() {
|
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])
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
this.getDetail()
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
...mapActions(['selectEnterpriseContact']),
|
...mapActions(['selectEnterpriseContact']),
|
||||||
@@ -479,7 +488,6 @@ export default {
|
|||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res?.data) {
|
if (res?.data) {
|
||||||
this.formData = res.data
|
this.formData = res.data
|
||||||
this.appId = appId
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -174,7 +174,7 @@ export default {
|
|||||||
this.getUsers()
|
this.getUsers()
|
||||||
},
|
},
|
||||||
gotoSpecialPersion() {
|
gotoSpecialPersion() {
|
||||||
uni.navigateTo({url: '/apps/AppSpecialPeople/add'})
|
uni.navigateTo({url: `/apps/AppSpecialPeople/add?appId=${this.appId}&appName=${this.applicationName}`})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user