From 0b9e7cd644fa0afa8cf1507824a465f213c1f6e3 Mon Sep 17 00:00:00 2001 From: xuhuajiao <13476289682@163.com> Date: Thu, 8 May 2025 17:04:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A1=A3=E6=A1=88=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../module/archivesInfo/index.vue | 34 +- .../module/archivesInfo/index.vue | 35 +- .../dataStatistics/index.vue | 404 +++++++++++------- .../module/archivesInfo/index.vue | 35 +- .../components/archivesDetail/detail.vue | 35 +- 5 files changed, 380 insertions(+), 163 deletions(-) diff --git a/src/views/archiveKeeping/inStorage/pendingInArchive/module/archivesInfo/index.vue b/src/views/archiveKeeping/inStorage/pendingInArchive/module/archivesInfo/index.vue index 0f0f14d..6e2177d 100644 --- a/src/views/archiveKeeping/inStorage/pendingInArchive/module/archivesInfo/index.vue +++ b/src/views/archiveKeeping/inStorage/pendingInArchive/module/archivesInfo/index.vue @@ -28,6 +28,30 @@

{{ item.context === 1 ? '有' : '无' }}

+ + + {{ item.fieldCnName }}: +
+ {{ item.editLength ? item.context : '12' }} +
+ + {{ val }} + +
+
+ {{ item.context }} +
+
+
+ {{ item.context }} +
+
+
@@ -95,10 +119,14 @@ export default { } }, computed: { + // filteredArray() { + // const lastIndex = this.archivesDetailsData.length - 1 + // return this.archivesDetailsData + // .filter((item, index) => index !== lastIndex || item.fieldName !== 'is_entity') + // } filteredArray() { - const lastIndex = this.archivesDetailsData.length - 1 - return this.archivesDetailsData - .filter((item, index) => index !== lastIndex || item.fieldName !== 'is_entity') + const length = this.archivesDetailsData.length + return this.archivesDetailsData.slice(0, length - 5) } }, created() { diff --git a/src/views/archivesManage/managementLibrary/module/archivesInfo/index.vue b/src/views/archivesManage/managementLibrary/module/archivesInfo/index.vue index 30c5a10..e6cfaf3 100644 --- a/src/views/archivesManage/managementLibrary/module/archivesInfo/index.vue +++ b/src/views/archivesManage/managementLibrary/module/archivesInfo/index.vue @@ -29,6 +29,30 @@

{{ item.context === 1 ? '有' : '无' }}

+ + + {{ item.fieldCnName }}: +
+ {{ item.editLength ? item.context : '12' }} +
+ + {{ val }} + +
+
+ {{ item.context }} +
+
+
+ {{ item.context }} +
+
+
@@ -100,10 +124,15 @@ export default { } }, computed: { + // filteredArray() { + // const lastIndex = this.archivesDetailsData.length - 1 + // return this.archivesDetailsData + // .filter((item, index) => index !== lastIndex || item.fieldName !== 'is_entity') + // } filteredArray() { - const lastIndex = this.archivesDetailsData.length - 1 - return this.archivesDetailsData - .filter((item, index) => index !== lastIndex || item.fieldName !== 'is_entity') + // 获取数组长度 + const length = this.archivesDetailsData.length + return this.archivesDetailsData.slice(0, length - 5) } }, created() { diff --git a/src/views/archivesStatistics/dataStatistics/index.vue b/src/views/archivesStatistics/dataStatistics/index.vue index 18042eb..e026b86 100644 --- a/src/views/archivesStatistics/dataStatistics/index.vue +++ b/src/views/archivesStatistics/dataStatistics/index.vue @@ -1,185 +1,287 @@ diff --git a/src/views/collectReorganizi/collectionLibrary/module/archivesInfo/index.vue b/src/views/collectReorganizi/collectionLibrary/module/archivesInfo/index.vue index 760cb5a..77ed944 100644 --- a/src/views/collectReorganizi/collectionLibrary/module/archivesInfo/index.vue +++ b/src/views/collectReorganizi/collectionLibrary/module/archivesInfo/index.vue @@ -29,6 +29,30 @@

{{ item.context === 1 ? '有' : '无' }}

+ + + {{ item.fieldCnName }}: +
+ {{ item.editLength ? item.context : '12' }} +
+ + {{ val }} + +
+
+ {{ item.context }} +
+
+
+ {{ item.context }} +
+
+
@@ -98,10 +122,15 @@ export default { } }, computed: { + // filteredArray() { + // const lastIndex = this.archivesDetailsData.length - 1 + // return this.archivesDetailsData + // .filter((item, index) => index !== lastIndex || item.fieldName !== 'is_entity') + // } filteredArray() { - const lastIndex = this.archivesDetailsData.length - 1 - return this.archivesDetailsData - .filter((item, index) => index !== lastIndex || item.fieldName !== 'is_entity') + // 获取数组长度 + const length = this.archivesDetailsData.length + return this.archivesDetailsData.slice(0, length - 5) } }, created() { diff --git a/src/views/components/archivesDetail/detail.vue b/src/views/components/archivesDetail/detail.vue index 33997c3..ecd1863 100644 --- a/src/views/components/archivesDetail/detail.vue +++ b/src/views/components/archivesDetail/detail.vue @@ -27,6 +27,30 @@

{{ item.context === 1 ? '有' : '无' }}

+ + + {{ item.fieldCnName }}: +
+ {{ item.editLength ? item.context : '12' }} +
+ + {{ val }} + +
+
+ {{ item.context }} +
+
+
+ {{ item.context }} +
+
+
@@ -93,10 +117,15 @@ export default { } }, computed: { + // filteredArray() { + // const lastIndex = this.archivesDetailsData.length - 1 + // return this.archivesDetailsData + // .filter((item, index) => index !== lastIndex || item.fieldName !== 'is_entity') + // } filteredArray() { - const lastIndex = this.archivesDetailsData.length - 1 - return this.archivesDetailsData - .filter((item, index) => index !== lastIndex || item.fieldName !== 'is_entity') + // 获取数组长度 + const length = this.archivesDetailsData.length + return this.archivesDetailsData.slice(0, length - 5) } }, created() {