@leevan/jtui 2.0.6 → 2.0.7-npm
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.
- package/lib/jtui.common.js +251 -123
- package/lib/jtui.css +1 -1
- package/lib/jtui.umd.js +251 -123
- package/lib/jtui.umd.min.js +1 -1
- package/package.json +1 -1
- package/packages/jt-table/components/tableColumn.vue +119 -0
- package/packages/jt-table/index.vue +25 -36
- package/packages/jt-table-pc/JtTablePc.vue +31 -39
- package/packages/jt-table-pc/components/tableColumn.vue +118 -0
- package/packages/jt-table-pc/data2.js +1843 -1793
package/lib/jtui.common.js
CHANGED
|
@@ -231247,8 +231247,8 @@ var es_function_name = __webpack_require__("b0c0");
|
|
|
231247
231247
|
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
|
|
231248
231248
|
var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
|
|
231249
231249
|
|
|
231250
|
-
// 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=
|
|
231251
|
-
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,"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":{
|
|
231250
|
+
// 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=0d9a4eca&
|
|
231251
|
+
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":{
|
|
231252
231252
|
type: 'xlsx',
|
|
231253
231253
|
types: ['xlsx', 'csv', 'html', 'xml', 'txt'],
|
|
231254
231254
|
},"custom-config":{ storage: true, checkMethod: _vm.checkColumnMethod },"edit-config":{
|
|
@@ -231262,7 +231262,7 @@ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._sel
|
|
|
231262
231262
|
toggleMethod: _vm.toggleMethod,
|
|
231263
231263
|
lazy: true,
|
|
231264
231264
|
accordion: _vm.expandConfig.accordion,
|
|
231265
|
-
}},on:{"scroll":_vm.scroll,"checkbox-change":_vm.selectChangeEvent,"checkbox-all":_vm.selectChangeEvent,"radio-change":_vm.radioSelectChangeEvent,"cell-click":_vm.cellClickEvent,"keydown":_vm.keyEnter}},[(_vm.checkbox)?_c('vxe-table-column',{attrs:{"type":"checkbox","width":"38","align":"center","fixed":"left"}}):_vm._e(),(_vm.radio)?_c('vxe-table-column',{attrs:{"type":"radio","width":"38","align":"center","fixed":"left"}}):_vm._e(),(_vm.isSeq && _vm.data)?_c('vxe-table-column',{attrs:{"type":"seq","align":"center","width":_vm.req + 'px',"title":"序号","fixed":"left"}}):_vm._e(),_vm._l((_vm.data.retjson.header),function(item,index){return [_c('
|
|
231265
|
+
}},on:{"scroll":_vm.scroll,"checkbox-change":_vm.selectChangeEvent,"checkbox-all":_vm.selectChangeEvent,"radio-change":_vm.radioSelectChangeEvent,"cell-click":_vm.cellClickEvent,"keydown":_vm.keyEnter}},[(_vm.checkbox)?_c('vxe-table-column',{attrs:{"type":"checkbox","width":"38","align":"center","fixed":"left"}}):_vm._e(),(_vm.radio)?_c('vxe-table-column',{attrs:{"type":"radio","width":"38","align":"center","fixed":"left"}}):_vm._e(),(_vm.isSeq && _vm.data)?_c('vxe-table-column',{attrs:{"type":"seq","align":"center","width":_vm.req + 'px',"title":"序号","fixed":"left"}}):_vm._e(),_vm._l((_vm.data.retjson.header),function(item,index){return [_c('table-column',{key:index,attrs:{"item":item,"index":index,"cellRenderData":_vm.cellRenderData,"filterData":_vm.filterData,"formatEnum":_vm.formatEnum}})]}),(_vm.expandConfig.isOpen)?_c('vxe-table-column',{attrs:{"type":"expand","fixed":"right","width":_vm.expandConfig.width},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
231266
231266
|
var row = ref.row;
|
|
231267
231267
|
return [_c('span',{staticStyle:{"position":"relative","top":"2px","right":"6px","color":"#333"}},[_vm._v(" "+_vm._s(_vm.isExpandText(row) ? _vm.expandConfig.text : ""))])]}},{key:"content",fn:function(ref){
|
|
231268
231268
|
var row = ref.row;
|
|
@@ -231275,7 +231275,7 @@ return [(_vm.handlerConfig.btnGroup)?_c('el-dropdown',[_c('el-button',{attrs:{"s
|
|
|
231275
231275
|
})}),_c('span',{staticClass:"ht-text",style:({color:item.textColor ? item.textColor : '#379FF2'})},[_vm._v(_vm._s(item.name))])])}),_vm._l((row.inBottons),function(item,index){return _c('el-button',{key:index,style:(_vm.btnHover(item.bgColor)),attrs:{"type":"text","size":"mini"},on:{"click":function($event){return _vm.handlerColClick(item.funcode, row, rowIndex)}}},[_c('i',{staticClass:"jtIcon ht-icon",class:item.icon ? item.icon : 'iconxiangqing',style:({
|
|
231276
231276
|
color: item.color ? item.color : '#379FF2',
|
|
231277
231277
|
fontSize: item.size ? item.size + 'px' : '16px',
|
|
231278
|
-
})}),_c('span',{staticClass:"ht-text",style:({color:item.textColor ? item.textColor : '#379FF2'})},[_vm._v(_vm._s(item.name))])])})]:_vm._e()]}}],null,false,1291632177)})],2):_vm._e(),(_vm.tableType === 'bigData')?_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,"loading":_vm.loading,"row-style":_vm.rowStyle,"cell-style":_vm.cellStyle_m,"span-method":_vm.spanMethod,"scroll-x":{ gt: 20 },"scroll-y":{ gt: 40, mode: 'wheel' },"sort-config":{ sortMethod: _vm.sortMethod },"radio-config":{ checkRowKey: null },"keyboard-config":{ isArrow: true },"checkbox-config":{ highlight: true },"export-config":{
|
|
231278
|
+
})}),_c('span',{staticClass:"ht-text",style:({color:item.textColor ? item.textColor : '#379FF2'})},[_vm._v(_vm._s(item.name))])])})]:_vm._e()]}}],null,false,1291632177)})],2):_vm._e(),(_vm.tableType === 'bigData')?_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":"","header-cell-class-name":_vm.headerClass,"id":_vm.id,"data":_vm.data.DataArray,"stripe":_vm.stripe,"border":_vm.border,"max-height":_vm.maxHeight,"loading":_vm.loading,"row-style":_vm.rowStyle,"cell-style":_vm.cellStyle_m,"span-method":_vm.spanMethod,"scroll-x":{ gt: 20 },"scroll-y":{ gt: 40, mode: 'wheel' },"sort-config":{ sortMethod: _vm.sortMethod },"radio-config":{ checkRowKey: null },"keyboard-config":{ isArrow: true },"checkbox-config":{ highlight: true },"export-config":{
|
|
231279
231279
|
type: 'xlsx',
|
|
231280
231280
|
types: ['xlsx', 'csv', 'html', 'xml', 'txt'],
|
|
231281
231281
|
},"custom-config":{ storage: true, checkMethod: _vm.checkColumnMethod },"edit-config":{
|
|
@@ -231283,7 +231283,7 @@ return [(_vm.handlerConfig.btnGroup)?_c('el-dropdown',[_c('el-button',{attrs:{"s
|
|
|
231283
231283
|
mode: 'cell',
|
|
231284
231284
|
showStatus: true,
|
|
231285
231285
|
activeMethod: _vm.activeCellMethod,
|
|
231286
|
-
}},on:{"scroll":_vm.scroll,"checkbox-change":_vm.selectChangeEvent,"checkbox-all":_vm.selectChangeEvent,"radio-change":_vm.radioSelectChangeEvent,"cell-click":_vm.cellClickEvent,"keydown":_vm.keyEnter}},[(_vm.checkbox)?_c('vxe-table-column',{attrs:{"type":"checkbox","width":"38","align":"center","fixed":"left"}}):_vm._e(),(_vm.radio)?_c('vxe-table-column',{attrs:{"type":"radio","width":"38","align":"center","fixed":"left"}}):_vm._e(),(_vm.isSeq && _vm.data)?_c('vxe-table-column',{attrs:{"type":"seq","align":"center","width":_vm.req + 'px',"title":"序号","fixed":"left"}}):_vm._e(),_vm._l((_vm.data.retjson.header),function(item,index){return [_c('
|
|
231286
|
+
}},on:{"scroll":_vm.scroll,"checkbox-change":_vm.selectChangeEvent,"checkbox-all":_vm.selectChangeEvent,"radio-change":_vm.radioSelectChangeEvent,"cell-click":_vm.cellClickEvent,"keydown":_vm.keyEnter}},[(_vm.checkbox)?_c('vxe-table-column',{attrs:{"type":"checkbox","width":"38","align":"center","fixed":"left"}}):_vm._e(),(_vm.radio)?_c('vxe-table-column',{attrs:{"type":"radio","width":"38","align":"center","fixed":"left"}}):_vm._e(),(_vm.isSeq && _vm.data)?_c('vxe-table-column',{attrs:{"type":"seq","align":"center","width":_vm.req + 'px',"title":"序号","fixed":"left"}}):_vm._e(),_vm._l((_vm.data.retjson.header),function(item,index){return [_c('table-column',{key:index,attrs:{"item":item,"cellRenderData":_vm.cellRenderData,"filterData":_vm.filterData}})]}),(_vm.expandConfig.isOpen)?_c('vxe-table-column',{attrs:{"type":"expand","fixed":"right","width":_vm.expandConfig.width},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
231287
231287
|
var row = ref.row;
|
|
231288
231288
|
return [_c('span',{staticStyle:{"position":"relative","top":"2px","right":"6px","color":"#333"}},[_vm._v(" "+_vm._s(_vm.isExpandText(row) ? _vm.expandConfig.text : ""))])]}},{key:"content",fn:function(ref){
|
|
231289
231289
|
var row = ref.row;
|
|
@@ -231347,7 +231347,7 @@ return [(_vm.handlerConfig.btnGroup)?_c('el-dropdown',[_c('el-button',{attrs:{"s
|
|
|
231347
231347
|
var staticRenderFns = []
|
|
231348
231348
|
|
|
231349
231349
|
|
|
231350
|
-
// CONCATENATED MODULE: ./packages/jt-table/index.vue?vue&type=template&id=
|
|
231350
|
+
// CONCATENATED MODULE: ./packages/jt-table/index.vue?vue&type=template&id=0d9a4eca&
|
|
231351
231351
|
|
|
231352
231352
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
|
|
231353
231353
|
var es_array_concat = __webpack_require__("99af");
|
|
@@ -231525,24 +231525,14 @@ function _toConsumableArray(arr) {
|
|
|
231525
231525
|
var xe_utils = __webpack_require__("c695");
|
|
231526
231526
|
var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
|
|
231527
231527
|
|
|
231528
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js
|
|
231529
|
-
|
|
231530
|
-
|
|
231531
|
-
|
|
231532
|
-
|
|
231533
|
-
|
|
231534
|
-
|
|
231535
|
-
|
|
231536
|
-
|
|
231537
|
-
|
|
231538
|
-
|
|
231539
|
-
|
|
231540
|
-
|
|
231541
|
-
|
|
231542
|
-
|
|
231528
|
+
// 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/components/tableColumn.vue?vue&type=template&id=4fb0e5fe&scoped=true&
|
|
231529
|
+
var tableColumnvue_type_template_id_4fb0e5fe_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.item.children && _vm.item.children.length)?_c('vxe-colgroup',{key:_vm.index,attrs:{"title":_vm.item.label}},[_vm._l((_vm.item.children),function(subItem,subIndex){return [(subItem.children && subItem.children.length)?_c('vxe-colgroup',{key:subIndex,attrs:{"title":subItem.label}},_vm._l((subItem.children),function(subSubItem,subSubIndex){return _c('vxe-table-column',{key:subSubIndex,attrs:{"edit-render":subSubItem.edit,"show-overflow":"","field":subSubItem.prop,"align":subSubItem.align,"title":subSubItem.label,"type":subSubItem.html ? 'html' : '',"min-width":subSubItem.width,"sortable":subSubItem.isSort,"visible":subSubItem.width != 0,"fixed":subSubItem.isFixed,"filters":_vm.filterData(subSubItem.filterRender),"filter-render":{ name: subSubItem.filterRender },"formatter":_vm.formatEnum,"cell-render":_vm.cellRenderData(subSubItem.cellRender)}})}),1):_c('vxe-table-column',{key:subIndex,attrs:{"edit-render":subItem.edit,"show-overflow":"","field":subItem.prop,"align":subItem.align,"title":subItem.label,"type":subItem.html ? 'html' : '',"min-width":subItem.width,"sortable":subItem.isSort,"visible":subItem.width != 0,"fixed":subItem.isFixed,"filters":_vm.filterData(subItem.filterRender),"filter-render":{ name: subItem.filterRender },"formatter":_vm.formatEnum,"cell-render":_vm.cellRenderData(subItem.cellRender)}})]})],2):_c('vxe-table-column',{key:_vm.index,attrs:{"edit-render":_vm.item.edit,"show-overflow":"","field":_vm.item.prop,"align":_vm.item.align,"title":_vm.item.label,"type":_vm.item.html ? 'html' : '',"min-width":_vm.item.width,"sortable":_vm.item.isSort,"visible":_vm.item.width != 0,"fixed":_vm.item.isFixed,"filters":_vm.filterData(_vm.item.filterRender),"filter-render":{ name: _vm.item.filterRender },"formatter":_vm.formatEnum,"cell-render":_vm.cellRenderData(_vm.item.cellRender)}})}
|
|
231530
|
+
var tableColumnvue_type_template_id_4fb0e5fe_scoped_true_staticRenderFns = []
|
|
231543
231531
|
|
|
231544
231532
|
|
|
231533
|
+
// CONCATENATED MODULE: ./packages/jt-table/components/tableColumn.vue?vue&type=template&id=4fb0e5fe&scoped=true&
|
|
231545
231534
|
|
|
231535
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/jt-table/components/tableColumn.vue?vue&type=script&lang=js&
|
|
231546
231536
|
|
|
231547
231537
|
//
|
|
231548
231538
|
//
|
|
@@ -231563,6 +231553,237 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
|
|
|
231563
231553
|
//
|
|
231564
231554
|
//
|
|
231565
231555
|
//
|
|
231556
|
+
//
|
|
231557
|
+
//
|
|
231558
|
+
//
|
|
231559
|
+
//
|
|
231560
|
+
//
|
|
231561
|
+
//
|
|
231562
|
+
//
|
|
231563
|
+
//
|
|
231564
|
+
//
|
|
231565
|
+
//
|
|
231566
|
+
//
|
|
231567
|
+
//
|
|
231568
|
+
//
|
|
231569
|
+
//
|
|
231570
|
+
//
|
|
231571
|
+
//
|
|
231572
|
+
//
|
|
231573
|
+
//
|
|
231574
|
+
//
|
|
231575
|
+
//
|
|
231576
|
+
//
|
|
231577
|
+
//
|
|
231578
|
+
//
|
|
231579
|
+
//
|
|
231580
|
+
//
|
|
231581
|
+
//
|
|
231582
|
+
//
|
|
231583
|
+
//
|
|
231584
|
+
//
|
|
231585
|
+
//
|
|
231586
|
+
//
|
|
231587
|
+
//
|
|
231588
|
+
//
|
|
231589
|
+
//
|
|
231590
|
+
//
|
|
231591
|
+
//
|
|
231592
|
+
//
|
|
231593
|
+
//
|
|
231594
|
+
//
|
|
231595
|
+
//
|
|
231596
|
+
//
|
|
231597
|
+
//
|
|
231598
|
+
//
|
|
231599
|
+
//
|
|
231600
|
+
//
|
|
231601
|
+
//
|
|
231602
|
+
//
|
|
231603
|
+
//
|
|
231604
|
+
//
|
|
231605
|
+
//
|
|
231606
|
+
//
|
|
231607
|
+
//
|
|
231608
|
+
//
|
|
231609
|
+
//
|
|
231610
|
+
//
|
|
231611
|
+
//
|
|
231612
|
+
//
|
|
231613
|
+
//
|
|
231614
|
+
/* harmony default export */ var tableColumnvue_type_script_lang_js_ = ({
|
|
231615
|
+
name: "tableColumn",
|
|
231616
|
+
data: function data() {
|
|
231617
|
+
return {};
|
|
231618
|
+
},
|
|
231619
|
+
props: {
|
|
231620
|
+
item: Object,
|
|
231621
|
+
filterData: {
|
|
231622
|
+
type: Function,
|
|
231623
|
+
default: function _default() {
|
|
231624
|
+
return {};
|
|
231625
|
+
}
|
|
231626
|
+
},
|
|
231627
|
+
cellRenderData: {
|
|
231628
|
+
type: Function,
|
|
231629
|
+
default: function _default() {
|
|
231630
|
+
return {};
|
|
231631
|
+
}
|
|
231632
|
+
},
|
|
231633
|
+
formatEnum: {
|
|
231634
|
+
type: Function,
|
|
231635
|
+
default: function _default() {
|
|
231636
|
+
return {};
|
|
231637
|
+
}
|
|
231638
|
+
},
|
|
231639
|
+
index: {
|
|
231640
|
+
type: Number,
|
|
231641
|
+
default: 0
|
|
231642
|
+
}
|
|
231643
|
+
},
|
|
231644
|
+
methods: {}
|
|
231645
|
+
});
|
|
231646
|
+
// CONCATENATED MODULE: ./packages/jt-table/components/tableColumn.vue?vue&type=script&lang=js&
|
|
231647
|
+
/* harmony default export */ var components_tableColumnvue_type_script_lang_js_ = (tableColumnvue_type_script_lang_js_);
|
|
231648
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
231649
|
+
/* globals __VUE_SSR_CONTEXT__ */
|
|
231650
|
+
|
|
231651
|
+
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
|
|
231652
|
+
// This module is a runtime utility for cleaner component module output and will
|
|
231653
|
+
// be included in the final webpack user bundle.
|
|
231654
|
+
|
|
231655
|
+
function normalizeComponent (
|
|
231656
|
+
scriptExports,
|
|
231657
|
+
render,
|
|
231658
|
+
staticRenderFns,
|
|
231659
|
+
functionalTemplate,
|
|
231660
|
+
injectStyles,
|
|
231661
|
+
scopeId,
|
|
231662
|
+
moduleIdentifier, /* server only */
|
|
231663
|
+
shadowMode /* vue-cli only */
|
|
231664
|
+
) {
|
|
231665
|
+
// Vue.extend constructor export interop
|
|
231666
|
+
var options = typeof scriptExports === 'function'
|
|
231667
|
+
? scriptExports.options
|
|
231668
|
+
: scriptExports
|
|
231669
|
+
|
|
231670
|
+
// render functions
|
|
231671
|
+
if (render) {
|
|
231672
|
+
options.render = render
|
|
231673
|
+
options.staticRenderFns = staticRenderFns
|
|
231674
|
+
options._compiled = true
|
|
231675
|
+
}
|
|
231676
|
+
|
|
231677
|
+
// functional template
|
|
231678
|
+
if (functionalTemplate) {
|
|
231679
|
+
options.functional = true
|
|
231680
|
+
}
|
|
231681
|
+
|
|
231682
|
+
// scopedId
|
|
231683
|
+
if (scopeId) {
|
|
231684
|
+
options._scopeId = 'data-v-' + scopeId
|
|
231685
|
+
}
|
|
231686
|
+
|
|
231687
|
+
var hook
|
|
231688
|
+
if (moduleIdentifier) { // server build
|
|
231689
|
+
hook = function (context) {
|
|
231690
|
+
// 2.3 injection
|
|
231691
|
+
context =
|
|
231692
|
+
context || // cached call
|
|
231693
|
+
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
|
231694
|
+
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
|
|
231695
|
+
// 2.2 with runInNewContext: true
|
|
231696
|
+
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
231697
|
+
context = __VUE_SSR_CONTEXT__
|
|
231698
|
+
}
|
|
231699
|
+
// inject component styles
|
|
231700
|
+
if (injectStyles) {
|
|
231701
|
+
injectStyles.call(this, context)
|
|
231702
|
+
}
|
|
231703
|
+
// register component module identifier for async chunk inferrence
|
|
231704
|
+
if (context && context._registeredComponents) {
|
|
231705
|
+
context._registeredComponents.add(moduleIdentifier)
|
|
231706
|
+
}
|
|
231707
|
+
}
|
|
231708
|
+
// used by ssr in case component is cached and beforeCreate
|
|
231709
|
+
// never gets called
|
|
231710
|
+
options._ssrRegister = hook
|
|
231711
|
+
} else if (injectStyles) {
|
|
231712
|
+
hook = shadowMode
|
|
231713
|
+
? function () {
|
|
231714
|
+
injectStyles.call(
|
|
231715
|
+
this,
|
|
231716
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
231717
|
+
)
|
|
231718
|
+
}
|
|
231719
|
+
: injectStyles
|
|
231720
|
+
}
|
|
231721
|
+
|
|
231722
|
+
if (hook) {
|
|
231723
|
+
if (options.functional) {
|
|
231724
|
+
// for template-only hot-reload because in that case the render fn doesn't
|
|
231725
|
+
// go through the normalizer
|
|
231726
|
+
options._injectStyles = hook
|
|
231727
|
+
// register for functional component in vue file
|
|
231728
|
+
var originalRender = options.render
|
|
231729
|
+
options.render = function renderWithStyleInjection (h, context) {
|
|
231730
|
+
hook.call(context)
|
|
231731
|
+
return originalRender(h, context)
|
|
231732
|
+
}
|
|
231733
|
+
} else {
|
|
231734
|
+
// inject component registration as beforeCreate hook
|
|
231735
|
+
var existing = options.beforeCreate
|
|
231736
|
+
options.beforeCreate = existing
|
|
231737
|
+
? [].concat(existing, hook)
|
|
231738
|
+
: [hook]
|
|
231739
|
+
}
|
|
231740
|
+
}
|
|
231741
|
+
|
|
231742
|
+
return {
|
|
231743
|
+
exports: scriptExports,
|
|
231744
|
+
options: options
|
|
231745
|
+
}
|
|
231746
|
+
}
|
|
231747
|
+
|
|
231748
|
+
// CONCATENATED MODULE: ./packages/jt-table/components/tableColumn.vue
|
|
231749
|
+
|
|
231750
|
+
|
|
231751
|
+
|
|
231752
|
+
|
|
231753
|
+
|
|
231754
|
+
/* normalize component */
|
|
231755
|
+
|
|
231756
|
+
var component = normalizeComponent(
|
|
231757
|
+
components_tableColumnvue_type_script_lang_js_,
|
|
231758
|
+
tableColumnvue_type_template_id_4fb0e5fe_scoped_true_render,
|
|
231759
|
+
tableColumnvue_type_template_id_4fb0e5fe_scoped_true_staticRenderFns,
|
|
231760
|
+
false,
|
|
231761
|
+
null,
|
|
231762
|
+
"4fb0e5fe",
|
|
231763
|
+
null
|
|
231764
|
+
|
|
231765
|
+
)
|
|
231766
|
+
|
|
231767
|
+
/* harmony default export */ var tableColumn = (component.exports);
|
|
231768
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./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=script&lang=js&
|
|
231769
|
+
|
|
231770
|
+
|
|
231771
|
+
|
|
231772
|
+
|
|
231773
|
+
|
|
231774
|
+
|
|
231775
|
+
|
|
231776
|
+
|
|
231777
|
+
|
|
231778
|
+
|
|
231779
|
+
|
|
231780
|
+
|
|
231781
|
+
|
|
231782
|
+
|
|
231783
|
+
|
|
231784
|
+
|
|
231785
|
+
|
|
231786
|
+
|
|
231566
231787
|
//
|
|
231567
231788
|
//
|
|
231568
231789
|
//
|
|
@@ -232316,8 +232537,12 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
|
|
|
232316
232537
|
//
|
|
232317
232538
|
//
|
|
232318
232539
|
|
|
232540
|
+
|
|
232319
232541
|
/* harmony default export */ var jt_tablevue_type_script_lang_js_ = ({
|
|
232320
232542
|
name: "jt-table-pc",
|
|
232543
|
+
components: {
|
|
232544
|
+
tableColumn: tableColumn
|
|
232545
|
+
},
|
|
232321
232546
|
created: function created() {
|
|
232322
232547
|
if (this.isPage) {
|
|
232323
232548
|
this.tDataCopy = JSON.parse(JSON.stringify(this.data.DataArray));
|
|
@@ -232518,6 +232743,9 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
|
|
|
232518
232743
|
return {
|
|
232519
232744
|
tableData: this.data.DataArray,
|
|
232520
232745
|
//表格数据
|
|
232746
|
+
headerClass: (this.data.retjson.header || []).find(function (i) {
|
|
232747
|
+
return (i.children || []).length;
|
|
232748
|
+
}) ? 'has-sub-header' : 'normal-header',
|
|
232521
232749
|
colNum: 0,
|
|
232522
232750
|
//当前列的数量
|
|
232523
232751
|
leftCol: 0,
|
|
@@ -233290,106 +233518,6 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
|
|
|
233290
233518
|
// EXTERNAL MODULE: ./packages/jt-table/index.vue?vue&type=style&index=0&lang=css&
|
|
233291
233519
|
var jt_tablevue_type_style_index_0_lang_css_ = __webpack_require__("dbaa");
|
|
233292
233520
|
|
|
233293
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
233294
|
-
/* globals __VUE_SSR_CONTEXT__ */
|
|
233295
|
-
|
|
233296
|
-
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
|
|
233297
|
-
// This module is a runtime utility for cleaner component module output and will
|
|
233298
|
-
// be included in the final webpack user bundle.
|
|
233299
|
-
|
|
233300
|
-
function normalizeComponent (
|
|
233301
|
-
scriptExports,
|
|
233302
|
-
render,
|
|
233303
|
-
staticRenderFns,
|
|
233304
|
-
functionalTemplate,
|
|
233305
|
-
injectStyles,
|
|
233306
|
-
scopeId,
|
|
233307
|
-
moduleIdentifier, /* server only */
|
|
233308
|
-
shadowMode /* vue-cli only */
|
|
233309
|
-
) {
|
|
233310
|
-
// Vue.extend constructor export interop
|
|
233311
|
-
var options = typeof scriptExports === 'function'
|
|
233312
|
-
? scriptExports.options
|
|
233313
|
-
: scriptExports
|
|
233314
|
-
|
|
233315
|
-
// render functions
|
|
233316
|
-
if (render) {
|
|
233317
|
-
options.render = render
|
|
233318
|
-
options.staticRenderFns = staticRenderFns
|
|
233319
|
-
options._compiled = true
|
|
233320
|
-
}
|
|
233321
|
-
|
|
233322
|
-
// functional template
|
|
233323
|
-
if (functionalTemplate) {
|
|
233324
|
-
options.functional = true
|
|
233325
|
-
}
|
|
233326
|
-
|
|
233327
|
-
// scopedId
|
|
233328
|
-
if (scopeId) {
|
|
233329
|
-
options._scopeId = 'data-v-' + scopeId
|
|
233330
|
-
}
|
|
233331
|
-
|
|
233332
|
-
var hook
|
|
233333
|
-
if (moduleIdentifier) { // server build
|
|
233334
|
-
hook = function (context) {
|
|
233335
|
-
// 2.3 injection
|
|
233336
|
-
context =
|
|
233337
|
-
context || // cached call
|
|
233338
|
-
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
|
233339
|
-
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
|
|
233340
|
-
// 2.2 with runInNewContext: true
|
|
233341
|
-
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
233342
|
-
context = __VUE_SSR_CONTEXT__
|
|
233343
|
-
}
|
|
233344
|
-
// inject component styles
|
|
233345
|
-
if (injectStyles) {
|
|
233346
|
-
injectStyles.call(this, context)
|
|
233347
|
-
}
|
|
233348
|
-
// register component module identifier for async chunk inferrence
|
|
233349
|
-
if (context && context._registeredComponents) {
|
|
233350
|
-
context._registeredComponents.add(moduleIdentifier)
|
|
233351
|
-
}
|
|
233352
|
-
}
|
|
233353
|
-
// used by ssr in case component is cached and beforeCreate
|
|
233354
|
-
// never gets called
|
|
233355
|
-
options._ssrRegister = hook
|
|
233356
|
-
} else if (injectStyles) {
|
|
233357
|
-
hook = shadowMode
|
|
233358
|
-
? function () {
|
|
233359
|
-
injectStyles.call(
|
|
233360
|
-
this,
|
|
233361
|
-
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
233362
|
-
)
|
|
233363
|
-
}
|
|
233364
|
-
: injectStyles
|
|
233365
|
-
}
|
|
233366
|
-
|
|
233367
|
-
if (hook) {
|
|
233368
|
-
if (options.functional) {
|
|
233369
|
-
// for template-only hot-reload because in that case the render fn doesn't
|
|
233370
|
-
// go through the normalizer
|
|
233371
|
-
options._injectStyles = hook
|
|
233372
|
-
// register for functional component in vue file
|
|
233373
|
-
var originalRender = options.render
|
|
233374
|
-
options.render = function renderWithStyleInjection (h, context) {
|
|
233375
|
-
hook.call(context)
|
|
233376
|
-
return originalRender(h, context)
|
|
233377
|
-
}
|
|
233378
|
-
} else {
|
|
233379
|
-
// inject component registration as beforeCreate hook
|
|
233380
|
-
var existing = options.beforeCreate
|
|
233381
|
-
options.beforeCreate = existing
|
|
233382
|
-
? [].concat(existing, hook)
|
|
233383
|
-
: [hook]
|
|
233384
|
-
}
|
|
233385
|
-
}
|
|
233386
|
-
|
|
233387
|
-
return {
|
|
233388
|
-
exports: scriptExports,
|
|
233389
|
-
options: options
|
|
233390
|
-
}
|
|
233391
|
-
}
|
|
233392
|
-
|
|
233393
233521
|
// CONCATENATED MODULE: ./packages/jt-table/index.vue
|
|
233394
233522
|
|
|
233395
233523
|
|
|
@@ -233399,7 +233527,7 @@ function normalizeComponent (
|
|
|
233399
233527
|
|
|
233400
233528
|
/* normalize component */
|
|
233401
233529
|
|
|
233402
|
-
var
|
|
233530
|
+
var jt_table_component = normalizeComponent(
|
|
233403
233531
|
packages_jt_tablevue_type_script_lang_js_,
|
|
233404
233532
|
render,
|
|
233405
233533
|
staticRenderFns,
|
|
@@ -233410,7 +233538,7 @@ var component = normalizeComponent(
|
|
|
233410
233538
|
|
|
233411
233539
|
)
|
|
233412
233540
|
|
|
233413
|
-
/* harmony default export */ var jt_table = (
|
|
233541
|
+
/* harmony default export */ var jt_table = (jt_table_component.exports);
|
|
233414
233542
|
// CONCATENATED MODULE: ./packages/jt-table/index.js
|
|
233415
233543
|
|
|
233416
233544
|
// 导入组件,组件必须声明 name
|