{"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\\components\\dialog\\EipSysTypeDialog.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\src\\components\\dialog\\EipSysTypeDialog.vue","mtime":1675071991725},{"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.function.name\";\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nimport sysType from \"@/api/sysType.js\";\nexport default {\n  name: \"eip-sys-type-dialog\",\n  components: {},\n  props: {\n    name: name,\n    catId: {\n      type: String,\n      default: \"\"\n    },\n    typeKey: {\n      type: String,\n      default: \"\"\n    },\n    appendToBody: {\n      type: Boolean,\n      default: false\n    },\n    showCheckbox: {\n      type: Boolean,\n      default: false\n    }\n  },\n  data: function data() {\n    return {\n      treeData: null\n    };\n  },\n  methods: {\n    showDialog: function showDialog() {\n      this.loadTreeData();\n      this.$refs.htTreeDialog.showDialog();\n    },\n    handleClose: function handleClose() {\n      this.$refs.htTreeDialog.handleClose();\n    },\n    loadTreeData: function loadTreeData() {\n      var _this = this;\n\n      if (this.catId) {\n        sysType.getSysTypeByCatId(this.catId).then(function (data) {\n          _this.treeData = data;\n        });\n      }\n\n      if (this.typeKey) {\n        sysType.getTypesByKey(this.typeKey).then(function (data) {\n          _this.treeData = data;\n        });\n      }\n    },\n    onConfirm: function onConfirm(checkedNodes) {\n      if (!checkedNodes || checkedNodes.parentId == \"0\") {\n        this.$refs.htTreeDialog.showDialog();\n        this.$message.error(\"不能选择一级分类\");\n        return false;\n      }\n\n      this.$emit(\"onConfirm\", checkedNodes, this.name);\n    }\n  }\n};",null]}