代码调整
This commit is contained in:
parent
751ff10406
commit
98ed313a1d
@ -28,7 +28,7 @@ export function getBackProjectConfigById(id) {
|
||||
/** 通过code获取后端项目配置 */
|
||||
export function getBackProjectConfigByCode(code) {
|
||||
return request({
|
||||
url: `/api/project/code/{code}`,
|
||||
url: `/api/project/code/${code}`,
|
||||
method: 'get'
|
||||
});
|
||||
}
|
||||
|
@ -91,7 +91,6 @@ export default {
|
||||
this.backProject = response.data.project;
|
||||
// loginProLogoHeight
|
||||
const {showBackPic, wechatLogin, aboutSystem, baseDevelopment, browserTitle, homeTitle, caseShow,
|
||||
containDevice, deviceRelatedMap, deviceRelatedFunction,
|
||||
loginProtitle, loginProLogoWidth, loginOrgTitle, localProject, homeProLogoWidth, loginProLogo} = response.data.viewSetting;
|
||||
this.showBackPic = showBackPic;
|
||||
this.wechatLogin = wechatLogin;
|
||||
@ -109,12 +108,14 @@ export default {
|
||||
this.$store.dispatch('setLoginProLogo', this.loginProLogo);
|
||||
this.$store.dispatch('setHomeTitle', homeTitle);
|
||||
this.$store.dispatch('setCaseShow', caseShow);
|
||||
this.$store.dispatch('setDeviceRelated', {containDevice:containDevice, deviceRelatedMap:deviceRelatedMap, deviceRelatedFunction:deviceRelatedFunction});
|
||||
// this.$store.dispatch('setCaseShow', caseShow);
|
||||
this.loadedConfig = true;
|
||||
// helpShow
|
||||
// 登录页 是否显示联系方式 loginContectInformation false
|
||||
setSessionStorage('project', this.project);
|
||||
if (this.syncLogin) {
|
||||
this.deviceRelatedLogin();
|
||||
}
|
||||
}
|
||||
}).catch(() => {
|
||||
this.$messageBox('无效的登录路径,请查证路径后重试!');
|
||||
@ -133,6 +134,9 @@ export default {
|
||||
},
|
||||
selectOrgnization(orgId) {
|
||||
this.$refs.normalLogin.selectOrg(orgId);
|
||||
},
|
||||
deviceRelatedLogin() {
|
||||
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user