diff --git a/src/assets/scss/buttonstyle.scss b/src/assets/scss/buttonstyle.scss index 92a5b2e3..2eabacde 100644 --- a/src/assets/scss/buttonstyle.scss +++ b/src/assets/scss/buttonstyle.scss @@ -90,7 +90,7 @@ //查看 .div-table-button--detail { - color: #3E8EF7 !important; + color: #3e8ef7 !important; text-decoration: underline !important; } @@ -106,8 +106,8 @@ text-decoration: underline !important; } -// +// .div-table-button--qr { color: #4ec591 !important; text-decoration: underline !important; -} \ No newline at end of file +} diff --git a/src/assets/scss/pages/caiji.scss b/src/assets/scss/pages/caiji.scss index 8526f6e8..8dafd6eb 100644 --- a/src/assets/scss/pages/caiji.scss +++ b/src/assets/scss/pages/caiji.scss @@ -1,5 +1,5 @@ -.bg-app { - background-color: rgba(218, 218, 218, 0.89); +.bg-caiji { + background-color: rgba(189, 214, 255, 0.89); height: 100%; width: 100vw; padding: 20px; @@ -37,9 +37,46 @@ padding-bottom: 20px; display: flex; justify-content: center; + + .btn { + width: 150px; + font-size: 16px; + } } } .picker_content { color: rgb(59, 59, 59); } + +.bg-caiji-success { + height: 100vh; + width: 100vw; + + text-align: center; + .title { + background-color: rgba(189, 214, 255, 0.89); + padding: 20px; + text-align: center; + font-size: 20px; + } + + .main { + margin-top: 100px; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + + .icon-success { + font-size: 40px; + // width: 20px; + // height: 20px; + } + + .success-content { + margin-top: 10px; + font-size: 25px; + } + } +} diff --git a/src/router/index.js b/src/router/index.js index c8eb853e..8b2d8ab6 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -53,6 +53,15 @@ export const pageRoutes = [ title: "居民信息填报", }, }, + { + path: "/caijisuccess", + props: true, + name: "caijisuccess", + component: () => import("@/views/pages/caijisuccess"), + meta: { + title: "居民信息填报", + }, + }, ]; // 模块路由(基于主入口布局页面) @@ -170,6 +179,9 @@ const router = new Router({ router.beforeEach((to, from, next) => { // 添加动态(菜单)路由 // 已添加或者当前路由为页面路由, 可直接访问 + if(to.name==='caiji'){ + return next(); + } if ( window.SITE_CONFIG["dynamicMenuRoutesHasAdded"] || fnCurrentRouteIsPageRoute(to, pageRoutes) diff --git a/src/views/modules/base/community/communityTable.vue b/src/views/modules/base/community/communityTable.vue index 458f0267..cbe00837 100644 --- a/src/views/modules/base/community/communityTable.vue +++ b/src/views/modules/base/community/communityTable.vue @@ -103,7 +103,8 @@ class="diy-button--reset" size="small" @click="handleExport">导出 - 社区二维码 @@ -173,8 +174,7 @@ class="div-table-button--qr" size="small" @click="handleDownQr(scope.row, 'neighborHood')">二维码 --> - 查看 @@ -547,7 +547,7 @@ export default { this.$message.error(msg) } }, - async handleDownQr(row, type) { + async handleDownQr (row, type) { // const url = window.SITE_CONFIG['apiURL'] + `/gov/org/icneighborhood/createQrCode/${row.neighborHoodId}` const url = '/gov/org/agency/create-qrcode' const _id = type == 'community' ? row.id : row.neighborHoodId @@ -563,11 +563,11 @@ export default { }).then(res => { console.log('res----1r', res) if (res.headers["content-disposition"]) { - let fileName = window.decodeURI(res.headers["content-disposition"].split(";")[1].split("=")[1]) - console.log('filename', fileName) - this.download(res.data, fileName) //释放掉blob对象 - } else this.$message.error('下载失败') - // this.download(res.data, '1.png') + let fileName = window.decodeURI(res.headers["content-disposition"].split(";")[1].split("=")[1]) + console.log('filename', fileName) + this.download(res.data, fileName) //释放掉blob对象 + } else this.$message.error('下载失败') + // this.download(res.data, '1.png') }) }, //导出表格 diff --git a/src/views/pages/caiji.vue b/src/views/pages/caiji.vue index 9c8fc74e..be259c60 100644 --- a/src/views/pages/caiji.vue +++ b/src/views/pages/caiji.vue @@ -1,5 +1,5 @@