12345678910111213141516171819202122232425262728293031323334 |
- import { creatRequest } from '../../utils/request.js';
- const requestList = {
- // 查核组员列表
- getGroupEmpList: {
- method: 'GET',
- url: 'common/groupEmpList'
- },
- // 自查督查获取人员列表
- getZichaduchaEmpList: {
- method: 'GET',
- url: 'inspector/getDepartmentEmployee'
- },
- // 自查督查计划分配/修改保存
- saveZichaduchaPlanSet: {
- method: 'POST',
- url: 'inspector/saveSelfEmployee'
- },
- // 自查督查计划 批量 分配/修改保存
- batchSaveZichaduchaPlanSet: {
- method: 'POST',
- url: 'inspector/saveBatchSelfEmployee'
- },
- batchCheckEmp: {
- method: 'POST',
- url: 'plan/newDistribution'
- }
- };
- export const commServer = (key, data) => {
- let obj = requestList[key];
- console.log({key});
- return creatRequest(obj, data);
- }
|