BUG 28179

This commit is contained in:
aixianling
2022-03-14 20:26:16 +08:00
parent e468bdca51
commit 6be9eda1e1
2 changed files with 8 additions and 3 deletions

View File

@@ -460,7 +460,11 @@ export default {
this.$u.toast('提交成功') this.$u.toast('提交成功')
uni.$emit('specialPeopleList') uni.$emit('specialPeopleList')
setTimeout(() => { setTimeout(() => {
uni.navigateBack({}) uni.navigateBack({
success: () => {
uni.$emit("selectType")
}
})
}, 600) }, 600)
} }
}) })

View File

@@ -82,8 +82,6 @@ export default {
onLoad() { onLoad() {
this.getTypeList() this.getTypeList()
}, },
onShow() {
},
methods: { methods: {
userClick(row, index) { userClick(row, index) {
if (this.userList[index].isChecked) { if (this.userList[index].isChecked) {
@@ -174,6 +172,9 @@ export default {
this.getUsers() this.getUsers()
}, },
gotoSpecialPersion() { gotoSpecialPersion() {
uni.$once("selectType", () => {
this.getUsers()
})
uni.navigateTo({url: `/apps/AppSpecialPeople/add?appId=${this.appId}&appName=${this.applicationName}`}) uni.navigateTo({url: `/apps/AppSpecialPeople/add?appId=${this.appId}&appName=${this.applicationName}`})
} }
}, },