From e250159a9e6441c0474d5599d4197f4f9d847839 Mon Sep 17 00:00:00 2001
From: yubo <autumnal_wind@yeah.net>
Date: 星期一, 06 四月 2026 22:53:05 +0800
Subject: [PATCH] feat(user): 添加员工档案详情弹窗视图及信息展示功能
---
src/views/user/Informationinput.vue | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/views/user/Informationinput.vue b/src/views/user/Informationinput.vue
index 1d3cffd..b7319f1 100644
--- a/src/views/user/Informationinput.vue
+++ b/src/views/user/Informationinput.vue
@@ -2648,9 +2648,11 @@
import Pagination from '@/components/Pagination'
import { pages } from '@/settings'
import { getToken } from '@/utils/auth'
+import dictMixin from '../../utils/dictMixin'
export default {
components: { Treeselect, Pagination },
+ mixins: [dictMixin],
data() {
return {
downloadEmpExcel: pages.downloadEmpExcel,
@@ -3533,7 +3535,7 @@
computed: {
// 字典选项计算属性
statusOptions() { return this.getDictOptions('PLITICAL') },
- empTypeOptions() { return this.getDictOptions('empType') },
+ empTypeOptions() { return this.getDictOptions('EMPTYPE') },
nationOptions() { return this.getDictOptions('NATION') },
marriageOptions() { return this.getDictOptions('MARRIAGE') },
educationOptions() { return this.getDictOptions('EDUCATION') },
@@ -3560,7 +3562,7 @@
mounted() {
this.permissions = JSON.parse(localStorage.getItem('PERMISSIONS'))
// 字典数据已在登录时预加载,直接从 Vuex 获取
- this.initDictTypes(['PLITICAL', 'sex', 'empType', 'NATION', 'MARRIAGE', 'EDUCATION', 'NATIVEPLACE', 'archivesStatus', 'INSURANCETYPE', 'empCardStatus', 'handbookStatus', 'certificateList', 'PHYSICALEXAMTYPE', 'ECG', 'CONTRACTSTATUS', 'LEAVETYPE', 'applayStatus', 'reportStatus', 'hospitalizatioFlag', 'settleStatus', 'ZCTYPE', 'changeType', 'LZTYPE'])
+ this.initDictTypes(['PLITICAL', 'sex', 'EMPTYPE', 'NATION', 'MARRIAGE', 'EDUCATION', 'NATIVEPLACE', 'archivesStatus', 'INSURANCETYPE', 'empCardStatus', 'handbookStatus', 'certificateList', 'PHYSICALEXAMTYPE', 'ECG', 'CONTRACTSTATUS', 'LEAVETYPE', 'applayStatus', 'reportStatus', 'hospitalizatioFlag', 'settleStatus', 'ZCTYPE', 'changeType', 'LZTYPE'])
this.initDept()
this.thisShowIndex = 1
this.isShow(false, 0)
--
Gitblit v1.8.0