@leevan/jtui 2.0.28 → 2.0.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -231258,7 +231258,7 @@ var es_function_name = __webpack_require__("b0c0");
231258
231258
  var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
231259
231259
  var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
231260
231260
 
231261
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7e503786-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/jt-table/index.vue?vue&type=template&id=6a6af460&
231261
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7e503786-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/jt-table/index.vue?vue&type=template&id=1280f531&
231262
231262
  var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"tableStyle-2",class:_vm.isWrap ? 'isWrap' : '',staticStyle:{"position":"absolute","top":"1px","left":"1px","right":"1px","bottom":"1px"}},[(_vm.isTool)?_c('div',{staticStyle:{"position":"relative"}},[_c('vxe-toolbar',{staticClass:"jt-toolbar",attrs:{"custom":{ icon: 'jtIcon iconpeizhi41 colStyle' }}})],1):_vm._e(),(_vm.tableType === 'default')?_c('vxe-table',{ref:_vm.id,staticClass:"jt-table-class-only",attrs:{"height":"auto","size":"mini","show-overflow":"","show-header-overflow":"","auto-resize":"","resizable":"","highlight-current-row":"","highlight-current-column":"","keep-source":"","id":_vm.id,"data":_vm.data.DataArray,"stripe":_vm.stripe,"border":_vm.border,"max-height":_vm.maxHeight,"show-footer":_vm.isFooter,"footer-method":_vm.footerMethod,"footer-span-method":_vm.footerColspanMethod,"footer-cell-class-name":_vm.footerCellClassName,"loading":_vm.loading,"row-style":_vm.rowStyle,"cell-style":_vm.cellStyle_m,"header-cell-class-name":_vm.headerClass,"span-method":_vm.spanMethod,"scroll-y":{ mode: 'wheel' },"sort-config":{ sortMethod: _vm.sortMethod },"radio-config":{ checkRowKey: null },"keyboard-config":{ isArrow: true },"checkbox-config":{ highlight: true },"export-config":{
231263
231263
  type: 'xlsx',
231264
231264
  types: ['xlsx', 'csv', 'html', 'xml', 'txt'],
@@ -231358,7 +231358,7 @@ return [(_vm.handlerConfig.btnGroup)?_c('el-dropdown',[_c('el-button',{attrs:{"s
231358
231358
  var staticRenderFns = []
231359
231359
 
231360
231360
 
231361
- // CONCATENATED MODULE: ./packages/jt-table/index.vue?vue&type=template&id=6a6af460&
231361
+ // CONCATENATED MODULE: ./packages/jt-table/index.vue?vue&type=template&id=1280f531&
231362
231362
 
231363
231363
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
231364
231364
  var es_array_concat = __webpack_require__("99af");
@@ -233157,7 +233157,7 @@ var component = normalizeComponent(
233157
233157
  var ch = $event.target.clientHeight;
233158
233158
  var sh = $event.target.scrollHeight;
233159
233159
 
233160
- if (scrollTop + ch >= sh && scrollTop != 0) {
233160
+ if (Math.ceil(scrollTop + ch) >= sh && scrollTop != 0) {
233161
233161
  _this2.$emit("scrollBottom", ++_this2.pageIndex);
233162
233162
  }
233163
233163
  }, 200);
@@ -233221,11 +233221,19 @@ var component = normalizeComponent(
233221
233221
  },
233222
233222
  //导出数据
233223
233223
  exportTableData: function exportTableData() {
233224
+ if (this.$listeners.scrollBottom) {
233225
+ this.$message.info('表格仅能导出已查询的数据,想要导出更多请继续滚动加载');
233226
+ }
233227
+
233224
233228
  this.$refs[this.id].openExport({
233225
233229
  isPrint: false
233226
233230
  });
233227
233231
  },
233228
233232
  exportData: function exportData(obj) {
233233
+ if (this.$listeners.scrollBottom) {
233234
+ this.$message.info('表格仅能导出已查询的数据,想要导出更多请继续滚动加载');
233235
+ }
233236
+
233229
233237
  this.$refs[this.id].exportData(obj);
233230
233238
  },
233231
233239
  //导入数据
@@ -233245,7 +233253,6 @@ var component = normalizeComponent(
233245
233253
  this.reloadTreeChilds(row);
233246
233254
  }
233247
233255
 
233248
- ;
233249
233256
  this.$emit("handlerClick", value, row, rowIndex);
233250
233257
  },
233251
233258
  //普通表格转树表(仅支持一层)
package/lib/jtui.umd.js CHANGED
@@ -231267,7 +231267,7 @@ var es_function_name = __webpack_require__("b0c0");
231267
231267
  var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
231268
231268
  var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
231269
231269
 
231270
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7e503786-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/jt-table/index.vue?vue&type=template&id=6a6af460&
231270
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7e503786-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/jt-table/index.vue?vue&type=template&id=1280f531&
231271
231271
  var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"tableStyle-2",class:_vm.isWrap ? 'isWrap' : '',staticStyle:{"position":"absolute","top":"1px","left":"1px","right":"1px","bottom":"1px"}},[(_vm.isTool)?_c('div',{staticStyle:{"position":"relative"}},[_c('vxe-toolbar',{staticClass:"jt-toolbar",attrs:{"custom":{ icon: 'jtIcon iconpeizhi41 colStyle' }}})],1):_vm._e(),(_vm.tableType === 'default')?_c('vxe-table',{ref:_vm.id,staticClass:"jt-table-class-only",attrs:{"height":"auto","size":"mini","show-overflow":"","show-header-overflow":"","auto-resize":"","resizable":"","highlight-current-row":"","highlight-current-column":"","keep-source":"","id":_vm.id,"data":_vm.data.DataArray,"stripe":_vm.stripe,"border":_vm.border,"max-height":_vm.maxHeight,"show-footer":_vm.isFooter,"footer-method":_vm.footerMethod,"footer-span-method":_vm.footerColspanMethod,"footer-cell-class-name":_vm.footerCellClassName,"loading":_vm.loading,"row-style":_vm.rowStyle,"cell-style":_vm.cellStyle_m,"header-cell-class-name":_vm.headerClass,"span-method":_vm.spanMethod,"scroll-y":{ mode: 'wheel' },"sort-config":{ sortMethod: _vm.sortMethod },"radio-config":{ checkRowKey: null },"keyboard-config":{ isArrow: true },"checkbox-config":{ highlight: true },"export-config":{
231272
231272
  type: 'xlsx',
231273
231273
  types: ['xlsx', 'csv', 'html', 'xml', 'txt'],
@@ -231367,7 +231367,7 @@ return [(_vm.handlerConfig.btnGroup)?_c('el-dropdown',[_c('el-button',{attrs:{"s
231367
231367
  var staticRenderFns = []
231368
231368
 
231369
231369
 
231370
- // CONCATENATED MODULE: ./packages/jt-table/index.vue?vue&type=template&id=6a6af460&
231370
+ // CONCATENATED MODULE: ./packages/jt-table/index.vue?vue&type=template&id=1280f531&
231371
231371
 
231372
231372
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
231373
231373
  var es_array_concat = __webpack_require__("99af");
@@ -233166,7 +233166,7 @@ var component = normalizeComponent(
233166
233166
  var ch = $event.target.clientHeight;
233167
233167
  var sh = $event.target.scrollHeight;
233168
233168
 
233169
- if (scrollTop + ch >= sh && scrollTop != 0) {
233169
+ if (Math.ceil(scrollTop + ch) >= sh && scrollTop != 0) {
233170
233170
  _this2.$emit("scrollBottom", ++_this2.pageIndex);
233171
233171
  }
233172
233172
  }, 200);
@@ -233230,11 +233230,19 @@ var component = normalizeComponent(
233230
233230
  },
233231
233231
  //导出数据
233232
233232
  exportTableData: function exportTableData() {
233233
+ if (this.$listeners.scrollBottom) {
233234
+ this.$message.info('表格仅能导出已查询的数据,想要导出更多请继续滚动加载');
233235
+ }
233236
+
233233
233237
  this.$refs[this.id].openExport({
233234
233238
  isPrint: false
233235
233239
  });
233236
233240
  },
233237
233241
  exportData: function exportData(obj) {
233242
+ if (this.$listeners.scrollBottom) {
233243
+ this.$message.info('表格仅能导出已查询的数据,想要导出更多请继续滚动加载');
233244
+ }
233245
+
233238
233246
  this.$refs[this.id].exportData(obj);
233239
233247
  },
233240
233248
  //导入数据
@@ -233254,7 +233262,6 @@ var component = normalizeComponent(
233254
233262
  this.reloadTreeChilds(row);
233255
233263
  }
233256
233264
 
233257
- ;
233258
233265
  this.$emit("handlerClick", value, row, rowIndex);
233259
233266
  },
233260
233267
  //普通表格转树表(仅支持一层)