首页登录39后台

This commit is contained in:
宋伟佳
2021-06-16 13:39:28 +08:00
parent 9495265b47
commit 448dab48dc
7 changed files with 141 additions and 11 deletions
+10 -4
View File
@@ -75,7 +75,8 @@ export default {
password: PWD
}, {
_this: this,
loading: 'loading'
loading: 'loading',
prefix: '/foton'
}, res => {
if (res.ok) {
const JSESSIONID = document.cookie
@@ -240,7 +241,8 @@ export default {
return new Promise((resolve, reject) => {
this.$http.get('person/userInfo/getByUserInfoCode', {
}, {
_this: this
_this: this,
prefix: '/foton'
}, res => {
if (true) {
resolve(res.data)
@@ -255,7 +257,10 @@ export default {
// 获取用户头像
getUserPic (attId) {
return new Promise((resolve, reject) => {
this.$http.get('/att/attFile/' + attId, {}, {_this: this}, res => {
this.$http.get('/att/attFile/' + attId, {}, {
_this: this,
prefix: '/foton'
}, res => {
resolve(res.data)
}, e => {
reject(e)
@@ -270,7 +275,8 @@ export default {
getMenu () {
return new Promise((resolve, reject) => {
this.$http.get('userMenu', {}, {
_this: this
_this: this,
prefix: '/foton'
}, res => {
if (res.ok) {
resolve(res.data)