diff --git a/src/api/company/staff/index.js b/src/api/company/staff/index.js index e09c89c..676eb07 100644 --- a/src/api/company/staff/index.js +++ b/src/api/company/staff/index.js @@ -51,3 +51,11 @@ export function exportStaffExcel(params) { responseType: 'blob' }) } + +// 获取当前登录用户所属标签 +export function getLabels(){ + return request({ + url: '/company/staff/labels', + method: 'get', + }) +} diff --git a/src/utils/dict.js b/src/utils/dict.js index 050d7cc..625b391 100644 --- a/src/utils/dict.js +++ b/src/utils/dict.js @@ -106,6 +106,10 @@ export const DICT_TYPE = { DICT_BRAND_TYPE : 'brand_type', //标签样式 DICT_BASE_LABEL_TYPE : 'base_label_type', + + // ------- 企业管理模块 ------- + // 员工学历 + COMPANY_STAFF_EDU: 'company_staff_edu', } /** diff --git a/src/views/company/staff/StaffForm.vue b/src/views/company/staff/StaffForm.vue index ffa65c2..674d122 100644 --- a/src/views/company/staff/StaffForm.vue +++ b/src/views/company/staff/StaffForm.vue @@ -1,173 +1,256 @@ - - - \ No newline at end of file + + + diff --git a/src/views/company/staff/index.vue b/src/views/company/staff/index.vue index ed07467..de77f75 100644 --- a/src/views/company/staff/index.vue +++ b/src/views/company/staff/index.vue @@ -1,7 +1,7 @@