| | |
| | | } |
| | | 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 |
| | | } |
| | | } |
| | | } |
| | | |
| | |
| | | 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.btmname || node.data.attributes.btmname); |
| | | const params = this.params; |
| | | let url=''; |
| | | if (node.level === 0) { |