|
@@ -142,14 +142,15 @@ watch(groupListWithAll, () => {
|
|
|
|
|
|
onMounted(() => {
|
|
onMounted(() => {
|
|
if (
|
|
if (
|
|
- (mainStore.myUserInfo && mainStore.myUserInfo.role === 'DEPUTY') ||
|
|
|
|
- getUserConfigByType('expandByPerson') == '1'
|
|
|
|
|
|
+ mainStore.myUserInfo &&
|
|
|
|
+ mainStore.myUserInfo.role === 'DEPUTY'
|
|
|
|
+ // || getUserConfigByType('expandByPerson') == '1'
|
|
) {
|
|
) {
|
|
model.expand = ['按人员展开']
|
|
model.expand = ['按人员展开']
|
|
}
|
|
}
|
|
- if (getUserConfigByType('includeLeaderScore') == '1') {
|
|
|
|
- model.hasGroupLeaderScore = ['true']
|
|
|
|
- }
|
|
|
|
|
|
+ // if (getUserConfigByType('includeLeaderScore') == '1') {
|
|
|
|
+ // model.hasGroupLeaderScore = ['true']
|
|
|
|
+ // }
|
|
})
|
|
})
|
|
|
|
|
|
const { fetch, result: allResult, loading } = useFetch('getStatisticsByGroup')
|
|
const { fetch, result: allResult, loading } = useFetch('getStatisticsByGroup')
|