diff --git a/src/router/index.js b/src/router/index.js index 01c2837a2..6af320693 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -128,7 +128,7 @@ export const moduleRoutes = { title: "社区查询", }, }, - { + { path: "smartImport", props: true, name: "smartImport", @@ -163,41 +163,41 @@ export const moduleRoutes = { props: true, name: "loudong-huaxiang", component: () => import("@/views/modules/portrayal/loudong/index"), - meta: { - isTab: true, - title: "", - }, + meta: { + isTab: true, + title: "", }, - { - path: "add-resi", - props: true, - name: "add-resi", - component: () => import("@/views/components/addResi"), - meta: { - isTab: true, - title: "新增居民", - }, - }, - { - path: "suggestionList", - props: true, - name: "suggestionList", - component: () => import("@/views/modules/shequzhili/solicitationSpecial/cpts/suggestionList"), - meta: { - isTab: true, - title: "专题征集列表", - }, - }, - { - path: "edit-resi", - props: true, - name: "edit-resi", - component: () => import("@/views/components/editResi"), - meta: { - isTab: true, - title: "编辑居民", - }, - } + }, + { + path: "add-resi", + props: true, + name: "add-resi", + component: () => import("@/views/components/addResi"), + meta: { + isTab: true, + title: "新增居民", + }, + }, + { + path: "suggestionList", + props: true, + name: "suggestionList", + component: () => import("@/views/modules/shequzhili/solicitationSpecial/cpts/suggestionList"), + meta: { + isTab: true, + title: "专题征集列表", + }, + }, + { + path: "edit-resi", + props: true, + name: "edit-resi", + component: () => import("@/views/components/editResi"), + meta: { + isTab: true, + title: "编辑居民", + }, + } ], }; // pc端菜单的 如果没有配置 默认的 或者配置了默认的 但没有权限 默认选中第一 @@ -968,13 +968,14 @@ router.beforeEach((to, from, next) => { // 已添加或者当前路由为页面路由, 可直接访问 let toUrl = to.meta.iframeURL console.log("=====", toUrl) + if (toUrl && toUrl.indexOf("ticket=") != -1) { // 此处请求后端,获取一个ticket票据 http.get("/auth/sso/getTicket") - .then(({data: res}) => { - let ticket = res.data - window.open(toUrl + ticket) - }) + .then(({ data: res }) => { + let ticket = res.data + window.open(toUrl + ticket) + }) return null; } if (to.name === "caiji") { @@ -1053,7 +1054,6 @@ router.beforeEach((to, from, next) => { .map((item) => cookApiDataItem2(item)) .map((item) => cookApiDataItem(item)); fnAddDynamicMenuRoutes(window.SITE_CONFIG["menuList"]); - // next({ ...to, replace: true }) next({ ...to, replace: true, diff --git a/src/views/main-navbar.vue b/src/views/main-navbar.vue index 0a5c3ccbd..e0a2bd8c0 100644 --- a/src/views/main-navbar.vue +++ b/src/views/main-navbar.vue @@ -21,24 +21,24 @@ - + - - + diff --git a/src/views/main-sidebar.vue b/src/views/main-sidebar.vue index 133dfd638..cadbc0497 100644 --- a/src/views/main-sidebar.vue +++ b/src/views/main-sidebar.vue @@ -19,7 +19,7 @@ + 取消 + + 取消 + + + + +
+ + +
+ + +
+ +
+ + + + + + + + + \ No newline at end of file diff --git a/src/views/modules/base/smartExcel/index.vue b/src/views/modules/base/smartExcel/index.vue index a4aa653ef..3f3289b9c 100644 --- a/src/views/modules/base/smartExcel/index.vue +++ b/src/views/modules/base/smartExcel/index.vue @@ -1,301 +1,297 @@ - - - - \ No newline at end of file + \ No newline at end of file