diff --git a/src/hooks/table.ts b/src/hooks/table.ts index 48d9f7c..8ff6209 100644 --- a/src/hooks/table.ts +++ b/src/hooks/table.ts @@ -1,5 +1,6 @@ import { CellStyle, ElMessage } from "element-plus" import other from "/@/utils/other" +import { formatDate } from "../utils/formatTime" /** * 表格组件基础配置属性 @@ -220,11 +221,11 @@ export function useTable(options?: BasicTableProps) { */ const downBlobFile = (url: string, query: any, fileName: string) => { ElMessage.info("下载中,请稍后") - return other.downBlobFile(url, query, fileName) + return other.downBlobFile(url, query, formatDate(new Date(), "YYYY年mm月dd日") + " " + fileName) } const postDownBlobFile = (url: string, data: any, fileName: string) => { - return other.postDownBlobFile(url, data, fileName) + return other.postDownBlobFile(url, data, formatDate(new Date(), "YYYY年mm月dd日") + " " + fileName) } /** diff --git a/src/views/admin/audit/index.vue b/src/views/admin/audit/index.vue index 6a61f6f..2f97d9f 100644 --- a/src/views/admin/audit/index.vue +++ b/src/views/admin/audit/index.vue @@ -14,9 +14,9 @@ - {{ $t('common.queryBtn') }} + {{ $t("common.queryBtn") }} - {{ $t('common.resetBtn') }} + {{ $t("common.resetBtn") }} @@ -32,7 +32,7 @@ v-auth="'sys_audit_del'" @click="handleDelete(selectObjs)" > - {{ $t('common.delBtn') }} + {{ $t("common.delBtn") }} @@ -77,61 +77,61 @@ diff --git a/src/views/admin/client/index.vue b/src/views/admin/client/index.vue index a5ae0e7..1768db4 100644 --- a/src/views/admin/client/index.vue +++ b/src/views/admin/client/index.vue @@ -11,23 +11,31 @@ - {{ $t('common.queryBtn') }} + {{ $t("common.queryBtn") }} - {{ $t('common.resetBtn') }} + {{ $t("common.resetBtn") }}
- {{ $t('common.addBtn') }} + {{ $t("common.addBtn") }} - {{ $t('common.refreshCacheBtn') }} + {{ $t("common.refreshCacheBtn") }} - - {{ $t('common.delBtn') }} + + {{ $t("common.delBtn") }} @@ -81,75 +89,75 @@ diff --git a/src/views/admin/dict/index.vue b/src/views/admin/dict/index.vue index 01882ca..3caa3f4 100644 --- a/src/views/admin/dict/index.vue +++ b/src/views/admin/dict/index.vue @@ -8,10 +8,10 @@
- {{ $t('common.addBtn') }} + {{ $t("common.addBtn") }} - {{ $t('common.refreshCacheBtn') }} + {{ $t("common.refreshCacheBtn") }}
@@ -42,7 +42,7 @@ {{ - $t('common.exportBtn') + $t("common.exportBtn") }}
@@ -58,70 +58,70 @@