ZhangWenQiang 5 anni fa
parent
commit
b764487242

+ 4 - 0
public/index.html

@@ -255,6 +255,10 @@
     <!-- oss路径正式服 -->
     // window._CONFIG['imgDomainOssURL'] = 'https://happywork.oss-cn-shanghai.aliyuncs.com';
     window._CONFIG['pdfDomainURL'] =  window._CONFIG['domianURL'] + '/sys/common/pdf/pdfPreviewIframe';
+    //苏公网安备 测试
+    window._CONFIG['beian'] = ['http://www.beian.miit.gov.cn/','32021402001263'];
+    //苏公网安备 正式
+    // window._CONFIG['beian'] = ['http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=32021402001263','32021402001263'];
   </script>
 </head>
 

+ 6 - 2
src/components/layouts/UserLayout.vue

@@ -17,7 +17,8 @@
 
       <div class="footer">
         <div class="copyright">
-          Copyright &copy; 2018-2022 All Rights Reserved. 江苏开心工作科技有限公司 <a href="http://www.beian.miit.gov.cn/">苏ICP备15055741号</a>
+          Copyright &copy; 2020 All Rights Reserved. 江苏开心工作科技有限公司 <a href="http://www.beian.miit.gov.cn/" target="_blank">苏ICP备15055741号 </a>
+          <img src="https://happywork.oss-cn-shanghai.aliyuncs.com/uploadfiles/hpwork/beian.png"/><a :href="beianUrl" target="_blank">苏公网安备 {{beian}}号</a>
         </div>
       </div>
     </div>
@@ -33,7 +34,10 @@
     components: { RouteView },
     mixins: [mixinDevice],
     data () {
-      return {}
+      return {
+        beianUrl: window._CONFIG['beian'][0],
+        beian: window._CONFIG['beian'][1]
+      }
     },
     mounted () {
       document.body.classList.add('userLayout')

+ 9 - 4
src/components/page/GlobalFooter.vue

@@ -1,16 +1,21 @@
 <template>
   <div class="footer">
     <div class="copyright">
-      Copyright
-      <a-icon type="copyright"/>
-      2018-2022 All Rights Reserved. 江苏开心工作科技有限公司 <a href="http://www.beian.miit.gov.cn/">苏ICP备15055741号</a>
+      Copyright &copy; 2020 All Rights Reserved. 江苏开心工作科技有限公司 <a href="http://www.beian.miit.gov.cn/" target="_blank">苏ICP备15055741号 </a>
+      <img src="https://happywork.oss-cn-shanghai.aliyuncs.com/uploadfiles/hpwork/beian.png"/><a :href="beianUrl" target="_blank">苏公网安备 {{beian}}号</a>
     </div>
   </div>
 </template>
 
 <script>
   export default {
-    name: "LayoutFooter"
+    name: "LayoutFooter",
+    data () {
+      return {
+        beianUrl: window._CONFIG['beian'][0],
+        beian: window._CONFIG['beian'][1]
+      }
+    },
   }
 </script>