Commit 1cedf6a1 authored by 5359's avatar 5359

增加用户注册校验和注册信息清除

parent 6fc060d8
Pipeline #6288 canceled with stages
...@@ -3,11 +3,11 @@ ...@@ -3,11 +3,11 @@
<h-content v-if="status != '成功'"> <h-content v-if="status != '成功'">
<list-item class="reg-content"> <list-item class="reg-content">
<!-- <div class="repre-type" v-if="faceAuthStatus != 'SUCCESS'"> <!-- <div class="repre-type" v-if="faceAuthStatus != 'SUCCESS'">
<input type="radio" name="agent" v-model="agentType" @change="isAgent" value="Y" /> <input type="radio" name="agent" v-model="agentType" @change="isAgent" value="Y" />
代理店 代理店
<input <input
style="margin-left:32px" style="margin-left:32px"
type="radio" type="radio"
...@@ -230,6 +230,13 @@ ...@@ -230,6 +230,13 @@
left: 50%;" left: 50%;"
@click="next_step()" @click="next_step()"
>下一步</button> >下一步</button>
<p/>
<button v-if="showStatus== 1"
@click="go_forword()"
class="next-step"
style="margin-top:20px"
>退出
</button>
</div> </div>
<!-- 组织其他员工 --> <!-- 组织其他员工 -->
...@@ -421,6 +428,13 @@ ...@@ -421,6 +428,13 @@
</div> </div>
</div> </div>
<button class="next-step" @click="next_step_oth()">下一步</button> <button class="next-step" @click="next_step_oth()">下一步</button>
<p/>
<button v-if="showStatus== 1"
@click="go_forword()"
class="next-step"
style="margin-top:20px"
>退出
</button>
</div> </div>
</list-item> </list-item>
</h-content> </h-content>
...@@ -766,7 +780,8 @@ export default { ...@@ -766,7 +780,8 @@ export default {
faceAuthStatus: "", faceAuthStatus: "",
orgAuthStatus: "", orgAuthStatus: "",
authAttachmentId: "", authAttachmentId: "",
authOrgAttachmentId: "" authOrgAttachmentId: "",
showStatus: "",
}; };
}, },
...@@ -1190,6 +1205,27 @@ export default { ...@@ -1190,6 +1205,27 @@ export default {
} }
}); });
}, },
// 退出
go_forword() {
let vm = this;
let url = process.env.rootPath + "/accounts/outerAccounts/delete";
let param = {
openId: window.localStorage.openId
};
vm.hlsPopup.showLoading("请稍等");
vm.$post(url, param).then(function (res) {
vm.hlsPopup.hideLoading();
if (res.code == 0) {
vm.$vux.toast.text(res.message, "middle");
window.open(
"http://lease.hitachics.com/www/#/UserRegister",
"_self"
);
} else {
vm.$vux.toast.text(res.message, "middle");
}
});
},
// 认证结果返回给接口 // 认证结果返回给接口
authResult(id, code, suc) { authResult(id, code, suc) {
let vm = this; let vm = this;
...@@ -1242,6 +1278,7 @@ export default { ...@@ -1242,6 +1278,7 @@ export default {
vm.faceAuthStatus = data.faceAuthStatus; vm.faceAuthStatus = data.faceAuthStatus;
vm.orgAuthStatus = data.orgAuthStatus; vm.orgAuthStatus = data.orgAuthStatus;
vm.agentType = data.dealerFlag ? data.dealerFlag : "Y"; vm.agentType = data.dealerFlag ? data.dealerFlag : "Y";
vm.showStatus = "1";
if (data.ctitype == 2) { if (data.ctitype == 2) {
if (data.agentType == 1) { if (data.agentType == 1) {
//法定代表人 //法定代表人
......
...@@ -40,7 +40,7 @@ export default { ...@@ -40,7 +40,7 @@ export default {
isClick2: false, isClick2: false,
isHighLight: true, isHighLight: true,
isHighLight1: true, isHighLight1: true,
isReadOnlyPersonal: true, isReadOnlyPersonal: false,
isReadOnlyCompany: false, isReadOnlyCompany: false,
userInfo: null, userInfo: null,
userInfo1: null, userInfo1: null,
......
This diff is collapsed.
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