style(api): 统一代码格式化规范
- 调整 import 语句格式,统一空格和引号风格 - 修复函数参数跨行时的格式对齐问题 - 清理多余空行和注释中的空白字符 - 统一对象属性结尾逗号的使用规范 - 规范化字符串拼接和模板语法的格式 - 优化长参数列表的换行和缩进格式
This commit is contained in:
@@ -5,7 +5,9 @@ import type { CreditJudgmentDebtor, CreditJudgmentDebtorParam } from './model';
|
||||
/**
|
||||
* 分页查询被执行人
|
||||
*/
|
||||
export async function pageCreditJudgmentDebtor(params: CreditJudgmentDebtorParam) {
|
||||
export async function pageCreditJudgmentDebtor(
|
||||
params: CreditJudgmentDebtorParam
|
||||
) {
|
||||
const res = await request.get<ApiResult<PageResult<CreditJudgmentDebtor>>>(
|
||||
'/credit/credit-judgment-debtor/page',
|
||||
{
|
||||
@@ -21,7 +23,9 @@ export async function pageCreditJudgmentDebtor(params: CreditJudgmentDebtorParam
|
||||
/**
|
||||
* 查询被执行人列表
|
||||
*/
|
||||
export async function listCreditJudgmentDebtor(params?: CreditJudgmentDebtorParam) {
|
||||
export async function listCreditJudgmentDebtor(
|
||||
params?: CreditJudgmentDebtorParam
|
||||
) {
|
||||
const res = await request.get<ApiResult<CreditJudgmentDebtor[]>>(
|
||||
'/credit/credit-judgment-debtor',
|
||||
{
|
||||
@@ -78,7 +82,9 @@ export async function removeCreditJudgmentDebtor(id?: number) {
|
||||
/**
|
||||
* 批量删除被执行人
|
||||
*/
|
||||
export async function removeBatchCreditJudgmentDebtor(data: (number | undefined)[]) {
|
||||
export async function removeBatchCreditJudgmentDebtor(
|
||||
data: (number | undefined)[]
|
||||
) {
|
||||
const res = await request.delete<ApiResult<unknown>>(
|
||||
'/credit/credit-judgment-debtor/batch',
|
||||
{
|
||||
@@ -107,7 +113,10 @@ export async function getCreditJudgmentDebtor(id: number) {
|
||||
/**
|
||||
* 导入被执行人
|
||||
*/
|
||||
export async function importCreditJudgmentDebtor(file: File, companyId?: number) {
|
||||
export async function importCreditJudgmentDebtor(
|
||||
file: File,
|
||||
companyId?: number
|
||||
) {
|
||||
const formData = new FormData();
|
||||
formData.append('file', file);
|
||||
if (companyId != null) {
|
||||
|
||||
@@ -42,7 +42,6 @@ export interface CreditJudgmentDebtor {
|
||||
updateTime?: string;
|
||||
// 历史ID
|
||||
historyId?: number;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user