From f439166657b9e29403b7bad19708c34a0a9a2b56 Mon Sep 17 00:00:00 2001 From: zhangyuan Date: Wed, 15 Jun 2022 10:51:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/personroom/epidemicbuildingunit.vue | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/views/modules/personroom/epidemicbuildingunit.vue b/src/views/modules/personroom/epidemicbuildingunit.vue index a3d8a09..a0ac7c9 100644 --- a/src/views/modules/personroom/epidemicbuildingunit.vue +++ b/src/views/modules/personroom/epidemicbuildingunit.vue @@ -299,12 +299,20 @@ export default { return this.$message.error(res.msg) } }).catch(() => {}) + this.$message({ + type: 'success', + message: '更新成功' + }); }, updateMaUrl () { this.$http.post(`/custom/epidemicbuildingunit/createBatchHouseCodeAndUrl`).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } + this.$message({ + type: 'success', + message: '批量生成成功' + }); }).catch(() => {}) }, downloadUrl () { @@ -318,7 +326,7 @@ export default { return this.$message.error("下载失败,请联系关系管理员") } let title = '一户一码' - this.download(res, title + '.Zip') + this.download(res, title + '.zip') }).catch(() => {}) }, // 下载文件