| | |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | v-if="orgname != '景宁畲族自治县人民医院'" |
| | | label="成功率" |
| | | align="center" |
| | | width="120" |
| | |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | v-if="orgname != '景宁畲族自治县人民医院'" |
| | | label="成功率" |
| | | align="center" |
| | | width="120" |
| | |
| | | |
| | | delete params.leavehospitaldistrictcodes.all; |
| | | delete params.deptcodes.all; |
| | | params.rateDay = 7; |
| | | params.rateDay = this.orgname == "龙泉市人民医院" ? 21 : 7; |
| | | |
| | | getSfStatistics(params) |
| | | .then((response) => { |
| | |
| | | "el-tooltip", |
| | | { |
| | | props: { |
| | | content: "(应随访时间+任务周期)小于完成时间即为超时;(需随访-超时)/需随访", |
| | | content: |
| | | "(出院时间+任务周期)小于完成时间即为超时;(需随访-超时)/需随访", |
| | | placement: "top", |
| | | effect: "dark", |
| | | }, |
| | |
| | | |
| | | if (!row.doctorStats) { |
| | | this.loading = true; |
| | | params.rateDay = 7; |
| | | params.rateDay = this.orgname == "龙泉市人民医院" ? 21 : 7; |
| | | |
| | | getSfStatistics(params).then((res) => { |
| | | this.$set(row, "doctorStats", res.data); |
| | |
| | | const worksheet = workbook.addWorksheet(worksheetName); |
| | | |
| | | // 构建表格 |
| | | this.buildExportSheet(worksheet, sheetNameSuffix); |
| | | this.buildExportSheet(worksheet, sheetNameSuffix, serviceTypeName); |
| | | |
| | | const buffer = await workbook.xlsx.writeBuffer(); |
| | | const blob = new Blob([buffer], { |
| | |
| | | |
| | | return sums; |
| | | }, |
| | | buildExportSheet(worksheet, sheetNameSuffix) { |
| | | buildExportSheet(worksheet, sheetNameSuffix, serviceTypeName) { |
| | | const titleStyle = { |
| | | font: { |
| | | name: "微软雅黑", |
| | |
| | | }, |
| | | }; |
| | | |
| | | const titleText = `再次${serviceTypeName}统计表_${sheetNameSuffix}`; |
| | | // 添加标题行 |
| | | worksheet.mergeCells(1, 1, 1, 15); |
| | | worksheet.mergeCells(1, 1, 1, 16); |
| | | const titleCell = worksheet.getCell(1, 1); |
| | | titleCell.value = `再次出院随访统计表_${sheetNameSuffix}`; |
| | | titleCell.value = titleText; // 使用动态标题 |
| | | titleCell.style = titleStyle; |
| | | worksheet.getRow(1).height = 35; |
| | | |