From 84c4ad2961cc1f0728d76956d37f04bb0f0295d9 Mon Sep 17 00:00:00 2001 From: zhangyuan Date: Tue, 11 May 2021 15:44:19 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=9F=A5=E8=AF=A2=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6=E7=9A=84=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../epidemic/epidemicreportuserinfo.vue | 69 ++++++++++++------- 1 file changed, 45 insertions(+), 24 deletions(-) diff --git a/src/views/modules/epidemic/epidemicreportuserinfo.vue b/src/views/modules/epidemic/epidemicreportuserinfo.vue index a13b96b..6bc239c 100644 --- a/src/views/modules/epidemic/epidemicreportuserinfo.vue +++ b/src/views/modules/epidemic/epidemicreportuserinfo.vue @@ -35,17 +35,6 @@ @keyup.native="btKeyUpMobile" style="width:200px"> - - - - - - @@ -64,6 +53,18 @@ maxlength="20" style="width:200px"> + + + + + + - - - - - - + + + + + + + + + + + {{ $t('query') }} @@ -117,6 +118,11 @@ type="danger" @click="deleteHandle()">{{ $t('deleteBatch') }} + + 更新年龄 + { }) }, + updateAge () { + this.$http.get(`/sys/epidemicuserinfo/updateAge`).then(({ data: res }) => { + if (res.code !== 0) { + return this.$message.error(res.msg) + } else { + this.$message({ + message: '更新成功', + type: 'success', + duration: 1000 + }) + } + }).catch(() => { }) + }, // 乡镇取值变化事件 selectModel (event) { this.outStreetArr.find((item) => {