From efac958ea029c02d0acb532cb47a737b9cb1fc69 Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Tue, 13 Apr 2021 09:11:33 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/iscs_new/iscsDraw/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/iscs_new/iscsDraw/index.vue b/src/views/iscs_new/iscsDraw/index.vue index d336a54d9..765a480a5 100644 --- a/src/views/iscs_new/iscsDraw/index.vue +++ b/src/views/iscs_new/iscsDraw/index.vue @@ -194,7 +194,7 @@ export default { }, getComposeElemList() { const source = this.$iscs.getSource(); - if (source.elementList && source.elementLis.length > 0) { + if (source.elementList && source.elementList.length > 0) { this.composeElemList = source.elementList; this.statusTab = this.composeElemList[0].code; } From da059a3c9c946ffc10412af8005e0e8dde487bea Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Tue, 13 Apr 2021 10:42:28 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/iscs_new/components/tableForm.vue | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/src/views/iscs_new/components/tableForm.vue b/src/views/iscs_new/components/tableForm.vue index ce9765272..9216d9224 100644 --- a/src/views/iscs_new/components/tableForm.vue +++ b/src/views/iscs_new/components/tableForm.vue @@ -58,31 +58,31 @@ - + - + @@ -147,6 +147,15 @@ export default { const key = this.expandKeys.findIndex(each=>{ return each == row.id; }); if (key > 0) { this.expandKeys.splice(key, 1); } }, + // previewStatus(index, row) { + // const styleLength = Object.keys(row.style || {}).length; + // const shapeLength = Object.keys(row.shape || {}).length; + // if (styleLength > 0 || shapeLength > 0 ) { + // const data = {style:row.style || {}, shape:row.shape || {}}; + // debugger; + // // this.$iscs + // } + // }, addStyle(index) { const style = this.formModel.stateList[index].style; if (!style) {