fix(existRealName): 实名认证阅读协议逻辑去除

This commit is contained in:
woody 2025-05-08 14:07:23 +08:00
parent 115e3395a2
commit f2e09e5d93
1 changed files with 14 additions and 21 deletions

View File

@ -387,27 +387,20 @@ export default {
saveData() { saveData() {
this.$refs["smform"].validate((valid) => { this.$refs["smform"].validate((valid) => {
if (valid) { if (valid) {
if (this.toShow == false) { wal
this.$message({ .addAuthentication(this.smform)
message: "请阅读推广人员服务协议", .then((res) => {
type: "warning", if (res.code == 200) {
this.$message({
message: res.msg,
type: "success",
});
this.getDetail();
}
})
.catch((err) => {
this.beginTime = 0;
}); });
} else {
wal
.addAuthentication(this.smform)
.then((res) => {
if (res.code == 200) {
this.$message({
message: res.msg,
type: "success",
});
this.getDetail();
}
})
.catch((err) => {
this.beginTime = 0;
});
}
} else { } else {
return false; return false;
} }
@ -433,7 +426,7 @@ export default {
margin: 30px 0; margin: 30px 0;
} }
.hqyzm1 { .hqyzm1 {
color: #d5251d; color: var(--primary-color);
cursor: pointer; cursor: pointer;
} }
.hui { .hui {