BUG 28303
This commit is contained in:
@@ -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]))
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -96,7 +96,7 @@ export default {
|
||||
} else {
|
||||
uni.navigateBack({
|
||||
success: () => {
|
||||
uni.$emit("pagePicker", checkList)
|
||||
uni.$emit("pagePicker:resident", checkList)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user