From 9acf52e8a7625cbf6156991e49fc6d4a73ab05d8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90Li?=
<15040126243@163.com>
Date: Fri, 10 Apr 2026 13:07:37 +0800
Subject: [PATCH] =?UTF-8?q?update=20=E9=87=8D=E6=9E=84=20=E5=BD=BB?=
=?UTF-8?q?=E5=BA=95=E5=88=A0=E9=99=A4proxy=E7=94=A8=E6=B3=95=20=E6=94=B9?=
=?UTF-8?q?=E4=B8=BAvue3=E5=AE=98=E6=96=B9=E6=8E=A8=E8=8D=90=E5=86=99?=
=?UTF-8?q?=E6=B3=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.oxfmtrc.json | 12 ++
.oxlintrc.json | 9 +-
src/App.vue | 2 +-
src/api/demo/demo/index.ts | 6 +-
src/api/demo/tree/index.ts | 4 +-
src/api/login.ts | 8 +-
src/api/menu.ts | 4 +-
src/api/monitor/cache/index.ts | 4 +-
src/api/monitor/loginInfo/index.ts | 6 +-
src/api/monitor/online/index.ts | 6 +-
src/api/monitor/operlog/index.ts | 6 +-
src/api/system/client/index.ts | 6 +-
src/api/system/config/index.ts | 6 +-
src/api/system/dept/index.ts | 4 +-
src/api/system/dict/data/index.ts | 7 +-
src/api/system/dict/type/index.ts | 6 +-
src/api/system/menu/index.ts | 4 +-
src/api/system/menu/types.ts | 2 +-
src/api/system/message/index.ts | 4 +-
src/api/system/notice/index.ts | 6 +-
src/api/system/oss/index.ts | 6 +-
src/api/system/ossConfig/index.ts | 6 +-
src/api/system/post/index.ts | 8 +-
src/api/system/role/index.ts | 9 +-
src/api/system/user/index.ts | 10 +-
src/api/system/user/types.ts | 6 +-
src/api/tool/gen/index.ts | 14 +-
src/api/tool/gen/types.ts | 8 +-
src/api/workflow/category/index.ts | 4 +-
src/api/workflow/definition/index.ts | 10 +-
src/api/workflow/instance/index.ts | 8 +-
src/api/workflow/instance/types.ts | 4 +-
src/api/workflow/leave/index.ts | 6 +-
src/api/workflow/spel/index.ts | 6 +-
src/api/workflow/task/index.ts | 6 +-
src/api/workflow/task/types.ts | 2 +-
src/api/workflow/workflowCommon/index.ts | 10 +-
src/components/DictTag/index.vue | 2 +-
src/components/Editor/index.vue | 42 +++---
src/components/FileUpload/index.vue | 26 ++--
src/components/ImageUpload/index.vue | 32 +++--
src/components/LangSelect/index.vue | 2 +-
src/components/Pagination/index.vue | 2 +-
src/components/Process/MessageType.vue | 5 +-
src/components/Process/approvalButton.vue | 10 +-
src/components/Process/approvalRecord.vue | 12 +-
src/components/Process/flowChartImg.vue | 8 +-
src/components/Process/processMeddle.vue | 35 ++---
src/components/Process/submitVerify.vue | 46 +++----
src/components/RightToolbar/index.vue | 2 +-
src/components/RoleSelect/index.vue | 21 +--
src/components/TopNav/index.vue | 10 +-
src/components/TreePanel/index.vue | 2 +-
src/components/UserSelect/index.vue | 18 +--
src/directive/common/copyText.ts | 2 +-
src/directive/index.ts | 2 +-
src/directive/permission/index.ts | 2 +-
src/hooks/useDialog.ts | 2 +-
src/lang/index.ts | 3 +-
src/layout/components/AppMain.vue | 10 +-
src/layout/components/IframeToggle/index.vue | 3 +-
src/layout/components/Navbar.vue | 39 +++---
src/layout/components/Settings/index.vue | 20 +--
src/layout/components/Sidebar/Logo.vue | 6 +-
src/layout/components/Sidebar/SidebarItem.vue | 9 +-
src/layout/components/Sidebar/index.vue | 13 +-
.../components/SocialCallback/index.vue | 2 +-
src/layout/components/TagsView/ScrollPane.vue | 3 +-
src/layout/components/TagsView/index.vue | 22 +--
src/layout/components/TopBar/index.vue | 29 ++--
src/layout/components/TopBar/search.vue | 6 +-
src/layout/components/notice/index.vue | 4 +-
src/layout/index.vue | 26 ++--
src/main.ts | 43 ++----
src/permission.ts | 14 +-
src/plugins/download.ts | 11 +-
src/plugins/index.ts | 41 ++----
src/plugins/svgicon.ts | 2 +-
src/plugins/tab.ts | 6 +-
src/router/index.ts | 2 +-
src/store/modules/app.ts | 8 +-
src/store/modules/permission.ts | 12 +-
src/store/modules/settings.ts | 6 +-
src/store/modules/user.ts | 20 ++-
src/types/axios.d.ts | 1 -
src/types/global.d.ts | 3 +-
src/types/module.d.ts | 25 +---
src/types/router.d.ts | 2 -
src/utils/api-types.ts | 11 ++
src/utils/jsencrypt.ts | 1 +
src/utils/ossContent.ts | 2 +-
src/utils/propTypes.ts | 4 +-
src/utils/push.ts | 6 +-
src/utils/request.ts | 127 ++++++++++--------
src/utils/scroll-to.ts | 19 ++-
src/views/demo/demo/index.vue | 14 +-
src/views/demo/tree/index.vue | 14 +-
src/views/error/401.vue | 10 +-
src/views/index.vue | 8 +-
src/views/login.vue | 57 +++++---
src/views/monitor/cache/index.vue | 8 +-
src/views/monitor/logininfo/index.vue | 29 ++--
src/views/monitor/online/index.vue | 15 ++-
src/views/monitor/operlog/index.vue | 27 ++--
...per-info-dialog.vue => operInfoDialog.vue} | 13 +-
src/views/register.vue | 51 ++++---
src/views/system/client/index.vue | 24 ++--
src/views/system/config/index.vue | 23 ++--
src/views/system/dept/index.vue | 38 ++++--
src/views/system/dict/index.vue | 41 +++---
src/views/system/menu/index.vue | 18 +--
src/views/system/notice/index.vue | 19 +--
src/views/system/oss/config.vue | 16 +--
src/views/system/oss/index.vue | 26 ++--
src/views/system/post/index.vue | 21 +--
src/views/system/role/authUser.vue | 18 +--
src/views/system/role/index.vue | 39 +++---
src/views/system/role/selectUser.vue | 12 +-
src/views/system/user/authRole.vue | 11 +-
src/views/system/user/index.vue | 57 ++++----
src/views/system/user/profile/index.vue | 12 +-
.../system/user/profile/onlineDevice.vue | 15 ++-
src/views/system/user/profile/resetPwd.vue | 15 ++-
src/views/system/user/profile/thirdParty.vue | 12 +-
src/views/system/user/profile/userAvatar.vue | 8 +-
src/views/system/user/profile/userInfo.vue | 13 +-
src/views/system/user/view.vue | 36 +++--
src/views/tool/gen/basicInfoForm.vue | 17 ++-
src/views/tool/gen/editTable.vue | 109 +++++++--------
src/views/tool/gen/genInfoForm.vue | 20 ++-
src/views/tool/gen/importTable.vue | 11 +-
src/views/tool/gen/index.vue | 25 ++--
src/views/workflow/category/index.vue | 14 +-
src/views/workflow/leave/index.vue | 39 +++---
src/views/workflow/leave/leaveEdit.vue | 34 ++---
.../workflow/processDefinition/design.vue | 32 ++---
.../workflow/processDefinition/index.vue | 72 +++++-----
src/views/workflow/processInstance/index.vue | 74 +++++-----
src/views/workflow/spel/index.vue | 11 +-
src/views/workflow/task/allTaskWaiting.vue | 30 +++--
src/views/workflow/task/myDocument.vue | 21 +--
src/views/workflow/task/taskCopyList.vue | 9 +-
src/views/workflow/task/taskFinish.vue | 17 +--
src/views/workflow/task/taskWaiting.vue | 12 +-
144 files changed, 1264 insertions(+), 1082 deletions(-)
create mode 100644 src/utils/api-types.ts
rename src/views/monitor/operlog/{oper-info-dialog.vue => operInfoDialog.vue} (89%)
diff --git a/.oxfmtrc.json b/.oxfmtrc.json
index b6d30745..bb8b8768 100644
--- a/.oxfmtrc.json
+++ b/.oxfmtrc.json
@@ -15,5 +15,17 @@
"htmlWhitespaceSensitivity": "ignore",
"experimentalSortPackageJson": {
"sortScripts": true
+ },
+ "sortImports": {
+ "newlinesBetween": false,
+ "groups": [
+ "type-import",
+ ["value-builtin", "value-external"],
+ "type-internal",
+ "value-internal",
+ ["type-parent", "type-sibling", "type-index"],
+ ["value-parent", "value-sibling", "value-index"],
+ "unknown"
+ ]
}
}
diff --git a/.oxlintrc.json b/.oxlintrc.json
index 5c25b249..487ff02b 100644
--- a/.oxlintrc.json
+++ b/.oxlintrc.json
@@ -8,7 +8,14 @@
"typescript/no-this-alias": "off",
"typescript/no-empty-object-type": "off",
"typescript/no-unused-expressions": "off",
- "prefer-rest-params": "off"
+ "prefer-rest-params": "off",
+ "import/no-unassigned-import": "off",
+ "import/no-named-as-default-member": "off",
+ "import/no-named-as-default": "off",
+ "no-shadow": "off",
+ "unicorn/prefer-add-event-listener": "off",
+ "unicorn/consistent-function-scoping": "off",
+ "unicorn/no-instanceof-builtins": "off"
},
"categories": {
"correctness": "error",
diff --git a/src/App.vue b/src/App.vue
index 617a10eb..e6f70819 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -5,9 +5,9 @@
diff --git a/src/components/Process/approvalRecord.vue b/src/components/Process/approvalRecord.vue
index a2d84404..26aef919 100644
--- a/src/components/Process/approvalRecord.vue
+++ b/src/components/Process/approvalRecord.vue
@@ -98,12 +98,14 @@
diff --git a/src/views/index.vue b/src/views/index.vue
index 1b38a553..09929a91 100644
--- a/src/views/index.vue
+++ b/src/views/index.vue
@@ -129,9 +129,7 @@ const goTarget = (url: string) => {
grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
gap: 18px;
padding: 30px;
- background:
- radial-gradient(circle at top left, rgba(53, 109, 255, 0.16), transparent 30%),
- var(--app-surface-bg);
+ background: radial-gradient(circle at top left, rgba(53, 109, 255, 0.16), transparent 30%), var(--app-surface-bg);
}
.hero-copy {
@@ -366,9 +364,7 @@ const goTarget = (url: string) => {
:global(html.dark) {
.hero-panel {
- background:
- radial-gradient(circle at top left, rgba(53, 109, 255, 0.18), transparent 30%),
- var(--app-surface-bg);
+ background: radial-gradient(circle at top left, rgba(53, 109, 255, 0.18), transparent 30%), var(--app-surface-bg);
}
}
diff --git a/src/views/login.vue b/src/views/login.vue
index b1002902..814f3c71 100644
--- a/src/views/login.vue
+++ b/src/views/login.vue
@@ -36,7 +36,7 @@
type="text"
size="large"
auto-complete="off"
- :placeholder="proxy.$t('login.username')"
+ :placeholder="$t('login.username')"
>