Browse Source

户籍地问题 导出不需要验证码

master
mk 3 months ago
parent
commit
2e4d3ac9eb
  1. 54
      src/views/modules/epidemic/epidemicreportuserinfo.vue

54
src/views/modules/epidemic/epidemicreportuserinfo.vue

@ -600,12 +600,11 @@
align="center" align="center"
width="150"></el-table-column> width="150"></el-table-column>
<el-table-column prop="householdRegisterName" <el-table-column prop="householdRegisterName"
label="户籍地"> label="户籍地" header-align="center"
header-align="center"
align="center" align="center"
width="150"></el-table-column> >
</el-table-column>
<el-table-column prop="hushaiStatus" <el-table-column prop="hushaiStatus"
label="户籍状态" label="户籍状态"
header-align="center" header-align="center"
@ -1332,29 +1331,30 @@ export default {
exportHandle () { exportHandle () {
this.checkMobile = '' this.checkMobile = ''
this.smsCode = '' this.smsCode = ''
this.$http this.downloadExport()
.get(`/sys/verificationfreeuser/preCheckLoginUser`) // this.$http
.then(({ data: res }) => { // .get(`/sys/verificationfreeuser/preCheckLoginUser`)
if (res.code > 1) { // .then(({ data: res }) => {
return this.$message.error(res.msg) // if (res.code > 1) {
} // return this.$message.error(res.msg)
// // }
if (res.code === 1) { // //
// // if (res.code === 1) {
var myreg = /^[1][0-9]{10}$/ // //
if (!myreg.test(res.msg)) { // var myreg = /^[1][0-9]{10}$/
return this.$message.error(res.msg + '手机号格式错误!') // if (!myreg.test(res.msg)) {
} // return this.$message.error(res.msg + '')
// **** // }
this.checkMobile = res.msg.replace(res.msg.substring(3, 7), '****') // // ****
this.dialogVisibleSMS = true // this.checkMobile = res.msg.replace(res.msg.substring(3, 7), '****')
} // this.dialogVisibleSMS = true
if (res.code === 0) { // }
// // if (res.code === 0) {
this.downloadExport() // //
} // this.downloadExport()
}) // }
.catch(() => { }) // })
// .catch(() => { })
}, },
// //
downloadExport () { downloadExport () {

Loading…
Cancel
Save