|
@@ -18,6 +18,13 @@
|
|
|
<div class="usrpwd">
|
|
|
<ddlogin></ddlogin>
|
|
|
</div>
|
|
|
+ <!-- <div class="accessbox">
|
|
|
+ <div class="access" title="IES5应用接入说明文档" @click="openSkip('movement')">
|
|
|
+ <el-icon>
|
|
|
+ <Share color="#fff" style="width:20px;height:20px" />
|
|
|
+ </el-icon>
|
|
|
+ </div>
|
|
|
+ </div> -->
|
|
|
<!-- <div class="cut" @click="loginModel = !loginModel">
|
|
|
<svg width="52" height="52" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" style="border-top-right-radius:10px">
|
|
|
<mask id="id-3757926926-a" width="52" height="52" x="0" y="0" maskUnits="userSpaceOnUse">
|
|
@@ -50,10 +57,12 @@ import { ElMessage, ElLoading } from 'element-plus'
|
|
|
import { useRouter } from 'vue-router'
|
|
|
import { useStore } from 'vuex'
|
|
|
import jwt_decode from 'jwt-decode'
|
|
|
+import { Share } from '@element-plus/icons-vue'
|
|
|
export default {
|
|
|
components: {
|
|
|
ddlogin,
|
|
|
bind,
|
|
|
+ Share
|
|
|
},
|
|
|
setup () {
|
|
|
var types = navigator.language
|
|
@@ -155,6 +164,17 @@ export default {
|
|
|
res.authorityBIList ? (store.commit('getPermission', res.authorityBIList), localStorage.setItem('management', JSON.stringify(res.authorityBIList))) : []
|
|
|
})
|
|
|
}
|
|
|
+ //根据路由跳转IES5应用接入说明文档
|
|
|
+ function openSkip (value) {
|
|
|
+ console.log('调用方法了')
|
|
|
+ let nowUrl = window.location.host
|
|
|
+ console.log(nowUrl)
|
|
|
+ if (nowUrl.indexOf('open') != -1) {
|
|
|
+ window.open("http://doc.teammodel.cn:4999/web/#/16/130")
|
|
|
+ } else if (value === 'movement') {
|
|
|
+ window.open("http://doc.teammodel.cn:4999/web/#/16/130")
|
|
|
+ }
|
|
|
+ }
|
|
|
// //钉钉账号或扫码登录
|
|
|
// function userlogin(proxy) {
|
|
|
// loading = ElLoading.service({
|
|
@@ -203,6 +223,7 @@ export default {
|
|
|
// }
|
|
|
// })
|
|
|
// }
|
|
|
+ openSkip()
|
|
|
return {
|
|
|
comRef,
|
|
|
store,
|
|
@@ -221,6 +242,7 @@ export default {
|
|
|
Allpermission,
|
|
|
loginSuccess,
|
|
|
loadings,
|
|
|
+ openSkip
|
|
|
}
|
|
|
},
|
|
|
}
|
|
@@ -316,6 +338,15 @@ export default {
|
|
|
top: 0px;
|
|
|
right: 0px;
|
|
|
}
|
|
|
+/* .access {
|
|
|
+ width: 35px;
|
|
|
+ height: 35px;
|
|
|
+ float: right;
|
|
|
+ margin-right: 5px;
|
|
|
+}
|
|
|
+.accessbox {
|
|
|
+ width: 100%;
|
|
|
+} */
|
|
|
</style>
|
|
|
<style>
|
|
|
.userbox .el-input__inner {
|