|
|
@ -600,12 +600,11 @@ |
|
|
|
align="center" |
|
|
|
width="150"></el-table-column> |
|
|
|
|
|
|
|
|
|
|
|
<el-table-column prop="householdRegisterName" |
|
|
|
label="户籍地"> |
|
|
|
header-align="center" |
|
|
|
label="户籍地" header-align="center" |
|
|
|
align="center" |
|
|
|
width="150"></el-table-column> |
|
|
|
> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="hushaiStatus" |
|
|
|
label="户籍状态" |
|
|
|
header-align="center" |
|
|
@ -1332,29 +1331,30 @@ export default { |
|
|
|
exportHandle () { |
|
|
|
this.checkMobile = '' |
|
|
|
this.smsCode = '' |
|
|
|
this.$http |
|
|
|
.get(`/sys/verificationfreeuser/preCheckLoginUser`) |
|
|
|
.then(({ data: res }) => { |
|
|
|
if (res.code > 1) { |
|
|
|
return this.$message.error(res.msg) |
|
|
|
} |
|
|
|
// 需要向当前登录用户,发送短信验证码 |
|
|
|
if (res.code === 1) { |
|
|
|
// 校验手机号格式 |
|
|
|
var myreg = /^[1][0-9]{10}$/ |
|
|
|
if (!myreg.test(res.msg)) { |
|
|
|
return this.$message.error(res.msg + '手机号格式错误!') |
|
|
|
} |
|
|
|
// 手机号****处理 |
|
|
|
this.checkMobile = res.msg.replace(res.msg.substring(3, 7), '****') |
|
|
|
this.dialogVisibleSMS = true |
|
|
|
} |
|
|
|
if (res.code === 0) { |
|
|
|
// 无需发送验证码,直接下载 |
|
|
|
this.downloadExport() |
|
|
|
} |
|
|
|
}) |
|
|
|
.catch(() => { }) |
|
|
|
this.downloadExport() |
|
|
|
// this.$http |
|
|
|
// .get(`/sys/verificationfreeuser/preCheckLoginUser`) |
|
|
|
// .then(({ data: res }) => { |
|
|
|
// if (res.code > 1) { |
|
|
|
// return this.$message.error(res.msg) |
|
|
|
// } |
|
|
|
// // 需要向当前登录用户,发送短信验证码 |
|
|
|
// if (res.code === 1) { |
|
|
|
// // 校验手机号格式 |
|
|
|
// var myreg = /^[1][0-9]{10}$/ |
|
|
|
// if (!myreg.test(res.msg)) { |
|
|
|
// return this.$message.error(res.msg + '手机号格式错误!') |
|
|
|
// } |
|
|
|
// // 手机号****处理 |
|
|
|
// this.checkMobile = res.msg.replace(res.msg.substring(3, 7), '****') |
|
|
|
// this.dialogVisibleSMS = true |
|
|
|
// } |
|
|
|
// if (res.code === 0) { |
|
|
|
// // 无需发送验证码,直接下载 |
|
|
|
// this.downloadExport() |
|
|
|
// } |
|
|
|
// }) |
|
|
|
// .catch(() => { }) |
|
|
|
}, |
|
|
|
// 隐私数据下载 |
|
|
|
downloadExport () { |
|
|
|