feat(ads/compliance): add account select filter and optimize csv export
1. 新增获取广告账户列表的API接口 2. 将搜索表单的账户ID输入框改为下拉选择器 3. 优化CSV导出的表头和日期格式处理,避免Excel解析问题
This commit is contained in:
@@ -169,3 +169,17 @@ export function exportRejectedMaterials(data: ExportParams = {}, requestOptions?
|
||||
requestOptions,
|
||||
});
|
||||
}
|
||||
|
||||
export interface AccountItem {
|
||||
accountId: number;
|
||||
corporationName: string;
|
||||
}
|
||||
|
||||
export function getAccountList(requestOptions?: RequestOptions) {
|
||||
return request({
|
||||
url: '/cid/material/verify/controller/list-accounts',
|
||||
method: 'post',
|
||||
data: {},
|
||||
requestOptions,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user