Merge branch 'wwt'
Some checks are pending
Check / lint (push) Waiting to run
Check / typecheck (push) Waiting to run
Check / build (build, 18.x, ubuntu-latest) (push) Waiting to run
Check / build (build, 18.x, windows-latest) (push) Waiting to run
Check / build (build:app, 18.x, ubuntu-latest) (push) Waiting to run
Check / build (build:app, 18.x, windows-latest) (push) Waiting to run
Check / build (build:mp-weixin, 18.x, ubuntu-latest) (push) Waiting to run
Check / build (build:mp-weixin, 18.x, windows-latest) (push) Waiting to run

This commit is contained in:
wwt 2025-03-24 09:47:43 +08:00
commit b771a3c910

View File

@ -96,6 +96,7 @@
</div> </div>
</div> </div>
<div <div
v-if="isCreateProjecy"
@click="groupActiveIndex = 2;depCheckedKeys = [];" @click="groupActiveIndex = 2;depCheckedKeys = [];"
class="groupCard thirdPanel" class="groupCard thirdPanel"
:class="groupActiveIndex === 2 ? 'activePanel' : ''" :class="groupActiveIndex === 2 ? 'activePanel' : ''"
@ -144,6 +145,7 @@ onUnload(()=> {
}) })
const isHasPermission = ref(false) const isHasPermission = ref(false)
const isCreateProjecy = ref(false)
onShow( async() =>{ onShow( async() =>{
const isHasRes = await userHasPermission({ const isHasRes = await userHasPermission({
erpUserId: userInfo?.value?.ID, erpUserId: userInfo?.value?.ID,
@ -158,6 +160,7 @@ onShow( async() =>{
} else{ } else{
isHasPermission.value = false isHasPermission.value = false
} }
isCreateProjecy.value = isHasRes.data.btn_rule_create_project_group
} }
}) })