|
@@ -30,9 +30,10 @@
|
|
|
></el-input>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
- <!-- <div style="display: flex; justify-content: flex-end">
|
|
|
- <el-button type="text" @click="goTo('/register')">立即注册</el-button>
|
|
|
- </div> -->
|
|
|
+ <div style="display: flex; justify-content: flex-end">
|
|
|
+ <el-button type="text" @click="noRegister">立即注册</el-button>
|
|
|
+ <!-- @click="goTo('/register')" -->
|
|
|
+ </div>
|
|
|
<div class="login_button">
|
|
|
<button @click="findPhone()">登录</button>
|
|
|
</div>
|
|
@@ -309,11 +310,11 @@ export default {
|
|
|
_this.$store.commit("update", ["userInfo", _this.userInfo]);
|
|
|
if (isU == 1) {
|
|
|
this.$router.push("/eventCenter?steps=" + "2");
|
|
|
- }else if(isU == 2 || isU == 4){
|
|
|
+ } else if (isU == 2 || isU == 4) {
|
|
|
this.$router.push("/anliList");
|
|
|
- }else if(isU == 5 || isU == 6){
|
|
|
+ } else if (isU == 5 || isU == 6) {
|
|
|
this.$router.push("/anliList1");
|
|
|
- }else if(isU == 3){
|
|
|
+ } else if (isU == 3) {
|
|
|
this.$router.push("/anliList2");
|
|
|
}
|
|
|
// console.log(_this.$store.state);
|
|
@@ -352,6 +353,12 @@ export default {
|
|
|
console.error(err);
|
|
|
});
|
|
|
},
|
|
|
+ noRegister() {
|
|
|
+ this.$message({
|
|
|
+ message: "暂未开放注册,提交资料请与各地区负责人联系。",
|
|
|
+ type: "warning",
|
|
|
+ });
|
|
|
+ },
|
|
|
},
|
|
|
};
|
|
|
</script>
|