| | |
| | | /* |
| | | * @Date: 2024-04-07 21:49:32 |
| | | * @LastEditors: Sneed |
| | | * @LastEditTime: 2024-04-09 22:29:57 |
| | | * @LastEditTime: 2024-04-10 19:45:58 |
| | | * @FilePath: /belleson-frontend/Users/mache/Documents/demo/cps-web/src/api/model/setting.js |
| | | */ |
| | | import config from "@/config" |
| | |
| | | export default { |
| | | getList: { |
| | | url: `${config.API_URL}/blade-visual/visual-comp-type/list`, |
| | | name: "获取休息日列表", |
| | | name: "分类维护列表", |
| | | get: async function(){ |
| | | return await http.get(this.url); |
| | | } |
| | | }, |
| | | insert: { |
| | | url: `${config.API_URL}/blade-visual/visual-comp-type/insert`, |
| | | name: "分类维护新增", |
| | | post: async function(data){ |
| | | return await http.post(this.url,data); |
| | | } |
| | | }, |
| | | update: { |
| | | url: `${config.API_URL}/blade-visual/visual-comp-type/update`, |
| | | name: "分类维护编辑", |
| | | post: async function(data){ |
| | | return await http.put(this.url,data); |
| | | } |
| | | }, |
| | | del: { |
| | | url: `${config.API_URL}/blade-visual/visual-comp-type/remove`, |
| | | name: "分类维护新增", |
| | | delete: async function(data,conf){ |
| | | return await http.delete(this.url,data,conf); |
| | | } |
| | | }, |
| | | |
| | | } |