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(() => {}) }, // 下载文件