| | |
| | | </span> |
| | | </el-dialog> |
| | | <Packages ref="bbb" :baogao="baogao" /> |
| | | |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | getState, |
| | | getforceIn, |
| | | gettoPdf, |
| | | getModified, |
| | | getModified, isPdfOrJimu |
| | | } from "@/api/doctor/checkAll"; |
| | | import { getInfoById } from "@/api/hosp/history"; |
| | | import { getInfo } from "@/api/login"; |
| | |
| | | |
| | | viewReport(row) { |
| | | const tjNumber = row.tjNumber; |
| | | isPdfOrJimu(tjNumber).then((response) => { |
| | | if (response.data.flag == "0") { |
| | | const flag = true; |
| | | getPdf(tjNumber, flag).then((response) => { |
| | | if (response.size === 0) { |
| | |
| | | this.url = window.webkitURL.createObjectURL(response); //将后端返回的blob文件读取出url |
| | | } |
| | | }); |
| | | } else { |
| | | let url = response.data.url |
| | | const params = { url }; |
| | | this.$tab.openPage("健康证检查表", "/report/zongjianjiankangzheng", params); |
| | | } |
| | | }) |
| | | |
| | | }, |
| | | |
| | | Graphicreport() { |