|
@@ -72,6 +72,7 @@ import LoginForm from '_c/login-form'
|
|
|
import loginImage from '@/assets/images/login-left.png'
|
|
|
import loginIcon from '@/assets/images/login-icon.png'
|
|
|
import { mapActions } from 'vuex'
|
|
|
+import axios from "axios";
|
|
|
import vueQr from 'vue-qr'
|
|
|
export default {
|
|
|
data () {
|
|
@@ -93,6 +94,10 @@ export default {
|
|
|
this.handleLogin({ userName, password }).then(res => {
|
|
|
this.getUserInfo().then(res => {
|
|
|
console.log(res)
|
|
|
+
|
|
|
+ axios.post("/cloudApi/uLoginLog/add", {loginType:1}).then((res) => {
|
|
|
+
|
|
|
+ })
|
|
|
window.localStorage.setItem('jobNo',res.result.jobNo)
|
|
|
/* 未在角色菜单配置首页的角色直接跳转第一个菜单 不显示首页 */
|
|
|
let menus = this.$store.state.user.menu
|