diff --git a/src/views/modules/epidemic/epidemicreportuserinfo.vue b/src/views/modules/epidemic/epidemicreportuserinfo.vue index 7d2bc1c..b592c73 100644 --- a/src/views/modules/epidemic/epidemicreportuserinfo.vue +++ b/src/views/modules/epidemic/epidemicreportuserinfo.vue @@ -283,6 +283,9 @@ 导入 + + 重置核酸检测状态 + { + const loading = this.$loading({ + lock: true, + fullscreen: true, + text: '操作中请稍后', + background:'rgba(0, 0, 0, 0.8)' + }); + + this.$http['post']('/custom/epidemicuserinfo/resetUserCheckState').then(({ data: res }) => { + if (res.code !== 0) { + return this.$message.error(res.msg) + } + this.$message({ + message: this.$t('prompt.success'), + type: 'success', + duration: 500, + onClose: () => { + loading.close(); + this.getDataList() + } + }) + }).catch(() => { + }) + + }).catch(() => { + + }); + }, importResult () { this.faultDataVisible = false this.getDataList() diff --git a/src/views/modules/epidemic/persontesting-add-or-update.vue b/src/views/modules/epidemic/persontesting-add-or-update.vue index cc7d9ad..fd33560 100644 --- a/src/views/modules/epidemic/persontesting-add-or-update.vue +++ b/src/views/modules/epidemic/persontesting-add-or-update.vue @@ -17,8 +17,8 @@ - - + + @@ -235,10 +235,10 @@ // 获取性别 if (parseInt(UUserCard.substr(16, 1)) % 2 === 1) { // 男 - return '1' + return '男' } else { // 女 - return '0' + return '女' } } },