瀏覽代碼

add:添加签章完成提醒页面

liujiayin 3 年之前
父節點
當前提交
8f051f7307
共有 4 個文件被更改,包括 120 次插入61 次删除
  1. 二進制
      src/assets/images/success/completed.png
  2. 69 61
      src/router/routes.js
  3. 1 0
      src/setting.js
  4. 50 0
      src/views/remindPage/sealCompleted.vue

二進制
src/assets/images/success/completed.png


+ 69 - 61
src/router/routes.js

@@ -9,40 +9,40 @@ const _import = require('@/utils/util.import.' + process.env.NODE_ENV)
  * 在主框架内显示
  */
 const frameIn = [
- {
+  {
     path: '/',
     redirect: { name: 'dashboard' },
     component: layoutHeaderAside,
     children: [
 
       // 首页
-	  {
-	    path: 'dashboard',
-	    name: 'dashboard',
-	    meta: {
-	      title: '首页',
-	      auth: true
-	    },
-	    component: _import('/system/dashboard')
-	  },
-	  {
-	    path: 'blank',
-	    name: 'blank',
-	    meta: {
-	      title: '首页',
-	      auth: true
-	    },
-	    component: _import('/system/blank')
-	  },
-   {
-       path: 'jbdHome',
-       name: 'jbdHome',
-       meta: {
-         title: '数据统计',
-         auth: true
-       },
-       component: _import('/system/jbdHome')
-     },
+      {
+        path: 'dashboard',
+        name: 'dashboard',
+        meta: {
+          title: '首页',
+          auth: true
+        },
+        component: _import('/system/dashboard')
+      },
+      {
+        path: 'blank',
+        name: 'blank',
+        meta: {
+          title: '首页',
+          auth: true
+        },
+        component: _import('/system/blank')
+      },
+      {
+        path: 'jbdHome',
+        name: 'jbdHome',
+        meta: {
+          title: '数据统计',
+          auth: true
+        },
+        component: _import('/system/jbdHome')
+      },
       // 系统 前端日志
       {
         path: 'log',
@@ -53,15 +53,15 @@ const frameIn = [
         },
         component: _import('/system/log')
       },
-		/* 	{
-			  path: 'dashboard',
-			  name: 'dashboard',
-			  meta: {
-			    title: '工作中心',
-			    auth: true
-			  },
-			  component: _import('/system/dashboard')
-			}, */
+      /* 	{
+          path: 'dashboard',
+          name: 'dashboard',
+          meta: {
+            title: '工作中心',
+            auth: true
+          },
+          component: _import('/system/dashboard')
+        }, */
       // 刷新页面 必须保留
       {
         path: 'refresh',
@@ -84,16 +84,16 @@ const frameIn = [
  * 在主框架之外显示
  */
 const frameOut = [
-       // 首页
-    /*  {
-        path: 'jbdHome',
-        name: 'jbdHome',
-        meta: {
-          title: '数据统计',
-          auth: true
-        },
-        component: _import('/system/jbdHome')
-      }, */
+  // 首页
+  /*  {
+      path: 'jbdHome',
+      name: 'jbdHome',
+      meta: {
+        title: '数据统计',
+        auth: true
+      },
+      component: _import('/system/jbdHome')
+    }, */
   // 登录
   {
     path: '/login',
@@ -103,7 +103,7 @@ const frameOut = [
     },
     component: _import('/system/login')
   },
- {
+  {
     path: '/fileView',
     name: 'fileView',
     meta: {
@@ -174,6 +174,14 @@ const frameOut = [
       title: 'iframe'
     },
     component: _import('/system/iframe')
+  },
+  {
+    path: '/sealCompleted',
+    name: 'sealCompleted',
+    meta: {
+      title: 'sealCompleted'
+    },
+    component: _import('/remindPage/sealCompleted')
   }
 ]
 
@@ -182,20 +190,20 @@ const frameOut = [
 /**
  * 响应式
  */
- const ziliao = [
-{
-//path: '/ziliao/:id',
-path: '/ziliao',
-name: 'ziliao',
-meta: {
- //title: ' '
-},
-//component: _import('/system/ziliao'),
-component: _import('/component/ziliao'),
-//requireAuth: false
+const ziliao = [
+  {
+    //path: '/ziliao/:id',
+    path: '/ziliao',
+    name: 'ziliao',
+    meta: {
+      //title: ' '
+    },
+    //component: _import('/system/ziliao'),
+    component: _import('/component/ziliao'),
+    //requireAuth: false
 
-},
- ]
+  },
+]
 
 /**
  * 错误页面

+ 1 - 0
src/setting.js

@@ -151,6 +151,7 @@ export default {
     '/tenantForget',
     '/authredirect',
     '/ziliao',
+    '/sealCompleted'
   ],
   // 白名单,匿名请求的URL
   whiteRequestList: [

+ 50 - 0
src/views/remindPage/sealCompleted.vue

@@ -0,0 +1,50 @@
+<template>
+    <div class="contain">
+        <div class="center">
+            <img class="ok-img" src="../../assets/images/success/completed.png" alt="">
+            <div>
+                签章已经完成,请回到上个页面继续检测流程
+            </div>
+        </div>
+    </div>
+</template>
+<script>
+export default {
+    name: "sealCompleted",
+    data() {
+        return {
+            timer: null
+        };
+    },
+    mounted() {
+
+    },
+    beforeDestroy() {
+    },
+};
+</script>
+
+<style scoped lang="less">
+.ok-img {
+    width: 200px;
+    height: 200px;
+    margin: auto;
+    margin-bottom: 20px;
+}
+
+.contain {
+    height: 300px;
+    position: relative;
+    margin-top: 20px;
+    display: flex;
+    justify-content: center;
+    align-items: center;
+}
+
+.contain .center {
+    height: 200px;
+    display: flex;
+    flex-direction: column;
+    text-align: center;
+}
+</style>