diff --git a/fuintAdmin/src/api/staff/staff.js b/fuintAdmin/src/api/staff/staff.js new file mode 100644 index 000000000..7099b82dd --- /dev/null +++ b/fuintAdmin/src/api/staff/staff.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询员工列表 +export function listStaff(query) { + return request({ + url: '/business/member/staff/list', + method: 'get', + params: query + }) +} + +// 查询字典类型详细 +export function getStaff(id) { + return request({ + url: '/business/member/staff' + id, + method: 'get' + }) +} + +// 新增字典类型 +export function addStaff(data) { + return request({ + url: '/business/member/staff', + method: 'post', + data: data + }) +} + +// 修改字典类型 +export function updateStaff(data) { + return request({ + url: '/business/member/staff', + method: 'put', + data: data + }) +} + +// 删除字典类型 +export function delStaff(id) { + return request({ + url: '/business/member/staff' + id, + method: 'delete' + }) +} diff --git a/fuintAdmin/src/views/staff/list.vue b/fuintAdmin/src/views/staff/list.vue index 13504ce15..c5a098f8e 100644 --- a/fuintAdmin/src/views/staff/list.vue +++ b/fuintAdmin/src/views/staff/list.vue @@ -1,131 +1,135 @@