md
This commit is contained in:
parent
2e2e45cb84
commit
f9aa9c8db0
@ -9,6 +9,15 @@ export function parseAddress(content) {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 获取app信息
|
||||||
|
export function getLastAppVersion() {
|
||||||
|
return request({
|
||||||
|
url: '/emis/common/getLastAppVersion',
|
||||||
|
method: 'post',
|
||||||
|
data: {}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// 获取电子面单
|
// 获取电子面单
|
||||||
export function realMatchWaybill(useSiteCode,prefix) {
|
export function realMatchWaybill(useSiteCode,prefix) {
|
||||||
|
|||||||
@ -63,8 +63,11 @@
|
|||||||
<i class="el-icon-caret-bottom" />
|
<i class="el-icon-caret-bottom" />
|
||||||
</div>
|
</div>
|
||||||
<el-dropdown-menu slot="dropdown">
|
<el-dropdown-menu slot="dropdown">
|
||||||
<el-dropdown-item @click.native="showKfView">
|
<!-- <el-dropdown-item @click.native="showKfView">
|
||||||
<span>切换登录网点</span>
|
<span>切换登录网点</span>
|
||||||
|
</el-dropdown-item> -->
|
||||||
|
<el-dropdown-item @click.native="showAppView">
|
||||||
|
<span>下载员工APP</span>
|
||||||
</el-dropdown-item>
|
</el-dropdown-item>
|
||||||
<el-dropdown-item>
|
<el-dropdown-item>
|
||||||
<router-link to="/user/profile">个人信息</router-link>
|
<router-link to="/user/profile">个人信息</router-link>
|
||||||
@ -83,7 +86,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="kf_dialog_center">
|
<div class="kf_dialog_center">
|
||||||
<el-dialog title="" :visible.sync="openKfView" width="400px" append-to-body>
|
<el-dialog title="联系客服" :visible.sync="openKfView" width="400px" append-to-body>
|
||||||
<div style="padding:30px">
|
<div style="padding:30px">
|
||||||
<img :src="zoneConfig.kfQrImage" width="100%" draggable="false"/>
|
<img :src="zoneConfig.kfQrImage" width="100%" draggable="false"/>
|
||||||
<div style="text-align: center;">打开微信扫一扫 添加专属客服</div>
|
<div style="text-align: center;">打开微信扫一扫 添加专属客服</div>
|
||||||
@ -92,6 +95,22 @@
|
|||||||
</el-dialog>
|
</el-dialog>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="kf_dialog_center">
|
||||||
|
<el-dialog title="下载探路国际速运APP" :visible.sync="openAppView" width="400px" append-to-body>
|
||||||
|
<div style="padding:0px;margin-bottom:30px">
|
||||||
|
<div style="width:100%;text-align:center;margin-bottom: 30px;">
|
||||||
|
<img src="@/assets/logo/short_logo.png" width="60px" draggable="false"/>
|
||||||
|
<div>扫二维码下载 探路国际速运APP</div>
|
||||||
|
</div>
|
||||||
|
<div style="width: 100%;height: 100%;text-align:center;">
|
||||||
|
<QrCodeImage width="220" height="220" style="width: 220px;margin:auto" id="shareQrCodeImage" :text="appUrl" logoImage="@/assets/logo/short_logo.png"/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</el-dialog>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- src/assets/logo/short_logo.png -->
|
||||||
|
|
||||||
<el-dialog title="当前密码不安全,请立即修改密码" :visible.sync="openRstPwd" width="40%" v-dialogDrag append-to-body>
|
<el-dialog title="当前密码不安全,请立即修改密码" :visible.sync="openRstPwd" width="40%" v-dialogDrag append-to-body>
|
||||||
<resetPwd :user="user" @on-success="onRstPwdSuccess" @on-close="onRstPwdClose" />
|
<resetPwd :user="user" @on-success="onRstPwdSuccess" @on-close="onRstPwdClose" />
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
@ -112,6 +131,9 @@ import Cookies from 'js-cookie'
|
|||||||
import { getI18nMessages } from "@/api/common"
|
import { getI18nMessages } from "@/api/common"
|
||||||
import { checkIsInitPassword,getUserProfile } from "@/api/system/user"
|
import { checkIsInitPassword,getUserProfile } from "@/api/system/user"
|
||||||
import resetPwd from "@/views/system/user/profile/resetPwd";
|
import resetPwd from "@/views/system/user/profile/resetPwd";
|
||||||
|
import { getLastAppVersion } from "@/api/emis/emisCommon"
|
||||||
|
|
||||||
|
import QrCodeImage from '@/components/QrCodeImage'
|
||||||
|
|
||||||
var qimoClientId = null;
|
var qimoClientId = null;
|
||||||
|
|
||||||
@ -125,14 +147,17 @@ export default {
|
|||||||
Search,
|
Search,
|
||||||
TopTagsView,
|
TopTagsView,
|
||||||
TopNotice,
|
TopNotice,
|
||||||
resetPwd
|
resetPwd,
|
||||||
|
QrCodeImage
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
openKfView:false,
|
openKfView:false,
|
||||||
|
openAppView:false,
|
||||||
timer: undefined,
|
timer: undefined,
|
||||||
needRstPwd:false,
|
needRstPwd:false,
|
||||||
openRstPwd:false,
|
openRstPwd:false,
|
||||||
|
appUrl:null,
|
||||||
user:{},
|
user:{},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -283,6 +308,18 @@ export default {
|
|||||||
showKfView(){
|
showKfView(){
|
||||||
this.openKfView=true;
|
this.openKfView=true;
|
||||||
},
|
},
|
||||||
|
showAppView(){
|
||||||
|
getLastAppVersion().then(response => {
|
||||||
|
const appVersion = response.data;
|
||||||
|
this.appUrl=appVersion.apkUrl;
|
||||||
|
// new QRCode('qrcode',{
|
||||||
|
// width:300,
|
||||||
|
// height: 300,
|
||||||
|
// text: appVersion.apkUrl
|
||||||
|
// })
|
||||||
|
});
|
||||||
|
this.openAppView=true;
|
||||||
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user