Browse Source

跳转更改

lrf402788946 5 years ago
parent
commit
3f93478b1e

+ 1 - 1
src/components/test-user.vue

@@ -31,7 +31,7 @@ export default {
       let way = type === 'corp' ? 'corp' : 'stud';
       let way = type === 'corp' ? 'corp' : 'stud';
       sessionStorage.setItem('type', way);
       sessionStorage.setItem('type', way);
       let openid = type === 'stud' ? 'ocPqjswkUejZHq2ANriNrFFC7A3I' : type === 'out' ? 'teststud1' : '13089419810';
       let openid = type === 'stud' ? 'ocPqjswkUejZHq2ANriNrFFC7A3I' : type === 'out' ? 'teststud1' : '13089419810';
-      window.location.href = `/wxtoken/auth?test=${openid}&redirect_uri=${window.location.href}`; //学生:省外=>teststud1;省内=>lrf402788946:openid:ocPqjswkUejZHq2ANriNrFFC7A3I  企业:13089419810,testcorp1
+      window.location.href = `wxtoken/auth?test=${openid}&redirect_uri=${window.location.href}`; //学生:省外=>teststud1;省内=>lrf402788946:openid:ocPqjswkUejZHq2ANriNrFFC7A3I  企业:13089419810,testcorp1
     },
     },
   },
   },
 };
 };

+ 1 - 1
src/pages/corp/views/index.vue

@@ -25,7 +25,7 @@ export default {
   computed: {},
   computed: {},
   methods: {
   methods: {
     back() {
     back() {
-      window.location.href = '/';
+      window.location.href = 'index.html';
     },
     },
   },
   },
 };
 };

+ 1 - 2
src/pages/jobfairList/views/list.vue

@@ -127,8 +127,7 @@ export default {
       }
       }
     },
     },
     link(id) {
     link(id) {
-      // window.location.href = '/jobfair.html#/?id=' + id;
-      window.location.href = `/jobfair.html#/?id=${id}`;
+      window.location.href = `jobfair.html#/?id=${id}`;
     },
     },
   },
   },
 };
 };

+ 1 - 2
src/pages/jobinfoList/views/list.vue

@@ -197,8 +197,7 @@ export default {
       this.search();
       this.search();
     },
     },
     link(id) {
     link(id) {
-      // window.location.href = '/jobfair.html#/?id=' + id;
-      window.location.href = `/jobinfo.html#/?id=${id}`;
+      window.location.href = `jobinfo.html#/?id=${id}`;
     },
     },
     changeTag(tag, value) {
     changeTag(tag, value) {
       this.$set(this.tags, `${tag}`, value);
       this.$set(this.tags, `${tag}`, value);

+ 1 - 1
src/pages/register/views/loginCom.vue

@@ -46,7 +46,7 @@ export default {
       if (`${result.errcode}` === '0') {
       if (`${result.errcode}` === '0') {
         let info = jwt.decode(result.data);
         let info = jwt.decode(result.data);
         this.setUser(info);
         this.setUser(info);
-        window.location.href = '/corp.html#/';
+        window.location.href = 'corp.html#/';
       }
       }
     },
     },
   },
   },

+ 1 - 1
src/pages/register/views/loginStu.vue

@@ -52,7 +52,7 @@ export default {
       if (`${result.errcode}` === '0') {
       if (`${result.errcode}` === '0') {
         let info = jwt.decode(result.data);
         let info = jwt.decode(result.data);
         this.setUser(info);
         this.setUser(info);
-        window.location.href = '/student.html#/';
+        window.location.href = 'student.html#/';
       }
       }
     },
     },
   },
   },

+ 1 - 1
src/pages/student/views/index.vue

@@ -47,7 +47,7 @@ export default {
   },
   },
   methods: {
   methods: {
     back() {
     back() {
-      window.location.href = '/';
+      window.location.href = 'index.html';
     },
     },
   },
   },
 };
 };

+ 1 - 2
src/pages/talkList/views/list.vue

@@ -141,8 +141,7 @@ export default {
       }
       }
     },
     },
     link(id) {
     link(id) {
-      // window.location.href = '/jobfair.html#/?id=' + id;
-      window.location.href = `/talk.html#/?id=${id}`;
+      window.location.href = `talk.html#/?id=${id}`;
     },
     },
     toggle: function() {
     toggle: function() {
       this.isVisible2 = !this.isVisible2;
       this.isVisible2 = !this.isVisible2;