{"remainingRequest":"D:\\jenkins\\workspace\\artfess-module\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\artfess-module\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\artfess-module\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\artfess-module\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\artfess-module\\src\\components\\dialog\\HtTreeDialog.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\artfess-module\\src\\components\\dialog\\HtTreeDialog.vue","mtime":1675232038652},{"path":"D:\\jenkins\\workspace\\artfess-module\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\artfess-module\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\artfess-module\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\artfess-module\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\artfess-module\\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//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nvar HtTree = function HtTree() {\n  return import(\"@/components/HtTree.vue\");\n};\n\nexport default {\n  name: \"ht-tree-dialog\",\n  components: {\n    HtTree: HtTree\n  },\n  props: {\n    dialogTitle: {\n      type: String,\n      default: \"请选择\"\n    },\n    appendToBody: {\n      type: Boolean,\n      default: false\n    },\n    data: Array,\n    load: {\n      type: Function\n    },\n    lazy: {\n      type: Boolean,\n      default: false\n    },\n    accordion: {\n      type: Boolean,\n      default: false\n    },\n    showCheckbox: {\n      type: Boolean,\n      default: false\n    },\n    defaultExpandAll: {\n      type: Boolean,\n      default: false\n    },\n    props: {\n      type: Object,\n      default: function _default() {\n        return {\n          children: \"children\",\n          label: \"label\"\n        };\n      }\n    },\n    supportFilter: {\n      type: Boolean,\n      default: false\n    },\n    iconClass: {\n      type: String\n    },\n    nodeKey: {\n      type: String\n    },\n    defaultExpandedKeys: {\n      type: Array\n    },\n    highlightCurrent: {\n      type: Boolean,\n      default: false\n    },\n    renderAfterExpand: {\n      type: Boolean,\n      default: true\n    },\n    renderContent: {\n      type: Function\n    },\n    checkOnClickNode: {\n      type: Boolean,\n      default: false\n    },\n    autoExpandParent: {\n      type: Boolean,\n      default: true\n    },\n    checkStrictly: {\n      type: Boolean,\n      default: false\n    },\n    currentNodeKey: {\n      type: [String, Number]\n    },\n    indent: {\n      type: Number,\n      default: 16\n    },\n    draggable: {\n      type: Boolean,\n      default: false\n    },\n    allowDrag: {\n      type: Function\n    },\n    allowDrop: {\n      type: Function\n    },\n    expandOnClickNode: {\n      type: Boolean,\n      default: false\n    },\n    defaultCheckedKeys: {\n      type: Array,\n      default: function _default() {\n        return [];\n      }\n    },\n    // showCheck 为true时 是否只返回叶子节点\n    leafOnly: {\n      type: Boolean,\n      default: false\n    },\n    // showCheck 为true时 是否只返回包含半选中的叶子节点\n    includeHalfChecked: {\n      type: Boolean,\n      default: false\n    },\n    destroyOnClose: {\n      type: Boolean,\n      default: false\n    }\n  },\n  data: function data() {\n    return {\n      dialogVisible: false,\n      selectedNode: null\n    };\n  },\n  methods: {\n    showDialog: function showDialog() {\n      this.dialogVisible = true;\n    },\n    handleClose: function handleClose() {\n      this.dialogVisible = false;\n    },\n    onConfirm: function onConfirm() {\n      var resultNodes = null;\n\n      if (this.$refs.htTree.showCheckbox) {\n        resultNodes = this.$refs.htTree.$refs.elTree.getCheckedNodes(this.leafOnly, this.includeHalfChecked);\n\n        if (!resultNodes || resultNodes.length <= 0) {\n          this.$message.error(\"请选择\");\n          return;\n        }\n      } else {\n        resultNodes = this.$refs.htTree.$refs.elTree.getCurrentNode();\n      }\n\n      if (!resultNodes) {\n        this.$message.error(\"请选择\");\n        return;\n      }\n\n      this.dialogVisible = false;\n      this.$emit(\"onConfirm\", resultNodes);\n    }\n  }\n};",null]}