1234567891011121314151617181920212223242526272829 |
- import {
- creatRequest
- } from '../../utils/request.js';
- const requestList = {
- // 改善任务列表
- getMissionList: {
- method: 'GET',
- url: 'imed/pfm/improverTask/list'
- },
- // 改善任务详情
- getMissionDetails: {
- method: 'GET',
- url: 'imed/pfm/improverTask/detail'
- },
- // 查询部门人员树 (通用接口)
- getEmpDeptTree: {
- method: 'GET',
- url: 'imed/pfm/common/empDeptTree'
- }
- };
- export const commServer = ({
- key,
- data
- }) => {
- let obj = requestList[key];
- return creatRequest(obj, data);
- }
|