| | |
| | | } |
| | | for (let i in this.sourceData) { |
| | | const item = this.sourceData[i] |
| | | if (item && item.constructor === Object) continue; |
| | | if (['type', 'context', 'content', 'querytemplate', 'querytype'].includes(i)) continue; |
| | | sourceDataMap['sourceData["' + i + '"]'] = item |
| | | if (item && item.constructor === Object) { |
| | | sourceDataMap['sourceData["' + i + '"]'] = JSON.stringify(item) |
| | | }else { |
| | | sourceDataMap['sourceData["' + i + '"]'] = item |
| | | } |
| | | } |
| | | } |
| | | |
| | |
| | | multipleSelect: this.isMuti, |
| | | isMuti: this.isMuti, |
| | | isQueryAllColumn: true, |
| | | btmname: this.componentVO.treeDefineVO.btmType, |
| | | btmName: this.componentVO.treeDefineVO.btmType, |
| | | componentOid: this.componentVO.oid, |
| | | uiDefineId: this.uiContext, |
| | | valueField: this.componentVO.treeDefineVO.valueField || 'oid', |
| | |
| | | if (parentOid != 0 && parentOid.indexOf('@vcitreesep@') > -1) { |
| | | parentOid = parentOid.split('@vcitreesep@')[1]; |
| | | } |
| | | const parentBtmName = (node.level === 0) ? '' : node.data.attributes.btmname; |
| | | |
| | | const parentBtmName = (node.level === 0) |
| | | ? '' |
| | | : (node.data.attributes.part && node.data.attributes.part.btmname) |
| | | || (node.data.attributes.folder && node.data.attributes.folder.btmname) |
| | | || (node.data.attributes && node.data.attributes.btmname) |
| | | || ''; |
| | | const params = this.params; |
| | | let url=''; |
| | | let url='';debugger; |
| | | if(this.componentVO.bsCustQueryCLsOrUrl && this.componentVO.bsCustQueryCLsOrUrl.indexOf('/')!=-1){ |
| | | url=this.componentVO.bsCustQueryCLsOrUrl; |
| | | } |
| | | if (node.level === 0) { |
| | | params.queryRoot = true; |
| | | if(this.paramVOS.querytemplate){ |