|
|
@ -23,6 +23,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|
import dropDownUser from "~/components/dropDownUser";
|
|
|
|
import dropDownUser from "~/components/dropDownUser";
|
|
|
|
|
|
|
|
import {get} from "~/utils";
|
|
|
|
|
|
|
|
import {showSuccess} from "~/utils/dialog";
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
@ -33,8 +35,12 @@
|
|
|
|
handleSelect(key, keyPath) {
|
|
|
|
handleSelect(key, keyPath) {
|
|
|
|
console.log(key, keyPath);
|
|
|
|
console.log(key, keyPath);
|
|
|
|
},
|
|
|
|
},
|
|
|
|
backLogin:function () {
|
|
|
|
async backLogin() {
|
|
|
|
|
|
|
|
await get('lb/user/logout')
|
|
|
|
|
|
|
|
await showSuccess("退出成功",this)
|
|
|
|
|
|
|
|
setTimeout(()=>{
|
|
|
|
this.$router.push('/login')
|
|
|
|
this.$router.push('/login')
|
|
|
|
|
|
|
|
},1000)
|
|
|
|
},
|
|
|
|
},
|
|
|
|
goPersonal:function () {
|
|
|
|
goPersonal:function () {
|
|
|
|
this.$router.push('/teacher/personal')
|
|
|
|
this.$router.push('/teacher/personal')
|
|
|
|