From 5b457dc47f6147edc526e96cfb86d1794dfb1442 Mon Sep 17 00:00:00 2001 From: Odboy Date: Sun, 1 Feb 2026 08:57:14 +0800 Subject: [PATCH] =?UTF-8?q?refactor(utils):=20=E5=B0=86=E5=B7=A5=E5=85=B7?= =?UTF-8?q?=E7=B1=BB=E6=96=87=E4=BB=B6=E4=BB=8ECs=E5=89=8D=E7=BC=80?= =?UTF-8?q?=E9=87=8D=E5=91=BD=E5=90=8D=E4=B8=BAKit=E5=89=8D=E7=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cutejava-front/src/api/system/user.js | 2 +- cutejava-front/src/components/Crud/crud.js | 2 +- .../src/components/Echarts/BarChart.vue | 2 +- .../src/components/Echarts/Category.vue | 2 +- .../src/components/Echarts/Funnel.vue | 2 +- .../src/components/Echarts/Gauge.vue | 2 +- .../src/components/Echarts/Graph.vue | 2 +- .../src/components/Echarts/HeatMap.vue | 2 +- .../src/components/Echarts/PieChart.vue | 2 +- .../src/components/Echarts/Point.vue | 2 +- .../src/components/Echarts/RadarChart.vue | 2 +- .../src/components/Echarts/Rich.vue | 2 +- .../src/components/Echarts/Sankey.vue | 2 +- .../src/components/Echarts/Scatter.vue | 2 +- .../src/components/Echarts/Sunburst.vue | 2 +- .../src/components/Echarts/ThemeRiver.vue | 2 +- .../src/components/RightPanel/index.vue | 2 +- .../src/components/SvgIcon/index.vue | 2 +- .../src/layout/components/Sidebar/Link.vue | 2 +- .../layout/components/Sidebar/SidebarItem.vue | 2 +- cutejava-front/src/mixins/crud.js | 2 +- .../src/utils/{CsDomUtil.js => KitDomUtil.js} | 2 +- .../src/utils/{CsRsaUtil.js => KitRsaUtil.js} | 34 +- .../src/utils/{CsUtil.js => KitUtil.js} | 774 +++++++++--------- .../{CsValidateUtil.js => KitValidateUtil.js} | 342 ++++---- .../utils/{CsWsClient.js => KitWsClient.js} | 82 +- .../elementui/{CsDialog.js => KitDialog.js} | 0 .../elementui/{CsLoading.js => KitLoading.js} | 4 +- .../elementui/{CsMessage.js => KitMessage.js} | 0 .../{CsNotification.js => KitNotification.js} | 0 cutejava-front/src/utils/request.js | 2 +- .../views/components/base/WebSocketDemo.vue | 4 +- .../business/CuteFileDragUpload.vue | 2 +- .../components/business/CuteFileUpload.vue | 2 +- .../business/CuteProductLineSelect.vue | 2 +- .../business/CuteProductLineSelectPro.vue | 2 +- .../views/components/dev/CuteCodeEditor.vue | 2 +- .../src/views/components/dev/CuteMarkdown.vue | 2 +- .../components/dev/CuteRichTextEditor.vue | 4 +- .../views/components/dev/CuteScreenShot.vue | 4 +- .../componentsDemo/CuteDragTableDemo.vue | 2 +- .../componentsDemo/CuteOneKeyCopyDemo.vue | 2 +- .../componentsDemo/CuteSimpleTableDemo.vue | 2 +- .../src/views/dashboard/mixins/resize.js | 2 +- cutejava-front/src/views/login.vue | 2 +- .../src/views/system/email/send.vue | 2 +- .../src/views/system/menu/index.vue | 2 +- .../src/views/system/storage/oss/index.vue | 2 +- .../src/views/system/user/center.vue | 2 +- .../views/system/user/center/updateEmail.vue | 2 +- .../src/views/system/user/index.vue | 2 +- 51 files changed, 664 insertions(+), 664 deletions(-) rename cutejava-front/src/utils/{CsDomUtil.js => KitDomUtil.js} (97%) rename cutejava-front/src/utils/{CsRsaUtil.js => KitRsaUtil.js} (98%) rename cutejava-front/src/utils/{CsUtil.js => KitUtil.js} (95%) rename cutejava-front/src/utils/{CsValidateUtil.js => KitValidateUtil.js} (96%) rename cutejava-front/src/utils/{CsWsClient.js => KitWsClient.js} (90%) rename cutejava-front/src/utils/elementui/{CsDialog.js => KitDialog.js} (100%) rename cutejava-front/src/utils/elementui/{CsLoading.js => KitLoading.js} (90%) rename cutejava-front/src/utils/elementui/{CsMessage.js => KitMessage.js} (100%) rename cutejava-front/src/utils/elementui/{CsNotification.js => KitNotification.js} (100%) diff --git a/cutejava-front/src/api/system/user.js b/cutejava-front/src/api/system/user.js index fa71b29e..c29c9b57 100644 --- a/cutejava-front/src/api/system/user.js +++ b/cutejava-front/src/api/system/user.js @@ -1,5 +1,5 @@ import request from '@/utils/request' -import { encrypt } from '@/utils/CsRsaUtil' +import { encrypt } from '@/utils/KitRsaUtil' /** * 默认入口:add、del、edit、get diff --git a/cutejava-front/src/components/Crud/crud.js b/cutejava-front/src/components/Crud/crud.js index 1c482dc6..d8ecff97 100644 --- a/cutejava-front/src/components/Crud/crud.js +++ b/cutejava-front/src/components/Crud/crud.js @@ -1,6 +1,6 @@ import { download, initData } from '@/api/data' import Vue from 'vue' -import { DownloadFile } from '@/utils/CsDomUtil' +import { DownloadFile } from '@/utils/KitDomUtil' /** * CRUD配置 diff --git a/cutejava-front/src/components/Echarts/BarChart.vue b/cutejava-front/src/components/Echarts/BarChart.vue index 0b4fdac6..88b8a892 100644 --- a/cutejava-front/src/components/Echarts/BarChart.vue +++ b/cutejava-front/src/components/Echarts/BarChart.vue @@ -4,7 +4,7 @@