From 8cf9612bdf1be266e76cd886961010f2b51bcd9b Mon Sep 17 00:00:00 2001 From: luobinjie Date: Tue, 25 Nov 2025 20:40:31 +0800 Subject: [PATCH] ui --- .../customerReport/combinationDetails.vue | 44 ++++-- .../customerReport/personnelPositive.vue | 146 ++++++++++-------- .../doctorCheck/unitphysicalexamination.vue | 50 +++--- 3 files changed, 141 insertions(+), 99 deletions(-) diff --git a/src/views/customerReport/combinationDetails.vue b/src/views/customerReport/combinationDetails.vue index a862bea..396a5fd 100644 --- a/src/views/customerReport/combinationDetails.vue +++ b/src/views/customerReport/combinationDetails.vue @@ -63,6 +63,22 @@ +
+ + 明细 +
+
+ + 小结 +
查询
@@ -91,6 +107,12 @@ :cell-style="tableRowClassNames" :header-cell-class-name="addClass" > + + + + @@ -99,12 +121,6 @@
{{scope.row.idNo}}
- - - - @@ -173,6 +189,8 @@ export default { columnData: [], flag: true, category: [], + combinationDetails:'Y', + summary:'Y' }; }, @@ -440,16 +458,19 @@ page-break-before: avoid;}}`, // 去除页眉页脚 for (let m = 0; m < that.category.length; m++) { for (let i = 0; i < bodys.length; i++) { for (let k = 0; k < bodys[i].registerChecks.length; k++) { - this.$set( + if(that.summary=="Y"){ + this.$set( bodys[i], // bodys[i].registerChecks[k].registerCheckId + bodys[i].registerChecks[k].checkName + "小结", bodys[i].registerChecks[k].registerCheckSummarys ); - if (bodys[i].registerChecks[k].checkName == that.category[m]) { + } + if(this.combinationDetails=="Y"){ + if (bodys[i].registerChecks[k].checkName == that.category[m]) { for (let j = 0;j < bodys[i].registerChecks[k].registerCheckItems.length;j++) { - let templatess = JSON.parse(JSON.stringify(template)); + let templatess = JSON.parse(JSON.stringify(template)); templatess.prop = // bodys[i].registerChecks[k].registerCheckId + bodys[i].registerChecks[k].checkName + @@ -461,7 +482,7 @@ page-break-before: avoid;}}`, // 去除页眉页脚 bodys[i].registerChecks[k].registerCheckItems[j] .itemName; that.columnData.push(templatess); - this.$set( + this.$set( bodys[i], // bodys[i].registerChecks[k].registerCheckId + bodys[i].registerChecks[k].checkName + @@ -471,12 +492,15 @@ page-break-before: avoid;}}`, // 去除页眉页脚 ) } } + } } } + if(that.summary=="Y"){ let templates = JSON.parse(JSON.stringify(template)); templates.prop =that.category[m] +"小结"; templates.lable = that.category[m] + "小结"; that.columnData.push(templates); + } } this.$nextTick(() => { diff --git a/src/views/customerReport/personnelPositive.vue b/src/views/customerReport/personnelPositive.vue index 45f11b2..4bec412 100644 --- a/src/views/customerReport/personnelPositive.vue +++ b/src/views/customerReport/personnelPositive.vue @@ -1,16 +1,15 @@