| | |
| | | if (!value) return true; |
| | | return data[this.defaultProps.label].indexOf(value) !== -1; |
| | | }, |
| | | sourceDataMap: function () { |
| | | sourceDataMap: function () {debugger; |
| | | const sourceDataMap = {}; |
| | | if (Object.keys(this.sourceData).length > 0) { |
| | | if (this.sourceData.oid) { |
| | |
| | | } |
| | | return sourceDataMap; |
| | | }, |
| | | getParams: function () { |
| | | getParams: function () {debugger; |
| | | 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 treeParams = { |
| | | queryAllLevel: !this.lazy, |
| | | loadType: this.componentVO.treeDefineVO.loadType, |
| | |
| | | valueField: this.componentVO.treeDefineVO.valueField || 'oid', |
| | | parentFieldName: parentFieldName, |
| | | textField: this.componentVO.treeDefineVO.treeNodeExpression, |
| | | queryTemplate: this.sourceData.querytemplate, |
| | | linkTypeFlag: validatenull(this.sourceData.queryType) ? (validatenull(this.sourceData.linkType) ? false : true) : (this.sourceData.queryType == 0 ? false : true), |
| | | queryTemplate: queryTemplate, |
| | | linkTypeFlag: linkTypeFlag, |
| | | rootExpress: this.componentVO.treeDefineVO.rootExpress || '' |
| | | } |
| | | const sourceDataMapList = this.sourceDataMapParams; |