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 => {