From fe8200d8de32ade9099a7c97b8cb58b428afceef Mon Sep 17 00:00:00 2001 From: wangting <675591594@qq.com> Date: 星期二, 19 十一月 2024 16:35:25 +0800 Subject: [PATCH] 修改树查询 --- Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-tree.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-tree.vue b/Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-tree.vue index 0e751cd..629106e 100644 --- a/Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-tree.vue +++ b/Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-tree.vue @@ -167,7 +167,7 @@ if (!value) return true; return data[this.defaultProps.label].indexOf(value) !== -1; }, - sourceDataMap: function () {debugger; + sourceDataMap: function () { const sourceDataMap = {}; if (Object.keys(this.sourceData).length > 0) { if (this.sourceData.oid) { @@ -194,13 +194,13 @@ } return sourceDataMap; }, - getParams: function () {debugger; + getParams: function () { let parentFieldName = ""; if (this.componentVO.treeDefineVO.showLinkAbs) { parentFieldName = this.componentVO.treeDefineVO.showLinkAbs.split(",")[0]; } const queryTemplate=this.sourceData.querytemplate || this.paramVOS.querytemplate; - const linkTypeFlag=this.sourceData.queryType==0?false:(!validatenull(this.sourceData.linkType)?true:(this.paramVOS.querytype==0?false:true)); + const linkTypeFlag=this.sourceData.querytype==0?false:(!validatenull(this.sourceData.linktype)?true:(this.paramVOS.querytype==0?false:true)); const treeParams = { queryAllLevel: !this.lazy, loadType: this.componentVO.treeDefineVO.loadType, -- Gitblit v1.9.3