|
|
|
@ -1,10 +1,20 @@
|
|
|
|
|
<template>
|
|
|
|
|
<span>{{ msg }}</span>
|
|
|
|
|
<div class="first-loading-wrp">
|
|
|
|
|
<!-- <h1>大简云工作平台</h1> -->
|
|
|
|
|
<div class="loading-wrp">
|
|
|
|
|
<span class="dot dot-spin"><i></i><i></i><i></i><i></i></span>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="display: flex; justify-content: center; align-items: center;">大简云工作平台</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<script>
|
|
|
|
|
// import { isLogin, setToken, removelogin } from '@/utils/auth';
|
|
|
|
|
import Logo from '../../components/tools/Logo'
|
|
|
|
|
import { ACCESS_TOKEN } from '@/store/mutation-types'
|
|
|
|
|
export default {
|
|
|
|
|
components: {
|
|
|
|
|
Logo
|
|
|
|
|
},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
msg: '请等待'
|
|
|
|
@ -19,7 +29,6 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
webset() {
|
|
|
|
|
console.log(111)
|
|
|
|
|
const code = this.$route.query.code;
|
|
|
|
|
const webid = this.$route.query.webid;
|
|
|
|
|
if (!webid) {
|
|
|
|
@ -41,14 +50,14 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
loginSuccess(webid, res) {
|
|
|
|
|
// console.log(webid)
|
|
|
|
|
this.$router.push({ path: 'bookingLedger' })
|
|
|
|
|
this.$router.push({ path: webid })
|
|
|
|
|
// this.isLoginError = false
|
|
|
|
|
// // 加载字典所有字典到缓存中
|
|
|
|
|
this.dictTypeData().then(res => {})
|
|
|
|
|
},
|
|
|
|
|
requestFailed(res) {
|
|
|
|
|
console.log(res)
|
|
|
|
|
this.$message.error(res)
|
|
|
|
|
// this.$message.error(res)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|