WXL (wul)
6 天以前 a5cba9ab040f6f97558046885dce3017f9bab7e9
src/views/sfstatistics/percentage/components/SecondFollowUp.vue
@@ -229,6 +229,7 @@
                  </template>
                </el-table-column>
                <el-table-column
                  v-if="orgname != '景宁畲族自治县人民医院'"
                  label="成功率"
                  align="center"
                  width="120"
@@ -526,6 +527,7 @@
            </template>
          </el-table-column>
          <el-table-column
            v-if="orgname != '景宁畲族自治县人民医院'"
            label="成功率"
            align="center"
            width="120"
@@ -697,7 +699,7 @@
      delete params.leavehospitaldistrictcodes.all;
      delete params.deptcodes.all;
      params.rateDay = 7;
      params.rateDay = this.orgname == "龙泉市人民医院" ? 21 : 7;
      getSfStatistics(params)
        .then((response) => {
@@ -729,7 +731,8 @@
        "el-tooltip",
        {
          props: {
            content: "(应随访时间+任务周期)小于完成时间即为超时;(需随访-超时)/需随访",
            content:
              "(出院时间+任务周期)小于完成时间即为超时;(需随访-超时)/需随访",
            placement: "top",
            effect: "dark",
          },
@@ -949,7 +952,7 @@
      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);
@@ -1272,7 +1275,7 @@
        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], {
@@ -1501,7 +1504,7 @@
      return sums;
    },
    buildExportSheet(worksheet, sheetNameSuffix) {
    buildExportSheet(worksheet, sheetNameSuffix, serviceTypeName) {
      const titleStyle = {
        font: {
          name: "微软雅黑",
@@ -1576,10 +1579,11 @@
        },
      };
      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;