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
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:
commit
b771a3c910
@ -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
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user