@leevan/jtui 2.0.2 → 2.0.3

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.
@@ -231247,56 +231247,107 @@ 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=9a089a1c&
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":{type: 'xlsx',types:['xlsx', 'csv', 'html', 'xml', 'txt']},"custom-config":{storage: true,checkMethod: _vm.checkColumnMethod},"edit-config":{trigger: 'dblclick', mode: 'cell', showStatus: true,activeMethod: _vm.activeCellMethod},"expand-config":{visibleMethod: _vm.visibleMethod,loadMethod:_vm.expandConfig.loadMethod,toggleMethod: _vm.toggleMethod,lazy:true,accordion: _vm.expandConfig.accordion}},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){
231252
- var row = ref.row;
231253
- 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){
231254
- var row = ref.row;
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=9338fabc&
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":{
231252
+ type: 'xlsx',
231253
+ types: ['xlsx', 'csv', 'html', 'xml', 'txt'],
231254
+ },"custom-config":{ storage: true, checkMethod: _vm.checkColumnMethod },"edit-config":{
231255
+ trigger: 'dblclick',
231256
+ mode: 'cell',
231257
+ showStatus: true,
231258
+ activeMethod: _vm.activeCellMethod,
231259
+ },"expand-config":{
231260
+ visibleMethod: _vm.visibleMethod,
231261
+ loadMethod: _vm.expandConfig.loadMethod,
231262
+ toggleMethod: _vm.toggleMethod,
231263
+ lazy: true,
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){
231266
+ var row = ref.row;
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
+ var row = ref.row;
231255
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){
231256
- var row = ref.row;
231257
- var rowIndex = ref.rowIndex;
231258
- 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:({color:item.color ? item.color : '#666',
231259
- fontSize:item.size ? item.size + 'px' : '16px'})}),_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:({color:item.color ? item.color : '#666',
231260
- fontSize:item.size ? item.size + 'px' : '16px'})}),_c('span',{staticClass:"ht-text",staticStyle:{"color":"#666"}},[_vm._v(_vm._s(item.name))])])})]:_vm._e()]}}],null,false,1334226097)})],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":{type: 'xlsx',types:['xlsx', 'csv', 'html', 'xml', 'txt']},"custom-config":{storage: true,checkMethod: _vm.checkColumnMethod},"edit-config":{trigger: 'dblclick', mode: 'cell', showStatus: true,activeMethod: _vm.activeCellMethod}},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){
231261
- var row = ref.row;
231262
- 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){
231263
- var row = ref.row;
231270
+ var row = ref.row;
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',
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',
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":{
231279
+ type: 'xlsx',
231280
+ types: ['xlsx', 'csv', 'html', 'xml', 'txt'],
231281
+ },"custom-config":{ storage: true, checkMethod: _vm.checkColumnMethod },"edit-config":{
231282
+ trigger: 'dblclick',
231283
+ mode: 'cell',
231284
+ showStatus: true,
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){
231287
+ var row = ref.row;
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
+ var row = ref.row;
231264
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){
231265
- var row = ref.row;
231266
- var rowIndex = ref.rowIndex;
231267
- 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:({color:item.color ? item.color : '#666',
231268
- fontSize:item.size ? item.size + 'px' : '16px'})}),_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:({color:item.color ? item.color : '#666',
231269
- fontSize:item.size ? item.size + 'px' : '16px'})}),_c('span',{staticClass:"ht-text",staticStyle:{"color":"#666"}},[_vm._v(_vm._s(item.name))])])})]:_vm._e()]}}],null,false,1334226097)})],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":{
231270
- highlight:true
231271
- },"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){
231272
- var row = ref.row;
231273
- var rowIndex = ref.rowIndex;
231274
- 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:({color:item.color ? item.color : '#666',
231275
- fontSize:item.size ? item.size + 'px' : '16px'})}),_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:({color:item.color ? item.color : '#666',
231276
- fontSize:item.size ? item.size + 'px' : '16px'})}),_c('span',{staticClass:"ht-text",staticStyle:{"color":"#666"}},[_vm._v(_vm._s(item.name))])]):_vm._e()]})]:_vm._e()]}}],null,false,2957908937)}):_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":{labelField:_vm.treeTypeConfig.type !== 'treeTable' ? 'name' : '',
231277
- checkMethod:_vm.treeRadioMethod},"checkbox-config":{labelField:_vm.treeTypeConfig.type !== 'treeTable' ? 'name' : '',
231278
- checkRowKeys: this.treeTypeConfig.checkRowKeys,
231279
- highlight:true,
231280
- checkMethod:_vm.checCheckboxkMethod2},"edit-config":{trigger: 'dblclick', mode: 'cell', showStatus: true,activeMethod: _vm.activeCellMethod},"keep-source":"","loading":_vm.loading,"expand-config":{visibleMethod: _vm.visibleMethod,loadMethod:_vm.expandConfig.loadMethod,
231281
- toggleMethod: _vm.toggleMethod,
231282
- lazy:true,accordion: _vm.expandConfig.accordion},"data":_vm.data.DataArray},on:{"checkbox-change":_vm.treeCheckChange,"checkbox-all":_vm.treeCheckChange,"radio-change":_vm.radioSelectChangeEvent,"cell-click":_vm.cellClickEvent,"keydown":_vm.keyEnter,"scroll":_vm.scroll1}},[(_vm.treeTypeConfig.type === 'treeTable' && _vm.treeTypeConfig.checkbox)?_c('vxe-table-column',{attrs:{"type":"checkbox","width":"38","align":"center","fixed":"left"}}):_vm._e(),(_vm.treeTypeConfig.type === 'treeTable' && _vm.treeTypeConfig.radio)?_c('vxe-table-column',{attrs:{"type":"radio","width":"38","align":"center","fixed":"left"}}):_vm._e(),(_vm.isSeq && _vm.treeTypeConfig.type === 'treeTable')?_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 [(_vm.treeTypeConfig.type !== 'treeTable')?_c('vxe-table-column',{key:index,attrs:{"edit-render":item.edit,"type":_vm.treeTypeConfig.colType,"tree-node":index == 0,"show-overflow":"","field":item.prop,"align":"left","title":item.label,"min-width":item.width,"cell-render":_vm.cellRenderData(item.cellRender),"visible":index === 0},scopedSlots:_vm._u([{key:"default",fn:function(ref){
231283
- var row = ref.row;
231284
- return [_c('span',{staticStyle:{"position":"relative","top":"2px"},on:{"click":function($event){return _vm.treeTxtClick(row)}}},[(row.path && row.path !== undefined)?[_c('i',{staticClass:"jtIcon",class:row.icon ? row.icon : 'jt-iconClose2 iconwenjianjia'})]:[_c('i',{staticClass:"jtIcon jt-iconFile",class:row.icon ? row.icon : 'icon21file'})],_c('span',[_vm._v(_vm._s(row.name))])],2)]}}],null,true)}):_vm._e(),(_vm.treeTypeConfig.type === 'treeTable')?_c('vxe-table-column',{key:index,attrs:{"edit-render":item.edit,"tree-node":index == 0,"show-overflow":"","field":item.prop,"align":item.align,"title":item.label,"min-width":item.width,"visible":item.width !== 0,"type":item.html ? 'html': '',"cell-render":_vm.cellRenderData(item.cellRender),"formatter":_vm.formatEnum},scopedSlots:_vm._u([(index === 0)?{key:"default",fn:function(ref){
231285
- var row = ref.row;
231291
+ var row = ref.row;
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',
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',
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":{
231300
+ highlight: true,
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
+ var row = ref.row;
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',
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',
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":{
231311
+ labelField: _vm.treeTypeConfig.type !== 'treeTable' ? 'name' : '',
231312
+ checkMethod: _vm.treeRadioMethod,
231313
+ },"checkbox-config":{
231314
+ labelField: _vm.treeTypeConfig.type !== 'treeTable' ? 'name' : '',
231315
+ checkRowKeys: this.treeTypeConfig.checkRowKeys,
231316
+ highlight: true,
231317
+ checkMethod: _vm.checCheckboxkMethod2,
231318
+ },"edit-config":{
231319
+ trigger: 'dblclick',
231320
+ mode: 'cell',
231321
+ showStatus: true,
231322
+ activeMethod: _vm.activeCellMethod,
231323
+ },"keep-source":"","loading":_vm.loading,"expand-config":{
231324
+ visibleMethod: _vm.visibleMethod,
231325
+ loadMethod: _vm.expandConfig.loadMethod,
231326
+ toggleMethod: _vm.toggleMethod,
231327
+ lazy: true,
231328
+ accordion: _vm.expandConfig.accordion,
231329
+ },"data":_vm.data.DataArray},on:{"checkbox-change":_vm.treeCheckChange,"checkbox-all":_vm.treeCheckChange,"radio-change":_vm.radioSelectChangeEvent,"cell-click":_vm.cellClickEvent,"keydown":_vm.keyEnter,"scroll":_vm.scroll1}},[(_vm.treeTypeConfig.type === 'treeTable' && _vm.treeTypeConfig.checkbox)?_c('vxe-table-column',{attrs:{"type":"checkbox","width":"38","align":"center","fixed":"left"}}):_vm._e(),(_vm.treeTypeConfig.type === 'treeTable' && _vm.treeTypeConfig.radio)?_c('vxe-table-column',{attrs:{"type":"radio","width":"38","align":"center","fixed":"left"}}):_vm._e(),(_vm.isSeq && _vm.treeTypeConfig.type === 'treeTable')?_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 [(_vm.treeTypeConfig.type !== 'treeTable')?_c('vxe-table-column',{key:index,attrs:{"edit-render":item.edit,"type":_vm.treeTypeConfig.colType,"tree-node":index == 0,"show-overflow":"","field":item.prop,"align":"left","title":item.label,"min-width":item.width,"cell-render":_vm.cellRenderData(item.cellRender),"visible":index === 0},scopedSlots:_vm._u([{key:"default",fn:function(ref){
231330
+ var row = ref.row;
231331
+ return [_c('span',{staticStyle:{"position":"relative","top":"2px"},on:{"click":function($event){return _vm.treeTxtClick(row)}}},[(row.path && row.path !== undefined)?[_c('i',{staticClass:"jtIcon",class:row.icon ? row.icon : 'jt-iconClose2 iconwenjianjia'})]:[_c('i',{staticClass:"jtIcon jt-iconFile",class:row.icon ? row.icon : 'icon21file'})],_c('span',[_vm._v(_vm._s(row.name))])],2)]}}],null,true)}):_vm._e(),(_vm.treeTypeConfig.type === 'treeTable')?_c('vxe-table-column',{key:index,attrs:{"edit-render":item.edit,"tree-node":index == 0,"show-overflow":"","field":item.prop,"align":item.align,"title":item.label,"min-width":item.width,"visible":item.width !== 0,"type":item.html ? 'html' : '',"cell-render":_vm.cellRenderData(item.cellRender),"formatter":_vm.formatEnum},scopedSlots:_vm._u([(index === 0)?{key:"default",fn:function(ref){
231332
+ var row = ref.row;
231286
231333
  return [_c('span',{staticStyle:{"position":"relative","top":"2px"},on:{"click":function($event){return _vm.treeTxtClick(row)}}},[(row.path && row.path !== undefined)?[_c('i',{staticClass:"jtIcon",class:row.icon ? row.icon : 'jt-iconClose2 iconwenjianjia'})]:[_c('i',{staticClass:"jtIcon jt-iconFile",class:row.icon ? row.icon : 'icon21file'})],_c('span',[_vm._v(_vm._s(row[item.prop]))])],2)]}}:null],null,true)}):_vm._e()]}),(_vm.expandConfig.isOpen)?_c('vxe-table-column',{attrs:{"type":"expand","width":_vm.expandConfig.width},scopedSlots:_vm._u([{key:"default",fn:function(ref){
231287
- var row = ref.row;
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
- var row = ref.row;
231334
+ var row = ref.row;
231335
+ 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){
231336
+ var row = ref.row;
231290
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){
231291
- var row = ref.row;
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 [(_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:({color:item.color ? item.color : '#666',
231294
- fontSize:item.size ? item.size + 'px' : '16px'})}),_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:({color:item.color ? item.color : '#666',
231295
- fontSize:item.size ? item.size + 'px' : '16px'})}),_c('span',{staticClass:"ht-text",staticStyle:{"color":"#666"}},[_vm._v(_vm._s(item.name))])]):_vm._e()]})]:_vm._e()]}}],null,false,2957908937)}):_vm._e()],2):_vm._e()],1)}
231338
+ var row = ref.row;
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',
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',
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)}
231296
231347
  var staticRenderFns = []
231297
231348
 
231298
231349
 
231299
- // CONCATENATED MODULE: ./packages/jt-table/index.vue?vue&type=template&id=9a089a1c&
231350
+ // CONCATENATED MODULE: ./packages/jt-table/index.vue?vue&type=template&id=9338fabc&
231300
231351
 
231301
231352
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
231302
231353
  var es_array_concat = __webpack_require__("99af");
@@ -232136,9 +232187,125 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
232136
232187
  //
232137
232188
  //
232138
232189
  //
232190
+ //
232191
+ //
232192
+ //
232193
+ //
232194
+ //
232195
+ //
232196
+ //
232197
+ //
232198
+ //
232199
+ //
232200
+ //
232201
+ //
232202
+ //
232203
+ //
232204
+ //
232205
+ //
232206
+ //
232207
+ //
232208
+ //
232209
+ //
232210
+ //
232211
+ //
232212
+ //
232213
+ //
232214
+ //
232215
+ //
232216
+ //
232217
+ //
232218
+ //
232219
+ //
232220
+ //
232221
+ //
232222
+ //
232223
+ //
232224
+ //
232225
+ //
232226
+ //
232227
+ //
232228
+ //
232229
+ //
232230
+ //
232231
+ //
232232
+ //
232233
+ //
232234
+ //
232235
+ //
232236
+ //
232237
+ //
232238
+ //
232239
+ //
232240
+ //
232241
+ //
232242
+ //
232243
+ //
232244
+ //
232245
+ //
232246
+ //
232247
+ //
232248
+ //
232249
+ //
232250
+ //
232251
+ //
232252
+ //
232253
+ //
232254
+ //
232255
+ //
232256
+ //
232257
+ //
232258
+ //
232259
+ //
232260
+ //
232261
+ //
232262
+ //
232263
+ //
232264
+ //
232265
+ //
232266
+ //
232267
+ //
232268
+ //
232269
+ //
232270
+ //
232271
+ //
232272
+ //
232273
+ //
232274
+ //
232275
+ //
232276
+ //
232277
+ //
232278
+ //
232279
+ //
232280
+ //
232281
+ //
232282
+ //
232283
+ //
232284
+ //
232285
+ //
232286
+ //
232287
+ //
232288
+ //
232289
+ //
232290
+ //
232291
+ //
232292
+ //
232293
+ //
232294
+ //
232295
+ //
232296
+ //
232297
+ //
232298
+ //
232299
+ //
232300
+ //
232301
+ //
232302
+ //
232303
+ //
232304
+ //
232305
+ //
232139
232306
 
232140
232307
  /* harmony default export */ var jt_tablevue_type_script_lang_js_ = ({
232141
- name: 'jt-table-pc',
232308
+ name: "jt-table-pc",
232142
232309
  created: function created() {
232143
232310
  if (this.isPage) {
232144
232311
  this.tDataCopy = JSON.parse(JSON.stringify(this.data.DataArray));
@@ -232152,7 +232319,7 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
232152
232319
  this.data.DataArray = [].concat(_toConsumableArray(this.dataTreeObj[this.pageIndex]), _toConsumableArray(this.dataTreeObj[this.pageIndex + 1]));
232153
232320
  }
232154
232321
 
232155
- if ('header' in this.data.retjson) {
232322
+ if ("header" in this.data.retjson) {
232156
232323
  this.treeField = this.data.retjson.header[0].prop;
232157
232324
  }
232158
232325
  },
@@ -232175,7 +232342,7 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
232175
232342
  //表格类型,默认default为普通表格、tree为树表
232176
232343
  tableType: {
232177
232344
  type: String,
232178
- default: 'default'
232345
+ default: "default"
232179
232346
  },
232180
232347
  //是否显示单选框
232181
232348
  radio: {
@@ -232194,8 +232361,8 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
232194
232361
  return {
232195
232362
  show: false,
232196
232363
  width: 250,
232197
- align: 'center',
232198
- fixed: 'right',
232364
+ align: "center",
232365
+ fixed: "right",
232199
232366
  btnGroup: true
232200
232367
  };
232201
232368
  }
@@ -232219,8 +232386,8 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
232219
232386
  type: Object,
232220
232387
  default: function _default() {
232221
232388
  return {
232222
- colType: 'checkbox',
232223
- type: 'tree',
232389
+ colType: "checkbox",
232390
+ type: "tree",
232224
232391
  checkbox: true,
232225
232392
  line: true,
232226
232393
  expandAll: false,
@@ -232277,7 +232444,7 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
232277
232444
  //表格边线
232278
232445
  border: {
232279
232446
  type: String,
232280
- default: 'full'
232447
+ default: "full"
232281
232448
  },
232282
232449
  //树、树表是否禁用非最后一级
232283
232450
  isParent: {
@@ -232321,7 +232488,7 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
232321
232488
  return {
232322
232489
  isOpen: false,
232323
232490
  width: 120,
232324
- text: '',
232491
+ text: "",
232325
232492
  accordion: true,
232326
232493
  //手风琴模式
232327
232494
  loadMethod: function loadMethod() {}
@@ -232344,25 +232511,25 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
232344
232511
  //从左起计算合并列的基数
232345
232512
  //分组表格的配置
232346
232513
  groupConfig: {
232347
- children: 'children',
232348
- iconOpen: 'jtIcon iconwenjianjia1 jt-iconOpen1',
232349
- iconClose: 'jtIcon iconwenjianjia jt-iconClose1',
232514
+ children: "children",
232515
+ iconOpen: "jtIcon iconwenjianjia1 jt-iconOpen1",
232516
+ iconClose: "jtIcon iconwenjianjia jt-iconClose1",
232350
232517
  expandAll: this.groupExpandAll,
232351
232518
  line: this.groupLine
232352
232519
  },
232353
232520
  //树 or 树表 配置
232354
232521
  treeConfig: {
232355
232522
  lazy: this.treeLazy,
232356
- children: 'children',
232523
+ children: "children",
232357
232524
  expandAll: this.treeTypeConfig.expandAll,
232358
- hasChild: 'path',
232359
- iconOpen: 'jtIcon iconjianshao jt-iconOpen',
232360
- iconClose: 'jtIcon iconjia1 jt-iconClose',
232525
+ hasChild: "path",
232526
+ iconOpen: "jtIcon iconjianshao jt-iconOpen",
232527
+ iconClose: "jtIcon iconjia1 jt-iconClose",
232361
232528
  loadMethod: this.loadChildrenMethod,
232362
232529
  line: this.treeTypeConfig.line,
232363
232530
  accordion: this.treeAccordion
232364
232531
  },
232365
- treeField: '',
232532
+ treeField: "",
232366
232533
  //分组列的字段
232367
232534
  timeOut: null,
232368
232535
  //滚动翻页定时器Id
@@ -232375,10 +232542,15 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
232375
232542
  //树表分页数据拷贝
232376
232543
  pageTotal: 0,
232377
232544
  dataTotal: 0,
232378
- dataTreeObj: {}
232545
+ dataTreeObj: {},
232546
+ treeTempData: []
232379
232547
  };
232380
232548
  },
232381
232549
  methods: {
232550
+ //指定位置插入数据
232551
+ insertAt: function insertAt(records, row) {
232552
+ this.$refs[this.id].insertAt(records, row);
232553
+ },
232382
232554
  //加载数据
232383
232555
  loadData: function loadData(data) {
232384
232556
  return this.$refs[this.id].loadData(data);
@@ -232386,40 +232558,40 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
232386
232558
  //根据类型返回筛选框源数据
232387
232559
  filterData: function filterData(type) {
232388
232560
  switch (type) {
232389
- case 'FilterInput':
232561
+ case "FilterInput":
232390
232562
  return [{
232391
- data: ''
232563
+ data: ""
232392
232564
  }];
232393
232565
 
232394
- case 'FilterContent':
232566
+ case "FilterContent":
232395
232567
  return [{
232396
232568
  data: {
232397
232569
  vals: [],
232398
- sVal: ''
232570
+ sVal: ""
232399
232571
  }
232400
232572
  }];
232401
232573
 
232402
- case 'FilterExcel':
232574
+ case "FilterExcel":
232403
232575
  return [{
232404
232576
  data: {
232405
- f1Type: '1',
232406
- f1Val: '',
232407
- fMode: 'and',
232408
- f2Type: '1',
232409
- f2Val: ''
232577
+ f1Type: "1",
232578
+ f1Val: "",
232579
+ fMode: "and",
232580
+ f2Type: "1",
232581
+ f2Val: ""
232410
232582
  }
232411
232583
  }];
232412
232584
 
232413
- case 'FilterComplex':
232585
+ case "FilterComplex":
232414
232586
  return [{
232415
232587
  data: {
232416
- type: 'eq',
232417
- value: ''
232588
+ type: "eq",
232589
+ value: ""
232418
232590
  }
232419
232591
  }, {
232420
232592
  data: {
232421
- type: 'eq',
232422
- value: ''
232593
+ type: "eq",
232594
+ value: ""
232423
232595
  }
232424
232596
  }];
232425
232597
  }
@@ -232429,9 +232601,9 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
232429
232601
  var _this$cellRenderMetho;
232430
232602
 
232431
232603
  switch (type) {
232432
- case 'TabsBtn':
232604
+ case "TabsBtn":
232433
232605
  return {
232434
- name: 'TabsBtn',
232606
+ name: "TabsBtn",
232435
232607
  events: {
232436
232608
  radioChange: this.cellRenderMethods.radioChange
232437
232609
  },
@@ -232449,17 +232621,17 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
232449
232621
  return item.prop == column.property;
232450
232622
  });
232451
232623
 
232452
- if (data && "html" in data && 'htmlType' in data) {
232453
- if (data.htmlType == 'icon') {
232624
+ if (data && "html" in data && "htmlType" in data) {
232625
+ if (data.htmlType == "icon") {
232454
232626
  if (Array.isArray(cellValue)) {
232455
- var str = '';
232627
+ var str = "";
232456
232628
  cellValue.forEach(function (i) {
232457
232629
  var item = data.html.find(function (im) {
232458
232630
  return im.value == i;
232459
232631
  });
232460
232632
 
232461
232633
  if (item) {
232462
- str += "<span \n class=\"jtIcon ".concat(item.icon, "\" style=\"\n color:").concat(item.color, ";\n font-size:").concat(item.size, "px;\n margin-right:").concat(item.margin || '8', "px\"\n onclick=\"iconItem(").concat(i, ")\"\n ></span>");
232634
+ str += "<span \n class=\"jtIcon ".concat(item.icon, "\" style=\"\n color:").concat(item.color, ";\n font-size:").concat(item.size, "px;\n margin-right:").concat(item.margin || "8", "px\"\n onclick=\"iconItem(").concat(i, ")\"\n ></span>");
232463
232635
  }
232464
232636
  });
232465
232637
  return str ? str : cellValue;
@@ -232469,7 +232641,7 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
232469
232641
  });
232470
232642
  return item ? "<span class=\"jtIcon ".concat(item.icon, "\" style=\"color:").concat(item.color, ";font-size:").concat(item.size, "px\"></span>") : cellValue;
232471
232643
  }
232472
- } else if (data.htmlType == 'a') {
232644
+ } else if (data.htmlType == "a") {
232473
232645
  var _item = data.html.find(function (item) {
232474
232646
  return item.value == cellValue;
232475
232647
  });
@@ -232504,13 +232676,13 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
232504
232676
  });
232505
232677
  var list = [];
232506
232678
 
232507
- if (order === 'asc' || order === 'desc') {
232679
+ if (order === "asc" || order === "desc") {
232508
232680
  list = data1.sort(function (a, b) {
232509
232681
  return a[property] - b[property];
232510
232682
  });
232511
232683
  }
232512
232684
 
232513
- if (order === 'desc') {
232685
+ if (order === "desc") {
232514
232686
  list.reverse();
232515
232687
  }
232516
232688
 
@@ -232520,7 +232692,7 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
232520
232692
  checkColumnMethod: function checkColumnMethod(_ref3) {
232521
232693
  var column = _ref3.column;
232522
232694
 
232523
- if (column.width == 0 || column.title == '序号') {
232695
+ if (column.width == 0 || column.title == "序号") {
232524
232696
  return false;
232525
232697
  }
232526
232698
 
@@ -232536,8 +232708,8 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
232536
232708
  var sums = [];
232537
232709
  columns.forEach(function (column, columnIndex) {
232538
232710
  if (columnIndex === 0) {
232539
- means.push('平均');
232540
- sums.push('求和');
232711
+ means.push("平均");
232712
+ sums.push("求和");
232541
232713
  } else {
232542
232714
  var meanCell = null;
232543
232715
  var sumCell = null;
@@ -232584,9 +232756,9 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
232584
232756
 
232585
232757
  if (columnIndex === 0) {
232586
232758
  if ($rowIndex === 0) {
232587
- return 'jt-table-col-green';
232759
+ return "jt-table-col-green";
232588
232760
  } else {
232589
- return 'jt-table-col-red';
232761
+ return "jt-table-col-red";
232590
232762
  }
232591
232763
  }
232592
232764
  },
@@ -232608,7 +232780,7 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
232608
232780
  var column = _ref8.column,
232609
232781
  row = _ref8.row;
232610
232782
 
232611
- if (row.isExpand === '1') {
232783
+ if (row.isExpand === "1") {
232612
232784
  return true;
232613
232785
  } else {
232614
232786
  return false;
@@ -232630,21 +232802,21 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
232630
232802
  cellStyle_m: function cellStyle_m(param) {
232631
232803
  var cssObj = {};
232632
232804
 
232633
- if (param.row._rowcss == 'css0') {
232805
+ if (param.row._rowcss == "css0") {
232634
232806
  cssObj = {
232635
- color: '#000'
232807
+ color: "#000"
232636
232808
  };
232637
- } else if (param.row._rowcss == 'css1') {
232809
+ } else if (param.row._rowcss == "css1") {
232638
232810
  cssObj = {
232639
- color: '#1E90FF'
232811
+ color: "#1E90FF"
232640
232812
  };
232641
- } else if (param.row._rowcss == 'css2') {
232813
+ } else if (param.row._rowcss == "css2") {
232642
232814
  cssObj = {
232643
- color: '#FF8C00'
232815
+ color: "#FF8C00"
232644
232816
  };
232645
- } else if (param.row._rowcss == 'css3') {
232817
+ } else if (param.row._rowcss == "css3") {
232646
232818
  cssObj = {
232647
- color: ' #FF0000'
232819
+ color: " #FF0000"
232648
232820
  };
232649
232821
  }
232650
232822
 
@@ -232666,19 +232838,19 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
232666
232838
  var sh = $event.target.scrollHeight;
232667
232839
 
232668
232840
  if (scrollTop + ch >= sh) {
232669
- _this2.$emit('scrollBottom', ++_this2.pageIndex);
232841
+ _this2.$emit("scrollBottom", ++_this2.pageIndex);
232670
232842
  }
232671
232843
  }, 200);
232672
232844
  },
232673
232845
  //checkbox改变事件派发
232674
232846
  selectChangeEvent: function selectChangeEvent(_ref10) {
232675
232847
  var records = _ref10.records;
232676
- this.$emit('checkbox', records);
232848
+ this.$emit("checkbox", records);
232677
232849
  },
232678
232850
  //单选改变事件派发
232679
232851
  radioSelectChangeEvent: function radioSelectChangeEvent(_ref11) {
232680
232852
  var row = _ref11.row;
232681
- this.$emit('radio', row);
232853
+ this.$emit("radio", row);
232682
232854
  },
232683
232855
  //单元格点击事件派发,返回当前行的数据
232684
232856
  cellClickEvent: function cellClickEvent(_ref12) {
@@ -232686,11 +232858,11 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
232686
232858
  column = _ref12.column;
232687
232859
  var treePath = [];
232688
232860
 
232689
- if (this.tableType === 'tree') {
232861
+ if (this.tableType === "tree") {
232690
232862
  var result = xe_utils_default.a.findTree(this.data.DataArray, function (item) {
232691
232863
  return item.pkid === row.pkid;
232692
232864
  }, {
232693
- children: 'children'
232865
+ children: "children"
232694
232866
  });
232695
232867
 
232696
232868
  if (result) {
@@ -232699,9 +232871,9 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
232699
232871
  });
232700
232872
  }
232701
232873
 
232702
- this.$emit('cellClick', row, treePath, column);
232874
+ this.$emit("cellClick", row, treePath, column);
232703
232875
  } else {
232704
- this.$emit('cellClick', row, column);
232876
+ this.$emit("cellClick", row, column);
232705
232877
  }
232706
232878
  },
232707
232879
  //回车事件派发
@@ -232709,10 +232881,8 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
232709
232881
  var $event = _ref13.$event;
232710
232882
 
232711
232883
  if ($event.keyCode === 13) {
232712
- this.$emit('enter', this.getEditData());
232884
+ this.$emit("enter", this.getEditData());
232713
232885
  }
232714
-
232715
- ;
232716
232886
  },
232717
232887
  //获取编辑过的数据
232718
232888
  getEditData: function getEditData() {
@@ -232723,7 +232893,7 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
232723
232893
  },
232724
232894
  //展开行说明文字显示控制
232725
232895
  isExpandText: function isExpandText(row) {
232726
- if (row.isExpand === '1') {
232896
+ if (row.isExpand === "1") {
232727
232897
  return true;
232728
232898
  } else {
232729
232899
  return false;
@@ -232741,7 +232911,8 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
232741
232911
  },
232742
232912
  //操作列点击事件派发
232743
232913
  handlerColClick: function handlerColClick(value, row, rowIndex) {
232744
- this.$emit('handlerClick', value, row, rowIndex);
232914
+ this.$set(row, "activeValue", value);
232915
+ this.$emit("handlerClick", value, row, rowIndex);
232745
232916
  },
232746
232917
  //普通表格转树表(仅支持一层)
232747
232918
  default2tree: function default2tree(data, field) {
@@ -232771,7 +232942,7 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
232771
232942
  if (p1) {
232772
232943
  return true;
232773
232944
  } else {
232774
- if (p2 === '新增') {
232945
+ if (p2 === "新增") {
232775
232946
  return false;
232776
232947
  } else {
232777
232948
  return true;
@@ -232782,16 +232953,16 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
232782
232953
  var row = _ref14.row,
232783
232954
  rowIndex = _ref14.rowIndex;
232784
232955
 
232785
- if ('children' in row) {
232786
- return 'f-col';
232956
+ if ("children" in row) {
232957
+ return "f-col";
232787
232958
  }
232788
232959
  },
232789
232960
  gcellClassName: function gcellClassName(_ref15) {
232790
232961
  var row = _ref15.row,
232791
232962
  column = _ref15.column;
232792
232963
 
232793
- if ('children' in row && column.title == '操作') {
232794
- return 'h-col';
232964
+ if ("children" in row && column.title == "操作") {
232965
+ return "h-col";
232795
232966
  }
232796
232967
  },
232797
232968
  //树表checkbox改变事件派发,过滤有子集的数据
@@ -232801,8 +232972,8 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
232801
232972
  var temp = records.filter(function (item) {
232802
232973
  return !item.children;
232803
232974
  });
232804
- this.$emit('treeCheckbox', temp);
232805
- this.$emit('treeCheckboxAll', [].concat(_toConsumableArray(records), _toConsumableArray(indeterminates)));
232975
+ this.$emit("treeCheckbox", temp);
232976
+ this.$emit("treeCheckboxAll", [].concat(_toConsumableArray(records), _toConsumableArray(indeterminates)));
232806
232977
  },
232807
232978
  //树 非最后一级禁用
232808
232979
  treeRadioMethod: function treeRadioMethod(_ref17) {
@@ -232830,8 +233001,8 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
232830
233001
  var temp = records.filter(function (item) {
232831
233002
  return !item.path;
232832
233003
  });
232833
- this.$emit('treeCheckbox', temp);
232834
- this.$emit('treeCheckboxAll', [].concat(_toConsumableArray(records), _toConsumableArray(indeterminates)));
233004
+ this.$emit("treeCheckbox", temp);
233005
+ this.$emit("treeCheckboxAll", [].concat(_toConsumableArray(records), _toConsumableArray(indeterminates)));
232835
233006
  },
232836
233007
  //树表滚动分页+性能优化
232837
233008
  scroll1: function scroll1(param) {
@@ -232872,46 +233043,89 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
232872
233043
  this.data.DataArray = this.dataTreeObj[idx].concat(this.dataTreeObj[idx + 1]);
232873
233044
  },
232874
233045
  //树 懒加载方法
233046
+ // async loadChildrenMethod({ row }){
233047
+ // const { data } = await this.$axios.post(this.treeTypeConfig.path + row.path);
233048
+ // return new Promise((resolve) => {
233049
+ // if(data[0].Result>0){
233050
+ // resolve(data[0].DataArray)
233051
+ // }else{
233052
+ // const tempObj = {};
233053
+ // data[0].retjson.header.forEach((item,index)=>{
233054
+ // if(index === 0){
233055
+ // tempObj[item.prop] = '无数据'
233056
+ // }else{
233057
+ // tempObj[item.prop] = ''
233058
+ // }
233059
+ // })
233060
+ // resolve([tempObj]);
233061
+ // }
233062
+ // })
233063
+ // },
232875
233064
  loadChildrenMethod: function loadChildrenMethod(_ref20) {
232876
233065
  var _this5 = this;
232877
233066
 
232878
- return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
232879
- var row, _yield$_this5$$axios$, data;
233067
+ var row = _ref20.row;
233068
+ return new Promise( /*#__PURE__*/function () {
233069
+ var _ref21 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(resolve) {
233070
+ var _yield$_this5$$axios$, data, tempObj;
233071
+
233072
+ return regeneratorRuntime.wrap(function _callee$(_context) {
233073
+ while (1) {
233074
+ switch (_context.prev = _context.next) {
233075
+ case 0:
233076
+ if (!(row.activeValue === "stcd_search")) {
233077
+ _context.next = 4;
233078
+ break;
233079
+ }
233080
+
233081
+ resolve(_this5.treeTempData);
233082
+ _context.next = 9;
233083
+ break;
233084
+
233085
+ case 4:
233086
+ _context.next = 6;
233087
+ return _this5.$axios.post(_this5.treeTypeConfig.path + row.path);
233088
+
233089
+ case 6:
233090
+ _yield$_this5$$axios$ = _context.sent;
233091
+ data = _yield$_this5$$axios$.data;
232880
233092
 
232881
- return regeneratorRuntime.wrap(function _callee$(_context) {
232882
- while (1) {
232883
- switch (_context.prev = _context.next) {
232884
- case 0:
232885
- row = _ref20.row;
232886
- _context.next = 3;
232887
- return _this5.$axios.post(_this5.treeTypeConfig.path + row.path);
232888
-
232889
- case 3:
232890
- _yield$_this5$$axios$ = _context.sent;
232891
- data = _yield$_this5$$axios$.data;
232892
- return _context.abrupt("return", new Promise(function (resolve) {
232893
233093
  if (data[0].Result > 0) {
232894
233094
  resolve(data[0].DataArray);
232895
233095
  } else {
232896
- var tempObj = {};
233096
+ tempObj = {};
232897
233097
  data[0].retjson.header.forEach(function (item, index) {
232898
233098
  if (index === 0) {
232899
- tempObj[item.prop] = '无数据';
233099
+ tempObj[item.prop] = "无数据";
232900
233100
  } else {
232901
- tempObj[item.prop] = '';
233101
+ tempObj[item.prop] = "";
232902
233102
  }
232903
233103
  });
232904
233104
  resolve([tempObj]);
232905
233105
  }
232906
- }));
232907
233106
 
232908
- case 6:
232909
- case "end":
232910
- return _context.stop();
233107
+ case 9:
233108
+ case "end":
233109
+ return _context.stop();
233110
+ }
232911
233111
  }
232912
- }
232913
- }, _callee);
232914
- }))();
233112
+ }, _callee);
233113
+ }));
233114
+
233115
+ return function (_x) {
233116
+ return _ref21.apply(this, arguments);
233117
+ };
233118
+ }());
233119
+ },
233120
+ setTreeTempData: function setTreeTempData(data) {
233121
+ var _this6 = this;
233122
+
233123
+ return new Promise(function (resolve) {
233124
+ _this6.treeTempData = data;
233125
+ setTimeout(function () {
233126
+ resolve();
233127
+ }, 0);
233128
+ });
232915
233129
  },
232916
233130
  //表格组件实例
232917
233131
  jtTable: function jtTable() {
@@ -232931,7 +233145,7 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
232931
233145
  var result = xe_utils_default.a.findTree(this.data.DataArray, function (item) {
232932
233146
  return item.pkid === row.pkid;
232933
233147
  }, {
232934
- children: 'children'
233148
+ children: "children"
232935
233149
  });
232936
233150
 
232937
233151
  if (result) {
@@ -232940,17 +233154,17 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
232940
233154
  });
232941
233155
  }
232942
233156
 
232943
- this.$emit('treeTxtClick', row, treePath);
233157
+ this.$emit("treeTxtClick", row, treePath);
232944
233158
  },
232945
233159
  //初始化隐藏列
232946
233160
  hideColumn: function hideColumn(arr) {
232947
- var _this6 = this;
233161
+ var _this7 = this;
232948
233162
 
232949
233163
  this.$nextTick(function () {
232950
233164
  arr.forEach(function (item) {
232951
- var col = _this6.$refs[_this6.id].getColumnByField(item);
233165
+ var col = _this7.$refs[_this7.id].getColumnByField(item);
232952
233166
 
232953
- _this6.$refs[_this6.id].hideColumn(col);
233167
+ _this7.$refs[_this7.id].hideColumn(col);
232954
233168
  });
232955
233169
  });
232956
233170
  },
@@ -232980,7 +233194,7 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
232980
233194
  var matchObj = xe_utils_default.a.findTree(this.data.DataArray, function (item) {
232981
233195
  return item.pkid === id;
232982
233196
  }, {
232983
- children: 'children'
233197
+ children: "children"
232984
233198
  });
232985
233199
 
232986
233200
  if (matchObj) {
@@ -232996,30 +233210,30 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
232996
233210
  var matchObj = xe_utils_default.a.findTree(this.data.DataArray, function (item) {
232997
233211
  return item.pkid == id;
232998
233212
  }, {
232999
- children: 'children'
233213
+ children: "children"
233000
233214
  });
233001
233215
 
233002
233216
  if (matchObj) {
233003
233217
  return {
233004
- key: 'ok',
233218
+ key: "ok",
233005
233219
  data: matchObj.item
233006
233220
  };
233007
233221
  } else {
233008
233222
  return {
233009
- key: 'notFind'
233223
+ key: "notFind"
233010
233224
  };
233011
233225
  }
233012
233226
  },
233013
233227
  //树添加数据方法
233014
233228
  treeAdd: function treeAdd(id, obj) {
233015
- var _this7 = this;
233229
+ var _this8 = this;
233016
233230
 
233017
233231
  var xTree = this.$refs[this.id];
233018
233232
  xTree.createRow(obj).then(function (newRow) {
233019
- var matchObj = xe_utils_default.a.findTree(_this7.data.DataArray, function (item) {
233233
+ var matchObj = xe_utils_default.a.findTree(_this8.data.DataArray, function (item) {
233020
233234
  return item.pkid === id;
233021
233235
  }, {
233022
- children: 'children'
233236
+ children: "children"
233023
233237
  });
233024
233238
 
233025
233239
  if (matchObj) {
@@ -237107,16 +237321,45 @@ index_common_default.a.renderer.add('FilterExcel', {
237107
237321
  return false;
237108
237322
  }
237109
237323
  });
237110
- // 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/tabsBtn.vue?vue&type=template&id=574014c8&scoped=true&
237111
- var tabsBtnvue_type_template_id_574014c8_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-radio-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-radio-button',{key:index,attrs:{"label":item.value}},[_vm._v(_vm._s(item.label))])}),1)],1)}
237112
- var tabsBtnvue_type_template_id_574014c8_scoped_true_staticRenderFns = []
237324
+ // 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/tabsBtn.vue?vue&type=template&id=07d1e8aa&scoped=true&
237325
+ var tabsBtnvue_type_template_id_07d1e8aa_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-radio-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-radio-button',{key:index,attrs:{"label":item.value}},[_vm._v(_vm._s(item.label))])}),1):_c('div',[_vm._v(" "+_vm._s(_vm.rowData)+" ")])],1)}
237326
+ var tabsBtnvue_type_template_id_07d1e8aa_scoped_true_staticRenderFns = []
237327
+
237328
+
237329
+ // CONCATENATED MODULE: ./packages/jt-table/components/tabsBtn.vue?vue&type=template&id=07d1e8aa&scoped=true&
237330
+
237331
+ // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
237332
+
237333
+
237113
237334
 
237114
237335
 
237115
- // CONCATENATED MODULE: ./packages/jt-table/components/tabsBtn.vue?vue&type=template&id=574014c8&scoped=true&
237116
237336
 
237337
+
237338
+
237339
+ function _typeof(obj) {
237340
+ "@babel/helpers - typeof";
237341
+
237342
+ if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
237343
+ _typeof = function _typeof(obj) {
237344
+ return typeof obj;
237345
+ };
237346
+ } else {
237347
+ _typeof = function _typeof(obj) {
237348
+ return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
237349
+ };
237350
+ }
237351
+
237352
+ return _typeof(obj);
237353
+ }
237117
237354
  // 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/tabsBtn.vue?vue&type=script&lang=js&
237118
237355
 
237119
237356
 
237357
+
237358
+ //
237359
+ //
237360
+ //
237361
+ //
237362
+ //
237120
237363
  //
237121
237364
  //
237122
237365
  //
@@ -237129,12 +237372,14 @@ var tabsBtnvue_type_template_id_574014c8_scoped_true_staticRenderFns = []
237129
237372
  //
237130
237373
  //
237131
237374
  /* harmony default export */ var tabsBtnvue_type_script_lang_js_ = ({
237132
- name: 'TabsBtn',
237375
+ name: "TabsBtn",
237133
237376
  data: function data() {
237134
237377
  return {
237135
237378
  radio_value: "",
237136
237379
  fullData: [],
237137
- oldValue: ""
237380
+ oldValue: "",
237381
+ dataType: '',
237382
+ rowData: ''
237138
237383
  };
237139
237384
  },
237140
237385
  props: {
@@ -237149,10 +237394,15 @@ var tabsBtnvue_type_template_id_574014c8_scoped_true_staticRenderFns = []
237149
237394
  row = _this$params.row,
237150
237395
  column = _this$params.column;
237151
237396
 
237152
- if (row && row[column.property] && row[column.property].enum) {
237153
- this.fullData = row[column.property].enum;
237154
- this.radio_value = row[column.property].selected;
237155
- this.oldValue = row[column.property].selected;
237397
+ if (row) {
237398
+ this.rowData = row[column.property];
237399
+ this.dataType = _typeof(this.rowData);
237400
+ }
237401
+
237402
+ if (this.rowData && this.rowData.enum) {
237403
+ this.fullData = this.rowData.enum;
237404
+ this.radio_value = this.rowData.selected;
237405
+ this.oldValue = this.rowData.selected;
237156
237406
  }
237157
237407
  },
237158
237408
  btnsClick: function btnsClick(val) {
@@ -237206,11 +237456,11 @@ var tabsBtnvue_type_template_id_574014c8_scoped_true_staticRenderFns = []
237206
237456
 
237207
237457
  var tabsBtn_component = normalizeComponent(
237208
237458
  components_tabsBtnvue_type_script_lang_js_,
237209
- tabsBtnvue_type_template_id_574014c8_scoped_true_render,
237210
- tabsBtnvue_type_template_id_574014c8_scoped_true_staticRenderFns,
237459
+ tabsBtnvue_type_template_id_07d1e8aa_scoped_true_render,
237460
+ tabsBtnvue_type_template_id_07d1e8aa_scoped_true_staticRenderFns,
237211
237461
  false,
237212
237462
  null,
237213
- "574014c8",
237463
+ "07d1e8aa",
237214
237464
  null
237215
237465
 
237216
237466
  )