@leevan/jtui 2.0.4 → 2.0.7

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.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=b5f4787a&
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,20 +231271,20 @@ 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('vxe-table-column',{key:index,attrs:{"edit-render":item.edit,"show-overflow":"","field":item.prop,"align":item.align,"title":item.label,"type":item.html ? 'html' : '',"min-width":item.width,"sortable":item.isSort,"visible":item.width != 0,"fixed":item.isFixed,"filters":_vm.filterData(item.filterRender),"filter-render":{ name: item.filterRender },"formatter":_vm.formatEnum,"cell-render":_vm.cellRenderData(item.cellRender)}})]}),(_vm.expandConfig.isOpen)?_c('vxe-table-column',{attrs:{"type":"expand","fixed":"right","width":_vm.expandConfig.width},scopedSlots:_vm._u([{key:"default",fn:function(ref){
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;
231278
231278
  return [_vm._t("expandContent",null,{"slotScope":row})]}}],null,true)}):_vm._e(),_c('vxe-table-column',{attrs:{"title":"操作","visible":_vm.handlerConfig.show,"align":_vm.handlerConfig.align,"width":_vm.handlerConfig.width,"fixed":_vm.handlerConfig.fixed,"show-overflow":""},scopedSlots:_vm._u([{key:"default",fn:function(ref){
231279
231279
  var row = ref.row;
231280
231280
  var rowIndex = ref.rowIndex;
231281
- return [(_vm.handlerConfig.btnGroup)?_c('el-dropdown',[_c('el-button',{attrs:{"size":"mini","type":"primary"}},[_vm._v(" 更多操作"),_c('i',{staticClass:"el-icon-arrow-down el-icon--right"})]),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},[_vm._l((_vm.data.retjson.inBottons),function(item,index){return _c('el-dropdown-item',{key:'s' + index,nativeOn:{"click":function($event){return _vm.handlerColClick(item.funcode, row, rowIndex)}}},[_vm._v(_vm._s(item.name))])}),_vm._l((row.inBottons),function(item,index){return _c('el-dropdown-item',{key:index,nativeOn:{"click":function($event){return _vm.handlerColClick(item.funcode, row, rowIndex)}}},[_vm._v(_vm._s(item.name))])})],2)],1):_vm._e(),(!_vm.handlerConfig.btnGroup)?[_vm._l((_vm.data.retjson.inBottons),function(item,index){return _c('el-button',{key:index,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 : 'iconcaidan',style:({
231282
- color: item.color ? item.color : '#666',
231281
+ return [(_vm.handlerConfig.btnGroup)?_c('el-dropdown',[_c('el-button',{attrs:{"size":"mini","type":"primary"}},[_vm._v(" 更多操作"),_c('i',{staticClass:"el-icon-arrow-down el-icon--right"})]),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},[_vm._l((_vm.data.retjson.inBottons),function(item,index){return _c('el-dropdown-item',{key:'s' + index,nativeOn:{"click":function($event){return _vm.handlerColClick(item.funcode, row, rowIndex)}}},[_vm._v(_vm._s(item.name))])}),_vm._l((row.inBottons),function(item,index){return _c('el-dropdown-item',{key:index,nativeOn:{"click":function($event){return _vm.handlerColClick(item.funcode, row, rowIndex)}}},[_vm._v(_vm._s(item.name))])})],2)],1):_vm._e(),(!_vm.handlerConfig.btnGroup)?[_vm._l((_vm.data.retjson.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:({
231282
+ color: item.color ? item.color : '#379FF2',
231283
231283
  fontSize: item.size ? item.size + 'px' : '16px',
231284
- })}),_c('span',{staticClass:"ht-text",staticStyle:{"color":"#666"}},[_vm._v(_vm._s(item.name))])])}),_vm._l((row.inBottons),function(item,index){return _c('el-button',{key:index,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 : 'iconcaidan',style:({
231285
- color: item.color ? item.color : '#666',
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
+ color: item.color ? item.color : '#379FF2',
231286
231286
  fontSize: item.size ? item.size + 'px' : '16px',
231287
- })}),_c('span',{staticClass:"ht-text",staticStyle:{"color":"#666"}},[_vm._v(_vm._s(item.name))])])})]:_vm._e()]}}],null,false,1021452657)})],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,31 +231292,31 @@ 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('vxe-table-column',{key:index,attrs:{"edit-render":item.edit,"show-overflow":"","field":item.prop,"align":item.align,"title":item.label,"type":item.html ? 'html' : '',"min-width":item.width,"sortable":item.isSort,"visible":item.width != 0,"fixed":item.isFixed,"filters":_vm.filterData(item.filterRender),"filter-render":{ name: item.filterRender },"formatter":_vm.formatEnum,"cell-render":_vm.cellRenderData(item.cellRender)}})]}),(_vm.expandConfig.isOpen)?_c('vxe-table-column',{attrs:{"type":"expand","fixed":"right","width":_vm.expandConfig.width},scopedSlots:_vm._u([{key:"default",fn:function(ref){
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;
231299
231299
  return [_vm._t("expandContent",null,{"slotScope":row})]}}],null,true)}):_vm._e(),_c('vxe-table-column',{attrs:{"title":"操作","visible":_vm.handlerConfig.show,"align":_vm.handlerConfig.align,"width":_vm.handlerConfig.width,"fixed":_vm.handlerConfig.fixed,"show-overflow":""},scopedSlots:_vm._u([{key:"default",fn:function(ref){
231300
231300
  var row = ref.row;
231301
231301
  var rowIndex = ref.rowIndex;
231302
- return [(_vm.handlerConfig.btnGroup)?_c('el-dropdown',[_c('el-button',{attrs:{"size":"mini","type":"primary"}},[_vm._v(" 更多操作"),_c('i',{staticClass:"el-icon-arrow-down el-icon--right"})]),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},[_vm._l((_vm.data.retjson.inBottons),function(item,index){return _c('el-dropdown-item',{key:'s' + index,nativeOn:{"click":function($event){return _vm.handlerColClick(item.funcode, row, rowIndex)}}},[_vm._v(_vm._s(item.name))])}),_vm._l((row.inBottons),function(item,index){return _c('el-dropdown-item',{key:index,nativeOn:{"click":function($event){return _vm.handlerColClick(item.funcode, row, rowIndex)}}},[_vm._v(_vm._s(item.name))])})],2)],1):_vm._e(),(!_vm.handlerConfig.btnGroup)?[_vm._l((_vm.data.retjson.inBottons),function(item,index){return _c('el-button',{key:index,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 : 'iconcaidan',style:({
231303
- color: item.color ? item.color : '#666',
231302
+ return [(_vm.handlerConfig.btnGroup)?_c('el-dropdown',[_c('el-button',{attrs:{"size":"mini","type":"primary"}},[_vm._v(" 更多操作"),_c('i',{staticClass:"el-icon-arrow-down el-icon--right"})]),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},[_vm._l((_vm.data.retjson.inBottons),function(item,index){return _c('el-dropdown-item',{key:'s' + index,nativeOn:{"click":function($event){return _vm.handlerColClick(item.funcode, row, rowIndex)}}},[_vm._v(_vm._s(item.name))])}),_vm._l((row.inBottons),function(item,index){return _c('el-dropdown-item',{key:index,nativeOn:{"click":function($event){return _vm.handlerColClick(item.funcode, row, rowIndex)}}},[_vm._v(_vm._s(item.name))])})],2)],1):_vm._e(),(!_vm.handlerConfig.btnGroup)?[_vm._l((_vm.data.retjson.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:({
231303
+ color: item.color ? item.color : '#379FF2',
231304
231304
  fontSize: item.size ? item.size + 'px' : '16px',
231305
- })}),_c('span',{staticClass:"ht-text",staticStyle:{"color":"#666"}},[_vm._v(_vm._s(item.name))])])}),_vm._l((row.inBottons),function(item,index){return _c('el-button',{key:index,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 : 'iconcaidan',style:({
231306
- color: item.color ? item.color : '#666',
231305
+ })}),_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:({
231306
+ color: item.color ? item.color : '#379FF2',
231307
231307
  fontSize: item.size ? item.size + 'px' : '16px',
231308
- })}),_c('span',{staticClass:"ht-text",staticStyle:{"color":"#666"}},[_vm._v(_vm._s(item.name))])])})]:_vm._e()]}}],null,false,1021452657)})],2):_vm._e(),(_vm.tableType === 'group')?_c('vxe-table',{ref:_vm.id,staticClass:"jt-table-class-only",attrs:{"size":"mini","id":_vm.id,"custom-config":{ storage: true, checkMethod: _vm.checkColumnMethod },"border":_vm.border,"show-overflow":"","show-header-overflow":"","height":"auto","max-height":_vm.maxHeight,"auto-resize":"","resizable":"","highlight-current-row":"","tree-config":_vm.groupConfig,"row-class-name":_vm.rowClassName,"cell-class-name":_vm.gcellClassName,"keyboard-config":{ isArrow: true },"highlight-current-column":"","checkbox-config":{
231308
+ })}),_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 === 'group')?_c('vxe-table',{ref:_vm.id,staticClass:"jt-table-class-only",attrs:{"size":"mini","id":_vm.id,"custom-config":{ storage: true, checkMethod: _vm.checkColumnMethod },"border":_vm.border,"show-overflow":"","show-header-overflow":"","height":"auto","max-height":_vm.maxHeight,"auto-resize":"","resizable":"","highlight-current-row":"","tree-config":_vm.groupConfig,"row-class-name":_vm.rowClassName,"cell-class-name":_vm.gcellClassName,"keyboard-config":{ isArrow: true },"highlight-current-column":"","checkbox-config":{
231309
231309
  highlight: true,
231310
231310
  },"row-style":_vm.rowStyle,"cell-style":_vm.cellStyle_m,"loading":_vm.loading,"data":_vm.data.DataArray},on:{"checkbox-change":_vm.treeSelectChangeEvent,"checkbox-all":_vm.treeSelectChangeEvent,"cell-click":_vm.cellClickEvent}},[(_vm.checkbox)?_c('vxe-table-column',{attrs:{"type":"checkbox","width":"38","fixed":"left","align":"center"}}):_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('vxe-table-column',{key:index,attrs:{"show-overflow":"","tree-node":item.prop == _vm.treeField,"field":item.prop,"align":item.align,"type":item.html ? 'html' : '',"title":item.label,"min-width":item.width,"visible":item.width != 0,"formatter":_vm.formatEnum}})]}),(_vm.handlerConfig.show)?_c('vxe-table-column',{attrs:{"title":"操作","align":_vm.handlerConfig.align,"width":_vm.handlerConfig.width,"fixed":_vm.handlerConfig.fixed,"show-overflow":""},scopedSlots:_vm._u([{key:"default",fn:function(ref){
231311
231311
  var row = ref.row;
231312
231312
  var rowIndex = ref.rowIndex;
231313
- return [(_vm.handlerConfig.btnGroup)?_c('el-dropdown',[_c('el-button',{attrs:{"size":"mini","type":"primary"}},[_vm._v(" 更多操作"),_c('i',{staticClass:"el-icon-arrow-down el-icon--right"})]),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},[_vm._l((_vm.data.retjson.inBottons),function(item,index){return [(_vm.isShowAddButton(row.path, item.name))?_c('el-dropdown-item',{key:'s' + index,nativeOn:{"click":function($event){return _vm.handlerColClick(item.funcode, row, rowIndex)}}},[_vm._v(_vm._s(item.name))]):_vm._e()]}),_vm._l((row.inBottons),function(item,index){return [(_vm.isShowAddButton(row.path, item.name))?_c('el-dropdown-item',{key:index,nativeOn:{"click":function($event){return _vm.handlerColClick(item.funcode, row, rowIndex)}}},[_vm._v(_vm._s(item.name))]):_vm._e()]})],2)],1):_vm._e(),(!_vm.handlerConfig.btnGroup)?[_vm._l((_vm.data.retjson.inBottons),function(item,index){return [(_vm.isShowAddButton(row.path, item.name))?_c('el-button',{key:'s' + index,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 : 'iconcaidan',style:({
231314
- color: item.color ? item.color : '#666',
231313
+ return [(_vm.handlerConfig.btnGroup)?_c('el-dropdown',[_c('el-button',{attrs:{"size":"mini","type":"primary"}},[_vm._v(" 更多操作"),_c('i',{staticClass:"el-icon-arrow-down el-icon--right"})]),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},[_vm._l((_vm.data.retjson.inBottons),function(item,index){return [(_vm.isShowAddButton(row.path, item.name))?_c('el-dropdown-item',{key:'s' + index,nativeOn:{"click":function($event){return _vm.handlerColClick(item.funcode, row, rowIndex)}}},[_vm._v(_vm._s(item.name))]):_vm._e()]}),_vm._l((row.inBottons),function(item,index){return [(_vm.isShowAddButton(row.path, item.name))?_c('el-dropdown-item',{key:index,nativeOn:{"click":function($event){return _vm.handlerColClick(item.funcode, row, rowIndex)}}},[_vm._v(_vm._s(item.name))]):_vm._e()]})],2)],1):_vm._e(),(!_vm.handlerConfig.btnGroup)?[_vm._l((_vm.data.retjson.inBottons),function(item,index){return [(_vm.isShowAddButton(row.path, item.name))?_c('el-button',{key:'s' + 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:({
231314
+ color: item.color ? item.color : '#379FF2',
231315
231315
  fontSize: item.size ? item.size + 'px' : '16px',
231316
- })}),_c('span',{staticClass:"ht-text",staticStyle:{"color":"#666"}},[_vm._v(_vm._s(item.name))])]):_vm._e()]}),_vm._l((row.inBottons),function(item,index){return [(_vm.isShowAddButton(row.path, item.name))?_c('el-button',{key:index,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 : 'iconcaidan',style:({
231317
- color: item.color ? item.color : '#666',
231316
+ })}),_c('span',{staticClass:"ht-text",style:({color:item.textColor ? item.textColor : '#379FF2'})},[_vm._v(_vm._s(item.name))])]):_vm._e()]}),_vm._l((row.inBottons),function(item,index){return [(_vm.isShowAddButton(row.path, item.name))?_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:({
231317
+ color: item.color ? item.color : '#379FF2',
231318
231318
  fontSize: item.size ? item.size + 'px' : '16px',
231319
- })}),_c('span',{staticClass:"ht-text",staticStyle:{"color":"#666"}},[_vm._v(_vm._s(item.name))])]):_vm._e()]})]:_vm._e()]}}],null,false,1483167209)}):_vm._e()],2):_vm._e(),(_vm.tableType === 'tree')?_c('vxe-table',{ref:_vm.id,staticClass:"jt-table-class-only",attrs:{"size":"mini","id":_vm.id,"stripe":_vm.stripe,"show-header":_vm.treeTypeConfig.type == 'treeTable',"max-height":_vm.maxHeight,"border":_vm.border,"show-overflow":"","show-header-overflow":"","height":"auto","auto-resize":"","cell-style":_vm.cellStyle_m,"row-style":_vm.rowStyle,"span-method":_vm.spanMethod,"resizable":"","highlight-current-row":"","tree-config":_vm.treeConfig,"row-key":true,"row-id":"pkid","radio-config":{
231319
+ })}),_c('span',{staticClass:"ht-text",style:({color:item.textColor ? item.textColor : '#379FF2'})},[_vm._v(_vm._s(item.name))])]):_vm._e()]})]:_vm._e()]}}],null,false,3832603369)}):_vm._e()],2):_vm._e(),(_vm.tableType === 'tree')?_c('vxe-table',{ref:_vm.id,staticClass:"jt-table-class-only",attrs:{"size":"mini","id":_vm.id,"stripe":_vm.stripe,"show-header":_vm.treeTypeConfig.type == 'treeTable',"max-height":_vm.maxHeight,"border":_vm.border,"show-overflow":"","show-header-overflow":"","height":"auto","auto-resize":"","cell-style":_vm.cellStyle_m,"row-style":_vm.rowStyle,"span-method":_vm.spanMethod,"resizable":"","highlight-current-row":"","tree-config":_vm.treeConfig,"row-key":true,"row-id":"pkid","radio-config":{
231320
231320
  labelField: _vm.treeTypeConfig.type !== 'treeTable' ? 'name' : '',
231321
231321
  checkMethod: _vm.treeRadioMethod,
231322
231322
  },"checkbox-config":{
@@ -231346,17 +231346,17 @@ return [_c('span',{staticStyle:{"position":"relative","top":"2px","right":"6px",
231346
231346
  return [_vm._t("expandContent",null,{"slotScope":row})]}}],null,true)}):_vm._e(),(_vm.handlerConfig.show)?_c('vxe-table-column',{attrs:{"title":"操作","align":_vm.handlerConfig.align,"width":_vm.handlerConfig.width,"fixed":_vm.handlerConfig.fixed,"show-overflow":""},scopedSlots:_vm._u([{key:"default",fn:function(ref){
231347
231347
  var row = ref.row;
231348
231348
  var rowIndex = ref.rowIndex;
231349
- return [(_vm.handlerConfig.btnGroup)?_c('el-dropdown',[_c('el-button',{attrs:{"size":"mini","type":"primary"}},[_vm._v(" 更多操作"),_c('i',{staticClass:"el-icon-arrow-down el-icon--right"})]),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},[_vm._l((_vm.data.retjson.inBottons),function(item,index){return [(_vm.isShowAddButton(row.path, item.name))?_c('el-dropdown-item',{key:'s' + index,nativeOn:{"click":function($event){return _vm.handlerColClick(item.funcode, row, rowIndex)}}},[_vm._v(_vm._s(item.name))]):_vm._e()]}),_vm._l((row.inBottons),function(item,index){return [(_vm.isShowAddButton(row.path, item.name))?_c('el-dropdown-item',{key:index,nativeOn:{"click":function($event){return _vm.handlerColClick(item.funcode, row, rowIndex)}}},[_vm._v(_vm._s(item.name))]):_vm._e()]})],2)],1):_vm._e(),(!_vm.handlerConfig.btnGroup)?[_vm._l((_vm.data.retjson.inBottons),function(item,index){return [(_vm.isShowAddButton(row.path, item.name))?_c('el-button',{key:'s' + index,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 : 'iconcaidan',style:({
231350
- color: item.color ? item.color : '#666',
231349
+ return [(_vm.handlerConfig.btnGroup)?_c('el-dropdown',[_c('el-button',{attrs:{"size":"mini","type":"primary"}},[_vm._v(" 更多操作"),_c('i',{staticClass:"el-icon-arrow-down el-icon--right"})]),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},[_vm._l((_vm.data.retjson.inBottons),function(item,index){return [(_vm.isShowAddButton(row.path, item.name))?_c('el-dropdown-item',{key:'s' + index,nativeOn:{"click":function($event){return _vm.handlerColClick(item.funcode, row, rowIndex)}}},[_vm._v(_vm._s(item.name))]):_vm._e()]}),_vm._l((row.inBottons),function(item,index){return [(_vm.isShowAddButton(row.path, item.name))?_c('el-dropdown-item',{key:index,nativeOn:{"click":function($event){return _vm.handlerColClick(item.funcode, row, rowIndex)}}},[_vm._v(_vm._s(item.name))]):_vm._e()]})],2)],1):_vm._e(),(!_vm.handlerConfig.btnGroup)?[_vm._l((_vm.data.retjson.inBottons),function(item,index){return [(_vm.isShowAddButton(row.path, item.name))?_c('el-button',{key:'s' + 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:({
231350
+ color: item.color ? item.color : '#379FF2',
231351
231351
  fontSize: item.size ? item.size + 'px' : '16px',
231352
- })}),_c('span',{staticClass:"ht-text",staticStyle:{"color":"#666"}},[_vm._v(_vm._s(item.name))])]):_vm._e()]}),_vm._l((row.inBottons),function(item,index){return [(_vm.isShowAddButton(row.path, item.name))?_c('el-button',{key:index,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 : 'iconcaidan',style:({
231353
- color: item.color ? item.color : '#666',
231352
+ })}),_c('span',{staticClass:"ht-text",style:({color:item.textColor ? item.textColor : '#379FF2'})},[_vm._v(_vm._s(item.name))])]):_vm._e()]}),_vm._l((row.inBottons),function(item,index){return [(_vm.isShowAddButton(row.path, item.name))?_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:({
231353
+ color: item.color ? item.color : '#379FF2',
231354
231354
  fontSize: item.size ? item.size + 'px' : '16px',
231355
- })}),_c('span',{staticClass:"ht-text",staticStyle:{"color":"#666"}},[_vm._v(_vm._s(item.name))])]):_vm._e()]})]:_vm._e()]}}],null,false,1483167209)}):_vm._e()],2):_vm._e()],1)}
231355
+ })}),_c('span',{staticClass:"ht-text",style:({color:item.textColor ? item.textColor : '#379FF2'})},[_vm._v(_vm._s(item.name))])]):_vm._e()]})]:_vm._e()]}}],null,false,3832603369)}):_vm._e()],2):_vm._e()],1)}
231356
231356
  var staticRenderFns = []
231357
231357
 
231358
231358
 
231359
- // CONCATENATED MODULE: ./packages/jt-table/index.vue?vue&type=template&id=b5f4787a&
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,6 +231534,246 @@ 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?{"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 = []
231540
+
231541
+
231542
+ // CONCATENATED MODULE: ./packages/jt-table/components/tableColumn.vue?vue&type=template&id=4fb0e5fe&scoped=true&
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&
231545
+
231546
+ //
231547
+ //
231548
+ //
231549
+ //
231550
+ //
231551
+ //
231552
+ //
231553
+ //
231554
+ //
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
+ //
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);
231537
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&
231538
231778
 
231539
231779
 
@@ -232305,20 +232545,13 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
232305
232545
  //
232306
232546
  //
232307
232547
  //
232308
- //
232309
- //
232310
- //
232311
- //
232312
- //
232313
- //
232314
- //
232315
- //
232316
- //
232317
- //
232318
- //
232548
+
232319
232549
 
232320
232550
  /* harmony default export */ var jt_tablevue_type_script_lang_js_ = ({
232321
232551
  name: "jt-table-pc",
232552
+ components: {
232553
+ tableColumn: tableColumn
232554
+ },
232322
232555
  created: function created() {
232323
232556
  if (this.isPage) {
232324
232557
  this.tDataCopy = JSON.parse(JSON.stringify(this.data.DataArray));
@@ -232519,6 +232752,9 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
232519
232752
  return {
232520
232753
  tableData: this.data.DataArray,
232521
232754
  //表格数据
232755
+ headerClass: (this.data.retjson.header || []).find(function (i) {
232756
+ return (i.children || []).length;
232757
+ }) ? 'has-sub-header' : 'normal-header',
232522
232758
  colNum: 0,
232523
232759
  //当前列的数量
232524
232760
  leftCol: 0,
@@ -232561,6 +232797,12 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
232561
232797
  };
232562
232798
  },
232563
232799
  methods: {
232800
+ btnHover: function btnHover(color) {
232801
+ return {
232802
+ backgroundColor: color ? color : '',
232803
+ "--background-color-hover": color ? color + 'B3' : '#EAF5FE' + 'B3'
232804
+ };
232805
+ },
232564
232806
  //指定位置插入数据
232565
232807
  insertAt: function insertAt(records, row) {
232566
232808
  this.$refs[this.id].insertAt(records, row);
@@ -233106,7 +233348,7 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
233106
233348
  while (1) {
233107
233349
  switch (_context.prev = _context.next) {
233108
233350
  case 0:
233109
- if (!(row.activeValue.indexOf("search") !== -1)) {
233351
+ if (!(row && row.activeValue && row.activeValue.indexOf("search") !== -1)) {
233110
233352
  _context.next = 4;
233111
233353
  break;
233112
233354
  }
@@ -233285,106 +233527,6 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
233285
233527
  // EXTERNAL MODULE: ./packages/jt-table/index.vue?vue&type=style&index=0&lang=css&
233286
233528
  var jt_tablevue_type_style_index_0_lang_css_ = __webpack_require__("dbaa");
233287
233529
 
233288
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
233289
- /* globals __VUE_SSR_CONTEXT__ */
233290
-
233291
- // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
233292
- // This module is a runtime utility for cleaner component module output and will
233293
- // be included in the final webpack user bundle.
233294
-
233295
- function normalizeComponent (
233296
- scriptExports,
233297
- render,
233298
- staticRenderFns,
233299
- functionalTemplate,
233300
- injectStyles,
233301
- scopeId,
233302
- moduleIdentifier, /* server only */
233303
- shadowMode /* vue-cli only */
233304
- ) {
233305
- // Vue.extend constructor export interop
233306
- var options = typeof scriptExports === 'function'
233307
- ? scriptExports.options
233308
- : scriptExports
233309
-
233310
- // render functions
233311
- if (render) {
233312
- options.render = render
233313
- options.staticRenderFns = staticRenderFns
233314
- options._compiled = true
233315
- }
233316
-
233317
- // functional template
233318
- if (functionalTemplate) {
233319
- options.functional = true
233320
- }
233321
-
233322
- // scopedId
233323
- if (scopeId) {
233324
- options._scopeId = 'data-v-' + scopeId
233325
- }
233326
-
233327
- var hook
233328
- if (moduleIdentifier) { // server build
233329
- hook = function (context) {
233330
- // 2.3 injection
233331
- context =
233332
- context || // cached call
233333
- (this.$vnode && this.$vnode.ssrContext) || // stateful
233334
- (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
233335
- // 2.2 with runInNewContext: true
233336
- if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
233337
- context = __VUE_SSR_CONTEXT__
233338
- }
233339
- // inject component styles
233340
- if (injectStyles) {
233341
- injectStyles.call(this, context)
233342
- }
233343
- // register component module identifier for async chunk inferrence
233344
- if (context && context._registeredComponents) {
233345
- context._registeredComponents.add(moduleIdentifier)
233346
- }
233347
- }
233348
- // used by ssr in case component is cached and beforeCreate
233349
- // never gets called
233350
- options._ssrRegister = hook
233351
- } else if (injectStyles) {
233352
- hook = shadowMode
233353
- ? function () {
233354
- injectStyles.call(
233355
- this,
233356
- (options.functional ? this.parent : this).$root.$options.shadowRoot
233357
- )
233358
- }
233359
- : injectStyles
233360
- }
233361
-
233362
- if (hook) {
233363
- if (options.functional) {
233364
- // for template-only hot-reload because in that case the render fn doesn't
233365
- // go through the normalizer
233366
- options._injectStyles = hook
233367
- // register for functional component in vue file
233368
- var originalRender = options.render
233369
- options.render = function renderWithStyleInjection (h, context) {
233370
- hook.call(context)
233371
- return originalRender(h, context)
233372
- }
233373
- } else {
233374
- // inject component registration as beforeCreate hook
233375
- var existing = options.beforeCreate
233376
- options.beforeCreate = existing
233377
- ? [].concat(existing, hook)
233378
- : [hook]
233379
- }
233380
- }
233381
-
233382
- return {
233383
- exports: scriptExports,
233384
- options: options
233385
- }
233386
- }
233387
-
233388
233530
  // CONCATENATED MODULE: ./packages/jt-table/index.vue
233389
233531
 
233390
233532
 
@@ -233394,7 +233536,7 @@ function normalizeComponent (
233394
233536
 
233395
233537
  /* normalize component */
233396
233538
 
233397
- var component = normalizeComponent(
233539
+ var jt_table_component = normalizeComponent(
233398
233540
  packages_jt_tablevue_type_script_lang_js_,
233399
233541
  render,
233400
233542
  staticRenderFns,
@@ -233405,7 +233547,7 @@ var component = normalizeComponent(
233405
233547
 
233406
233548
  )
233407
233549
 
233408
- /* harmony default export */ var jt_table = (component.exports);
233550
+ /* harmony default export */ var jt_table = (jt_table_component.exports);
233409
233551
  // CONCATENATED MODULE: ./packages/jt-table/index.js
233410
233552
 
233411
233553
  // 导入组件,组件必须声明 name