diff --git a/auto-imports.d.ts b/auto-imports.d.ts index 08908ed..1d957a1 100644 --- a/auto-imports.d.ts +++ b/auto-imports.d.ts @@ -1,5 +1,5 @@ // Generated by 'unplugin-auto-import' export {} declare global { - + const layer: typeof import('@layui/layer-vue')['layer'] } diff --git a/src/api/module/home.ts b/src/api/module/home.ts index 288408d..9723da9 100644 --- a/src/api/module/home.ts +++ b/src/api/module/home.ts @@ -374,6 +374,24 @@ export function getPoliticsEdit(data: any) { return Http.post('/api/backend/Politics/update', data) } +// 个人档案详情 +export function getPersonalProfile(data: any) { + return Http.post('/api/backend/user/personalProfile', data) +} + +// 左侧科室列表 +export function personalProfileList(data: any) { + return Http.post('/api/backend/Personal_profile/index', data) +} +// 右侧人员列表 +export function personalProfileFind(data: any) { + return Http.post('/api/backend/Personal_profile/find', data) +} + + + + + diff --git a/src/router/module/base-routes.ts b/src/router/module/base-routes.ts index 35cd06f..379d66b 100644 --- a/src/router/module/base-routes.ts +++ b/src/router/module/base-routes.ts @@ -55,6 +55,11 @@ export default [ name: 'systemNotice', component: () => import('../../views/system/notice.vue'), meta: { title: '通知公告', requireAuth: true, closable: true }, + }, { + path: '/system/message', + name: 'systemMessage', + component: () => import('../../views/system/message.vue'), + meta: { title: '站内信', requireAuth: true, closable: true }, }, { path: '/system/permission', name: 'systemPermission', @@ -204,6 +209,26 @@ export default [ name: 'yearEvaluationExamine', component: () => import('../../views/year_evaluation/examine.vue'), meta: { title: '年度考评管理',closable: true }, + }, { + path: '/year_evaluation/department', + name: 'yearEvaluationDepartment', + component: () => import('../../views/year_evaluation/department.vue'), + meta: { title: '年末科室考评管理',closable: true }, + }, { + path: '/year_evaluation/branch', + name: 'yearEvaluationBranch', + component: () => import('../../views/year_evaluation/branch.vue'), + meta: { title: '年末支部考评管理',closable: true }, + }, { + path: '/year_evaluation/overall', + name: 'yearEvaluationOverall', + component: () => import('../../views/year_evaluation/overall.vue'), + meta: { title: '年末总党支考评管理',closable: true }, + }, { + path: '/year_evaluation/hospital', + name: 'yearEvaluationHospital', + component: () => import('../../views/year_evaluation/hospital.vue'), + meta: { title: '年末医院考评管理',closable: true }, } ] }, { @@ -213,10 +238,10 @@ export default [ meta: { title: '医德医风档案' }, children: [ { - path: '/file_bag/index', + path: '/file_bag/index/:id*', name: 'fileBagIndex', component: () => import('../../views/file_bag/index.vue'), - meta: { title: '我的档案', requireAuth: true, closable: true }, + meta: { title: '我的档案',closable: true }, }, { path: '/file_bag/examine', name: 'fileBagExamine', @@ -224,6 +249,29 @@ export default [ meta: { title: '员工档案', requireAuth: true, closable: true }, } ] + },{ + path: '/year_evaluation_summary', + redirect: '/year_evaluation_summary/index', + component: BasicLayout, + meta: { title: '年度考评汇总' }, + children: [ + { + path: '/year_evaluation_summary/index', + name: 'yearEvaluationSummaryIndex', + component: () => import('../../views/year_evaluation_summary/index.vue'), + meta: { title: '自动公示',closable: true }, + }, { + path: '/year_evaluation_summary/examine', + name: 'yearEvaluationSummaryExamine', + component: () => import('../../views/year_evaluation_summary/examine.vue'), + meta: { title: '考评汇总', requireAuth: true, closable: true }, + }, { + path: '/year_evaluation_summary/statistics', + name: 'yearEvaluationSummaryStatistics', + component: () => import('../../views/year_evaluation_summary/statistics.vue'), + meta: { title: '统计分析', requireAuth: true, closable: true }, + } + ] }, { path: '/census', redirect: '/census/index', @@ -295,6 +343,24 @@ export default [ meta: { title: '医德征求意见管理', requireAuth: true, closable: true }, } ] + }, { + path: '/education', + redirect: '/education/index', + component: BasicLayout, + meta: { title: '党风廉政教育' }, + children: [ + { + path: '/education/index', + name: 'educationIndex', + component: () => import('../../views/education/index.vue'), + meta: { title: '内容发布',closable: true }, + }, { + path: '/education/question', + name: 'educationQuestion', + component: () => import('../../views/education/question.vue'), + meta: { title: '问卷发布', requireAuth: true, closable: true }, + } + ] }, { path: '/error', component: BasicLayout, diff --git a/src/views/day_evaluation/examine.vue b/src/views/day_evaluation/examine.vue index c04a0a8..0197c46 100644 --- a/src/views/day_evaluation/examine.vue +++ b/src/views/day_evaluation/examine.vue @@ -129,7 +129,7 @@ + + \ No newline at end of file diff --git a/src/views/education/question.vue b/src/views/education/question.vue new file mode 100644 index 0000000..710a283 --- /dev/null +++ b/src/views/education/question.vue @@ -0,0 +1,7 @@ + + + diff --git a/src/views/file_bag/examine.vue b/src/views/file_bag/examine.vue index a9e29b6..2b8f76c 100644 --- a/src/views/file_bag/examine.vue +++ b/src/views/file_bag/examine.vue @@ -65,7 +65,7 @@ 员工档案 - + - -
-
-
- -
-

基本信息

-
- -
-
-
- 姓名: - {{ userInfo.nickname || '暂无' }} -
-
- 工号: - {{ userInfo.code || '暂无'}} -
-
- 性别: - {{ userInfo.gender == 1 ? '男' : userInfo.gender == 2 ? '女' : '未知' }} -
-
- 手机号: - {{ userInfo.mobile || '暂无' }} -
-
- 邮箱: - {{ userInfo.email || '暂无' }} -
-
- 生日: - {{ userInfo.birthday || '暂无' }} -
-
-
-
-
- - -
-

工作信息

-
-
- 科室: - {{ userInfo.user_group_name || '暂无' }} -
-
- 党支部: - {{ userInfo.party_name || '暂无' }} -
-
- 行政职务 - {{ userInfo.administrative_position || '暂无' }} -
-
- 岗位名称: - {{ userInfo.position || '暂无' }} -
-
- 业务性质: - {{ userInfo.business_nature || '暂无' }} -
-
-
- - -
-

证件信息

-
-
- 身份证号码: - {{ userInfo.member_code || '暂无' }} -
-
- 资格证编码: - {{ userInfo.certificate_code || '暂无' }} -
-
- 执业证编码: - {{ userInfo.license_code || '暂无' }} -
-
- 执业证图片: - - {{ userInfo.license_image || '暂无' }} - -
-
-
-
-
-
-
diff --git a/src/views/file_bag/index.vue b/src/views/file_bag/index.vue index ab4f5ab..542ad92 100644 --- a/src/views/file_bag/index.vue +++ b/src/views/file_bag/index.vue @@ -4,10 +4,9 @@ -
+

基本信息

@@ -19,19 +18,19 @@
姓名: - {{ userInfo.nickname || '暂无' }} + {{ userInfo.nickname }}
工号: - {{ userInfo.work_number || userInfo.code || '暂无' }} + {{ userInfo.code }}
性别: - {{ genderText }} + {{ userInfo.gender == 1 ? '男' : '女' }}
手机号: - {{ userInfo.mobile || '暂无' }} + {{ userInfo.mobile }}
邮箱: @@ -54,18 +53,10 @@ 科室: {{ groupName || '暂无' }}
-
- 科室级别: - {{ userInfo.group_level || '暂无' }} -
党支部: {{ partyName || '暂无' }}
-
- 党支部级别: - {{ userInfo.party_level || '暂无' }} -
岗位名称: {{ userInfo.position || '暂无' }} @@ -78,10 +69,6 @@ 业务性质: {{ userInfo.business_nature || '暂无' }}
-
- 角色: - {{ roleName || '暂无' }} -
@@ -101,39 +88,144 @@ 执业证编码: {{ userInfo.license_code || '暂无' }}
-
- - - -
-

系统信息

-
- 账户名: - {{ userInfo.username || '暂无' }} -
-
- 状态: + 执业证图片: - - {{ userInfo.status === 'normal' ? '正常' : '禁用' }} - + + + + 暂无
-
- 创建时间: - {{ formatDate(userInfo.createtime) }} +
+
+
+

年度考评汇总

+
+ + + + + + + + + + + 查询 + + + + + +
+
+ + + + + + + +
+
+
+

加分/扣分情况

+
+ + + + + + + + + + + 查询 + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + +
加分考评项目原因时间
-
- 更新时间: - {{ formatDate(userInfo.updatetime) }} +
+ + + + + + + + + + + + + + + + + + +
加分考评项目原因时间
- +
@@ -141,11 +233,14 @@ - \ No newline at end of file diff --git a/src/views/system/index.vue b/src/views/system/index.vue index 21cb140..a851cd6 100644 --- a/src/views/system/index.vue +++ b/src/views/system/index.vue @@ -85,6 +85,17 @@
+ + + + + @@ -198,7 +209,20 @@ const cutOptions = { aspectRatio: 1, } } +const file2 = ref([]); +const getCutDone2 = (res) => { + console.log("getCutDone", res); + cutUrl.value = res.msg; +}; +const getFileDone2 = (res) => { + var date = JSON.parse(res.data); + console.log("getFileDone", date); + model11.avatar = date.data.fullurl; + //uploadRef.value.submit() +}; + const file1 = ref([]); + const getCutDone = (res) => { console.log("getCutDone", res); cutUrl.value = res.msg; diff --git a/src/views/system/message.vue b/src/views/system/message.vue new file mode 100644 index 0000000..f20b671 --- /dev/null +++ b/src/views/system/message.vue @@ -0,0 +1,87 @@ + + + + \ No newline at end of file diff --git a/src/views/year_evaluation/branch.vue b/src/views/year_evaluation/branch.vue new file mode 100644 index 0000000..4147675 --- /dev/null +++ b/src/views/year_evaluation/branch.vue @@ -0,0 +1,856 @@ + + + + + \ No newline at end of file diff --git a/src/views/year_evaluation/department.vue b/src/views/year_evaluation/department.vue new file mode 100644 index 0000000..8dc0370 --- /dev/null +++ b/src/views/year_evaluation/department.vue @@ -0,0 +1,856 @@ + + + + + \ No newline at end of file diff --git a/src/views/year_evaluation/hospital.vue b/src/views/year_evaluation/hospital.vue new file mode 100644 index 0000000..b52c3fc --- /dev/null +++ b/src/views/year_evaluation/hospital.vue @@ -0,0 +1,854 @@ + + + + + \ No newline at end of file diff --git a/src/views/year_evaluation/overall.vue b/src/views/year_evaluation/overall.vue new file mode 100644 index 0000000..6f79969 --- /dev/null +++ b/src/views/year_evaluation/overall.vue @@ -0,0 +1,856 @@ + + + + + \ No newline at end of file diff --git a/src/views/year_evaluation_summary/examine.vue b/src/views/year_evaluation_summary/examine.vue new file mode 100644 index 0000000..fb314ee --- /dev/null +++ b/src/views/year_evaluation_summary/examine.vue @@ -0,0 +1,7 @@ + + + diff --git a/src/views/year_evaluation_summary/index.vue b/src/views/year_evaluation_summary/index.vue new file mode 100644 index 0000000..9ea75a5 --- /dev/null +++ b/src/views/year_evaluation_summary/index.vue @@ -0,0 +1,7 @@ + + + diff --git a/src/views/year_evaluation_summary/statistics.vue b/src/views/year_evaluation_summary/statistics.vue new file mode 100644 index 0000000..9ac4a33 --- /dev/null +++ b/src/views/year_evaluation_summary/statistics.vue @@ -0,0 +1,7 @@ + + +