diff --git a/src/api/index.ts b/src/api/index.ts new file mode 100644 index 0000000..a5572c5 --- /dev/null +++ b/src/api/index.ts @@ -0,0 +1,6 @@ +import request from '@/config/axios' + +// 获取外协管理数据 +export const getOutsourcingManagementData = (data) => { + return request.post({ url: '/jeelowcode/report-data/list/kb_wx_jt', data }) +} diff --git a/src/router/modules/remaining.ts b/src/router/modules/remaining.ts index 4036845..d602c13 100644 --- a/src/router/modules/remaining.ts +++ b/src/router/modules/remaining.ts @@ -57,12 +57,45 @@ const remainingRouter: AppRouteRecordRaw[] = [ name: 'Home', meta: {}, children: [ + // { + // path: 'index', + // component: () => import('@/views/Home/Index10.vue'), + // name: 'Index', + // meta: { + // title: t('router.home'), + // icon: 'ep:home-filled', + // noCache: false, + // affix: true + // } + // }, { path: 'index', component: () => import('@/views/Home/Index10.vue'), name: 'Index', meta: { - title: t('router.home'), + title: '集团视角数据看板', + icon: 'ep:home-filled', + noCache: false, + affix: true + } + }, + { + path: 'region', // 区域数据看板 + component: () => import('@/views/Home/Index12.vue'), + name: 'RegionIndex', + meta: { + title: '区域视角数据看板', + icon: 'ep:home-filled', + noCache: false, + affix: true + } + }, + { + path: 'park', // 园区数据看板 + component: () => import('@/views/Home/Index13.vue'), + name: 'ParkIndex', + meta: { + title: '园区视角数据看板', icon: 'ep:home-filled', noCache: false, affix: true diff --git a/src/views/Home/Index10.vue b/src/views/Home/Index10.vue index 364b417..d38435b 100644 --- a/src/views/Home/Index10.vue +++ b/src/views/Home/Index10.vue @@ -1,995 +1,533 @@ - diff --git a/src/views/Home/Index12.vue b/src/views/Home/Index12.vue new file mode 100644 index 0000000..364b417 --- /dev/null +++ b/src/views/Home/Index12.vue @@ -0,0 +1,1800 @@ + + + + + diff --git a/src/views/Home/Index13.vue b/src/views/Home/Index13.vue new file mode 100644 index 0000000..364b417 --- /dev/null +++ b/src/views/Home/Index13.vue @@ -0,0 +1,1800 @@ + + + + + diff --git a/src/views/Login/components/LoginForm.vue b/src/views/Login/components/LoginForm.vue index 08adbb4..fcd4215 100644 --- a/src/views/Login/components/LoginForm.vue +++ b/src/views/Login/components/LoginForm.vue @@ -1,56 +1,31 @@