sone-ui-component-3.2.4 2.1.15 → 2.1.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/sone-ui.common.js +1195 -284
- package/lib/sone-ui.common.js.map +1 -1
- package/lib/sone-ui.umd.js +1195 -284
- package/lib/sone-ui.umd.js.map +1 -1
- package/lib/sone-ui.umd.min.js +3 -3
- package/lib/sone-ui.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/packages/form/src/mainNoDrag.vue +4 -3
- package/packages/normalTable/index.js +15 -0
- package/packages/normalTable/src/columnTransfer.vue +314 -0
- package/packages/normalTable/src/main.vue +520 -0
- package/packages/table/src/main.vue +1 -4
- package/src/index.js +4 -1
- package/src/styles/table.scss +7 -0
package/lib/sone-ui.common.js
CHANGED
|
@@ -25214,7 +25214,7 @@ if (typeof window !== 'undefined') {
|
|
|
25214
25214
|
// Indicate to webpack that this file can be concatenated
|
|
25215
25215
|
/* harmony default export */ var setPublicPath = (null);
|
|
25216
25216
|
|
|
25217
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
25217
|
+
// 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/container/src/main.vue?vue&type=template&id=59ff11b6&
|
|
25218
25218
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_vm._v(" "+_vm._s(_vm.data)+" ")])}
|
|
25219
25219
|
var staticRenderFns = []
|
|
25220
25220
|
|
|
@@ -25840,7 +25840,7 @@ main.install = function(Vue) {
|
|
|
25840
25840
|
};
|
|
25841
25841
|
|
|
25842
25842
|
/* harmony default export */ var container = (main);
|
|
25843
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
25843
|
+
// 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/messageBox/src/main.vue?vue&type=template&id=9152c6da&scoped=true&
|
|
25844
25844
|
var mainvue_type_template_id_9152c6da_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div')}
|
|
25845
25845
|
var mainvue_type_template_id_9152c6da_scoped_true_staticRenderFns = []
|
|
25846
25846
|
|
|
@@ -25993,7 +25993,7 @@ src_main.install = function(Vue) {
|
|
|
25993
25993
|
|
|
25994
25994
|
|
|
25995
25995
|
/* harmony default export */ var messageBox = (src_main);
|
|
25996
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
25996
|
+
// 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/tree/src/main.vue?vue&type=template&id=64648f0f&scoped=true&
|
|
25997
25997
|
var mainvue_type_template_id_64648f0f_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticStyle:{"height":"100%"}},[(_vm.type === 'normal')?_c('div',{staticClass:"sone-tree"},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.show),expression:"show"}],ref:"menu",staticClass:"tree-wrap",style:('width:' + _vm.defaultWidth + 'px')},[_c('div',{staticClass:"sone-tree-title"},[(_vm.treeData.length>1)?_c('el-select',{staticClass:"sone-tree-components-class",on:{"change":_vm.changeTreeData},model:{value:(_vm.checkedTreeData),callback:function ($$v) {_vm.checkedTreeData=$$v},expression:"checkedTreeData"}},_vm._l((_vm.treeData),function(item,index){return _c('el-option',{key:index,attrs:{"label":item.title,"value":item.title}})}),1):_c('span',[_vm._v(_vm._s(_vm.treeData && _vm.treeData[0] && _vm.treeData[0].title))])],1),_c('el-input',{attrs:{"placeholder":_vm.placeholder,"clearable":_vm.clearable},on:{"clear":function($event){return _vm.$emit('clear', '')}},model:{value:(_vm.filterText),callback:function ($$v) {_vm.filterText=$$v},expression:"filterText"}}),_c('div',{staticClass:"sone-tree-wrap"},[_c('el-tree',{ref:"tree",staticClass:"filter-tree",attrs:{"data":_vm.data,"props":_vm.treeProps,"node-key":_vm.nodeKey,"filter-node-method":_vm.filterNode,"empty-text":_vm.emptyText,"highlight-current":_vm.highlightCurrent,"default-expand-all":_vm.defaultExpandAll,"expand-on-click-node":_vm.expandOnClickNode,"default-expanded-keys":_vm.defaultExpandedKeys,"show-checkbox":_vm.showCheckbox,"check-strictly":_vm.checkStrictly,"default-checked-keys":_vm.defaultCheckedKeys,"current-node-key":_vm.currentNodeKey,"indent":_vm.indent,"icon-class":_vm.iconClass,"draggable":_vm.draggable,"allow-drop":_vm.allowDrop,"allow-drag":_vm.allowDrag},on:{"node-click":_vm.handleNodeClick,"node-contextmenu":_vm.handleContextmenu,"check-change":_vm.handleCheckChange,"check":_vm.handleCheck,"current-change":_vm.handleCurrentChange,"node-expand":_vm.handleNodeExpand,"node-collapse":_vm.handleNodeCollapse,"node-drag-start":_vm.handleDragStart,"node-drag-enter":_vm.handleDragEnter,"node-drag-leave":_vm.handleDragLeave,"node-drag-over":_vm.handleDragOver,"node-drag-end":_vm.handleDragEnd,"node-drop":_vm.handleDrop}})],1)],1),_c('div',{ref:"line",staticClass:"show-line",style:(_vm.dragWidth?'cursor:col-resize;':'')},[_c('div',{staticClass:"show-line-box",style:(_vm.showStyle),on:{"click":_vm.onShow}})])]):_c('div',{staticClass:"sone-tree"},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.show),expression:"show"}],ref:"menu",staticClass:"tree-wrap",style:('width:' + _vm.defaultWidth + 'px')},[_c('div',{staticClass:"sone-tree-title"},[_c('span',[_vm._v(_vm._s(_vm.handleTypeTitle))]),(_vm.showTitleButton)?_c('el-popover',{attrs:{"placement":"bottom","width":"100","trigger":"click","popper-class":"sone-components-tree-popover"}},[_c('div',{staticClass:"tree-box"},[_vm._t("handleTitleMenu")],2),_c('el-button',{attrs:{"slot":"reference","type":"text","icon":("iconfont iconfont-single " + (_vm.titleIcon || _vm.handleTypeTitleIcon))},on:{"click":function($event){return _vm.$emit('handleTypeTitle')}},slot:"reference"})],1):_vm._e()],1),_c('el-input',{attrs:{"placeholder":_vm.placeholder,"clearable":_vm.clearable},on:{"clear":function($event){return _vm.$emit('clear', '')}},model:{value:(_vm.filterText),callback:function ($$v) {_vm.filterText=$$v},expression:"filterText"}}),_c('div',{ref:"soneTreeWrap",staticClass:"sone-tree-wrap"},[_c('el-tree',{ref:"tree",staticClass:"filter-tree",attrs:{"data":_vm.handleTypeData,"props":_vm.treeProps,"node-key":_vm.nodeKey,"filter-node-method":_vm.filterNode,"empty-text":_vm.emptyText,"highlight-current":_vm.highlightCurrent,"default-expand-all":_vm.defaultExpandAll,"expand-on-click-node":_vm.expandOnClickNode,"default-expanded-keys":_vm.defaultExpandedKeys,"show-checkbox":_vm.showCheckbox,"check-strictly":_vm.checkStrictly,"default-checked-keys":_vm.defaultCheckedKeys,"current-node-key":_vm.currentNodeKey,"indent":_vm.indent,"icon-class":_vm.iconClass,"draggable":_vm.draggable,"allow-drop":_vm.allowDrop,"allow-drag":_vm.allowDrag},on:{"node-click":_vm.handleNodeClick,"node-contextmenu":_vm.handleContextmenu,"check-change":_vm.handleCheckChange,"check":_vm.handleCheck,"current-change":_vm.handleCurrentChange,"node-expand":_vm.handleNodeExpand,"node-collapse":_vm.handleNodeCollapse,"node-drag-start":_vm.handleDragStart,"node-drag-enter":_vm.handleDragEnter,"node-drag-leave":_vm.handleDragLeave,"node-drag-over":_vm.handleDragOver,"node-drag-end":_vm.handleDragEnd,"node-drop":_vm.handleDrop},scopedSlots:_vm._u([{key:"default",fn:function(scope){return _c('span',{ref:("treeNode-" + (scope.node[_vm.nodeKey])),staticClass:"custom-tree-node",staticStyle:{"display":"flex"}},[_c('span',{staticStyle:{"font-size":"12px"}},[_c('i',{class:("iconfont iconfont-single " + (scope.node.data.iconClass))}),_vm._v(" "+_vm._s(scope.node.label))]),_c('div',[(!scope.node.data.noMoreBtn)?_c('span',{staticClass:"sone-components-tree-more-btn-color"},[_c('el-button',{directives:[{name:"show",rawName:"v-show",value:(_vm.showMoreBtn),expression:"showMoreBtn"}],attrs:{"type":"text","size":"mini","icon":"iconfont iconfont-single icon-more"},on:{"click":function($event){$event.stopPropagation();return _vm.showTreeMenu(scope,$event)}}})],1):_vm._e()])])}}])}),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.handleMenuFlag),expression:"handleMenuFlag"}],ref:"handleMenu",staticClass:"sone-tree-components-handleMenu"},[_vm._t("handleMenu",null,{"node":_vm.node})],2)],1)],1),_c('div',{ref:"line",staticClass:"show-line",style:(_vm.dragWidth?'cursor:col-resize;':'')},[_c('div',{staticClass:"show-line-box",style:(_vm.showStyle),on:{"click":_vm.onShow}})])])])}
|
|
25998
25998
|
var mainvue_type_template_id_64648f0f_scoped_true_staticRenderFns = []
|
|
25999
25999
|
|
|
@@ -26490,7 +26490,7 @@ tree_src_main.install = function(Vue) {
|
|
|
26490
26490
|
};
|
|
26491
26491
|
|
|
26492
26492
|
/* harmony default export */ var tree = (tree_src_main);
|
|
26493
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
26493
|
+
// 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/steps/src/main.vue?vue&type=template&id=3523f814&
|
|
26494
26494
|
var mainvue_type_template_id_3523f814_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.type === 'simple' || _vm.type === 'line')?_c('el-steps',{attrs:{"align-center":"","finish-status":"success","space":_vm.space,"active":_vm.active,"simple":_vm.type === 'simple',"process-status":_vm.type === 'simple' ? 'process' : 'success'},on:{"change":_vm.changeActive}},_vm._l((_vm.stepData),function(item,index){return _c('el-step',{key:item.title + index,staticClass:"sone-steps",class:{
|
|
26495
26495
|
'sone-steps-currentColor': _vm.active === index,
|
|
26496
26496
|
'sone-steps-finishColor': _vm.active > index,
|
|
@@ -26762,14 +26762,14 @@ steps_src_main.install = function(Vue) {
|
|
|
26762
26762
|
};
|
|
26763
26763
|
|
|
26764
26764
|
/* harmony default export */ var steps = (steps_src_main);
|
|
26765
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
26765
|
+
// 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/upload/src/main.vue?vue&type=template&id=16154f4a&
|
|
26766
26766
|
var mainvue_type_template_id_16154f4a_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"sone-upload-box",class:{ 'sone-upload-box-full': _vm.type === 'img' && !_vm.multiple }},[(!_vm.disabled)?_c('el-upload',{ref:"upload",attrs:{"action":"","show-file-list":false,"accept":_vm.acceptType,"multiple":_vm.multiple,"drag":_vm.type === 'img' && !_vm.multiple,"before-upload":_vm.beforeUpload,"http-request":_vm.httpRequest}},[(_vm.type !== 'img')?_c('icon-button',{ref:"uploadBtn",staticClass:"sone-upload-btn",attrs:{"iconfont":false,"tooltipDisabled":_vm.tooltipDisabled,"enterable":false,"content":"上传","placement":"top","icon":_vm.uploadIcon}}):_vm._e(),(_vm.type === 'img' && !_vm.multiple)?_c('div',{staticClass:"sone-upload-drag"},[_c('el-tooltip',{attrs:{"enterable":false,"content":"上传","placement":"top"}},[_c('i',{class:_vm.uploadIcon})]),_c('div',{ref:"uploadBtn",staticClass:"el-upload__text"},[_vm._v("将文件拖到此处,或"),_c('em',[_vm._v("点击上传")])])],1):_vm._e(),(_vm.type === 'img' && _vm.multiple)?_c('div',{staticClass:"sone-upload-multipleBtn"},[_c('el-tooltip',{attrs:{"enterable":false,"content":"上传","placement":"top"}},[_c('i',{staticClass:"el-icon-plus"})])],1):_vm._e()],1):_vm._e(),(_vm.type !== 'img' && !_vm.multiple && _vm.fileList)?_c('div',{staticClass:"sone-upload-file"},[_c('el-tooltip',{attrs:{"enterable":false,"content":_vm.fileList.name,"placement":"top"}},[_c('span',{staticClass:"sone-upload-file-name",attrs:{"title":_vm.fileList.name},on:{"click":function($event){return _vm.clickName(_vm.fileList)}}},[_vm._v(" "+_vm._s(_vm.fileList.name)+" "),_c('el-image',{staticClass:"sone-upload-preview",attrs:{"src":_vm.fileList.src,"preview-src-list":[_vm.fileList.src]}})],1)]),(!_vm.disabled && _vm.fileList.percentage === 100)?_c('i',{staticClass:"sone-upload-file-success el-icon-circle-check"}):_vm._e(),_c('el-tooltip',{attrs:{"enterable":false,"content":"删除","placement":"top"}},[(!_vm.disabled)?_c('i',{staticClass:"sone-upload-file-del el-icon-circle-close",attrs:{"title":"删除"},on:{"click":function($event){return _vm.del(_vm.fileList)}}}):_vm._e()]),_c('el-tooltip',{attrs:{"enterable":false,"content":"下载","placement":"top"}},[(_vm.disabled)?_c('i',{staticClass:"sone-upload-file-download el-icon-download",attrs:{"title":"下载"},on:{"click":function($event){return _vm.download(_vm.fileList)}}}):_vm._e()]),_c('el-progress',{directives:[{name:"show",rawName:"v-show",value:(_vm.fileList.percentage && _vm.fileList.percentage !== 100),expression:"fileList.percentage && fileList.percentage !== 100"}],staticClass:"sone-upload-file-progress",attrs:{"percentage":_vm.fileList.percentage,"stroke-width":3,"show-text":false}}),_c('div',{staticClass:"sone-upload-file-background"})],1):_vm._e(),(_vm.type === 'img' && !_vm.multiple && _vm.fileList)?_c('div',{staticClass:"sone-upload-singleImg"},[(_vm.fileList.src)?_c('img',{staticClass:"sone-upload-img",attrs:{"src":_vm.fileList.src,"alt":""}}):_vm._e(),_c('div',{staticClass:"sone-upload-mask"},[_c('el-tooltip',{attrs:{"enterable":false,"content":"预览","placement":"top"}},[_c('el-image',{staticClass:"sone-upload-preview sone-upload-mask-icon el-icon-view",attrs:{"src":_vm.fileList.src,"preview-src-list":[_vm.fileList.src]}})],1),_c('el-tooltip',{attrs:{"enterable":false,"content":"下载","placement":"top"}},[_c('i',{staticClass:"sone-upload-mask-icon el-icon-download",on:{"click":function($event){return _vm.download(_vm.fileList)}}})]),_c('el-tooltip',{directives:[{name:"show",rawName:"v-show",value:(_vm.singleDelBtn),expression:"singleDelBtn"}],attrs:{"enterable":false,"content":"删除","placement":"top"}},[(!_vm.disabled)?_c('i',{staticClass:"sone-upload-mask-icon el-icon-delete",on:{"click":function($event){return _vm.del(_vm.fileList)}}}):_vm._e()]),_c('el-tooltip',{directives:[{name:"show",rawName:"v-show",value:(_vm.singleEditBtn),expression:"singleEditBtn"}],attrs:{"enterable":false,"content":"编辑","placement":"top"}},[(!_vm.disabled)?_c('i',{staticClass:"sone-upload-mask-icon el-icon-upload2",on:{"click":_vm.editImg}}):_vm._e()])],1),_c('el-progress',{directives:[{name:"show",rawName:"v-show",value:(_vm.fileList.percentage && _vm.fileList.percentage !== 100),expression:"fileList.percentage && fileList.percentage !== 100"}],staticClass:"sone-upload-file-progress",attrs:{"percentage":_vm.fileList.percentage,"stroke-width":3,"show-text":false}})],1):_vm._e(),(_vm.type === 'img' && _vm.multiple && _vm.fileList)?_c('div',{staticClass:"sone-upload-multipleImg-box"},[(!_vm.disabled)?_c('div',{staticClass:"sone-upload-blank"}):_vm._e(),_vm._l((_vm.fileList),function(item,index){return _c('div',{key:item.name + index,staticClass:"sone-upload-multipleImg"},[(item.src)?_c('img',{staticClass:"sone-upload-img",attrs:{"src":item.src,"alt":""}}):_vm._e(),_c('div',{staticClass:"sone-upload-mask"},[_c('el-tooltip',{attrs:{"enterable":false,"content":"预览","placement":"top"}},[_c('el-image',{staticClass:"sone-upload-preview sone-upload-mask-icon el-icon-view",attrs:{"src":item.src,"preview-src-list":_vm.previewList}})],1),_c('el-tooltip',{attrs:{"enterable":false,"content":"下载","placement":"top"}},[_c('i',{staticClass:"sone-upload-mask-icon el-icon-download",on:{"click":function($event){return _vm.download(item)}}})]),_c('el-tooltip',{attrs:{"enterable":false,"content":"删除","placement":"top"}},[(!_vm.disabled)?_c('i',{staticClass:"sone-upload-mask-icon el-icon-delete",on:{"click":function($event){return _vm.del(item, index)}}}):_vm._e()])],1),_c('el-progress',{directives:[{name:"show",rawName:"v-show",value:(item.percentage && item.percentage !== 100),expression:"item.percentage && item.percentage !== 100"}],staticClass:"sone-upload-file-progress",attrs:{"percentage":item.percentage,"stroke-width":3,"show-text":false}})],1)})],2):_vm._e()],1)}
|
|
26767
26767
|
var mainvue_type_template_id_16154f4a_staticRenderFns = []
|
|
26768
26768
|
|
|
26769
26769
|
|
|
26770
26770
|
// CONCATENATED MODULE: ./packages/upload/src/main.vue?vue&type=template&id=16154f4a&
|
|
26771
26771
|
|
|
26772
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
26772
|
+
// 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/IconButton/index.vue?vue&type=template&id=943e0cac&scoped=true&
|
|
26773
26773
|
var IconButtonvue_type_template_id_943e0cac_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-tooltip',{attrs:{"content":_vm.content,"placement":"top","effect":"light","disabled":_vm.tooltipDisabled}},[_c('el-button',{staticClass:"sm-icon-button",attrs:{"circle":_vm.circle,"plain":_vm.plain,"loading":_vm.localLoading,"type":_vm.type,"size":_vm.btnSize,"disabled":_vm.disabled},on:{"click":function($event){return _vm.$emit('click', _vm.setLoading)}}},[(_vm.tooltipDisabled)?_c('span',[_vm._v(_vm._s(_vm.content))]):_vm._e(),(_vm.icon && !_vm.localLoading && !_vm.tooltipDisabled)?_c('i',{class:[ _vm.iconfont && 'iconfont', _vm.icon ],on:{"click":function($event){return _vm.$emit('click')}}}):_vm._e(),(!_vm.icon && !_vm.localLoading)?_vm._t("default"):_vm._e()],2)],1)}
|
|
26774
26774
|
var IconButtonvue_type_template_id_943e0cac_scoped_true_staticRenderFns = []
|
|
26775
26775
|
|
|
@@ -27344,9 +27344,9 @@ Watermark.clearAll = function () {
|
|
|
27344
27344
|
|
|
27345
27345
|
/* harmony default export */ var watermark = (watermark_src_main);
|
|
27346
27346
|
|
|
27347
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
27348
|
-
var
|
|
27349
|
-
height: _vm.showCollapse && !_vm.isBottomCollapse ?
|
|
27347
|
+
// 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/form/src/mainNoDrag.vue?vue&type=template&id=7165c062&
|
|
27348
|
+
var mainNoDragvue_type_template_id_7165c062_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-form',{ref:"sone-form",staticClass:"sone-form-box",style:({
|
|
27349
|
+
height: _vm.showCollapse && !_vm.isBottomCollapse ? _vm.rowHeight * _vm.rowHideCount + 4 + 'px' : 'auto',
|
|
27350
27350
|
'overflow-y': _vm.showCollapse && _vm.isBottomCollapse ? 'auto' : 'hidden'
|
|
27351
27351
|
}),attrs:{"label-position":"top","label-width":"80px","show-message":false,"model":_vm.form,"disabled":_vm.disabled},nativeOn:{"submit":function($event){$event.preventDefault();}}},[_c('el-row',{attrs:{"gutter":_vm.gutter}},[_vm._l((_vm.layout),function(item){return [(item.hasOwnProperty('show') ? item.show : true)?_c('el-col',{key:item.i,attrs:{"span":item.span || 6}},[_c('el-form-item',{directives:[{name:"loading",rawName:"v-loading",value:(item.loading),expression:"item.loading"}],class:{
|
|
27352
27352
|
'sone-form-no-label': !item.fieldLabel,
|
|
@@ -27361,10 +27361,10 @@ var mainNoDragvue_type_template_id_6e3e3176_render = function () {var _vm=this;v
|
|
|
27361
27361
|
_vm.form.hasOwnProperty(item.fieldName))?[(item.layoutType === 'datetime')?_c('el-date-picker',{attrs:{"clearable":item.hasOwnProperty('clearable') ? item.clearable : true,"type":item.layoutType,"placeholder":item.placeholder,"disabled":item.disabled,"value-format":item.valueFormat},on:{"focus":function($event){return _vm.focusFn(item.fieldName)}},model:{value:(_vm.form[item.fieldName]),callback:function ($$v) {_vm.$set(_vm.form, item.fieldName, $$v)},expression:"form[item.fieldName]"}}):_c('el-date-picker',{attrs:{"clearable":item.hasOwnProperty('clearable') ? item.clearable : true,"type":item.layoutType,"format":item.format,"placeholder":item.placeholder,"disabled":item.disabled,"value-format":item.valueFormat},on:{"focus":function($event){return _vm.focusFn(item.fieldName)}},model:{value:(_vm.form[item.fieldName]),callback:function ($$v) {_vm.$set(_vm.form, item.fieldName, $$v)},expression:"form[item.fieldName]"}})]:_vm._e(),((item.layoutType === 'daterange' ||
|
|
27362
27362
|
item.layoutType === 'datetimerange' ) &&
|
|
27363
27363
|
_vm.form.hasOwnProperty(item.fieldName))?[_c('el-date-picker',{attrs:{"clearable":item.hasOwnProperty('clearable') ? item.clearable : true,"type":item.layoutType,"format":item.format,"range-separator":item.rangeSeparator,"start-placeholder":item.startPlaceholder,"end-placeholder":item.endPlaceholder,"disabled":item.disabled,"value-format":item.valueFormat,"default-time":item.defaultTime},on:{"focus":function($event){return _vm.focusFn(item.fieldName)},"change":function (val) { return _vm.updateDate(val, item); }},model:{value:(_vm.form[item.fieldName]),callback:function ($$v) {_vm.$set(_vm.form, item.fieldName, $$v)},expression:"form[item.fieldName]"}})]:_vm._e(),(item.layoutType && item.layoutType.indexOf('slot') !== -1)?[_vm._t("default",null,{"data":item})]:_vm._e()],2)],1):_vm._e()]})],2),(_vm.showCollapse)?_c('div',{class:['more-line', _vm.isBottomCollapse ? 'more-collapse': ''],on:{"click":_vm.toggle}}):_vm._e(),(_vm.showDefaultFooter && !_vm.disabled)?[_c('el-form-item',{staticClass:"sone-form-footer"},[_c('el-button',{staticClass:"iconfont icon-close",on:{"click":_vm.cancel}}),(_vm.showResetBtn)?_c('el-button',{staticClass:"iconfont icon-redo",on:{"click":_vm.reset}}):_vm._e(),_c('el-button',{staticClass:"iconfont icon-confirm",attrs:{"type":"primary"},on:{"click":_vm.submit}})],1)]:_vm._e(),(!_vm.showDefaultFooter && !_vm.disabled)?[_vm._t("footer")]:_vm._e()],2)}
|
|
27364
|
-
var
|
|
27364
|
+
var mainNoDragvue_type_template_id_7165c062_staticRenderFns = []
|
|
27365
27365
|
|
|
27366
27366
|
|
|
27367
|
-
// CONCATENATED MODULE: ./packages/form/src/mainNoDrag.vue?vue&type=template&id=
|
|
27367
|
+
// CONCATENATED MODULE: ./packages/form/src/mainNoDrag.vue?vue&type=template&id=7165c062&
|
|
27368
27368
|
|
|
27369
27369
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/mainNoDrag.vue?vue&type=script&lang=js&
|
|
27370
27370
|
//
|
|
@@ -27612,7 +27612,7 @@ var mainNoDragvue_type_template_id_6e3e3176_staticRenderFns = []
|
|
|
27612
27612
|
},
|
|
27613
27613
|
rowHeight:{ //行高
|
|
27614
27614
|
type: Number,
|
|
27615
|
-
default:
|
|
27615
|
+
default: 59
|
|
27616
27616
|
},
|
|
27617
27617
|
colNum:{ //定义栅格系统的列数
|
|
27618
27618
|
type: Number,
|
|
@@ -27669,7 +27669,7 @@ var mainNoDragvue_type_template_id_6e3e3176_staticRenderFns = []
|
|
|
27669
27669
|
rowHideCount: { //隐藏行数
|
|
27670
27670
|
type: Number,
|
|
27671
27671
|
default: 3,
|
|
27672
|
-
}
|
|
27672
|
+
},
|
|
27673
27673
|
},
|
|
27674
27674
|
data() {
|
|
27675
27675
|
return {
|
|
@@ -27827,6 +27827,7 @@ var mainNoDragvue_type_template_id_6e3e3176_staticRenderFns = []
|
|
|
27827
27827
|
* @description 展开折叠事件
|
|
27828
27828
|
**/
|
|
27829
27829
|
toggle(){
|
|
27830
|
+
this.$refs['sone-form'].$el.scrollTop = 0;
|
|
27830
27831
|
this.isBottomCollapse = !this.isBottomCollapse;
|
|
27831
27832
|
this.$emit('toggle', this.isBottomCollapse);
|
|
27832
27833
|
}
|
|
@@ -27845,8 +27846,8 @@ var mainNoDragvue_type_template_id_6e3e3176_staticRenderFns = []
|
|
|
27845
27846
|
|
|
27846
27847
|
var mainNoDrag_component = normalizeComponent(
|
|
27847
27848
|
src_mainNoDragvue_type_script_lang_js_,
|
|
27848
|
-
|
|
27849
|
-
|
|
27849
|
+
mainNoDragvue_type_template_id_7165c062_render,
|
|
27850
|
+
mainNoDragvue_type_template_id_7165c062_staticRenderFns,
|
|
27850
27851
|
false,
|
|
27851
27852
|
null,
|
|
27852
27853
|
null,
|
|
@@ -27873,7 +27874,7 @@ mainNoDrag.install = function(Vue) {
|
|
|
27873
27874
|
};
|
|
27874
27875
|
|
|
27875
27876
|
/* harmony default export */ var packages_form = (mainNoDrag);
|
|
27876
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
27877
|
+
// 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/dialog/src/main.vue?vue&type=template&id=8bc26af4&
|
|
27877
27878
|
var mainvue_type_template_id_8bc26af4_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"sone-dialog",staticStyle:{"position":"relative"}},[_c('el-dialog',{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],class:[_vm.dialogFullScreenState ? 'dialog-full-screen' : ''],attrs:{"before-close":_vm.handleClose,"modal":_vm.modal,"title":_vm.title,"close-on-click-modal":_vm.closeOnClickModal,"append-to-body":_vm.appendToBody,"top":'0',"visible":_vm.dialogVisible,"width":_vm.dialogSize,"custom-class":_vm.customClass},on:{"update:visible":function($event){_vm.dialogVisible=$event}},scopedSlots:_vm._u([{key:"title",fn:function(){return [_vm._t("title")]},proxy:true},{key:"default",fn:function(){return [_vm._t("default"),_vm._t("container"),(_vm.showDialogFullScreen)?_c('div',{staticClass:"dialog-full-screen-btn"},[(_vm.dialogFullScreenState)?[_c('el-tooltip',{attrs:{"effect":"light","content":"退出全屏","placement":"top"}},[_c('el-button',{attrs:{"type":"text","icon":"iconfont icon-fullscreen-exit"},on:{"click":function($event){$event.stopPropagation();return _vm.exitFullScreen.apply(null, arguments)}}})],1)]:[_c('el-tooltip',{attrs:{"effect":"light","content":"全屏","placement":"top"}},[_c('el-button',{attrs:{"type":"text","icon":"iconfont icon-fullscreen"},on:{"click":function($event){$event.stopPropagation();return _vm.fullScreen.apply(null, arguments)}}})],1)]],2):_vm._e()]},proxy:true},{key:"footer",fn:function(){return [(_vm.$slots.footer)?_c('div',{staticClass:"sone-dialog-custom-footer-wrapper"},[_vm._t("footer")],2):[(_vm.showFooter)?[_c('icon-button',{attrs:{"tooltipDisabled":_vm.tooltipDisabled,"content":_vm.cancel,"placement":"top","loading":_vm.loading,"icon":"el-icon-close","iconfont":false},on:{"click":_vm.handleClose}}),_c('icon-button',{attrs:{"tooltipDisabled":_vm.tooltipDisabled,"content":_vm.confirm,"placement":"top","loading":_vm.loading,"icon":"el-icon-check","type":"primary","iconfont":false},on:{"click":_vm.handleConfirm}})]:_vm._e()]]},proxy:true}],null,true)})],1)}
|
|
27878
27879
|
var mainvue_type_template_id_8bc26af4_staticRenderFns = []
|
|
27879
27880
|
|
|
@@ -28088,14 +28089,14 @@ dialog_src_main.install = function(Vue) {
|
|
|
28088
28089
|
|
|
28089
28090
|
/* harmony default export */ var dialog = (dialog_src_main);
|
|
28090
28091
|
|
|
28091
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
28092
|
-
var mainvue_type_template_id_1016d674_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},"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:{"useVirtual":_vm.option.useVirtual,"rowHeight":_vm.option.rowHeight,"excessRows":_vm.option.excessRows,"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)}
|
|
28093
|
-
var
|
|
28092
|
+
// 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/main.vue?vue&type=template&id=19c6a969&
|
|
28093
|
+
var mainvue_type_template_id_19c6a969_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},"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)}
|
|
28094
|
+
var mainvue_type_template_id_19c6a969_staticRenderFns = []
|
|
28094
28095
|
|
|
28095
28096
|
|
|
28096
|
-
// CONCATENATED MODULE: ./packages/table/src/main.vue?vue&type=template&id=
|
|
28097
|
+
// CONCATENATED MODULE: ./packages/table/src/main.vue?vue&type=template&id=19c6a969&
|
|
28097
28098
|
|
|
28098
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
28099
|
+
// 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/columnTransfer.vue?vue&type=template&id=14f18798&
|
|
28099
28100
|
var columnTransfervue_type_template_id_14f18798_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('el-tooltip',{attrs:{"effect":"light","content":"重置","placement":"top"}},[_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(item,false)}}})]),_c('el-tooltip',{attrs:{"placement":"top","content":"固定在右侧","effect":"light"}},[_c('i',{staticClass:"iconfont iconfont-action icon-down1",on:{"click":function($event){return _vm.selectFixed(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(item, false)}}})]),_c('el-tooltip',{attrs:{"placement":"top","content":"固定在左侧","effect":"light"}},[_c('i',{staticClass:"iconfont iconfont-action icon-up1",on:{"click":function($event){return _vm.selectFixed(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(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(item,'right')}}})])],1)])}),0)],1)])])])],1)}
|
|
28100
28101
|
var columnTransfervue_type_template_id_14f18798_staticRenderFns = []
|
|
28101
28102
|
|
|
@@ -32858,9 +32859,6 @@ var columnTransfer_component = normalizeComponent(
|
|
|
32858
32859
|
//
|
|
32859
32860
|
//
|
|
32860
32861
|
//
|
|
32861
|
-
//
|
|
32862
|
-
//
|
|
32863
|
-
//
|
|
32864
32862
|
|
|
32865
32863
|
|
|
32866
32864
|
|
|
@@ -33589,8 +33587,8 @@ var columnTransfer_component = normalizeComponent(
|
|
|
33589
33587
|
|
|
33590
33588
|
var table_src_main_component = normalizeComponent(
|
|
33591
33589
|
packages_table_src_mainvue_type_script_lang_js_,
|
|
33592
|
-
|
|
33593
|
-
|
|
33590
|
+
mainvue_type_template_id_19c6a969_render,
|
|
33591
|
+
mainvue_type_template_id_19c6a969_staticRenderFns,
|
|
33594
33592
|
false,
|
|
33595
33593
|
null,
|
|
33596
33594
|
null,
|
|
@@ -33616,17 +33614,21 @@ table_src_main.install = function(Vue) {
|
|
|
33616
33614
|
|
|
33617
33615
|
/* harmony default export */ var table = (table_src_main);
|
|
33618
33616
|
|
|
33619
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
33620
|
-
var
|
|
33621
|
-
var
|
|
33622
|
-
var data = ref.data;
|
|
33623
|
-
return _c('div',{staticClass:"custom-select-tree-node"},[_c('el-option',{key:data[_vm.props.value],attrs:{"label":_vm.formatLabelFunc(data, _vm.props.label),"value":data[_vm.props.value],"disabled":data[_vm.props.disabled]}})],1)}}])})]:_vm._e()],2)}
|
|
33624
|
-
var mainvue_type_template_id_bd9422c6_staticRenderFns = []
|
|
33617
|
+
// 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/main.vue?vue&type=template&id=5e32d83a&
|
|
33618
|
+
var mainvue_type_template_id_5e32d83a_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('ColumnTransfer',{ref:"column-transfer",attrs:{"columns":_vm.internalColumns},on:{"update:columns":function($event){_vm.internalColumns=$event},"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,"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,"selection-change":_vm.handleSelectionChange}},[(_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 [(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,1578741255)}):_vm._e(),(_vm.option.index)?_c('el-table-column',{attrs:{"width":_vm.option.indexWidth||50,"fixed":"","label":_vm.option.indexLabel ? _vm.option.indexLabel : '序号',"type":"index","index":_vm.indexMethod,"resizable":_vm.option.hasOwnProperty('indexResizable') ? _vm.option.indexResizable : true}}):_vm._e(),(_vm.option.hasOwnProperty('selection') ? _vm.option.selection : false)?_c('el-table-column',{attrs:{"type":"selection","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":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":String(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._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)}
|
|
33619
|
+
var mainvue_type_template_id_5e32d83a_staticRenderFns = []
|
|
33625
33620
|
|
|
33626
33621
|
|
|
33627
|
-
// CONCATENATED MODULE: ./packages/
|
|
33622
|
+
// CONCATENATED MODULE: ./packages/normalTable/src/main.vue?vue&type=template&id=5e32d83a&
|
|
33628
33623
|
|
|
33629
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/
|
|
33624
|
+
// 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/columnTransfer.vue?vue&type=template&id=1726edc2&
|
|
33625
|
+
var columnTransfervue_type_template_id_1726edc2_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('el-tooltip',{attrs:{"effect":"light","content":"重置","placement":"top"}},[_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(item,false)}}})]),_c('el-tooltip',{attrs:{"placement":"top","content":"固定在右侧","effect":"light"}},[_c('i',{staticClass:"iconfont iconfont-action icon-down1",on:{"click":function($event){return _vm.selectFixed(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(item, false)}}})]),_c('el-tooltip',{attrs:{"placement":"top","content":"固定在左侧","effect":"light"}},[_c('i',{staticClass:"iconfont iconfont-action icon-up1",on:{"click":function($event){return _vm.selectFixed(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(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(item,'right')}}})])],1)])}),0)],1)])])])],1)}
|
|
33626
|
+
var columnTransfervue_type_template_id_1726edc2_staticRenderFns = []
|
|
33627
|
+
|
|
33628
|
+
|
|
33629
|
+
// CONCATENATED MODULE: ./packages/normalTable/src/columnTransfer.vue?vue&type=template&id=1726edc2&
|
|
33630
|
+
|
|
33631
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/normalTable/src/columnTransfer.vue?vue&type=script&lang=js&
|
|
33630
33632
|
//
|
|
33631
33633
|
//
|
|
33632
33634
|
//
|
|
@@ -33695,228 +33697,6 @@ var mainvue_type_template_id_bd9422c6_staticRenderFns = []
|
|
|
33695
33697
|
//
|
|
33696
33698
|
//
|
|
33697
33699
|
//
|
|
33698
|
-
|
|
33699
|
-
/* harmony default export */ var select_src_mainvue_type_script_lang_js_ = ({
|
|
33700
|
-
name: "SoneSelect",
|
|
33701
|
-
components: {},
|
|
33702
|
-
model: {
|
|
33703
|
-
prop: "model",
|
|
33704
|
-
event: "changeVal"
|
|
33705
|
-
},
|
|
33706
|
-
props: {
|
|
33707
|
-
type: {
|
|
33708
|
-
/* 组件类型:普通:normal, 属性:tree */
|
|
33709
|
-
type: String,
|
|
33710
|
-
default: "normal"
|
|
33711
|
-
},
|
|
33712
|
-
model: {
|
|
33713
|
-
/* 绑定的数据 */
|
|
33714
|
-
default: null
|
|
33715
|
-
},
|
|
33716
|
-
placeholder: {
|
|
33717
|
-
/* 占位符 */
|
|
33718
|
-
type: String,
|
|
33719
|
-
default: "请选择"
|
|
33720
|
-
},
|
|
33721
|
-
multiple: {
|
|
33722
|
-
/* 是否多选 */
|
|
33723
|
-
type: Boolean,
|
|
33724
|
-
default: false
|
|
33725
|
-
},
|
|
33726
|
-
disabled: {
|
|
33727
|
-
/* 是否禁用 */
|
|
33728
|
-
type: Boolean,
|
|
33729
|
-
default: false
|
|
33730
|
-
},
|
|
33731
|
-
clearable: {
|
|
33732
|
-
/* 是否可以清空选项 */
|
|
33733
|
-
type: Boolean,
|
|
33734
|
-
default: true
|
|
33735
|
-
},
|
|
33736
|
-
options: {
|
|
33737
|
-
/* 下拉选项列表 */
|
|
33738
|
-
type: Array,
|
|
33739
|
-
default: () => []
|
|
33740
|
-
},
|
|
33741
|
-
props: {
|
|
33742
|
-
/* 配置选项 */
|
|
33743
|
-
type: Object,
|
|
33744
|
-
default: () => {
|
|
33745
|
-
return {
|
|
33746
|
-
children: "children",
|
|
33747
|
-
label: "label",
|
|
33748
|
-
value: "value",
|
|
33749
|
-
disabled: "disabled"
|
|
33750
|
-
};
|
|
33751
|
-
}
|
|
33752
|
-
},
|
|
33753
|
-
checkStrictly: {
|
|
33754
|
-
/* 树形- */
|
|
33755
|
-
type: Boolean,
|
|
33756
|
-
default: true
|
|
33757
|
-
},
|
|
33758
|
-
popperClass: {
|
|
33759
|
-
//Select 下拉框的类名
|
|
33760
|
-
type: String,
|
|
33761
|
-
default: ""
|
|
33762
|
-
},
|
|
33763
|
-
popperAppendToBody: {
|
|
33764
|
-
/* 是否将弹出框插入至 body 元素。在弹出框的定位出现问题时,可将该属性设置为 false */
|
|
33765
|
-
type: Boolean,
|
|
33766
|
-
default: false
|
|
33767
|
-
},
|
|
33768
|
-
formatLabelFunc: {
|
|
33769
|
-
/* 格式化Label函数 */
|
|
33770
|
-
type: Function,
|
|
33771
|
-
default: (data, label) => {
|
|
33772
|
-
return data[label];
|
|
33773
|
-
}
|
|
33774
|
-
},
|
|
33775
|
-
filterMethod: {
|
|
33776
|
-
type: Function,
|
|
33777
|
-
default: null
|
|
33778
|
-
}
|
|
33779
|
-
},
|
|
33780
|
-
data() {
|
|
33781
|
-
return {
|
|
33782
|
-
optionsClone: [],
|
|
33783
|
-
checkedNodes: [],
|
|
33784
|
-
internalOptions: []
|
|
33785
|
-
};
|
|
33786
|
-
},
|
|
33787
|
-
watch: {
|
|
33788
|
-
"model.length"(newValue, oldValue) {
|
|
33789
|
-
if (this.type === "tree" && Array.isArray(this.model)) {
|
|
33790
|
-
this.$refs.treeRef.setCheckedKeys(this.model);
|
|
33791
|
-
}
|
|
33792
|
-
},
|
|
33793
|
-
options: {
|
|
33794
|
-
handler(newVal, oldVal) {
|
|
33795
|
-
if (newVal) {
|
|
33796
|
-
this.internalOptions = [...newVal];
|
|
33797
|
-
this.optionsClone = [...newVal];
|
|
33798
|
-
}
|
|
33799
|
-
},
|
|
33800
|
-
immediate: true,
|
|
33801
|
-
deep: true
|
|
33802
|
-
}
|
|
33803
|
-
},
|
|
33804
|
-
computed: {},
|
|
33805
|
-
created() {},
|
|
33806
|
-
mounted() {
|
|
33807
|
-
if (Array.isArray(this.model)) {
|
|
33808
|
-
this.checkedNodes = [...this.model];
|
|
33809
|
-
}
|
|
33810
|
-
},
|
|
33811
|
-
methods: {
|
|
33812
|
-
onChange(val) {
|
|
33813
|
-
/* v-model */
|
|
33814
|
-
this.$emit("changeVal", val);
|
|
33815
|
-
if (!this.multiple) {
|
|
33816
|
-
this.$emit("change", val);
|
|
33817
|
-
}
|
|
33818
|
-
},
|
|
33819
|
-
onRemoveTag(val) {
|
|
33820
|
-
this.$emit("change", this.model);
|
|
33821
|
-
this.$emit("remove-tag", val);
|
|
33822
|
-
},
|
|
33823
|
-
onFilterOption(words) {
|
|
33824
|
-
if (this.filterMethod) {
|
|
33825
|
-
this.filterMethod(words);
|
|
33826
|
-
} else {
|
|
33827
|
-
if (this.type === "normal") {
|
|
33828
|
-
let aResult = this.optionsClone.filter(item => {
|
|
33829
|
-
return (
|
|
33830
|
-
item[this.props.label]
|
|
33831
|
-
.toLowerCase()
|
|
33832
|
-
.indexOf(words.toLowerCase()) > -1
|
|
33833
|
-
);
|
|
33834
|
-
});
|
|
33835
|
-
if (aResult.length) {
|
|
33836
|
-
this.internalOptions = [...aResult];
|
|
33837
|
-
} else {
|
|
33838
|
-
this.internalOptions = [...this.optionsClone];
|
|
33839
|
-
}
|
|
33840
|
-
} else if (this.type === "tree") {
|
|
33841
|
-
this.$refs.treeRef.filter(words);
|
|
33842
|
-
}
|
|
33843
|
-
}
|
|
33844
|
-
},
|
|
33845
|
-
onFilterNode(val, data) {
|
|
33846
|
-
if (!val) return true;
|
|
33847
|
-
return data[this.props.label].indexOf(val) !== -1;
|
|
33848
|
-
},
|
|
33849
|
-
handleVisible(val) {
|
|
33850
|
-
if (!val) {
|
|
33851
|
-
if (this.type === "tree") {
|
|
33852
|
-
this.multiple && this.$emit("change", this.model);
|
|
33853
|
-
this.$refs.treeRef.filter("");
|
|
33854
|
-
} else if (this.type === "normal") {
|
|
33855
|
-
this.multiple && this.$emit("change", this.model);
|
|
33856
|
-
}
|
|
33857
|
-
// this.options = [...this.optionsClone];
|
|
33858
|
-
}
|
|
33859
|
-
},
|
|
33860
|
-
onCheckNode(checkedNodes, checkedKeys) {
|
|
33861
|
-
this.$emit("changeVal", [...checkedKeys.checkedKeys]);
|
|
33862
|
-
},
|
|
33863
|
-
onClear() {
|
|
33864
|
-
if (this.type === "normal") {
|
|
33865
|
-
this.internalOptions = [...this.options];
|
|
33866
|
-
}
|
|
33867
|
-
this.$emit("clear");
|
|
33868
|
-
},
|
|
33869
|
-
doTreeFilter(words) {
|
|
33870
|
-
this.$refs.treeRef && this.$refs.treeRef.filter(words);
|
|
33871
|
-
}
|
|
33872
|
-
}
|
|
33873
|
-
});
|
|
33874
|
-
|
|
33875
|
-
// CONCATENATED MODULE: ./packages/select/src/main.vue?vue&type=script&lang=js&
|
|
33876
|
-
/* harmony default export */ var packages_select_src_mainvue_type_script_lang_js_ = (select_src_mainvue_type_script_lang_js_);
|
|
33877
|
-
// CONCATENATED MODULE: ./packages/select/src/main.vue
|
|
33878
|
-
|
|
33879
|
-
|
|
33880
|
-
|
|
33881
|
-
|
|
33882
|
-
|
|
33883
|
-
/* normalize component */
|
|
33884
|
-
|
|
33885
|
-
var select_src_main_component = normalizeComponent(
|
|
33886
|
-
packages_select_src_mainvue_type_script_lang_js_,
|
|
33887
|
-
mainvue_type_template_id_bd9422c6_render,
|
|
33888
|
-
mainvue_type_template_id_bd9422c6_staticRenderFns,
|
|
33889
|
-
false,
|
|
33890
|
-
null,
|
|
33891
|
-
null,
|
|
33892
|
-
null
|
|
33893
|
-
|
|
33894
|
-
)
|
|
33895
|
-
|
|
33896
|
-
/* harmony default export */ var select_src_main = (select_src_main_component.exports);
|
|
33897
|
-
// CONCATENATED MODULE: ./packages/select/index.js
|
|
33898
|
-
/*
|
|
33899
|
-
* @Description: 下拉选择
|
|
33900
|
-
* @Author: songlin
|
|
33901
|
-
* @Date: 2021-08-26 16:39:21
|
|
33902
|
-
* @LastEditTime: 2021-09-30 09:37:41
|
|
33903
|
-
* @LastEditors: songlin
|
|
33904
|
-
*/
|
|
33905
|
-
|
|
33906
|
-
|
|
33907
|
-
select_src_main.install = function(Vue) {
|
|
33908
|
-
Vue.component(select_src_main.name, select_src_main);
|
|
33909
|
-
};
|
|
33910
|
-
|
|
33911
|
-
/* harmony default export */ var packages_select = (select_src_main);
|
|
33912
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b8cbef8c-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/datePicker/src/main.vue?vue&type=template&id=1dad9dac&
|
|
33913
|
-
var mainvue_type_template_id_1dad9dac_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"sone-date-picker"},[(_vm.type === 'time')?_c('el-time-picker',{attrs:{"type":"time","readonly":_vm.readonly,"disabled":_vm.disabled,"editable":_vm.editable,"clearable":_vm.clearable,"placeholder":_vm.placeholder,"align":_vm.align,"format":_vm.format,"popper-class":_vm.popperClass,"default-value":_vm.defaultValue,"name":_vm.name,"prefix-icon":_vm.prefixIcon,"clear-icon":_vm.clearIcon,"value-format":_vm.valueFormat,"pickerOptions":_vm.pickerOptions},on:{"change":_vm.changeValue,"blur":function($event){return _vm.$emit('blur', _vm.dateValue)},"focus":function($event){return _vm.$emit('focus', _vm.dateValue)}},model:{value:(_vm.dateValue),callback:function ($$v) {_vm.dateValue=$$v},expression:"dateValue"}}):_vm._e(),(_vm.type != 'time' && _vm.type != 'quarter')?_c('el-date-picker',{ref:"datePicker",attrs:{"type":_vm.type,"readonly":_vm.readonly,"disabled":_vm.disabled,"editable":_vm.editable,"clearable":_vm.clearable,"placeholder":_vm.placeholder,"align":_vm.align,"format":_vm.format,"popper-class":_vm.popperClass,"default-value":_vm.defaultValue,"default-time":_vm.defaultTime,"name":_vm.name,"prefix-icon":_vm.prefixIcon,"clear-icon":_vm.clearIcon,"value-format":_vm.valueFormat,"pickerOptions":_vm.pickerOptions},on:{"change":_vm.changeValue,"blur":function($event){return _vm.$emit('blur', _vm.dateValue)},"focus":function($event){return _vm.$emit('focus', _vm.dateValue)}},model:{value:(_vm.dateValue),callback:function ($$v) {_vm.dateValue=$$v},expression:"dateValue"}}):_vm._e(),(_vm.type == 'quarter')?_c('div',[_c('span',[_vm._v("季度")])]):_vm._e()],1)}
|
|
33914
|
-
var mainvue_type_template_id_1dad9dac_staticRenderFns = []
|
|
33915
|
-
|
|
33916
|
-
|
|
33917
|
-
// CONCATENATED MODULE: ./packages/datePicker/src/main.vue?vue&type=template&id=1dad9dac&
|
|
33918
|
-
|
|
33919
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/datePicker/src/main.vue?vue&type=script&lang=js&
|
|
33920
33700
|
//
|
|
33921
33701
|
//
|
|
33922
33702
|
//
|
|
@@ -33978,26 +33758,1154 @@ var mainvue_type_template_id_1dad9dac_staticRenderFns = []
|
|
|
33978
33758
|
//
|
|
33979
33759
|
//
|
|
33980
33760
|
//
|
|
33981
|
-
|
|
33982
|
-
//
|
|
33983
|
-
//
|
|
33984
|
-
//
|
|
33985
|
-
//
|
|
33986
|
-
//
|
|
33987
|
-
//
|
|
33988
|
-
|
|
33989
|
-
//
|
|
33990
|
-
|
|
33991
|
-
//
|
|
33992
|
-
|
|
33993
|
-
|
|
33994
|
-
|
|
33995
|
-
|
|
33996
|
-
|
|
33997
|
-
|
|
33998
|
-
|
|
33999
|
-
|
|
34000
|
-
|
|
33761
|
+
//
|
|
33762
|
+
//
|
|
33763
|
+
//
|
|
33764
|
+
//
|
|
33765
|
+
//
|
|
33766
|
+
//
|
|
33767
|
+
//
|
|
33768
|
+
//
|
|
33769
|
+
//
|
|
33770
|
+
//
|
|
33771
|
+
//
|
|
33772
|
+
//
|
|
33773
|
+
//
|
|
33774
|
+
//
|
|
33775
|
+
//
|
|
33776
|
+
//
|
|
33777
|
+
//
|
|
33778
|
+
//
|
|
33779
|
+
//
|
|
33780
|
+
//
|
|
33781
|
+
//
|
|
33782
|
+
//
|
|
33783
|
+
//
|
|
33784
|
+
//
|
|
33785
|
+
//
|
|
33786
|
+
//
|
|
33787
|
+
|
|
33788
|
+
|
|
33789
|
+
|
|
33790
|
+
/* harmony default export */ var normalTable_src_columnTransfervue_type_script_lang_js_ = ({
|
|
33791
|
+
name: "columnTransfer",
|
|
33792
|
+
props: {
|
|
33793
|
+
columns: {
|
|
33794
|
+
type: Array,
|
|
33795
|
+
},
|
|
33796
|
+
},
|
|
33797
|
+
data() {
|
|
33798
|
+
return {
|
|
33799
|
+
dragTarClass: 'drag' + Math.random().toString(36).slice(10),
|
|
33800
|
+
columnsCheckList: this.columns.map(item => { if (item.istrue) { return item.label } }).filter(v => v),
|
|
33801
|
+
|
|
33802
|
+
leftColumns: [],
|
|
33803
|
+
rightColumns: [],
|
|
33804
|
+
noColumns: [], //不定位的数组
|
|
33805
|
+
copyColumns: [],
|
|
33806
|
+
|
|
33807
|
+
columnsCheckAll: false,
|
|
33808
|
+
isIndeterminate: false,
|
|
33809
|
+
dialogVisible: false,
|
|
33810
|
+
}
|
|
33811
|
+
},
|
|
33812
|
+
watch: {
|
|
33813
|
+
columns: {
|
|
33814
|
+
deep: true,
|
|
33815
|
+
handler(){
|
|
33816
|
+
this.columnsCheckList = this.columns.map(item => { if (item.istrue) { return item.label } }).filter(v => v);
|
|
33817
|
+
this.copyColumns = deepClone(this.columns);
|
|
33818
|
+
this.handleCheckedColumns()
|
|
33819
|
+
this.int(this.copyColumns)
|
|
33820
|
+
}
|
|
33821
|
+
}
|
|
33822
|
+
},
|
|
33823
|
+
created() {
|
|
33824
|
+
this.copyColumns = deepClone(this.columns);
|
|
33825
|
+
this.handleCheckedColumns()
|
|
33826
|
+
this.int(this.copyColumns)
|
|
33827
|
+
},
|
|
33828
|
+
mounted() {
|
|
33829
|
+
this.rowDrop()
|
|
33830
|
+
this.rowDrop1()
|
|
33831
|
+
this.rowDrop2()
|
|
33832
|
+
},
|
|
33833
|
+
methods: {
|
|
33834
|
+
int(columns) {
|
|
33835
|
+
let data = deepClone(columns)
|
|
33836
|
+
this.leftColumns = data.filter(item => ["left", true].includes(item.fixed))
|
|
33837
|
+
this.rightColumns = data.filter(item => item.fixed == 'right')
|
|
33838
|
+
this.noColumns = data.filter(item => !item.fixed)
|
|
33839
|
+
},
|
|
33840
|
+
rowDrop() {
|
|
33841
|
+
const item = document.querySelector(`.${this.dragTarClass} .item`)
|
|
33842
|
+
const _this = this
|
|
33843
|
+
sortable_esm.create(item, {
|
|
33844
|
+
ghostClass: 'table-drag-ghost',
|
|
33845
|
+
onEnd({ newIndex, oldIndex }) {
|
|
33846
|
+
const currRow = _this.noColumns.splice(oldIndex, 1)[0]
|
|
33847
|
+
_this.noColumns.splice(newIndex, 0, currRow)
|
|
33848
|
+
_this.handleColumnsDrag()
|
|
33849
|
+
}
|
|
33850
|
+
})
|
|
33851
|
+
},
|
|
33852
|
+
rowDrop1() {
|
|
33853
|
+
const item = document.querySelector(`.${this.dragTarClass} .item1`)
|
|
33854
|
+
const _this = this
|
|
33855
|
+
sortable_esm.create(item, {
|
|
33856
|
+
ghostClass: 'table-drag-ghost',
|
|
33857
|
+
onEnd({ newIndex, oldIndex }) {
|
|
33858
|
+
const currRow = _this.leftColumns.splice(oldIndex, 1)[0]
|
|
33859
|
+
_this.leftColumns.splice(newIndex, 0, currRow)
|
|
33860
|
+
_this.handleColumnsDrag()
|
|
33861
|
+
}
|
|
33862
|
+
})
|
|
33863
|
+
},
|
|
33864
|
+
rowDrop2() {
|
|
33865
|
+
const item = document.querySelector(`.${this.dragTarClass} .item2`)
|
|
33866
|
+
const _this = this
|
|
33867
|
+
sortable_esm.create(item, {
|
|
33868
|
+
ghostClass: 'table-drag-ghost',
|
|
33869
|
+
onEnd({ newIndex, oldIndex }) {
|
|
33870
|
+
const currRow = _this.rightColumns.splice(oldIndex, 1)[0]
|
|
33871
|
+
_this.rightColumns.splice(newIndex, 0, currRow)
|
|
33872
|
+
_this.handleColumnsDrag()
|
|
33873
|
+
}
|
|
33874
|
+
})
|
|
33875
|
+
},
|
|
33876
|
+
|
|
33877
|
+
//type为false的时候为不固定,left为固定左侧,right为右侧
|
|
33878
|
+
selectFixed(column, type) {
|
|
33879
|
+
// let aTemp = [...this.leftColumns, ...this.noColumns, ...this.rightColumns];
|
|
33880
|
+
let aTemp = deepClone(this.columns);
|
|
33881
|
+
aTemp.some(item => {
|
|
33882
|
+
if (item.label === column.label) {
|
|
33883
|
+
if (this.columnsCheckList.includes(item.label)) {
|
|
33884
|
+
this.$set(item, 'istrue', true)
|
|
33885
|
+
} else {
|
|
33886
|
+
this.$set(item, 'istrue', false)
|
|
33887
|
+
}
|
|
33888
|
+
this.$set(item, 'fixed', type)
|
|
33889
|
+
return true
|
|
33890
|
+
}
|
|
33891
|
+
})
|
|
33892
|
+
this.$emit('selectFixed', aTemp)
|
|
33893
|
+
},
|
|
33894
|
+
|
|
33895
|
+
handleCheckedColumns() { // 初始化 - 判断是否默认全部选中
|
|
33896
|
+
let checkedCount = this.columnsCheckList.length;
|
|
33897
|
+
this.columnsCheckAll = checkedCount === this.columns.length;
|
|
33898
|
+
this.isIndeterminate = checkedCount > 0 && checkedCount < this.columns.length;
|
|
33899
|
+
},
|
|
33900
|
+
//事件-是否勾选-列展示
|
|
33901
|
+
handleColumnsCheckListChange(value) {
|
|
33902
|
+
this.columnsCheckList = value ? this.columns.map(item => item.label) : [];
|
|
33903
|
+
this.isIndeterminate = false;
|
|
33904
|
+
let returnColumns = this.columns.map(column => {
|
|
33905
|
+
this.$set(column, 'istrue', value);
|
|
33906
|
+
return column
|
|
33907
|
+
})
|
|
33908
|
+
this.$emit('handleCheckedColumnChange', this.columnsCheckList, null)
|
|
33909
|
+
},
|
|
33910
|
+
handleCheckedColumnChange(value) {
|
|
33911
|
+
let filteredValues = value.filter(v => v);
|
|
33912
|
+
let checkedCount = filteredValues.length;
|
|
33913
|
+
this.columnsCheckAll = checkedCount === this.copyColumns.length;
|
|
33914
|
+
this.isIndeterminate = checkedCount > 0 && checkedCount < this.columns.map(item => item.label).length;
|
|
33915
|
+
|
|
33916
|
+
let returnColumns = deepClone(this.columns);
|
|
33917
|
+
returnColumns.forEach(column => {
|
|
33918
|
+
if (filteredValues.includes(column.label)) {
|
|
33919
|
+
this.$set(column, 'istrue', value);
|
|
33920
|
+
}
|
|
33921
|
+
})
|
|
33922
|
+
this.$emit('handleCheckedColumnChange', filteredValues, null)
|
|
33923
|
+
},
|
|
33924
|
+
//列显隐 重置
|
|
33925
|
+
resetList() {
|
|
33926
|
+
// this.columnsCheckList = this.copyColumns.map(item => { if (item.istrue) { return item.label } }).filter(v => v);
|
|
33927
|
+
// let checkedCount = this.columnsCheckList.length;
|
|
33928
|
+
// this.columnsCheckAll = checkedCount === this.columns.length;
|
|
33929
|
+
// this.isIndeterminate = checkedCount > 0 && checkedCount < this.columns.length;
|
|
33930
|
+
|
|
33931
|
+
// this.leftColumns = []
|
|
33932
|
+
// this.rightColumns = []
|
|
33933
|
+
// this.noColumns = deepClone(this.copyColumns)
|
|
33934
|
+
// this.$emit('handleCheckedColumnChange', null, this.copyColumns)
|
|
33935
|
+
this.$emit('resetColumnTransfer')
|
|
33936
|
+
},
|
|
33937
|
+
/* 处理列拖动 */
|
|
33938
|
+
handleColumnsDrag(newVal) {
|
|
33939
|
+
let newColumns = [...this.leftColumns, ...this.noColumns, ...this.rightColumns];
|
|
33940
|
+
this.$emit('dropdownList', newColumns)
|
|
33941
|
+
}
|
|
33942
|
+
}
|
|
33943
|
+
});
|
|
33944
|
+
|
|
33945
|
+
// CONCATENATED MODULE: ./packages/normalTable/src/columnTransfer.vue?vue&type=script&lang=js&
|
|
33946
|
+
/* harmony default export */ var packages_normalTable_src_columnTransfervue_type_script_lang_js_ = (normalTable_src_columnTransfervue_type_script_lang_js_);
|
|
33947
|
+
// CONCATENATED MODULE: ./packages/normalTable/src/columnTransfer.vue
|
|
33948
|
+
|
|
33949
|
+
|
|
33950
|
+
|
|
33951
|
+
|
|
33952
|
+
|
|
33953
|
+
/* normalize component */
|
|
33954
|
+
|
|
33955
|
+
var src_columnTransfer_component = normalizeComponent(
|
|
33956
|
+
packages_normalTable_src_columnTransfervue_type_script_lang_js_,
|
|
33957
|
+
columnTransfervue_type_template_id_1726edc2_render,
|
|
33958
|
+
columnTransfervue_type_template_id_1726edc2_staticRenderFns,
|
|
33959
|
+
false,
|
|
33960
|
+
null,
|
|
33961
|
+
null,
|
|
33962
|
+
null
|
|
33963
|
+
|
|
33964
|
+
)
|
|
33965
|
+
|
|
33966
|
+
/* harmony default export */ var src_columnTransfer = (src_columnTransfer_component.exports);
|
|
33967
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/normalTable/src/main.vue?vue&type=script&lang=js&
|
|
33968
|
+
//
|
|
33969
|
+
//
|
|
33970
|
+
//
|
|
33971
|
+
//
|
|
33972
|
+
//
|
|
33973
|
+
//
|
|
33974
|
+
//
|
|
33975
|
+
//
|
|
33976
|
+
//
|
|
33977
|
+
//
|
|
33978
|
+
//
|
|
33979
|
+
//
|
|
33980
|
+
//
|
|
33981
|
+
//
|
|
33982
|
+
//
|
|
33983
|
+
//
|
|
33984
|
+
//
|
|
33985
|
+
//
|
|
33986
|
+
//
|
|
33987
|
+
//
|
|
33988
|
+
//
|
|
33989
|
+
//
|
|
33990
|
+
//
|
|
33991
|
+
//
|
|
33992
|
+
//
|
|
33993
|
+
//
|
|
33994
|
+
//
|
|
33995
|
+
//
|
|
33996
|
+
//
|
|
33997
|
+
//
|
|
33998
|
+
//
|
|
33999
|
+
//
|
|
34000
|
+
//
|
|
34001
|
+
//
|
|
34002
|
+
//
|
|
34003
|
+
//
|
|
34004
|
+
//
|
|
34005
|
+
//
|
|
34006
|
+
//
|
|
34007
|
+
//
|
|
34008
|
+
//
|
|
34009
|
+
//
|
|
34010
|
+
//
|
|
34011
|
+
//
|
|
34012
|
+
//
|
|
34013
|
+
//
|
|
34014
|
+
//
|
|
34015
|
+
//
|
|
34016
|
+
//
|
|
34017
|
+
//
|
|
34018
|
+
//
|
|
34019
|
+
//
|
|
34020
|
+
//
|
|
34021
|
+
//
|
|
34022
|
+
//
|
|
34023
|
+
//
|
|
34024
|
+
//
|
|
34025
|
+
//
|
|
34026
|
+
//
|
|
34027
|
+
//
|
|
34028
|
+
//
|
|
34029
|
+
//
|
|
34030
|
+
//
|
|
34031
|
+
//
|
|
34032
|
+
//
|
|
34033
|
+
//
|
|
34034
|
+
//
|
|
34035
|
+
//
|
|
34036
|
+
//
|
|
34037
|
+
//
|
|
34038
|
+
//
|
|
34039
|
+
//
|
|
34040
|
+
//
|
|
34041
|
+
//
|
|
34042
|
+
//
|
|
34043
|
+
//
|
|
34044
|
+
//
|
|
34045
|
+
//
|
|
34046
|
+
//
|
|
34047
|
+
//
|
|
34048
|
+
//
|
|
34049
|
+
//
|
|
34050
|
+
//
|
|
34051
|
+
//
|
|
34052
|
+
//
|
|
34053
|
+
//
|
|
34054
|
+
//
|
|
34055
|
+
//
|
|
34056
|
+
//
|
|
34057
|
+
//
|
|
34058
|
+
//
|
|
34059
|
+
//
|
|
34060
|
+
//
|
|
34061
|
+
//
|
|
34062
|
+
//
|
|
34063
|
+
//
|
|
34064
|
+
//
|
|
34065
|
+
//
|
|
34066
|
+
//
|
|
34067
|
+
//
|
|
34068
|
+
//
|
|
34069
|
+
//
|
|
34070
|
+
//
|
|
34071
|
+
//
|
|
34072
|
+
//
|
|
34073
|
+
//
|
|
34074
|
+
//
|
|
34075
|
+
//
|
|
34076
|
+
//
|
|
34077
|
+
//
|
|
34078
|
+
//
|
|
34079
|
+
//
|
|
34080
|
+
//
|
|
34081
|
+
//
|
|
34082
|
+
//
|
|
34083
|
+
//
|
|
34084
|
+
//
|
|
34085
|
+
//
|
|
34086
|
+
//
|
|
34087
|
+
//
|
|
34088
|
+
//
|
|
34089
|
+
//
|
|
34090
|
+
//
|
|
34091
|
+
//
|
|
34092
|
+
//
|
|
34093
|
+
//
|
|
34094
|
+
//
|
|
34095
|
+
//
|
|
34096
|
+
//
|
|
34097
|
+
//
|
|
34098
|
+
//
|
|
34099
|
+
//
|
|
34100
|
+
//
|
|
34101
|
+
//
|
|
34102
|
+
//
|
|
34103
|
+
//
|
|
34104
|
+
//
|
|
34105
|
+
//
|
|
34106
|
+
//
|
|
34107
|
+
//
|
|
34108
|
+
//
|
|
34109
|
+
//
|
|
34110
|
+
//
|
|
34111
|
+
//
|
|
34112
|
+
//
|
|
34113
|
+
//
|
|
34114
|
+
//
|
|
34115
|
+
//
|
|
34116
|
+
//
|
|
34117
|
+
//
|
|
34118
|
+
//
|
|
34119
|
+
//
|
|
34120
|
+
//
|
|
34121
|
+
//
|
|
34122
|
+
//
|
|
34123
|
+
//
|
|
34124
|
+
//
|
|
34125
|
+
//
|
|
34126
|
+
//
|
|
34127
|
+
//
|
|
34128
|
+
//
|
|
34129
|
+
//
|
|
34130
|
+
//
|
|
34131
|
+
//
|
|
34132
|
+
//
|
|
34133
|
+
//
|
|
34134
|
+
//
|
|
34135
|
+
//
|
|
34136
|
+
//
|
|
34137
|
+
//
|
|
34138
|
+
//
|
|
34139
|
+
//
|
|
34140
|
+
//
|
|
34141
|
+
//
|
|
34142
|
+
//
|
|
34143
|
+
//
|
|
34144
|
+
//
|
|
34145
|
+
//
|
|
34146
|
+
//
|
|
34147
|
+
//
|
|
34148
|
+
//
|
|
34149
|
+
//
|
|
34150
|
+
//
|
|
34151
|
+
//
|
|
34152
|
+
//
|
|
34153
|
+
//
|
|
34154
|
+
//
|
|
34155
|
+
//
|
|
34156
|
+
//
|
|
34157
|
+
//
|
|
34158
|
+
//
|
|
34159
|
+
//
|
|
34160
|
+
//
|
|
34161
|
+
//
|
|
34162
|
+
//
|
|
34163
|
+
//
|
|
34164
|
+
//
|
|
34165
|
+
//
|
|
34166
|
+
//
|
|
34167
|
+
//
|
|
34168
|
+
//
|
|
34169
|
+
//
|
|
34170
|
+
//
|
|
34171
|
+
//
|
|
34172
|
+
//
|
|
34173
|
+
//
|
|
34174
|
+
//
|
|
34175
|
+
//
|
|
34176
|
+
//
|
|
34177
|
+
//
|
|
34178
|
+
//
|
|
34179
|
+
|
|
34180
|
+
|
|
34181
|
+
|
|
34182
|
+
/* harmony default export */ var normalTable_src_mainvue_type_script_lang_js_ = ({
|
|
34183
|
+
name: "NormalTable",
|
|
34184
|
+
components: { ColumnTransfer: src_columnTransfer },
|
|
34185
|
+
props: {
|
|
34186
|
+
showMenuLeft: {
|
|
34187
|
+
type: Boolean,
|
|
34188
|
+
default: false
|
|
34189
|
+
},
|
|
34190
|
+
showMenuRight: {
|
|
34191
|
+
type: Boolean,
|
|
34192
|
+
default: true
|
|
34193
|
+
},
|
|
34194
|
+
showColumnHandleBtn: {
|
|
34195
|
+
type: Boolean,
|
|
34196
|
+
default: true
|
|
34197
|
+
},
|
|
34198
|
+
hideButtonMode: {
|
|
34199
|
+
type: Boolean,
|
|
34200
|
+
default: false
|
|
34201
|
+
},
|
|
34202
|
+
tabelRef: {
|
|
34203
|
+
type: String,
|
|
34204
|
+
default: 'tableDataRef'
|
|
34205
|
+
},
|
|
34206
|
+
loading: {
|
|
34207
|
+
type: Boolean,
|
|
34208
|
+
default: false,
|
|
34209
|
+
},
|
|
34210
|
+
showHeader: {
|
|
34211
|
+
type: Boolean,
|
|
34212
|
+
default: true,
|
|
34213
|
+
},
|
|
34214
|
+
stripe: {
|
|
34215
|
+
type: Boolean,
|
|
34216
|
+
default: true,
|
|
34217
|
+
},
|
|
34218
|
+
border: {
|
|
34219
|
+
type: Boolean,
|
|
34220
|
+
default: true,
|
|
34221
|
+
},
|
|
34222
|
+
option: {
|
|
34223
|
+
type: Object,
|
|
34224
|
+
default: () => {
|
|
34225
|
+
return {
|
|
34226
|
+
index: true,
|
|
34227
|
+
indexWidth: 70,
|
|
34228
|
+
height: 'auto',
|
|
34229
|
+
maxHeight: 'auto',
|
|
34230
|
+
|
|
34231
|
+
}
|
|
34232
|
+
}
|
|
34233
|
+
},
|
|
34234
|
+
operation: {
|
|
34235
|
+
type: [Object, Boolean],
|
|
34236
|
+
default: () => {
|
|
34237
|
+
return {
|
|
34238
|
+
width: 82,
|
|
34239
|
+
label: '操作',
|
|
34240
|
+
buttonList: [
|
|
34241
|
+
{
|
|
34242
|
+
label: '删除',
|
|
34243
|
+
icon: 'el-icon-remove-outline',
|
|
34244
|
+
function: 'handDetele',
|
|
34245
|
+
tooltipContent: '删除',
|
|
34246
|
+
color: 'red'
|
|
34247
|
+
}, {
|
|
34248
|
+
label: '添加',
|
|
34249
|
+
icon: 'el-icon-circle-plus-outline',
|
|
34250
|
+
function: 'hand',
|
|
34251
|
+
tooltipContent: '删除',
|
|
34252
|
+
color: 'red'
|
|
34253
|
+
}
|
|
34254
|
+
]
|
|
34255
|
+
}
|
|
34256
|
+
}
|
|
34257
|
+
},
|
|
34258
|
+
page: {
|
|
34259
|
+
type: Object,
|
|
34260
|
+
},
|
|
34261
|
+
columns: {
|
|
34262
|
+
type: Array,
|
|
34263
|
+
default: () => []
|
|
34264
|
+
},
|
|
34265
|
+
tableData: {
|
|
34266
|
+
type: Array,
|
|
34267
|
+
default: () => []
|
|
34268
|
+
},
|
|
34269
|
+
// 表格className
|
|
34270
|
+
className:{
|
|
34271
|
+
type:String,
|
|
34272
|
+
default:''
|
|
34273
|
+
},
|
|
34274
|
+
// 合计小数位数
|
|
34275
|
+
summaryToFixed:{
|
|
34276
|
+
type:[Number, String],
|
|
34277
|
+
default:''
|
|
34278
|
+
},
|
|
34279
|
+
spanMethod: Function,
|
|
34280
|
+
indexMethod: Function,
|
|
34281
|
+
// 默认显示按钮图标加提示,
|
|
34282
|
+
tooltipDisabled: {
|
|
34283
|
+
type: Boolean,
|
|
34284
|
+
default: false,
|
|
34285
|
+
},
|
|
34286
|
+
},
|
|
34287
|
+
data() {
|
|
34288
|
+
return {
|
|
34289
|
+
internalColumns: deepClone(this.columns).filter(d => d && !d.isHidden),
|
|
34290
|
+
sortVal: '', // 排序
|
|
34291
|
+
isShow: true,
|
|
34292
|
+
isTable: true
|
|
34293
|
+
}
|
|
34294
|
+
},
|
|
34295
|
+
watch: {
|
|
34296
|
+
columns: {
|
|
34297
|
+
deep: true,
|
|
34298
|
+
handler() {
|
|
34299
|
+
this.internalColumns = deepClone(this.columns).filter(d => d && !d.isHidden);
|
|
34300
|
+
}
|
|
34301
|
+
},
|
|
34302
|
+
internalColumns: {
|
|
34303
|
+
deep: true,
|
|
34304
|
+
handler() {
|
|
34305
|
+
this.isShow = false
|
|
34306
|
+
this.$nextTick(() => { //不放在这里面会导致视图不刷新
|
|
34307
|
+
this.isShow = true;
|
|
34308
|
+
})
|
|
34309
|
+
this.$refs[this.tabelRef] && this.$refs[this.tabelRef].doLayout();
|
|
34310
|
+
}
|
|
34311
|
+
},
|
|
34312
|
+
},
|
|
34313
|
+
methods: {
|
|
34314
|
+
columnsCheckList(valArr) {
|
|
34315
|
+
this.internalColumns.forEach(i => {
|
|
34316
|
+
if (valArr.includes(i.label)) {
|
|
34317
|
+
this.$set(i, 'istrue', true)
|
|
34318
|
+
} else {
|
|
34319
|
+
this.$set(i, 'istrue', false)
|
|
34320
|
+
}
|
|
34321
|
+
});
|
|
34322
|
+
this.$nextTick(() => {
|
|
34323
|
+
this.$refs[this.tabelRef] && this.$refs[this.tabelRef].doLayout();
|
|
34324
|
+
});
|
|
34325
|
+
},
|
|
34326
|
+
selectFixed(items) {
|
|
34327
|
+
this.internalColumns = deepClone(items);
|
|
34328
|
+
this.$nextTick(() => {
|
|
34329
|
+
this.$refs[this.tabelRef] && this.$refs[this.tabelRef].doLayout();
|
|
34330
|
+
});
|
|
34331
|
+
|
|
34332
|
+
},
|
|
34333
|
+
handleCheckedColumnChange(data, internalColumns) {
|
|
34334
|
+
if(data){
|
|
34335
|
+
this.columnsCheckList(data)
|
|
34336
|
+
}
|
|
34337
|
+
if(internalColumns && internalColumns.length){
|
|
34338
|
+
this.$nextTick(() => {
|
|
34339
|
+
this.internalColumns = deepClone(internalColumns);
|
|
34340
|
+
});
|
|
34341
|
+
}
|
|
34342
|
+
},
|
|
34343
|
+
dropdownList(itemset) {
|
|
34344
|
+
this.internalColumns = deepClone(itemset);
|
|
34345
|
+
this.isTable = false
|
|
34346
|
+
this.$nextTick(() => {
|
|
34347
|
+
this.isTable = true
|
|
34348
|
+
})
|
|
34349
|
+
},
|
|
34350
|
+
// 下拉button
|
|
34351
|
+
handleCommand(columnName, columnIndex, data) {
|
|
34352
|
+
let tableData = deepClone(this.tableData)
|
|
34353
|
+
if (data.command === "ascending" || data.command === "descending") {
|
|
34354
|
+
if (this.sortVal && this.sortVal.indexOf(data.command) > -1) {
|
|
34355
|
+
this.sortVal = ''
|
|
34356
|
+
} else {
|
|
34357
|
+
this.sortVal = columnName + data.command
|
|
34358
|
+
}
|
|
34359
|
+
if (this.option.defineSort) {
|
|
34360
|
+
this.$emit('handleColumnFilter', columnName, columnIndex, data, !!!this.sortVal)
|
|
34361
|
+
} else {
|
|
34362
|
+
let isIncludeNaN = tableData.some(item => isNaN(Number(item[columnName])))
|
|
34363
|
+
if ( isIncludeNaN ) { // 数据非纯数字使用原生ele方法
|
|
34364
|
+
if(this.sortVal){
|
|
34365
|
+
this.$refs[this.tabelRef].sort(columnName, data.command);
|
|
34366
|
+
} else {
|
|
34367
|
+
this.$refs[this.tabelRef].clearSort();
|
|
34368
|
+
}
|
|
34369
|
+
} else { // 纯数字使用sort排序
|
|
34370
|
+
tableData.sort((a, b) => {
|
|
34371
|
+
return data.command === 'ascending' ? a[columnName] - b[columnName] : b[columnName] - a[columnName]
|
|
34372
|
+
})
|
|
34373
|
+
this.$emit('update:tableData', tableData)
|
|
34374
|
+
}
|
|
34375
|
+
}
|
|
34376
|
+
} else {
|
|
34377
|
+
this.$emit('handleColumnFilter', columnName, columnIndex, data)
|
|
34378
|
+
}
|
|
34379
|
+
},
|
|
34380
|
+
handleSelectionChange(val){
|
|
34381
|
+
this.$emit('handleChecked', val);
|
|
34382
|
+
},
|
|
34383
|
+
toggleSelection(rows, selected = true) {
|
|
34384
|
+
if (rows) {
|
|
34385
|
+
rows.forEach(row => {
|
|
34386
|
+
this.$refs[this.tabelRef].toggleRowSelection(row, selected);
|
|
34387
|
+
});
|
|
34388
|
+
} else {
|
|
34389
|
+
this.$refs[this.tabelRef].clearSelection();
|
|
34390
|
+
}
|
|
34391
|
+
},
|
|
34392
|
+
// 翻页
|
|
34393
|
+
sizeChange(val) {
|
|
34394
|
+
this.$emit('sizeChange', val)
|
|
34395
|
+
},
|
|
34396
|
+
currentChange(val) {
|
|
34397
|
+
this.$emit('currentChange', val)
|
|
34398
|
+
},
|
|
34399
|
+
// 合计
|
|
34400
|
+
summaryMethod({ columns, data }) {
|
|
34401
|
+
if (this.option.summaryMethod) {
|
|
34402
|
+
return this.option.summaryMethod({ columns, data })
|
|
34403
|
+
}
|
|
34404
|
+
let _columns = deepClone(this.internalColumns);
|
|
34405
|
+
const sums = [];
|
|
34406
|
+
// 固定列会导致窜行 待改
|
|
34407
|
+
if ( !!this.operation ) sums.push(this.option.sumText || '合计')
|
|
34408
|
+
if ( this.option.indexCheck || this.option.index ) {
|
|
34409
|
+
!!this.operation ? sums.push('') : sums.push('合计')
|
|
34410
|
+
}
|
|
34411
|
+
_columns.forEach((column, index) => {
|
|
34412
|
+
if ( column.istrue ) {
|
|
34413
|
+
let num = 0
|
|
34414
|
+
data.forEach(item => num += Number(item[column.prop]))
|
|
34415
|
+
if ( isNaN(num) || !column.summary ) {
|
|
34416
|
+
sums.push('')
|
|
34417
|
+
} else if ( String(num).indexOf('.') != -1 && this.summaryToFixed ) {
|
|
34418
|
+
sums.push(num.toFixed(this.summaryToFixed))
|
|
34419
|
+
} else {
|
|
34420
|
+
sums.push(num)
|
|
34421
|
+
}
|
|
34422
|
+
}
|
|
34423
|
+
});
|
|
34424
|
+
return sums;
|
|
34425
|
+
},
|
|
34426
|
+
// 行点击
|
|
34427
|
+
rowClick(row, column, event) {
|
|
34428
|
+
this.$emit('rowClick', row, column, event)
|
|
34429
|
+
},
|
|
34430
|
+
filterChange(filters) {
|
|
34431
|
+
let data = deepClone(this.tableData)
|
|
34432
|
+
// 判断是哪一列筛选
|
|
34433
|
+
if (filters.name) {
|
|
34434
|
+
data.name = filters.name[0]
|
|
34435
|
+
}
|
|
34436
|
+
this.$emit('update:tableData', data)
|
|
34437
|
+
},
|
|
34438
|
+
//过滤
|
|
34439
|
+
filterHandler(value, row, column) {
|
|
34440
|
+
const property = column['property'];
|
|
34441
|
+
return row[property] === value;
|
|
34442
|
+
},
|
|
34443
|
+
|
|
34444
|
+
// class
|
|
34445
|
+
tableRowClassName({ row, rowIndex }) {
|
|
34446
|
+
let rowClass = ''
|
|
34447
|
+
if (this.option.rowClassName) {
|
|
34448
|
+
rowClass = this.option.rowClassName({ row, rowIndex })
|
|
34449
|
+
}
|
|
34450
|
+
if(this.option.indexCheck === true && row.checked === true && !this.option['clickRowNoCheck']){
|
|
34451
|
+
return `current-row ${rowClass}`;
|
|
34452
|
+
}
|
|
34453
|
+
return rowClass;
|
|
34454
|
+
},
|
|
34455
|
+
handButton(functionName, scope, id) {
|
|
34456
|
+
this.$emit(functionName, scope, id)
|
|
34457
|
+
},
|
|
34458
|
+
doLayout() {
|
|
34459
|
+
this.$refs[this.tabelRef].doLayout();
|
|
34460
|
+
},
|
|
34461
|
+
/* 表格-列显隐-下拉菜单 */
|
|
34462
|
+
onColumnVisibleMenu(flag){
|
|
34463
|
+
let arr = [
|
|
34464
|
+
...this.$refs['column-transfer'].leftColumns,
|
|
34465
|
+
...this.$refs['column-transfer'].noColumns,
|
|
34466
|
+
...this.$refs['column-transfer'].rightColumns
|
|
34467
|
+
]
|
|
34468
|
+
// this.$emit('columnsVisibleMenu', flag, this.internalColumns );
|
|
34469
|
+
this.$emit('columnsVisibleMenu', flag, arr );
|
|
34470
|
+
},
|
|
34471
|
+
/* 当拖动表头改变了列的宽度的时候会触发该事件 */
|
|
34472
|
+
onHeaderDragend(newWidth, oldWidth, column, event){
|
|
34473
|
+
let arr = [
|
|
34474
|
+
...this.$refs['column-transfer'].leftColumns,
|
|
34475
|
+
...this.$refs['column-transfer'].noColumns,
|
|
34476
|
+
...this.$refs['column-transfer'].rightColumns
|
|
34477
|
+
]
|
|
34478
|
+
this.$emit('headerDragend', newWidth, oldWidth, column, arr, event);
|
|
34479
|
+
},
|
|
34480
|
+
/* 用于单选表格,设定某一行为选中行,如果调用时不加参数,则会取消目前高亮行的选中状态。 */
|
|
34481
|
+
setCurrentRow(row){
|
|
34482
|
+
this.$refs[this.tabelRef] && this.$refs[this.tabelRef].setCurrentRow(row);
|
|
34483
|
+
this.$emit('setCurrentRow', row);
|
|
34484
|
+
},
|
|
34485
|
+
},
|
|
34486
|
+
});
|
|
34487
|
+
|
|
34488
|
+
// CONCATENATED MODULE: ./packages/normalTable/src/main.vue?vue&type=script&lang=js&
|
|
34489
|
+
/* harmony default export */ var packages_normalTable_src_mainvue_type_script_lang_js_ = (normalTable_src_mainvue_type_script_lang_js_);
|
|
34490
|
+
// CONCATENATED MODULE: ./packages/normalTable/src/main.vue
|
|
34491
|
+
|
|
34492
|
+
|
|
34493
|
+
|
|
34494
|
+
|
|
34495
|
+
|
|
34496
|
+
/* normalize component */
|
|
34497
|
+
|
|
34498
|
+
var normalTable_src_main_component = normalizeComponent(
|
|
34499
|
+
packages_normalTable_src_mainvue_type_script_lang_js_,
|
|
34500
|
+
mainvue_type_template_id_5e32d83a_render,
|
|
34501
|
+
mainvue_type_template_id_5e32d83a_staticRenderFns,
|
|
34502
|
+
false,
|
|
34503
|
+
null,
|
|
34504
|
+
null,
|
|
34505
|
+
null
|
|
34506
|
+
|
|
34507
|
+
)
|
|
34508
|
+
|
|
34509
|
+
/* harmony default export */ var normalTable_src_main = (normalTable_src_main_component.exports);
|
|
34510
|
+
// CONCATENATED MODULE: ./packages/normalTable/index.js
|
|
34511
|
+
/*
|
|
34512
|
+
* @Description:
|
|
34513
|
+
* @Author: songlin
|
|
34514
|
+
* @Date: 2021-08-26 16:39:21
|
|
34515
|
+
* @LastEditTime: 2021-08-27 16:11:37
|
|
34516
|
+
* @LastEditors: songlin
|
|
34517
|
+
*/
|
|
34518
|
+
|
|
34519
|
+
|
|
34520
|
+
normalTable_src_main.install = function(Vue) {
|
|
34521
|
+
Vue.component(normalTable_src_main.name, normalTable_src_main);
|
|
34522
|
+
};
|
|
34523
|
+
|
|
34524
|
+
|
|
34525
|
+
/* harmony default export */ var normalTable = (normalTable_src_main);
|
|
34526
|
+
|
|
34527
|
+
// 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/select/src/main.vue?vue&type=template&id=bd9422c6&
|
|
34528
|
+
var mainvue_type_template_id_bd9422c6_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-select',{staticClass:"sone-select",attrs:{"value":_vm.model,"placeholder":_vm.placeholder,"clearable":_vm.clearable,"multiple":_vm.multiple,"disabled":_vm.disabled,"collapse-tags":"","filterable":"","popper-class":_vm.popperClass,"popper-append-to-body":_vm.popperAppendToBody,"filter-method":_vm.onFilterOption},on:{"visible-change":_vm.handleVisible,"change":_vm.onChange,"clear":_vm.onClear,"remove-tag":_vm.onRemoveTag,"blur":function (e) { return _vm.$emit('blur', e); },"focus":function (e) { return _vm.$emit('focus', e); }}},[(_vm.type === 'normal')?[_vm._t("default",function(){return _vm._l((_vm.internalOptions),function(item){return _c('el-option',{key:item[_vm.props.value],attrs:{"label":item[_vm.props.label],"disabled":item[_vm.props.disabled],"value":item[_vm.props.value]}})})})]:(_vm.type === 'tree')?[_c('el-tree',{ref:"treeRef",staticClass:"sone-select-tree",attrs:{"data":_vm.internalOptions,"props":_vm.props,"node-key":_vm.props.value,"default-expand-all":"","default-checked-keys":_vm.checkedNodes,"show-checkbox":_vm.multiple,"check-strictly":_vm.checkStrictly,"expand-on-click-node":false,"highlight-current":false,"filter-node-method":_vm.onFilterNode},on:{"check":_vm.onCheckNode},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
34529
|
+
var node = ref.node;
|
|
34530
|
+
var data = ref.data;
|
|
34531
|
+
return _c('div',{staticClass:"custom-select-tree-node"},[_c('el-option',{key:data[_vm.props.value],attrs:{"label":_vm.formatLabelFunc(data, _vm.props.label),"value":data[_vm.props.value],"disabled":data[_vm.props.disabled]}})],1)}}])})]:_vm._e()],2)}
|
|
34532
|
+
var mainvue_type_template_id_bd9422c6_staticRenderFns = []
|
|
34533
|
+
|
|
34534
|
+
|
|
34535
|
+
// CONCATENATED MODULE: ./packages/select/src/main.vue?vue&type=template&id=bd9422c6&
|
|
34536
|
+
|
|
34537
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/select/src/main.vue?vue&type=script&lang=js&
|
|
34538
|
+
//
|
|
34539
|
+
//
|
|
34540
|
+
//
|
|
34541
|
+
//
|
|
34542
|
+
//
|
|
34543
|
+
//
|
|
34544
|
+
//
|
|
34545
|
+
//
|
|
34546
|
+
//
|
|
34547
|
+
//
|
|
34548
|
+
//
|
|
34549
|
+
//
|
|
34550
|
+
//
|
|
34551
|
+
//
|
|
34552
|
+
//
|
|
34553
|
+
//
|
|
34554
|
+
//
|
|
34555
|
+
//
|
|
34556
|
+
//
|
|
34557
|
+
//
|
|
34558
|
+
//
|
|
34559
|
+
//
|
|
34560
|
+
//
|
|
34561
|
+
//
|
|
34562
|
+
//
|
|
34563
|
+
//
|
|
34564
|
+
//
|
|
34565
|
+
//
|
|
34566
|
+
//
|
|
34567
|
+
//
|
|
34568
|
+
//
|
|
34569
|
+
//
|
|
34570
|
+
//
|
|
34571
|
+
//
|
|
34572
|
+
//
|
|
34573
|
+
//
|
|
34574
|
+
//
|
|
34575
|
+
//
|
|
34576
|
+
//
|
|
34577
|
+
//
|
|
34578
|
+
//
|
|
34579
|
+
//
|
|
34580
|
+
//
|
|
34581
|
+
//
|
|
34582
|
+
//
|
|
34583
|
+
//
|
|
34584
|
+
//
|
|
34585
|
+
//
|
|
34586
|
+
//
|
|
34587
|
+
//
|
|
34588
|
+
//
|
|
34589
|
+
//
|
|
34590
|
+
//
|
|
34591
|
+
//
|
|
34592
|
+
//
|
|
34593
|
+
//
|
|
34594
|
+
//
|
|
34595
|
+
//
|
|
34596
|
+
//
|
|
34597
|
+
//
|
|
34598
|
+
//
|
|
34599
|
+
//
|
|
34600
|
+
//
|
|
34601
|
+
//
|
|
34602
|
+
//
|
|
34603
|
+
//
|
|
34604
|
+
//
|
|
34605
|
+
//
|
|
34606
|
+
|
|
34607
|
+
/* harmony default export */ var select_src_mainvue_type_script_lang_js_ = ({
|
|
34608
|
+
name: "SoneSelect",
|
|
34609
|
+
components: {},
|
|
34610
|
+
model: {
|
|
34611
|
+
prop: "model",
|
|
34612
|
+
event: "changeVal"
|
|
34613
|
+
},
|
|
34614
|
+
props: {
|
|
34615
|
+
type: {
|
|
34616
|
+
/* 组件类型:普通:normal, 属性:tree */
|
|
34617
|
+
type: String,
|
|
34618
|
+
default: "normal"
|
|
34619
|
+
},
|
|
34620
|
+
model: {
|
|
34621
|
+
/* 绑定的数据 */
|
|
34622
|
+
default: null
|
|
34623
|
+
},
|
|
34624
|
+
placeholder: {
|
|
34625
|
+
/* 占位符 */
|
|
34626
|
+
type: String,
|
|
34627
|
+
default: "请选择"
|
|
34628
|
+
},
|
|
34629
|
+
multiple: {
|
|
34630
|
+
/* 是否多选 */
|
|
34631
|
+
type: Boolean,
|
|
34632
|
+
default: false
|
|
34633
|
+
},
|
|
34634
|
+
disabled: {
|
|
34635
|
+
/* 是否禁用 */
|
|
34636
|
+
type: Boolean,
|
|
34637
|
+
default: false
|
|
34638
|
+
},
|
|
34639
|
+
clearable: {
|
|
34640
|
+
/* 是否可以清空选项 */
|
|
34641
|
+
type: Boolean,
|
|
34642
|
+
default: true
|
|
34643
|
+
},
|
|
34644
|
+
options: {
|
|
34645
|
+
/* 下拉选项列表 */
|
|
34646
|
+
type: Array,
|
|
34647
|
+
default: () => []
|
|
34648
|
+
},
|
|
34649
|
+
props: {
|
|
34650
|
+
/* 配置选项 */
|
|
34651
|
+
type: Object,
|
|
34652
|
+
default: () => {
|
|
34653
|
+
return {
|
|
34654
|
+
children: "children",
|
|
34655
|
+
label: "label",
|
|
34656
|
+
value: "value",
|
|
34657
|
+
disabled: "disabled"
|
|
34658
|
+
};
|
|
34659
|
+
}
|
|
34660
|
+
},
|
|
34661
|
+
checkStrictly: {
|
|
34662
|
+
/* 树形- */
|
|
34663
|
+
type: Boolean,
|
|
34664
|
+
default: true
|
|
34665
|
+
},
|
|
34666
|
+
popperClass: {
|
|
34667
|
+
//Select 下拉框的类名
|
|
34668
|
+
type: String,
|
|
34669
|
+
default: ""
|
|
34670
|
+
},
|
|
34671
|
+
popperAppendToBody: {
|
|
34672
|
+
/* 是否将弹出框插入至 body 元素。在弹出框的定位出现问题时,可将该属性设置为 false */
|
|
34673
|
+
type: Boolean,
|
|
34674
|
+
default: false
|
|
34675
|
+
},
|
|
34676
|
+
formatLabelFunc: {
|
|
34677
|
+
/* 格式化Label函数 */
|
|
34678
|
+
type: Function,
|
|
34679
|
+
default: (data, label) => {
|
|
34680
|
+
return data[label];
|
|
34681
|
+
}
|
|
34682
|
+
},
|
|
34683
|
+
filterMethod: {
|
|
34684
|
+
type: Function,
|
|
34685
|
+
default: null
|
|
34686
|
+
}
|
|
34687
|
+
},
|
|
34688
|
+
data() {
|
|
34689
|
+
return {
|
|
34690
|
+
optionsClone: [],
|
|
34691
|
+
checkedNodes: [],
|
|
34692
|
+
internalOptions: []
|
|
34693
|
+
};
|
|
34694
|
+
},
|
|
34695
|
+
watch: {
|
|
34696
|
+
"model.length"(newValue, oldValue) {
|
|
34697
|
+
if (this.type === "tree" && Array.isArray(this.model)) {
|
|
34698
|
+
this.$refs.treeRef.setCheckedKeys(this.model);
|
|
34699
|
+
}
|
|
34700
|
+
},
|
|
34701
|
+
options: {
|
|
34702
|
+
handler(newVal, oldVal) {
|
|
34703
|
+
if (newVal) {
|
|
34704
|
+
this.internalOptions = [...newVal];
|
|
34705
|
+
this.optionsClone = [...newVal];
|
|
34706
|
+
}
|
|
34707
|
+
},
|
|
34708
|
+
immediate: true,
|
|
34709
|
+
deep: true
|
|
34710
|
+
}
|
|
34711
|
+
},
|
|
34712
|
+
computed: {},
|
|
34713
|
+
created() {},
|
|
34714
|
+
mounted() {
|
|
34715
|
+
if (Array.isArray(this.model)) {
|
|
34716
|
+
this.checkedNodes = [...this.model];
|
|
34717
|
+
}
|
|
34718
|
+
},
|
|
34719
|
+
methods: {
|
|
34720
|
+
onChange(val) {
|
|
34721
|
+
/* v-model */
|
|
34722
|
+
this.$emit("changeVal", val);
|
|
34723
|
+
if (!this.multiple) {
|
|
34724
|
+
this.$emit("change", val);
|
|
34725
|
+
}
|
|
34726
|
+
},
|
|
34727
|
+
onRemoveTag(val) {
|
|
34728
|
+
this.$emit("change", this.model);
|
|
34729
|
+
this.$emit("remove-tag", val);
|
|
34730
|
+
},
|
|
34731
|
+
onFilterOption(words) {
|
|
34732
|
+
if (this.filterMethod) {
|
|
34733
|
+
this.filterMethod(words);
|
|
34734
|
+
} else {
|
|
34735
|
+
if (this.type === "normal") {
|
|
34736
|
+
let aResult = this.optionsClone.filter(item => {
|
|
34737
|
+
return (
|
|
34738
|
+
item[this.props.label]
|
|
34739
|
+
.toLowerCase()
|
|
34740
|
+
.indexOf(words.toLowerCase()) > -1
|
|
34741
|
+
);
|
|
34742
|
+
});
|
|
34743
|
+
if (aResult.length) {
|
|
34744
|
+
this.internalOptions = [...aResult];
|
|
34745
|
+
} else {
|
|
34746
|
+
this.internalOptions = [...this.optionsClone];
|
|
34747
|
+
}
|
|
34748
|
+
} else if (this.type === "tree") {
|
|
34749
|
+
this.$refs.treeRef.filter(words);
|
|
34750
|
+
}
|
|
34751
|
+
}
|
|
34752
|
+
},
|
|
34753
|
+
onFilterNode(val, data) {
|
|
34754
|
+
if (!val) return true;
|
|
34755
|
+
return data[this.props.label].indexOf(val) !== -1;
|
|
34756
|
+
},
|
|
34757
|
+
handleVisible(val) {
|
|
34758
|
+
if (!val) {
|
|
34759
|
+
if (this.type === "tree") {
|
|
34760
|
+
this.multiple && this.$emit("change", this.model);
|
|
34761
|
+
this.$refs.treeRef.filter("");
|
|
34762
|
+
} else if (this.type === "normal") {
|
|
34763
|
+
this.multiple && this.$emit("change", this.model);
|
|
34764
|
+
}
|
|
34765
|
+
// this.options = [...this.optionsClone];
|
|
34766
|
+
}
|
|
34767
|
+
},
|
|
34768
|
+
onCheckNode(checkedNodes, checkedKeys) {
|
|
34769
|
+
this.$emit("changeVal", [...checkedKeys.checkedKeys]);
|
|
34770
|
+
},
|
|
34771
|
+
onClear() {
|
|
34772
|
+
if (this.type === "normal") {
|
|
34773
|
+
this.internalOptions = [...this.options];
|
|
34774
|
+
}
|
|
34775
|
+
this.$emit("clear");
|
|
34776
|
+
},
|
|
34777
|
+
doTreeFilter(words) {
|
|
34778
|
+
this.$refs.treeRef && this.$refs.treeRef.filter(words);
|
|
34779
|
+
}
|
|
34780
|
+
}
|
|
34781
|
+
});
|
|
34782
|
+
|
|
34783
|
+
// CONCATENATED MODULE: ./packages/select/src/main.vue?vue&type=script&lang=js&
|
|
34784
|
+
/* harmony default export */ var packages_select_src_mainvue_type_script_lang_js_ = (select_src_mainvue_type_script_lang_js_);
|
|
34785
|
+
// CONCATENATED MODULE: ./packages/select/src/main.vue
|
|
34786
|
+
|
|
34787
|
+
|
|
34788
|
+
|
|
34789
|
+
|
|
34790
|
+
|
|
34791
|
+
/* normalize component */
|
|
34792
|
+
|
|
34793
|
+
var select_src_main_component = normalizeComponent(
|
|
34794
|
+
packages_select_src_mainvue_type_script_lang_js_,
|
|
34795
|
+
mainvue_type_template_id_bd9422c6_render,
|
|
34796
|
+
mainvue_type_template_id_bd9422c6_staticRenderFns,
|
|
34797
|
+
false,
|
|
34798
|
+
null,
|
|
34799
|
+
null,
|
|
34800
|
+
null
|
|
34801
|
+
|
|
34802
|
+
)
|
|
34803
|
+
|
|
34804
|
+
/* harmony default export */ var select_src_main = (select_src_main_component.exports);
|
|
34805
|
+
// CONCATENATED MODULE: ./packages/select/index.js
|
|
34806
|
+
/*
|
|
34807
|
+
* @Description: 下拉选择
|
|
34808
|
+
* @Author: songlin
|
|
34809
|
+
* @Date: 2021-08-26 16:39:21
|
|
34810
|
+
* @LastEditTime: 2021-09-30 09:37:41
|
|
34811
|
+
* @LastEditors: songlin
|
|
34812
|
+
*/
|
|
34813
|
+
|
|
34814
|
+
|
|
34815
|
+
select_src_main.install = function(Vue) {
|
|
34816
|
+
Vue.component(select_src_main.name, select_src_main);
|
|
34817
|
+
};
|
|
34818
|
+
|
|
34819
|
+
/* harmony default export */ var packages_select = (select_src_main);
|
|
34820
|
+
// 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/datePicker/src/main.vue?vue&type=template&id=1dad9dac&
|
|
34821
|
+
var mainvue_type_template_id_1dad9dac_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"sone-date-picker"},[(_vm.type === 'time')?_c('el-time-picker',{attrs:{"type":"time","readonly":_vm.readonly,"disabled":_vm.disabled,"editable":_vm.editable,"clearable":_vm.clearable,"placeholder":_vm.placeholder,"align":_vm.align,"format":_vm.format,"popper-class":_vm.popperClass,"default-value":_vm.defaultValue,"name":_vm.name,"prefix-icon":_vm.prefixIcon,"clear-icon":_vm.clearIcon,"value-format":_vm.valueFormat,"pickerOptions":_vm.pickerOptions},on:{"change":_vm.changeValue,"blur":function($event){return _vm.$emit('blur', _vm.dateValue)},"focus":function($event){return _vm.$emit('focus', _vm.dateValue)}},model:{value:(_vm.dateValue),callback:function ($$v) {_vm.dateValue=$$v},expression:"dateValue"}}):_vm._e(),(_vm.type != 'time' && _vm.type != 'quarter')?_c('el-date-picker',{ref:"datePicker",attrs:{"type":_vm.type,"readonly":_vm.readonly,"disabled":_vm.disabled,"editable":_vm.editable,"clearable":_vm.clearable,"placeholder":_vm.placeholder,"align":_vm.align,"format":_vm.format,"popper-class":_vm.popperClass,"default-value":_vm.defaultValue,"default-time":_vm.defaultTime,"name":_vm.name,"prefix-icon":_vm.prefixIcon,"clear-icon":_vm.clearIcon,"value-format":_vm.valueFormat,"pickerOptions":_vm.pickerOptions},on:{"change":_vm.changeValue,"blur":function($event){return _vm.$emit('blur', _vm.dateValue)},"focus":function($event){return _vm.$emit('focus', _vm.dateValue)}},model:{value:(_vm.dateValue),callback:function ($$v) {_vm.dateValue=$$v},expression:"dateValue"}}):_vm._e(),(_vm.type == 'quarter')?_c('div',[_c('span',[_vm._v("季度")])]):_vm._e()],1)}
|
|
34822
|
+
var mainvue_type_template_id_1dad9dac_staticRenderFns = []
|
|
34823
|
+
|
|
34824
|
+
|
|
34825
|
+
// CONCATENATED MODULE: ./packages/datePicker/src/main.vue?vue&type=template&id=1dad9dac&
|
|
34826
|
+
|
|
34827
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/datePicker/src/main.vue?vue&type=script&lang=js&
|
|
34828
|
+
//
|
|
34829
|
+
//
|
|
34830
|
+
//
|
|
34831
|
+
//
|
|
34832
|
+
//
|
|
34833
|
+
//
|
|
34834
|
+
//
|
|
34835
|
+
//
|
|
34836
|
+
//
|
|
34837
|
+
//
|
|
34838
|
+
//
|
|
34839
|
+
//
|
|
34840
|
+
//
|
|
34841
|
+
//
|
|
34842
|
+
//
|
|
34843
|
+
//
|
|
34844
|
+
//
|
|
34845
|
+
//
|
|
34846
|
+
//
|
|
34847
|
+
//
|
|
34848
|
+
//
|
|
34849
|
+
//
|
|
34850
|
+
//
|
|
34851
|
+
//
|
|
34852
|
+
//
|
|
34853
|
+
//
|
|
34854
|
+
//
|
|
34855
|
+
//
|
|
34856
|
+
//
|
|
34857
|
+
//
|
|
34858
|
+
//
|
|
34859
|
+
//
|
|
34860
|
+
//
|
|
34861
|
+
//
|
|
34862
|
+
//
|
|
34863
|
+
//
|
|
34864
|
+
//
|
|
34865
|
+
//
|
|
34866
|
+
//
|
|
34867
|
+
//
|
|
34868
|
+
//
|
|
34869
|
+
//
|
|
34870
|
+
//
|
|
34871
|
+
//
|
|
34872
|
+
//
|
|
34873
|
+
//
|
|
34874
|
+
//
|
|
34875
|
+
//
|
|
34876
|
+
//
|
|
34877
|
+
//
|
|
34878
|
+
//
|
|
34879
|
+
//
|
|
34880
|
+
//
|
|
34881
|
+
//
|
|
34882
|
+
//
|
|
34883
|
+
//
|
|
34884
|
+
//
|
|
34885
|
+
//
|
|
34886
|
+
//
|
|
34887
|
+
//
|
|
34888
|
+
//
|
|
34889
|
+
|
|
34890
|
+
// type
|
|
34891
|
+
// 年 year
|
|
34892
|
+
// 月 month
|
|
34893
|
+
// 周 week
|
|
34894
|
+
// 日期 date
|
|
34895
|
+
// 日期时间 datetime
|
|
34896
|
+
|
|
34897
|
+
// 时间 time ------- el-time-picker
|
|
34898
|
+
|
|
34899
|
+
// 季度 quarter ------- 手写
|
|
34900
|
+
|
|
34901
|
+
/* harmony default export */ var datePicker_src_mainvue_type_script_lang_js_ = ({
|
|
34902
|
+
name: "SoneDatePicker",
|
|
34903
|
+
model: {
|
|
34904
|
+
prop: "value",
|
|
34905
|
+
event: "changeVal"
|
|
34906
|
+
},
|
|
34907
|
+
props: {
|
|
34908
|
+
type: {
|
|
34001
34909
|
type: String,
|
|
34002
34910
|
default: "date"
|
|
34003
34911
|
},
|
|
@@ -34077,7 +34985,7 @@ datePicker_src_main.install = function(Vue) {
|
|
|
34077
34985
|
};
|
|
34078
34986
|
|
|
34079
34987
|
/* harmony default export */ var datePicker = (datePicker_src_main);
|
|
34080
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
34988
|
+
// 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/datePickerRange/src/main.vue?vue&type=template&id=721710b4&
|
|
34081
34989
|
var mainvue_type_template_id_721710b4_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.type === 'time')?_c('el-time-picker',{staticClass:"sone-component-date-pick-range",attrs:{"is-range":"","type":"time","readonly":_vm.readonly,"disabled":_vm.disabled,"editable":_vm.editable,"clearable":_vm.clearable,"placeholder":_vm.placeholder,"start-placeholder":_vm.startPlaceholder,"end-placeholder":_vm.endPlaceholder,"range-separator":_vm.rangeSeparator,"align":_vm.align,"format":_vm.format,"popper-class":_vm.popperClass,"default-value":_vm.defaultValue,"name":_vm.name,"prefix-icon":_vm.prefixIcon,"clear-icon":_vm.clearIcon,"value-format":_vm.valueFormat},on:{"change":_vm.changeValue,"blur":function($event){return _vm.$emit('blur', _vm.dateValue)},"focus":function($event){return _vm.$emit('focus', _vm.dateValue)}},model:{value:(_vm.dateValue),callback:function ($$v) {_vm.dateValue=$$v},expression:"dateValue"}}):_vm._e(),(_vm.type != 'time' && _vm.type != 'quarter')?_c('el-date-picker',{ref:"datePicker",staticClass:"sone-component-date-pick-range",attrs:{"type":(_vm.type + "range"),"readonly":_vm.readonly,"disabled":_vm.disabled,"editable":_vm.editable,"clearable":_vm.clearable,"placeholder":_vm.placeholder,"start-placeholder":_vm.startPlaceholder,"end-placeholder":_vm.endPlaceholder,"range-separator":_vm.rangeSeparator,"default-time":_vm.defaultTime,"unlink-panels":_vm.unlinkPanels,"align":_vm.align,"format":_vm.format,"popper-class":_vm.popperClass,"default-value":_vm.defaultValue,"name":_vm.name,"prefix-icon":_vm.prefixIcon,"clear-icon":_vm.clearIcon,"value-format":_vm.valueFormat},on:{"change":_vm.changeValue,"blur":function($event){return _vm.$emit('blur', _vm.dateValue)},"focus":function($event){return _vm.$emit('focus', _vm.dateValue)}},model:{value:(_vm.dateValue),callback:function ($$v) {_vm.dateValue=$$v},expression:"dateValue"}}):_vm._e(),(_vm.type === 'quarter')?_c('div',[_c('span',[_vm._v("季度")])]):_vm._e()],1)}
|
|
34082
34990
|
var mainvue_type_template_id_721710b4_staticRenderFns = []
|
|
34083
34991
|
|
|
@@ -34265,7 +35173,7 @@ datePickerRange_src_main.install = function(Vue) {
|
|
|
34265
35173
|
};
|
|
34266
35174
|
|
|
34267
35175
|
/* harmony default export */ var datePickerRange = (datePickerRange_src_main);
|
|
34268
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
35176
|
+
// 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/editor/src/main.vue?vue&type=template&id=8d5dbf8c&scoped=true&
|
|
34269
35177
|
var mainvue_type_template_id_8d5dbf8c_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{ref:"editor"})])}
|
|
34270
35178
|
var mainvue_type_template_id_8d5dbf8c_scoped_true_staticRenderFns = []
|
|
34271
35179
|
|
|
@@ -34662,7 +35570,7 @@ editor_src_main.install = function(Vue) {
|
|
|
34662
35570
|
};
|
|
34663
35571
|
|
|
34664
35572
|
/* harmony default export */ var editor = (editor_src_main);
|
|
34665
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
35573
|
+
// 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/inputNumber/src/main.vue?vue&type=template&id=5b5680fd&
|
|
34666
35574
|
var mainvue_type_template_id_5b5680fd_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:[
|
|
34667
35575
|
'sone-input-number',
|
|
34668
35576
|
'el-input-number',
|
|
@@ -34676,7 +35584,7 @@ var mainvue_type_template_id_5b5680fd_staticRenderFns = []
|
|
|
34676
35584
|
|
|
34677
35585
|
// CONCATENATED MODULE: ./packages/inputNumber/src/main.vue?vue&type=template&id=5b5680fd&
|
|
34678
35586
|
|
|
34679
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
35587
|
+
// 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!./node_modules/element-ui/packages/input/src/input.vue?vue&type=template&id=7c3edccd&
|
|
34680
35588
|
var inputvue_type_template_id_7c3edccd_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:[
|
|
34681
35589
|
_vm.type === 'textarea' ? 'el-textarea' : 'el-input',
|
|
34682
35590
|
_vm.inputSize ? 'el-input--' + _vm.inputSize : '',
|
|
@@ -36345,7 +37253,7 @@ inputNumber_src_main.install = function(Vue) {
|
|
|
36345
37253
|
|
|
36346
37254
|
/* harmony default export */ var inputNumber = (inputNumber_src_main);
|
|
36347
37255
|
|
|
36348
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
37256
|
+
// 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/cascader/src/main.vue?vue&type=template&id=388a2e64&
|
|
36349
37257
|
var mainvue_type_template_id_388a2e64_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-cascader',{ref:"sone-cascader",attrs:{"placeholder":_vm.placeholder,"options":_vm.options,"size":_vm.size,"disabled":_vm.disabled,"props":_vm.cascaderProps,"clearable":_vm.clearable,"filterable":_vm.filterable,"show-all-levels":_vm.showAllLevels,"collapse-tags":_vm.collapseTags,"separator":_vm.separator,"debounce":_vm.debounce,"popper-class":_vm.popperClass,"before-filter":_vm.beforeFilter,"filter-method":_vm.filterMethod},on:{"change":_vm.handleChange,"blur":function (e) { return _vm.$emit('blur', e); },"focus":function (e) { return _vm.$emit('focus', e); },"expand-change":function (e) { return _vm.$emit('expand-change', e); },"visible-change":function (e) { return _vm.$emit('visible-change', e); },"remove-tag":function (e) { return _vm.$emit('remove-tag', e); }},model:{value:(_vm.currentVal),callback:function ($$v) {_vm.currentVal=$$v},expression:"currentVal"}})],1)}
|
|
36350
37258
|
var mainvue_type_template_id_388a2e64_staticRenderFns = []
|
|
36351
37259
|
|
|
@@ -36476,7 +37384,7 @@ cascader_src_main.install = function(Vue) {
|
|
|
36476
37384
|
};
|
|
36477
37385
|
|
|
36478
37386
|
/* harmony default export */ var cascader = (cascader_src_main);
|
|
36479
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
37387
|
+
// 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/autocomplete/src/main.vue?vue&type=template&id=4d1db345&
|
|
36480
37388
|
var mainvue_type_template_id_4d1db345_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-autocomplete',{attrs:{"fetch-suggestions":_vm.querySearch,"placeholder":_vm.placeholder},on:{"select":_vm.handleSelect,"change":function (row) { return _vm.$emit('change', row); }},model:{value:(_vm.currentVal),callback:function ($$v) {_vm.currentVal=$$v},expression:"currentVal"}})],1)}
|
|
36481
37389
|
var mainvue_type_template_id_4d1db345_staticRenderFns = []
|
|
36482
37390
|
|
|
@@ -36563,7 +37471,7 @@ autocomplete_src_main.install = function(Vue) {
|
|
|
36563
37471
|
};
|
|
36564
37472
|
|
|
36565
37473
|
/* harmony default export */ var autocomplete = (autocomplete_src_main);
|
|
36566
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
37474
|
+
// 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/fileUpload/src/main.vue?vue&type=template&id=372fe109&
|
|
36567
37475
|
var mainvue_type_template_id_372fe109_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"sone-file-upload-box",class:{ 'sone-upload-box-full': _vm.type === 'img', 'sone-upload-disabled': _vm.disabled }},[(!_vm.readonly)?_c('el-upload',{attrs:{"action":"","show-file-list":false,"accept":_vm.acceptType,"multiple":_vm.multiple,"drag":_vm.type === 'img',"disabled":_vm.disabled,"before-upload":_vm.beforeUpload,"http-request":_vm.httpRequest}},[(_vm.type !== 'img')?_c('icon-button',{ref:"uploadBtn",staticClass:"sone-upload-btn",attrs:{"tooltipDisabled":_vm.tooltipDisabled,"enterable":false,"content":"上传","placement":"top","disabled":_vm.disabled,"icon":_vm.uploadIcon,"iconfont":false}}):_vm._e(),(_vm.type === 'img')?_c('div',{staticClass:"sone-upload-drag"},[_c('el-tooltip',{attrs:{"enterable":false,"content":"上传","placement":"top"}},[_c('i',{class:_vm.uploadIcon})]),_c('div',{staticClass:"el-upload__text"},[_vm._v("将文件拖到此处,或"),_c('em',[_vm._v("点击上传")])])],1):_vm._e()],1):_vm._e(),(!_vm.readonly)?_c('div',{staticClass:"sone-upload-placeholder"},[_vm._v(_vm._s(_vm.placeholder))]):_vm._e(),(!_vm.multiple && _vm.fileList && Object.keys(_vm.fileList).length != 0)?_c('div',{staticClass:"sone-upload-file"},[_c('div',{staticClass:"sone-upload-file-box"},[_c('el-tooltip',{attrs:{"enterable":false,"content":_vm.fileList.name,"placement":"top"}},[_c('span',{staticClass:"sone-upload-file-name",attrs:{"title":_vm.fileList.name},on:{"click":function($event){return _vm.clickName(_vm.fileList)}}},[_vm._v(" "+_vm._s(_vm.fileList.name)+"("+_vm._s(_vm.getFileMb(_vm.fileList.size))+"MB) ")])]),_c('div',[_c('el-tooltip',{attrs:{"enterable":false,"content":"查看","placement":"top"}},[_c('i',{staticClass:"sone-upload-file-download el-icon-view",attrs:{"title":"查看"},on:{"click":function($event){!_vm.disabled && _vm.see(_vm.fileList)}}})]),_c('el-tooltip',{attrs:{"enterable":false,"content":"下载","placement":"top"}},[_c('i',{staticClass:"sone-upload-file-download el-icon-download",attrs:{"title":"下载"},on:{"click":function($event){!_vm.disabled && _vm.download(_vm.fileList)}}})]),_c('el-tooltip',{attrs:{"enterable":false,"content":"删除","placement":"top"}},[_c('i',{staticClass:"sone-upload-file-del el-icon-circle-close",attrs:{"title":"删除"},on:{"click":function($event){!_vm.disabled && _vm.del(_vm.fileList)}}})])],1)],1)]):_vm._e(),(_vm.multiple && _vm.fileList.length != 0)?_c('div',{staticClass:"sone-upload-file"},_vm._l((_vm.fileList),function(item,index){return _c('div',{key:index,staticClass:"sone-upload-file-box"},[_c('el-tooltip',{attrs:{"enterable":false,"content":item.name,"placement":"top"}},[_c('span',{staticClass:"sone-upload-file-name",attrs:{"title":item.name},on:{"click":function($event){return _vm.clickName(item)}}},[_vm._v(" "+_vm._s(item.name)+"("+_vm._s(_vm.getFileMb(item.size))+"MB) ")])]),_c('div',[_c('el-tooltip',{attrs:{"enterable":false,"content":"查看","placement":"top"}},[_c('i',{staticClass:"sone-upload-file-download el-icon-view",attrs:{"title":"查看"},on:{"click":function($event){!_vm.disabled && _vm.see(item)}}})]),_c('el-tooltip',{attrs:{"enterable":false,"content":"下载","placement":"top"}},[_c('i',{staticClass:"sone-upload-file-download el-icon-download",attrs:{"title":"下载"},on:{"click":function($event){!_vm.disabled && _vm.download(item)}}})]),_c('el-tooltip',{attrs:{"enterable":false,"content":"删除","placement":"top"}},[_c('i',{staticClass:"sone-upload-file-del el-icon-circle-close",attrs:{"title":"删除"},on:{"click":function($event){!_vm.disabled && _vm.del(item)}}})])],1)],1)}),0):_vm._e(),(_vm.readonly && !_vm.fileList)?_c('div',[_vm._v(" -- ")]):_vm._e()],1)}
|
|
36568
37476
|
var mainvue_type_template_id_372fe109_staticRenderFns = []
|
|
36569
37477
|
|
|
@@ -37007,6 +37915,7 @@ external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_default.a.directive('dialog
|
|
|
37007
37915
|
|
|
37008
37916
|
|
|
37009
37917
|
|
|
37918
|
+
|
|
37010
37919
|
|
|
37011
37920
|
|
|
37012
37921
|
|
|
@@ -37019,6 +37928,7 @@ const components = [
|
|
|
37019
37928
|
packages_form,
|
|
37020
37929
|
dialog,
|
|
37021
37930
|
table,
|
|
37931
|
+
normalTable,
|
|
37022
37932
|
packages_select,
|
|
37023
37933
|
datePicker,
|
|
37024
37934
|
datePickerRange,
|
|
@@ -37046,7 +37956,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
37046
37956
|
}
|
|
37047
37957
|
|
|
37048
37958
|
/* harmony default export */ var src_0 = ({
|
|
37049
|
-
version: '2.1.
|
|
37959
|
+
version: '2.1.17',
|
|
37050
37960
|
locale: locale.use,
|
|
37051
37961
|
i18n: locale.i18n,
|
|
37052
37962
|
install,
|
|
@@ -37059,6 +37969,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
37059
37969
|
Form: packages_form,
|
|
37060
37970
|
Dialog: dialog,
|
|
37061
37971
|
Table: table,
|
|
37972
|
+
NormalTable: normalTable,
|
|
37062
37973
|
Select: packages_select,
|
|
37063
37974
|
DatePicker: datePicker,
|
|
37064
37975
|
DatePickerRange: datePickerRange,
|