huangb 6 éve
szülő
commit
ee75e3a4c0
2 módosított fájl, 5 hozzáadás és 11 törlés
  1. 4 10
      pages/sassLogin/index.vue
  2. 1 1
      pages/sassLogin/register.vue

+ 4 - 10
pages/sassLogin/index.vue

@@ -47,11 +47,9 @@
               </el-form-item>
             </el-form>
             <div class="link-go">
-              <a @click="changeManage" class="first">更换管理员</a>
-              <span class="line"></span>
               <a class="forget" id='forget' @click="goForgetPassword">忘记密码?</a>
               <span class="line"></span>
-              <a :href="`/register/enterpriseRegistration${this.queryLink ? '?' + this.queryLink : ''}`" class="second">免费注册</a>
+              <a :href="`/sassLogin/register${this.queryLink ? '?' + this.queryLink : ''}`" class="second">免费注册</a>
             </div>
           </div>
         </div>
@@ -76,9 +74,7 @@
               </el-form-item>
             </el-form>
             <div class="link-go">
-              <a @click="changeManage" class="first">更换管理员</a>
-              <span class="line"></span>
-              <a :href="`/register/enterpriseRegistration${this.queryLink ? '?' + this.queryLink : ''}`" class="second">免费注册</a>
+              <a :href="`/sassLogin/register${this.queryLink ? '?' + this.queryLink : ''}`" class="second">免费注册</a>
             </div>
           </div>
         </div>
@@ -91,9 +87,7 @@
               </div>
             </div>
             <div class="link-go" style="padding: 0 18px 12px 0; margin-top: 0;">
-              <a @click="changeManage" class="first">更换管理员</a>
-              <span class="line"></span>
-              <a :href="`/register/enterpriseRegistration${this.queryLink ? '?' + this.queryLink : ''}`" class="second">免费注册</a>
+              <a :href="`/sassLogin/register${this.queryLink ? '?' + this.queryLink : ''}`" class="second">免费注册</a>
             </div>
           </div>
         </div>
@@ -127,7 +121,7 @@
                   </el-form-item>
                 </el-form>
               </div>
-              <div class="set">还没有优软账号,直接 <a :href="`/register/enterpriseRegistration${this.$store.state.option.fullPath}&tk=${wxToken}`">创建新账号</a></div>
+              <div class="set">还没有优软账号,直接 <a :href="`/sassLogin/register${this.$store.state.option.fullPath}&tk=${wxToken}`">创建新账号</a></div>
             </div>
           </div>
         </div>

+ 1 - 1
pages/sassLogin/register.vue

@@ -244,7 +244,7 @@
         var url = window.location.search
         var request = {}
         var origin = window.location.origin
-        this.returnLogin = origin + url
+        this.returnLogin = origin + '/sassLogin' + url
         if (url.indexOf('?' !== -1)) {
           var str = url.substr(1)
           var strs = str.split('&')