瀏覽代碼

跳转大屏

wangtao 2 年之前
父節點
當前提交
19967f8241
共有 27 個文件被更改,包括 12 次插入12 次删除
  1. 二進制
      src/assets/image/yd.png
  2. 7 7
      src/views/home/index.vue
  3. 5 5
      src/views/login/index.vue
  4. 二進制
      vuepay/favicon.ico
  5. 0 0
      vuepay/index.html
  6. 0 0
      vuepay/js/about.202299-1662686966412.js
  7. 0 0
      vuepay/js/app.202299-1662686966412.js
  8. 0 0
      vuepay/js/chunk-elementUI.202299-1662686966412.js
  9. 0 0
      vuepay/js/chunk-libs.202299-1662686966412.js
  10. 0 0
      vuepay/js/vendors~about.202299-1662686966412.js
  11. 0 0
      vuepay/static/css/about.202299-1662686966412.css
  12. 0 0
      vuepay/static/css/app.202299-1662686966412.css
  13. 0 0
      vuepay/static/css/chunk-elementUI.202299-1662686966412.css
  14. 0 0
      vuepay/static/css/chunk-libs.202299-1662686966412.css
  15. 二進制
      vuepay/static/fonts/PingFangSCRegular.38808e08.ttf
  16. 二進制
      vuepay/static/fonts/element-icons.535877f5.woff
  17. 二進制
      vuepay/static/fonts/element-icons.732389de.ttf
  18. 二進制
      vuepay/static/img/fail.8db84207.png
  19. 二進制
      vuepay/static/img/ic_一卡通备份@3x.c470f6ea.png
  20. 二進制
      vuepay/static/img/ic_我的余额备份@3x.4a95b5de.png
  21. 二進制
      vuepay/static/img/ic_车牌备份@3x.c7a770fc.png
  22. 二進制
      vuepay/static/img/ic_配餐服务备份@3x.7152bbfa.png
  23. 二進制
      vuepay/static/img/icon2.b54421cf.png
  24. 二進制
      vuepay/static/img/icon5.9989b37c.png
  25. 二進制
      vuepay/static/img/icon6.599e7340.png
  26. 二進制
      vuepay/static/img/login.0fd76f13.png
  27. 二進制
      vuepay/static/img/success.853f3bb4.png

二進制
src/assets/image/yd.png


+ 7 - 7
src/views/home/index.vue

@@ -59,9 +59,9 @@
             <van-image :src="require('../../assets/image/ic_配餐服务备份@3x.png')" />
             <van-image :src="require('../../assets/image/ic_配餐服务备份@3x.png')" />
             <div class="title">配餐服务</div>
             <div class="title">配餐服务</div>
           </van-col>
           </van-col>
-          <van-col span="6" class="function" @click="yddp('http://10.21.39.1:8280/index')" v-if="pcy">
-            <van-image :src="require('../../assets/image/ic_配餐服务备份@3x.png')" />
-            <div class="title">移动大屏</div>
+          <van-col span="6" class="function" @click="yddp('http://10.21.39.1:8280/#/index')" v-if="MT57">
+            <van-image :src="require('../../assets/image/yd.png')" />
+            <div class="title">运营中心</div>
           </van-col>
           </van-col>
           <!-- <van-col span="6" class="function"  v-if="people57 == '1'">
           <!-- <van-col span="6" class="function"  v-if="people57 == '1'">
             <van-image :src="require('../../assets/image/function/icon11.png')" />
             <van-image :src="require('../../assets/image/function/icon11.png')" />
@@ -144,7 +144,7 @@
 import axios from "axios";
 import axios from "axios";
 import { Toast } from "vant";
 import { Toast } from "vant";
 import Cookies from "js-cookie";
 import Cookies from "js-cookie";
-import { encrypt, encrypt2, decrypt } from '../../utils/jsencrypt';
+import { encrypt, decrypt } from '../../utils/jsencrypt';
 export default {
 export default {
   data() {
   data() {
     return {
     return {
@@ -155,7 +155,7 @@ export default {
         phone57:undefined,
         phone57:undefined,
         people57:false,
         people57:false,
         pcy:false,
         pcy:false,
-        MT:false,
+        MT57:false,
       loading: false,
       loading: false,
       loadingPlateNumber:true,
       loadingPlateNumber:true,
       plateNumber:undefined,//车牌号
       plateNumber:undefined,//车牌号
@@ -189,7 +189,7 @@ export default {
     //   this.$router.push({ path: "/login"})
     //   this.$router.push({ path: "/login"})
     // }
     // }
     this.pcy = localStorage.getItem("pcy")
     this.pcy = localStorage.getItem("pcy")
-    this.MT = Cookies.get("MT")
+    this.MT57 = Cookies.get("MT57")
     this.portrait57 = Cookies.get("portrait57")
     this.portrait57 = Cookies.get("portrait57")
     this.nickName57 = Cookies.get("nickName57")
     this.nickName57 = Cookies.get("nickName57")
     this.dept57 = Cookies.get("dept57")
     this.dept57 = Cookies.get("dept57")
@@ -418,7 +418,7 @@ export default {
     },
     },
     //移动大屏
     //移动大屏
     yddp(url){
     yddp(url){
-      window.location.href = `${url}?token=${Cookies.set("token57")}`
+      window.location.href = `${url}?userName=${encodeURIComponent(encrypt(Cookies.set("username57")))}&passWord=${encodeURIComponent(Cookies.set("password57"))}`
     },
     },
     //一卡通充值
     //一卡通充值
     ykt(){
     ykt(){

+ 5 - 5
src/views/login/index.vue

@@ -102,7 +102,7 @@ export default {
   mounted() {
   mounted() {
 
 
     document.title = '中国东信智慧园区'
     document.title = '中国东信智慧园区'
-    Cookies.set("openid57",'o5P6I5tLj-TjrK7leWUT8EFmTCa4') //本地测试
+  //  Cookies.set("openid57",'o5P6I5tLj-TjrK7leWUT8EFmTCa4') //本地测试
     if(Cookies.get('rememberMe57')){
     if(Cookies.get('rememberMe57')){
       this.loginForm.rememberMe = Boolean(Cookies.get('rememberMe57'))
       this.loginForm.rememberMe = Boolean(Cookies.get('rememberMe57'))
     }
     }
@@ -185,8 +185,8 @@ export default {
     },
     },
     login_info() {
     login_info() {
       if(Cookies.get("openid57") && Cookies.get("username57") && Cookies.get("password57")){
       if(Cookies.get("openid57") && Cookies.get("username57") && Cookies.get("password57")){
-        //window.location.href = "https://smartpark.caih.com/vuepay/#/home"
-        this.$router.push({ path: `/home`}) 
+        window.location.href = "https://smartpark.caih.com/vuepay/#/home"
+        // this.$router.push({ path: `/home`}) 
       }else{
       }else{
         this.$refs.loginForm.validate(valid => {
         this.$refs.loginForm.validate(valid => {
           if (valid) {
           if (valid) {
@@ -245,8 +245,8 @@ export default {
                           }
                           }
                         }
                         }
                         setTimeout(()=>{
                         setTimeout(()=>{
-                          this.$router.push({ path: `/home`}) 
-                          //window.location.href = "https://smartpark.caih.com/vuepay/#/home"
+                          // this.$router.push({ path: `/home`}) 
+                          window.location.href = "https://smartpark.caih.com/vuepay/#/home"
                         },200)
                         },200)
                      })
                      })
                     })
                     })

二進制
vuepay/favicon.ico


File diff suppressed because it is too large
+ 0 - 0
vuepay/index.html


File diff suppressed because it is too large
+ 0 - 0
vuepay/js/about.202299-1662686966412.js


File diff suppressed because it is too large
+ 0 - 0
vuepay/js/app.202299-1662686966412.js


File diff suppressed because it is too large
+ 0 - 0
vuepay/js/chunk-elementUI.202299-1662686966412.js


File diff suppressed because it is too large
+ 0 - 0
vuepay/js/chunk-libs.202299-1662686966412.js


File diff suppressed because it is too large
+ 0 - 0
vuepay/js/vendors~about.202299-1662686966412.js


File diff suppressed because it is too large
+ 0 - 0
vuepay/static/css/about.202299-1662686966412.css


File diff suppressed because it is too large
+ 0 - 0
vuepay/static/css/app.202299-1662686966412.css


File diff suppressed because it is too large
+ 0 - 0
vuepay/static/css/chunk-elementUI.202299-1662686966412.css


File diff suppressed because it is too large
+ 0 - 0
vuepay/static/css/chunk-libs.202299-1662686966412.css


二進制
vuepay/static/fonts/PingFangSCRegular.38808e08.ttf


二進制
vuepay/static/fonts/element-icons.535877f5.woff


二進制
vuepay/static/fonts/element-icons.732389de.ttf


二進制
vuepay/static/img/fail.8db84207.png


二進制
vuepay/static/img/ic_一卡通备份@3x.c470f6ea.png


二進制
vuepay/static/img/ic_我的余额备份@3x.4a95b5de.png


二進制
vuepay/static/img/ic_车牌备份@3x.c7a770fc.png


二進制
vuepay/static/img/ic_配餐服务备份@3x.7152bbfa.png


二進制
vuepay/static/img/icon2.b54421cf.png


二進制
vuepay/static/img/icon5.9989b37c.png


二進制
vuepay/static/img/icon6.599e7340.png


二進制
vuepay/static/img/login.0fd76f13.png


二進制
vuepay/static/img/success.853f3bb4.png


Some files were not shown because too many files changed in this diff