生成港口 品种等前端代码
This commit is contained in:
139
src/api/mdm/Category/index.ts
Normal file
139
src/api/mdm/Category/index.ts
Normal file
@ -0,0 +1,139 @@
|
||||
import { LngBCategoryPageModel, LngBCategoryPageParams, LngBCategoryPageResult } from './model/CategoryModel';
|
||||
import { defHttp } from '/@/utils/http/axios';
|
||||
import { ErrorMessageMode } from '/#/axios';
|
||||
|
||||
enum Api {
|
||||
Page = '/mdm/category/page',
|
||||
List = '/mdm/category/list',
|
||||
Info = '/mdm/category/info',
|
||||
LngBCategory = '/mdm/category',
|
||||
|
||||
|
||||
|
||||
Enable = '/mdm/category/enable',
|
||||
Disable= '/mdm/category/disable',
|
||||
|
||||
DataLog = '/mdm/category/datalog',
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 查询LngBCategory分页列表
|
||||
*/
|
||||
export async function getLngBCategoryPage(params: LngBCategoryPageParams, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.get<LngBCategoryPageResult>(
|
||||
{
|
||||
url: Api.Page,
|
||||
params,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 获取LngBCategory信息
|
||||
*/
|
||||
export async function getLngBCategory(id: String, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.get<LngBCategoryPageModel>(
|
||||
{
|
||||
url: Api.Info,
|
||||
params: { id },
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 新增LngBCategory
|
||||
*/
|
||||
export async function addLngBCategory(lngBCategory: Recordable, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.post<boolean>(
|
||||
{
|
||||
url: Api.LngBCategory,
|
||||
params: lngBCategory,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 更新LngBCategory
|
||||
*/
|
||||
export async function updateLngBCategory(lngBCategory: Recordable, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.put<boolean>(
|
||||
{
|
||||
url: Api.LngBCategory,
|
||||
params: lngBCategory,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 删除LngBCategory(批量删除)
|
||||
*/
|
||||
export async function deleteLngBCategory(ids: string[], mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.delete<boolean>(
|
||||
{
|
||||
url: Api.LngBCategory,
|
||||
data: ids,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @description: 启用数据LngBCategory
|
||||
*/
|
||||
export async function enableLngBCategory(ids: string[], mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.post<boolean>(
|
||||
{
|
||||
url: Api.Enable,
|
||||
data: ids,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
/**
|
||||
* @description: 作废数据LngBCategory
|
||||
*/
|
||||
export async function disableLngBCategory(ids: string[], mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.post<boolean>(
|
||||
{
|
||||
url: Api.Disable,
|
||||
data: ids,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @description: 获取数据日志LngBCategory
|
||||
*/
|
||||
export async function getDataLogLngBCategory(id: string, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.post<boolean>(
|
||||
{
|
||||
url: Api.Datalog,
|
||||
data: id,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
48
src/api/mdm/Category/model/CategoryModel.ts
Normal file
48
src/api/mdm/Category/model/CategoryModel.ts
Normal file
@ -0,0 +1,48 @@
|
||||
import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel';
|
||||
|
||||
/**
|
||||
* @description: LngBCategory分页参数 模型
|
||||
*/
|
||||
export interface LngBCategoryPageParams extends BasicPageParams {
|
||||
fullName: string;
|
||||
|
||||
valid: string;
|
||||
|
||||
code: string;
|
||||
|
||||
unitCode: string;
|
||||
|
||||
coefficient: string;
|
||||
|
||||
sort: string;
|
||||
|
||||
note: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: LngBCategory分页返回值模型
|
||||
*/
|
||||
export interface LngBCategoryPageModel {
|
||||
id: string;
|
||||
|
||||
code: string;
|
||||
|
||||
fullName: string;
|
||||
|
||||
unitCode: string;
|
||||
|
||||
coefficient: string;
|
||||
|
||||
sort: string;
|
||||
|
||||
valid: string;
|
||||
|
||||
note: string;
|
||||
}
|
||||
|
||||
0;
|
||||
|
||||
/**
|
||||
* @description: LngBCategory分页返回值结构
|
||||
*/
|
||||
export type LngBCategoryPageResult = BasicFetchResult<LngBCategoryPageModel>;
|
||||
139
src/api/mdm/DocCp/index.ts
Normal file
139
src/api/mdm/DocCp/index.ts
Normal file
@ -0,0 +1,139 @@
|
||||
import { LngBDocCpPageModel, LngBDocCpPageParams, LngBDocCpPageResult } from './model/DocCpModel';
|
||||
import { defHttp } from '/@/utils/http/axios';
|
||||
import { ErrorMessageMode } from '/#/axios';
|
||||
|
||||
enum Api {
|
||||
Page = '/mdm/docCp/page',
|
||||
List = '/mdm/docCp/list',
|
||||
Info = '/mdm/docCp/info',
|
||||
LngBDocCp = '/mdm/docCp',
|
||||
|
||||
|
||||
|
||||
Enable = '/mdm/docCp/enable',
|
||||
Disable= '/mdm/docCp/disable',
|
||||
|
||||
DataLog = '/mdm/docCp/datalog',
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 查询LngBDocCp分页列表
|
||||
*/
|
||||
export async function getLngBDocCpPage(params: LngBDocCpPageParams, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.get<LngBDocCpPageResult>(
|
||||
{
|
||||
url: Api.Page,
|
||||
params,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 获取LngBDocCp信息
|
||||
*/
|
||||
export async function getLngBDocCp(id: String, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.get<LngBDocCpPageModel>(
|
||||
{
|
||||
url: Api.Info,
|
||||
params: { id },
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 新增LngBDocCp
|
||||
*/
|
||||
export async function addLngBDocCp(lngBDocCp: Recordable, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.post<boolean>(
|
||||
{
|
||||
url: Api.LngBDocCp,
|
||||
params: lngBDocCp,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 更新LngBDocCp
|
||||
*/
|
||||
export async function updateLngBDocCp(lngBDocCp: Recordable, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.put<boolean>(
|
||||
{
|
||||
url: Api.LngBDocCp,
|
||||
params: lngBDocCp,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 删除LngBDocCp(批量删除)
|
||||
*/
|
||||
export async function deleteLngBDocCp(ids: string[], mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.delete<boolean>(
|
||||
{
|
||||
url: Api.LngBDocCp,
|
||||
data: ids,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @description: 启用数据LngBDocCp
|
||||
*/
|
||||
export async function enableLngBDocCp(ids: string[], mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.post<boolean>(
|
||||
{
|
||||
url: Api.Enable,
|
||||
data: ids,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
/**
|
||||
* @description: 作废数据LngBDocCp
|
||||
*/
|
||||
export async function disableLngBDocCp(ids: string[], mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.post<boolean>(
|
||||
{
|
||||
url: Api.Disable,
|
||||
data: ids,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @description: 获取数据日志LngBDocCp
|
||||
*/
|
||||
export async function getDataLogLngBDocCp(id: string, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.post<boolean>(
|
||||
{
|
||||
url: Api.Datalog,
|
||||
data: id,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
52
src/api/mdm/DocCp/model/DocCpModel.ts
Normal file
52
src/api/mdm/DocCp/model/DocCpModel.ts
Normal file
@ -0,0 +1,52 @@
|
||||
import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel';
|
||||
|
||||
/**
|
||||
* @description: LngBDocCp分页参数 模型
|
||||
*/
|
||||
export interface LngBDocCpPageParams extends BasicPageParams {
|
||||
fullName: string;
|
||||
|
||||
valid: string;
|
||||
|
||||
code: string;
|
||||
|
||||
suSign: string;
|
||||
|
||||
suNecSign: string;
|
||||
|
||||
cuSign: string;
|
||||
|
||||
cuNecSign: string;
|
||||
|
||||
note: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: LngBDocCp分页返回值模型
|
||||
*/
|
||||
export interface LngBDocCpPageModel {
|
||||
id: string;
|
||||
|
||||
code: string;
|
||||
|
||||
fullName: string;
|
||||
|
||||
suSign: string;
|
||||
|
||||
suNecSign: string;
|
||||
|
||||
cuSign: string;
|
||||
|
||||
cuNecSign: string;
|
||||
|
||||
valid: string;
|
||||
|
||||
note: string;
|
||||
}
|
||||
|
||||
0;
|
||||
|
||||
/**
|
||||
* @description: LngBDocCp分页返回值结构
|
||||
*/
|
||||
export type LngBDocCpPageResult = BasicFetchResult<LngBDocCpPageModel>;
|
||||
139
src/api/mdm/LNGStation/index.ts
Normal file
139
src/api/mdm/LNGStation/index.ts
Normal file
@ -0,0 +1,139 @@
|
||||
import { LngBStationLngPageModel, LngBStationLngPageParams, LngBStationLngPageResult } from './model/LngStationModel';
|
||||
import { defHttp } from '/@/utils/http/axios';
|
||||
import { ErrorMessageMode } from '/#/axios';
|
||||
|
||||
enum Api {
|
||||
Page = '/mdm/lngStation/page',
|
||||
List = '/mdm/lngStation/list',
|
||||
Info = '/mdm/lngStation/info',
|
||||
LngBStationLng = '/mdm/lngStation',
|
||||
|
||||
|
||||
|
||||
Enable = '/mdm/lngStation/enable',
|
||||
Disable= '/mdm/lngStation/disable',
|
||||
|
||||
DataLog = '/mdm/lngStation/datalog',
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 查询LngBStationLng分页列表
|
||||
*/
|
||||
export async function getLngBStationLngPage(params: LngBStationLngPageParams, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.get<LngBStationLngPageResult>(
|
||||
{
|
||||
url: Api.Page,
|
||||
params,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 获取LngBStationLng信息
|
||||
*/
|
||||
export async function getLngBStationLng(id: String, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.get<LngBStationLngPageModel>(
|
||||
{
|
||||
url: Api.Info,
|
||||
params: { id },
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 新增LngBStationLng
|
||||
*/
|
||||
export async function addLngBStationLng(lngBStationLng: Recordable, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.post<boolean>(
|
||||
{
|
||||
url: Api.LngBStationLng,
|
||||
params: lngBStationLng,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 更新LngBStationLng
|
||||
*/
|
||||
export async function updateLngBStationLng(lngBStationLng: Recordable, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.put<boolean>(
|
||||
{
|
||||
url: Api.LngBStationLng,
|
||||
params: lngBStationLng,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 删除LngBStationLng(批量删除)
|
||||
*/
|
||||
export async function deleteLngBStationLng(ids: string[], mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.delete<boolean>(
|
||||
{
|
||||
url: Api.LngBStationLng,
|
||||
data: ids,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @description: 启用数据LngBStationLng
|
||||
*/
|
||||
export async function enableLngBStationLng(ids: string[], mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.post<boolean>(
|
||||
{
|
||||
url: Api.Enable,
|
||||
data: ids,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
/**
|
||||
* @description: 作废数据LngBStationLng
|
||||
*/
|
||||
export async function disableLngBStationLng(ids: string[], mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.post<boolean>(
|
||||
{
|
||||
url: Api.Disable,
|
||||
data: ids,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @description: 获取数据日志LngBStationLng
|
||||
*/
|
||||
export async function getDataLogLngBStationLng(id: string, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.post<boolean>(
|
||||
{
|
||||
url: Api.Datalog,
|
||||
data: id,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
125
src/api/mdm/LNGStation/model/LNGStationModel.ts
Normal file
125
src/api/mdm/LNGStation/model/LNGStationModel.ts
Normal file
@ -0,0 +1,125 @@
|
||||
import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel';
|
||||
|
||||
/**
|
||||
* @description: LngBStationLng分页参数 模型
|
||||
*/
|
||||
export interface LngBStationLngPageParams extends BasicPageParams {
|
||||
code: string;
|
||||
|
||||
fullName: string;
|
||||
|
||||
enterprise: string;
|
||||
|
||||
contact: string;
|
||||
|
||||
tel: string;
|
||||
|
||||
email: string;
|
||||
|
||||
regionCode: string;
|
||||
|
||||
addr: string;
|
||||
|
||||
addrMail: string;
|
||||
|
||||
ownSign: string;
|
||||
|
||||
onlineSign: string;
|
||||
|
||||
sort: string;
|
||||
|
||||
valid: string;
|
||||
|
||||
note: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: LngBStationLng分页返回值模型
|
||||
*/
|
||||
export interface LngBStationLngPageModel {
|
||||
id: string;
|
||||
|
||||
code: string;
|
||||
|
||||
fullName: string;
|
||||
|
||||
enterprise: string;
|
||||
|
||||
contact: string;
|
||||
|
||||
tel: string;
|
||||
|
||||
email: string;
|
||||
|
||||
valid: string;
|
||||
|
||||
regionCode: string;
|
||||
|
||||
addr: string;
|
||||
|
||||
addrMail: string;
|
||||
|
||||
ownSign: string;
|
||||
|
||||
onlineSign: string;
|
||||
|
||||
sort: string;
|
||||
|
||||
note: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: LngBStationLng表类型
|
||||
*/
|
||||
export interface LngBStationLngModel {
|
||||
id: number;
|
||||
|
||||
code: string;
|
||||
|
||||
fullName: string;
|
||||
|
||||
enterprise: string;
|
||||
|
||||
contact: string;
|
||||
|
||||
tel: string;
|
||||
|
||||
email: string;
|
||||
|
||||
regionCode: string;
|
||||
|
||||
addr: string;
|
||||
|
||||
addrMail: string;
|
||||
|
||||
ownSign: string;
|
||||
|
||||
onlineSign: string;
|
||||
|
||||
sort: number;
|
||||
|
||||
valid: string;
|
||||
|
||||
note: string;
|
||||
|
||||
createUserId: number;
|
||||
|
||||
createDate: string;
|
||||
|
||||
modifyUserId: number;
|
||||
|
||||
modifyDate: string;
|
||||
|
||||
deleteMark: number;
|
||||
|
||||
tenantId: number;
|
||||
|
||||
deptId: number;
|
||||
|
||||
ruleUserId: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: LngBStationLng分页返回值结构
|
||||
*/
|
||||
export type LngBStationLngPageResult = BasicFetchResult<LngBStationLngPageModel>;
|
||||
139
src/api/mdm/Port/index.ts
Normal file
139
src/api/mdm/Port/index.ts
Normal file
@ -0,0 +1,139 @@
|
||||
import { LngBPortPageModel, LngBPortPageParams, LngBPortPageResult } from './model/PortModel';
|
||||
import { defHttp } from '/@/utils/http/axios';
|
||||
import { ErrorMessageMode } from '/#/axios';
|
||||
|
||||
enum Api {
|
||||
Page = '/mdm/port/page',
|
||||
List = '/mdm/port/list',
|
||||
Info = '/mdm/port/info',
|
||||
LngBPort = '/mdm/port',
|
||||
|
||||
|
||||
|
||||
Enable = '/mdm/port/enable',
|
||||
Disable= '/mdm/port/disable',
|
||||
|
||||
DataLog = '/mdm/port/datalog',
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 查询LngBPort分页列表
|
||||
*/
|
||||
export async function getLngBPortPage(params: LngBPortPageParams, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.get<LngBPortPageResult>(
|
||||
{
|
||||
url: Api.Page,
|
||||
params,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 获取LngBPort信息
|
||||
*/
|
||||
export async function getLngBPort(id: String, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.get<LngBPortPageModel>(
|
||||
{
|
||||
url: Api.Info,
|
||||
params: { id },
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 新增LngBPort
|
||||
*/
|
||||
export async function addLngBPort(lngBPort: Recordable, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.post<boolean>(
|
||||
{
|
||||
url: Api.LngBPort,
|
||||
params: lngBPort,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 更新LngBPort
|
||||
*/
|
||||
export async function updateLngBPort(lngBPort: Recordable, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.put<boolean>(
|
||||
{
|
||||
url: Api.LngBPort,
|
||||
params: lngBPort,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 删除LngBPort(批量删除)
|
||||
*/
|
||||
export async function deleteLngBPort(ids: string[], mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.delete<boolean>(
|
||||
{
|
||||
url: Api.LngBPort,
|
||||
data: ids,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @description: 启用数据LngBPort
|
||||
*/
|
||||
export async function enableLngBPort(ids: string[], mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.post<boolean>(
|
||||
{
|
||||
url: Api.Enable,
|
||||
data: ids,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
/**
|
||||
* @description: 作废数据LngBPort
|
||||
*/
|
||||
export async function disableLngBPort(ids: string[], mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.post<boolean>(
|
||||
{
|
||||
url: Api.Disable,
|
||||
data: ids,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @description: 获取数据日志LngBPort
|
||||
*/
|
||||
export async function getDataLogLngBPort(id: string, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.post<boolean>(
|
||||
{
|
||||
url: Api.Datalog,
|
||||
data: id,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
76
src/api/mdm/Port/model/PortModel.ts
Normal file
76
src/api/mdm/Port/model/PortModel.ts
Normal file
@ -0,0 +1,76 @@
|
||||
import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel';
|
||||
|
||||
/**
|
||||
* @description: LngBPort分页参数 模型
|
||||
*/
|
||||
export interface LngBPortPageParams extends BasicPageParams {
|
||||
fullName: string;
|
||||
|
||||
valid: string;
|
||||
|
||||
code: string;
|
||||
|
||||
shortName: string;
|
||||
|
||||
regionCode: string;
|
||||
|
||||
capacity: string;
|
||||
|
||||
longitude: string;
|
||||
|
||||
latitude: string;
|
||||
|
||||
limit1: string;
|
||||
|
||||
limit2: string;
|
||||
|
||||
limit3: string;
|
||||
|
||||
limit4: string;
|
||||
|
||||
sort: string;
|
||||
|
||||
note: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: LngBPort分页返回值模型
|
||||
*/
|
||||
export interface LngBPortPageModel {
|
||||
id: string;
|
||||
|
||||
code: string;
|
||||
|
||||
fullName: string;
|
||||
|
||||
shortName: string;
|
||||
|
||||
regionCode: string;
|
||||
|
||||
capacity: string;
|
||||
|
||||
longitude: string;
|
||||
|
||||
latitude: string;
|
||||
|
||||
limit1: string;
|
||||
|
||||
limit2: string;
|
||||
|
||||
limit3: string;
|
||||
|
||||
limit4: string;
|
||||
|
||||
sort: string;
|
||||
|
||||
valid: string;
|
||||
|
||||
note: string;
|
||||
}
|
||||
|
||||
0;
|
||||
|
||||
/**
|
||||
* @description: LngBPort分页返回值结构
|
||||
*/
|
||||
export type LngBPortPageResult = BasicFetchResult<LngBPortPageModel>;
|
||||
Reference in New Issue
Block a user