生产bank代码
This commit is contained in:
@ -10,6 +10,8 @@ enum Api {
|
||||
|
||||
|
||||
|
||||
Enable = '/mdm/bank/enable',
|
||||
Disable= '/mdm/bank/disable',
|
||||
|
||||
DataLog = '/mdm/bank/datalog',
|
||||
}
|
||||
@ -90,6 +92,35 @@ export async function deleteLngBBank(ids: string[], mode: ErrorMessageMode = 'mo
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @description: 启用数据LngBBank
|
||||
*/
|
||||
export async function enableLngBBank(ids: string[], mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.post<boolean>(
|
||||
{
|
||||
url: Api.Enable,
|
||||
data: ids,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
/**
|
||||
* @description: 作废数据LngBBank
|
||||
*/
|
||||
export async function disableLngBBank(ids: string[], mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.post<boolean>(
|
||||
{
|
||||
url: Api.Disable,
|
||||
data: ids,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@ -40,7 +40,52 @@ export interface LngBBankPageModel {
|
||||
valid: string;
|
||||
}
|
||||
|
||||
0;
|
||||
/**
|
||||
* @description: LngBBank表类型
|
||||
*/
|
||||
export interface LngBBankModel {
|
||||
id: number;
|
||||
|
||||
code: string;
|
||||
|
||||
fullName: string;
|
||||
|
||||
shortName: string;
|
||||
|
||||
bankCode: string;
|
||||
|
||||
regionCode: string;
|
||||
|
||||
swift: string;
|
||||
|
||||
ib: string;
|
||||
|
||||
ibSwift: string;
|
||||
|
||||
routing: string;
|
||||
|
||||
sort: number;
|
||||
|
||||
valid: string;
|
||||
|
||||
note: string;
|
||||
|
||||
createUserId: number;
|
||||
|
||||
createDate: string;
|
||||
|
||||
modifyUserId: number;
|
||||
|
||||
modifyDate: string;
|
||||
|
||||
deleteMark: number;
|
||||
|
||||
tenantId: number;
|
||||
|
||||
deptId: number;
|
||||
|
||||
ruleUserId: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: LngBBank分页返回值结构
|
||||
|
||||
@ -10,6 +10,8 @@ enum Api {
|
||||
|
||||
|
||||
|
||||
Enable = '/mdm/countryRegion/enable',
|
||||
Disable= '/mdm/countryRegion/disable',
|
||||
|
||||
DataLog = '/mdm/countryRegion/datalog',
|
||||
}
|
||||
@ -90,6 +92,35 @@ export async function deleteLngBRegion(ids: string[], mode: ErrorMessageMode = '
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @description: 启用数据LngBRegion
|
||||
*/
|
||||
export async function enableLngBRegion(ids: string[], mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.post<boolean>(
|
||||
{
|
||||
url: Api.Enable,
|
||||
data: ids,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
/**
|
||||
* @description: 作废数据LngBRegion
|
||||
*/
|
||||
export async function disableLngBRegion(ids: string[], mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.post<boolean>(
|
||||
{
|
||||
url: Api.Disable,
|
||||
data: ids,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user