更新报告列表页面
This commit is contained in:
parent
3429a8bb27
commit
9b21dcf78e
|
|
@ -612,6 +612,10 @@ export default {
|
|||
} else {
|
||||
// 打印
|
||||
const printWindow = window.open('', '_blank');
|
||||
if (!printWindow) {
|
||||
this.$modal.msgError("无法打开打印窗口,请检查浏览器是否阻止了弹窗");
|
||||
return;
|
||||
}
|
||||
printWindow.document.write(reportHtml);
|
||||
printWindow.document.close();
|
||||
printWindow.focus();
|
||||
|
|
@ -693,6 +697,10 @@ export default {
|
|||
} else {
|
||||
// 打印
|
||||
const printWindow = window.open('', '_blank');
|
||||
if (!printWindow) {
|
||||
this.$modal.msgError("无法打开打印窗口,请检查浏览器是否阻止了弹窗");
|
||||
return;
|
||||
}
|
||||
printWindow.document.write(reportHtml);
|
||||
printWindow.document.close();
|
||||
printWindow.focus();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user