diff --git a/src/api/publicApi.js b/src/api/publicApi.js index 8f92afb..c2ab14b 100644 --- a/src/api/publicApi.js +++ b/src/api/publicApi.js @@ -61,3 +61,21 @@ method: 'delete', }); } + +// 搜索APP菜单列表 +export function listMenu(query) { + return request({ + url: '/system/appMenu/list', + method: 'get', + params: query, + }); +} + +// 查询排水户基础信息分页 +export function getProjects(data) { + return request({ + url: '/business/projectInfoNew/list', + method: 'get', + data, + }); +} diff --git a/src/api/publicApi.js b/src/api/publicApi.js index 8f92afb..c2ab14b 100644 --- a/src/api/publicApi.js +++ b/src/api/publicApi.js @@ -61,3 +61,21 @@ method: 'delete', }); } + +// 搜索APP菜单列表 +export function listMenu(query) { + return request({ + url: '/system/appMenu/list', + method: 'get', + params: query, + }); +} + +// 查询排水户基础信息分页 +export function getProjects(data) { + return request({ + url: '/business/projectInfoNew/list', + method: 'get', + data, + }); +} diff --git a/src/router/index.js b/src/router/index.js index ac2a5f2..67c4a6a 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -25,20 +25,20 @@ path: '/home_homePage', name: 'home_homePage', component: () => import('@/views/home/home_homePage.vue'), - meta: { keepAlive: true, title: '首页' }, + meta: { keepAlive: false, title: '首页' }, }, { path: '/home_news', name: 'home_news', component: () => import('@/views/home/home_news.vue'), - meta: { keepAlive: true, title: '培训宣传', ifShowHead: true, ifBack: false }, + meta: { keepAlive: false, title: '培训宣传' }, }, { path: '/home_my', name: 'home_my', component: () => import('@/views/home/home_my.vue'), - meta: { keepAlive: true, title: '个人中心' }, + meta: { keepAlive: false, title: '个人中心' }, }, ], }, @@ -61,6 +61,13 @@ meta: { keepAlive: false, title: '巡查记录详情', ifShowHead: true }, }, { + path: '/TemporaryProject', + name: 'TemporaryProject', + component: () => import('@/views/lsxmsb/TemporaryProject.vue'), + meta: { keepAlive: false, title: '项目临时巡查', ifShowHead: true }, + }, + + { path: '/editPassword', name: 'editPassword', component: () => import('@/views/home/editPassword.vue'), diff --git a/src/api/publicApi.js b/src/api/publicApi.js index 8f92afb..c2ab14b 100644 --- a/src/api/publicApi.js +++ b/src/api/publicApi.js @@ -61,3 +61,21 @@ method: 'delete', }); } + +// 搜索APP菜单列表 +export function listMenu(query) { + return request({ + url: '/system/appMenu/list', + method: 'get', + params: query, + }); +} + +// 查询排水户基础信息分页 +export function getProjects(data) { + return request({ + url: '/business/projectInfoNew/list', + method: 'get', + data, + }); +} diff --git a/src/router/index.js b/src/router/index.js index ac2a5f2..67c4a6a 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -25,20 +25,20 @@ path: '/home_homePage', name: 'home_homePage', component: () => import('@/views/home/home_homePage.vue'), - meta: { keepAlive: true, title: '首页' }, + meta: { keepAlive: false, title: '首页' }, }, { path: '/home_news', name: 'home_news', component: () => import('@/views/home/home_news.vue'), - meta: { keepAlive: true, title: '培训宣传', ifShowHead: true, ifBack: false }, + meta: { keepAlive: false, title: '培训宣传' }, }, { path: '/home_my', name: 'home_my', component: () => import('@/views/home/home_my.vue'), - meta: { keepAlive: true, title: '个人中心' }, + meta: { keepAlive: false, title: '个人中心' }, }, ], }, @@ -61,6 +61,13 @@ meta: { keepAlive: false, title: '巡查记录详情', ifShowHead: true }, }, { + path: '/TemporaryProject', + name: 'TemporaryProject', + component: () => import('@/views/lsxmsb/TemporaryProject.vue'), + meta: { keepAlive: false, title: '项目临时巡查', ifShowHead: true }, + }, + + { path: '/editPassword', name: 'editPassword', component: () => import('@/views/home/editPassword.vue'), diff --git a/src/views/home/home_homePage.vue b/src/views/home/home_homePage.vue index 9a9666f..2a81490 100644 --- a/src/views/home/home_homePage.vue +++ b/src/views/home/home_homePage.vue @@ -30,9 +30,11 @@ class="typeList" v-for="(item, index) in AllData.typeListData" :key="index" - @click="$router.push(item.toPath)" + @click="$router.push(item.path)" > - + + +
{{ item.name }}
@@ -64,11 +66,13 @@

-
-
-

{{ item.content }}

-

{{ item.a }}

-

{{ item.b }}

+
+
+
+

{{ item.content }}

+

{{ item.a }}

+

{{ item.b }}

+
@@ -82,16 +86,16 @@ + +