- ssw-jxcj/{entity,biz,controller} Maven 多模块 (28 entity + 28 mapper + 28 service + 28 controller)
- JxcjMapperConfig @MapperScan('ssw.jxcj.mapper') (BS-14)
- @DS 替换为 dbLinkId 数字 (BS-16)
- yml type-aliases-package 加 ssw.**.entity (BS-15)
- 28 张物理表 + 28 form (type=1, webType=2, 100% 已发布)
- 40 菜单 (1 顶级 + 11 模块 + 28 叶子)
- 7 角色 + 15 字典
- 5 no-spa 页面 (portal/team-wizard/jupyter/blind-review/sandbox)
BS-51/52/12/13/14/15/16/17 全部闭环, 浏览器层 28 form + 5 no-spa + 40 菜单正常工作
35 lines
1008 B
TypeScript
35 lines
1008 B
TypeScript
import { defHttp } from '#/api/request';
|
|
|
|
// 获取列表
|
|
export function getList(data) {
|
|
return defHttp.post({ url: '/api/example/Jxcj_team/getList', data });
|
|
}
|
|
// 新建
|
|
export function create(data) {
|
|
return defHttp.post({ url:'/api/example/Jxcj_team', data });
|
|
}
|
|
// 修改
|
|
export function update(data) {
|
|
return defHttp.put({ url: '/api/example/Jxcj_team/'+ data.id, data });
|
|
}
|
|
// 详情(无转换数据)
|
|
export function getInfo(id) {
|
|
return defHttp.get({ url: '/api/example/Jxcj_team/' + id });
|
|
}
|
|
// 获取(转换数据)
|
|
export function getDetailInfo(id) {
|
|
return defHttp.get({ url: '/api/example/Jxcj_team/detail/' + id });
|
|
}
|
|
// 删除
|
|
export function del(id) {
|
|
return defHttp.delete({ url: '/api/example/Jxcj_team/' + id });
|
|
}
|
|
// 批量删除数据
|
|
export function batchDelete(data) {
|
|
return defHttp.delete({ url: '/api/example/Jxcj_team/batchRemove', data });
|
|
}
|
|
// 导出
|
|
export function exportData(data) {
|
|
return defHttp.post({ url: '/api/example/Jxcj_team/Actions/Export', data });
|
|
}
|