From 393a27a62108eaf6e8a5d1d34fa801473798edf9 Mon Sep 17 00:00:00 2001 From: hreenshan112 Date: Wed, 27 Nov 2024 15:01:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8E=92=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 5 +- src/api/lowCode/index.ts | 11 +- src/api/lowCode/type.ts | 8 + src/views/formTable/index.vue | 193 ++++------ src/views/formTable/index_20241127.vue | 475 +++++++++++++++++++++++++ 5 files changed, 559 insertions(+), 133 deletions(-) create mode 100644 src/views/formTable/index_20241127.vue diff --git a/index.html b/index.html index f996d19..4a71864 100644 --- a/index.html +++ b/index.html @@ -2,8 +2,11 @@ - + + + + 数通智联化工云平台 diff --git a/src/api/lowCode/index.ts b/src/api/lowCode/index.ts index fac415d..2860186 100644 --- a/src/api/lowCode/index.ts +++ b/src/api/lowCode/index.ts @@ -12,7 +12,8 @@ import { appTableInfoPage, AppTaskInfo, sendAppTaskCount, - gainAppTask + gainAppTask, + MenuTableInfo } from '@/api/lowCode/type' /** @ 作者: 秦东 @@ -118,4 +119,12 @@ export function getAppTaskList(data: gainAppTask) { method: 'post', data: data }); +} +//按菜单顶级分组和表单 +export function gainMenuGroupForm(data: AppTaskInfo):AxiosPromise { + return request({ + url: '/systemapi/app/gainMenuGroupForm', + method: 'post', + data: data + }); } \ No newline at end of file diff --git a/src/api/lowCode/type.ts b/src/api/lowCode/type.ts index edcdfb1..525085b 100644 --- a/src/api/lowCode/type.ts +++ b/src/api/lowCode/type.ts @@ -117,6 +117,14 @@ export interface appTableInfoPage{ tableId?: string; } +//输出菜单表单 +export interface MenuTableInfo { + id?: string; + title?: string; + list?:appTableInfoPage[] +} + + //获取相应任务内容的统计数据 export interface AppTaskInfo { id?: string; diff --git a/src/views/formTable/index.vue b/src/views/formTable/index.vue index 6ed2573..1ea9bd3 100644 --- a/src/views/formTable/index.vue +++ b/src/views/formTable/index.vue @@ -6,7 +6,7 @@ + + \ No newline at end of file