From 73ae892ea06b0fdf0611ffac65e5733b115ebf1d Mon Sep 17 00:00:00 2001 From: caoyang Date: Fri, 18 Feb 2022 10:49:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B1=95=E7=A4=BA=E5=8C=BA=E5=9F=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tags/dialog/OnlCgformTagForm.vue | 21 ++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/jero-web/src/views/documentManage/tags/dialog/OnlCgformTagForm.vue b/jero-web/src/views/documentManage/tags/dialog/OnlCgformTagForm.vue index 0f16c800b..51ed3f74a 100644 --- a/jero-web/src/views/documentManage/tags/dialog/OnlCgformTagForm.vue +++ b/jero-web/src/views/documentManage/tags/dialog/OnlCgformTagForm.vue @@ -65,7 +65,12 @@ - + + + {{item.showarea}} + + + @@ -204,7 +209,9 @@ add: "tag/onlCgformTag/add", edit: "tag/onlCgformTag/edit", queryById: "tag/onlCgformTag/queryById" - } + }, + //展示区域选项内容 + areaOptions:[] } }, watch:{ @@ -252,6 +259,7 @@ this.showFlowData(); }, mounted() { + this.loadShowArea() console.log('edit3333',this.editData) this.form={...this.editData} // console.log('drawerVisible',this.drawerVisible) @@ -269,9 +277,9 @@ //获取展示区域 loadShowArea(){ let params = {}; - getAction(``,params).then((res)=>{ + getAction(`tag/onlCgformTag/queryShowArea`,params).then((res)=>{ if(res.success){ - + this.areaOptions=res.success.records } }); }, @@ -348,7 +356,10 @@ } else { return 0 } - } + }, + handleChange(value) { + console.log(`selected ${value}`); + }, } }