{"remainingRequest":"D:\\jenkins\\workspace\\cqlt-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\cqlt-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\cqlt-fvue\\node_modules\\eslint-loader\\index.js??ref--13-0!D:\\jenkins\\workspace\\cqlt-fvue\\src\\mixins\\tableMixin.js","dependencies":[{"path":"D:\\jenkins\\workspace\\cqlt-fvue\\src\\mixins\\tableMixin.js","mtime":1675824111691},{"path":"D:\\jenkins\\workspace\\cqlt-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\cqlt-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\cqlt-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\cqlt-fvue\\node_modules\\eslint-loader\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["export var TableMixin = {\n data: function data() {\n return {\n tableMaxHeight: 600,\n showMore: false\n };\n },\n mounted: function mounted() {\n var _this = this;\n\n this.calcTableHeight();\n this.$root.$on(\"resize\", function () {\n _this.calcTableHeight(500);\n });\n },\n methods: {\n calcTableHeight: function calcTableHeight(delay) {\n var _this2 = this;\n\n // 动态计算表格的高度,自适应当前容器\n setTimeout(function () {\n if (!_this2.$refs.contentPanel) {\n return;\n }\n\n var contentPanelHeight = _this2.$refs.contentPanel.clientHeight;\n var btnPanelHeight = _this2.$refs.btnPanel.clientHeight || 0;\n var paginationPanelHeight = _this2.$refs.paginationPanel ? 32 : 0; // (this.$refs.paginationPanel &&\n // this.$refs.paginationPanel.clientHeight) ||\n // 0;\n\n _this2.tableMaxHeight = contentPanelHeight - btnPanelHeight - paginationPanelHeight - 50;\n }, delay || 0);\n },\n handleDbClick: function handleDbClick(row, column, event) {\n this.handleUpdate(row);\n },\n commonPageClick: function commonPageClick() {\n if (this.showMore) {\n this.showMore = false;\n }\n }\n }\n};",null]}