fix bug#3962
This commit is contained in:
parent
92cda98ca9
commit
33106bfa80
@ -470,7 +470,7 @@ const { t } = useI18n()
|
||||
|
||||
const {
|
||||
groupActiveIndex,
|
||||
getDepsTreeMy,
|
||||
getDepsTreeMy2,
|
||||
depTreeMyList,
|
||||
crumbs,
|
||||
crumbsIndex,
|
||||
@ -917,7 +917,7 @@ const init = async () => {
|
||||
depTreeMyList.value = []
|
||||
crumbs.value = []
|
||||
|
||||
await getDepsTreeMy()
|
||||
await getDepsTreeMy2()
|
||||
if (depTreeMyList.value.length) {
|
||||
if (state.chooseMode === 1) {
|
||||
// 部门选择模式才创建 all 节点
|
||||
|
@ -15,7 +15,7 @@
|
||||
</div>
|
||||
<div class="mt-[54rpx] w-full h-[872rpx]">
|
||||
<div
|
||||
@click="groupActiveIndex = 0"
|
||||
@click="groupActiveIndex = 0;depCheckedKeys = []"
|
||||
class="groupCard firstPanel"
|
||||
:class="groupActiveIndex === 0 ? 'activePanel' : ''"
|
||||
>
|
||||
@ -95,7 +95,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
@click="groupActiveIndex = 2"
|
||||
@click="groupActiveIndex = 2;depCheckedKeys = [];"
|
||||
class="groupCard thirdPanel"
|
||||
:class="groupActiveIndex === 2 ? 'activePanel' : ''"
|
||||
>
|
||||
@ -131,14 +131,16 @@
|
||||
import ZPaging from '@/uni_modules/z-paging/components/z-paging/z-paging.vue'
|
||||
import customBtn from '@/components/custom-btn/custom-btn.vue'
|
||||
import { ref, watch, computed } from 'vue'
|
||||
import { onShow, onLoad } from '@dcloudio/uni-app'
|
||||
import { onShow, onLoad, onUnload } from '@dcloudio/uni-app'
|
||||
import { useChatList } from '@/store/chatList/index.js'
|
||||
import { useAuth } from '@/store/auth'
|
||||
import { useTalkStore, useUserStore } from '@/store'
|
||||
import { useGroupTypeStore } from '@/store/groupType'
|
||||
|
||||
const { groupActiveIndex, depCheckedKeys } = useGroupTypeStore()
|
||||
onUnload(()=> {
|
||||
|
||||
})
|
||||
const confirmBtnStatus = computed(() => {
|
||||
let disabledT = false
|
||||
switch (groupActiveIndex.value) {
|
||||
|
Loading…
Reference in New Issue
Block a user