From a326efb3d17f5c4befb3e8ee60ad194330e86d22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E5=BC=BA=E5=BC=BA?= <787203167> Date: Tue, 12 Mar 2024 20:02:50 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=20=E6=96=B0=E6=97=A7=E6=8B=86=E5=88=86?= =?UTF-8?q?=E5=8D=95=E5=AF=B9=E6=AF=94--=E5=8F=91=E8=B5=B7=E6=AF=94?= =?UTF-8?q?=E5=AF=B9--=E6=96=B0=E6=97=A7=E6=9D=A1=E6=AC=BE=E7=9B=AE?= =?UTF-8?q?=E5=BD=95=EF=BC=8C=E5=B1=95=E7=A4=BA=E4=B8=8D=E5=AE=8C=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../documentTool/documentSplit/modules/SplitAddForm.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jero-web/src/views/documentTool/documentSplit/modules/SplitAddForm.vue b/jero-web/src/views/documentTool/documentSplit/modules/SplitAddForm.vue index 0d8053c..0b00b14 100644 --- a/jero-web/src/views/documentTool/documentSplit/modules/SplitAddForm.vue +++ b/jero-web/src/views/documentTool/documentSplit/modules/SplitAddForm.vue @@ -213,6 +213,7 @@ export default { * @param index */ handleAddClauseContent (index) { + console.log(index) if (index === -1) { this.isTopList = false this.addIndex = this.contentList.length - 1 @@ -233,8 +234,8 @@ export default { headerArr = this.contentList footerArr = [] } else { - headerArr = this.contentList.splice(0, this.addIndex + 1) - footerArr = this.contentList.splice(-this.addIndex) + headerArr = this.contentList.slice(0, this.addIndex + 1) + footerArr = this.contentList.slice(this.addIndex + 1, this.addIndex.length) } const insertArr = [] switch (type) { @@ -263,7 +264,6 @@ export default { } } this.contentList = [...headerArr, ...insertArr, ...footerArr] - console.log(this.contentList) }, /** * 表格编辑 From d330736fbce2dcfa0e1485eb48d004f53b3ef3d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E5=BC=BA=E5=BC=BA?= <787203167> Date: Tue, 12 Mar 2024 20:49:15 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=20=E6=96=B0=E6=97=A7=E6=8B=86=E5=88=86?= =?UTF-8?q?=E5=8D=95=E5=AF=B9=E6=AF=94--=E5=8F=91=E8=B5=B7=E6=AF=94?= =?UTF-8?q?=E5=AF=B9--=E6=96=B0=E6=97=A7=E6=9D=A1=E6=AC=BE=E7=9B=AE?= =?UTF-8?q?=E5=BD=95=EF=BC=8C=E5=B1=95=E7=A4=BA=E4=B8=8D=E5=AE=8C=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DocumentDataComparison.vue | 44 +++++++++++++------ 1 file changed, 31 insertions(+), 13 deletions(-) diff --git a/jero-web/src/views/documentTool/documentComparison/DocumentDataComparison.vue b/jero-web/src/views/documentTool/documentComparison/DocumentDataComparison.vue index 85f4649..0ef3205 100644 --- a/jero-web/src/views/documentTool/documentComparison/DocumentDataComparison.vue +++ b/jero-web/src/views/documentTool/documentComparison/DocumentDataComparison.vue @@ -89,7 +89,7 @@ :auto-size="{ minRows: 3, maxRows: 5 }" />