lzhe
2024-04-09 2f6c586a39c1480153ac092b75461175aaa87481
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
 * @Date: 2024-04-04 23:26:03
 * @LastEditors: Sneed
 * @LastEditTime: 2024-04-09 20:39:23
 * @FilePath: /belleson-frontend/Users/mache/Documents/demo/cps-web/src/api/model/calender.js
 */
import config from "@/config"
import http from "@/utils/request"
 
export default {
    getList: {
        url: `${config.API_URL}/blade-cps/calendar/page`,
        name: "获取日历列表",
        post: async function(data,params){
            return await http.post(this.url, data, {params});
        },
    },
    getShiftsystemList: {
        url: `${config.API_URL}/blade-cps/shift/page`,
        name: "获取班制列表",
        post: async function({data,params}){
            return await http.post(this.url, {},{data, params});
        },
    },
    getShiftsystemInfo: {
        url: `${config.API_URL}/blade-cps/shift/`,
        name: "获取班制信息",
        get: async function({id}){
            return await http.get(`${this.url}${id}`, {},{});
        },
    },
}