sone-ui-component-3.2.4 2.0.270 → 2.0.272

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.
@@ -101,17 +101,6 @@ return /******/ (function(modules) { // webpackBootstrap
101
101
 
102
102
  // extracted by mini-css-extract-plugin
103
103
 
104
- /***/ }),
105
-
106
- /***/ "3ac7":
107
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
108
-
109
- "use strict";
110
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_e539e95e_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5c75");
111
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_e539e95e_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_e539e95e_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
112
- /* unused harmony reexport * */
113
-
114
-
115
104
  /***/ }),
116
105
 
117
106
  /***/ "3c4e":
@@ -219,10 +208,14 @@ module.exports = deepmerge_1;
219
208
 
220
209
  /***/ }),
221
210
 
222
- /***/ "5c75":
223
- /***/ (function(module, exports, __webpack_require__) {
211
+ /***/ "4a61":
212
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
213
+
214
+ "use strict";
215
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_8d5dbf8c_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("90c8");
216
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_8d5dbf8c_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_8d5dbf8c_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
217
+ /* unused harmony reexport * */
224
218
 
225
- // extracted by mini-css-extract-plugin
226
219
 
227
220
  /***/ }),
228
221
 
@@ -25172,6 +25165,13 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__8bbf__;
25172
25165
 
25173
25166
  /***/ }),
25174
25167
 
25168
+ /***/ "90c8":
25169
+ /***/ (function(module, exports, __webpack_require__) {
25170
+
25171
+ // extracted by mini-css-extract-plugin
25172
+
25173
+ /***/ }),
25174
+
25175
25175
  /***/ "ea9b":
25176
25176
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
25177
25177
 
@@ -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":"b390af64-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&
25217
+ // 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/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":"b390af64-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&
25843
+ // 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/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,12 +25993,12 @@ 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":"b390af64-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=5115c798&scoped=true&
25997
- var mainvue_type_template_id_5115c798_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.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',{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',{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
- var mainvue_type_template_id_5115c798_scoped_true_staticRenderFns = []
25996
+ // 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/tree/src/main.vue?vue&type=template&id=140590c0&scoped=true&
25997
+ var mainvue_type_template_id_140590c0_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',{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',{attrs:{"type":"text","size":"mini","icon":"iconfont iconfont-single icon-more"},on:{"click":[function($event){$event.stopPropagation();return _vm.showTreeMenu(scope,$event)},function($event){return _vm.handldMore(scope.node)}]}})],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
+ var mainvue_type_template_id_140590c0_scoped_true_staticRenderFns = []
25999
25999
 
26000
26000
 
26001
- // CONCATENATED MODULE: ./packages/tree/src/main.vue?vue&type=template&id=5115c798&scoped=true&
26001
+ // CONCATENATED MODULE: ./packages/tree/src/main.vue?vue&type=template&id=140590c0&scoped=true&
26002
26002
 
26003
26003
  // CONCATENATED MODULE: ./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=script&lang=js&
26004
26004
  //
@@ -26237,13 +26237,14 @@ const mainvue_type_script_lang_js_deepClone = data => {
26237
26237
  defaultCheckedKeys: { type: Array },
26238
26238
  currentNodeKey:{ type:[Number, String] },
26239
26239
  indent: { type: Number },
26240
- iconClass: { type: "String" },
26240
+ iconClass: { type: String },
26241
26241
  draggable: { type: Boolean },
26242
26242
  searchType:{ type:String, default:'normal' }, // normal api
26243
26243
  defaultWidth:{ type:Number, default:200 },
26244
26244
  placeholder:{ type:String, default:'请输入关键字搜索' },
26245
26245
  clearable: { type: Boolean, default: false },
26246
26246
  showTitleButton: { type: Boolean, default: true },
26247
+ titleIcon: { type: String, default: '' },
26247
26248
  allowDrop: { type: Function },
26248
26249
  allowDrag: { type: Function },
26249
26250
  dragWidth:{
@@ -26295,6 +26296,9 @@ const mainvue_type_script_lang_js_deepClone = data => {
26295
26296
  this.resetHandleData()
26296
26297
  },
26297
26298
  methods: {
26299
+ handldMore(node){
26300
+ this.$emit('click-more',node.data)
26301
+ },
26298
26302
  dropSize(){
26299
26303
  let that = this;
26300
26304
 
@@ -26381,6 +26385,7 @@ const mainvue_type_script_lang_js_deepClone = data => {
26381
26385
  return data[this.treeProps.label].indexOf(value) !== -1;
26382
26386
  },
26383
26387
  handleNodeClick(data) {
26388
+ this.handleMenuFlag = false
26384
26389
  this.$emit("node-click", data);
26385
26390
  },
26386
26391
  handleCheckChange(data, check, is) {
@@ -26440,11 +26445,11 @@ const mainvue_type_script_lang_js_deepClone = data => {
26440
26445
 
26441
26446
  var src_main_component = normalizeComponent(
26442
26447
  packages_tree_src_mainvue_type_script_lang_js_,
26443
- mainvue_type_template_id_5115c798_scoped_true_render,
26444
- mainvue_type_template_id_5115c798_scoped_true_staticRenderFns,
26448
+ mainvue_type_template_id_140590c0_scoped_true_render,
26449
+ mainvue_type_template_id_140590c0_scoped_true_staticRenderFns,
26445
26450
  false,
26446
26451
  null,
26447
- "5115c798",
26452
+ "140590c0",
26448
26453
  null
26449
26454
 
26450
26455
  )
@@ -26464,7 +26469,7 @@ tree_src_main.install = function(Vue) {
26464
26469
  };
26465
26470
 
26466
26471
  /* harmony default export */ var tree = (tree_src_main);
26467
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b390af64-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&
26472
+ // 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/steps/src/main.vue?vue&type=template&id=3523f814&
26468
26473
  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:{
26469
26474
  'sone-steps-currentColor': _vm.active === index,
26470
26475
  'sone-steps-finishColor': _vm.active > index,
@@ -26736,14 +26741,14 @@ steps_src_main.install = function(Vue) {
26736
26741
  };
26737
26742
 
26738
26743
  /* harmony default export */ var steps = (steps_src_main);
26739
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b390af64-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=0de9b7e4&
26740
- var mainvue_type_template_id_0de9b7e4_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',{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',{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',{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()])],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)}
26741
- var mainvue_type_template_id_0de9b7e4_staticRenderFns = []
26744
+ // 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/upload/src/main.vue?vue&type=template&id=75e5e19f&
26745
+ var mainvue_type_template_id_75e5e19f_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 }},[_c('div',[_vm._v("11111")]),(!_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.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)}
26746
+ var mainvue_type_template_id_75e5e19f_staticRenderFns = []
26742
26747
 
26743
26748
 
26744
- // CONCATENATED MODULE: ./packages/upload/src/main.vue?vue&type=template&id=0de9b7e4&
26749
+ // CONCATENATED MODULE: ./packages/upload/src/main.vue?vue&type=template&id=75e5e19f&
26745
26750
 
26746
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b390af64-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&
26751
+ // 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/IconButton/index.vue?vue&type=template&id=943e0cac&scoped=true&
26747
26752
  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)}
26748
26753
  var IconButtonvue_type_template_id_943e0cac_scoped_true_staticRenderFns = []
26749
26754
 
@@ -26997,6 +27002,11 @@ var IconButton_component = normalizeComponent(
26997
27002
  //
26998
27003
  //
26999
27004
  //
27005
+ //
27006
+ //
27007
+ //
27008
+ //
27009
+ //
27000
27010
 
27001
27011
 
27002
27012
  /* harmony default export */ var upload_src_mainvue_type_script_lang_js_ = ({
@@ -27035,6 +27045,16 @@ var IconButton_component = normalizeComponent(
27035
27045
  type: Boolean,
27036
27046
  default: false,
27037
27047
  },
27048
+ singleDelBtn:{
27049
+ type: Boolean,
27050
+ default: true,
27051
+ remark:'单文件是否显示删除按钮'
27052
+ },
27053
+ singleEditBtn:{
27054
+ type: Boolean,
27055
+ default: false,
27056
+ remark:'单文件是否显示编辑按钮'
27057
+ }
27038
27058
  },
27039
27059
  model:{
27040
27060
  prop: 'value',
@@ -27042,12 +27062,12 @@ var IconButton_component = normalizeComponent(
27042
27062
  },
27043
27063
  data() {
27044
27064
  return {
27045
- acceptType: '.jpg,.jpeg,.png,.gif,.JPG,.JPEG,.GIF,.txt,.pdf,.doc,.docx,.xls,.xlsx,.ppt,.pptx,.zip,.rar',
27065
+ acceptType: '.jpg,.jpeg,.png,.gif,.bmp,.JPG,.JPEG,.GIF,.txt,.pdf,.doc,.docx,.xls,.xlsx,.ppt,.pptx,.zip,.rar',
27046
27066
  }
27047
27067
  },
27048
27068
  mounted(){
27049
27069
  if(this.accept) this.acceptType = this.accept;
27050
- if(this.type === 'img') this.acceptType = this.accept || '.jpg,.jpeg,.png,.gif,.JPG,.JPEG,.GIF';
27070
+ if(this.type === 'img') this.acceptType = this.accept || '.jpg,.jpeg,.png,.gif,.bmp,.JPG,.JPEG,.GIF';
27051
27071
  },
27052
27072
  watch:{
27053
27073
  fileList:{
@@ -27069,6 +27089,12 @@ var IconButton_component = normalizeComponent(
27069
27089
  }
27070
27090
  },
27071
27091
  methods: {
27092
+ /**
27093
+ * @description 编辑
27094
+ **/
27095
+ editImg(){
27096
+ this.$refs['uploadBtn'].click()
27097
+ },
27072
27098
  /**
27073
27099
  * @description 删除上传
27074
27100
  * @param { Object } file 文件信息
@@ -27121,8 +27147,8 @@ var IconButton_component = normalizeComponent(
27121
27147
 
27122
27148
  var upload_src_main_component = normalizeComponent(
27123
27149
  packages_upload_src_mainvue_type_script_lang_js_,
27124
- mainvue_type_template_id_0de9b7e4_render,
27125
- mainvue_type_template_id_0de9b7e4_staticRenderFns,
27150
+ mainvue_type_template_id_75e5e19f_render,
27151
+ mainvue_type_template_id_75e5e19f_staticRenderFns,
27126
27152
  false,
27127
27153
  null,
27128
27154
  null,
@@ -27298,7 +27324,7 @@ Watermark.clearAll = function () {
27298
27324
 
27299
27325
  /* harmony default export */ var watermark = (watermark_src_main);
27300
27326
 
27301
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b390af64-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=6e3e3176&
27327
+ // 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/form/src/mainNoDrag.vue?vue&type=template&id=6e3e3176&
27302
27328
  var mainNoDragvue_type_template_id_6e3e3176_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:({
27303
27329
  height: _vm.showCollapse && !_vm.isBottomCollapse ? 52 * _vm.rowHideCount + 4 + 'px' : 'auto',
27304
27330
  'overflow-y': _vm.showCollapse && _vm.isBottomCollapse ? 'auto' : 'hidden'
@@ -27827,12 +27853,12 @@ mainNoDrag.install = function(Vue) {
27827
27853
  };
27828
27854
 
27829
27855
  /* harmony default export */ var packages_form = (mainNoDrag);
27830
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b390af64-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=fe7c93a6&
27831
- var mainvue_type_template_id_fe7c93a6_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"}],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")]},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)}
27832
- var mainvue_type_template_id_fe7c93a6_staticRenderFns = []
27856
+ // 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/dialog/src/main.vue?vue&type=template&id=49994547&
27857
+ var mainvue_type_template_id_49994547_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"}],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")]},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)}
27858
+ var mainvue_type_template_id_49994547_staticRenderFns = []
27833
27859
 
27834
27860
 
27835
- // CONCATENATED MODULE: ./packages/dialog/src/main.vue?vue&type=template&id=fe7c93a6&
27861
+ // CONCATENATED MODULE: ./packages/dialog/src/main.vue?vue&type=template&id=49994547&
27836
27862
 
27837
27863
  // CONCATENATED MODULE: ./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=script&lang=js&
27838
27864
  //
@@ -27967,7 +27993,8 @@ var mainvue_type_template_id_fe7c93a6_staticRenderFns = []
27967
27993
  },
27968
27994
  data() {
27969
27995
  return {
27970
- dialogVisible: true
27996
+ dialogVisible: true,
27997
+ timer: null,
27971
27998
  };
27972
27999
  },
27973
28000
  methods: {
@@ -27975,6 +28002,10 @@ var mainvue_type_template_id_fe7c93a6_staticRenderFns = []
27975
28002
  this.$emit("close");
27976
28003
  },
27977
28004
  handleConfirm() {
28005
+ if(this.timer) return; //PC端出现了点击确定出现了两次回调的情况, 这里限制下
28006
+ this.timer = setTimeout(() => {
28007
+ this.timer = null;
28008
+ }, 800)
27978
28009
  this.$emit("confirm");
27979
28010
  }
27980
28011
  }
@@ -27992,8 +28023,8 @@ var mainvue_type_template_id_fe7c93a6_staticRenderFns = []
27992
28023
 
27993
28024
  var dialog_src_main_component = normalizeComponent(
27994
28025
  packages_dialog_src_mainvue_type_script_lang_js_,
27995
- mainvue_type_template_id_fe7c93a6_render,
27996
- mainvue_type_template_id_fe7c93a6_staticRenderFns,
28026
+ mainvue_type_template_id_49994547_render,
28027
+ mainvue_type_template_id_49994547_staticRenderFns,
27997
28028
  false,
27998
28029
  null,
27999
28030
  null,
@@ -28011,19 +28042,19 @@ dialog_src_main.install = function(Vue) {
28011
28042
 
28012
28043
  /* harmony default export */ var dialog = (dialog_src_main);
28013
28044
 
28014
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b390af64-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=3a4d34ef&
28015
- var mainvue_type_template_id_3a4d34ef_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,"trigger":"click"},on:{"visible-change":_vm.onColumnVisibleMenu}},[_c('icon-button',{staticClass:"sort-btn",attrs:{"iconfont":false,"tooltipDisabled":_vm.tooltipDisabled,"content":"列展示","icon":"el-icon-s-operation"},on:{"click":function($event){_vm.columnVisible = true}}}),_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,"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,"stripe":true,"border":_vm.border,"sum-text":_vm.option.sumText,"summary-method":_vm.summaryMethod},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}},[(_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,"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,"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,"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',"filter-placement":"bottom-end","header-align":column.hasOwnProperty('headerAlign') ? column.headerAlign : 'left',"show-overflow-tooltip":column.hasOwnProperty('showOverflowTooltip') ? column.showOverflowTooltip : true,"column-key":column.hasOwnProperty('elementId')? column.elementId:column.prop,"resizable":column.hasOwnProperty('resizable') ? column.resizable : true},scopedSlots:_vm._u([{key:"header",fn:function(scope){return [(column.slotColumnHeader && _vm.isShow)?_vm._t(column.slotColumnHeader,null,{"header":{column: scope.column, $index:scope.$index }}):_vm._e(),(!column.slotColumnHeader && _vm.isShow)?[_c('div',{staticClass:"slot_header_class"},[(column.isRequire)?_c('span',{staticClass:"table-header-isRequire"},[_vm._v("*")]):_vm._e(),_c('span',[_vm._v(_vm._s(column.label))]),_c('span',{staticClass:"hide"},[(column.headerDescribe)?_c('i',{staticClass:"iconfont icon-help icon_describe",attrs:{"title":column.headerDescribe}}):_vm._e(),(column.headerFilterSort)?_c('span',{staticClass:"caret-wrapper",class:{ 'ascending': _vm.sortVal === column.prop + 'ascending', 'descending': _vm.sortVal === column.prop + 'descending' }},[_c('i',{staticClass:"sort-caret ascending",attrs:{"title":"升序"},on:{"click":function($event){return _vm.handleCommand(column.prop, index, { command: 'ascending' })}}}),_c('i',{staticClass:"sort-caret descending",attrs:{"title":"降序"},on:{"click":function($event){return _vm.handleCommand(column.prop, index, { command: 'descending' })}}})]):_vm._e()])])]:_vm._e()]}},{key:"default",fn:function(scope){return [(column.slotCell)?_vm._t(column.slotCell,null,{"index":scope.$index,"row":scope.row}):[_vm._v(_vm._s(scope.row[column.prop]))]]}}],null,true)},[(_vm.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,"align":childColumn.hasOwnProperty('align') ? childColumn.align : 'left',"filter-placement":"bottom-end","header-align":childColumn.hasOwnProperty('headerAlign') ? childColumn.headerAlign : 'left',"show-overflow-tooltip":childColumn.hasOwnProperty('showOverflowTooltip') ? childColumn.showOverflowTooltip : true,"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}):[_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)}
28016
- var mainvue_type_template_id_3a4d34ef_staticRenderFns = []
28045
+ // 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/table/src/main.vue?vue&type=template&id=89ab6f68&
28046
+ var mainvue_type_template_id_89ab6f68_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},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,"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,"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,"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',"filter-placement":"bottom-end","header-align":column.hasOwnProperty('headerAlign') ? column.headerAlign : 'left',"show-overflow-tooltip":column.hasOwnProperty('showOverflowTooltip') ? column.showOverflowTooltip : false,"column-key":column.hasOwnProperty('elementId')? column.elementId:column.prop,"resizable":column.hasOwnProperty('resizable') ? column.resizable : true},scopedSlots:_vm._u([{key:"header",fn:function(scope){return [(column.slotColumnHeader && _vm.isShow)?_vm._t(column.slotColumnHeader,null,{"header":{column: scope.column, $index:scope.$index }}):_vm._e(),(!column.slotColumnHeader && _vm.isShow)?[_c('div',{staticClass:"slot_header_class"},[(column.isRequire)?_c('span',{staticClass:"table-header-isRequire"},[_vm._v("*")]):_vm._e(),_c('span',[_vm._v(_vm._s(column.label))]),_c('span',{staticClass:"hide"},[(column.headerDescribe)?_c('i',{staticClass:"iconfont icon-help icon_describe",attrs:{"title":column.headerDescribe}}):_vm._e(),(column.headerFilterSort)?_c('span',{staticClass:"caret-wrapper",class:{ 'ascending': _vm.sortVal === column.prop + 'ascending', 'descending': _vm.sortVal === column.prop + 'descending' }},[_c('i',{staticClass:"sort-caret ascending",attrs:{"title":"升序"},on:{"click":function($event){return _vm.handleCommand(column.prop, index, { command: 'ascending' })}}}),_c('i',{staticClass:"sort-caret descending",attrs:{"title":"降序"},on:{"click":function($event){return _vm.handleCommand(column.prop, index, { command: 'descending' })}}})]):_vm._e()])])]:_vm._e()]}},{key:"default",fn:function(scope){return [(column.slotCell)?_vm._t(column.slotCell,null,{"index":scope.$index,"row":scope.row}):[_vm._v(_vm._s(scope.row[column.prop]))]]}}],null,true)},[(_vm.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,"align":childColumn.hasOwnProperty('align') ? childColumn.align : 'left',"filter-placement":"bottom-end","header-align":childColumn.hasOwnProperty('headerAlign') ? childColumn.headerAlign : 'left',"show-overflow-tooltip":childColumn.hasOwnProperty('showOverflowTooltip') ? childColumn.showOverflowTooltip : false,"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}):[_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)}
28047
+ var mainvue_type_template_id_89ab6f68_staticRenderFns = []
28017
28048
 
28018
28049
 
28019
- // CONCATENATED MODULE: ./packages/table/src/main.vue?vue&type=template&id=3a4d34ef&
28050
+ // CONCATENATED MODULE: ./packages/table/src/main.vue?vue&type=template&id=89ab6f68&
28020
28051
 
28021
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b390af64-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=b462b7d4&
28022
- var columnTransfervue_type_template_id_b462b7d4_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-zhidi",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-zhiding",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-zhiding",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-zhidi",on:{"click":function($event){return _vm.selectFixed(item,'right')}}})])],1)])}),0)],1)])])])],1)}
28023
- var columnTransfervue_type_template_id_b462b7d4_staticRenderFns = []
28052
+ // 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/table/src/columnTransfer.vue?vue&type=template&id=14f18798&
28053
+ 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)}
28054
+ var columnTransfervue_type_template_id_14f18798_staticRenderFns = []
28024
28055
 
28025
28056
 
28026
- // CONCATENATED MODULE: ./packages/table/src/columnTransfer.vue?vue&type=template&id=b462b7d4&
28057
+ // CONCATENATED MODULE: ./packages/table/src/columnTransfer.vue?vue&type=template&id=14f18798&
28027
28058
 
28028
28059
  // CONCATENATED MODULE: ./node_modules/sortablejs/modular/sortable.esm.js
28029
28060
  /**!
@@ -32126,8 +32157,8 @@ Sortable.mount(Remove, Revert);
32126
32157
 
32127
32158
  var columnTransfer_component = normalizeComponent(
32128
32159
  src_columnTransfervue_type_script_lang_js_,
32129
- columnTransfervue_type_template_id_b462b7d4_render,
32130
- columnTransfervue_type_template_id_b462b7d4_staticRenderFns,
32160
+ columnTransfervue_type_template_id_14f18798_render,
32161
+ columnTransfervue_type_template_id_14f18798_staticRenderFns,
32131
32162
  false,
32132
32163
  null,
32133
32164
  null,
@@ -32773,6 +32804,7 @@ var columnTransfer_component = normalizeComponent(
32773
32804
  //
32774
32805
  //
32775
32806
  //
32807
+ //
32776
32808
 
32777
32809
 
32778
32810
 
@@ -32806,6 +32838,14 @@ var columnTransfer_component = normalizeComponent(
32806
32838
  type: Boolean,
32807
32839
  default: false,
32808
32840
  },
32841
+ showHeader: {
32842
+ type: Boolean,
32843
+ default: true,
32844
+ },
32845
+ stripe: {
32846
+ type: Boolean,
32847
+ default: true,
32848
+ },
32809
32849
  border: {
32810
32850
  type: Boolean,
32811
32851
  default: true,
@@ -32915,7 +32955,6 @@ var columnTransfer_component = normalizeComponent(
32915
32955
  // 复选
32916
32956
  checkAll: false,
32917
32957
  checkIndeterminate: false,
32918
- columnVisible: false,
32919
32958
  //多选的列表
32920
32959
  checkList: this.defaultCheckedList,
32921
32960
 
@@ -33470,6 +33509,9 @@ var columnTransfer_component = normalizeComponent(
33470
33509
  },
33471
33510
  updateColumn(){
33472
33511
 
33512
+ },
33513
+ expandChange(row, expend){
33514
+ this.$emit('expandChange', row, expend)
33473
33515
  }
33474
33516
  },
33475
33517
  });
@@ -33486,8 +33528,8 @@ var columnTransfer_component = normalizeComponent(
33486
33528
 
33487
33529
  var table_src_main_component = normalizeComponent(
33488
33530
  packages_table_src_mainvue_type_script_lang_js_,
33489
- mainvue_type_template_id_3a4d34ef_render,
33490
- mainvue_type_template_id_3a4d34ef_staticRenderFns,
33531
+ mainvue_type_template_id_89ab6f68_render,
33532
+ mainvue_type_template_id_89ab6f68_staticRenderFns,
33491
33533
  false,
33492
33534
  null,
33493
33535
  null,
@@ -33513,15 +33555,15 @@ table_src_main.install = function(Vue) {
33513
33555
 
33514
33556
  /* harmony default export */ var table = (table_src_main);
33515
33557
 
33516
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b390af64-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=5ebc7e87&
33517
- var mainvue_type_template_id_5ebc7e87_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,"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){
33558
+ // 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/select/src/main.vue?vue&type=template&id=bd9422c6&
33559
+ 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){
33518
33560
  var node = ref.node;
33519
33561
  var data = ref.data;
33520
33562
  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)}
33521
- var mainvue_type_template_id_5ebc7e87_staticRenderFns = []
33563
+ var mainvue_type_template_id_bd9422c6_staticRenderFns = []
33522
33564
 
33523
33565
 
33524
- // CONCATENATED MODULE: ./packages/select/src/main.vue?vue&type=template&id=5ebc7e87&
33566
+ // CONCATENATED MODULE: ./packages/select/src/main.vue?vue&type=template&id=bd9422c6&
33525
33567
 
33526
33568
  // 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&
33527
33569
  //
@@ -33592,173 +33634,182 @@ var mainvue_type_template_id_5ebc7e87_staticRenderFns = []
33592
33634
  //
33593
33635
  //
33594
33636
  //
33595
- //
33596
- //
33597
-
33598
- /* harmony default export */ var select_src_mainvue_type_script_lang_js_ = ({
33599
- name: "SoneSelect",
33600
- components: {
33601
-
33602
- },
33603
- model: {
33604
- prop: 'model',
33605
- event: 'changeVal'
33606
- },
33607
- props: {
33608
- type: {/* 组件类型:普通:normal, 属性:tree */
33609
- type: String,
33610
- default: "normal"
33611
- },
33612
- model: {/* 绑定的数据 */
33613
- default: null
33614
- },
33615
- placeholder: {/* 占位符 */
33616
- type: String,
33617
- default: "请选择"
33618
- },
33619
- multiple: {/* 是否多选 */
33620
- type: Boolean,
33621
- default: false
33622
- },
33623
- disabled: {/* 是否禁用 */
33624
- type: Boolean,
33625
- default: false
33626
- },
33627
- clearable: {/* 是否可以清空选项 */
33628
- type: Boolean,
33629
- default: true
33630
- },
33631
- options: {/* 下拉选项列表 */
33632
- type: Array,
33633
- default: () => []
33634
- },
33635
- props: {/* 配置选项 */
33636
- type: Object,
33637
- default: () => {
33638
- return {
33639
- children: 'children',
33640
- label: 'label',
33641
- value: 'value',
33642
- disabled: 'disabled'
33643
- }
33644
- }
33645
- },
33646
- checkStrictly: {/* 树形- */
33647
- type: Boolean,
33648
- default: true
33649
- },
33650
- popperClass: {//Select 下拉框的类名
33651
- type: String,
33652
- default: ''
33653
- },
33654
- popperAppendToBody: {/* 是否将弹出框插入至 body 元素。在弹出框的定位出现问题时,可将该属性设置为 false */
33655
- type: Boolean,
33656
- default: false
33657
- },
33658
- formatLabelFunc: {/* 格式化Label函数 */
33659
- type: Function,
33660
- default: (data, label) => {
33661
- return data[label];
33662
- }
33663
- },
33664
- filterMethod: {
33665
- type: Function,
33666
- default: null,
33667
- }
33668
-
33669
- },
33670
- data() {
33671
- return {
33672
- optionsClone: [],
33673
- checkedNodes: [],
33674
- internalOptions: [],
33675
- }
33676
- },
33677
- watch: {
33678
- 'model.length'(newValue, oldValue) {
33679
- if (this.type === 'tree' && Array.isArray(this.model)) {
33680
- this.$refs.treeRef.setCheckedKeys(this.model)
33681
- }
33682
- },
33683
- options: {
33684
- handler(newVal, oldVal) {
33685
- if (newVal) {
33686
- this.internalOptions = [...newVal];
33687
- this.optionsClone = [...newVal];
33688
- }
33689
- },
33690
- immediate: true,
33691
- deep: true,
33692
- }
33693
- },
33694
- computed: {
33695
-
33696
- },
33697
- created() {
33698
-
33699
- },
33700
- mounted() {
33701
- if (Array.isArray(this.model)) {
33702
- this.checkedNodes = [...this.model];
33703
- }
33704
- },
33705
- methods: {
33706
- onChange(val) {
33707
- /* v-model */
33708
- this.$emit('changeVal', val);
33709
- if (!this.multiple) {
33710
- this.$emit('change', val)
33711
- }
33712
- },
33713
- onFilterOption(words) {
33714
- if (this.filterMethod) {
33715
- this.filterMethod(words);
33716
- } else {
33717
- if (this.type === 'normal') {
33718
- let aResult = this.optionsClone.filter(item => {
33719
- return item[this.props.label].toLowerCase()
33720
- .indexOf(words.toLowerCase()) > -1;
33721
- });
33722
- if (aResult.length) {
33723
- this.internalOptions = [...aResult];
33724
- } else {
33725
- this.internalOptions = [...this.optionsClone];
33726
- }
33727
- } else if (this.type === 'tree') {
33728
- this.$refs.treeRef.filter(words)
33729
- }
33730
- }
33731
-
33732
- },
33733
- onFilterNode(val, data) {
33734
- if (!val) return true;
33735
- return data[this.props.label].indexOf(val) !== -1;
33736
- },
33737
- handleVisible(val) {
33738
- if (!val) {
33739
- if (this.type === 'tree') {
33740
- this.multiple && this.$emit('change', this.model);
33741
- this.$refs.treeRef.filter('');
33742
- } else if (this.type === 'normal') {
33743
- this.multiple && this.$emit('change', this.model);
33744
- }
33745
- // this.options = [...this.optionsClone];
33746
- }
33747
- },
33748
- onCheckNode(checkedNodes, checkedKeys) {
33749
- this.$emit('changeVal', [...checkedKeys.checkedKeys]);
33750
- },
33751
- onClear() {
33752
- if (this.type === 'normal') {
33753
- this.internalOptions = [...this.options];
33754
- }
33755
- this.$emit('clear')
33756
- },
33757
- doTreeFilter(words){
33758
- this.$refs.treeRef && this.$refs.treeRef.filter(words);
33759
- },
33760
- },
33761
- });
33637
+
33638
+ /* harmony default export */ var select_src_mainvue_type_script_lang_js_ = ({
33639
+ name: "SoneSelect",
33640
+ components: {},
33641
+ model: {
33642
+ prop: "model",
33643
+ event: "changeVal"
33644
+ },
33645
+ props: {
33646
+ type: {
33647
+ /* 组件类型:普通:normal, 属性:tree */
33648
+ type: String,
33649
+ default: "normal"
33650
+ },
33651
+ model: {
33652
+ /* 绑定的数据 */
33653
+ default: null
33654
+ },
33655
+ placeholder: {
33656
+ /* 占位符 */
33657
+ type: String,
33658
+ default: "请选择"
33659
+ },
33660
+ multiple: {
33661
+ /* 是否多选 */
33662
+ type: Boolean,
33663
+ default: false
33664
+ },
33665
+ disabled: {
33666
+ /* 是否禁用 */
33667
+ type: Boolean,
33668
+ default: false
33669
+ },
33670
+ clearable: {
33671
+ /* 是否可以清空选项 */
33672
+ type: Boolean,
33673
+ default: true
33674
+ },
33675
+ options: {
33676
+ /* 下拉选项列表 */
33677
+ type: Array,
33678
+ default: () => []
33679
+ },
33680
+ props: {
33681
+ /* 配置选项 */
33682
+ type: Object,
33683
+ default: () => {
33684
+ return {
33685
+ children: "children",
33686
+ label: "label",
33687
+ value: "value",
33688
+ disabled: "disabled"
33689
+ };
33690
+ }
33691
+ },
33692
+ checkStrictly: {
33693
+ /* 树形- */
33694
+ type: Boolean,
33695
+ default: true
33696
+ },
33697
+ popperClass: {
33698
+ //Select 下拉框的类名
33699
+ type: String,
33700
+ default: ""
33701
+ },
33702
+ popperAppendToBody: {
33703
+ /* 是否将弹出框插入至 body 元素。在弹出框的定位出现问题时,可将该属性设置为 false */
33704
+ type: Boolean,
33705
+ default: false
33706
+ },
33707
+ formatLabelFunc: {
33708
+ /* 格式化Label函数 */
33709
+ type: Function,
33710
+ default: (data, label) => {
33711
+ return data[label];
33712
+ }
33713
+ },
33714
+ filterMethod: {
33715
+ type: Function,
33716
+ default: null
33717
+ }
33718
+ },
33719
+ data() {
33720
+ return {
33721
+ optionsClone: [],
33722
+ checkedNodes: [],
33723
+ internalOptions: []
33724
+ };
33725
+ },
33726
+ watch: {
33727
+ "model.length"(newValue, oldValue) {
33728
+ if (this.type === "tree" && Array.isArray(this.model)) {
33729
+ this.$refs.treeRef.setCheckedKeys(this.model);
33730
+ }
33731
+ },
33732
+ options: {
33733
+ handler(newVal, oldVal) {
33734
+ if (newVal) {
33735
+ this.internalOptions = [...newVal];
33736
+ this.optionsClone = [...newVal];
33737
+ }
33738
+ },
33739
+ immediate: true,
33740
+ deep: true
33741
+ }
33742
+ },
33743
+ computed: {},
33744
+ created() {},
33745
+ mounted() {
33746
+ if (Array.isArray(this.model)) {
33747
+ this.checkedNodes = [...this.model];
33748
+ }
33749
+ },
33750
+ methods: {
33751
+ onChange(val) {
33752
+ /* v-model */
33753
+ this.$emit("changeVal", val);
33754
+ if (!this.multiple) {
33755
+ this.$emit("change", val);
33756
+ }
33757
+ },
33758
+ onRemoveTag(val) {
33759
+ this.$emit("change", this.model);
33760
+ this.$emit("remove-tag", val);
33761
+ },
33762
+ onFilterOption(words) {
33763
+ if (this.filterMethod) {
33764
+ this.filterMethod(words);
33765
+ } else {
33766
+ if (this.type === "normal") {
33767
+ let aResult = this.optionsClone.filter(item => {
33768
+ return (
33769
+ item[this.props.label]
33770
+ .toLowerCase()
33771
+ .indexOf(words.toLowerCase()) > -1
33772
+ );
33773
+ });
33774
+ if (aResult.length) {
33775
+ this.internalOptions = [...aResult];
33776
+ } else {
33777
+ this.internalOptions = [...this.optionsClone];
33778
+ }
33779
+ } else if (this.type === "tree") {
33780
+ this.$refs.treeRef.filter(words);
33781
+ }
33782
+ }
33783
+ },
33784
+ onFilterNode(val, data) {
33785
+ if (!val) return true;
33786
+ return data[this.props.label].indexOf(val) !== -1;
33787
+ },
33788
+ handleVisible(val) {
33789
+ if (!val) {
33790
+ if (this.type === "tree") {
33791
+ this.multiple && this.$emit("change", this.model);
33792
+ this.$refs.treeRef.filter("");
33793
+ } else if (this.type === "normal") {
33794
+ this.multiple && this.$emit("change", this.model);
33795
+ }
33796
+ // this.options = [...this.optionsClone];
33797
+ }
33798
+ },
33799
+ onCheckNode(checkedNodes, checkedKeys) {
33800
+ this.$emit("changeVal", [...checkedKeys.checkedKeys]);
33801
+ },
33802
+ onClear() {
33803
+ if (this.type === "normal") {
33804
+ this.internalOptions = [...this.options];
33805
+ }
33806
+ this.$emit("clear");
33807
+ },
33808
+ doTreeFilter(words) {
33809
+ this.$refs.treeRef && this.$refs.treeRef.filter(words);
33810
+ }
33811
+ }
33812
+ });
33762
33813
 
33763
33814
  // CONCATENATED MODULE: ./packages/select/src/main.vue?vue&type=script&lang=js&
33764
33815
  /* harmony default export */ var packages_select_src_mainvue_type_script_lang_js_ = (select_src_mainvue_type_script_lang_js_);
@@ -33772,8 +33823,8 @@ var mainvue_type_template_id_5ebc7e87_staticRenderFns = []
33772
33823
 
33773
33824
  var select_src_main_component = normalizeComponent(
33774
33825
  packages_select_src_mainvue_type_script_lang_js_,
33775
- mainvue_type_template_id_5ebc7e87_render,
33776
- mainvue_type_template_id_5ebc7e87_staticRenderFns,
33826
+ mainvue_type_template_id_bd9422c6_render,
33827
+ mainvue_type_template_id_bd9422c6_staticRenderFns,
33777
33828
  false,
33778
33829
  null,
33779
33830
  null,
@@ -33797,12 +33848,12 @@ select_src_main.install = function(Vue) {
33797
33848
  };
33798
33849
 
33799
33850
  /* harmony default export */ var packages_select = (select_src_main);
33800
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b390af64-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=4ebcae5a&
33801
- var mainvue_type_template_id_4ebcae5a_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},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,"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)}
33802
- var mainvue_type_template_id_4ebcae5a_staticRenderFns = []
33851
+ // 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&
33852
+ 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)}
33853
+ var mainvue_type_template_id_1dad9dac_staticRenderFns = []
33803
33854
 
33804
33855
 
33805
- // CONCATENATED MODULE: ./packages/datePicker/src/main.vue?vue&type=template&id=4ebcae5a&
33856
+ // CONCATENATED MODULE: ./packages/datePicker/src/main.vue?vue&type=template&id=1dad9dac&
33806
33857
 
33807
33858
  // 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&
33808
33859
  //
@@ -33863,6 +33914,9 @@ var mainvue_type_template_id_4ebcae5a_staticRenderFns = []
33863
33914
  //
33864
33915
  //
33865
33916
  //
33917
+ //
33918
+ //
33919
+ //
33866
33920
 
33867
33921
  // type
33868
33922
  // 年 year
@@ -33876,52 +33930,54 @@ var mainvue_type_template_id_4ebcae5a_staticRenderFns = []
33876
33930
  // 季度 quarter ------- 手写
33877
33931
 
33878
33932
  /* harmony default export */ var datePicker_src_mainvue_type_script_lang_js_ = ({
33879
- name:'SoneDatePicker',
33880
- model:{
33881
- prop:'value',
33882
- event:'changeVal'
33883
- },
33884
- props:{
33885
- type:{
33886
- type:String,
33887
- default:'date'
33888
- },
33889
- value:{
33890
- type: [String, Date]
33891
- },
33892
- readonly:{ type:Boolean, default:false },
33893
- disabled:{ type:Boolean, default:false },
33894
- editable:{ type:Boolean, default:true },
33895
- clearable:{ type:Boolean, default:true },
33896
- placeholder:{ type:String, default:'选择日期' },
33897
- align:{ type:String, default:'left' },
33898
- format:{ type:String, default:'' },
33899
- popperClass:{ type:String, default:'' },
33900
- defaultValue:{ type:Date },
33901
- name:{ type:String, default:'' },
33902
- prefixIcon:{ type:String, default:'el-icon-date' },
33903
- clearIcon:{ type:String, default:'el-icon-circle-close' },
33904
- valueFormat:{ type:String, default:''}
33905
- },
33906
- data() {
33907
- return {
33908
- dateValue:this.value
33909
- }
33910
- },
33911
- watch:{
33912
- value(newVal) {
33913
- this.dateValue = newVal
33914
- },
33933
+ name: "SoneDatePicker",
33934
+ model: {
33935
+ prop: "value",
33936
+ event: "changeVal"
33937
+ },
33938
+ props: {
33939
+ type: {
33940
+ type: String,
33941
+ default: "date"
33915
33942
  },
33916
- methods:{
33917
- changeValue(val) {
33918
- this.$emit('changeVal',val)
33919
- this.$emit('change', val)
33920
- },
33943
+ value: {
33944
+ type: [String, Date]
33921
33945
  },
33922
- // mounted() {
33923
- // this.$refs.datePicker.focus()
33924
- // },
33946
+ readonly: { type: Boolean, default: false },
33947
+ disabled: { type: Boolean, default: false },
33948
+ editable: { type: Boolean, default: true },
33949
+ clearable: { type: Boolean, default: true },
33950
+ placeholder: { type: String, default: "选择日期" },
33951
+ align: { type: String, default: "left" },
33952
+ format: { type: String, default: "" },
33953
+ popperClass: { type: String, default: "" },
33954
+ defaultValue: { type: Date },
33955
+ name: { type: String, default: "" },
33956
+ prefixIcon: { type: String, default: "el-icon-date" },
33957
+ clearIcon: { type: String, default: "el-icon-circle-close" },
33958
+ valueFormat: { type: String, default: "" },
33959
+ pickerOptions: { type: Object, default: () => ({}) },
33960
+ defaultTime: { type: [String, Array] }
33961
+ },
33962
+ data() {
33963
+ return {
33964
+ dateValue: this.value
33965
+ };
33966
+ },
33967
+ watch: {
33968
+ value(newVal) {
33969
+ this.dateValue = newVal;
33970
+ }
33971
+ },
33972
+ methods: {
33973
+ changeValue(val) {
33974
+ this.$emit("changeVal", val);
33975
+ this.$emit("change", val);
33976
+ }
33977
+ }
33978
+ // mounted() {
33979
+ // this.$refs.datePicker.focus()
33980
+ // },
33925
33981
  });
33926
33982
 
33927
33983
  // CONCATENATED MODULE: ./packages/datePicker/src/main.vue?vue&type=script&lang=js&
@@ -33936,8 +33992,8 @@ var mainvue_type_template_id_4ebcae5a_staticRenderFns = []
33936
33992
 
33937
33993
  var datePicker_src_main_component = normalizeComponent(
33938
33994
  packages_datePicker_src_mainvue_type_script_lang_js_,
33939
- mainvue_type_template_id_4ebcae5a_render,
33940
- mainvue_type_template_id_4ebcae5a_staticRenderFns,
33995
+ mainvue_type_template_id_1dad9dac_render,
33996
+ mainvue_type_template_id_1dad9dac_staticRenderFns,
33941
33997
  false,
33942
33998
  null,
33943
33999
  null,
@@ -33960,7 +34016,7 @@ datePicker_src_main.install = function(Vue) {
33960
34016
  };
33961
34017
 
33962
34018
  /* harmony default export */ var datePicker = (datePicker_src_main);
33963
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b390af64-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&
34019
+ // 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/datePickerRange/src/main.vue?vue&type=template&id=721710b4&
33964
34020
  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)}
33965
34021
  var mainvue_type_template_id_721710b4_staticRenderFns = []
33966
34022
 
@@ -34148,12 +34204,12 @@ datePickerRange_src_main.install = function(Vue) {
34148
34204
  };
34149
34205
 
34150
34206
  /* harmony default export */ var datePickerRange = (datePickerRange_src_main);
34151
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b390af64-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=e539e95e&scoped=true&
34152
- var mainvue_type_template_id_e539e95e_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{ref:"editor"})])}
34153
- var mainvue_type_template_id_e539e95e_scoped_true_staticRenderFns = []
34207
+ // 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/editor/src/main.vue?vue&type=template&id=8d5dbf8c&scoped=true&
34208
+ 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"})])}
34209
+ var mainvue_type_template_id_8d5dbf8c_scoped_true_staticRenderFns = []
34154
34210
 
34155
34211
 
34156
- // CONCATENATED MODULE: ./packages/editor/src/main.vue?vue&type=template&id=e539e95e&scoped=true&
34212
+ // CONCATENATED MODULE: ./packages/editor/src/main.vue?vue&type=template&id=8d5dbf8c&scoped=true&
34157
34213
 
34158
34214
  // EXTERNAL MODULE: ./node_modules/wangeditor/dist/wangEditor.js
34159
34215
  var wangEditor = __webpack_require__("6fad");
@@ -34179,20 +34235,20 @@ var wangEditor_default = /*#__PURE__*/__webpack_require__.n(wangEditor);
34179
34235
  name: "SoneEditor",
34180
34236
  components: {},
34181
34237
  props: {
34182
- zindex:{
34183
- type:Number,
34184
- default:10000,
34185
- remark:'富文本层级'
34238
+ zindex: {
34239
+ type: Number,
34240
+ default: 10000,
34241
+ remark: "富文本层级",
34186
34242
  },
34187
34243
  disabled: {
34188
34244
  type: Boolean,
34189
34245
  default: false,
34190
34246
  remark: "是否可编辑",
34191
34247
  },
34192
- content:{
34193
- type:String,
34194
- default:"",
34195
- remark:"富文本的内容"
34248
+ content: {
34249
+ type: String,
34250
+ default: "",
34251
+ remark: "富文本的内容",
34196
34252
  },
34197
34253
  isVideo: {
34198
34254
  type: Boolean,
@@ -34263,6 +34319,7 @@ var wangEditor_default = /*#__PURE__*/__webpack_require__.n(wangEditor);
34263
34319
  data() {
34264
34320
  return {
34265
34321
  editor: null,
34322
+ allImgUrl: [],
34266
34323
  };
34267
34324
  },
34268
34325
  mounted() {
@@ -34283,7 +34340,12 @@ var wangEditor_default = /*#__PURE__*/__webpack_require__.n(wangEditor);
34283
34340
  // console.log("newV---disabled", newV);
34284
34341
  if (newV) {
34285
34342
  this.$nextTick(() => {
34286
- this.editor.$textElem.attr("contenteditable", false);
34343
+ // this.editor.$textElem.attr("contenteditable", false);
34344
+ this.editor.disable();
34345
+ });
34346
+ } else {
34347
+ this.$nextTick(() => {
34348
+ this.editor.enable();
34287
34349
  });
34288
34350
  }
34289
34351
  },
@@ -34339,7 +34401,7 @@ var wangEditor_default = /*#__PURE__*/__webpack_require__.n(wangEditor);
34339
34401
  // 4.配置 onchange 回调函数,将数据同步到 vue 中
34340
34402
  this.editor.config.onchange = (newHtml) => {
34341
34403
  this.$emit("change", this.content);
34342
- this.$emit('update:content',newHtml);
34404
+ this.$emit("update:content", newHtml);
34343
34405
  };
34344
34406
 
34345
34407
  // 6.消息提示框
@@ -34423,7 +34485,7 @@ var wangEditor_default = /*#__PURE__*/__webpack_require__.n(wangEditor);
34423
34485
  customInsert: function (insertImgFn, result) {
34424
34486
  // result 即服务端返回的接口
34425
34487
  console.log("customInsert", result);
34426
-
34488
+ that.allImgUrl.push(result.data[0]);
34427
34489
  // insertImgFn 可把图片插入到编辑器,传入图片 src ,执行函数即可
34428
34490
  insertImgFn(result.data[0]);
34429
34491
  },
@@ -34481,6 +34543,22 @@ var wangEditor_default = /*#__PURE__*/__webpack_require__.n(wangEditor);
34481
34543
 
34482
34544
  this.editor.create();
34483
34545
  },
34546
+ deleteImg() {
34547
+ let imgList =
34548
+ document
34549
+ .getElementById(this.editor.textElemId)
34550
+ .getElementsByTagName("img") || [];
34551
+ let arr = [];
34552
+ for (let index = 0; index < imgList.length; index++) {
34553
+ arr.push(imgList[index].getAttribute("src"));
34554
+ }
34555
+ this.allImgUrl.forEach((v, i) => {
34556
+ if (arr.includes(v)) {
34557
+ this.allImgUrl.splice(i, 1);
34558
+ }
34559
+ });
34560
+ return this.allImgUrl;
34561
+ },
34484
34562
  },
34485
34563
  beforeDestroy() {
34486
34564
  // 调用销毁 API 对当前编辑器实例进行销毁
@@ -34491,8 +34569,8 @@ var wangEditor_default = /*#__PURE__*/__webpack_require__.n(wangEditor);
34491
34569
 
34492
34570
  // CONCATENATED MODULE: ./packages/editor/src/main.vue?vue&type=script&lang=js&
34493
34571
  /* harmony default export */ var packages_editor_src_mainvue_type_script_lang_js_ = (editor_src_mainvue_type_script_lang_js_);
34494
- // EXTERNAL MODULE: ./packages/editor/src/main.vue?vue&type=style&index=0&id=e539e95e&lang=scss&scoped=true&
34495
- var mainvue_type_style_index_0_id_e539e95e_lang_scss_scoped_true_ = __webpack_require__("3ac7");
34572
+ // EXTERNAL MODULE: ./packages/editor/src/main.vue?vue&type=style&index=0&id=8d5dbf8c&lang=scss&scoped=true&
34573
+ var mainvue_type_style_index_0_id_8d5dbf8c_lang_scss_scoped_true_ = __webpack_require__("4a61");
34496
34574
 
34497
34575
  // CONCATENATED MODULE: ./packages/editor/src/main.vue
34498
34576
 
@@ -34505,11 +34583,11 @@ var mainvue_type_style_index_0_id_e539e95e_lang_scss_scoped_true_ = __webpack_re
34505
34583
 
34506
34584
  var editor_src_main_component = normalizeComponent(
34507
34585
  packages_editor_src_mainvue_type_script_lang_js_,
34508
- mainvue_type_template_id_e539e95e_scoped_true_render,
34509
- mainvue_type_template_id_e539e95e_scoped_true_staticRenderFns,
34586
+ mainvue_type_template_id_8d5dbf8c_scoped_true_render,
34587
+ mainvue_type_template_id_8d5dbf8c_scoped_true_staticRenderFns,
34510
34588
  false,
34511
34589
  null,
34512
- "e539e95e",
34590
+ "8d5dbf8c",
34513
34591
  null
34514
34592
 
34515
34593
  )
@@ -34523,8 +34601,8 @@ editor_src_main.install = function(Vue) {
34523
34601
  };
34524
34602
 
34525
34603
  /* harmony default export */ var editor = (editor_src_main);
34526
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b390af64-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=0563e913&
34527
- var mainvue_type_template_id_0563e913_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:[
34604
+ // 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/inputNumber/src/main.vue?vue&type=template&id=5b5680fd&
34605
+ 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:[
34528
34606
  'sone-input-number',
34529
34607
  'el-input-number',
34530
34608
  _vm.inputNumberSize ? 'el-input-number--' + _vm.inputNumberSize : '',
@@ -34532,12 +34610,12 @@ var mainvue_type_template_id_0563e913_render = function () {var _vm=this;var _h=
34532
34610
  { 'is-without-controls': !_vm.controls },
34533
34611
  { 'is-controls-right': _vm.controlsAtRight }
34534
34612
  ],on:{"dragstart":function($event){$event.preventDefault();}}},[(_vm.controls)?_c('span',{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:(_vm.decrease),expression:"decrease"}],staticClass:"el-input-number__decrease",class:{ 'is-disabled': _vm.minDisabled },attrs:{"role":"button"},on:{"keydown":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.decrease.apply(null, arguments)}}},[_c('i',{class:("el-icon-" + (_vm.controlsAtRight ? 'arrow-down' : 'minus'))})]):_vm._e(),(_vm.controls)?_c('span',{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:(_vm.increase),expression:"increase"}],staticClass:"el-input-number__increase",class:{ 'is-disabled': _vm.maxDisabled },attrs:{"role":"button"},on:{"keydown":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.increase.apply(null, arguments)}}},[_c('i',{class:("el-icon-" + (_vm.controlsAtRight ? 'arrow-up' : 'plus'))})]):_vm._e(),_c('el-input',{ref:"input",class:['sone-number-ctl', _vm.controls ? 'has-ctls' : ''],attrs:{"value":_vm.displayValue,"placeholder":_vm.placeholder,"disabled":_vm.inputNumberDisabled,"size":_vm.inputNumberSize,"clearable":_vm.clearable,"max":_vm.max,"min":_vm.min,"name":_vm.name,"label":_vm.label},on:{"blur":_vm.handleBlur,"focus":_vm.handleFocus,"input":_vm.handleInput,"change":_vm.handleInputChange},nativeOn:{"keydown":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"up",38,$event.key,["Up","ArrowUp"])){ return null; }$event.preventDefault();return _vm.handleIncrease.apply(null, arguments)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"down",40,$event.key,["Down","ArrowDown"])){ return null; }$event.preventDefault();return _vm.handleDecrease.apply(null, arguments)}]}})],1)}
34535
- var mainvue_type_template_id_0563e913_staticRenderFns = []
34613
+ var mainvue_type_template_id_5b5680fd_staticRenderFns = []
34536
34614
 
34537
34615
 
34538
- // CONCATENATED MODULE: ./packages/inputNumber/src/main.vue?vue&type=template&id=0563e913&
34616
+ // CONCATENATED MODULE: ./packages/inputNumber/src/main.vue?vue&type=template&id=5b5680fd&
34539
34617
 
34540
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b390af64-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&
34618
+ // 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!./node_modules/element-ui/packages/input/src/input.vue?vue&type=template&id=7c3edccd&
34541
34619
  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:[
34542
34620
  _vm.type === 'textarea' ? 'el-textarea' : 'el-input',
34543
34621
  _vm.inputSize ? 'el-input--' + _vm.inputSize : '',
@@ -36123,6 +36201,15 @@ const isInContainer = (el, container) => {
36123
36201
  this.currentValue = newVal;
36124
36202
  },
36125
36203
  handleInput(value) {
36204
+ if(typeof this.precision === 'number' && value.indexOf('.') !== -1){
36205
+ let num = value.split('.');
36206
+ let digits = num[1];
36207
+ if(digits.length > this.precision){
36208
+ num[1] = digits.slice(0, this.precision)
36209
+ this.userInput = num.join('.');
36210
+ return;
36211
+ }
36212
+ }
36126
36213
  this.userInput = value;
36127
36214
  },
36128
36215
  handleInputChange(value) {
@@ -36178,8 +36265,8 @@ const isInContainer = (el, container) => {
36178
36265
 
36179
36266
  var inputNumber_src_main_component = normalizeComponent(
36180
36267
  packages_inputNumber_src_mainvue_type_script_lang_js_,
36181
- mainvue_type_template_id_0563e913_render,
36182
- mainvue_type_template_id_0563e913_staticRenderFns,
36268
+ mainvue_type_template_id_5b5680fd_render,
36269
+ mainvue_type_template_id_5b5680fd_staticRenderFns,
36183
36270
  false,
36184
36271
  null,
36185
36272
  null,
@@ -36197,7 +36284,7 @@ inputNumber_src_main.install = function(Vue) {
36197
36284
 
36198
36285
  /* harmony default export */ var inputNumber = (inputNumber_src_main);
36199
36286
 
36200
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b390af64-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&
36287
+ // 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/cascader/src/main.vue?vue&type=template&id=388a2e64&
36201
36288
  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)}
36202
36289
  var mainvue_type_template_id_388a2e64_staticRenderFns = []
36203
36290
 
@@ -36328,7 +36415,7 @@ cascader_src_main.install = function(Vue) {
36328
36415
  };
36329
36416
 
36330
36417
  /* harmony default export */ var cascader = (cascader_src_main);
36331
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b390af64-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&
36418
+ // 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/autocomplete/src/main.vue?vue&type=template&id=4d1db345&
36332
36419
  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)}
36333
36420
  var mainvue_type_template_id_4d1db345_staticRenderFns = []
36334
36421
 
@@ -36415,7 +36502,7 @@ autocomplete_src_main.install = function(Vue) {
36415
36502
  };
36416
36503
 
36417
36504
  /* harmony default export */ var autocomplete = (autocomplete_src_main);
36418
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b390af64-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&
36505
+ // 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/fileUpload/src/main.vue?vue&type=template&id=372fe109&
36419
36506
  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)}
36420
36507
  var mainvue_type_template_id_372fe109_staticRenderFns = []
36421
36508
 
@@ -36898,7 +36985,7 @@ if (typeof window !== 'undefined' && window.Vue) {
36898
36985
  }
36899
36986
 
36900
36987
  /* harmony default export */ var src_0 = ({
36901
- version: '1.0.249',
36988
+ version: '2.0.272',
36902
36989
  locale: locale.use,
36903
36990
  i18n: locale.i18n,
36904
36991
  install,