系统设置登录模块区分
This commit is contained in:
parent
f1ea06327d
commit
53a5b893cb
@ -420,7 +420,7 @@ export default {
|
||||
onChange1(val) {
|
||||
if (this.oldVal != '') {
|
||||
if (this.oldVal != this.form) {
|
||||
;(this.verificateBtn = false), (this.pass = true)
|
||||
; (this.verificateBtn = false), (this.pass = true)
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -437,7 +437,7 @@ export default {
|
||||
onFail() {
|
||||
this.msg = '验证失败'
|
||||
},
|
||||
onRefresh() {},
|
||||
onRefresh() { },
|
||||
getData() {
|
||||
getOneComputerAuthApi().then((res) => {
|
||||
if (res.result) {
|
||||
@ -446,8 +446,10 @@ export default {
|
||||
}
|
||||
})
|
||||
},
|
||||
getDetail() {
|
||||
selectSystemLogoConfigApi().then((res) => {
|
||||
getDetail(val) {
|
||||
selectSystemLogoConfigApi({
|
||||
headquartersSn: val
|
||||
}).then((res) => {
|
||||
if (res.result) {
|
||||
console.log('查看有没有背景图', res)
|
||||
console.log(window.location.protocol)
|
||||
@ -492,7 +494,6 @@ export default {
|
||||
})
|
||||
} else if (LOGINTYPE == 2) {
|
||||
console.log(2222222222222)
|
||||
|
||||
companyLoginApi(this.form).then((res) => {
|
||||
this.parseLoginData(res.result)
|
||||
})
|
||||
@ -574,6 +575,7 @@ export default {
|
||||
'Bearer' + ' ' + data.token
|
||||
this.$http.defaults.headers.common['operateId'] = data.userId
|
||||
this.$store.commit('setUserInfo', data)
|
||||
|
||||
var moduleList = data.menuAuthority.moduleList
|
||||
? data.menuAuthority.moduleList
|
||||
: []
|
||||
@ -685,6 +687,7 @@ export default {
|
||||
break
|
||||
}
|
||||
}
|
||||
this.getDetail(this.$store.state.userInfo.headquartersSn)
|
||||
this.selectMp3FileList()
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user