{"remainingRequest":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\xq-web-bpm\\src\\views\\uc\\org\\HtOrgTree.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\src\\views\\uc\\org\\HtOrgTree.vue","mtime":1675071993444},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/es6.number.constructor\";\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nimport org from \"@/api/org.js\";\nimport utils from \"@/hotent-ui-util.js\";\nexport default {\n  name: \"ht-org-tree\",\n  props: {\n    defId: {\n      type: String | Number,\n      required: true\n    },\n    supportFilter: {\n      type: Boolean,\n      default: false\n    },\n    highlightCurrent: {\n      type: Boolean,\n      default: false\n    },\n    defaultExpandAll: {\n      type: Boolean,\n      default: false\n    },\n    showCheckbox: {\n      type: Boolean,\n      default: false\n    },\n    renderContent: {\n      type: Function\n    }\n  },\n  data: function data() {\n    return {\n      treeData: [],\n      defaultProps: {\n        children: \"children\",\n        label: \"name\"\n      },\n      defaultExpandedKeys: [\"0\"]\n    };\n  },\n  methods: {\n    handleNodeClick: function handleNodeClick(node) {\n      this.$emit(\"node-click\", node);\n    },\n    check: function check(data, checkedObj) {\n      this.$emit(\"check\", data, checkedObj);\n    },\n    loadData: function loadData(cb) {\n      var _this = this;\n\n      var param = {\n        demId: this.defId\n      };\n      org.getByParentAndDemToTree(param).then(function (data) {\n        _this.treeData = utils.tile2nest(data);\n      }).finally(function () {\n        cb && cb();\n      });\n    },\n    nodeExpend: function nodeExpend(data) {\n      this.defaultExpandedKeys.push(data.id); // 在节点展开是添加到默认展开数组\n    },\n    nodeCollapse: function nodeCollapse(data) {\n      this.defaultExpandedKeys.splice(this.defaultExpandedKeys.indexOf(data.id), 1);\n    }\n  },\n  mounted: function mounted() {\n    this.loadData();\n  }\n};",null]}