@leevan/jtui 2.0.6 → 2.0.8
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 +253 -123
- package/lib/jtui.css +1 -1
- package/lib/jtui.umd.js +253 -123
- package/lib/jtui.umd.min.js +1 -1
- package/package.json +1 -1
- package/packages/jt-table/components/tableColumn.vue +121 -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 +120 -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=62931950&scoped=true&
|
|
231538
|
+
var tableColumnvue_type_template_id_62931950_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,"type":_vm.item.html ? 'html' : ''}},[_vm._l((_vm.item.children),function(subItem,subIndex){return [(subItem.children && subItem.children.length)?_c('vxe-colgroup',{key:subIndex,attrs:{"title":subItem.label,"type":subItem.html ? 'html' : ''}},_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_62931950_scoped_true_staticRenderFns = []
|
|
231552
231540
|
|
|
231553
231541
|
|
|
231542
|
+
// CONCATENATED MODULE: ./packages/jt-table/components/tableColumn.vue?vue&type=template&id=62931950&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,239 @@ 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
|
+
//
|
|
231624
|
+
//
|
|
231625
|
+
/* harmony default export */ var tableColumnvue_type_script_lang_js_ = ({
|
|
231626
|
+
name: "tableColumn",
|
|
231627
|
+
data: function data() {
|
|
231628
|
+
return {};
|
|
231629
|
+
},
|
|
231630
|
+
props: {
|
|
231631
|
+
item: Object,
|
|
231632
|
+
filterData: {
|
|
231633
|
+
type: Function,
|
|
231634
|
+
default: function _default() {
|
|
231635
|
+
return {};
|
|
231636
|
+
}
|
|
231637
|
+
},
|
|
231638
|
+
cellRenderData: {
|
|
231639
|
+
type: Function,
|
|
231640
|
+
default: function _default() {
|
|
231641
|
+
return {};
|
|
231642
|
+
}
|
|
231643
|
+
},
|
|
231644
|
+
formatEnum: {
|
|
231645
|
+
type: Function,
|
|
231646
|
+
default: function _default() {
|
|
231647
|
+
return {};
|
|
231648
|
+
}
|
|
231649
|
+
},
|
|
231650
|
+
index: {
|
|
231651
|
+
type: Number,
|
|
231652
|
+
default: 0
|
|
231653
|
+
}
|
|
231654
|
+
},
|
|
231655
|
+
methods: {}
|
|
231656
|
+
});
|
|
231657
|
+
// CONCATENATED MODULE: ./packages/jt-table/components/tableColumn.vue?vue&type=script&lang=js&
|
|
231658
|
+
/* harmony default export */ var components_tableColumnvue_type_script_lang_js_ = (tableColumnvue_type_script_lang_js_);
|
|
231659
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
231660
|
+
/* globals __VUE_SSR_CONTEXT__ */
|
|
231661
|
+
|
|
231662
|
+
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
|
|
231663
|
+
// This module is a runtime utility for cleaner component module output and will
|
|
231664
|
+
// be included in the final webpack user bundle.
|
|
231665
|
+
|
|
231666
|
+
function normalizeComponent (
|
|
231667
|
+
scriptExports,
|
|
231668
|
+
render,
|
|
231669
|
+
staticRenderFns,
|
|
231670
|
+
functionalTemplate,
|
|
231671
|
+
injectStyles,
|
|
231672
|
+
scopeId,
|
|
231673
|
+
moduleIdentifier, /* server only */
|
|
231674
|
+
shadowMode /* vue-cli only */
|
|
231675
|
+
) {
|
|
231676
|
+
// Vue.extend constructor export interop
|
|
231677
|
+
var options = typeof scriptExports === 'function'
|
|
231678
|
+
? scriptExports.options
|
|
231679
|
+
: scriptExports
|
|
231680
|
+
|
|
231681
|
+
// render functions
|
|
231682
|
+
if (render) {
|
|
231683
|
+
options.render = render
|
|
231684
|
+
options.staticRenderFns = staticRenderFns
|
|
231685
|
+
options._compiled = true
|
|
231686
|
+
}
|
|
231687
|
+
|
|
231688
|
+
// functional template
|
|
231689
|
+
if (functionalTemplate) {
|
|
231690
|
+
options.functional = true
|
|
231691
|
+
}
|
|
231692
|
+
|
|
231693
|
+
// scopedId
|
|
231694
|
+
if (scopeId) {
|
|
231695
|
+
options._scopeId = 'data-v-' + scopeId
|
|
231696
|
+
}
|
|
231697
|
+
|
|
231698
|
+
var hook
|
|
231699
|
+
if (moduleIdentifier) { // server build
|
|
231700
|
+
hook = function (context) {
|
|
231701
|
+
// 2.3 injection
|
|
231702
|
+
context =
|
|
231703
|
+
context || // cached call
|
|
231704
|
+
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
|
231705
|
+
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
|
|
231706
|
+
// 2.2 with runInNewContext: true
|
|
231707
|
+
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
231708
|
+
context = __VUE_SSR_CONTEXT__
|
|
231709
|
+
}
|
|
231710
|
+
// inject component styles
|
|
231711
|
+
if (injectStyles) {
|
|
231712
|
+
injectStyles.call(this, context)
|
|
231713
|
+
}
|
|
231714
|
+
// register component module identifier for async chunk inferrence
|
|
231715
|
+
if (context && context._registeredComponents) {
|
|
231716
|
+
context._registeredComponents.add(moduleIdentifier)
|
|
231717
|
+
}
|
|
231718
|
+
}
|
|
231719
|
+
// used by ssr in case component is cached and beforeCreate
|
|
231720
|
+
// never gets called
|
|
231721
|
+
options._ssrRegister = hook
|
|
231722
|
+
} else if (injectStyles) {
|
|
231723
|
+
hook = shadowMode
|
|
231724
|
+
? function () {
|
|
231725
|
+
injectStyles.call(
|
|
231726
|
+
this,
|
|
231727
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
231728
|
+
)
|
|
231729
|
+
}
|
|
231730
|
+
: injectStyles
|
|
231731
|
+
}
|
|
231732
|
+
|
|
231733
|
+
if (hook) {
|
|
231734
|
+
if (options.functional) {
|
|
231735
|
+
// for template-only hot-reload because in that case the render fn doesn't
|
|
231736
|
+
// go through the normalizer
|
|
231737
|
+
options._injectStyles = hook
|
|
231738
|
+
// register for functional component in vue file
|
|
231739
|
+
var originalRender = options.render
|
|
231740
|
+
options.render = function renderWithStyleInjection (h, context) {
|
|
231741
|
+
hook.call(context)
|
|
231742
|
+
return originalRender(h, context)
|
|
231743
|
+
}
|
|
231744
|
+
} else {
|
|
231745
|
+
// inject component registration as beforeCreate hook
|
|
231746
|
+
var existing = options.beforeCreate
|
|
231747
|
+
options.beforeCreate = existing
|
|
231748
|
+
? [].concat(existing, hook)
|
|
231749
|
+
: [hook]
|
|
231750
|
+
}
|
|
231751
|
+
}
|
|
231752
|
+
|
|
231753
|
+
return {
|
|
231754
|
+
exports: scriptExports,
|
|
231755
|
+
options: options
|
|
231756
|
+
}
|
|
231757
|
+
}
|
|
231758
|
+
|
|
231759
|
+
// CONCATENATED MODULE: ./packages/jt-table/components/tableColumn.vue
|
|
231760
|
+
|
|
231761
|
+
|
|
231762
|
+
|
|
231763
|
+
|
|
231764
|
+
|
|
231765
|
+
/* normalize component */
|
|
231766
|
+
|
|
231767
|
+
var component = normalizeComponent(
|
|
231768
|
+
components_tableColumnvue_type_script_lang_js_,
|
|
231769
|
+
tableColumnvue_type_template_id_62931950_scoped_true_render,
|
|
231770
|
+
tableColumnvue_type_template_id_62931950_scoped_true_staticRenderFns,
|
|
231771
|
+
false,
|
|
231772
|
+
null,
|
|
231773
|
+
"62931950",
|
|
231774
|
+
null
|
|
231775
|
+
|
|
231776
|
+
)
|
|
231777
|
+
|
|
231778
|
+
/* harmony default export */ var tableColumn = (component.exports);
|
|
231779
|
+
// 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&
|
|
231780
|
+
|
|
231781
|
+
|
|
231782
|
+
|
|
231783
|
+
|
|
231784
|
+
|
|
231785
|
+
|
|
231786
|
+
|
|
231787
|
+
|
|
231788
|
+
|
|
231789
|
+
|
|
231790
|
+
|
|
231791
|
+
|
|
231792
|
+
|
|
231793
|
+
|
|
231794
|
+
|
|
231795
|
+
|
|
231796
|
+
|
|
231797
|
+
|
|
231575
231798
|
//
|
|
231576
231799
|
//
|
|
231577
231800
|
//
|
|
@@ -232325,8 +232548,12 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
|
|
|
232325
232548
|
//
|
|
232326
232549
|
//
|
|
232327
232550
|
|
|
232551
|
+
|
|
232328
232552
|
/* harmony default export */ var jt_tablevue_type_script_lang_js_ = ({
|
|
232329
232553
|
name: "jt-table-pc",
|
|
232554
|
+
components: {
|
|
232555
|
+
tableColumn: tableColumn
|
|
232556
|
+
},
|
|
232330
232557
|
created: function created() {
|
|
232331
232558
|
if (this.isPage) {
|
|
232332
232559
|
this.tDataCopy = JSON.parse(JSON.stringify(this.data.DataArray));
|
|
@@ -232527,6 +232754,9 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
|
|
|
232527
232754
|
return {
|
|
232528
232755
|
tableData: this.data.DataArray,
|
|
232529
232756
|
//表格数据
|
|
232757
|
+
headerClass: (this.data.retjson.header || []).find(function (i) {
|
|
232758
|
+
return (i.children || []).length;
|
|
232759
|
+
}) ? 'has-sub-header' : 'normal-header',
|
|
232530
232760
|
colNum: 0,
|
|
232531
232761
|
//当前列的数量
|
|
232532
232762
|
leftCol: 0,
|
|
@@ -233299,106 +233529,6 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
|
|
|
233299
233529
|
// EXTERNAL MODULE: ./packages/jt-table/index.vue?vue&type=style&index=0&lang=css&
|
|
233300
233530
|
var jt_tablevue_type_style_index_0_lang_css_ = __webpack_require__("dbaa");
|
|
233301
233531
|
|
|
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
233532
|
// CONCATENATED MODULE: ./packages/jt-table/index.vue
|
|
233403
233533
|
|
|
233404
233534
|
|
|
@@ -233408,7 +233538,7 @@ function normalizeComponent (
|
|
|
233408
233538
|
|
|
233409
233539
|
/* normalize component */
|
|
233410
233540
|
|
|
233411
|
-
var
|
|
233541
|
+
var jt_table_component = normalizeComponent(
|
|
233412
233542
|
packages_jt_tablevue_type_script_lang_js_,
|
|
233413
233543
|
render,
|
|
233414
233544
|
staticRenderFns,
|
|
@@ -233419,7 +233549,7 @@ var component = normalizeComponent(
|
|
|
233419
233549
|
|
|
233420
233550
|
)
|
|
233421
233551
|
|
|
233422
|
-
/* harmony default export */ var jt_table = (
|
|
233552
|
+
/* harmony default export */ var jt_table = (jt_table_component.exports);
|
|
233423
233553
|
// CONCATENATED MODULE: ./packages/jt-table/index.js
|
|
233424
233554
|
|
|
233425
233555
|
// 导入组件,组件必须声明 name
|