@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.umd.js
CHANGED
|
@@ -231256,8 +231256,8 @@ var es_function_name = __webpack_require__("b0c0");
|
|
|
231256
231256
|
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
|
|
231257
231257
|
var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
|
|
231258
231258
|
|
|
231259
|
-
// 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=
|
|
231260
|
-
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":{
|
|
231259
|
+
// 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&
|
|
231260
|
+
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":{
|
|
231261
231261
|
type: 'xlsx',
|
|
231262
231262
|
types: ['xlsx', 'csv', 'html', 'xml', 'txt'],
|
|
231263
231263
|
},"custom-config":{ storage: true, checkMethod: _vm.checkColumnMethod },"edit-config":{
|
|
@@ -231271,7 +231271,7 @@ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._sel
|
|
|
231271
231271
|
toggleMethod: _vm.toggleMethod,
|
|
231272
231272
|
lazy: true,
|
|
231273
231273
|
accordion: _vm.expandConfig.accordion,
|
|
231274
|
-
}},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('
|
|
231274
|
+
}},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){
|
|
231275
231275
|
var row = ref.row;
|
|
231276
231276
|
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){
|
|
231277
231277
|
var row = ref.row;
|
|
@@ -231284,7 +231284,7 @@ return [(_vm.handlerConfig.btnGroup)?_c('el-dropdown',[_c('el-button',{attrs:{"s
|
|
|
231284
231284
|
})}),_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:({
|
|
231285
231285
|
color: item.color ? item.color : '#379FF2',
|
|
231286
231286
|
fontSize: item.size ? item.size + 'px' : '16px',
|
|
231287
|
-
})}),_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":{
|
|
231287
|
+
})}),_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":{
|
|
231288
231288
|
type: 'xlsx',
|
|
231289
231289
|
types: ['xlsx', 'csv', 'html', 'xml', 'txt'],
|
|
231290
231290
|
},"custom-config":{ storage: true, checkMethod: _vm.checkColumnMethod },"edit-config":{
|
|
@@ -231292,7 +231292,7 @@ return [(_vm.handlerConfig.btnGroup)?_c('el-dropdown',[_c('el-button',{attrs:{"s
|
|
|
231292
231292
|
mode: 'cell',
|
|
231293
231293
|
showStatus: true,
|
|
231294
231294
|
activeMethod: _vm.activeCellMethod,
|
|
231295
|
-
}},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('
|
|
231295
|
+
}},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){
|
|
231296
231296
|
var row = ref.row;
|
|
231297
231297
|
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){
|
|
231298
231298
|
var row = ref.row;
|
|
@@ -231356,7 +231356,7 @@ return [(_vm.handlerConfig.btnGroup)?_c('el-dropdown',[_c('el-button',{attrs:{"s
|
|
|
231356
231356
|
var staticRenderFns = []
|
|
231357
231357
|
|
|
231358
231358
|
|
|
231359
|
-
// CONCATENATED MODULE: ./packages/jt-table/index.vue?vue&type=template&id=
|
|
231359
|
+
// CONCATENATED MODULE: ./packages/jt-table/index.vue?vue&type=template&id=0d9a4eca&
|
|
231360
231360
|
|
|
231361
231361
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
|
|
231362
231362
|
var es_array_concat = __webpack_require__("99af");
|
|
@@ -231534,24 +231534,14 @@ function _toConsumableArray(arr) {
|
|
|
231534
231534
|
var xe_utils = __webpack_require__("c695");
|
|
231535
231535
|
var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
|
|
231536
231536
|
|
|
231537
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js
|
|
231538
|
-
|
|
231539
|
-
|
|
231540
|
-
|
|
231541
|
-
|
|
231542
|
-
|
|
231543
|
-
|
|
231544
|
-
|
|
231545
|
-
|
|
231546
|
-
|
|
231547
|
-
|
|
231548
|
-
|
|
231549
|
-
|
|
231550
|
-
|
|
231551
|
-
|
|
231537
|
+
// 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&
|
|
231538
|
+
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)}})}
|
|
231539
|
+
var tableColumnvue_type_template_id_4fb0e5fe_scoped_true_staticRenderFns = []
|
|
231552
231540
|
|
|
231553
231541
|
|
|
231542
|
+
// CONCATENATED MODULE: ./packages/jt-table/components/tableColumn.vue?vue&type=template&id=4fb0e5fe&scoped=true&
|
|
231554
231543
|
|
|
231544
|
+
// 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&
|
|
231555
231545
|
|
|
231556
231546
|
//
|
|
231557
231547
|
//
|
|
@@ -231572,6 +231562,237 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
|
|
|
231572
231562
|
//
|
|
231573
231563
|
//
|
|
231574
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
|
+
//
|
|
231615
|
+
//
|
|
231616
|
+
//
|
|
231617
|
+
//
|
|
231618
|
+
//
|
|
231619
|
+
//
|
|
231620
|
+
//
|
|
231621
|
+
//
|
|
231622
|
+
//
|
|
231623
|
+
/* harmony default export */ var tableColumnvue_type_script_lang_js_ = ({
|
|
231624
|
+
name: "tableColumn",
|
|
231625
|
+
data: function data() {
|
|
231626
|
+
return {};
|
|
231627
|
+
},
|
|
231628
|
+
props: {
|
|
231629
|
+
item: Object,
|
|
231630
|
+
filterData: {
|
|
231631
|
+
type: Function,
|
|
231632
|
+
default: function _default() {
|
|
231633
|
+
return {};
|
|
231634
|
+
}
|
|
231635
|
+
},
|
|
231636
|
+
cellRenderData: {
|
|
231637
|
+
type: Function,
|
|
231638
|
+
default: function _default() {
|
|
231639
|
+
return {};
|
|
231640
|
+
}
|
|
231641
|
+
},
|
|
231642
|
+
formatEnum: {
|
|
231643
|
+
type: Function,
|
|
231644
|
+
default: function _default() {
|
|
231645
|
+
return {};
|
|
231646
|
+
}
|
|
231647
|
+
},
|
|
231648
|
+
index: {
|
|
231649
|
+
type: Number,
|
|
231650
|
+
default: 0
|
|
231651
|
+
}
|
|
231652
|
+
},
|
|
231653
|
+
methods: {}
|
|
231654
|
+
});
|
|
231655
|
+
// CONCATENATED MODULE: ./packages/jt-table/components/tableColumn.vue?vue&type=script&lang=js&
|
|
231656
|
+
/* harmony default export */ var components_tableColumnvue_type_script_lang_js_ = (tableColumnvue_type_script_lang_js_);
|
|
231657
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
231658
|
+
/* globals __VUE_SSR_CONTEXT__ */
|
|
231659
|
+
|
|
231660
|
+
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
|
|
231661
|
+
// This module is a runtime utility for cleaner component module output and will
|
|
231662
|
+
// be included in the final webpack user bundle.
|
|
231663
|
+
|
|
231664
|
+
function normalizeComponent (
|
|
231665
|
+
scriptExports,
|
|
231666
|
+
render,
|
|
231667
|
+
staticRenderFns,
|
|
231668
|
+
functionalTemplate,
|
|
231669
|
+
injectStyles,
|
|
231670
|
+
scopeId,
|
|
231671
|
+
moduleIdentifier, /* server only */
|
|
231672
|
+
shadowMode /* vue-cli only */
|
|
231673
|
+
) {
|
|
231674
|
+
// Vue.extend constructor export interop
|
|
231675
|
+
var options = typeof scriptExports === 'function'
|
|
231676
|
+
? scriptExports.options
|
|
231677
|
+
: scriptExports
|
|
231678
|
+
|
|
231679
|
+
// render functions
|
|
231680
|
+
if (render) {
|
|
231681
|
+
options.render = render
|
|
231682
|
+
options.staticRenderFns = staticRenderFns
|
|
231683
|
+
options._compiled = true
|
|
231684
|
+
}
|
|
231685
|
+
|
|
231686
|
+
// functional template
|
|
231687
|
+
if (functionalTemplate) {
|
|
231688
|
+
options.functional = true
|
|
231689
|
+
}
|
|
231690
|
+
|
|
231691
|
+
// scopedId
|
|
231692
|
+
if (scopeId) {
|
|
231693
|
+
options._scopeId = 'data-v-' + scopeId
|
|
231694
|
+
}
|
|
231695
|
+
|
|
231696
|
+
var hook
|
|
231697
|
+
if (moduleIdentifier) { // server build
|
|
231698
|
+
hook = function (context) {
|
|
231699
|
+
// 2.3 injection
|
|
231700
|
+
context =
|
|
231701
|
+
context || // cached call
|
|
231702
|
+
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
|
231703
|
+
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
|
|
231704
|
+
// 2.2 with runInNewContext: true
|
|
231705
|
+
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
231706
|
+
context = __VUE_SSR_CONTEXT__
|
|
231707
|
+
}
|
|
231708
|
+
// inject component styles
|
|
231709
|
+
if (injectStyles) {
|
|
231710
|
+
injectStyles.call(this, context)
|
|
231711
|
+
}
|
|
231712
|
+
// register component module identifier for async chunk inferrence
|
|
231713
|
+
if (context && context._registeredComponents) {
|
|
231714
|
+
context._registeredComponents.add(moduleIdentifier)
|
|
231715
|
+
}
|
|
231716
|
+
}
|
|
231717
|
+
// used by ssr in case component is cached and beforeCreate
|
|
231718
|
+
// never gets called
|
|
231719
|
+
options._ssrRegister = hook
|
|
231720
|
+
} else if (injectStyles) {
|
|
231721
|
+
hook = shadowMode
|
|
231722
|
+
? function () {
|
|
231723
|
+
injectStyles.call(
|
|
231724
|
+
this,
|
|
231725
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
231726
|
+
)
|
|
231727
|
+
}
|
|
231728
|
+
: injectStyles
|
|
231729
|
+
}
|
|
231730
|
+
|
|
231731
|
+
if (hook) {
|
|
231732
|
+
if (options.functional) {
|
|
231733
|
+
// for template-only hot-reload because in that case the render fn doesn't
|
|
231734
|
+
// go through the normalizer
|
|
231735
|
+
options._injectStyles = hook
|
|
231736
|
+
// register for functional component in vue file
|
|
231737
|
+
var originalRender = options.render
|
|
231738
|
+
options.render = function renderWithStyleInjection (h, context) {
|
|
231739
|
+
hook.call(context)
|
|
231740
|
+
return originalRender(h, context)
|
|
231741
|
+
}
|
|
231742
|
+
} else {
|
|
231743
|
+
// inject component registration as beforeCreate hook
|
|
231744
|
+
var existing = options.beforeCreate
|
|
231745
|
+
options.beforeCreate = existing
|
|
231746
|
+
? [].concat(existing, hook)
|
|
231747
|
+
: [hook]
|
|
231748
|
+
}
|
|
231749
|
+
}
|
|
231750
|
+
|
|
231751
|
+
return {
|
|
231752
|
+
exports: scriptExports,
|
|
231753
|
+
options: options
|
|
231754
|
+
}
|
|
231755
|
+
}
|
|
231756
|
+
|
|
231757
|
+
// CONCATENATED MODULE: ./packages/jt-table/components/tableColumn.vue
|
|
231758
|
+
|
|
231759
|
+
|
|
231760
|
+
|
|
231761
|
+
|
|
231762
|
+
|
|
231763
|
+
/* normalize component */
|
|
231764
|
+
|
|
231765
|
+
var component = normalizeComponent(
|
|
231766
|
+
components_tableColumnvue_type_script_lang_js_,
|
|
231767
|
+
tableColumnvue_type_template_id_4fb0e5fe_scoped_true_render,
|
|
231768
|
+
tableColumnvue_type_template_id_4fb0e5fe_scoped_true_staticRenderFns,
|
|
231769
|
+
false,
|
|
231770
|
+
null,
|
|
231771
|
+
"4fb0e5fe",
|
|
231772
|
+
null
|
|
231773
|
+
|
|
231774
|
+
)
|
|
231775
|
+
|
|
231776
|
+
/* harmony default export */ var tableColumn = (component.exports);
|
|
231777
|
+
// 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&
|
|
231778
|
+
|
|
231779
|
+
|
|
231780
|
+
|
|
231781
|
+
|
|
231782
|
+
|
|
231783
|
+
|
|
231784
|
+
|
|
231785
|
+
|
|
231786
|
+
|
|
231787
|
+
|
|
231788
|
+
|
|
231789
|
+
|
|
231790
|
+
|
|
231791
|
+
|
|
231792
|
+
|
|
231793
|
+
|
|
231794
|
+
|
|
231795
|
+
|
|
231575
231796
|
//
|
|
231576
231797
|
//
|
|
231577
231798
|
//
|
|
@@ -232325,8 +232546,12 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
|
|
|
232325
232546
|
//
|
|
232326
232547
|
//
|
|
232327
232548
|
|
|
232549
|
+
|
|
232328
232550
|
/* harmony default export */ var jt_tablevue_type_script_lang_js_ = ({
|
|
232329
232551
|
name: "jt-table-pc",
|
|
232552
|
+
components: {
|
|
232553
|
+
tableColumn: tableColumn
|
|
232554
|
+
},
|
|
232330
232555
|
created: function created() {
|
|
232331
232556
|
if (this.isPage) {
|
|
232332
232557
|
this.tDataCopy = JSON.parse(JSON.stringify(this.data.DataArray));
|
|
@@ -232527,6 +232752,9 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
|
|
|
232527
232752
|
return {
|
|
232528
232753
|
tableData: this.data.DataArray,
|
|
232529
232754
|
//表格数据
|
|
232755
|
+
headerClass: (this.data.retjson.header || []).find(function (i) {
|
|
232756
|
+
return (i.children || []).length;
|
|
232757
|
+
}) ? 'has-sub-header' : 'normal-header',
|
|
232530
232758
|
colNum: 0,
|
|
232531
232759
|
//当前列的数量
|
|
232532
232760
|
leftCol: 0,
|
|
@@ -233299,106 +233527,6 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
|
|
|
233299
233527
|
// EXTERNAL MODULE: ./packages/jt-table/index.vue?vue&type=style&index=0&lang=css&
|
|
233300
233528
|
var jt_tablevue_type_style_index_0_lang_css_ = __webpack_require__("dbaa");
|
|
233301
233529
|
|
|
233302
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
233303
|
-
/* globals __VUE_SSR_CONTEXT__ */
|
|
233304
|
-
|
|
233305
|
-
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
|
|
233306
|
-
// This module is a runtime utility for cleaner component module output and will
|
|
233307
|
-
// be included in the final webpack user bundle.
|
|
233308
|
-
|
|
233309
|
-
function normalizeComponent (
|
|
233310
|
-
scriptExports,
|
|
233311
|
-
render,
|
|
233312
|
-
staticRenderFns,
|
|
233313
|
-
functionalTemplate,
|
|
233314
|
-
injectStyles,
|
|
233315
|
-
scopeId,
|
|
233316
|
-
moduleIdentifier, /* server only */
|
|
233317
|
-
shadowMode /* vue-cli only */
|
|
233318
|
-
) {
|
|
233319
|
-
// Vue.extend constructor export interop
|
|
233320
|
-
var options = typeof scriptExports === 'function'
|
|
233321
|
-
? scriptExports.options
|
|
233322
|
-
: scriptExports
|
|
233323
|
-
|
|
233324
|
-
// render functions
|
|
233325
|
-
if (render) {
|
|
233326
|
-
options.render = render
|
|
233327
|
-
options.staticRenderFns = staticRenderFns
|
|
233328
|
-
options._compiled = true
|
|
233329
|
-
}
|
|
233330
|
-
|
|
233331
|
-
// functional template
|
|
233332
|
-
if (functionalTemplate) {
|
|
233333
|
-
options.functional = true
|
|
233334
|
-
}
|
|
233335
|
-
|
|
233336
|
-
// scopedId
|
|
233337
|
-
if (scopeId) {
|
|
233338
|
-
options._scopeId = 'data-v-' + scopeId
|
|
233339
|
-
}
|
|
233340
|
-
|
|
233341
|
-
var hook
|
|
233342
|
-
if (moduleIdentifier) { // server build
|
|
233343
|
-
hook = function (context) {
|
|
233344
|
-
// 2.3 injection
|
|
233345
|
-
context =
|
|
233346
|
-
context || // cached call
|
|
233347
|
-
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
|
233348
|
-
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
|
|
233349
|
-
// 2.2 with runInNewContext: true
|
|
233350
|
-
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
233351
|
-
context = __VUE_SSR_CONTEXT__
|
|
233352
|
-
}
|
|
233353
|
-
// inject component styles
|
|
233354
|
-
if (injectStyles) {
|
|
233355
|
-
injectStyles.call(this, context)
|
|
233356
|
-
}
|
|
233357
|
-
// register component module identifier for async chunk inferrence
|
|
233358
|
-
if (context && context._registeredComponents) {
|
|
233359
|
-
context._registeredComponents.add(moduleIdentifier)
|
|
233360
|
-
}
|
|
233361
|
-
}
|
|
233362
|
-
// used by ssr in case component is cached and beforeCreate
|
|
233363
|
-
// never gets called
|
|
233364
|
-
options._ssrRegister = hook
|
|
233365
|
-
} else if (injectStyles) {
|
|
233366
|
-
hook = shadowMode
|
|
233367
|
-
? function () {
|
|
233368
|
-
injectStyles.call(
|
|
233369
|
-
this,
|
|
233370
|
-
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
233371
|
-
)
|
|
233372
|
-
}
|
|
233373
|
-
: injectStyles
|
|
233374
|
-
}
|
|
233375
|
-
|
|
233376
|
-
if (hook) {
|
|
233377
|
-
if (options.functional) {
|
|
233378
|
-
// for template-only hot-reload because in that case the render fn doesn't
|
|
233379
|
-
// go through the normalizer
|
|
233380
|
-
options._injectStyles = hook
|
|
233381
|
-
// register for functional component in vue file
|
|
233382
|
-
var originalRender = options.render
|
|
233383
|
-
options.render = function renderWithStyleInjection (h, context) {
|
|
233384
|
-
hook.call(context)
|
|
233385
|
-
return originalRender(h, context)
|
|
233386
|
-
}
|
|
233387
|
-
} else {
|
|
233388
|
-
// inject component registration as beforeCreate hook
|
|
233389
|
-
var existing = options.beforeCreate
|
|
233390
|
-
options.beforeCreate = existing
|
|
233391
|
-
? [].concat(existing, hook)
|
|
233392
|
-
: [hook]
|
|
233393
|
-
}
|
|
233394
|
-
}
|
|
233395
|
-
|
|
233396
|
-
return {
|
|
233397
|
-
exports: scriptExports,
|
|
233398
|
-
options: options
|
|
233399
|
-
}
|
|
233400
|
-
}
|
|
233401
|
-
|
|
233402
233530
|
// CONCATENATED MODULE: ./packages/jt-table/index.vue
|
|
233403
233531
|
|
|
233404
233532
|
|
|
@@ -233408,7 +233536,7 @@ function normalizeComponent (
|
|
|
233408
233536
|
|
|
233409
233537
|
/* normalize component */
|
|
233410
233538
|
|
|
233411
|
-
var
|
|
233539
|
+
var jt_table_component = normalizeComponent(
|
|
233412
233540
|
packages_jt_tablevue_type_script_lang_js_,
|
|
233413
233541
|
render,
|
|
233414
233542
|
staticRenderFns,
|
|
@@ -233419,7 +233547,7 @@ var component = normalizeComponent(
|
|
|
233419
233547
|
|
|
233420
233548
|
)
|
|
233421
233549
|
|
|
233422
|
-
/* harmony default export */ var jt_table = (
|
|
233550
|
+
/* harmony default export */ var jt_table = (jt_table_component.exports);
|
|
233423
233551
|
// CONCATENATED MODULE: ./packages/jt-table/index.js
|
|
233424
233552
|
|
|
233425
233553
|
// 导入组件,组件必须声明 name
|