From 86c3443c61e6383f0234d486b29ba6aaae8d484e Mon Sep 17 00:00:00 2001 From: zhaomeijing Date: Thu, 26 May 2022 09:29:12 +0800 Subject: [PATCH] [update] 52708 --- .../documentManage/tags/dialog/DicList.vue | 27 ++++++++----------- 1 file changed, 11 insertions(+), 16 deletions(-) diff --git a/jero-web/src/views/documentManage/tags/dialog/DicList.vue b/jero-web/src/views/documentManage/tags/dialog/DicList.vue index 23b266d1f..16e005992 100644 --- a/jero-web/src/views/documentManage/tags/dialog/DicList.vue +++ b/jero-web/src/views/documentManage/tags/dialog/DicList.vue @@ -52,7 +52,7 @@ - + {{item.name}} @@ -131,6 +131,7 @@ editPId:'', tabletreeDataSource:[], flag:false, //提交表单标识 + parentDataPid: [] } }, watch: { @@ -249,23 +250,17 @@ this.parentVisible=true this.editPId='' // - // this.getAllTree() + this.getAllTree() } }, - // getAllTree() { - // postAction(`sys/category/queryPageList`,{ - // sysDictId:this.record.id, - // isTagDict:1 - // }).then(res=>{ - // console.log(res,'res,,,') - // // this.tabletreeDataSource=[...res.result.records] - // // this.total=res.result.total - // // let data = this.toTree(this.tabletreeDataSource) - // // this.tabletreeData=data - // // this.parentData=this.getParents - // // this.dataFlag=true - // }) - // }, + getAllTree() { + getAction(`sys/category/queryPid`,{ + sysDictId:this.record.id, + isTagDict:1 + }).then(res=>{ + this.parentDataPid = res.result + }) + }, //保存 hideModal(){ this.$refs.ruleForm.validate(valid => {