1. 新增甲方客户CRUD接口、前端页面与权限控制 2. 新增发货单管理模块,包含订单状态流转 3. 修复系统菜单名称乱码问题 4. 新增项目启动脚本与数据库初始化脚本 5. 新增相关实体类、Mapper、Service实现 6. 补充项目设计文档与忽略配置
9 lines
611 B
JavaScript
9 lines
611 B
JavaScript
import request from '@/utils/request'
|
|
const baseUrl = '/bid/client'
|
|
export const listClient = (params) => request({ url: baseUrl + '/list', method: 'get', params })
|
|
export const getClient = (id) => request({ url: baseUrl + '/' + id, method: 'get' })
|
|
export const addClient = (data) => request({ url: baseUrl, method: 'post', data })
|
|
export const updateClient = (data) => request({ url: baseUrl, method: 'put', data })
|
|
export const delClient = (ids) => request({ url: baseUrl + '/' + ids, method: 'delete' })
|
|
export const getClientOrders = (id) => request({ url: baseUrl + '/' + id + '/orders', method: 'get' })
|