Browse Source

增加提示

master
zhangyuan 3 years ago
parent
commit
f439166657
  1. 10
      src/views/modules/personroom/epidemicbuildingunit.vue

10
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(() => {})
},
//

Loading…
Cancel
Save