From a0c8cd815af6110c886a02c013eb8f045c02c81a Mon Sep 17 00:00:00 2001 From: zouzhibin <3517876561@qq.com> Date: Fri, 29 Apr 2022 22:11:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=8D=A1=E7=89=87=E6=8B=96?= =?UTF-8?q?=E6=8B=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/modules/charts.ts | 12 +- src/router/modules/other.ts | 6 +- src/router/modules/table.ts | 6 +- src/styles/sidebar.scss | 4 +- src/views/other/grid-sorter.vue | 90 ++++-- src/views/table/components/comprehensive.vue | 5 +- src/views/table/comprehensive.vue | 284 +++++++++++++++++++ 7 files changed, 360 insertions(+), 47 deletions(-) create mode 100644 src/views/table/comprehensive.vue diff --git a/src/router/modules/charts.ts b/src/router/modules/charts.ts index e7741ff..310a7b2 100644 --- a/src/router/modules/charts.ts +++ b/src/router/modules/charts.ts @@ -13,12 +13,12 @@ const chartsRouter = { roles:['other'] }, children: [ - { - path: 'map', - component: () => import('@/views/charts/map.vue'), - name: 'map', - meta: { title: '地图', noCache: true , roles:['other'] } - }, + // { + // path: 'map', + // component: () => import('@/views/charts/map.vue'), + // name: 'map', + // meta: { title: '地图', noCache: true , roles:['other'] } + // }, { path: 'migration', component: () => import('@/views/charts/migration.vue'), diff --git a/src/router/modules/other.ts b/src/router/modules/other.ts index 60bc1fc..d50a15a 100644 --- a/src/router/modules/other.ts +++ b/src/router/modules/other.ts @@ -8,7 +8,7 @@ const othersRouter = { redirect: 'noRedirect', name: 'other', meta: { - title: '其他', + title: '扩展', icon: 'management' }, children: [ @@ -28,13 +28,13 @@ const othersRouter = { path: 'grid-sorter', component: () => import('@/views/other/grid-sorter.vue'), name: 'grid-sorter', - meta: { title: '网格排序', noCache: true } + meta: { title: '卡片拖拽', noCache: true } }, { path: 'splitpane', component: () => import('@/views/other/splitpane.vue'), name: 'splitpane', - meta: { title: 'splitpane', noCache: true } + meta: { title: '分割模块', noCache: true } }, ] diff --git a/src/router/modules/table.ts b/src/router/modules/table.ts index e310cff..0c4aada 100644 --- a/src/router/modules/table.ts +++ b/src/router/modules/table.ts @@ -14,9 +14,9 @@ const tableRouter = { }, children: [ { - path: 'complex', - component: () => import('@/views/table/complex.vue'), - name: 'complex', + path: 'comprehensive', + component: () => import('@/views/table/comprehensive.vue'), + name: 'comprehensive', meta: { title: '综合表格', noCache: true } }, { diff --git a/src/styles/sidebar.scss b/src/styles/sidebar.scss index a1109d7..3eba722 100644 --- a/src/styles/sidebar.scss +++ b/src/styles/sidebar.scss @@ -93,11 +93,11 @@ .hideSidebar { .sidebar-container { - width: 54px !important; + width: 60px !important; } .main-container { - margin-left: 54px; + margin-left: 60px; } .submenu-title-noDropdown { diff --git a/src/views/other/grid-sorter.vue b/src/views/other/grid-sorter.vue index e2f5055..f29bd21 100644 --- a/src/views/other/grid-sorter.vue +++ b/src/views/other/grid-sorter.vue @@ -1,12 +1,13 @@ - + + + + + + + + + + +