@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.
Binary file
Binary file
@@ -46,10 +46,7 @@ import { data } from '../data2.js';
46
46
  async handlerClick(value,row,rowIndex){
47
47
  if(value == 'stcd_search'){
48
48
  await this.$refs.tree_table.setTreeTempData([
49
- {"path":"NB_ADDVCD_DS",
50
- "inBottons":[],
51
- "name":"我是父组件检索加载的-[/srjtcontrol/nb/PN05ToPPTN]",
52
- "pjcd":""}
49
+ {"path":"NB_ADDVCD_DS?nbcode=/srdao/sqdb/ST_PPTN_05&stlbz=T","inBottons":[{"funcode":"stcd_ppcdreflash","color":"#409EFF","size":14,"name":"刷新","icon":"iconzengjia"},{"funcode":"stcd_search","color":"#409EFF","size":14,"name":"检索","icon":"iconzengjia"}],"name":"我是父组件检索加载的-[/srjtcontrol/nb/PN05ToPPTN]","pjcd":""}
53
50
  ]);
54
51
  this.$refs.tree_table.reloadTreeChilds(row);
55
52
  }
@@ -231247,8 +231247,8 @@ var es_function_name = __webpack_require__("b0c0");
231247
231247
  var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
231248
231248
  var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
231249
231249
 
231250
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7e503786-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/jt-table/index.vue?vue&type=template&id=b5f4787a&
231251
- var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"tableStyle-2",class:_vm.isWrap ? 'isWrap' : '',staticStyle:{"position":"absolute","top":"1px","left":"1px","right":"1px","bottom":"1px"}},[(_vm.isTool)?_c('div',{staticStyle:{"position":"relative"}},[_c('vxe-toolbar',{staticClass:"jt-toolbar",attrs:{"custom":{ icon: 'jtIcon iconpeizhi41 colStyle' }}})],1):_vm._e(),(_vm.tableType === 'default')?_c('vxe-table',{ref:_vm.id,staticClass:"jt-table-class-only",attrs:{"height":"auto","size":"mini","show-overflow":"","show-header-overflow":"","auto-resize":"","resizable":"","highlight-current-row":"","highlight-current-column":"","keep-source":"","id":_vm.id,"data":_vm.data.DataArray,"stripe":_vm.stripe,"border":_vm.border,"max-height":_vm.maxHeight,"show-footer":_vm.isFooter,"footer-method":_vm.footerMethod,"footer-span-method":_vm.footerColspanMethod,"footer-cell-class-name":_vm.footerCellClassName,"loading":_vm.loading,"row-style":_vm.rowStyle,"cell-style":_vm.cellStyle_m,"span-method":_vm.spanMethod,"scroll-y":{ mode: 'wheel' },"sort-config":{ sortMethod: _vm.sortMethod },"radio-config":{ checkRowKey: null },"keyboard-config":{ isArrow: true },"checkbox-config":{ highlight: true },"export-config":{
231250
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7e503786-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/jt-table/index.vue?vue&type=template&id=0d9a4eca&
231251
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"tableStyle-2",class:_vm.isWrap ? 'isWrap' : '',staticStyle:{"position":"absolute","top":"1px","left":"1px","right":"1px","bottom":"1px"}},[(_vm.isTool)?_c('div',{staticStyle:{"position":"relative"}},[_c('vxe-toolbar',{staticClass:"jt-toolbar",attrs:{"custom":{ icon: 'jtIcon iconpeizhi41 colStyle' }}})],1):_vm._e(),(_vm.tableType === 'default')?_c('vxe-table',{ref:_vm.id,staticClass:"jt-table-class-only",attrs:{"height":"auto","size":"mini","show-overflow":"","show-header-overflow":"","auto-resize":"","resizable":"","highlight-current-row":"","highlight-current-column":"","keep-source":"","id":_vm.id,"data":_vm.data.DataArray,"stripe":_vm.stripe,"border":_vm.border,"max-height":_vm.maxHeight,"show-footer":_vm.isFooter,"footer-method":_vm.footerMethod,"footer-span-method":_vm.footerColspanMethod,"footer-cell-class-name":_vm.footerCellClassName,"loading":_vm.loading,"row-style":_vm.rowStyle,"cell-style":_vm.cellStyle_m,"header-cell-class-name":_vm.headerClass,"span-method":_vm.spanMethod,"scroll-y":{ mode: 'wheel' },"sort-config":{ sortMethod: _vm.sortMethod },"radio-config":{ checkRowKey: null },"keyboard-config":{ isArrow: true },"checkbox-config":{ highlight: true },"export-config":{
231252
231252
  type: 'xlsx',
231253
231253
  types: ['xlsx', 'csv', 'html', 'xml', 'txt'],
231254
231254
  },"custom-config":{ storage: true, checkMethod: _vm.checkColumnMethod },"edit-config":{
@@ -231262,20 +231262,20 @@ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._sel
231262
231262
  toggleMethod: _vm.toggleMethod,
231263
231263
  lazy: true,
231264
231264
  accordion: _vm.expandConfig.accordion,
231265
- }},on:{"scroll":_vm.scroll,"checkbox-change":_vm.selectChangeEvent,"checkbox-all":_vm.selectChangeEvent,"radio-change":_vm.radioSelectChangeEvent,"cell-click":_vm.cellClickEvent,"keydown":_vm.keyEnter}},[(_vm.checkbox)?_c('vxe-table-column',{attrs:{"type":"checkbox","width":"38","align":"center","fixed":"left"}}):_vm._e(),(_vm.radio)?_c('vxe-table-column',{attrs:{"type":"radio","width":"38","align":"center","fixed":"left"}}):_vm._e(),(_vm.isSeq && _vm.data)?_c('vxe-table-column',{attrs:{"type":"seq","align":"center","width":_vm.req + 'px',"title":"序号","fixed":"left"}}):_vm._e(),_vm._l((_vm.data.retjson.header),function(item,index){return [_c('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){
231265
+ }},on:{"scroll":_vm.scroll,"checkbox-change":_vm.selectChangeEvent,"checkbox-all":_vm.selectChangeEvent,"radio-change":_vm.radioSelectChangeEvent,"cell-click":_vm.cellClickEvent,"keydown":_vm.keyEnter}},[(_vm.checkbox)?_c('vxe-table-column',{attrs:{"type":"checkbox","width":"38","align":"center","fixed":"left"}}):_vm._e(),(_vm.radio)?_c('vxe-table-column',{attrs:{"type":"radio","width":"38","align":"center","fixed":"left"}}):_vm._e(),(_vm.isSeq && _vm.data)?_c('vxe-table-column',{attrs:{"type":"seq","align":"center","width":_vm.req + 'px',"title":"序号","fixed":"left"}}):_vm._e(),_vm._l((_vm.data.retjson.header),function(item,index){return [_c('table-column',{key:index,attrs:{"item":item,"index":index,"cellRenderData":_vm.cellRenderData,"filterData":_vm.filterData,"formatEnum":_vm.formatEnum}})]}),(_vm.expandConfig.isOpen)?_c('vxe-table-column',{attrs:{"type":"expand","fixed":"right","width":_vm.expandConfig.width},scopedSlots:_vm._u([{key:"default",fn:function(ref){
231266
231266
  var row = ref.row;
231267
231267
  return [_c('span',{staticStyle:{"position":"relative","top":"2px","right":"6px","color":"#333"}},[_vm._v(" "+_vm._s(_vm.isExpandText(row) ? _vm.expandConfig.text : ""))])]}},{key:"content",fn:function(ref){
231268
231268
  var row = ref.row;
231269
231269
  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){
231270
231270
  var row = ref.row;
231271
231271
  var rowIndex = ref.rowIndex;
231272
- 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:({
231273
- color: item.color ? item.color : '#666',
231272
+ 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:({
231273
+ color: item.color ? item.color : '#379FF2',
231274
231274
  fontSize: item.size ? item.size + 'px' : '16px',
231275
- })}),_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:({
231276
- color: item.color ? item.color : '#666',
231275
+ })}),_c('span',{staticClass:"ht-text",style:({color:item.textColor ? item.textColor : '#379FF2'})},[_vm._v(_vm._s(item.name))])])}),_vm._l((row.inBottons),function(item,index){return _c('el-button',{key:index,style:(_vm.btnHover(item.bgColor)),attrs:{"type":"text","size":"mini"},on:{"click":function($event){return _vm.handlerColClick(item.funcode, row, rowIndex)}}},[_c('i',{staticClass:"jtIcon ht-icon",class:item.icon ? item.icon : 'iconxiangqing',style:({
231276
+ color: item.color ? item.color : '#379FF2',
231277
231277
  fontSize: item.size ? item.size + 'px' : '16px',
231278
- })}),_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":{
231278
+ })}),_c('span',{staticClass:"ht-text",style:({color:item.textColor ? item.textColor : '#379FF2'})},[_vm._v(_vm._s(item.name))])])})]:_vm._e()]}}],null,false,1291632177)})],2):_vm._e(),(_vm.tableType === 'bigData')?_c('vxe-table',{ref:_vm.id,staticClass:"jt-table-class-only",attrs:{"height":"auto","size":"mini","show-overflow":"","show-header-overflow":"","auto-resize":"","resizable":"","highlight-current-row":"","highlight-current-column":"","keep-source":"","header-cell-class-name":_vm.headerClass,"id":_vm.id,"data":_vm.data.DataArray,"stripe":_vm.stripe,"border":_vm.border,"max-height":_vm.maxHeight,"loading":_vm.loading,"row-style":_vm.rowStyle,"cell-style":_vm.cellStyle_m,"span-method":_vm.spanMethod,"scroll-x":{ gt: 20 },"scroll-y":{ gt: 40, mode: 'wheel' },"sort-config":{ sortMethod: _vm.sortMethod },"radio-config":{ checkRowKey: null },"keyboard-config":{ isArrow: true },"checkbox-config":{ highlight: true },"export-config":{
231279
231279
  type: 'xlsx',
231280
231280
  types: ['xlsx', 'csv', 'html', 'xml', 'txt'],
231281
231281
  },"custom-config":{ storage: true, checkMethod: _vm.checkColumnMethod },"edit-config":{
@@ -231283,31 +231283,31 @@ return [(_vm.handlerConfig.btnGroup)?_c('el-dropdown',[_c('el-button',{attrs:{"s
231283
231283
  mode: 'cell',
231284
231284
  showStatus: true,
231285
231285
  activeMethod: _vm.activeCellMethod,
231286
- }},on:{"scroll":_vm.scroll,"checkbox-change":_vm.selectChangeEvent,"checkbox-all":_vm.selectChangeEvent,"radio-change":_vm.radioSelectChangeEvent,"cell-click":_vm.cellClickEvent,"keydown":_vm.keyEnter}},[(_vm.checkbox)?_c('vxe-table-column',{attrs:{"type":"checkbox","width":"38","align":"center","fixed":"left"}}):_vm._e(),(_vm.radio)?_c('vxe-table-column',{attrs:{"type":"radio","width":"38","align":"center","fixed":"left"}}):_vm._e(),(_vm.isSeq && _vm.data)?_c('vxe-table-column',{attrs:{"type":"seq","align":"center","width":_vm.req + 'px',"title":"序号","fixed":"left"}}):_vm._e(),_vm._l((_vm.data.retjson.header),function(item,index){return [_c('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){
231286
+ }},on:{"scroll":_vm.scroll,"checkbox-change":_vm.selectChangeEvent,"checkbox-all":_vm.selectChangeEvent,"radio-change":_vm.radioSelectChangeEvent,"cell-click":_vm.cellClickEvent,"keydown":_vm.keyEnter}},[(_vm.checkbox)?_c('vxe-table-column',{attrs:{"type":"checkbox","width":"38","align":"center","fixed":"left"}}):_vm._e(),(_vm.radio)?_c('vxe-table-column',{attrs:{"type":"radio","width":"38","align":"center","fixed":"left"}}):_vm._e(),(_vm.isSeq && _vm.data)?_c('vxe-table-column',{attrs:{"type":"seq","align":"center","width":_vm.req + 'px',"title":"序号","fixed":"left"}}):_vm._e(),_vm._l((_vm.data.retjson.header),function(item,index){return [_c('table-column',{key:index,attrs:{"item":item,"cellRenderData":_vm.cellRenderData,"filterData":_vm.filterData}})]}),(_vm.expandConfig.isOpen)?_c('vxe-table-column',{attrs:{"type":"expand","fixed":"right","width":_vm.expandConfig.width},scopedSlots:_vm._u([{key:"default",fn:function(ref){
231287
231287
  var row = ref.row;
231288
231288
  return [_c('span',{staticStyle:{"position":"relative","top":"2px","right":"6px","color":"#333"}},[_vm._v(" "+_vm._s(_vm.isExpandText(row) ? _vm.expandConfig.text : ""))])]}},{key:"content",fn:function(ref){
231289
231289
  var row = ref.row;
231290
231290
  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){
231291
231291
  var row = ref.row;
231292
231292
  var rowIndex = ref.rowIndex;
231293
- 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:({
231294
- color: item.color ? item.color : '#666',
231293
+ 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:({
231294
+ color: item.color ? item.color : '#379FF2',
231295
231295
  fontSize: item.size ? item.size + 'px' : '16px',
231296
- })}),_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:({
231297
- color: item.color ? item.color : '#666',
231296
+ })}),_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:({
231297
+ color: item.color ? item.color : '#379FF2',
231298
231298
  fontSize: item.size ? item.size + 'px' : '16px',
231299
- })}),_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":{
231299
+ })}),_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":{
231300
231300
  highlight: true,
231301
231301
  },"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){
231302
231302
  var row = ref.row;
231303
231303
  var rowIndex = ref.rowIndex;
231304
- 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:({
231305
- color: item.color ? item.color : '#666',
231304
+ 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:({
231305
+ color: item.color ? item.color : '#379FF2',
231306
231306
  fontSize: item.size ? item.size + 'px' : '16px',
231307
- })}),_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:({
231308
- color: item.color ? item.color : '#666',
231307
+ })}),_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:({
231308
+ color: item.color ? item.color : '#379FF2',
231309
231309
  fontSize: item.size ? item.size + 'px' : '16px',
231310
- })}),_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":{
231310
+ })}),_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":{
231311
231311
  labelField: _vm.treeTypeConfig.type !== 'treeTable' ? 'name' : '',
231312
231312
  checkMethod: _vm.treeRadioMethod,
231313
231313
  },"checkbox-config":{
@@ -231337,17 +231337,17 @@ return [_c('span',{staticStyle:{"position":"relative","top":"2px","right":"6px",
231337
231337
  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){
231338
231338
  var row = ref.row;
231339
231339
  var rowIndex = ref.rowIndex;
231340
- 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:({
231341
- color: item.color ? item.color : '#666',
231340
+ 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:({
231341
+ color: item.color ? item.color : '#379FF2',
231342
231342
  fontSize: item.size ? item.size + 'px' : '16px',
231343
- })}),_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:({
231344
- color: item.color ? item.color : '#666',
231343
+ })}),_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:({
231344
+ color: item.color ? item.color : '#379FF2',
231345
231345
  fontSize: item.size ? item.size + 'px' : '16px',
231346
- })}),_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)}
231346
+ })}),_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)}
231347
231347
  var staticRenderFns = []
231348
231348
 
231349
231349
 
231350
- // CONCATENATED MODULE: ./packages/jt-table/index.vue?vue&type=template&id=b5f4787a&
231350
+ // CONCATENATED MODULE: ./packages/jt-table/index.vue?vue&type=template&id=0d9a4eca&
231351
231351
 
231352
231352
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
231353
231353
  var es_array_concat = __webpack_require__("99af");
@@ -231525,6 +231525,246 @@ function _toConsumableArray(arr) {
231525
231525
  var xe_utils = __webpack_require__("c695");
231526
231526
  var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
231527
231527
 
231528
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7e503786-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/jt-table/components/tableColumn.vue?vue&type=template&id=4fb0e5fe&scoped=true&
231529
+ var tableColumnvue_type_template_id_4fb0e5fe_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.item.children && _vm.item.children.length)?_c('vxe-colgroup',{key:_vm.index,attrs:{"title":_vm.item.label}},[_vm._l((_vm.item.children),function(subItem,subIndex){return [(subItem.children && subItem.children.length)?_c('vxe-colgroup',{key:subIndex,attrs:{"title":subItem.label}},_vm._l((subItem.children),function(subSubItem,subSubIndex){return _c('vxe-table-column',{key:subSubIndex,attrs:{"edit-render":subSubItem.edit,"show-overflow":"","field":subSubItem.prop,"align":subSubItem.align,"title":subSubItem.label,"type":subSubItem.html ? 'html' : '',"min-width":subSubItem.width,"sortable":subSubItem.isSort,"visible":subSubItem.width != 0,"fixed":subSubItem.isFixed,"filters":_vm.filterData(subSubItem.filterRender),"filter-render":{ name: subSubItem.filterRender },"formatter":_vm.formatEnum,"cell-render":_vm.cellRenderData(subSubItem.cellRender)}})}),1):_c('vxe-table-column',{key:subIndex,attrs:{"edit-render":subItem.edit,"show-overflow":"","field":subItem.prop,"align":subItem.align,"title":subItem.label,"type":subItem.html ? 'html' : '',"min-width":subItem.width,"sortable":subItem.isSort,"visible":subItem.width != 0,"fixed":subItem.isFixed,"filters":_vm.filterData(subItem.filterRender),"filter-render":{ name: subItem.filterRender },"formatter":_vm.formatEnum,"cell-render":_vm.cellRenderData(subItem.cellRender)}})]})],2):_c('vxe-table-column',{key:_vm.index,attrs:{"edit-render":_vm.item.edit,"show-overflow":"","field":_vm.item.prop,"align":_vm.item.align,"title":_vm.item.label,"type":_vm.item.html ? 'html' : '',"min-width":_vm.item.width,"sortable":_vm.item.isSort,"visible":_vm.item.width != 0,"fixed":_vm.item.isFixed,"filters":_vm.filterData(_vm.item.filterRender),"filter-render":{ name: _vm.item.filterRender },"formatter":_vm.formatEnum,"cell-render":_vm.cellRenderData(_vm.item.cellRender)}})}
231530
+ var tableColumnvue_type_template_id_4fb0e5fe_scoped_true_staticRenderFns = []
231531
+
231532
+
231533
+ // CONCATENATED MODULE: ./packages/jt-table/components/tableColumn.vue?vue&type=template&id=4fb0e5fe&scoped=true&
231534
+
231535
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/jt-table/components/tableColumn.vue?vue&type=script&lang=js&
231536
+
231537
+ //
231538
+ //
231539
+ //
231540
+ //
231541
+ //
231542
+ //
231543
+ //
231544
+ //
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
+ /* harmony default export */ var tableColumnvue_type_script_lang_js_ = ({
231615
+ name: "tableColumn",
231616
+ data: function data() {
231617
+ return {};
231618
+ },
231619
+ props: {
231620
+ item: Object,
231621
+ filterData: {
231622
+ type: Function,
231623
+ default: function _default() {
231624
+ return {};
231625
+ }
231626
+ },
231627
+ cellRenderData: {
231628
+ type: Function,
231629
+ default: function _default() {
231630
+ return {};
231631
+ }
231632
+ },
231633
+ formatEnum: {
231634
+ type: Function,
231635
+ default: function _default() {
231636
+ return {};
231637
+ }
231638
+ },
231639
+ index: {
231640
+ type: Number,
231641
+ default: 0
231642
+ }
231643
+ },
231644
+ methods: {}
231645
+ });
231646
+ // CONCATENATED MODULE: ./packages/jt-table/components/tableColumn.vue?vue&type=script&lang=js&
231647
+ /* harmony default export */ var components_tableColumnvue_type_script_lang_js_ = (tableColumnvue_type_script_lang_js_);
231648
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
231649
+ /* globals __VUE_SSR_CONTEXT__ */
231650
+
231651
+ // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
231652
+ // This module is a runtime utility for cleaner component module output and will
231653
+ // be included in the final webpack user bundle.
231654
+
231655
+ function normalizeComponent (
231656
+ scriptExports,
231657
+ render,
231658
+ staticRenderFns,
231659
+ functionalTemplate,
231660
+ injectStyles,
231661
+ scopeId,
231662
+ moduleIdentifier, /* server only */
231663
+ shadowMode /* vue-cli only */
231664
+ ) {
231665
+ // Vue.extend constructor export interop
231666
+ var options = typeof scriptExports === 'function'
231667
+ ? scriptExports.options
231668
+ : scriptExports
231669
+
231670
+ // render functions
231671
+ if (render) {
231672
+ options.render = render
231673
+ options.staticRenderFns = staticRenderFns
231674
+ options._compiled = true
231675
+ }
231676
+
231677
+ // functional template
231678
+ if (functionalTemplate) {
231679
+ options.functional = true
231680
+ }
231681
+
231682
+ // scopedId
231683
+ if (scopeId) {
231684
+ options._scopeId = 'data-v-' + scopeId
231685
+ }
231686
+
231687
+ var hook
231688
+ if (moduleIdentifier) { // server build
231689
+ hook = function (context) {
231690
+ // 2.3 injection
231691
+ context =
231692
+ context || // cached call
231693
+ (this.$vnode && this.$vnode.ssrContext) || // stateful
231694
+ (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
231695
+ // 2.2 with runInNewContext: true
231696
+ if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
231697
+ context = __VUE_SSR_CONTEXT__
231698
+ }
231699
+ // inject component styles
231700
+ if (injectStyles) {
231701
+ injectStyles.call(this, context)
231702
+ }
231703
+ // register component module identifier for async chunk inferrence
231704
+ if (context && context._registeredComponents) {
231705
+ context._registeredComponents.add(moduleIdentifier)
231706
+ }
231707
+ }
231708
+ // used by ssr in case component is cached and beforeCreate
231709
+ // never gets called
231710
+ options._ssrRegister = hook
231711
+ } else if (injectStyles) {
231712
+ hook = shadowMode
231713
+ ? function () {
231714
+ injectStyles.call(
231715
+ this,
231716
+ (options.functional ? this.parent : this).$root.$options.shadowRoot
231717
+ )
231718
+ }
231719
+ : injectStyles
231720
+ }
231721
+
231722
+ if (hook) {
231723
+ if (options.functional) {
231724
+ // for template-only hot-reload because in that case the render fn doesn't
231725
+ // go through the normalizer
231726
+ options._injectStyles = hook
231727
+ // register for functional component in vue file
231728
+ var originalRender = options.render
231729
+ options.render = function renderWithStyleInjection (h, context) {
231730
+ hook.call(context)
231731
+ return originalRender(h, context)
231732
+ }
231733
+ } else {
231734
+ // inject component registration as beforeCreate hook
231735
+ var existing = options.beforeCreate
231736
+ options.beforeCreate = existing
231737
+ ? [].concat(existing, hook)
231738
+ : [hook]
231739
+ }
231740
+ }
231741
+
231742
+ return {
231743
+ exports: scriptExports,
231744
+ options: options
231745
+ }
231746
+ }
231747
+
231748
+ // CONCATENATED MODULE: ./packages/jt-table/components/tableColumn.vue
231749
+
231750
+
231751
+
231752
+
231753
+
231754
+ /* normalize component */
231755
+
231756
+ var component = normalizeComponent(
231757
+ components_tableColumnvue_type_script_lang_js_,
231758
+ tableColumnvue_type_template_id_4fb0e5fe_scoped_true_render,
231759
+ tableColumnvue_type_template_id_4fb0e5fe_scoped_true_staticRenderFns,
231760
+ false,
231761
+ null,
231762
+ "4fb0e5fe",
231763
+ null
231764
+
231765
+ )
231766
+
231767
+ /* harmony default export */ var tableColumn = (component.exports);
231528
231768
  // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/jt-table/index.vue?vue&type=script&lang=js&
231529
231769
 
231530
231770
 
@@ -232296,20 +232536,13 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
232296
232536
  //
232297
232537
  //
232298
232538
  //
232299
- //
232300
- //
232301
- //
232302
- //
232303
- //
232304
- //
232305
- //
232306
- //
232307
- //
232308
- //
232309
- //
232539
+
232310
232540
 
232311
232541
  /* harmony default export */ var jt_tablevue_type_script_lang_js_ = ({
232312
232542
  name: "jt-table-pc",
232543
+ components: {
232544
+ tableColumn: tableColumn
232545
+ },
232313
232546
  created: function created() {
232314
232547
  if (this.isPage) {
232315
232548
  this.tDataCopy = JSON.parse(JSON.stringify(this.data.DataArray));
@@ -232510,6 +232743,9 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
232510
232743
  return {
232511
232744
  tableData: this.data.DataArray,
232512
232745
  //表格数据
232746
+ headerClass: (this.data.retjson.header || []).find(function (i) {
232747
+ return (i.children || []).length;
232748
+ }) ? 'has-sub-header' : 'normal-header',
232513
232749
  colNum: 0,
232514
232750
  //当前列的数量
232515
232751
  leftCol: 0,
@@ -232552,6 +232788,12 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
232552
232788
  };
232553
232789
  },
232554
232790
  methods: {
232791
+ btnHover: function btnHover(color) {
232792
+ return {
232793
+ backgroundColor: color ? color : '',
232794
+ "--background-color-hover": color ? color + 'B3' : '#EAF5FE' + 'B3'
232795
+ };
232796
+ },
232555
232797
  //指定位置插入数据
232556
232798
  insertAt: function insertAt(records, row) {
232557
232799
  this.$refs[this.id].insertAt(records, row);
@@ -233097,7 +233339,7 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
233097
233339
  while (1) {
233098
233340
  switch (_context.prev = _context.next) {
233099
233341
  case 0:
233100
- if (!(row.activeValue.indexOf("search") !== -1)) {
233342
+ if (!(row && row.activeValue && row.activeValue.indexOf("search") !== -1)) {
233101
233343
  _context.next = 4;
233102
233344
  break;
233103
233345
  }
@@ -233276,106 +233518,6 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
233276
233518
  // EXTERNAL MODULE: ./packages/jt-table/index.vue?vue&type=style&index=0&lang=css&
233277
233519
  var jt_tablevue_type_style_index_0_lang_css_ = __webpack_require__("dbaa");
233278
233520
 
233279
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
233280
- /* globals __VUE_SSR_CONTEXT__ */
233281
-
233282
- // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
233283
- // This module is a runtime utility for cleaner component module output and will
233284
- // be included in the final webpack user bundle.
233285
-
233286
- function normalizeComponent (
233287
- scriptExports,
233288
- render,
233289
- staticRenderFns,
233290
- functionalTemplate,
233291
- injectStyles,
233292
- scopeId,
233293
- moduleIdentifier, /* server only */
233294
- shadowMode /* vue-cli only */
233295
- ) {
233296
- // Vue.extend constructor export interop
233297
- var options = typeof scriptExports === 'function'
233298
- ? scriptExports.options
233299
- : scriptExports
233300
-
233301
- // render functions
233302
- if (render) {
233303
- options.render = render
233304
- options.staticRenderFns = staticRenderFns
233305
- options._compiled = true
233306
- }
233307
-
233308
- // functional template
233309
- if (functionalTemplate) {
233310
- options.functional = true
233311
- }
233312
-
233313
- // scopedId
233314
- if (scopeId) {
233315
- options._scopeId = 'data-v-' + scopeId
233316
- }
233317
-
233318
- var hook
233319
- if (moduleIdentifier) { // server build
233320
- hook = function (context) {
233321
- // 2.3 injection
233322
- context =
233323
- context || // cached call
233324
- (this.$vnode && this.$vnode.ssrContext) || // stateful
233325
- (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
233326
- // 2.2 with runInNewContext: true
233327
- if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
233328
- context = __VUE_SSR_CONTEXT__
233329
- }
233330
- // inject component styles
233331
- if (injectStyles) {
233332
- injectStyles.call(this, context)
233333
- }
233334
- // register component module identifier for async chunk inferrence
233335
- if (context && context._registeredComponents) {
233336
- context._registeredComponents.add(moduleIdentifier)
233337
- }
233338
- }
233339
- // used by ssr in case component is cached and beforeCreate
233340
- // never gets called
233341
- options._ssrRegister = hook
233342
- } else if (injectStyles) {
233343
- hook = shadowMode
233344
- ? function () {
233345
- injectStyles.call(
233346
- this,
233347
- (options.functional ? this.parent : this).$root.$options.shadowRoot
233348
- )
233349
- }
233350
- : injectStyles
233351
- }
233352
-
233353
- if (hook) {
233354
- if (options.functional) {
233355
- // for template-only hot-reload because in that case the render fn doesn't
233356
- // go through the normalizer
233357
- options._injectStyles = hook
233358
- // register for functional component in vue file
233359
- var originalRender = options.render
233360
- options.render = function renderWithStyleInjection (h, context) {
233361
- hook.call(context)
233362
- return originalRender(h, context)
233363
- }
233364
- } else {
233365
- // inject component registration as beforeCreate hook
233366
- var existing = options.beforeCreate
233367
- options.beforeCreate = existing
233368
- ? [].concat(existing, hook)
233369
- : [hook]
233370
- }
233371
- }
233372
-
233373
- return {
233374
- exports: scriptExports,
233375
- options: options
233376
- }
233377
- }
233378
-
233379
233521
  // CONCATENATED MODULE: ./packages/jt-table/index.vue
233380
233522
 
233381
233523
 
@@ -233385,7 +233527,7 @@ function normalizeComponent (
233385
233527
 
233386
233528
  /* normalize component */
233387
233529
 
233388
- var component = normalizeComponent(
233530
+ var jt_table_component = normalizeComponent(
233389
233531
  packages_jt_tablevue_type_script_lang_js_,
233390
233532
  render,
233391
233533
  staticRenderFns,
@@ -233396,7 +233538,7 @@ var component = normalizeComponent(
233396
233538
 
233397
233539
  )
233398
233540
 
233399
- /* harmony default export */ var jt_table = (component.exports);
233541
+ /* harmony default export */ var jt_table = (jt_table_component.exports);
233400
233542
  // CONCATENATED MODULE: ./packages/jt-table/index.js
233401
233543
 
233402
233544
  // 导入组件,组件必须声明 name