From b1abcf83d5d57a111f09535191937c7ffda93f3f Mon Sep 17 00:00:00 2001 From: lzq <2495532633@qq.com> Date: Tue, 3 Mar 2026 16:25:37 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=AD=97=E5=85=B8=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/a-drop-table/ADropTable.vue | 1 + .../a-page/a-table-page/ATablePage.tsx | 26 +- .../fin/expense-item/ExpenseItemForm.vue | 2 +- src/pages/gds/goods/GoodsDropTable.vue | 2 + src/pages/sys/dict/Dict.vue | 18 +- src/pages/sys/dict/DictCategory.vue | 268 ++++++------------ src/pages/sys/dict/DictForm.vue | 146 +++++----- src/pages/sys/dict/DictItem.vue | 266 +++++++---------- src/pages/sys/dict/DictItemForm.vue | 179 ++++++------ 9 files changed, 373 insertions(+), 535 deletions(-) diff --git a/src/components/a-drop-table/ADropTable.vue b/src/components/a-drop-table/ADropTable.vue index 007cdd3..712ac38 100644 --- a/src/components/a-drop-table/ADropTable.vue +++ b/src/components/a-drop-table/ADropTable.vue @@ -225,6 +225,7 @@ const displayData = computed(() => { diff --git a/src/pages/sys/dict/DictCategory.vue b/src/pages/sys/dict/DictCategory.vue index 6979028..30e5aed 100644 --- a/src/pages/sys/dict/DictCategory.vue +++ b/src/pages/sys/dict/DictCategory.vue @@ -1,193 +1,109 @@ - - - - - - - - 搜索 - 新建 - - - - + + + + + + + - - - - - - - - 删除 - - - 修改 - 字典项 - - - - - - - + + + + - diff --git a/src/pages/sys/dict/DictForm.vue b/src/pages/sys/dict/DictForm.vue index 8fd0db6..8f0990c 100644 --- a/src/pages/sys/dict/DictForm.vue +++ b/src/pages/sys/dict/DictForm.vue @@ -1,93 +1,81 @@ - - - - - - - - - - - - - - {{ status === 'view' ? '关闭' : '取消' }} - 提交 + + + + + + + + + + + + + - + diff --git a/src/pages/sys/dict/DictItem.vue b/src/pages/sys/dict/DictItem.vue index 031af1b..7c23217 100644 --- a/src/pages/sys/dict/DictItem.vue +++ b/src/pages/sys/dict/DictItem.vue @@ -1,35 +1,24 @@ - - - - - - - - - - - 搜索 - 新建 - - - - - - - + + + + + + + + + + + @@ -37,155 +26,104 @@ - - - - - - - - 删除 - - - 修改 - - - - - - + + + + - diff --git a/src/pages/sys/dict/DictItemForm.vue b/src/pages/sys/dict/DictItemForm.vue index 4585acc..c501c27 100644 --- a/src/pages/sys/dict/DictItemForm.vue +++ b/src/pages/sys/dict/DictItemForm.vue @@ -1,110 +1,95 @@ - - - - - - - - - - - - - - - - - {{ status === 'view' ? '关闭' : '取消' }} - 提交 + + + + + + + + + + + + + + - + - From d7dd69d159a265de0b7454ebea45f54df8908a7b Mon Sep 17 00:00:00 2001 From: lzq <2495532633@qq.com> Date: Tue, 3 Mar 2026 17:54:01 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E8=8F=9C=E5=8D=95=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/sys/menus/MenuForm.vue | 9 ++++----- src/pages/sys/menus/menu.d.ts | 2 ++ 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/pages/sys/menus/MenuForm.vue b/src/pages/sys/menus/MenuForm.vue index 575924d..bd40d74 100644 --- a/src/pages/sys/menus/MenuForm.vue +++ b/src/pages/sys/menus/MenuForm.vue @@ -8,9 +8,9 @@ - - - + + + @@ -87,7 +87,7 @@ const formPanelProps = buildFormPanelProps({ return Promise.resolve({ icon: 'dianzixiaopiao', pid: '0', - clients: [ 1 ], + clientCode: 1, menuCategory: MenuCategory.Catalog, sn: nanoid(10), } as MenuTypes.MenuForm) @@ -98,7 +98,6 @@ const formPanelProps = buildFormPanelProps({ .then((res) => { return { ...res.data, - clients: ClientUtil.getClients(res.data.clientCode!).map(it => it.val), } as MenuTypes.MenuForm }) } diff --git a/src/pages/sys/menus/menu.d.ts b/src/pages/sys/menus/menu.d.ts index d46582f..f79cae3 100644 --- a/src/pages/sys/menus/menu.d.ts +++ b/src/pages/sys/menus/menu.d.ts @@ -72,6 +72,7 @@ declare global { // 路由名称 routeName?: string routePath?: string + clientCode?: number menuCategory?: MenuCategory } @@ -89,6 +90,7 @@ declare global { // 路由名称 routeName?: string routePath?: string + clientCode?: number menuCategory?: MenuCategory } }