Commit 66940518 authored by 吴冠's avatar 吴冠

更新

parent c34c1ea6
......@@ -6,6 +6,7 @@
<div v-if="code==502">
<h1>对不起,你没有通过审核!</h1>
<!-- <div class="sty">{{msg}}</div> -->
<button class=" nextButton" @click="changeInfo">修改注册信息</button>
</div>
</div>
</template>
......@@ -21,11 +22,16 @@ export default {
},
data(){
return{
code:'',
code:'502',
msg:""
}
},
methods:{
//点击修改返回之前页面
changeInfo(){
Cookies.set("auditStatus",1)
this.$router.push("/examine")
}
/* async powerLogin(){
const {data,code,msg} = await powerLogin()
console.log(data)
......@@ -39,6 +45,17 @@ export default {
</script>
<style scoped>
.nextButton {
width: 3rem;
height: 0.48rem;
background: rgba(4, 134, 254, 1);
border-radius: 0.04rem;
line-height: 0.46rem;
margin-top: 0.45rem;
margin-bottom: 0.8rem;
color: #fff;
cursor: pointer;
}
.home{
width:100%;
height:200px;
......@@ -63,7 +80,8 @@ h1{
margin-bottom: 0.8rem;
color: #fff;
cursor: pointer;
position: relative;
left:50%
}
</style>
\ No newline at end of file
......@@ -667,6 +667,7 @@ import Upload from "~/components/Upload/Upload";
import imgUpload from "~/components/Upload/imgUpload";
import Identify from "~/components/identify";
import citySelect from "~/components/citySelect";
import Cookies from "js-cookie"
export default {
components: {
Identify,
......@@ -681,6 +682,10 @@ export default {
this.getCompanyNatureList();
/* this.powerLogin() */
// this.getCordimg();
//如果是来自于auditStatus状态的话 说明有错误信息 重新把用户输入的信息自动填充
if(Cookies.get("auditStatus")=="1"){
this.perfectForm = Cookies.get("dataform")
}
},
data() {
// 测试省份
......@@ -766,7 +771,7 @@ export default {
//身份证号校验
let validateRealId = (rule, value, callback) => {
const realnameReg = /(^\d{15}$)|(^\d{17}([0-9]|X|x)$)/;
const realnameReg = /(^\d{17}([0-9]|X|x)$)/;
if (!realnameReg.test(value)) {
return callback(new Error("您的输入有误,请重新输入!"));
} else {
......@@ -1193,6 +1198,8 @@ export default {
if (code === 200) {
this.$message.success(msg);
this.active++;
//储存步骤二数据
Cookies.set("dataform",this.perfectForm)
}else{
this.$message.error(error)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment