瓶中沙 2024-08-15 15:00:46 +08:00
parent d903cd1544
commit f3f55d2c88
1 changed files with 4 additions and 4 deletions

View File

@ -79,10 +79,10 @@ export default {
point_name: props.formData.point_name, point_name: props.formData.point_name,
} }
const res = await infoApi.exportHis(parm); const res = await infoApi.exportHis(parm);
if (res.code == 0) {
ElMessage.success(res.message || "请求成功"); const url = window.URL.createObjectURL(new Blob([res]));
ctx.emit("dialogClose");
} window.open(url);
} }
const clearHis = async () => { const clearHis = async () => {
const parm = { const parm = {