From c3b17b9a532a6e213e7a47d7f0a8aa5f0152a909 Mon Sep 17 00:00:00 2001 From: pengjun <158915633@qq.com> Date: Fri, 16 May 2025 11:19:18 +0800 Subject: [PATCH] jbtj --- .../customerReport/diseaseStatistics.vue | 187 +++++++----------- 1 file changed, 74 insertions(+), 113 deletions(-) diff --git a/src/views/customerReport/diseaseStatistics.vue b/src/views/customerReport/diseaseStatistics.vue index 4fd14b8..a14d3df 100644 --- a/src/views/customerReport/diseaseStatistics.vue +++ b/src/views/customerReport/diseaseStatistics.vue @@ -8,8 +8,7 @@
-
+ ">
- 体检单位: - - + 体检单位 + +
- 诊断: - - + 诊断 + +
+
+ 状态 + + + + +
- 查询 + 查询
- 导出excel + 导出excel
- 打印 + 打印
- 柱状图 + 柱状图
- 饼图 + 饼图
-
-
+
- + " ref="imageDom"> + - + + +
-
-
+
+ "> 疾病人数统计
-
+
@@ -166,23 +122,13 @@
- + - +
@@ -351,8 +297,8 @@ page-break-before: avoid;}}`, // 去除页眉页脚 e.dateType == "summaryDate" ? "3" : e.dateType == "medicalStartDate" - ? "2" - : "1", + ? "2" + : "1", }; if (e.customerOrgId) { @@ -375,8 +321,15 @@ page-break-before: avoid;}}`, // 去除页眉页脚 }); } + + body.customerOrgs = customerOrgs; body.diagnosisIds = diagnosisIds; + if(this.patientRegister.query.completeFlags && Array.isArray(this.patientRegister.query.completeFlags) && this.patientRegister.query.completeFlags.length > 0){ + body.completeFlags = this.patientRegister.query.completeFlags + }else{ + delete body['completeFlags'] + } // if (this.patientRegister.query.isCharge) body.isCharge = this.patientRegister.query.isCharge @@ -388,7 +341,7 @@ page-break-before: avoid;}}`, // 去除页眉页脚 this.dataList = res.data; this.yAxisData = []; this.seriesData = []; - this.pieData=[] + this.pieData = [] let pies = { name: "", value: 0, @@ -525,6 +478,7 @@ page-break-before: avoid;}}`, // 去除页眉页脚 @import "../../assets/css/global_form.css"; @import "../../assets/css/global_input.css"; @import "../../assets/css/global.css"; + .query { margin-right: 10px; display: flex; @@ -535,10 +489,12 @@ page-break-before: avoid;}}`, // 去除页眉页脚 font-size: 400; font-family: "NotoSansSC-Regular"; } + .box { display: flex; flex-direction: column; } + ::v-deep .el-input__inner { /*text-align: center;*/ padding-left: 5px; @@ -558,7 +514,12 @@ page-break-before: avoid;}}`, // 去除页眉页脚 ::v-deep .el-icon-search:before { color: #00F; } -.query:last-child{ + +.query:last-child { margin-right: 0; } +.spanClass { + font-size: 14px; + padding: 0 2px 0 0; +}