diff --git a/locales/en.yaml b/locales/en.yaml index f0dd947..c4ba215 100644 --- a/locales/en.yaml +++ b/locales/en.yaml @@ -39,6 +39,8 @@ buttons:Linked: Linked buttons:More: More buttons:Deselect: Deselect buttons:DeleteInBatches: Delete In Batches +buttons:ExportInBatches: Export In Batches +buttons:ExportAll: Export All buttons:UploadAvatar: Upload Avatar buttons:ResetPassword: Reset Password buttons:RoleAllocation: Role Allocation diff --git a/locales/zh-CN.yaml b/locales/zh-CN.yaml index ad5fb20..a6d3748 100644 --- a/locales/zh-CN.yaml +++ b/locales/zh-CN.yaml @@ -39,6 +39,8 @@ buttons:Linked: 联动 buttons:More: 更多 buttons:Deselect: 取消选择 buttons:DeleteInBatches: 批量删除 +buttons:ExportInBatches: 批量导出 +buttons:ExportAll: 全部导出 buttons:UploadAvatar: 上传头像 buttons:ResetPassword: 重置密码 buttons:RoleAllocation: 角色分配 diff --git a/src/api/code.ts b/src/api/code.ts index 6540882..e984e32 100644 --- a/src/api/code.ts +++ b/src/api/code.ts @@ -128,3 +128,17 @@ export const getCodeLogListAPI = (params: { export const getCodeLogInfoAPI = (id: string) => { return http.request("get", `/api/code/logInfo/${id}`); }; + +/**获取所有查询编码列表 */ +export const getCodeLogListAllAPI = (params: { + startTime?: string; + endTime?: string; +}) => { + return http.request>( + "get", + `/api/code/logList/all`, + { + params: filterEmptyObject(params) + } + ); +}; diff --git a/src/views/codes/index/index.vue b/src/views/codes/index/index.vue index 2748a4b..ad1bede 100644 --- a/src/views/codes/index/index.vue +++ b/src/views/codes/index/index.vue @@ -32,7 +32,7 @@ {{ showUploadArea ? t("buttons:Hide") : t("buttons:Import") }} @@ -45,6 +45,7 @@ ref="uploadRef" v-model:file-list="fileList" drag + :limit="1" action="#" class="w-full" :auto-upload="false" @@ -98,8 +99,12 @@