BUG 27200
This commit is contained in:
@@ -8,6 +8,8 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import qs from 'query-string'
|
||||
|
||||
export default {
|
||||
name: "AiPagePicker",
|
||||
model: {
|
||||
@@ -47,7 +49,14 @@ export default {
|
||||
this.$emit("select", data)
|
||||
this.$emit("change", data.map(e => e[nodeKey]))
|
||||
})
|
||||
uni.navigateTo({url: `${config.url}?selected=${selected?.toString()}`})
|
||||
let url = `${config.url}`,
|
||||
qsstr = qs.stringify({
|
||||
selected, ...this.$attrs
|
||||
})
|
||||
if (!!qsstr) {
|
||||
url += `?${qsstr}`
|
||||
}
|
||||
uni.navigateTo({url})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -59,13 +59,16 @@ export default {
|
||||
return this.treeList.filter(e => e.girdName?.indexOf(this.name) > -1 || !this.name) || []
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
onLoad(params) {
|
||||
if (params.girdLevel) {
|
||||
this.girdLevel = params.girdLevel
|
||||
}
|
||||
this.isGirdUser()
|
||||
},
|
||||
methods: {
|
||||
isGirdUser() {
|
||||
this.$http.post('/app/appgirdmemberinfo/checkLogOnUser').then((res) => {
|
||||
if (res.code == 0) {
|
||||
if (res?.data) {
|
||||
if (res.data.checkType) {
|
||||
this.userGird = res.data
|
||||
this.getTree()
|
||||
|
||||
Reference in New Issue
Block a user