瀏覽代碼

新版本

y595705120 3 月之前
父節點
當前提交
e5571beae9

+ 2 - 2
index.html

@@ -8,8 +8,8 @@
     <meta http-equiv="X-UA-Compatible" content="IE=9;IE=EDGE">
     <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
     <!-- <meta name="referrer" content="origin"> -->
-
-    <title>三明市建设人才服务中心</title>
+    <script type="text/javascript" src="./static/config.js"></script>
+    <title>三明市城市建设项目服务中心</title>
   </head>
   <body style="margin:0px;">
     <div id="app"></div>

+ 7 - 2
src/App.vue

@@ -7,14 +7,14 @@
     <div class="p-wrap-full">
       <div class="footer ng-scope" style="z-index: 10">
         <div class="footer-bd">
-          <p>技术支持:三明市建设人才服务中心【0598-5157296】</p>
+          <p>技术支持:{{config.title}}【{{config.contact}}】</p>
           <p>
               <span> ©2021 </span>
               <!-- <a href="http://beian.miit.gov.cn/" target="_blank">闽ICP备19021760号-1</a> -->
               <img class="beian" src="./assets/images/beian_hashc9b229c96d.png" alt="">
               <!-- <a href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=35010202001216" target="_blank"> -->
               <a href="http://beian.miit.gov.cn/" target="_blank">
-                网站备案:闽ICP备19021760号-2
+                网站备案:{{config.beiang}}
               </a>
            </p>
         </div>
@@ -27,6 +27,11 @@
   import { mapActions } from "vuex";
   export default {
     name: 'App',
+    data() {
+      return {
+        config: window.baseConfig,
+      }
+    },
     methods:{
       ...mapActions("user", ["loadTypeList"]),
     },

+ 9 - 2
src/components/footer/index.vue

@@ -2,17 +2,24 @@
   <div class="footerView" class="ng-scope">
     <div class="footer ng-scope" style="z-index: 10;padding-top: 20px;">
       <div class="footer-bd">
-        <p>技术支持:三明市建设人才服务中心</p>
+        <p>技术支持:{{config.title}}</p>
         <p><a href="http://beian.miit.gov.cn/" target="_blank">闽ICP备08103886号-2</a>
         <img class="beian" src="./assets/images/beian_hashc9b229c96d.png" alt="">
          <a href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=35010202001216" target="_blank">
-              备案编号:闽ICP备19021760号</a></p>
+              备案编号:{{config.beiang}}</a></p>
       </div>
     </div>
   </div>
 </template>
 
 <script>
+  export default {
+    data() {
+      return {
+        config: window.baseConfig,
+      };
+    }
+  }
 </script>
 
 <style>

+ 6 - 2
src/components/nav/navbar.vue

@@ -3,8 +3,7 @@
     <div class="m-header ng-scope">
       <div class="p-wrap-full tc" @click="goto('/')">
         <span class="logo " style="color: white;font-size: 56px;">
-
-          三明市建设人才服务中心  </span>
+          {{config.title}}  </span>
       </div>
     </div>
 
@@ -13,6 +12,11 @@
 
 <script>
   export default {
+    data() {
+      return {
+        config: window.baseConfig,
+      };
+    },
     methods:{
       goto( path ){
         if( this.$route.path != path){

+ 6 - 1
src/containers/center/components/navbar/index.vue

@@ -4,7 +4,7 @@
       <div class="logo fl" style="padding-top: 24px;">
         <a href="javascript:void(0)" style="text-decoration: none"
             class="rel ng-binding waphide" @click="$router.push('/')">
-           三明市建设人才服务中心
+           {{config.title}}
           <div class="hover-block" style="padding-top: 24px;">
 
             <div class="hover-bd ng-scope" style="width:137px;margin-top: -20px" @click="$router.push('/')">
@@ -52,6 +52,11 @@
         }
       }
     },
+    data(){
+      return {
+        config: window.baseConfig,
+      }
+    },
     methods:{
       ...mapActions("user", [ "doLogout"]),
       gotoPage( route ){

+ 1 - 1
src/containers/center/userSeat/components/iPrintCert.vue

@@ -34,7 +34,7 @@
           <td colspan="7" class="tl">{{info.opAddress||''}}</td>
         </tr>
         <tr>
-          <td class="m-attr">理论考地点</td>
+          <td class="m-attr">理论考地点</td>
           <td colspan="7" class="tl">{{info.address}}</td>
         </tr>
 

+ 1 - 1
src/containers/center/userSeat/index.vue

@@ -84,7 +84,7 @@
         })
       },
       printCert( row  ){
-        document.title = '福建省建设行业从业人员岗位考核考试';
+        document.title = window.baseConfig.userSeatTitle;
         this.info = Object.assign(this.info, row);
         if( !this.userInfo.headImg ){
           this.$message.errorMsg("还未上传头像", 2)

+ 0 - 2
src/settings.js

@@ -1,6 +1,4 @@
 module.exports = {
-  title: '建设从业人员继续教育系统服务平台'
-  ,beian:'闽ICP备2121760号-1'
   ,exam:{
     username:'福建省爱数信息技术有限公司'
     ,bankName: '中国银行厦门市分行'

+ 6 - 0
static/config.js

@@ -0,0 +1,6 @@
+window.baseConfig = {
+    title: '三明市城市建设项目服务中心',
+    userSeatTitle:'福建省建设行业从业人员岗位考核考试',
+    beian:'闽ICP备2121760号-1',
+    contact:'0598-5157296'
+}

+ 0 - 30
static/index.html

@@ -1,30 +0,0 @@
-<!DOCTYPE html>
-<html>
-
-<head>
-  <meta charset="UTF-8">
-  <meta name="viewport" content="width=device-width, initial-scale=0">
-  <meta http-equiv="X-UA-Compatible" content="ie=edge">
-  <meta http-equiv="X-UA-Compatible" content="IE=9;IE=EDGE">
-  <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
-  <title>学习登入</title>
-  <link href=./static/css/app.2ae1e83255747909b76174af1ef6c241.css rel=stylesheet>
-</head>
-
-<body style=margin:0px;>
-  <div id="img_float" style="z-index: 101; left: 134px; width: 242px; height: 141px; position: absolute; top: 577px; visibility: visible; cursor: pointer;">
-    <div align="right" onclick="document.getElementById('img_float').style.display='none'"
-      style="color:red;font-size:12px;margin-bottom:0px;text-decoration:none;position:relative">[关闭]</div>
-    <div align="center" id="wmdImg">
-      <a href="http://zjj.sm.gov.cn/pc/201808/t20180829_1195705.htm" target="_blank">
-        <img id="wmdImgId1" class="wmdImg" width="242" height="141" src="./images/W020180829573455831351.jpg">
-      </a>
-    </div>
-  </div>
-  <div id=app></div>
-  <script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script>
-  <script type=text/javascript src=./static/js/vendor.ed36f80b48754d8be4be.js></script>
-  <script type=text/javascript src=./static/js/app.94f85552b9823df5c616.js></script>
-</body>
-
-</html>