{"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\\common\\HtSysTypeTree.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\src\\components\\common\\HtSysTypeTree.vue","mtime":1675071991678},{"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 sysType from \"@/api/sysType.js\";\n/**\r\n * catId typeKey\r\n * 1\tREPORT_TYPE\t报表分类\r\n * 10\tUSER_REL_TYPE\t用户关系分类\r\n * 11\tWORK_ITEM_TYPE\t工作台分类\r\n * 12\tREPORT_LINE\t汇报线分类\r\n * 2\tINDEX_COLUMN_TYPE\t首页栏目分类\r\n * 3\tDEMENSION_TYPE\t组分类\r\n * 4\tMAIL_TYPE\t邮件分类\r\n * 5\tDIC\t数据字典\r\n * 6\tFLOW_TYPE\t流程分类\r\n * 7\tFORM_TYPE\t表单分类\r\n * 8\tENT_TYPE\t业务实例\r\n * 9\tDEF_TYPE\t业务定义\r\n *\r\n */\n\nexport default {\n name: \"ht-sys-type-tree\",\n props: {\n catId: {\n type: String | Number,\n default: \"\"\n },\n typeKey: {\n type: String | Number,\n default: \"\"\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 defaultExpandedKeys: {\n type: Array,\n default: function _default() {\n return [];\n }\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: []\n };\n },\n watch: {\n defaultExpandedKeys: {\n handler: function handler(newVal, oldVal) {\n if (newVal && newVal != oldVal) {\n this._defaultExpandedKeys = newVal;\n }\n },\n immediate: true,\n deep: true\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 if (this.catId) {\n sysType.getSysTypeByCatId(this.catId).then(function (data) {\n _this.treeData = data;\n cb && cb();\n });\n }\n\n if (this.typeKey) {\n sysType.getTypesByKey(this.typeKey).then(function (data) {\n _this.treeData = data;\n cb && cb();\n });\n }\n },\n handleRefresh: function handleRefresh(cb) {\n this.loadData(cb);\n }\n },\n mounted: function mounted() {\n this._defaultExpandedKeys = [this.catId];\n this.loadData();\n }\n};",null]}