|
@@ -140,23 +140,23 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
// 查询域名
|
|
|
- getlistDomain() {
|
|
|
- var sscDomain = document.location.hostname;
|
|
|
- this.loginForm.sscDomain = document.location.hostname;
|
|
|
- listSscDomain(sscDomain).then(response => {
|
|
|
- if(response && response.data.lenth > 0){
|
|
|
- const sscConfig = response.data[0].sscConfig;
|
|
|
- const companyId = response.data[0].sscCompanyId;
|
|
|
- console.log(companyId)
|
|
|
- const imgForm = JSON.parse(sscConfig);
|
|
|
- if(imgForm){
|
|
|
- this.BackgroundImg = imgForm.BackgroundImg;
|
|
|
- this.logo = imgForm.logo;
|
|
|
- }
|
|
|
- console.log(this.logo)
|
|
|
- }
|
|
|
- });
|
|
|
- },
|
|
|
+ // getlistDomain() {
|
|
|
+ // var sscDomain = document.location.hostname;
|
|
|
+ // this.loginForm.sscDomain = document.location.hostname;
|
|
|
+ // listSscDomain(sscDomain).then(response => {
|
|
|
+ // if(response && response.data.lenth > 0){
|
|
|
+ // const sscConfig = response.data[0].sscConfig;
|
|
|
+ // const companyId = response.data[0].sscCompanyId;
|
|
|
+ // console.log(companyId)
|
|
|
+ // const imgForm = JSON.parse(sscConfig);
|
|
|
+ // if(imgForm){
|
|
|
+ // this.BackgroundImg = imgForm.BackgroundImg;
|
|
|
+ // this.logo = imgForm.logo;
|
|
|
+ // }
|
|
|
+ // console.log(this.logo)
|
|
|
+ // }
|
|
|
+ // });
|
|
|
+ // },
|
|
|
|
|
|
handleLogin() {
|
|
|
this.$refs.loginForm.validate((valid) => {
|