From 132501ea4edfe3803d33f702042eb852e438087b Mon Sep 17 00:00:00 2001 From: Mickeywaugh Date: Fri, 5 Jun 2026 15:10:01 +0800 Subject: [PATCH] =?UTF-8?q?refactor(system):=20=E9=87=8D=E6=9E=84=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E6=95=B0=E6=8D=AE=E7=BB=93=E6=9E=84=EF=BC=8C=E7=BB=9F?= =?UTF-8?q?=E4=B8=80=E5=88=86=E9=A1=B5=E6=9F=A5=E8=AF=A2=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/dict/index.ts | 2 +- src/types/api/index.ts | 3 +- src/views/system/config/index.vue | 405 ++++---- src/views/system/dict/dict-item.vue | 420 ++++---- src/views/system/dict/index.vue | 439 ++++---- src/views/system/log/index.vue | 155 ++- src/views/system/notice/index.vue | 658 ++++++------ src/views/system/role/index.vue | 669 ++++++------- src/views/system/tenant/index.vue | 1434 ++++++++++++--------------- src/views/system/tenant/plan.vue | 604 +++++------ src/views/system/user/index.vue | 649 ++++++------ 11 files changed, 2421 insertions(+), 3017 deletions(-) diff --git a/src/api/system/dict/index.ts b/src/api/system/dict/index.ts index 481fce53..c6fc8e0f 100644 --- a/src/api/system/dict/index.ts +++ b/src/api/system/dict/index.ts @@ -8,7 +8,7 @@ import type { DictItemForm, DictItemOption, } from "./types"; -import type { OptionItem } from "@/api/common"; + const DICT_BASE_URL = "/api/v1/dicts"; diff --git a/src/types/api/index.ts b/src/types/api/index.ts index edaf523e..e55859e2 100644 --- a/src/types/api/index.ts +++ b/src/types/api/index.ts @@ -28,10 +28,11 @@ export interface ExcelResult { export interface PageResult { total: number; list: T[]; + params: PageQueryParams; } export interface ApiResponse { - code: number; + code: number | string; msg: string; data: T; } diff --git a/src/views/system/config/index.vue b/src/views/system/config/index.vue index e9141a95..e7b8f5fd 100644 --- a/src/views/system/config/index.vue +++ b/src/views/system/config/index.vue @@ -1,14 +1,9 @@ diff --git a/src/views/system/log/index.vue b/src/views/system/log/index.vue index 38042336..7bcaf5c0 100644 --- a/src/views/system/log/index.vue +++ b/src/views/system/log/index.vue @@ -1,27 +1,14 @@