diff --git a/src/i18n/zh-CN.js b/src/i18n/zh-CN.js
index 917042f..8070c48 100644
--- a/src/i18n/zh-CN.js
+++ b/src/i18n/zh-CN.js
@@ -383,6 +383,8 @@ t.user.mobile = '手机号'
t.user.status = '状态'
t.user.status0 = '停用'
t.user.status1 = '正常'
+t.user.status2 = '拒绝访问'
+t.user.status3 = '允许访问'
t.user.createDate = '创建时间'
t.user.password = '密码'
t.user.comfirmPassword = '确认密码'
diff --git a/src/views/modules/epidemic/epidemicreportuserinfo.vue b/src/views/modules/epidemic/epidemicreportuserinfo.vue
index b17436b..3419710 100644
--- a/src/views/modules/epidemic/epidemicreportuserinfo.vue
+++ b/src/views/modules/epidemic/epidemicreportuserinfo.vue
@@ -956,7 +956,7 @@ export default {
exportHandle () {
this.checkMobile = ''
this.$http
- .get(`/custom/epidemicuserinfo/preCheckLoginUser`)
+ .get(`/sys/verificationfreeuser/preCheckLoginUser`)
.then(({ data: res }) => {
if (res.code > 1) {
return this.$message.error(res.msg)
@@ -964,9 +964,9 @@ export default {
// 需要向当前登录用户,发送短信验证码
if (res.code === 1) {
// 校验手机号格式
- var myreg=/^[1][0-9]{10}$/
+ var myreg = /^[1][0-9]{10}$/
if (!myreg.test(res.msg)) {
- return this.$message.error(res.msg + '手机号格式错误!')
+ return this.$message.error(res.msg + '手机号格式错误!')
}
this.checkMobile = res.msg
this.dialogVisibleSMS = true
@@ -987,9 +987,9 @@ export default {
window.location.href = `${window.SITE_CONFIG['apiURL']}${this.mixinViewModuleOptions.exportURL}?${params}`
},
// 发送验证码
- sendSMS() {
+ sendSMS () {
this.$http
- .get(`/custom/epidemicuserinfo/sendSMS`)
+ .get(`/sys/verificationfreeuser/sendSMS`)
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
@@ -999,7 +999,7 @@ export default {
},
postCheckSMSCode () {
this.$http
- .get(`/custom/epidemicuserinfo/postCheckSMSCode/${this.smsCode}`)
+ .get(`/sys/verificationfreeuser/postCheckSMSCode/${this.smsCode}`)
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
diff --git a/src/views/modules/sys/verificationfreeuser-add-or-update.vue b/src/views/modules/sys/verificationfreeuser-add-or-update.vue
new file mode 100644
index 0000000..43c0096
--- /dev/null
+++ b/src/views/modules/sys/verificationfreeuser-add-or-update.vue
@@ -0,0 +1,131 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ $t('cancel') }}
+ {{ $t('confirm') }}
+
+
+
+
+
diff --git a/src/views/modules/sys/verificationfreeuser.vue b/src/views/modules/sys/verificationfreeuser.vue
new file mode 100644
index 0000000..df92d30
--- /dev/null
+++ b/src/views/modules/sys/verificationfreeuser.vue
@@ -0,0 +1,116 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ $t('query') }}
+
+
+
+
+
+
+
+
+
+
+ {{ $t('user.status2') }}
+ {{ $t('user.status3') }}
+
+
+
+
+
+ 允许访问
+ 拒绝访问
+
+
+
+
+
+
+
+
+
+
+
+