|
|
@@ -20,7 +20,7 @@ import ProfileRadar from '../../components/ProfileRadar.vue'
|
|
20
|
20
|
import ProfileMembers from '../../components/ProfileMembers.vue'
|
|
21
|
21
|
import ProfileBasicDistribution from '../../components/ProfileBasicDistribution.vue'
|
|
22
|
22
|
import ProfilePositionDistribution from '../../components/ProfilePositionDistribution.vue'
|
|
23
|
|
-import { countDeptTeamStats, getDeptMemberDistribution, getDeptPositionDistribution, getDimensionScoreOverview } from '@/api/portraitManagement/portraitManagement'
|
|
|
23
|
+import { countStationTeamStats, getDeptMemberDistribution, getDeptPositionDistribution, getDimensionScoreOverview } from '@/api/portraitManagement/portraitManagement'
|
|
24
|
24
|
const props = defineProps({
|
|
25
|
25
|
queryParams: {
|
|
26
|
26
|
type: Object,
|
|
|
@@ -48,11 +48,11 @@ const teamColumns = [
|
|
48
|
48
|
|
|
49
|
49
|
const fetchTeamData = async (params) => {
|
|
50
|
50
|
try {
|
|
51
|
|
- const res = await countDeptTeamStats(params)
|
|
|
51
|
+ const res = await countStationTeamStats(params)
|
|
52
|
52
|
if (res.code === 200 && res.data) {
|
|
53
|
53
|
console.log(res.data);
|
|
54
|
54
|
|
|
55
|
|
- teamData.value = res.data
|
|
|
55
|
+ teamMembers.value = res.data
|
|
56
|
56
|
}
|
|
57
|
57
|
} catch (error) {
|
|
58
|
58
|
console.error('获取部门成员列表失败', error)
|