This commit is contained in:
yanran200730
2022-06-17 11:24:02 +08:00
2 changed files with 1 additions and 7 deletions

View File

@@ -68,9 +68,6 @@ export default {
}
},
methods: {
toSelectDept() {
uni.navigateTo({url: `./selectDeptUser`})
},
getTagList() {
this.$http.post("/app/wxcp/wxcorptag/listAll?size=100").then(res => {
if (res?.code == 0) {
@@ -116,9 +113,6 @@ export default {
})
uni.navigateBack({})
},
toSelectDept() {
uni.navigateTo({url: `./selectDept`})
},
},
onShow() {
document.title = '人员选择'

View File

@@ -54,7 +54,7 @@ export default {
}
},
onLoad() {
this.selected = this.$route.query.selected?.map(id => ({id})) || []
this.selected = [this.$route.query.selected].flat().filter(e => !!e)?.map(id => ({id, kind: /^\d{1,5}}$/.test(id) ? 'dept' : 'user'})) || []
this.getAllDepts()
},
methods: {