sone-ui-component-3.2.4 2.1.34 → 2.1.35

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.
@@ -28093,12 +28093,12 @@ dialog_src_main.install = function(Vue) {
28093
28093
 
28094
28094
  /* harmony default export */ var dialog = (dialog_src_main);
28095
28095
 
28096
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"de981356-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/table/src/mainNew.vue?vue&type=template&id=eb5a4c5a&
28097
- var mainNewvue_type_template_id_eb5a4c5a_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"sone_table_box"},[(_vm.showMenuLeft)?_c('div',{staticClass:"table-menu-left"},[_vm._t("menuLeft")],2):_vm._e(),(_vm.showMenuRight)?_c('div',{staticClass:"table-menu-right"},[_vm._t("menuRight"),(_vm.showColumnHandleBtn)?_c('el-dropdown',{attrs:{"hide-on-click":false},on:{"visible-change":_vm.onColumnVisibleMenu}},[_c('icon-button',{staticClass:"sort-btn",attrs:{"iconfont":false,"tooltipDisabled":_vm.tooltipDisabled,"content":"列展示","icon":"el-icon-s-operation"}}),_c('column-transfer',{ref:"column-transfer",attrs:{"columns":_vm.internalColumns},on:{"update:columns":function($event){_vm.internalColumns=$event},"save":_vm.save,"dropdownList":_vm.dropdownList,"handleCheckedColumnChange":_vm.handleCheckedColumnChange,"selectFixed":_vm.selectFixed,"resetColumnTransfer":function($event){return _vm.$emit('resetColumnTransfer')}}})],1):_vm._e(),_vm._t("transferRight")],2):_vm._e(),(_vm.isTable)?_c('el-table',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.loading),expression:"loading"}],ref:_vm.tabelRef,class:'sone-table ' + _vm.className,staticStyle:{"width":"100%"},attrs:{"cell-class-name":_vm.option.cellClassName,"cell-style":_vm.option.cellStyle,"data":_vm.tableData,"header-cell-class-name":_vm.option.headerCellClassName,"header-cell-style":_vm.option.headerCellStyle,"header-row-class-name":_vm.option.headerRowClassName,"header-row-style":_vm.option.headerRowStyle,"height":_vm.option.height,"highlight-current-row":_vm.option.highlightRow,"max-height":_vm.option.maxHeight,"default-expand-all":_vm.option.defaultExpandAll,"expand-row-keys":_vm.option.expandRowKeys,"row-class-name":_vm.tableRowClassName,"row-key":_vm.option.rowKey,"row-style":_vm.option.rowStyle,"show-summary":_vm.option.showSummary,"render-header":_vm.option.renderHeader,"span-method":_vm.spanMethod,"show-header":_vm.showHeader,"stripe":_vm.stripe,"border":_vm.border,"sum-text":_vm.option.sumText,"summary-method":_vm.summaryMethod,"lazy":_vm.lazy,"load":_vm.load},on:{"cell-mouse-enter":_vm.cellMouseEnter,"cell-mouse-leave":_vm.cellMouseLeave,"filter-change":_vm.filterChange,"header-click":_vm.headerClick,"header-contextmenu":_vm.headerContextmenu,"row-click":_vm.rowClick,"row-contextmenu":_vm.rowContextmenu,"row-dblclick":_vm.rowDblclick,"header-dragend":_vm.onHeaderDragend,"expand-change":_vm.expandChange}},[(_vm.operation)?_c('el-table-column',{attrs:{"width":_vm.operation.width,"fixed":"","label":_vm.operation.label ? _vm.operation.label : '操作',"type":"index","resizable":_vm.operation.hasOwnProperty('resizable') ? _vm.operation.resizable : true},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [(!_vm.hideButtonMode)?[(scope.row.buttonShow&&scope.row.buttonShow.filter(function (d){ return d.isShow; }).length<=3)?_c('div',{staticClass:"sone-table-buttonList"},[_vm._l((_vm.operation.buttonList),function(item,index){return [_c('el-tooltip',{directives:[{name:"show",rawName:"v-show",value:(scope.row.buttonShow.find(function (i){ return i.id===item.id; }).isShow),expression:"scope.row.buttonShow.find(i=>i.id===item.id).isShow"}],key:index,attrs:{"content":item.label,"effect":"light","placement":"top"}},[_c('el-button',{style:({color:item.color}),attrs:{"icon":item.icon,"disabled":scope.row.buttonShow.find(function (i){ return i.id===item.id; }).isDisabled || false,"circle":"","type":"text"},nativeOn:{"click":function($event){$event.stopPropagation();return _vm.handButton(item.function, scope, item.id)}}})],1)]})],2):_vm._e(),(scope.row.buttonShow&&scope.row.buttonShow.filter(function (d){ return d.isShow; }).length>3)?_c('div',{staticClass:"sone-table-buttonList"},[_vm._l((scope.row.buttonShow.filter(function (d){ return d.isShow; }).slice(0,2)),function(item,index){return [_c('el-tooltip',{key:index,attrs:{"content":_vm.operation.buttonList.find(function (d){ return d.id===item.id; }).label,"effect":"light","placement":"top"}},[_c('el-button',{style:({color:_vm.operation.buttonList.find(function (d){ return d.id===item.id; }).color}),attrs:{"icon":_vm.operation.buttonList.find(function (d){ return d.id===item.id; }).icon,"disabled":item.hasOwnProperty('isDisabled') ? item.isDisabled : false,"circle":"","type":"text"},nativeOn:{"click":function($event){$event.stopPropagation();_vm.handButton(_vm.operation.buttonList.find(function (d){ return d.id===item.id; }).function, scope, item.id)}}})],1)]}),_c('el-dropdown',{staticClass:"dropdown_box_button"},[_c('span',{staticClass:"el-dropdown-link color-span menu-more"},[_c('el-button',{attrs:{"type":"text"}},[_c('i',{staticClass:"el-icon-more more-handel",style:({color:_vm.operation.moreIconColor})})])],1),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},_vm._l((scope.row.buttonShow.filter(function (d){ return d.isShow; }).slice(2,scope.row.buttonShow.filter(function (d){ return d.isShow; }).length)),function(item,i){return _c('el-dropdown-item',{key:i,staticClass:"sone-table-dropdown",attrs:{"command":"copy"}},[_c('el-button',{style:({color:_vm.operation.buttonList.find(function (d){ return d.id===item.id; }).color}),attrs:{"icon":_vm.operation.buttonList.find(function (d){ return d.id===item.id; }).icon,"disabled":item.hasOwnProperty('isDisabled') ? item.isDisabled : false,"title":_vm.operation.buttonList.find(function (d){ return d.id===item.id; }).label,"type":"text"},nativeOn:{"click":function($event){$event.stopPropagation();_vm.handButton(_vm.operation.buttonList.find(function (d){ return d.id===item.id; }).function, scope, item.id)}}},[_vm._v(" "+_vm._s(_vm.operation.buttonList.find(function (d){ return d.id===item.id; }).label)+" ")])],1)}),1)],1)],2):_vm._e(),(!scope.row.buttonShow&&_vm.operation.buttonList.length<=3)?_c('div',{staticClass:"sone-table-buttonList"},[_vm._l((_vm.operation.buttonList),function(item,index){return [_c('el-tooltip',{key:index,attrs:{"content":item.label,"effect":"light","placement":"top"}},[_c('el-button',{style:({color:item.color}),attrs:{"icon":item.icon,"circle":"","type":"text"},nativeOn:{"click":function($event){$event.stopPropagation();return _vm.handButton(item.function,scope, item.id)}}})],1)]})],2):_vm._e(),(!scope.row.buttonShow&&_vm.operation.buttonList.length>3)?_c('div',{staticClass:"sone-table-buttonList"},[_vm._l((_vm.operation.buttonList.slice(0,2)),function(item,index){return [_c('el-tooltip',{key:index,attrs:{"content":item.label,"effect":"light","placement":"top"}},[_c('el-button',{style:({color:item.color}),attrs:{"icon":item.icon,"circle":"","type":"text"},nativeOn:{"click":function($event){$event.stopPropagation();return _vm.handButton(item.function, scope, item.id)}}})],1)]}),_c('el-dropdown',{staticClass:"dropdown_box_button",on:{"command":function($event){$event.stopPropagation();return (function (command){_vm.handleCommand(command,_vm.row)}).apply(null, arguments)}}},[_c('span',{staticClass:"el-dropdown-link color-span menu-more"},[_c('el-button',{attrs:{"type":"text"}},[_c('i',{staticClass:"el-icon-more more-handel",style:({color:_vm.operation.moreIconColor})})])],1),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},_vm._l((_vm.operation.buttonList.slice(2,_vm.operation.buttonList.length)),function(item,i){return _c('el-dropdown-item',{key:i,staticClass:"sone-table-dropdown",attrs:{"command":"copy"}},[_c('el-button',{style:({color:item.color}),attrs:{"icon":item.icon,"title":_vm.operation.buttonList.find(function (d){ return d.id===item.id; }).label,"type":"text"},nativeOn:{"click":function($event){$event.stopPropagation();_vm.handButton(_vm.operation.buttonList.find(function (d){ return d.id===item.id; }).function, scope, item.id)}}},[_vm._v(" "+_vm._s(item.label)+" ")])],1)}),1)],1)],2):_vm._e()]:[(scope.row.buttonShow)?_c('el-dropdown',{staticClass:"dropdown_box_button sone-table-buttonList"},[_c('span',{directives:[{name:"show",rawName:"v-show",value:(scope.row.buttonShow.filter(function (d){ return d.isShow; }).length > 0),expression:"scope.row.buttonShow.filter(d=>d.isShow).length > 0"}],staticClass:"el-dropdown-link color-span menu-more"},[_c('el-button',{attrs:{"type":"text"}},[_c('i',{staticClass:"el-icon-more more-handel",style:({color:_vm.operation.moreIconColor})})])],1),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},_vm._l((scope.row.buttonShow.filter(function (d){ return d.isShow; })),function(item,i){return _c('el-dropdown-item',{key:i,staticClass:"sone-table-dropdown",attrs:{"command":"copy"}},[_c('el-button',{style:({color:_vm.operation.buttonList.find(function (d){ return d.id===item.id; }).color}),attrs:{"icon":_vm.operation.buttonList.find(function (d){ return d.id===item.id; }).icon,"disabled":item.hasOwnProperty('isDisabled') ? item.isDisabled : false,"type":"text","title":_vm.operation.buttonList.find(function (d){ return d.id === item.id; }).label},nativeOn:{"click":function($event){$event.stopPropagation();_vm.handButton(_vm.operation.buttonList.find(function (d){ return d.id===item.id; }).function, scope, item.id)}}},[_vm._v(" "+_vm._s(_vm.operation.buttonList.find(function (d){ return d.id===item.id; }).label)+" ")])],1)}),1)],1):_c('el-dropdown',{staticClass:"dropdown_box_button sone-table-buttonList",on:{"command":function($event){$event.stopPropagation();return (function (command){_vm.handleCommand(command,_vm.row)}).apply(null, arguments)}}},[_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.operation.buttonList.length > 0),expression:"operation.buttonList.length > 0"}],staticClass:"el-dropdown-link color-span menu-more"},[_c('el-button',{attrs:{"type":"text"}},[_c('i',{staticClass:"el-icon-more more-handel",style:({color:_vm.operation.moreIconColor})})])],1),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},_vm._l((_vm.operation.buttonList),function(item,i){return _c('el-dropdown-item',{key:i,staticClass:"sone-table-dropdown",attrs:{"command":"copy"}},[_c('el-button',{style:({color:item.color}),attrs:{"icon":item.icon,"title":item.label,"type":"text"},nativeOn:{"click":function($event){$event.stopPropagation();return _vm.handButton(item.function, scope, item.id)}}},[_vm._v(" "+_vm._s(item.label)+" ")])],1)}),1)],1)]]}}],null,false,2245244563)}):_vm._e(),(_vm.option.index)?_c('el-table-column',{attrs:{"width":_vm.option.indexWidth||70,"fixed":"","label":_vm.option.indexLabel ? _vm.option.indexLabel : '序号',"type":"index","index":_vm.indexMethod,"resizable":_vm.option.hasOwnProperty('indexResizable') ? _vm.option.indexResizable : true}}):(_vm.option.indexRadio)?_c('el-table-column',{attrs:{"width":_vm.option.indexRadioWidth||70,"fixed":"","label":_vm.option.indexLabel ? _vm.option.indexLabel : '序号',"type":"index","resizable":_vm.option.hasOwnProperty('indexResizable') ? _vm.option.indexResizable : true},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('div',{staticClass:"index-check-box"},[_c('el-radio',{staticClass:"table-checked",class:{ 'in-block': _vm.radioRow && _vm.radioRow === scope.row[_vm.option.rowKey] },attrs:{"label":scope.row[_vm.option.rowKey]},on:{"change":function($event){return _vm.handleRadioChange(scope.row, scope.$index)}},model:{value:(scope.row[_vm.option.rowKey]),callback:function ($$v) {_vm.$set(scope.row, _vm.option.rowKey, $$v)},expression:"scope.row[option.rowKey]"}}),(_vm.page)?_c('span',{directives:[{name:"show",rawName:"v-show",value:(!_vm.radioRow || _vm.radioRow !== scope.row[_vm.option.rowKey]),expression:"!radioRow || radioRow !== scope.row[option.rowKey]"}],staticClass:"table-index"},[_vm._v(_vm._s(_vm.indexMethod ? _vm.indexMethod(scope.$index) : (_vm.page.current - 1) * _vm.page.size + scope.$index + 1))]):_c('span',{directives:[{name:"show",rawName:"v-show",value:(!_vm.radioRow || _vm.radioRow !== scope.row[_vm.option.rowKey]),expression:"!radioRow || radioRow !== scope.row[option.rowKey]"}],staticClass:"table-index"},[_vm._v(_vm._s((_vm.indexMethod ? _vm.indexMethod(scope.$index) : scope.$index + 1)))])],1)]}}],null,false,420954598)}):(_vm.option.indexCheck)?_c('el-table-column',{attrs:{"width":_vm.option.indexCheckWidth||70,"fixed":"","label":_vm.option.indexLabel ? _vm.option.indexLabel : '序号',"type":"index","resizable":_vm.option.hasOwnProperty('indexResizable') ? _vm.option.indexResizable : true},scopedSlots:_vm._u([{key:"header",fn:function(ref){return [_c('div',{staticClass:"index-check-box",on:{"click":function($event){$event.stopPropagation();}}},[_c('span',{directives:[{name:"show",rawName:"v-show",value:(!_vm.checkList || _vm.checkList.length < 1),expression:"!checkList || checkList.length < 1"}],staticClass:"table-index"},[_vm._v(_vm._s(_vm.option.indexLabel ? _vm.option.indexLabel : '序号'))]),_c('label',{staticClass:"el-checkbox table-checked",class:{ 'is-checked': _vm.checkAll, 'in-block': _vm.checkList && _vm.checkList.length > 0 }},[_c('span',{staticClass:"el-checkbox__input",class:{ 'is-checked': _vm.checkAll, 'is-indeterminate': _vm.checkIndeterminate }},[_c('span',{staticClass:"el-checkbox__inner",on:{"click":function($event){$event.stopPropagation();return _vm.handleCheckAllChange(!_vm.checkAll)}}})])])])]}},{key:"default",fn:function(scope){return [_c('div',{staticClass:"index-check-box",on:{"click":function($event){$event.stopPropagation();}}},[_c('label',{staticClass:"el-checkbox table-checked",class:{ 'is-checked': scope.row.checked, 'in-block': scope.row.checked }},[_c('span',{staticClass:"el-checkbox__input",class:{ 'is-checked': scope.row.checked, 'is-indeterminate': scope.row.indeterminate }},[_c('span',{staticClass:"el-checkbox__inner",on:{"click":function($event){$event.stopPropagation();return _vm.handleCheckedChange(scope.row.checked, scope.row, scope.$index)}}})])]),(_vm.page)?_c('span',{directives:[{name:"show",rawName:"v-show",value:(!scope.row.checked),expression:"!scope.row.checked"}],staticClass:"table-index"},[_vm._v(_vm._s(_vm.indexMethod ? _vm.indexMethod(scope.$index) : (_vm.page.current - 1) * _vm.page.size + scope.$index + 1))]):_c('span',{directives:[{name:"show",rawName:"v-show",value:(!scope.row.checked),expression:"!scope.row.checked"}],staticClass:"table-index"},[_vm._v(_vm._s((_vm.indexMethod ? _vm.indexMethod(scope.$index) : scope.$index + 1)))])])]}}],null,false,993569738)}):_vm._e(),_vm._l((_vm.internalColumns),function(column,index){return [(column.slot && column.istrue)?_vm._t(column.slot):(column.hasOwnProperty('istrue')?column.istrue:true)?_c('el-table-column',{key:("col_" + (column.prop) + "_" + (column.label)),attrs:{"filter-method":column.filters ? _vm.filterHandler : null,"filters":column.filters,"fixed":column.fixed,"label":column.label,"min-width":column.minWidth,"prop":column.prop,"width":column.width,"align":column.hasOwnProperty('align') ? column.align : 'left',"show-overflow-tooltip":false,"filter-placement":"bottom-end","header-align":column.hasOwnProperty('headerAlign') ? column.headerAlign : 'left',"column-key":column.hasOwnProperty('elementId')? column.elementId:column.prop,"resizable":column.hasOwnProperty('resizable') ? column.resizable : true},scopedSlots:_vm._u([{key:"header",fn:function(scope){return [(column.slotColumnHeader && _vm.isShow)?_vm._t(column.slotColumnHeader,null,{"header":{column: scope.column, $index:scope.$index }}):_vm._e(),(!column.slotColumnHeader && _vm.isShow)?[_c('div',{staticClass:"slot_header_class"},[(column.isRequire)?_c('span',{staticClass:"table-header-isRequire"},[_vm._v("*")]):_vm._e(),_c('span',[_vm._v(_vm._s(column.label))]),_c('span',{staticClass:"hide"},[(column.headerDescribe)?_c('i',{staticClass:"iconfont icon-help icon_describe",attrs:{"title":column.headerDescribe}}):_vm._e(),(column.headerFilterSort)?_c('span',{staticClass:"caret-wrapper",class:{ 'ascending': _vm.sortVal === column.prop + 'ascending', 'descending': _vm.sortVal === column.prop + 'descending' }},[_c('i',{staticClass:"sort-caret ascending",attrs:{"title":"升序"},on:{"click":function($event){return _vm.handleCommand(column.prop, index, { command: 'ascending' })}}}),_c('i',{staticClass:"sort-caret descending",attrs:{"title":"降序"},on:{"click":function($event){return _vm.handleCommand(column.prop, index, { command: 'descending' })}}})]):_vm._e()])])]:_vm._e()]}},{key:"default",fn:function(scope){return [(column.slotCell)?_vm._t(column.slotCell,null,{"index":scope.$index,"row":scope.row}):[_c('el-tooltip',{attrs:{"content":scope.row[column.prop],"placement":"top","effect":"light","popper-class":"over_popper"}},[_c('span',{staticClass:"over_title"},[_vm._v(_vm._s(scope.row[column.prop]))])])]]}}],null,true)},[(_vm.isMultipleHeader)?[_vm._l((column.children),function(childColumn,childIdx){return [(childColumn.hasOwnProperty('istrue')?childColumn.istrue:true)?_c('el-table-column',{key:("col_" + index + "_" + childIdx),attrs:{"filter-method":childColumn.filters ? _vm.filterHandler : null,"filters":childColumn.filters,"fixed":childColumn.fixed,"label":childColumn.label,"min-width":childColumn.minWidth,"prop":childColumn.prop,"width":childColumn.width,"show-overflow-tooltip":false,"align":childColumn.hasOwnProperty('align') ? childColumn.align : 'left',"filter-placement":"bottom-end","header-align":childColumn.hasOwnProperty('headerAlign') ? childColumn.headerAlign : 'left',"column-key":childColumn.prop,"resizable":childColumn.hasOwnProperty('resizable') ? childColumn.resizable : true},scopedSlots:_vm._u([{key:"header",fn:function(scope){return [(childColumn.slotColumnHeader && _vm.isShow)?_vm._t(childColumn.slotColumnHeader,null,{"header":scope}):_vm._e(),(!childColumn.slotColumnHeader && _vm.isShow)?[_c('div',{staticClass:"slot_header_class"},[(childColumn.isRequire)?_c('span',{staticClass:"table-header-isRequire"},[_vm._v("*")]):_vm._e(),_c('span',[_vm._v(_vm._s(childColumn.label))]),_c('span',{staticClass:"hide"},[(childColumn.headerDescribe)?_c('i',{staticClass:"iconfont icon-help icon_describe",attrs:{"title":childColumn.headerDescribe}}):_vm._e(),(childColumn.headerFilterSort)?_c('span',{staticClass:"caret-wrapper",class:{ 'ascending': _vm.sortVal === childColumn.prop + 'ascending', 'descending': _vm.sortVal === childColumn.prop + 'descending' }},[_c('i',{staticClass:"sort-caret ascending",attrs:{"title":"升序"},on:{"click":function($event){return _vm.handleCommand(childColumn.prop, childIdx, { command: 'ascending' })}}}),_c('i',{staticClass:"sort-caret descending",attrs:{"title":"降序"},on:{"click":function($event){return _vm.handleCommand(childColumn.prop, childIdx, { command: 'descending' })}}})]):_vm._e()])])]:_vm._e()]}},{key:"default",fn:function(scope){return [(childColumn.slotCell)?_vm._t(childColumn.slotCell,null,{"index":scope.$index,"row":scope.row}):[_c('el-tooltip',{attrs:{"content":scope.row[childColumn.prop],"placement":"top","effect":"light","popper-class":"over_popper"}},[_c('span',{staticClass:"over_title"},[_vm._v(_vm._s(scope.row[childColumn.prop]))])])]]}}],null,true)}):_vm._e()]})]:_vm._e()],2):_vm._e()]})],2):_vm._e(),(_vm.page && _vm.page.total > 0)?_c('div',{staticClass:"pagination-box"},[_c('el-pagination',{attrs:{"current-page":_vm.page.current,"layout":_vm.page.layout ? _vm.page.layout : 'total, sizes, prev, pager, next, jumper',"page-size":_vm.page.size,"page-sizes":_vm.page.pageSizes,"total":_vm.page.total,"page-count":_vm.page.pageCount,"pager-count":_vm.page.pagerCount,"background":""},on:{"current-change":_vm.currentChange,"size-change":_vm.sizeChange}})],1):_vm._e()],1)}
28098
- var mainNewvue_type_template_id_eb5a4c5a_staticRenderFns = []
28096
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"de981356-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/table/src/mainNew.vue?vue&type=template&id=795cb1e4&
28097
+ var mainNewvue_type_template_id_795cb1e4_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"sone_table_box"},[(_vm.showMenuLeft)?_c('div',{staticClass:"table-menu-left"},[_vm._t("menuLeft")],2):_vm._e(),(_vm.showMenuRight)?_c('div',{staticClass:"table-menu-right"},[_vm._t("menuRight"),(_vm.showColumnHandleBtn)?_c('el-dropdown',{attrs:{"hide-on-click":false},on:{"visible-change":_vm.onColumnVisibleMenu}},[_c('icon-button',{staticClass:"sort-btn",attrs:{"iconfont":false,"tooltipDisabled":_vm.tooltipDisabled,"content":"列展示","icon":"el-icon-s-operation"}}),_c('column-transfer',{ref:"column-transfer",attrs:{"columns":_vm.internalColumns},on:{"update:columns":function($event){_vm.internalColumns=$event},"save":_vm.save,"dropdownList":_vm.dropdownList,"handleCheckedColumnChange":_vm.handleCheckedColumnChange,"selectFixed":_vm.selectFixed,"resetColumnTransfer":function($event){return _vm.$emit('resetColumnTransfer')}}})],1):_vm._e(),_vm._t("transferRight")],2):_vm._e(),(_vm.isTable)?_c('el-table',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.loading),expression:"loading"}],ref:_vm.tabelRef,class:'sone-table ' + _vm.className,staticStyle:{"width":"100%"},attrs:{"cell-class-name":_vm.option.cellClassName,"cell-style":_vm.option.cellStyle,"data":_vm.tableData,"header-cell-class-name":_vm.option.headerCellClassName,"header-cell-style":_vm.option.headerCellStyle,"header-row-class-name":_vm.option.headerRowClassName,"header-row-style":_vm.option.headerRowStyle,"height":_vm.option.height,"highlight-current-row":_vm.option.highlightRow,"max-height":_vm.option.maxHeight,"default-expand-all":_vm.option.defaultExpandAll,"expand-row-keys":_vm.option.expandRowKeys,"row-class-name":_vm.tableRowClassName,"row-key":_vm.option.rowKey,"row-style":_vm.option.rowStyle,"show-summary":_vm.option.showSummary,"render-header":_vm.option.renderHeader,"span-method":_vm.spanMethod,"show-header":_vm.showHeader,"stripe":_vm.stripe,"border":_vm.border,"sum-text":_vm.option.sumText,"summary-method":_vm.summaryMethod,"lazy":_vm.lazy,"load":_vm.load},on:{"cell-mouse-enter":_vm.cellMouseEnter,"cell-mouse-leave":_vm.cellMouseLeave,"filter-change":_vm.filterChange,"header-click":_vm.headerClick,"header-contextmenu":_vm.headerContextmenu,"row-click":_vm.rowClick,"row-contextmenu":_vm.rowContextmenu,"row-dblclick":_vm.rowDblclick,"header-dragend":_vm.onHeaderDragend,"expand-change":_vm.expandChange}},[(_vm.operation)?_c('el-table-column',{attrs:{"width":_vm.operation.width,"fixed":"","label":_vm.operation.label ? _vm.operation.label : '操作',"type":"index","resizable":_vm.operation.hasOwnProperty('resizable') ? _vm.operation.resizable : true},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [(!_vm.hideButtonMode)?[(scope.row.buttonShow&&scope.row.buttonShow.filter(function (d){ return d.isShow; }).length<=3)?_c('div',{staticClass:"sone-table-buttonList"},[_vm._l((_vm.operation.buttonList),function(item,index){return [_c('el-tooltip',{directives:[{name:"show",rawName:"v-show",value:(scope.row.buttonShow.find(function (i){ return i.id===item.id; }).isShow),expression:"scope.row.buttonShow.find(i=>i.id===item.id).isShow"}],key:index,attrs:{"content":item.label,"effect":"light","placement":"top"}},[_c('el-button',{style:({color:item.color}),attrs:{"icon":item.icon,"disabled":scope.row.buttonShow.find(function (i){ return i.id===item.id; }).isDisabled || false,"circle":"","type":"text"},nativeOn:{"click":function($event){$event.stopPropagation();return _vm.handButton(item.function, scope, item.id)}}})],1)]})],2):_vm._e(),(scope.row.buttonShow&&scope.row.buttonShow.filter(function (d){ return d.isShow; }).length>3)?_c('div',{staticClass:"sone-table-buttonList"},[_vm._l((scope.row.buttonShow.filter(function (d){ return d.isShow; }).slice(0,2)),function(item,index){return [_c('el-tooltip',{key:index,attrs:{"content":_vm.operation.buttonList.find(function (d){ return d.id===item.id; }).label,"effect":"light","placement":"top"}},[_c('el-button',{style:({color:_vm.operation.buttonList.find(function (d){ return d.id===item.id; }).color}),attrs:{"icon":_vm.operation.buttonList.find(function (d){ return d.id===item.id; }).icon,"disabled":item.hasOwnProperty('isDisabled') ? item.isDisabled : false,"circle":"","type":"text"},nativeOn:{"click":function($event){$event.stopPropagation();_vm.handButton(_vm.operation.buttonList.find(function (d){ return d.id===item.id; }).function, scope, item.id)}}})],1)]}),_c('el-dropdown',{staticClass:"dropdown_box_button"},[_c('span',{staticClass:"el-dropdown-link color-span menu-more"},[_c('el-button',{attrs:{"type":"text"}},[_c('i',{staticClass:"el-icon-more more-handel",style:({color:_vm.operation.moreIconColor})})])],1),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},_vm._l((scope.row.buttonShow.filter(function (d){ return d.isShow; }).slice(2,scope.row.buttonShow.filter(function (d){ return d.isShow; }).length)),function(item,i){return _c('el-dropdown-item',{key:i,staticClass:"sone-table-dropdown",attrs:{"command":"copy"}},[_c('el-button',{style:({color:_vm.operation.buttonList.find(function (d){ return d.id===item.id; }).color}),attrs:{"icon":_vm.operation.buttonList.find(function (d){ return d.id===item.id; }).icon,"disabled":item.hasOwnProperty('isDisabled') ? item.isDisabled : false,"title":_vm.operation.buttonList.find(function (d){ return d.id===item.id; }).label,"type":"text"},nativeOn:{"click":function($event){$event.stopPropagation();_vm.handButton(_vm.operation.buttonList.find(function (d){ return d.id===item.id; }).function, scope, item.id)}}},[_vm._v(" "+_vm._s(_vm.operation.buttonList.find(function (d){ return d.id===item.id; }).label)+" ")])],1)}),1)],1)],2):_vm._e(),(!scope.row.buttonShow&&_vm.operation.buttonList.length<=3)?_c('div',{staticClass:"sone-table-buttonList"},[_vm._l((_vm.operation.buttonList),function(item,index){return [_c('el-tooltip',{key:index,attrs:{"content":item.label,"effect":"light","placement":"top"}},[_c('el-button',{style:({color:item.color}),attrs:{"icon":item.icon,"circle":"","type":"text"},nativeOn:{"click":function($event){$event.stopPropagation();return _vm.handButton(item.function,scope, item.id)}}})],1)]})],2):_vm._e(),(!scope.row.buttonShow&&_vm.operation.buttonList.length>3)?_c('div',{staticClass:"sone-table-buttonList"},[_vm._l((_vm.operation.buttonList.slice(0,2)),function(item,index){return [_c('el-tooltip',{key:index,attrs:{"content":item.label,"effect":"light","placement":"top"}},[_c('el-button',{style:({color:item.color}),attrs:{"icon":item.icon,"circle":"","type":"text"},nativeOn:{"click":function($event){$event.stopPropagation();return _vm.handButton(item.function, scope, item.id)}}})],1)]}),_c('el-dropdown',{staticClass:"dropdown_box_button",on:{"command":function($event){$event.stopPropagation();return (function (command){_vm.handleCommand(command,_vm.row)}).apply(null, arguments)}}},[_c('span',{staticClass:"el-dropdown-link color-span menu-more"},[_c('el-button',{attrs:{"type":"text"}},[_c('i',{staticClass:"el-icon-more more-handel",style:({color:_vm.operation.moreIconColor})})])],1),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},_vm._l((_vm.operation.buttonList.slice(2,_vm.operation.buttonList.length)),function(item,i){return _c('el-dropdown-item',{key:i,staticClass:"sone-table-dropdown",attrs:{"command":"copy"}},[_c('el-button',{style:({color:item.color}),attrs:{"icon":item.icon,"title":_vm.operation.buttonList.find(function (d){ return d.id===item.id; }).label,"type":"text"},nativeOn:{"click":function($event){$event.stopPropagation();_vm.handButton(_vm.operation.buttonList.find(function (d){ return d.id===item.id; }).function, scope, item.id)}}},[_vm._v(" "+_vm._s(item.label)+" ")])],1)}),1)],1)],2):_vm._e()]:[(scope.row.buttonShow)?_c('el-dropdown',{staticClass:"dropdown_box_button sone-table-buttonList"},[_c('span',{directives:[{name:"show",rawName:"v-show",value:(scope.row.buttonShow.filter(function (d){ return d.isShow; }).length > 0),expression:"scope.row.buttonShow.filter(d=>d.isShow).length > 0"}],staticClass:"el-dropdown-link color-span menu-more"},[_c('el-button',{attrs:{"type":"text"}},[_c('i',{staticClass:"el-icon-more more-handel",style:({color:_vm.operation.moreIconColor})})])],1),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},_vm._l((scope.row.buttonShow.filter(function (d){ return d.isShow; })),function(item,i){return _c('el-dropdown-item',{key:i,staticClass:"sone-table-dropdown",attrs:{"command":"copy"}},[_c('el-button',{style:({color:_vm.operation.buttonList.find(function (d){ return d.id===item.id; }).color}),attrs:{"icon":_vm.operation.buttonList.find(function (d){ return d.id===item.id; }).icon,"disabled":item.hasOwnProperty('isDisabled') ? item.isDisabled : false,"type":"text","title":_vm.operation.buttonList.find(function (d){ return d.id === item.id; }).label},nativeOn:{"click":function($event){$event.stopPropagation();_vm.handButton(_vm.operation.buttonList.find(function (d){ return d.id===item.id; }).function, scope, item.id)}}},[_vm._v(" "+_vm._s(_vm.operation.buttonList.find(function (d){ return d.id===item.id; }).label)+" ")])],1)}),1)],1):_c('el-dropdown',{staticClass:"dropdown_box_button sone-table-buttonList",on:{"command":function($event){$event.stopPropagation();return (function (command){_vm.handleCommand(command,_vm.row)}).apply(null, arguments)}}},[_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.operation.buttonList.length > 0),expression:"operation.buttonList.length > 0"}],staticClass:"el-dropdown-link color-span menu-more"},[_c('el-button',{attrs:{"type":"text"}},[_c('i',{staticClass:"el-icon-more more-handel",style:({color:_vm.operation.moreIconColor})})])],1),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},_vm._l((_vm.operation.buttonList),function(item,i){return _c('el-dropdown-item',{key:i,staticClass:"sone-table-dropdown",attrs:{"command":"copy"}},[_c('el-button',{style:({color:item.color}),attrs:{"icon":item.icon,"title":item.label,"type":"text"},nativeOn:{"click":function($event){$event.stopPropagation();return _vm.handButton(item.function, scope, item.id)}}},[_vm._v(" "+_vm._s(item.label)+" ")])],1)}),1)],1)]]}}],null,false,2245244563)}):_vm._e(),(_vm.option.index)?_c('el-table-column',{attrs:{"width":_vm.option.indexWidth||70,"fixed":"","label":_vm.option.indexLabel ? _vm.option.indexLabel : '序号',"type":"index","index":_vm.indexMethod,"resizable":_vm.option.hasOwnProperty('indexResizable') ? _vm.option.indexResizable : true}}):(_vm.option.indexRadio)?_c('el-table-column',{attrs:{"width":_vm.option.indexRadioWidth||70,"fixed":"","label":_vm.option.indexLabel ? _vm.option.indexLabel : '序号',"type":"index","resizable":_vm.option.hasOwnProperty('indexResizable') ? _vm.option.indexResizable : true},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('div',{staticClass:"index-check-box"},[_c('el-radio',{staticClass:"table-checked",class:{ 'in-block': _vm.radioRow && _vm.radioRow === scope.row[_vm.option.rowKey] },attrs:{"label":scope.row[_vm.option.rowKey]},on:{"change":function($event){return _vm.handleRadioChange(scope.row, scope.$index)}},model:{value:(scope.row[_vm.option.rowKey]),callback:function ($$v) {_vm.$set(scope.row, _vm.option.rowKey, $$v)},expression:"scope.row[option.rowKey]"}}),(_vm.page)?_c('span',{directives:[{name:"show",rawName:"v-show",value:(!_vm.radioRow || _vm.radioRow !== scope.row[_vm.option.rowKey]),expression:"!radioRow || radioRow !== scope.row[option.rowKey]"}],staticClass:"table-index"},[_vm._v(_vm._s(_vm.indexMethod ? _vm.indexMethod(scope.$index) : (_vm.page.current - 1) * _vm.page.size + scope.$index + 1))]):_c('span',{directives:[{name:"show",rawName:"v-show",value:(!_vm.radioRow || _vm.radioRow !== scope.row[_vm.option.rowKey]),expression:"!radioRow || radioRow !== scope.row[option.rowKey]"}],staticClass:"table-index"},[_vm._v(_vm._s((_vm.indexMethod ? _vm.indexMethod(scope.$index) : scope.$index + 1)))])],1)]}}],null,false,420954598)}):(_vm.option.indexCheck)?_c('el-table-column',{attrs:{"width":_vm.option.indexCheckWidth||70,"fixed":"","label":_vm.option.indexLabel ? _vm.option.indexLabel : '序号',"type":"index","resizable":_vm.option.hasOwnProperty('indexResizable') ? _vm.option.indexResizable : true},scopedSlots:_vm._u([{key:"header",fn:function(ref){return [_c('div',{staticClass:"index-check-box",on:{"click":function($event){$event.stopPropagation();}}},[_c('span',{directives:[{name:"show",rawName:"v-show",value:(!_vm.checkList || _vm.checkList.length < 1),expression:"!checkList || checkList.length < 1"}],staticClass:"table-index"},[_vm._v(_vm._s(_vm.option.indexLabel ? _vm.option.indexLabel : '序号'))]),_c('label',{staticClass:"el-checkbox table-checked",class:{ 'is-checked': _vm.checkAll, 'in-block': _vm.checkList && _vm.checkList.length > 0 }},[_c('span',{staticClass:"el-checkbox__input",class:{ 'is-checked': _vm.checkAll, 'is-indeterminate': _vm.checkIndeterminate }},[_c('span',{staticClass:"el-checkbox__inner",on:{"click":function($event){$event.stopPropagation();return _vm.handleCheckAllChange(!_vm.checkAll)}}})])])])]}},{key:"default",fn:function(scope){return [_c('div',{staticClass:"index-check-box",on:{"click":function($event){$event.stopPropagation();}}},[_c('label',{staticClass:"el-checkbox table-checked",class:{ 'is-checked': scope.row.checked, 'in-block': scope.row.checked }},[_c('span',{staticClass:"el-checkbox__input",class:{ 'is-checked': scope.row.checked, 'is-indeterminate': scope.row.indeterminate }},[_c('span',{staticClass:"el-checkbox__inner",on:{"click":function($event){$event.stopPropagation();return _vm.handleCheckedChange(scope.row.checked, scope.row, scope.$index)}}})])]),(_vm.page)?_c('span',{directives:[{name:"show",rawName:"v-show",value:(!scope.row.checked),expression:"!scope.row.checked"}],staticClass:"table-index"},[_vm._v(_vm._s(_vm.indexMethod ? _vm.indexMethod(scope.$index) : (_vm.page.current - 1) * _vm.page.size + scope.$index + 1))]):_c('span',{directives:[{name:"show",rawName:"v-show",value:(!scope.row.checked),expression:"!scope.row.checked"}],staticClass:"table-index"},[_vm._v(_vm._s((_vm.indexMethod ? _vm.indexMethod(scope.$index) : scope.$index + 1)))])])]}}],null,false,993569738)}):_vm._e(),_vm._l((_vm.internalColumns),function(column,index){return [(column.slot && column.istrue)?_vm._t(column.slot):(column.hasOwnProperty('istrue')?column.istrue:true)?_c('el-table-column',{key:("col_" + (column.prop) + "_" + (column.label)),attrs:{"filter-method":column.filters ? _vm.filterHandler : null,"filters":column.filters,"fixed":column.fixed,"label":column.label,"min-width":column.minWidth,"prop":column.prop,"width":column.width,"align":column.hasOwnProperty('align') ? column.align : 'left',"show-overflow-tooltip":false,"filter-placement":"bottom-end","header-align":column.hasOwnProperty('headerAlign') ? column.headerAlign : 'left',"column-key":column.hasOwnProperty('elementId')? column.elementId:column.prop,"resizable":column.hasOwnProperty('resizable') ? column.resizable : true},scopedSlots:_vm._u([{key:"header",fn:function(scope){return [(column.slotColumnHeader && _vm.isShow)?_vm._t(column.slotColumnHeader,null,{"header":{column: scope.column, $index:scope.$index }}):_vm._e(),(!column.slotColumnHeader && _vm.isShow)?[_c('div',{staticClass:"slot_header_class"},[(column.isRequire)?_c('span',{staticClass:"table-header-isRequire"},[_vm._v("*")]):_vm._e(),_c('span',[_vm._v(_vm._s(column.label))]),_c('span',{staticClass:"hide"},[(column.headerDescribe)?_c('i',{staticClass:"iconfont icon-help icon_describe",attrs:{"title":column.headerDescribe}}):_vm._e(),(column.headerFilterSort)?_c('span',{staticClass:"caret-wrapper",class:{ 'ascending': _vm.sortVal === column.prop + 'ascending', 'descending': _vm.sortVal === column.prop + 'descending' }},[_c('i',{staticClass:"sort-caret ascending",attrs:{"title":"升序"},on:{"click":function($event){return _vm.handleCommand(column.prop, index, { command: 'ascending' })}}}),_c('i',{staticClass:"sort-caret descending",attrs:{"title":"降序"},on:{"click":function($event){return _vm.handleCommand(column.prop, index, { command: 'descending' })}}})]):_vm._e()])])]:_vm._e()]}},{key:"default",fn:function(scope){return [(column.slotCell)?_vm._t(column.slotCell,null,{"index":scope.$index,"row":scope.row}):[_c('el-tooltip',{attrs:{"content":scope.row[column.prop],"placement":"top","effect":"light","popper-class":"over_popper"}},[_c('span',{staticClass:"over_title"},[_vm._v(_vm._s(scope.row[column.prop]))])])]]}}],null,true)},[(_vm.isMultipleHeader)?[_vm._l((column.children),function(childColumn,childIdx){return [(childColumn.hasOwnProperty('istrue')?childColumn.istrue:true)?_c('el-table-column',{key:("col_" + index + "_" + childIdx),attrs:{"filter-method":childColumn.filters ? _vm.filterHandler : null,"filters":childColumn.filters,"fixed":childColumn.fixed,"label":childColumn.label,"min-width":childColumn.minWidth,"prop":childColumn.prop,"width":childColumn.width,"show-overflow-tooltip":false,"align":childColumn.hasOwnProperty('align') ? childColumn.align : 'left',"filter-placement":"bottom-end","header-align":childColumn.hasOwnProperty('headerAlign') ? childColumn.headerAlign : 'left',"column-key":childColumn.prop,"resizable":childColumn.hasOwnProperty('resizable') ? childColumn.resizable : true},scopedSlots:_vm._u([{key:"header",fn:function(scope){return [(childColumn.slotColumnHeader && _vm.isShow)?_vm._t(childColumn.slotColumnHeader,null,{"header":scope}):_vm._e(),(!childColumn.slotColumnHeader && _vm.isShow)?[_c('div',{staticClass:"slot_header_class"},[(childColumn.isRequire)?_c('span',{staticClass:"table-header-isRequire"},[_vm._v("*")]):_vm._e(),_c('span',[_vm._v(_vm._s(childColumn.label))]),_c('span',{staticClass:"hide"},[(childColumn.headerDescribe)?_c('i',{staticClass:"iconfont icon-help icon_describe",attrs:{"title":childColumn.headerDescribe}}):_vm._e(),(childColumn.headerFilterSort)?_c('span',{staticClass:"caret-wrapper",class:{ 'ascending': _vm.sortVal === childColumn.prop + 'ascending', 'descending': _vm.sortVal === childColumn.prop + 'descending' }},[_c('i',{staticClass:"sort-caret ascending",attrs:{"title":"升序"},on:{"click":function($event){return _vm.handleCommand(childColumn.prop, childIdx, { command: 'ascending' })}}}),_c('i',{staticClass:"sort-caret descending",attrs:{"title":"降序"},on:{"click":function($event){return _vm.handleCommand(childColumn.prop, childIdx, { command: 'descending' })}}})]):_vm._e()])])]:_vm._e()]}},{key:"default",fn:function(scope){return [(childColumn.slotCell)?_vm._t(childColumn.slotCell,null,{"index":scope.$index,"row":scope.row}):[_c('el-tooltip',{attrs:{"content":scope.row[childColumn.prop],"placement":"top","effect":"light","popper-class":"over_popper"}},[_c('span',{staticClass:"over_title"},[_vm._v(_vm._s(scope.row[childColumn.prop]))])])]]}}],null,true)}):_vm._e()]})]:_vm._e()],2):_vm._e()]})],2):_vm._e(),(_vm.page && _vm.page.total > 0)?_c('div',{staticClass:"pagination-box"},[_c('el-pagination',{attrs:{"current-page":_vm.page.current,"layout":_vm.page.layout ? _vm.page.layout : 'total, sizes, prev, pager, next, jumper',"page-size":_vm.page.size,"page-sizes":_vm.page.pageSizes,"total":_vm.page.total,"page-count":_vm.page.pageCount,"pager-count":_vm.page.pagerCount,"background":""},on:{"current-change":_vm.currentChange,"size-change":_vm.sizeChange}})],1):_vm._e()],1)}
28098
+ var mainNewvue_type_template_id_795cb1e4_staticRenderFns = []
28099
28099
 
28100
28100
 
28101
- // CONCATENATED MODULE: ./packages/table/src/mainNew.vue?vue&type=template&id=eb5a4c5a&
28101
+ // CONCATENATED MODULE: ./packages/table/src/mainNew.vue?vue&type=template&id=795cb1e4&
28102
28102
 
28103
28103
  // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"de981356-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/table/src/columnTransferNew.vue?vue&type=template&id=62f1a822&
28104
28104
  var columnTransferNewvue_type_template_id_62f1a822_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},[_c('div',{staticClass:"dropdown_box"},[_c('div',{staticClass:"dropdown_title"},[_c('el-checkbox',{attrs:{"indeterminate":_vm.isIndeterminate},on:{"change":_vm.handleColumnsCheckListChange},model:{value:(_vm.columnsCheckAll),callback:function ($$v) {_vm.columnsCheckAll=$$v},expression:"columnsCheckAll"}},[_vm._v("列展示")]),_c('div',[_c('el-button',{staticClass:"rigth_button",attrs:{"type":"text"},on:{"click":_vm.save}},[_vm._v("保存")]),_c('el-button',{staticClass:"rigth_button",attrs:{"type":"text"},on:{"click":_vm.resetList}},[_vm._v("重置")])],1)],1),_c('div',{staticClass:"dropdown_content",class:[_vm.dragTarClass]},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.leftColumns.length),expression:"leftColumns.length"}]},[_c('p',{staticClass:"title"},[_vm._v("固定在左侧")]),_c('el-checkbox-group',{staticClass:"item1",on:{"change":_vm.handleCheckedColumnChange},model:{value:(_vm.columnsCheckList),callback:function ($$v) {_vm.columnsCheckList=$$v},expression:"columnsCheckList"}},_vm._l((_vm.leftColumns),function(item,index){return _c('div',{key:item.prop+'#'+item.istrue + index,staticClass:"hover_label"},[_c('label',{staticClass:"el-checkbox is-checked"},[_c('el-checkbox',{attrs:{"label":item.label}})],1),_c('span',{staticClass:"icon_display"},[_c('el-tooltip',{attrs:{"placement":"top","content":"不固定","effect":"light"}},[_c('i',{staticClass:"iconfont iconfont-action icon-close",on:{"click":function($event){return _vm.selectFixed('leftColumns', index, item)}}})]),_c('el-tooltip',{attrs:{"placement":"top","content":"固定在右侧","effect":"light"}},[_c('i',{staticClass:"iconfont iconfont-action icon-down1",on:{"click":function($event){return _vm.selectFixed('leftColumns', index, item, 'right')}}})])],1)])}),0)],1),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.rightColumns.length),expression:"rightColumns.length"}]},[_c('p',{staticClass:"title"},[_vm._v("固定在右侧")]),_c('el-checkbox-group',{staticClass:"item2",on:{"change":_vm.handleCheckedColumnChange},model:{value:(_vm.columnsCheckList),callback:function ($$v) {_vm.columnsCheckList=$$v},expression:"columnsCheckList"}},_vm._l((_vm.rightColumns),function(item,index){return _c('div',{key:item.prop+'#'+item.istrue + index,staticClass:"hover_label"},[_c('label',{staticClass:"el-checkbox is-checked"},[_c('el-checkbox',{attrs:{"label":item.label}})],1),_c('span',{staticClass:"icon_display"},[_c('el-tooltip',{attrs:{"placement":"top","content":"不固定","effect":"light"}},[_c('i',{staticClass:"iconfont iconfont-action icon-close",on:{"click":function($event){return _vm.selectFixed('rightColumns', index, item)}}})]),_c('el-tooltip',{attrs:{"placement":"top","content":"固定在左侧","effect":"light"}},[_c('i',{staticClass:"iconfont iconfont-action icon-up1",on:{"click":function($event){return _vm.selectFixed('rightColumns', index, item,'left')}}})])],1)])}),0)],1),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.noColumns.length),expression:"noColumns.length"}]},[_c('p',{staticClass:"title"},[_vm._v("不固定")]),_c('el-checkbox-group',{staticClass:"item",on:{"change":_vm.handleCheckedColumnChange},model:{value:(_vm.columnsCheckList),callback:function ($$v) {_vm.columnsCheckList=$$v},expression:"columnsCheckList"}},_vm._l((_vm.noColumns),function(item,index){return _c('div',{key:item.prop+'#'+item.istrue + index,staticClass:"hover_label"},[_c('label',{staticClass:"el-checkbox is-checked"},[_c('el-checkbox',{attrs:{"label":item.label}})],1),_c('span',{staticClass:"icon_display"},[_c('el-tooltip',{attrs:{"placement":"top","content":"固定在左侧","effect":"light"}},[_c('i',{staticClass:"iconfont iconfont-action icon-up1",on:{"click":function($event){return _vm.selectFixed('noColumns', index, item,'left')}}})]),_c('el-tooltip',{attrs:{"placement":"top","content":"固定在右侧","effect":"light"}},[_c('i',{staticClass:"iconfont iconfont-action icon-down1",on:{"click":function($event){return _vm.selectFixed('noColumns', index, item,'right')}}})])],1)])}),0)],1)])])])],1)}
@@ -33557,7 +33557,7 @@ var columnTransferNew_component = normalizeComponent(
33557
33557
  this.$emit(functionName, scope, id)
33558
33558
  },
33559
33559
  doLayout() {
33560
- this.$refs[this.tabelRef].doLayout();
33560
+ this.$refs[this.tabelRef] && this.$refs[this.tabelRef].doLayout();
33561
33561
  },
33562
33562
  /* 表格-列显隐-下拉菜单 */
33563
33563
  onColumnVisibleMenu(flag){
@@ -33612,8 +33612,8 @@ var columnTransferNew_component = normalizeComponent(
33612
33612
 
33613
33613
  var mainNew_component = normalizeComponent(
33614
33614
  src_mainNewvue_type_script_lang_js_,
33615
- mainNewvue_type_template_id_eb5a4c5a_render,
33616
- mainNewvue_type_template_id_eb5a4c5a_staticRenderFns,
33615
+ mainNewvue_type_template_id_795cb1e4_render,
33616
+ mainNewvue_type_template_id_795cb1e4_staticRenderFns,
33617
33617
  false,
33618
33618
  null,
33619
33619
  null,
@@ -33640,12 +33640,12 @@ mainNew.install = function(Vue) {
33640
33640
 
33641
33641
  /* harmony default export */ var table = (mainNew);
33642
33642
 
33643
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"de981356-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/normalTable/src/mainNew.vue?vue&type=template&id=6ade6174&
33644
- var mainNewvue_type_template_id_6ade6174_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"sone_table_box"},[(_vm.showMenuLeft)?_c('div',{staticClass:"table-menu-left"},[_vm._t("menuLeft")],2):_vm._e(),(_vm.showMenuRight)?_c('div',{staticClass:"table-menu-right"},[_vm._t("menuRight"),(_vm.showColumnHandleBtn)?_c('el-dropdown',[_c('IconButton',{staticClass:"sort-btn",attrs:{"iconfont":false,"tooltipDisabled":_vm.tooltipDisabled,"content":"列展示","icon":"el-icon-s-operation"}}),_c('ColumnTransfer',{ref:"column-transfer",attrs:{"columns":_vm.internalColumns},on:{"update:columns":function($event){_vm.internalColumns=$event},"save":_vm.save,"resetColumnTransfer":function($event){return _vm.$emit('resetColumnTransfer')}}})],1):_vm._e(),_vm._t("transferRight")],2):_vm._e(),(_vm.isTable)?_c('el-table',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.loading),expression:"loading"}],ref:_vm.tabelRef,class:'sone-table ' + _vm.className,staticStyle:{"width":"100%"},attrs:{"cell-class-name":_vm.option.cellClassName,"cell-style":_vm.option.cellStyle,"data":_vm.tableData,"header-cell-class-name":_vm.option.headerCellClassName,"header-cell-style":_vm.option.headerCellStyle,"header-row-class-name":_vm.option.headerRowClassName,"header-row-style":_vm.option.headerRowStyle,"height":_vm.option.height,"highlight-current-row":_vm.option.highlightRow,"max-height":_vm.option.maxHeight,"row-class-name":_vm.tableRowClassName,"row-key":_vm.option.rowKey,"row-style":_vm.option.rowStyle,"show-summary":_vm.option.showSummary,"render-header":_vm.option.renderHeader,"span-method":_vm.spanMethod,"show-header":_vm.showHeader,"stripe":_vm.stripe,"border":_vm.border,"sum-text":_vm.option.sumText,"summary-method":_vm.summaryMethod},on:{"filter-change":_vm.filterChange,"row-click":_vm.rowClick,"header-dragend":_vm.onHeaderDragend,"select":_vm.selectChange,"select-all":_vm.selectAll}},[(_vm.operation)?_c('el-table-column',{attrs:{"fixed":"","type":"index","width":_vm.operation.width,"label":_vm.operation.label ? _vm.operation.label : '操作',"resizable":_vm.operation.hasOwnProperty('resizable') ? _vm.operation.resizable : true},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [(!_vm.hideButtonMode)?[(scope.row.buttonShow&&scope.row.buttonShow.filter(function (d){ return d.isShow; }).length<=3)?_c('div',{staticClass:"sone-table-buttonList"},[_vm._l((_vm.operation.buttonList),function(item,index){return [_c('el-tooltip',{directives:[{name:"show",rawName:"v-show",value:(scope.row.buttonShow.find(function (i){ return i.id===item.id; }).isShow),expression:"scope.row.buttonShow.find(i=>i.id===item.id).isShow"}],key:index,attrs:{"content":item.label,"effect":"light","placement":"top"}},[_c('el-button',{style:({color:item.color}),attrs:{"icon":item.icon,"disabled":scope.row.buttonShow.find(function (i){ return i.id===item.id; }).isDisabled || false,"circle":"","type":"text"},nativeOn:{"click":function($event){$event.stopPropagation();return _vm.handButton(item.function, scope, item.id)}}})],1)]})],2):_vm._e(),(!scope.row.buttonShow&&_vm.operation.buttonList.length<=3)?_c('div',{staticClass:"sone-table-buttonList"},[_vm._l((_vm.operation.buttonList),function(item,index){return [_c('el-tooltip',{key:index,attrs:{"content":item.label,"effect":"light","placement":"top"}},[_c('el-button',{style:({color:item.color}),attrs:{"icon":item.icon,"circle":"","type":"text"},nativeOn:{"click":function($event){$event.stopPropagation();return _vm.handButton(item.function,scope, item.id)}}})],1)]})],2):_vm._e()]:[(scope.row.buttonShow)?_c('el-dropdown',{staticClass:"dropdown_box_button sone-table-buttonList"},[_c('span',{directives:[{name:"show",rawName:"v-show",value:(scope.row.buttonShow.filter(function (d){ return d.isShow; }).length > 0),expression:"scope.row.buttonShow.filter(d=>d.isShow).length > 0"}],staticClass:"el-dropdown-link color-span menu-more"},[_c('el-button',{attrs:{"type":"text"}},[_c('i',{staticClass:"el-icon-more more-handel",style:({color:_vm.operation.moreIconColor})})])],1),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},_vm._l((scope.row.buttonShow.filter(function (d){ return d.isShow; })),function(item,i){return _c('el-dropdown-item',{key:i,staticClass:"sone-table-dropdown",attrs:{"command":"copy"}},[_c('el-button',{style:({color:_vm.operation.buttonList.find(function (d){ return d.id===item.id; }).color}),attrs:{"icon":_vm.operation.buttonList.find(function (d){ return d.id===item.id; }).icon,"disabled":item.hasOwnProperty('isDisabled') ? item.isDisabled : false,"type":"text","title":_vm.operation.buttonList.find(function (d){ return d.id === item.id; }).label},nativeOn:{"click":function($event){$event.stopPropagation();_vm.handButton(_vm.operation.buttonList.find(function (d){ return d.id===item.id; }).function, scope, item.id)}}},[_vm._v(_vm._s(_vm.operation.buttonList.find(function (d){ return d.id===item.id; }).label))])],1)}),1)],1):_c('el-dropdown',{staticClass:"dropdown_box_button sone-table-buttonList",on:{"command":function($event){$event.stopPropagation();return (function (command){_vm.handleCommand(command,_vm.row)}).apply(null, arguments)}}},[_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.operation.buttonList.length > 0),expression:"operation.buttonList.length > 0"}],staticClass:"el-dropdown-link color-span menu-more"},[_c('el-button',{attrs:{"type":"text"}},[_c('i',{staticClass:"el-icon-more more-handel",style:({color:_vm.operation.moreIconColor})})])],1),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},_vm._l((_vm.operation.buttonList),function(item,i){return _c('el-dropdown-item',{key:i,staticClass:"sone-table-dropdown",attrs:{"command":"copy"}},[_c('el-button',{style:({color:item.color}),attrs:{"icon":item.icon,"title":item.label,"type":"text"},nativeOn:{"click":function($event){$event.stopPropagation();return _vm.handButton(item.function, scope, item.id)}}},[_vm._v(_vm._s(item.label))])],1)}),1)],1)]]}}],null,false,2049157449)}):_vm._e(),(_vm.option.index)?_c('el-table-column',{attrs:{"fixed":"","type":"index","width":_vm.option.indexWidth||50,"label":_vm.option.indexLabel ? _vm.option.indexLabel : '序号',"index":_vm.indexMethod}}):_vm._e(),(_vm.option.selection)?_c('el-table-column',{attrs:{"fixed":"","type":"selection","show-overflow-tooltip":false,"width":_vm.option.selectionWidth || 45}}):_vm._e(),_vm._l((_vm.internalColumns),function(column,index){return [(column.slot && column.istrue)?_vm._t(column.slot):(column.hasOwnProperty('istrue')?column.istrue:true)?_c('el-table-column',{key:("col_" + (column.prop) + "_" + (column.label)),attrs:{"filter-method":column.filters ? _vm.filterHandler : null,"filters":column.filters,"fixed":column.fixed,"label":column.label,"min-width":column.minWidth,"prop":column.prop,"width":column.width,"align":column.hasOwnProperty('align') ? column.align : 'left',"show-overflow-tooltip":column.hasOwnProperty('showOverflowTooltip') ? column.showOverflowTooltip : false,"filter-placement":"bottom-end","header-align":column.hasOwnProperty('headerAlign') ? column.headerAlign : 'left',"column-key":column.hasOwnProperty('elementId')? column.elementId:column.prop,"resizable":column.hasOwnProperty('resizable') ? column.resizable : true},scopedSlots:_vm._u([{key:"header",fn:function(scope){return [(column.slotColumnHeader && _vm.isShow)?_vm._t(column.slotColumnHeader,null,{"header":{column: scope.column, $index:scope.$index }}):_vm._e(),(!column.slotColumnHeader && _vm.isShow)?[_c('div',{staticClass:"slot_header_class"},[(column.isRequire)?_c('span',{staticClass:"table-header-isRequire"},[_vm._v("*")]):_vm._e(),_c('span',[_vm._v(_vm._s(column.label))]),_c('span',{staticClass:"hide"},[(column.headerDescribe)?_c('i',{staticClass:"iconfont icon-help icon_describe",attrs:{"title":column.headerDescribe}}):_vm._e(),(column.headerFilterSort)?_c('span',{staticClass:"caret-wrapper",class:{ 'ascending': _vm.sortVal === column.prop + 'ascending', 'descending': _vm.sortVal === column.prop + 'descending' }},[_c('i',{staticClass:"sort-caret ascending",attrs:{"title":"升序"},on:{"click":function($event){return _vm.handleCommand(column.prop, index, { command: 'ascending' })}}}),_c('i',{staticClass:"sort-caret descending",attrs:{"title":"降序"},on:{"click":function($event){return _vm.handleCommand(column.prop, index, { command: 'descending' })}}})]):_vm._e()])])]:_vm._e()]}},{key:"default",fn:function(scope){return [(column.slotCell)?_vm._t(column.slotCell,null,{"index":scope.$index,"row":scope.row}):[_vm._v(_vm._s(scope.row[column.prop]))]]}}],null,true)}):_vm._e()]})],2):_vm._e(),(_vm.page && _vm.page.total > 0)?_c('div',{staticClass:"pagination-box"},[_c('el-pagination',{attrs:{"current-page":_vm.page.current,"layout":_vm.page.layout ? _vm.page.layout : 'total, sizes, prev, pager, next, jumper',"page-size":_vm.page.size,"page-sizes":_vm.page.pageSizes,"total":_vm.page.total,"page-count":_vm.page.pageCount,"pager-count":_vm.page.pagerCount,"background":""},on:{"current-change":_vm.currentChange,"size-change":_vm.sizeChange}})],1):_vm._e()],1)}
33645
- var mainNewvue_type_template_id_6ade6174_staticRenderFns = []
33643
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"de981356-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/normalTable/src/mainNew.vue?vue&type=template&id=ecf192ce&
33644
+ var mainNewvue_type_template_id_ecf192ce_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"sone_table_box"},[(_vm.showMenuLeft)?_c('div',{staticClass:"table-menu-left"},[_vm._t("menuLeft")],2):_vm._e(),(_vm.showMenuRight)?_c('div',{staticClass:"table-menu-right"},[_vm._t("menuRight"),(_vm.showColumnHandleBtn)?_c('el-dropdown',[_c('IconButton',{staticClass:"sort-btn",attrs:{"iconfont":false,"tooltipDisabled":_vm.tooltipDisabled,"content":"列展示","icon":"el-icon-s-operation"}}),_c('ColumnTransfer',{ref:"column-transfer",attrs:{"columns":_vm.internalColumns},on:{"update:columns":function($event){_vm.internalColumns=$event},"save":_vm.save,"resetColumnTransfer":function($event){return _vm.$emit('resetColumnTransfer')}}})],1):_vm._e(),_vm._t("transferRight")],2):_vm._e(),(_vm.isTable)?_c('el-table',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.loading),expression:"loading"}],ref:_vm.tabelRef,class:'sone-table ' + _vm.className,staticStyle:{"width":"100%"},attrs:{"cell-class-name":_vm.option.cellClassName,"cell-style":_vm.option.cellStyle,"data":_vm.tableData,"header-cell-class-name":_vm.option.headerCellClassName,"header-cell-style":_vm.option.headerCellStyle,"header-row-class-name":_vm.option.headerRowClassName,"header-row-style":_vm.option.headerRowStyle,"height":_vm.option.height,"highlight-current-row":_vm.option.highlightRow,"max-height":_vm.option.maxHeight,"row-class-name":_vm.tableRowClassName,"row-key":_vm.option.rowKey,"row-style":_vm.option.rowStyle,"show-summary":_vm.option.showSummary,"render-header":_vm.option.renderHeader,"span-method":_vm.spanMethod,"show-header":_vm.showHeader,"stripe":_vm.stripe,"border":_vm.border,"sum-text":_vm.option.sumText,"summary-method":_vm.summaryMethod},on:{"filter-change":_vm.filterChange,"row-click":_vm.rowClick,"header-dragend":_vm.onHeaderDragend,"select":_vm.selectChange,"select-all":_vm.selectAll}},[(_vm.operation)?_c('el-table-column',{attrs:{"fixed":"","type":"index","width":_vm.operation.width,"label":_vm.operation.label ? _vm.operation.label : '操作',"resizable":_vm.operation.hasOwnProperty('resizable') ? _vm.operation.resizable : true},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [(!_vm.hideButtonMode)?[(scope.row.buttonShow&&scope.row.buttonShow.filter(function (d){ return d.isShow; }).length<=3)?_c('div',{staticClass:"sone-table-buttonList"},[_vm._l((_vm.operation.buttonList),function(item,index){return [_c('el-tooltip',{directives:[{name:"show",rawName:"v-show",value:(scope.row.buttonShow.find(function (i){ return i.id===item.id; }).isShow),expression:"scope.row.buttonShow.find(i=>i.id===item.id).isShow"}],key:index,attrs:{"content":item.label,"effect":"light","placement":"top"}},[_c('el-button',{style:({color:item.color}),attrs:{"icon":item.icon,"disabled":scope.row.buttonShow.find(function (i){ return i.id===item.id; }).isDisabled || false,"circle":"","type":"text"},nativeOn:{"click":function($event){$event.stopPropagation();return _vm.handButton(item.function, scope, item.id)}}})],1)]})],2):_vm._e(),(!scope.row.buttonShow&&_vm.operation.buttonList.length<=3)?_c('div',{staticClass:"sone-table-buttonList"},[_vm._l((_vm.operation.buttonList),function(item,index){return [_c('el-tooltip',{key:index,attrs:{"content":item.label,"effect":"light","placement":"top"}},[_c('el-button',{style:({color:item.color}),attrs:{"icon":item.icon,"circle":"","type":"text"},nativeOn:{"click":function($event){$event.stopPropagation();return _vm.handButton(item.function,scope, item.id)}}})],1)]})],2):_vm._e()]:[(scope.row.buttonShow)?_c('el-dropdown',{staticClass:"dropdown_box_button sone-table-buttonList"},[_c('span',{directives:[{name:"show",rawName:"v-show",value:(scope.row.buttonShow.filter(function (d){ return d.isShow; }).length > 0),expression:"scope.row.buttonShow.filter(d=>d.isShow).length > 0"}],staticClass:"el-dropdown-link color-span menu-more"},[_c('el-button',{attrs:{"type":"text"}},[_c('i',{staticClass:"el-icon-more more-handel",style:({color:_vm.operation.moreIconColor})})])],1),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},_vm._l((scope.row.buttonShow.filter(function (d){ return d.isShow; })),function(item,i){return _c('el-dropdown-item',{key:i,staticClass:"sone-table-dropdown",attrs:{"command":"copy"}},[_c('el-button',{style:({color:_vm.operation.buttonList.find(function (d){ return d.id===item.id; }).color}),attrs:{"icon":_vm.operation.buttonList.find(function (d){ return d.id===item.id; }).icon,"disabled":item.hasOwnProperty('isDisabled') ? item.isDisabled : false,"type":"text","title":_vm.operation.buttonList.find(function (d){ return d.id === item.id; }).label},nativeOn:{"click":function($event){$event.stopPropagation();_vm.handButton(_vm.operation.buttonList.find(function (d){ return d.id===item.id; }).function, scope, item.id)}}},[_vm._v(_vm._s(_vm.operation.buttonList.find(function (d){ return d.id===item.id; }).label))])],1)}),1)],1):_c('el-dropdown',{staticClass:"dropdown_box_button sone-table-buttonList",on:{"command":function($event){$event.stopPropagation();return (function (command){_vm.handleCommand(command,_vm.row)}).apply(null, arguments)}}},[_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.operation.buttonList.length > 0),expression:"operation.buttonList.length > 0"}],staticClass:"el-dropdown-link color-span menu-more"},[_c('el-button',{attrs:{"type":"text"}},[_c('i',{staticClass:"el-icon-more more-handel",style:({color:_vm.operation.moreIconColor})})])],1),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},_vm._l((_vm.operation.buttonList),function(item,i){return _c('el-dropdown-item',{key:i,staticClass:"sone-table-dropdown",attrs:{"command":"copy"}},[_c('el-button',{style:({color:item.color}),attrs:{"icon":item.icon,"title":item.label,"type":"text"},nativeOn:{"click":function($event){$event.stopPropagation();return _vm.handButton(item.function, scope, item.id)}}},[_vm._v(_vm._s(item.label))])],1)}),1)],1)]]}}],null,false,2049157449)}):_vm._e(),(_vm.option.index)?_c('el-table-column',{attrs:{"fixed":"","type":"index","width":_vm.option.indexWidth||50,"label":_vm.option.indexLabel ? _vm.option.indexLabel : '序号',"index":_vm.indexMethod}}):_vm._e(),(_vm.option.selection)?_c('el-table-column',{attrs:{"fixed":"","type":"selection","show-overflow-tooltip":false,"width":_vm.option.selectionWidth || 45}}):_vm._e(),_vm._l((_vm.internalColumns),function(column,index){return [(column.slot && column.istrue)?_vm._t(column.slot):(column.hasOwnProperty('istrue')?column.istrue:true)?_c('el-table-column',{key:("col_" + (column.prop) + "_" + (column.label)),attrs:{"filter-method":column.filters ? _vm.filterHandler : null,"filters":column.filters,"fixed":column.fixed,"label":column.label,"min-width":column.minWidth,"prop":column.prop,"width":column.width,"align":column.hasOwnProperty('align') ? column.align : 'left',"show-overflow-tooltip":column.hasOwnProperty('showOverflowTooltip') ? column.showOverflowTooltip : false,"filter-placement":"bottom-end","header-align":column.hasOwnProperty('headerAlign') ? column.headerAlign : 'left',"column-key":column.hasOwnProperty('elementId')? column.elementId:column.prop,"resizable":column.hasOwnProperty('resizable') ? column.resizable : true},scopedSlots:_vm._u([{key:"header",fn:function(scope){return [(column.slotColumnHeader && _vm.isShow)?_vm._t(column.slotColumnHeader,null,{"header":{column: scope.column, $index:scope.$index }}):_vm._e(),(!column.slotColumnHeader && _vm.isShow)?[_c('div',{staticClass:"slot_header_class"},[(column.isRequire)?_c('span',{staticClass:"table-header-isRequire"},[_vm._v("*")]):_vm._e(),_c('span',[_vm._v(_vm._s(column.label))]),_c('span',{staticClass:"hide"},[(column.headerDescribe)?_c('i',{staticClass:"iconfont icon-help icon_describe",attrs:{"title":column.headerDescribe}}):_vm._e(),(column.headerFilterSort)?_c('span',{staticClass:"caret-wrapper",class:{ 'ascending': _vm.sortVal === column.prop + 'ascending', 'descending': _vm.sortVal === column.prop + 'descending' }},[_c('i',{staticClass:"sort-caret ascending",attrs:{"title":"升序"},on:{"click":function($event){return _vm.handleCommand(column.prop, index, { command: 'ascending' })}}}),_c('i',{staticClass:"sort-caret descending",attrs:{"title":"降序"},on:{"click":function($event){return _vm.handleCommand(column.prop, index, { command: 'descending' })}}})]):_vm._e()])])]:_vm._e()]}},{key:"default",fn:function(scope){return [(column.slotCell)?_vm._t(column.slotCell,null,{"index":scope.$index,"row":scope.row}):[_vm._v(_vm._s(scope.row[column.prop]))]]}}],null,true)}):_vm._e()]})],2):_vm._e(),(_vm.page && _vm.page.total > 0)?_c('div',{staticClass:"pagination-box"},[_c('el-pagination',{attrs:{"current-page":_vm.page.current,"layout":_vm.page.layout ? _vm.page.layout : 'total, sizes, prev, pager, next, jumper',"page-size":_vm.page.size,"page-sizes":_vm.page.pageSizes,"total":_vm.page.total,"page-count":_vm.page.pageCount,"pager-count":_vm.page.pagerCount,"background":""},on:{"current-change":_vm.currentChange,"size-change":_vm.sizeChange}})],1):_vm._e()],1)}
33645
+ var mainNewvue_type_template_id_ecf192ce_staticRenderFns = []
33646
33646
 
33647
33647
 
33648
- // CONCATENATED MODULE: ./packages/normalTable/src/mainNew.vue?vue&type=template&id=6ade6174&
33648
+ // CONCATENATED MODULE: ./packages/normalTable/src/mainNew.vue?vue&type=template&id=ecf192ce&
33649
33649
 
33650
33650
  // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"de981356-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/normalTable/src/columnTransferNew.vue?vue&type=template&id=26eb7b8c&
33651
33651
  var columnTransferNewvue_type_template_id_26eb7b8c_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},[_c('div',{staticClass:"dropdown_box"},[_c('div',{staticClass:"dropdown_title"},[_c('el-checkbox',{attrs:{"indeterminate":_vm.isIndeterminate},on:{"change":_vm.checkAll},model:{value:(_vm.columnsCheckAll),callback:function ($$v) {_vm.columnsCheckAll=$$v},expression:"columnsCheckAll"}},[_vm._v("列展示")]),_c('div',[_c('el-button',{staticClass:"rigth_button",attrs:{"type":"text"},on:{"click":_vm.save}},[_vm._v("保存")]),_c('el-button',{staticClass:"rigth_button",attrs:{"type":"text"},on:{"click":_vm.resetList}},[_vm._v("重置")])],1)],1),_c('div',{staticClass:"dropdown_content",class:[_vm.dragTarClass]},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.leftColumns.length),expression:"leftColumns.length"}]},[_c('p',{staticClass:"title"},[_vm._v("固定在左侧")]),_c('el-checkbox-group',{staticClass:"item1",on:{"change":_vm.handleCheckedColumnChange},model:{value:(_vm.columnsCheckList),callback:function ($$v) {_vm.columnsCheckList=$$v},expression:"columnsCheckList"}},_vm._l((_vm.leftColumns),function(item,index){return _c('div',{key:item.prop+'#'+item.istrue + index,staticClass:"hover_label"},[_c('label',{staticClass:"el-checkbox is-checked"},[_c('el-checkbox',{attrs:{"label":item.label}})],1),_c('span',{staticClass:"icon_display"},[_c('el-tooltip',{attrs:{"placement":"top","content":"不固定","effect":"light"}},[_c('i',{staticClass:"iconfont iconfont-action icon-close",on:{"click":function($event){return _vm.selectFixed('leftColumns', index, item)}}})]),_c('el-tooltip',{attrs:{"placement":"top","content":"固定在右侧","effect":"light"}},[_c('i',{staticClass:"iconfont iconfont-action icon-down1",on:{"click":function($event){return _vm.selectFixed('leftColumns', index, item, 'right')}}})])],1)])}),0)],1),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.rightColumns.length),expression:"rightColumns.length"}]},[_c('p',{staticClass:"title"},[_vm._v("固定在右侧")]),_c('el-checkbox-group',{staticClass:"item2",on:{"change":_vm.handleCheckedColumnChange},model:{value:(_vm.columnsCheckList),callback:function ($$v) {_vm.columnsCheckList=$$v},expression:"columnsCheckList"}},_vm._l((_vm.rightColumns),function(item,index){return _c('div',{key:item.prop+'#'+item.istrue + index,staticClass:"hover_label"},[_c('label',{staticClass:"el-checkbox is-checked"},[_c('el-checkbox',{attrs:{"label":item.label}})],1),_c('span',{staticClass:"icon_display"},[_c('el-tooltip',{attrs:{"placement":"top","content":"不固定","effect":"light"}},[_c('i',{staticClass:"iconfont iconfont-action icon-close",on:{"click":function($event){return _vm.selectFixed('rightColumns', index, item)}}})]),_c('el-tooltip',{attrs:{"placement":"top","content":"固定在左侧","effect":"light"}},[_c('i',{staticClass:"iconfont iconfont-action icon-up1",on:{"click":function($event){return _vm.selectFixed('rightColumns', index, item,'left')}}})])],1)])}),0)],1),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.noColumns.length),expression:"noColumns.length"}]},[_c('p',{staticClass:"title"},[_vm._v("不固定")]),_c('el-checkbox-group',{staticClass:"item",on:{"change":_vm.handleCheckedColumnChange},model:{value:(_vm.columnsCheckList),callback:function ($$v) {_vm.columnsCheckList=$$v},expression:"columnsCheckList"}},_vm._l((_vm.noColumns),function(item,index){return _c('div',{key:item.prop+'#'+item.istrue + index,staticClass:"hover_label"},[_c('label',{staticClass:"el-checkbox is-checked"},[_c('el-checkbox',{attrs:{"label":item.label}})],1),_c('span',{staticClass:"icon_display"},[_c('el-tooltip',{attrs:{"placement":"top","content":"固定在左侧","effect":"light"}},[_c('i',{staticClass:"iconfont iconfont-action icon-up1",on:{"click":function($event){return _vm.selectFixed('noColumns', index, item,'left')}}})]),_c('el-tooltip',{attrs:{"placement":"top","content":"固定在右侧","effect":"light"}},[_c('i',{staticClass:"iconfont iconfont-action icon-down1",on:{"click":function($event){return _vm.selectFixed('noColumns', index, item,'right')}}})])],1)])}),0)],1)])])])}
@@ -34394,7 +34394,7 @@ var src_columnTransferNew_component = normalizeComponent(
34394
34394
  this.$emit(functionName, scope, id)
34395
34395
  },
34396
34396
  doLayout() {
34397
- this.$refs[this.tabelRef].doLayout();
34397
+ this.$refs[this.tabelRef] && this.$refs[this.tabelRef].doLayout();
34398
34398
  },
34399
34399
  /* 当拖动表头改变了列的宽度的时候会触发该事件 */
34400
34400
  onHeaderDragend(newWidth, oldWidth, column, event){
@@ -34433,8 +34433,8 @@ var src_columnTransferNew_component = normalizeComponent(
34433
34433
 
34434
34434
  var src_mainNew_component = normalizeComponent(
34435
34435
  packages_normalTable_src_mainNewvue_type_script_lang_js_,
34436
- mainNewvue_type_template_id_6ade6174_render,
34437
- mainNewvue_type_template_id_6ade6174_staticRenderFns,
34436
+ mainNewvue_type_template_id_ecf192ce_render,
34437
+ mainNewvue_type_template_id_ecf192ce_staticRenderFns,
34438
34438
  false,
34439
34439
  null,
34440
34440
  null,
@@ -37897,7 +37897,7 @@ if (typeof window !== 'undefined' && window.Vue) {
37897
37897
  }
37898
37898
 
37899
37899
  /* harmony default export */ var src_0 = ({
37900
- version: '2.1.34',
37900
+ version: '2.1.35',
37901
37901
  locale: locale.use,
37902
37902
  i18n: locale.i18n,
37903
37903
  install,