diff --git a/src/assets/img/offshelf.png b/src/assets/img/offshelf.png new file mode 100644 index 0000000..a51a009 Binary files /dev/null and b/src/assets/img/offshelf.png differ diff --git a/src/components/common/Header.vue b/src/components/common/Header.vue index 783b921..edeacdf 100644 --- a/src/components/common/Header.vue +++ b/src/components/common/Header.vue @@ -36,16 +36,16 @@ export default { }, methods: { loginout() { - this.$router.push('/login') - this.$store.replaceState({}) - sessionStorage.clear() - // this.$get(this.api.logout,{ - // token:this.$store.state.token - // }).then(res => { - // this.$store.replaceState({}) - // sessionStorage.clear() - // this.$router.push('/login') - // }) + // this.$router.push('/login') + // this.$store.replaceState({}) + // sessionStorage.clear() + this.$get(this.api.logout,{ + token:this.$store.state.token + }).then(res => { + this.$store.replaceState({}) + sessionStorage.clear() + this.$router.push('/login') + }) }, toPersonalCenter(){ this.$router.push('/personalcenter') diff --git a/src/components/page/ClientLogin.vue b/src/components/page/ClientLogin.vue index 7efc8cb..c0059b3 100644 --- a/src/components/page/ClientLogin.vue +++ b/src/components/page/ClientLogin.vue @@ -204,8 +204,6 @@ export default { if(item.includes('type')){ let type = item.split('=') this.type = type[1] - console.log(this.type); - } }) if(this.type == '1'){ @@ -214,7 +212,6 @@ export default { } }, backIndex(){ - // this.$router.go(-1); this.$router.push('login'); }, getSchool(form) { diff --git a/src/components/page/Index.vue b/src/components/page/Index.vue index bac2fa5..c491be4 100644 --- a/src/components/page/Index.vue +++ b/src/components/page/Index.vue @@ -11,7 +11,7 @@
@@ -61,7 +61,6 @@ export default { }; }, mounted() { - // sessionStorage.removeItem('model') this.showChangePass() }, methods:{ diff --git a/src/components/page/Login.vue b/src/components/page/Login.vue index 62e7a69..6841ae1 100644 --- a/src/components/page/Login.vue +++ b/src/components/page/Login.vue @@ -74,7 +74,7 @@ export default { //校内人员认证 userAuth(){ - location.href = 'http://116.63.168.79/liuwanr/userInfo/loginSchoolPerson' + location.href = 'https://finance.uestc.cn/liuwanr/userInfo/loginSchoolPerson' }, accessNum(){ this.$get(this.api.getAccessNum).then(res =>{ @@ -84,12 +84,12 @@ export default { }).catch(err=>{}) }, toClient(){ - location.href = location.host.includes('116.63.168.79') ? 'http://116.63.168.79/kdclient/#/clientLogin?type=0' : 'http://122.9.154.146/kdclient/#/clientLogin?type=0' + location.href = location.host.includes('116.63.168.79') ? 'http://116.63.168.79/kdclient/#/clientLogin?type=0' : 'https://finance.uestc.cn/kdclient/#/clientLogin?type=0' // this.$router.push(`/clientLogin?type=0`) this.visiteShow = false }, toMang(){ - location.href = location.host.includes('116.63.168.79') ? 'http://116.63.168.79/kdserver/#/login' : 'http://122.9.154.146/kdserver/#/login' + location.href = location.host.includes('116.63.168.79') ? 'http://116.63.168.79/kdserver/#/login' : 'https://finance.uestc.cn/kdserver/#/login' }, toExpert(){ this.loadIns = Loading.service({ diff --git a/src/components/page/ProjectPattern.vue b/src/components/page/ProjectPattern.vue index d0efe4d..0929241 100644 --- a/src/components/page/ProjectPattern.vue +++ b/src/components/page/ProjectPattern.vue @@ -85,15 +85,6 @@ export default { }, toPrac(){ this.core.toSubSystem('','','',this.pattern) - // if(this.pattern == 2){ - // sessionStorage.setItem("model",this.pattern); - // this.core.toSubSystem('','','',0) - // }else if(this.pattern == 3){ - // sessionStorage.setItem("model",this.pattern); - // this.core.toSubSystem('','','',0) - // }else{ - // this.core.toSubSystem('','','',this.pattern) - // } }, toNext(index) { sessionStorage.setItem('pattern',this.pattern) diff --git a/src/components/page/Record.vue b/src/components/page/Record.vue index 68b9574..16e7cc6 100644 --- a/src/components/page/Record.vue +++ b/src/components/page/Record.vue @@ -70,10 +70,7 @@ export default { this.$get(`${this.api.fictitiousScore}/${this.userId}`, {}) .then(res => { this.overview = res.data - }) - .catch(err => { - console.log(err); - }); + }).catch(err => {}); } }, components: { diff --git a/src/components/page/RegisterForm.vue b/src/components/page/RegisterForm.vue index 10c3169..ffbbdf4 100644 --- a/src/components/page/RegisterForm.vue +++ b/src/components/page/RegisterForm.vue @@ -133,7 +133,7 @@ export default { methods: { //获取图形验证码 getVerificationCode(){ - this.verifyCode = `http://116.63.168.79/evaluation/tms/userInfo/getValidateCode?id=${Math.random()}` + this.verifyCode = `https://finance.uestc.cn/evaluation/tms/userInfo/getValidateCode?id=${Math.random()}` }, getProvince(){ this.$get(this.api.queryProvince).then(res => { diff --git a/src/components/page/ShowExperiment.vue b/src/components/page/ShowExperiment.vue index 7d1357b..7350f3c 100644 --- a/src/components/page/ShowExperiment.vue +++ b/src/components/page/ShowExperiment.vue @@ -324,7 +324,52 @@