|
@@ -59,9 +59,9 @@
|
|
|
<van-image :src="require('../../assets/image/ic_配餐服务备份@3x.png')" />
|
|
|
<div class="title">配餐服务</div>
|
|
|
</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 span="6" class="function" v-if="people57 == '1'">
|
|
|
<van-image :src="require('../../assets/image/function/icon11.png')" />
|
|
@@ -144,7 +144,7 @@
|
|
|
import axios from "axios";
|
|
|
import { Toast } from "vant";
|
|
|
import Cookies from "js-cookie";
|
|
|
-import { encrypt, encrypt2, decrypt } from '../../utils/jsencrypt';
|
|
|
+import { encrypt, decrypt } from '../../utils/jsencrypt';
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
@@ -155,7 +155,7 @@ export default {
|
|
|
phone57:undefined,
|
|
|
people57:false,
|
|
|
pcy:false,
|
|
|
- MT:false,
|
|
|
+ MT57:false,
|
|
|
loading: false,
|
|
|
loadingPlateNumber:true,
|
|
|
plateNumber:undefined,//车牌号
|
|
@@ -189,7 +189,7 @@ export default {
|
|
|
// this.$router.push({ path: "/login"})
|
|
|
// }
|
|
|
this.pcy = localStorage.getItem("pcy")
|
|
|
- this.MT = Cookies.get("MT")
|
|
|
+ this.MT57 = Cookies.get("MT57")
|
|
|
this.portrait57 = Cookies.get("portrait57")
|
|
|
this.nickName57 = Cookies.get("nickName57")
|
|
|
this.dept57 = Cookies.get("dept57")
|
|
@@ -418,7 +418,7 @@ export default {
|
|
|
},
|
|
|
//移动大屏
|
|
|
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(){
|