BUG 28303

This commit is contained in:
aixianling
2022-03-17 16:57:26 +08:00
parent 570d52d78c
commit 17391d7908
3 changed files with 5 additions and 5 deletions

View File

@@ -44,7 +44,7 @@ export default {
handleJump() {
let {config, nodeKey} = this,
selected = this.value || this.selected?.map(e => e[nodeKey])
uni.$once('pagePicker', data => {
uni.$once('pagePicker:' + this.type, data => {
this.$emit("update:selected", data)
this.$emit("select", data)
this.$emit("change", data.map(e => e[nodeKey]))

View File

@@ -88,13 +88,13 @@ export default {
if (params.isDisabledOneGird) {
this.isDisabledOneGird = params.isDisabledOneGird
}
if(this.isGirdUser){
if (this.isGirdUser) {
if (this.isMyGird) {
this.getMyGird()
} else {
this.getTree()
}
}else this.$u.toast('当前人员不是网格员或网格管理员')
} else this.$u.toast('当前人员不是网格员或网格管理员')
},
methods: {
getMyGird() {
@@ -185,7 +185,7 @@ export default {
if (this.SelectGird.id != null) {
uni.navigateBack({
success: () => {
uni.$emit("pagePicker", [this.SelectGird])
uni.$emit("pagePicker:gird", [this.SelectGird])
}
})
} else {

View File

@@ -96,7 +96,7 @@ export default {
} else {
uni.navigateBack({
success: () => {
uni.$emit("pagePicker", checkList)
uni.$emit("pagePicker:resident", checkList)
}
})
}