|
@@ -125,7 +125,7 @@
|
|
|
</el-row>
|
|
|
<el-row :gutter="16" class="row">
|
|
|
<el-col :md="12">
|
|
|
- <genderDistribution :data="genderDistributionData" title="性别分布" />
|
|
|
+ <SexDistribution :data="sexDistributionData" title="性别分布" />
|
|
|
</el-col>
|
|
|
<el-col :md="12">
|
|
|
<ageDistribution :data="ageDistributionData" title="年龄分布" />
|
|
@@ -145,7 +145,7 @@
|
|
|
|
|
|
<script setup>
|
|
|
import ComparisonCard from './components/ComparisonCard.vue'
|
|
|
-import genderDistribution from './components/GenderDistribution.vue'
|
|
|
+import SexDistribution from './components/SexDistribution.vue'
|
|
|
import ageDistribution from './components/AgeDistribution.vue'
|
|
|
import workExperience from './components/WorkExperience.vue'
|
|
|
import education from './components/Education.vue'
|
|
@@ -260,11 +260,11 @@ const getInvitedCompletedList = async () => {
|
|
|
}
|
|
|
|
|
|
// 性别分布
|
|
|
-const genderDistributionData = ref(null)
|
|
|
+const sexDistributionData = ref(null)
|
|
|
const getAnalysisJobCvSexCount = async () => {
|
|
|
try {
|
|
|
const data = await statisticAnalysisApi.getAnalysisJobCvSexCount(queryParams)
|
|
|
- if (data) genderDistributionData.value = data
|
|
|
+ if (data) sexDistributionData.value = data
|
|
|
console.log('性别分布', data)
|
|
|
} catch (error) {
|
|
|
console.log(error)
|