From fa326d91c1e899a0f0fc860eaeb2c0aa7e276df0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=A3=95=E8=B4=A2?= Date: Mon, 11 Jul 2022 14:04:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xm/core/xmIteration/XmIterationEdit.vue | 66 ++++++------------- .../xm/core/xmIteration/XmIterationInfo.vue | 8 ++- .../core/xmIteration/XmIterationInfoRoute.vue | 9 ++- .../XmIterationOverviewComplex.vue | 6 +- 4 files changed, 39 insertions(+), 50 deletions(-) diff --git a/src/views/xm/core/xmIteration/XmIterationEdit.vue b/src/views/xm/core/xmIteration/XmIterationEdit.vue index 9213df42..42037062 100644 --- a/src/views/xm/core/xmIteration/XmIterationEdit.vue +++ b/src/views/xm/core/xmIteration/XmIterationEdit.vue @@ -1,15 +1,6 @@ @@ -55,7 +55,12 @@ } }) - } + }, + onEditFields(row){ + debugger; + Object.assign(this.xmIteration,row) + localStorage.setItem("xm-iteration-info-route",JSON.stringify(this.xmIteration)); + } },//end methods diff --git a/src/views/xm/core/xmIteration/XmIterationOverviewComplex.vue b/src/views/xm/core/xmIteration/XmIterationOverviewComplex.vue index 261e6baa..eeee2b57 100644 --- a/src/views/xm/core/xmIteration/XmIterationOverviewComplex.vue +++ b/src/views/xm/core/xmIteration/XmIterationOverviewComplex.vue @@ -25,7 +25,7 @@ --> - + @@ -82,6 +82,10 @@ export default { }, onMenuToolBarSelect(menuIndex){ this.showPanelName=menuIndex; + }, + onEditFields(row){ + Object.assign(this.xmIteration,row) + this.$emit('edit-fields',row) } },