diff --git a/src/api/sunVillage_info/entity/report.js b/src/api/sunVillage_info/entity/report.js index fa444636..8dbb3e40 100644 --- a/src/api/sunVillage_info/entity/report.js +++ b/src/api/sunVillage_info/entity/report.js @@ -179,3 +179,21 @@ export function horizontalSummaryStatisticsExport(query) { params: query }) } + +// 查询统计报列表(行级) +export function listLineReporttitle(query) { + return request({ + url: '/entity/reporttitle/lineList', + method: 'get', + params: query + }) +} + +// 竖向统计(不相加) +export function summaryList(query) { + return request({ + url: '/entity/report/summaryList', + method: 'get', + params: query + }) +} diff --git a/src/router/index.js b/src/router/index.js index d0b2c50d..d7fd1992 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -3552,6 +3552,33 @@ export const constantRoutes = [ }, component: (resolve) => require(['@/views/sunVillage_info/entityReport/reportView'], resolve) }, + { // 行级填报 + path: '/sunVillage_info/entityReportLineList', + name: 'entityReportLineList', + meta: { + title: '行级填报', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage_info/entityReport/reportLineList'], resolve) + }, + { // 行级填报 + path: '/sunVillage_info/entityReportLineView', + name: 'entityReportLineView', + meta: { + title: '行级填报', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage_info/entityReport/reportLineView'], resolve) + }, + { // 行级填报 + path: '/sunVillage_info/entityReportLineSummary', + name: 'entityReportLineSummary', + meta: { + title: '行级填报', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage_info/entityReport/reportLineSummary'], resolve) + }, { // 统计填报 path: '/sunVillage_info/statistical_report', name: 'sunVillageInfoStatisticalReport', diff --git a/src/views/sunVillage_info/entityReport/reportLineList.vue b/src/views/sunVillage_info/entityReport/reportLineList.vue new file mode 100644 index 00000000..7bbd653c --- /dev/null +++ b/src/views/sunVillage_info/entityReport/reportLineList.vue @@ -0,0 +1,263 @@ + + + + + diff --git a/src/views/sunVillage_info/entityReport/reportLineSummary.vue b/src/views/sunVillage_info/entityReport/reportLineSummary.vue new file mode 100644 index 00000000..408fe4ac --- /dev/null +++ b/src/views/sunVillage_info/entityReport/reportLineSummary.vue @@ -0,0 +1,462 @@ + + + + + diff --git a/src/views/sunVillage_info/entityReport/reportLineView.vue b/src/views/sunVillage_info/entityReport/reportLineView.vue new file mode 100644 index 00000000..3f59ae82 --- /dev/null +++ b/src/views/sunVillage_info/entityReport/reportLineView.vue @@ -0,0 +1,508 @@ + + + + + diff --git a/src/views/sunVillage_info/entityReport/reportView.vue b/src/views/sunVillage_info/entityReport/reportView.vue index 2953fe2c..d7f48a31 100644 --- a/src/views/sunVillage_info/entityReport/reportView.vue +++ b/src/views/sunVillage_info/entityReport/reportView.vue @@ -8,7 +8,7 @@ - + @@ -56,9 +56,7 @@ - {{header.headerName}} - + }">{{header.headerName}} @@ -68,13 +66,13 @@ 'text-align': calcAlign(editorData.headers[col.colIndex].type), 'background-color': calcColor(editorData.headers[col.colIndex].type), }"> -
+
-
{{col.name}}
+
{{col.name}}
@@ -499,7 +497,7 @@ export default { margin: 0.1rem 0.1rem; table { - width: max-content; + /*width: max-content;*/ border-collapse: collapse; border: 0.01rem solid #1989fa; table-layout: fixed; @@ -512,7 +510,8 @@ export default { padding: 0 0.4rem; margin: 0; font-weight: bold; - max-width: 1.2rem; + white-space: nowrap; + /*max-width: 1.2rem;*/ } tbody td { font-size: 0.3rem; @@ -521,9 +520,9 @@ export default { white-space: break-spaces; word-wrap: break-word; overflow-wrap: break-word; - padding: 0; + padding: 0 0.1rem; margin: 0; - max-width: 1.5rem; + /*max-width: 1.5rem;*/ position: relative; } @@ -593,6 +592,14 @@ export default { .form_readonly /deep/ .van-icon-arrow-down { display: none; } + + .absolute-full { + position: absolute; + top: 0; + bottom: 0; + left: 0; + right: 0; + } }