BUG 28303
This commit is contained in:
@@ -44,7 +44,7 @@ export default {
|
|||||||
handleJump() {
|
handleJump() {
|
||||||
let {config, nodeKey} = this,
|
let {config, nodeKey} = this,
|
||||||
selected = this.value || this.selected?.map(e => e[nodeKey])
|
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("update:selected", data)
|
||||||
this.$emit("select", data)
|
this.$emit("select", data)
|
||||||
this.$emit("change", data.map(e => e[nodeKey]))
|
this.$emit("change", data.map(e => e[nodeKey]))
|
||||||
|
|||||||
@@ -88,13 +88,13 @@ export default {
|
|||||||
if (params.isDisabledOneGird) {
|
if (params.isDisabledOneGird) {
|
||||||
this.isDisabledOneGird = params.isDisabledOneGird
|
this.isDisabledOneGird = params.isDisabledOneGird
|
||||||
}
|
}
|
||||||
if(this.isGirdUser){
|
if (this.isGirdUser) {
|
||||||
if (this.isMyGird) {
|
if (this.isMyGird) {
|
||||||
this.getMyGird()
|
this.getMyGird()
|
||||||
} else {
|
} else {
|
||||||
this.getTree()
|
this.getTree()
|
||||||
}
|
}
|
||||||
}else this.$u.toast('当前人员不是网格员或网格管理员')
|
} else this.$u.toast('当前人员不是网格员或网格管理员')
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getMyGird() {
|
getMyGird() {
|
||||||
@@ -185,7 +185,7 @@ export default {
|
|||||||
if (this.SelectGird.id != null) {
|
if (this.SelectGird.id != null) {
|
||||||
uni.navigateBack({
|
uni.navigateBack({
|
||||||
success: () => {
|
success: () => {
|
||||||
uni.$emit("pagePicker", [this.SelectGird])
|
uni.$emit("pagePicker:gird", [this.SelectGird])
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
uni.navigateBack({
|
uni.navigateBack({
|
||||||
success: () => {
|
success: () => {
|
||||||
uni.$emit("pagePicker", checkList)
|
uni.$emit("pagePicker:resident", checkList)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user