|
|
@@ -122,9 +122,9 @@ const typeDetailData = computed(() => {
|
|
122
|
122
|
dividerIndex: 0,
|
|
123
|
123
|
dataItems: getQuestionDataItems(),
|
|
124
|
124
|
// rankList: getQuestionRankList(),
|
|
125
|
|
- departmentRank: accuracyStatistics.value.topDepts && accuracyStatistics.value.topDepts?.map(item => ({ ...item, passRate: item.accuracy?.toFixed(2), name: item.deptName })) || [],
|
|
126
|
|
- teamRank: accuracyStatistics.value.topTeamsInSite && accuracyStatistics.value.topTeamsInSite?.map(item => ({ ...item, passRate: item.accuracy?.toFixed(2), name: item.teamName })) || [],
|
|
127
|
|
- bottomTeamRank: accuracyStatistics.value.bottomTeamsInSite && accuracyStatistics.value.bottomTeamsInSite?.map(item => ({ ...item, passRate: item.accuracy?.toFixed(2), name: item.teamName })) || [],
|
|
|
125
|
+ departmentRank: accuracyStatistics.value.topDepts && accuracyStatistics.value.topDepts?.map(item => ({ ...item, passRate: item.accuracy?.toFixed(2) })) || [],
|
|
|
126
|
+ teamRank: accuracyStatistics.value.topTeamsInSite && accuracyStatistics.value.topTeamsInSite?.map(item => ({ ...item, passRate: item.accuracy?.toFixed(2) })) || [],
|
|
|
127
|
+ bottomTeamRank: accuracyStatistics.value.bottomTeamsInSite && accuracyStatistics.value.bottomTeamsInSite?.map(item => ({ ...item, passRate: item.accuracy?.toFixed(2)})) || [],
|
|
128
|
128
|
teamSortType: sortStates.value['抽问抽答'].teamSortType,
|
|
129
|
129
|
deptSortType: sortStates.value['抽问抽答'].deptSortType
|
|
130
|
130
|
},
|
|
|
@@ -439,9 +439,9 @@ const getQuestionDataItems = () => {
|
|
439
|
439
|
// test/zhijianke角色:全站、前三名的大队(isImage: true)
|
|
440
|
440
|
return [
|
|
441
|
441
|
{ label: '全站', value: (siteAvgAccuracy || 0) + '%', isImage: false },
|
|
442
|
|
- { label: getObjByRank(topDepts, 1).deptName, value: oneIcon, isImage: true },
|
|
443
|
|
- { label: getObjByRank(topDepts, 2).deptName, value: twoIcon, isImage: true },
|
|
444
|
|
- { label: getObjByRank(topDepts, 3).deptName, value: threeIcon, isImage: true }
|
|
|
442
|
+ { label: getObjByRank(topDepts, 1).name, value: oneIcon, isImage: true },
|
|
|
443
|
+ { label: getObjByRank(topDepts, 2).name, value: twoIcon, isImage: true },
|
|
|
444
|
+ { label: getObjByRank(topDepts, 3).name, value: threeIcon, isImage: true }
|
|
445
|
445
|
];
|
|
446
|
446
|
} else {
|
|
447
|
447
|
// 默认角色:检查项、完成率
|