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

View File

@@ -54,7 +54,7 @@ export default {
} }
}, },
onLoad() { 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() this.getAllDepts()
}, },
methods: { methods: {