| | |
| | | type="text" |
| | | size="mini" |
| | | @click=" |
| | | dialogVisible = true; |
| | | viewReport(scope.row); |
| | | " |
| | | v-if="scope.row.tjStatus == '1'" |
| | |
| | | > |
| | | <caption style="background-color: #f8f8f9"> |
| | | {{ |
| | | item.parent |
| | | item.parent || "" |
| | | }} |
| | | </caption> |
| | | <tr |
| | |
| | | border-collapse: collapse; |
| | | width: 200px; |
| | | " |
| | | v-if="item1.project != null" |
| | | > |
| | | {{ item1.project.proName }} |
| | | {{ item1.project.proName || "" }} |
| | | </td> |
| | | <td |
| | | style=" |
| | | border: 1px solid #dfe6ec; |
| | | border-collapse: collapse; |
| | | width: 200px; |
| | | " |
| | | v-else |
| | | > |
| | | {{ "" }} |
| | | </td> |
| | | <td |
| | | style=" |
| | |
| | | page: 1, |
| | | pageSize: 10, |
| | | tjNumber: "", |
| | | checkStatus: "", |
| | | beginTime: null, |
| | | endTime: null, |
| | | compId: null, |
| | | name: null, |
| | | checkStatus:null, |
| | | }, |
| | | |
| | | // 查询参数 |
| | |
| | | const flag = true; |
| | | getPdf(tjNumber, flag).then((response) => { |
| | | if (response.size === 0) { |
| | | this.$message.error("该用户体检报告暂未完成!"); |
| | | this.dialogVisible = false; |
| | | const loading = this.$loading({ |
| | | lock: true, |
| | | text: 'Loading', |
| | | spinner: 'el-icon-loading', |
| | | background: 'rgba(0, 0, 0, 0.7)' |
| | | }); |
| | | setTimeout(() => { |
| | | loading.close(); |
| | | }, 3000); |
| | | this.$message.msgSuccess("报告正在生成,请两分钟后预览!"); |
| | | |
| | | } else { |
| | | this.dialogVisible = true; |
| | | |
| | | this.url = window.webkitURL.createObjectURL(response); //将后端返回的blob文件读取出url |
| | | } |
| | | }); |
| | |
| | | // 搜索 |
| | | submitForm() { |
| | | this.queryParams.compId = this.CheckBox.drugManufacturerId; |
| | | this.queryParams.checkStatus = null; |
| | | this.queryParams.checkStatus = this.tjStatus; |
| | | if (this.startTime) { |
| | | this.queryParams.beginTime = this.startTime[0]; |
| | | this.queryParams.endTime = this.startTime[1]; |
| | |
| | | id: this.MsgId, |
| | | }; |
| | | gettoPdf(tjNumber).then((res) => { |
| | | this.$modal.msgSuccess("已生成报告!请前往体检记录页面查看!"); |
| | | this.$modal.msgSuccess("已生成报告!请前往报告核收页面确认!"); |
| | | }); |
| | | getfiedState(data).then((res) => { |
| | | this.drawer = false; |