@leevan/jtui 2.0.3 → 2.0.7-npm

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/jtui.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=9338fabc&
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=9338fabc&
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");
@@ -231370,6 +231370,9 @@ var es_array_find = __webpack_require__("7db0");
231370
231370
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.for-each.js
231371
231371
  var es_array_for_each = __webpack_require__("4160");
231372
231372
 
231373
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.index-of.js
231374
+ var es_array_index_of = __webpack_require__("c975");
231375
+
231373
231376
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.slice.js
231374
231377
  var es_array_slice = __webpack_require__("fb6a");
231375
231378
 
@@ -231531,6 +231534,246 @@ function _toConsumableArray(arr) {
231531
231534
  var xe_utils = __webpack_require__("c695");
231532
231535
  var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
231533
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);
231534
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&
231535
231778
 
231536
231779
 
@@ -231549,6 +231792,7 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
231549
231792
 
231550
231793
 
231551
231794
 
231795
+
231552
231796
  //
231553
231797
  //
231554
231798
  //
@@ -232301,20 +232545,13 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
232301
232545
  //
232302
232546
  //
232303
232547
  //
232304
- //
232305
- //
232306
- //
232307
- //
232308
- //
232309
- //
232310
- //
232311
- //
232312
- //
232313
- //
232314
- //
232548
+
232315
232549
 
232316
232550
  /* harmony default export */ var jt_tablevue_type_script_lang_js_ = ({
232317
232551
  name: "jt-table-pc",
232552
+ components: {
232553
+ tableColumn: tableColumn
232554
+ },
232318
232555
  created: function created() {
232319
232556
  if (this.isPage) {
232320
232557
  this.tDataCopy = JSON.parse(JSON.stringify(this.data.DataArray));
@@ -232486,7 +232723,8 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
232486
232723
  default: function _default() {
232487
232724
  return {
232488
232725
  parentRow: Object,
232489
- radioChange: function radioChange() {}
232726
+ radioChange: function radioChange() {},
232727
+ checkBoxChange: function checkBoxChange() {}
232490
232728
  };
232491
232729
  }
232492
232730
  },
@@ -232514,6 +232752,9 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
232514
232752
  return {
232515
232753
  tableData: this.data.DataArray,
232516
232754
  //表格数据
232755
+ headerClass: (this.data.retjson.header || []).find(function (i) {
232756
+ return (i.children || []).length;
232757
+ }) ? 'has-sub-header' : 'normal-header',
232517
232758
  colNum: 0,
232518
232759
  //当前列的数量
232519
232760
  leftCol: 0,
@@ -232556,6 +232797,12 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
232556
232797
  };
232557
232798
  },
232558
232799
  methods: {
232800
+ btnHover: function btnHover(color) {
232801
+ return {
232802
+ backgroundColor: color ? color : '',
232803
+ "--background-color-hover": color ? color + 'B3' : '#EAF5FE' + 'B3'
232804
+ };
232805
+ },
232559
232806
  //指定位置插入数据
232560
232807
  insertAt: function insertAt(records, row) {
232561
232808
  this.$refs[this.id].insertAt(records, row);
@@ -232607,7 +232854,7 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
232607
232854
  },
232608
232855
  //单元格自定义渲染根据类型返回配置
232609
232856
  cellRenderData: function cellRenderData(type) {
232610
- var _this$cellRenderMetho;
232857
+ var _this$cellRenderMetho, _this$cellRenderMetho2;
232611
232858
 
232612
232859
  switch (type) {
232613
232860
  case "TabsBtn":
@@ -232618,6 +232865,15 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
232618
232865
  },
232619
232866
  parentRow: (_this$cellRenderMetho = this.cellRenderMethods) === null || _this$cellRenderMetho === void 0 ? void 0 : _this$cellRenderMetho.parentRow
232620
232867
  };
232868
+
232869
+ case "TabsCheckbox":
232870
+ return {
232871
+ name: 'TabsCheckbox',
232872
+ events: {
232873
+ checkboxChange: this.cellRenderMethods.checkboxChange
232874
+ },
232875
+ parentRow: (_this$cellRenderMetho2 = this.cellRenderMethods) === null || _this$cellRenderMetho2 === void 0 ? void 0 : _this$cellRenderMetho2.parentRow
232876
+ };
232621
232877
  }
232622
232878
  },
232623
232879
  //枚举转换
@@ -232920,7 +233176,17 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
232920
233176
  },
232921
233177
  //操作列点击事件派发
232922
233178
  handlerColClick: function handlerColClick(value, row, rowIndex) {
232923
- this.$set(row, "activeValue", value);
233179
+ //检索
233180
+ if (value === 'stcd_search') {
233181
+ this.$set(row, "activeValue", value);
233182
+ } //刷新
233183
+
233184
+
233185
+ if (value === 'reflash') {
233186
+ this.reloadTreeChilds(row);
233187
+ }
233188
+
233189
+ ;
232924
233190
  this.$emit("handlerClick", value, row, rowIndex);
232925
233191
  },
232926
233192
  //普通表格转树表(仅支持一层)
@@ -233051,7 +233317,6 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
233051
233317
  dataSliceDown: function dataSliceDown(idx) {
233052
233318
  this.data.DataArray = this.dataTreeObj[idx].concat(this.dataTreeObj[idx + 1]);
233053
233319
  },
233054
- //树 懒加载方法
233055
233320
  // async loadChildrenMethod({ row }){
233056
233321
  // const { data } = await this.$axios.post(this.treeTypeConfig.path + row.path);
233057
233322
  // return new Promise((resolve) => {
@@ -233070,6 +233335,7 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
233070
233335
  // }
233071
233336
  // })
233072
233337
  // },
233338
+ //树 懒加载方法
233073
233339
  loadChildrenMethod: function loadChildrenMethod(_ref20) {
233074
233340
  var _this5 = this;
233075
233341
 
@@ -233082,7 +233348,7 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
233082
233348
  while (1) {
233083
233349
  switch (_context.prev = _context.next) {
233084
233350
  case 0:
233085
- if (!(row.activeValue === "stcd_search")) {
233351
+ if (!(row && row.activeValue && row.activeValue.indexOf("search") !== -1)) {
233086
233352
  _context.next = 4;
233087
233353
  break;
233088
233354
  }
@@ -233261,106 +233527,6 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
233261
233527
  // EXTERNAL MODULE: ./packages/jt-table/index.vue?vue&type=style&index=0&lang=css&
233262
233528
  var jt_tablevue_type_style_index_0_lang_css_ = __webpack_require__("dbaa");
233263
233529
 
233264
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
233265
- /* globals __VUE_SSR_CONTEXT__ */
233266
-
233267
- // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
233268
- // This module is a runtime utility for cleaner component module output and will
233269
- // be included in the final webpack user bundle.
233270
-
233271
- function normalizeComponent (
233272
- scriptExports,
233273
- render,
233274
- staticRenderFns,
233275
- functionalTemplate,
233276
- injectStyles,
233277
- scopeId,
233278
- moduleIdentifier, /* server only */
233279
- shadowMode /* vue-cli only */
233280
- ) {
233281
- // Vue.extend constructor export interop
233282
- var options = typeof scriptExports === 'function'
233283
- ? scriptExports.options
233284
- : scriptExports
233285
-
233286
- // render functions
233287
- if (render) {
233288
- options.render = render
233289
- options.staticRenderFns = staticRenderFns
233290
- options._compiled = true
233291
- }
233292
-
233293
- // functional template
233294
- if (functionalTemplate) {
233295
- options.functional = true
233296
- }
233297
-
233298
- // scopedId
233299
- if (scopeId) {
233300
- options._scopeId = 'data-v-' + scopeId
233301
- }
233302
-
233303
- var hook
233304
- if (moduleIdentifier) { // server build
233305
- hook = function (context) {
233306
- // 2.3 injection
233307
- context =
233308
- context || // cached call
233309
- (this.$vnode && this.$vnode.ssrContext) || // stateful
233310
- (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
233311
- // 2.2 with runInNewContext: true
233312
- if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
233313
- context = __VUE_SSR_CONTEXT__
233314
- }
233315
- // inject component styles
233316
- if (injectStyles) {
233317
- injectStyles.call(this, context)
233318
- }
233319
- // register component module identifier for async chunk inferrence
233320
- if (context && context._registeredComponents) {
233321
- context._registeredComponents.add(moduleIdentifier)
233322
- }
233323
- }
233324
- // used by ssr in case component is cached and beforeCreate
233325
- // never gets called
233326
- options._ssrRegister = hook
233327
- } else if (injectStyles) {
233328
- hook = shadowMode
233329
- ? function () {
233330
- injectStyles.call(
233331
- this,
233332
- (options.functional ? this.parent : this).$root.$options.shadowRoot
233333
- )
233334
- }
233335
- : injectStyles
233336
- }
233337
-
233338
- if (hook) {
233339
- if (options.functional) {
233340
- // for template-only hot-reload because in that case the render fn doesn't
233341
- // go through the normalizer
233342
- options._injectStyles = hook
233343
- // register for functional component in vue file
233344
- var originalRender = options.render
233345
- options.render = function renderWithStyleInjection (h, context) {
233346
- hook.call(context)
233347
- return originalRender(h, context)
233348
- }
233349
- } else {
233350
- // inject component registration as beforeCreate hook
233351
- var existing = options.beforeCreate
233352
- options.beforeCreate = existing
233353
- ? [].concat(existing, hook)
233354
- : [hook]
233355
- }
233356
- }
233357
-
233358
- return {
233359
- exports: scriptExports,
233360
- options: options
233361
- }
233362
- }
233363
-
233364
233530
  // CONCATENATED MODULE: ./packages/jt-table/index.vue
233365
233531
 
233366
233532
 
@@ -233370,7 +233536,7 @@ function normalizeComponent (
233370
233536
 
233371
233537
  /* normalize component */
233372
233538
 
233373
- var component = normalizeComponent(
233539
+ var jt_table_component = normalizeComponent(
233374
233540
  packages_jt_tablevue_type_script_lang_js_,
233375
233541
  render,
233376
233542
  staticRenderFns,
@@ -233381,7 +233547,7 @@ var component = normalizeComponent(
233381
233547
 
233382
233548
  )
233383
233549
 
233384
- /* harmony default export */ var jt_table = (component.exports);
233550
+ /* harmony default export */ var jt_table = (jt_table_component.exports);
233385
233551
  // CONCATENATED MODULE: ./packages/jt-table/index.js
233386
233552
 
233387
233553
  // 导入组件,组件必须声明 name
@@ -234535,9 +234701,6 @@ var JtEchartsPcvue_type_template_id_9cf77ee0_scoped_true_staticRenderFns = []
234535
234701
 
234536
234702
  // CONCATENATED MODULE: ./packages/jt-echarts-pc/JtEchartsPc.vue?vue&type=template&id=9cf77ee0&scoped=true&
234537
234703
 
234538
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.index-of.js
234539
- var es_array_index_of = __webpack_require__("c975");
234540
-
234541
234704
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.reflect.construct.js
234542
234705
  var es_reflect_construct = __webpack_require__("4ae1");
234543
234706
 
@@ -237475,13 +237638,138 @@ var tabsBtn_component = normalizeComponent(
237475
237638
  )
237476
237639
 
237477
237640
  /* harmony default export */ var tabsBtn = (tabsBtn_component.exports);
237641
+ // 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/tabsCheckbox.vue?vue&type=template&id=0e0cb1dd&scoped=true&
237642
+ var tabsCheckboxvue_type_template_id_0e0cb1dd_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.dataType !== 'string')?_c('el-checkbox-group',{attrs:{"size":"mini"},on:{"change":_vm.btnsClick},model:{value:(_vm.radio_value),callback:function ($$v) {_vm.radio_value=$$v},expression:"radio_value"}},_vm._l((_vm.fullData),function(item,index){return _c('el-checkbox-button',{key:index,attrs:{"label":item.value}},[_vm._v(_vm._s(item.label))])}),1):_c('div',[_vm._v(" "+_vm._s(_vm.rowData)+" ")])],1)}
237643
+ var tabsCheckboxvue_type_template_id_0e0cb1dd_scoped_true_staticRenderFns = []
237644
+
237645
+
237646
+ // CONCATENATED MODULE: ./packages/jt-table/components/tabsCheckbox.vue?vue&type=template&id=0e0cb1dd&scoped=true&
237647
+
237648
+ // 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/tabsCheckbox.vue?vue&type=script&lang=js&
237649
+
237650
+
237651
+
237652
+ //
237653
+ //
237654
+ //
237655
+ //
237656
+ //
237657
+ //
237658
+ //
237659
+ //
237660
+ //
237661
+ //
237662
+ //
237663
+ //
237664
+ //
237665
+ //
237666
+ //
237667
+ //
237668
+ //
237669
+ /* harmony default export */ var tabsCheckboxvue_type_script_lang_js_ = ({
237670
+ name: "TabsCheckbox",
237671
+ data: function data() {
237672
+ return {
237673
+ radio_value: [],
237674
+ fullData: [],
237675
+ oldValue: "",
237676
+ dataType: '',
237677
+ rowData: ''
237678
+ };
237679
+ },
237680
+ props: {
237681
+ params: Object
237682
+ },
237683
+ created: function created() {
237684
+ this.load();
237685
+ },
237686
+ methods: {
237687
+ load: function load() {
237688
+ var _this$params = this.params,
237689
+ row = _this$params.row,
237690
+ column = _this$params.column;
237691
+
237692
+ if (row) {
237693
+ this.rowData = row[column.property];
237694
+ this.dataType = _typeof(this.rowData);
237695
+ }
237696
+
237697
+ if (this.rowData && this.rowData.enum) {
237698
+ this.fullData = this.rowData.enum;
237699
+ this.radio_value = this.rowData.selected;
237700
+ this.oldValue = this.rowData.selected;
237701
+ }
237702
+ },
237703
+ btnsClick: function btnsClick(val) {
237704
+ var _this = this;
237705
+
237706
+ return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
237707
+ var _this$params2, row, column, _this$$attrs, events, parentRow, result;
237708
+
237709
+ return regeneratorRuntime.wrap(function _callee$(_context) {
237710
+ while (1) {
237711
+ switch (_context.prev = _context.next) {
237712
+ case 0:
237713
+ _this$params2 = _this.params, row = _this$params2.row, column = _this$params2.column;
237714
+ _this$$attrs = _this.$attrs, events = _this$$attrs.events, parentRow = _this$$attrs.parentRow;
237715
+ _context.next = 4;
237716
+ return events.checkboxChange({
237717
+ row: row,
237718
+ property: column.property,
237719
+ val: val,
237720
+ params: parentRow
237721
+ });
237722
+
237723
+ case 4:
237724
+ result = _context.sent;
237725
+
237726
+ if (result) {
237727
+ _this.oldValue = val;
237728
+ } else {
237729
+ _this.radio_value = _this.oldValue;
237730
+ }
237731
+
237732
+ case 6:
237733
+ case "end":
237734
+ return _context.stop();
237735
+ }
237736
+ }
237737
+ }, _callee);
237738
+ }))();
237739
+ }
237740
+ }
237741
+ });
237742
+ // CONCATENATED MODULE: ./packages/jt-table/components/tabsCheckbox.vue?vue&type=script&lang=js&
237743
+ /* harmony default export */ var components_tabsCheckboxvue_type_script_lang_js_ = (tabsCheckboxvue_type_script_lang_js_);
237744
+ // CONCATENATED MODULE: ./packages/jt-table/components/tabsCheckbox.vue
237745
+
237746
+
237747
+
237748
+
237749
+
237750
+ /* normalize component */
237751
+
237752
+ var tabsCheckbox_component = normalizeComponent(
237753
+ components_tabsCheckboxvue_type_script_lang_js_,
237754
+ tabsCheckboxvue_type_template_id_0e0cb1dd_scoped_true_render,
237755
+ tabsCheckboxvue_type_template_id_0e0cb1dd_scoped_true_staticRenderFns,
237756
+ false,
237757
+ null,
237758
+ "0e0cb1dd",
237759
+ null
237760
+
237761
+ )
237762
+
237763
+ /* harmony default export */ var tabsCheckbox = (tabsCheckbox_component.exports);
237478
237764
  // CONCATENATED MODULE: ./packages/jt-table/comp.js
237479
237765
 
237480
237766
 
237481
237767
 
237482
237768
 
237483
237769
 
237770
+
237484
237771
  external_commonjs_vue_commonjs2_vue_root_Vue_default.a.component(tabsBtn.name, tabsBtn);
237772
+ external_commonjs_vue_commonjs2_vue_root_Vue_default.a.component(tabsCheckbox.name, tabsCheckbox);
237485
237773
  index_common_default.a.renderer.add('TabsBtn', {
237486
237774
  renderDefault: function renderDefault(h, renderOpts, params) {
237487
237775
  var events = renderOpts.events,
@@ -237495,6 +237783,19 @@ index_common_default.a.renderer.add('TabsBtn', {
237495
237783
  })];
237496
237784
  }
237497
237785
  });
237786
+ index_common_default.a.renderer.add('TabsCheckbox', {
237787
+ renderDefault: function renderDefault(h, renderOpts, params) {
237788
+ var events = renderOpts.events,
237789
+ parentRow = renderOpts.parentRow;
237790
+ return [h("tabs-checkbox", {
237791
+ "attrs": {
237792
+ "params": params,
237793
+ "events": events,
237794
+ "parentRow": parentRow
237795
+ }
237796
+ })];
237797
+ }
237798
+ });
237498
237799
  // EXTERNAL MODULE: ./node_modules/moment/moment.js
237499
237800
  var moment = __webpack_require__("c1df");
237500
237801
  var moment_default = /*#__PURE__*/__webpack_require__.n(moment);