|
|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<div class="sign-new">
|
|
|
- <div v-if="curStep_show">
|
|
|
+ <div>
|
|
|
<h6 class="sign-new-title">签约成为远程工作者</h6>
|
|
|
<div class="sign-new-main">
|
|
|
<!-- 进度条 -->
|
|
|
@@ -84,11 +84,6 @@ export default {
|
|
|
async mounted() {
|
|
|
this.setFrom();
|
|
|
this.userInfo=await this.needLogin();
|
|
|
- if(this.userInfo.realname_verify_status==2 && this.curStep==1)
|
|
|
- {
|
|
|
- this.curStep=2;
|
|
|
- }
|
|
|
- this.curStep_show=true;
|
|
|
},
|
|
|
methods: {
|
|
|
nextStep() {
|
|
|
@@ -105,7 +100,6 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
async signNow() {
|
|
|
- this.cnzz("签约", "签约页面+申请签约点击", "");
|
|
|
let res = await this.$axios.$post(`/api/user/sign`);
|
|
|
if (res.status === 1) {
|
|
|
this.$message.success(res.info);
|
|
|
@@ -119,7 +113,6 @@ export default {
|
|
|
setFrom() {
|
|
|
let doc = "";
|
|
|
let from = this.$route.query.from || this.$route.params.from;
|
|
|
- console.log("run setFrom: ", from);
|
|
|
switch (from) {
|
|
|
case "wo_intro":
|
|
|
doc = document.getElementById("profile");
|
|
|
@@ -137,7 +130,6 @@ export default {
|
|
|
doc = document.getElementById("works");
|
|
|
break;
|
|
|
}
|
|
|
- console.log("执行!!!!");
|
|
|
if (doc) {
|
|
|
setTimeout(() => {
|
|
|
doc.scrollIntoView();
|
|
|
@@ -145,7 +137,6 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
jumpToCredit() {
|
|
|
- this.cnzz("签约", "签约页面+申请签约", "确认");
|
|
|
location.href = "/credit/pages";
|
|
|
},
|
|
|
onToastClose() {
|