|
|
@ -1,10 +1,20 @@
|
|
|
|
<template>
|
|
|
|
<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>
|
|
|
|
</template>
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|
// import { isLogin, setToken, removelogin } from '@/utils/auth';
|
|
|
|
// import { isLogin, setToken, removelogin } from '@/utils/auth';
|
|
|
|
|
|
|
|
import Logo from '../../components/tools/Logo'
|
|
|
|
import { ACCESS_TOKEN } from '@/store/mutation-types'
|
|
|
|
import { ACCESS_TOKEN } from '@/store/mutation-types'
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
|
|
|
|
components: {
|
|
|
|
|
|
|
|
Logo
|
|
|
|
|
|
|
|
},
|
|
|
|
data() {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
msg: '请等待'
|
|
|
|
msg: '请等待'
|
|
|
@ -19,7 +29,6 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
webset() {
|
|
|
|
webset() {
|
|
|
|
console.log(111)
|
|
|
|
|
|
|
|
const code = this.$route.query.code;
|
|
|
|
const code = this.$route.query.code;
|
|
|
|
const webid = this.$route.query.webid;
|
|
|
|
const webid = this.$route.query.webid;
|
|
|
|
if (!webid) {
|
|
|
|
if (!webid) {
|
|
|
@ -41,14 +50,14 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
loginSuccess(webid, res) {
|
|
|
|
loginSuccess(webid, res) {
|
|
|
|
// console.log(webid)
|
|
|
|
// console.log(webid)
|
|
|
|
this.$router.push({ path: 'bookingLedger' })
|
|
|
|
this.$router.push({ path: webid })
|
|
|
|
// this.isLoginError = false
|
|
|
|
// this.isLoginError = false
|
|
|
|
// // 加载字典所有字典到缓存中
|
|
|
|
// // 加载字典所有字典到缓存中
|
|
|
|
this.dictTypeData().then(res => {})
|
|
|
|
this.dictTypeData().then(res => {})
|
|
|
|
},
|
|
|
|
},
|
|
|
|
requestFailed(res) {
|
|
|
|
requestFailed(res) {
|
|
|
|
console.log(res)
|
|
|
|
console.log(res)
|
|
|
|
this.$message.error(res)
|
|
|
|
// this.$message.error(res)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|