diff --git a/src/api/company/staff/index.js b/src/api/company/staff/index.js index 676eb07..f314649 100644 --- a/src/api/company/staff/index.js +++ b/src/api/company/staff/index.js @@ -59,3 +59,11 @@ export function getLabels(){ method: 'get', }) } + +// 获取当前登录用户部门下的员工信息 +export function getStaffList(){ + return request({ + url: '/company/staff/list', + method: 'get' + }) +} diff --git a/src/api/company/staffChange/index.js b/src/api/company/staffChange/index.js new file mode 100644 index 0000000..6a3cef5 --- /dev/null +++ b/src/api/company/staffChange/index.js @@ -0,0 +1,18 @@ +import request from '@/utils/request' + +// 创建企业管理-员工交接信息 +export function createStaffChange(data) { + return request({ + url: '/company/staffChange/create', + method: 'post', + data: data + }) +} + +// 获取企业管理-员工交接信息及交接双方信息 +export function getChangeStaff(id) { + return request({ + url: '/company/staffChange/changeItem?id=' + id, + method: 'get', + }) +} diff --git a/src/views/company/staff/form/StaffChangeForm.vue b/src/views/company/staff/form/StaffChangeForm.vue new file mode 100644 index 0000000..c8b5a2d --- /dev/null +++ b/src/views/company/staff/form/StaffChangeForm.vue @@ -0,0 +1,126 @@ + + + diff --git a/src/views/company/staff/form/StaffChangeFormData.vue b/src/views/company/staff/form/StaffChangeFormData.vue new file mode 100644 index 0000000..4eee423 --- /dev/null +++ b/src/views/company/staff/form/StaffChangeFormData.vue @@ -0,0 +1,224 @@ + + + + + diff --git a/src/views/company/staff/StaffForm.vue b/src/views/company/staff/form/StaffForm.vue similarity index 92% rename from src/views/company/staff/StaffForm.vue rename to src/views/company/staff/form/StaffForm.vue index 674d122..471071c 100644 --- a/src/views/company/staff/StaffForm.vue +++ b/src/views/company/staff/form/StaffForm.vue @@ -86,20 +86,24 @@ - + + :value="item.labelName"> - - + +