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"
>
+
+
+
+ {{scope.row.customerOrgName == scope.row.departmentName ? '':scope.row.departmentName}}
+
+
@@ -99,12 +121,6 @@
{{scope.row.idNo}}
-
-
-
- {{scope.row.customerOrgName == scope.row.departmentName ? '':scope.row.departmentName}}
-
-
@@ -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 @@