@@ -212,7 +213,7 @@
@mouseleave="hoveredArea = null"
>
- 校友数: {{ item.value }}
+ {{ item.value }}人
@@ -357,10 +358,10 @@ export default {
'姑苏区': { labelLeft: '47.12%', labelTop: '28.68%', focusLeft: '45.88%', focusTop: '36.04%', focusWidth: '10.49%' },
// 工业园区 - 实际位置: x: 265, y: 164, 宽: 81
// center: (305.5, 201) → 57.21%, 45.27%
- '工业园区': { labelLeft: '63.21%', labelTop: '33.27%', focusLeft: '49.63%', focusTop: '36.94%', focusWidth: '15.17%' },
+ '工业园区': { labelLeft: '60.21%', labelTop: '33.27%', focusLeft: '49.63%', focusTop: '36.94%', focusWidth: '15.17%' },
// 昆山市 - 实际位置: x: 285, y: 133, 宽: 170
// center: (370, 211) → 69.29%, 47.52%
- '昆山市': { labelLeft: '78.29%', labelTop: '30.52%', focusLeft: '51.37%', focusTop: '29.95%', focusWidth: '31.84%' },
+ '昆山市': { labelLeft: '75.29%', labelTop: '30.52%', focusLeft: '51.37%', focusTop: '29.95%', focusWidth: '31.84%' },
// 吴中区 - 实际位置: x: 75, y: 175, 宽: 238
// center: (194, 244.5) → 36.33%, 55.07%
'吴中区': { labelLeft: '32.33%', labelTop: '40.07%', focusLeft: '13.04%', focusTop: '39.41%', focusWidth: '44.57%' },
@@ -1433,7 +1434,7 @@ export default {
white-space: nowrap;
text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
position: absolute;
- right: 0px;
+ right: -2.1vw;
z-index: 1;
}
diff --git a/src/views/employee/components/addEmployee.vue b/src/views/employee/components/addEmployee.vue
new file mode 100644
index 0000000..81661a2
--- /dev/null
+++ b/src/views/employee/components/addEmployee.vue
@@ -0,0 +1,242 @@
+
+
+
+
+
+
+
+
+
+ *课程体系:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/employee/index.vue b/src/views/employee/index.vue
new file mode 100644
index 0000000..0db4f06
--- /dev/null
+++ b/src/views/employee/index.vue
@@ -0,0 +1,216 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+
+
+ 新增
+
+
+
+
+
+
+
+
+
+
+
+
+ 元禾员工参与
+ 干部培训
+ {{ scope.row.type }}
+
+
+
+
+
+
+ {{ getCourseTypeName(scope.row.course_type_id) }}
+
+
+
+
+
+
+ 编辑
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/statistics/index.vue b/src/views/statistics/index.vue
index 16ad5a5..0ed6fc7 100644
--- a/src/views/statistics/index.vue
+++ b/src/views/statistics/index.vue
@@ -304,20 +304,20 @@ export default {
label: '上市公司数',
cardClass: 'student-card-1'
},
- {
- key: 'company_market_after_enrollment_total',
- icon: 'el-icon-s-marketing',
- value: '0',
- label: '入学后上市公司数',
- cardClass: 'student-card-2'
- },
- {
- key: 'company_market_year_total',
- icon: 'el-icon-s-finance',
- value: '0',
- label: '今年上市公司数',
- cardClass: 'student-card-3'
- }
+ // {
+ // key: 'company_market_after_enrollment_total',
+ // icon: 'el-icon-s-marketing',
+ // value: '0',
+ // label: '入学后上市公司数',
+ // cardClass: 'student-card-2'
+ // },
+ // {
+ // key: 'company_market_year_total',
+ // icon: 'el-icon-s-finance',
+ // value: '0',
+ // label: '今年上市公司数',
+ // cardClass: 'student-card-3'
+ // }
]
},
{
@@ -337,6 +337,13 @@ export default {
value: '0',
label: '入学后被投企业数',
cardClass: 'student-card-2'
+ },
+ {
+ key: 'company_invested_year_total',
+ icon: 'el-icon-s-flag',
+ value: '0',
+ label: '今年被投企业数',
+ cardClass: 'student-card-3'
}
]
},
diff --git a/src/views/student/schoolmateCompany.vue b/src/views/student/schoolmateCompany.vue
index 38c4fd2..97c592d 100644
--- a/src/views/student/schoolmateCompany.vue
+++ b/src/views/student/schoolmateCompany.vue
@@ -1,5 +1,20 @@
+
+
+
+
累计被投企业数
+
{{ statistics.course_signs_invested || 0 }}
+
+
+
入学后被投企业数
+
{{ statistics.company_invested_after_enrollment_total || 0 }}
+
+
+
今年被投企业数
+
{{ statistics.company_invested_year_total || 0 }}
+
+
@@ -21,18 +36,32 @@
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -41,6 +70,28 @@
+
+
+
+
+
+
+
+
查询
重置
@@ -257,6 +308,9 @@
import {
index as courseTypeIndex
} from "@/api/course/courseType.js"
+ import {
+ index as courseIndex
+ } from "@/api/course/index.js"
import formMixin from "@/mixin/formMixin.js";
export default {
mixins: [formMixin],
@@ -273,13 +327,21 @@
user_name: '',
is_schoolmate: '',
course_type_id: '',
+ start_year: '',
+ end_year: '',
page: 1,
page_size: 10
},
companiesTags:[],
courseTypeOptions: [],
+ courseOptions: [],
list: [],
total: 0,
+ statistics: {
+ course_signs_invested: 0,
+ company_invested_after_enrollment_total: 0,
+ company_invested_year_total: 0
+ },
editProjectUsersDialogVisible: false,
editProjectUsersData: [],
currentEditCompanyId: null,
@@ -342,6 +404,15 @@
this.getList()
this.getCompanyConfig()
this.getCourseTypeList()
+ this.getCourseList()
+ },
+ watch: {
+ 'select.course_type_id'(newVal) {
+ // 当课程体系改变时,重新获取课程列表
+ this.getCourseList()
+ // 清空课程名称选择
+ this.select.course_name = ''
+ }
},
updated() {
// 在数据更新后,统一设置学员信息列的高度
@@ -370,6 +441,8 @@
user_name: this.select.user_name,
is_schoolmate: this.select.is_schoolmate !== '' ? this.select.is_schoolmate : '',
course_type_id: this.select.course_type_id,
+ start_year: this.select.start_year,
+ end_year: this.select.end_year,
filter: [{
key: 'company_name',
op: 'like',
@@ -403,6 +476,24 @@
console.error('获取课程体系列表失败:', error)
}
},
+ async getCourseList() {
+ try {
+ const res = await courseIndex({
+ page: 1,
+ page_size: 999,
+ filter: [{
+ key: 'type',
+ op: 'eq',
+ value: this.select.course_type_id || ''
+ }]
+ })
+ if (res && res.data) {
+ this.courseOptions = res.data
+ }
+ } catch (error) {
+ console.error('获取课程列表失败:', error)
+ }
+ },
toQicc(company_name) {
var url = 'https://www.qcc.com/web/search?key='
if(company_name){
@@ -436,6 +527,8 @@
this.select.user_name = ''
this.select.is_schoolmate = ''
this.select.course_type_id = ''
+ this.select.start_year = ''
+ this.select.end_year = ''
this.select.page = 1
this.getList()
},
@@ -447,6 +540,8 @@
user_name: this.select.user_name,
is_schoolmate: this.select.is_schoolmate !== '' ? this.select.is_schoolmate : '',
course_type_id: this.select.course_type_id,
+ start_year: this.select.start_year,
+ end_year: this.select.end_year,
filter: [{
key: 'company_name',
op: 'like',
@@ -464,6 +559,14 @@
this.list = res.data
this.total = res.total
+ // 保存统计数据
+ if (res.statistics) {
+ this.statistics = {
+ course_signs_invested: res.statistics.course_signs_invested || 0,
+ company_invested_after_enrollment_total: res.statistics.company_invested_after_enrollment_total || 0,
+ company_invested_year_total: res.statistics.company_invested_year_total || 0
+ }
+ }
// 数据加载后,对齐学员信息列的高度
this.$nextTick(() => {
this.alignUserItemHeights()