vsyswin-ui 0.2.50 → 0.2.51

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.
@@ -178,21 +178,6 @@ module.exports = String(test) === '[object z]';
178
178
  })));
179
179
 
180
180
 
181
- /***/ }),
182
-
183
- /***/ "0208":
184
- /***/ (function(module, exports, __webpack_require__) {
185
-
186
- // style-loader: Adds some css to the DOM by adding a <style> tag
187
-
188
- // load the styles
189
- var content = __webpack_require__("c1f1");
190
- if(typeof content === 'string') content = [[module.i, content, '']];
191
- if(content.locals) module.exports = content.locals;
192
- // add the styles to the DOM
193
- var add = __webpack_require__("499e").default
194
- var update = add("36c06da8", content, true, {"sourceMap":false,"shadowMode":false});
195
-
196
181
  /***/ }),
197
182
 
198
183
  /***/ "02fb":
@@ -13165,6 +13150,21 @@ module.exports = (!STRICT_METHOD || !USES_TO_LENGTH) ? function forEach(callback
13165
13150
  } : [].forEach;
13166
13151
 
13167
13152
 
13153
+ /***/ }),
13154
+
13155
+ /***/ "17d2":
13156
+ /***/ (function(module, exports, __webpack_require__) {
13157
+
13158
+ // style-loader: Adds some css to the DOM by adding a <style> tag
13159
+
13160
+ // load the styles
13161
+ var content = __webpack_require__("ff55");
13162
+ if(typeof content === 'string') content = [[module.i, content, '']];
13163
+ if(content.locals) module.exports = content.locals;
13164
+ // add the styles to the DOM
13165
+ var add = __webpack_require__("499e").default
13166
+ var update = add("41fb8a68", content, true, {"sourceMap":false,"shadowMode":false});
13167
+
13168
13168
  /***/ }),
13169
13169
 
13170
13170
  /***/ "19aa":
@@ -36886,17 +36886,6 @@ module.exports = function (bitmap, value) {
36886
36886
  })));
36887
36887
 
36888
36888
 
36889
- /***/ }),
36890
-
36891
- /***/ "5e8d":
36892
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
36893
-
36894
- "use strict";
36895
- /* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_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_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_search_bar_vue_vue_type_style_index_0_id_1c97757c_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("0208");
36896
- /* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_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_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_search_bar_vue_vue_type_style_index_0_id_1c97757c_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_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_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_search_bar_vue_vue_type_style_index_0_id_1c97757c_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
36897
- /* unused harmony reexport * */
36898
-
36899
-
36900
36889
  /***/ }),
36901
36890
 
36902
36891
  /***/ "5fbd":
@@ -38000,6 +37989,17 @@ if(content.locals) module.exports = content.locals;
38000
37989
  var add = __webpack_require__("499e").default
38001
37990
  var update = add("4299bdf5", content, true, {"sourceMap":false,"shadowMode":false});
38002
37991
 
37992
+ /***/ }),
37993
+
37994
+ /***/ "6be0":
37995
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
37996
+
37997
+ "use strict";
37998
+ /* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_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_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_search_bar_vue_vue_type_style_index_0_id_59e7e580_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("17d2");
37999
+ /* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_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_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_search_bar_vue_vue_type_style_index_0_id_59e7e580_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_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_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_search_bar_vue_vue_type_style_index_0_id_59e7e580_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
38000
+ /* unused harmony reexport * */
38001
+
38002
+
38003
38003
  /***/ }),
38004
38004
 
38005
38005
  /***/ "6ce3":
@@ -57171,20 +57171,6 @@ module.exports = function (input, PREFERRED_STRING) {
57171
57171
 
57172
57172
  /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("62e4")(module)))
57173
57173
 
57174
- /***/ }),
57175
-
57176
- /***/ "c1f1":
57177
- /***/ (function(module, exports, __webpack_require__) {
57178
-
57179
- // Imports
57180
- var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
57181
- exports = ___CSS_LOADER_API_IMPORT___(false);
57182
- // Module
57183
- exports.push([module.i, ".syswin-searchbar[data-v-1c97757c]{position:relative}.syswin-searchbar .syswin-searchbar-container[data-v-1c97757c]{box-sizing:border-box;padding:16px 0;height:64px;overflow:hidden;display:flex;align-items:center}.syswin-searchbar .syswin-searchbar-container .el-button--small[data-v-1c97757c]{padding:8px 15px}.syswin-searchbar-container__input[data-v-1c97757c]{float:left;width:336px}.syswin-searchbar-container__input[data-v-1c97757c] .el-input__inner{border-radius:2px}.syswin-searchbar-container__filter[data-v-1c97757c]{margin-left:8px;color:#027aff;font-size:14px}.syswin-searchbar-container__filter .el-icon-caret-bottom[data-v-1c97757c]{transition:all .3s cubic-bezier(.645,.045,.355,1)}.syswin-searchbar-container__filter .el-icon-caret-bottom.is-rotate-180[data-v-1c97757c]{transform:rotate(180deg)}.syswin-searchbar-container__search[data-v-1c97757c]{padding:0;width:72px;height:32px;font-size:12px;border-radius:2px;background-color:#027aff}.syswin-searchbar-container__search.is-margin-left-16[data-v-1c97757c]{margin-left:16px}.syswin-searchbar-container__reset[data-v-1c97757c]{padding:0;width:72px;height:32px;font-size:12px;border-radius:2px}.syswin-searchbar-container__listBtns[data-v-1c97757c]{position:absolute;right:0}.syswin-searchbar-container__listBtns .el-button--text[data-v-1c97757c]{color:#027aff}.syswin-searchbar .syswin-searchbar-list[data-v-1c97757c]{box-sizing:border-box;position:absolute;padding:16px 24px;width:100%;background-color:#fafafa;box-shadow:0 6px 16px -8px rgba(0,0,0,.08),0 9px 28px 0 rgba(0,0,0,.05),0 12px 48px 16px rgba(0,0,0,.03);z-index:1000;overflow:hidden}.syswin-searchbar-list__wrap[data-v-1c97757c]{border:1px solid #eaedf1;border-bottom:none}.syswin-searchbar-list__footer[data-v-1c97757c]{display:flex;margin-top:16px}.syswin-searchbar-list__footer.align-right[data-v-1c97757c]{text-align:right;justify-content:flex-end}.syswin-searchbar .syswin-filter-item[data-v-1c97757c]{display:flex;align-items:stretch;border-bottom:1px solid #eaedf1;background-color:#f6f7fb}.syswin-filter-item__title[data-v-1c97757c]{box-sizing:border-box;width:96px;height:48px;margin:0;padding:0 8px;line-height:48px;text-align:center;color:#5e6470;font-size:14px;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.syswin-filter-item__content[data-v-1c97757c]{margin:0;padding:0;list-style:none;flex:1;border-left:1px solid #eaedf1;background-color:#fafafa;overflow:hidden}.syswin-filter-item__content .el-date-editor[data-v-1c97757c]{border-radius:2px}.syswin-filter-item__li[data-v-1c97757c]{float:left;padding:0 12px;line-height:48px;color:rgba(0,0,0,.65)}.syswin-filter-item__li[data-v-1c97757c] .el-select .el-input__icon{line-height:48px}.syswin-filter-item__span[data-v-1c97757c]{box-sizing:border-box;display:block;width:100%;height:100%;font-size:14px;cursor:pointer}.syswin-filter-item__span.is-active[data-v-1c97757c]{color:#027aff}.syswin-filter-item__name[data-v-1c97757c]{margin-right:5px}.syswin-filter-item__subTitle[data-v-1c97757c]{float:left;margin:0 8px 0 0;font-size:14px;font-weight:400}.syswin-filter-item__subContent[data-v-1c97757c]{margin:0;padding:0;list-style:none;background-color:#fafafa;overflow:hidden}.syswin-filter-item__subContent .el-date-editor[data-v-1c97757c]{border-radius:2px}.syswin-filter-item__subLi[data-v-1c97757c]{float:left;padding:0 12px;line-height:48px;color:rgba(0,0,0,.65)}.syswin-footer__save[data-v-1c97757c]{padding:0;width:72px;height:32px;font-size:12px;border-radius:2px}.syswin-footer__condition[data-v-1c97757c]{margin:0 16px;width:127px;height:32px}.syswin-footer__condition[data-v-1c97757c] .el-input__inner{border-radius:2px}.syswin-footer__label[data-v-1c97757c]{float:left;width:116px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.syswin-footer__edit[data-v-1c97757c]{color:#027aff}.syswin-footer__delete[data-v-1c97757c],.syswin-footer__edit[data-v-1c97757c]{float:right;margin-left:8px;line-height:34px}.syswin-footer__delete[data-v-1c97757c]{color:#ff4d4f}", ""]);
57184
- // Exports
57185
- module.exports = exports;
57186
-
57187
-
57188
57174
  /***/ }),
57189
57175
 
57190
57176
  /***/ "c430":
@@ -67233,24 +67219,24 @@ select_tree.install = function (Vue) {
67233
67219
 
67234
67220
 
67235
67221
  /* harmony default export */ var packages_select_tree = (select_tree);
67236
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"59e007e4-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/search-bar/src/search-bar.vue?vue&type=template&id=1c97757c&scoped=true&
67237
- var search_barvue_type_template_id_1c97757c_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:(_vm.handleClickOutside),expression:"handleClickOutside"}],staticClass:"syswin-searchbar"},[_c('div',{staticClass:"syswin-searchbar-container"},[_c('el-input',{staticClass:"syswin-searchbar-container__input",attrs:{"placeholder":_vm.placeholder,"clearable":"","size":"small"},on:{"clear":_vm.handleClearInput},model:{value:(_vm.keyword),callback:function ($$v) {_vm.keyword=$$v},expression:"keyword"}},[_vm._t("suffix",null,{"slot":"suffix"})],2),(_vm.showFilter)?_c('el-button',{staticClass:"syswin-searchbar-container__filter",attrs:{"type":"text","size":"small"},on:{"click":_vm.handleToggleFilterList}},[_vm._v(" "+_vm._s(_vm.shrinkFilterList ? '收起筛选' : '更多筛选')+" "),_c('i',{staticClass:"el-icon-caret-bottom",class:{ 'is-rotate-180': _vm.shrinkFilterList }})]):_vm._e(),_c('el-button',{staticClass:"syswin-searchbar-container__search",class:{ 'is-margin-left-16': !_vm.showFilter },attrs:{"type":"primary","size":"small"},on:{"click":function($event){return _vm.handleSearch()}}},[_vm._v(" "+_vm._s(_vm.searchButtonText)+" ")]),(_vm.showFilter)?_c('el-button',{staticClass:"syswin-searchbar-container__reset",attrs:{"size":"small"},on:{"click":_vm.handleReset}},[_vm._v(" "+_vm._s(_vm.resetButtonText)+" ")]):_vm._e(),_c('div',{staticClass:"syswin-searchbar-container__listBtns"},[_vm._t("listBtns")],2)],1),_c('transition',{attrs:{"name":"fade"}},[(_vm.shrinkFilterList)?_c('div',{staticClass:"syswin-searchbar-list"},[_c('div',{staticClass:"syswin-searchbar-list__wrap"},[_vm._t("default"),(_vm.currentSearchList.length <= _vm.maxConditionLength + 1)?_vm._l((_vm.currentSearchList),function(ele,index){return _c('div',{key:ele.id,staticClass:"syswin-filter-item"},[_c('h5',{staticClass:"syswin-filter-item__title"},[_vm._v(" "+_vm._s(ele.name)+" ")]),_c('ul',{staticClass:"syswin-filter-item__content"},_vm._l((ele.itemList),function(item,idx){return _c('li',{key:item.id,staticClass:"syswin-filter-item__li"},[(item.type === 'text')?[_c('span',{staticClass:"syswin-filter-item__span",class:{
67222
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"59e007e4-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/search-bar/src/search-bar.vue?vue&type=template&id=59e7e580&scoped=true&
67223
+ var search_barvue_type_template_id_59e7e580_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:(_vm.handleClickOutside),expression:"handleClickOutside"}],staticClass:"syswin-searchbar"},[_c('div',{staticClass:"syswin-searchbar-container"},[_c('el-input',{staticClass:"syswin-searchbar-container__input",attrs:{"placeholder":_vm.placeholder,"clearable":"","size":"small"},on:{"clear":_vm.handleClearInput},model:{value:(_vm.keyword),callback:function ($$v) {_vm.keyword=$$v},expression:"keyword"}},[_vm._t("suffix",null,{"slot":"suffix"})],2),(_vm.showFilter)?_c('el-button',{staticClass:"syswin-searchbar-container__filter",attrs:{"type":"text","size":"small"},on:{"click":_vm.handleToggleFilterList}},[_vm._v(" "+_vm._s(_vm.shrinkFilterList ? '收起筛选' : '更多筛选')+" "),_c('i',{staticClass:"el-icon-caret-bottom",class:{ 'is-rotate-180': _vm.shrinkFilterList }})]):_vm._e(),_c('el-button',{staticClass:"syswin-searchbar-container__search",class:{ 'is-margin-left-16': !_vm.showFilter },attrs:{"type":"primary","size":"small"},on:{"click":function($event){return _vm.handleSearch()}}},[_vm._v(" "+_vm._s(_vm.searchButtonText)+" ")]),(_vm.showFilter)?_c('el-button',{staticClass:"syswin-searchbar-container__reset",attrs:{"size":"small"},on:{"click":_vm.handleReset}},[_vm._v(" "+_vm._s(_vm.resetButtonText)+" ")]):_vm._e(),_c('div',{staticClass:"syswin-searchbar-container__listBtns"},[_vm._t("listBtns")],2)],1),_c('transition',{attrs:{"name":"fade"}},[(_vm.shrinkFilterList)?_c('div',{staticClass:"syswin-searchbar-list"},[_c('div',{staticClass:"syswin-searchbar-list__wrap"},[_vm._t("default"),(_vm.currentSearchList.length <= _vm.maxConditionLength + 1)?_vm._l((_vm.currentSearchList),function(ele,index){return _c('div',{key:ele.id,staticClass:"syswin-filter-item"},[_c('h5',{staticClass:"syswin-filter-item__title"},[_vm._v(" "+_vm._s(ele.name)+" ")]),_c('ul',{staticClass:"syswin-filter-item__content"},_vm._l((ele.itemList),function(item,idx){return _c('li',{key:item.id,staticClass:"syswin-filter-item__li"},[(item.type === 'text')?[_c('span',{staticClass:"syswin-filter-item__span",class:{
67238
67224
  'is-active': item.isActive
67239
- },on:{"click":function($event){return _vm.handleClick(item, idx, index)}}},[_vm._v(_vm._s(item.name))])]:(item.type === 'daterange')?[(item.name)?_c('span',{staticClass:"syswin-filter-item__name"},[_vm._v(_vm._s(item.name))]):_vm._e(),_c('el-date-picker',{attrs:{"type":"daterange","size":"small","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期","editable":false,"unlink-panels":true,"value-format":"timestamp"},on:{"change":function($event){return _vm.handleChangeDateragne(idx, index)}},model:{value:(item.value),callback:function ($$v) {_vm.$set(item, "value", $$v)},expression:"item.value"}})]:(item.type === 'datetimerange')?[(item.name)?_c('span',{staticClass:"syswin-filter-item__name"},[_vm._v(_vm._s(item.name))]):_vm._e(),_c('el-date-picker',{attrs:{"type":"datetimerange","size":"small","format":item.format ? item.format : 'yyyy-MM-dd HH:mm:ss',"default-time":['00:00:00', '23:59:59'],"unlink-panels":true,"prefix-icon":"el-icon-date","range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间","value-format":"timestamp"},on:{"change":function($event){return _vm.handleChangeDateragne(idx, index)}},model:{value:(item.value),callback:function ($$v) {_vm.$set(item, "value", $$v)},expression:"item.value"}})]:(item.type === 'select')?[(item.name && !item.hideName)?_c('span',{staticClass:"syswin-filter-item__name"},[_vm._v(_vm._s(item.name))]):_vm._e(),_c('el-select',{style:({
67225
+ },on:{"click":function($event){return _vm.handleClick(item, idx, index)}}},[_vm._v(_vm._s(item.name))])]:(item.type === 'daterange')?[(item.name && !item.hideName)?_c('span',{staticClass:"syswin-filter-item__name"},[_vm._v(_vm._s(item.name))]):_vm._e(),_c('el-date-picker',{attrs:{"type":"daterange","size":"small","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期","editable":false,"unlink-panels":true,"value-format":"timestamp"},on:{"change":function($event){return _vm.handleChangeDateragne(idx, index)}},model:{value:(item.value),callback:function ($$v) {_vm.$set(item, "value", $$v)},expression:"item.value"}})]:(item.type === 'month' || item.type === 'year')?[(item.name && !item.hideName)?_c('span',{staticClass:"syswin-filter-item__name"},[_vm._v(_vm._s(item.name))]):_vm._e(),_c('el-date-picker',{attrs:{"type":item.type,"size":"small","placeholder":("选择" + (item.type === 'month' ? '月' : '年')),"value-format":("" + (item.type === 'month' ? 'yyyy-MM' : 'yyyy'))},on:{"change":function($event){return _vm.handleChangeDateragne(idx, index)}},model:{value:(item.value),callback:function ($$v) {_vm.$set(item, "value", $$v)},expression:"item.value"}})]:(item.type === 'datetimerange')?[(item.name && !item.hideName)?_c('span',{staticClass:"syswin-filter-item__name"},[_vm._v(_vm._s(item.name))]):_vm._e(),_c('el-date-picker',{attrs:{"type":"datetimerange","size":"small","format":item.format ? item.format : 'yyyy-MM-dd HH:mm:ss',"default-time":['00:00:00', '23:59:59'],"unlink-panels":true,"prefix-icon":"el-icon-date","range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间","value-format":"timestamp"},on:{"change":function($event){return _vm.handleChangeDateragne(idx, index)}},model:{value:(item.value),callback:function ($$v) {_vm.$set(item, "value", $$v)},expression:"item.value"}})]:(item.type === 'select')?[(item.name && !item.hideName)?_c('span',{staticClass:"syswin-filter-item__name"},[_vm._v(_vm._s(item.name))]):_vm._e(),_c('el-select',{style:({
67240
67226
  width: item.width ? item.width : '200px'
67241
67227
  }),attrs:{"multiple":!!item.multiple,"collapse-tags":"","clearable":"","placeholder":("请选择" + (item.name))},on:{"change":function($event){return _vm.handleChangeDateragne(idx, index)}},model:{value:(item.value),callback:function ($$v) {_vm.$set(item, "value", $$v)},expression:"item.value"}},_vm._l((item.options),function(opt){return _c('el-option',{key:opt.id,attrs:{"label":opt.label,"value":opt.value}})}),1)]:(item.type === 'slot')?[_vm._t(item.slot,[_vm._v("内容为空")],{"item":item})]:_vm._e()],2)}),0)])}):[_vm._l((_vm.currentSearchList.slice(0, _vm.maxConditionLength)),function(ele,index){return _c('div',{key:ele.id,staticClass:"syswin-filter-item"},[_c('h5',{staticClass:"syswin-filter-item__title"},[_vm._v(" "+_vm._s(ele.name)+" ")]),_c('ul',{staticClass:"syswin-filter-item__content"},_vm._l((ele.itemList),function(item,idx){return _c('li',{key:item.id,staticClass:"syswin-filter-item__li"},[(item.type === 'text')?[_c('span',{staticClass:"syswin-filter-item__span",class:{
67242
67228
  'is-active': item.isActive
67243
- },on:{"click":function($event){return _vm.handleClick(item, idx, index)}}},[_vm._v(_vm._s(item.name))])]:(item.type === 'daterange')?[(item.name)?_c('span',{staticClass:"syswin-filter-item__name"},[_vm._v(_vm._s(item.name))]):_vm._e(),_c('el-date-picker',{attrs:{"type":"daterange","size":"small","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期","editable":false,"unlink-panels":true,"value-format":"timestamp"},on:{"change":function($event){return _vm.handleChangeDateragne(idx, index)}},model:{value:(item.value),callback:function ($$v) {_vm.$set(item, "value", $$v)},expression:"item.value"}})]:(item.type === 'datetimerange')?[(item.name)?_c('span',{staticClass:"syswin-filter-item__name"},[_vm._v(_vm._s(item.name))]):_vm._e(),_c('el-date-picker',{attrs:{"type":"datetimerange","size":"small","format":item.format ? item.format : 'yyyy-MM-dd HH:mm:ss',"default-time":['00:00:00', '23:59:59'],"unlink-panels":true,"prefix-icon":"el-icon-date","range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间","value-format":"timestamp"},on:{"change":function($event){return _vm.handleChangeDateragne(idx, index)}},model:{value:(item.value),callback:function ($$v) {_vm.$set(item, "value", $$v)},expression:"item.value"}})]:(item.type === 'select')?[(item.name && !item.hideName)?_c('span',{staticClass:"syswin-filter-item__name"},[_vm._v(_vm._s(item.name))]):_vm._e(),_c('el-select',{style:({
67229
+ },on:{"click":function($event){return _vm.handleClick(item, idx, index)}}},[_vm._v(_vm._s(item.name))])]:(item.type === 'daterange')?[(item.name)?_c('span',{staticClass:"syswin-filter-item__name"},[_vm._v(_vm._s(item.name))]):_vm._e(),_c('el-date-picker',{attrs:{"type":"daterange","size":"small","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期","editable":false,"unlink-panels":true,"value-format":"timestamp"},on:{"change":function($event){return _vm.handleChangeDateragne(idx, index)}},model:{value:(item.value),callback:function ($$v) {_vm.$set(item, "value", $$v)},expression:"item.value"}})]:(item.type === 'month' || item.type === 'year')?[(item.name && !item.hideName)?_c('span',{staticClass:"syswin-filter-item__name"},[_vm._v(_vm._s(item.name))]):_vm._e(),_c('el-date-picker',{attrs:{"type":item.type,"size":"small","placeholder":("选择" + (item.type === 'month' ? '月' : '年')),"value-format":("" + (item.type === 'month' ? 'yyyy-MM' : 'yyyy'))},on:{"change":function($event){return _vm.handleChangeDateragne(idx, index)}},model:{value:(item.value),callback:function ($$v) {_vm.$set(item, "value", $$v)},expression:"item.value"}})]:(item.type === 'datetimerange')?[(item.name)?_c('span',{staticClass:"syswin-filter-item__name"},[_vm._v(_vm._s(item.name))]):_vm._e(),_c('el-date-picker',{attrs:{"type":"datetimerange","size":"small","format":item.format ? item.format : 'yyyy-MM-dd HH:mm:ss',"default-time":['00:00:00', '23:59:59'],"unlink-panels":true,"prefix-icon":"el-icon-date","range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间","value-format":"timestamp"},on:{"change":function($event){return _vm.handleChangeDateragne(idx, index)}},model:{value:(item.value),callback:function ($$v) {_vm.$set(item, "value", $$v)},expression:"item.value"}})]:(item.type === 'select')?[(item.name && !item.hideName)?_c('span',{staticClass:"syswin-filter-item__name"},[_vm._v(_vm._s(item.name))]):_vm._e(),_c('el-select',{style:({
67244
67230
  width: item.width ? item.width : '200px'
67245
67231
  }),attrs:{"multiple":!!item.multiple,"collapse-tags":"","clearable":"","placeholder":("请选择" + (item.name))},on:{"change":function($event){return _vm.handleChangeDateragne(idx, index)}},model:{value:(item.value),callback:function ($$v) {_vm.$set(item, "value", $$v)},expression:"item.value"}},_vm._l((item.options),function(opt){return _c('el-option',{key:opt.id,attrs:{"label":opt.label,"value":opt.value}})}),1)]:_vm._e()],2)}),0)])}),(_vm.currentSearchList.length > _vm.maxConditionLength)?_c('div',{staticClass:"syswin-filter-item"},[_c('h5',{staticClass:"syswin-filter-item__title"},[_vm._v("更多搜索")]),_c('ul',{staticClass:"syswin-filter-item__content"},_vm._l((_vm.currentSearchList.slice(_vm.maxConditionLength)),function(ele,index){return _c('li',{key:ele.id,staticClass:"syswin-filter-item__li"},[_c('h6',{staticClass:"syswin-filter-item__subTitle"},[_vm._v(" "+_vm._s(ele.name)+" ")]),_c('ul',{staticClass:"syswin-filter-item__subContent"},_vm._l((ele.itemList),function(item,idx){return _c('li',{key:item.id,staticClass:"syswin-filter-item__subLi"},[(item.type === 'text')?[_c('span',{staticClass:"syswin-filter-item__span",class:{
67246
67232
  'is-active': item.isActive
67247
67233
  },on:{"click":function($event){return _vm.handleClick(item, idx, index + _vm.maxConditionLength)}}},[_vm._v(_vm._s(item.name))])]:(item.type === 'daterange')?[(item.name)?_c('span',{staticClass:"syswin-filter-item__name"},[_vm._v(_vm._s(item.name))]):_vm._e(),_c('el-date-picker',{attrs:{"type":"daterange","size":"small","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期","editable":false,"unlink-panels":true,"value-format":"timestamp"},on:{"change":function($event){return _vm.handleChangeDateragne(idx, index + _vm.maxConditionLength)}},model:{value:(item.value),callback:function ($$v) {_vm.$set(item, "value", $$v)},expression:"item.value"}})]:(item.type === 'datetimerange')?[(item.name)?_c('span',{staticClass:"syswin-filter-item__name"},[_vm._v(_vm._s(item.name))]):_vm._e(),_c('el-date-picker',{attrs:{"type":"datetimerange","size":"small","format":item.format ? item.format : 'yyyy-MM-dd HH:mm:ss',"default-time":['00:00:00', '23:59:59'],"unlink-panels":true,"prefix-icon":"el-icon-date","range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间","value-format":"timestamp"},on:{"change":function($event){return _vm.handleChangeDateragne(idx, index + _vm.maxConditionLength)}},model:{value:(item.value),callback:function ($$v) {_vm.$set(item, "value", $$v)},expression:"item.value"}})]:(item.type === 'select')?[(item.name)?_c('span',{staticClass:"syswin-filter-item__name"},[_vm._v(_vm._s(item.name))]):_vm._e(),_c('el-select',{style:({
67248
67234
  width: item.width ? item.width : '200px'
67249
67235
  }),attrs:{"multiple":!!item.multiple,"collapse-tags":"","clearable":"","placeholder":("请选择" + (item.name))},on:{"change":function($event){return _vm.handleChangeDateragne(idx, index + _vm.maxConditionLength)}},model:{value:(item.value),callback:function ($$v) {_vm.$set(item, "value", $$v)},expression:"item.value"}},_vm._l((item.options),function(opt){return _c('el-option',{key:opt.id,attrs:{"label":opt.label,"value":opt.value}})}),1)]:(item.type === 'slot')?[_vm._t(item.slot,[_vm._v("内容为空")],{"item":item})]:_vm._e()],2)}),0)])}),0)]):_vm._e()]],2),(_vm.saveToLocal)?_c('save-local',{attrs:{"conditionList":_vm.conditionList,"curConditionValue":_vm.conditionValue},on:{"handleSave":_vm.handleSave,"handleChangeCondition":_vm.handleChangeCondition,"handleEditCondition":_vm.handleEditCondition,"handleDeleteCondition":_vm.handleDeleteCondition,"handleConfirmCondition":_vm.handleConfirmCondition},model:{value:(_vm.currentData),callback:function ($$v) {_vm.currentData=$$v},expression:"currentData"}}):_vm._e()],1):_vm._e()]),(_vm.tagList.length && !_vm.customTagList)?_c('div',{staticClass:"search-condition-list"},_vm._l((_vm.tagList),function(tag){return _c('el-tag',{key:((tag.pId) + "_" + (tag.id)),staticClass:"tags",attrs:{"size":"small"}},[_vm._v(" "+_vm._s(tag.pName)+": "+_vm._s(tag.name)+" ")])}),1):_vm._e()],1)}
67250
- var search_barvue_type_template_id_1c97757c_scoped_true_staticRenderFns = []
67236
+ var search_barvue_type_template_id_59e7e580_scoped_true_staticRenderFns = []
67251
67237
 
67252
67238
 
67253
- // CONCATENATED MODULE: ./packages/search-bar/src/search-bar.vue?vue&type=template&id=1c97757c&scoped=true&
67239
+ // CONCATENATED MODULE: ./packages/search-bar/src/search-bar.vue?vue&type=template&id=59e7e580&scoped=true&
67254
67240
 
67255
67241
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.find.js
67256
67242
  var es_array_find = __webpack_require__("7db0");
@@ -67885,6 +67871,15 @@ var save_local_component = normalizeComponent(
67885
67871
  //
67886
67872
  //
67887
67873
  //
67874
+ //
67875
+ //
67876
+ //
67877
+ //
67878
+ //
67879
+ //
67880
+ //
67881
+ //
67882
+ //
67888
67883
  // import Clickoutside from 'element-ui/src/utils/clickoutside'
67889
67884
 
67890
67885
 
@@ -68032,6 +68027,9 @@ var save_local_component = normalizeComponent(
68032
68027
 
68033
68028
  if (item.type === 'text') {
68034
68029
  obj.name = item.name;
68030
+ } else if (item.type === 'month' || item.type === 'year') {
68031
+ if (!item.value) return;
68032
+ obj.name = item.value + (item.type === 'month' ? '月' : '年');
68035
68033
  } else if (item.type === 'daterange') {
68036
68034
  if (!item.value || !item.value[0]) {
68037
68035
  return;
@@ -68149,9 +68147,34 @@ var save_local_component = normalizeComponent(
68149
68147
  currentSearchList.forEach(function (ele) {
68150
68148
  ele.itemList.forEach(function (item) {
68151
68149
  item.isActive = !!item.default;
68152
- item.type === 'daterange' && (item.value = null);
68153
- item.type === 'datetimerange' && (item.value = null);
68154
- item.type === 'select' && (item.value = null);
68150
+
68151
+ if (['month', 'year'].includes(item.type)) {
68152
+ item.value = item.default && item.defaultValue ? item.defaultValue : '';
68153
+ }
68154
+
68155
+ if (item.type === 'daterange' || item.type === 'datetimerange') {
68156
+ item.value = item.default && item.defaultValue ? item.defaultValue : null;
68157
+ }
68158
+
68159
+ if (item.type === 'select') {
68160
+ if (item.default && item.defaultValue) {
68161
+ if (item.multiple) {
68162
+ var valueOptions = item.defaultValue.map(function (x) {
68163
+ return item.options.find(function (f) {
68164
+ return f.value === x;
68165
+ });
68166
+ });
68167
+ item.value = valueOptions.map(function (x) {
68168
+ return x.value;
68169
+ });
68170
+ } else {
68171
+ item.value = item.defaultValue;
68172
+ }
68173
+ } else {
68174
+ item.value = null;
68175
+ }
68176
+ }
68177
+
68155
68178
  item.type === 'slot' && item.setValue({
68156
68179
  value: '',
68157
68180
  name: ''
@@ -68180,6 +68203,9 @@ var save_local_component = normalizeComponent(
68180
68203
 
68181
68204
  if (item.type === 'text') {
68182
68205
  obj.name = item.name;
68206
+ } else if (item.type === 'month' || item.type === 'year') {
68207
+ if (!item.defaultValue) return;
68208
+ obj.name = item.defaultValue + (item.type === 'month' ? '月' : '年');
68183
68209
  } else if (item.type === 'daterange') {
68184
68210
  if (!item.defaultValue || !item.defaultValue[0]) {
68185
68211
  return;
@@ -68209,9 +68235,11 @@ var save_local_component = normalizeComponent(
68209
68235
  return x.label;
68210
68236
  }).join(',');
68211
68237
  } else {
68212
- obj.name = item.options.find(function (x) {
68238
+ var defaultItem = item.options.find(function (x) {
68213
68239
  return x.value === item.defaultValue;
68214
- }).label;
68240
+ });
68241
+ obj.name = defaultItem.label;
68242
+ obj.value = defaultItem;
68215
68243
  }
68216
68244
  } else if (item.type === 'slot') {// slot选项不设置默认值
68217
68245
  }
@@ -68236,6 +68264,10 @@ var save_local_component = normalizeComponent(
68236
68264
  item.isActive = index === childIndex ? !childItem.isActive : false;
68237
68265
  (item.type === 'daterange' || item.type === 'datetimerange') && (item.value = null);
68238
68266
 
68267
+ if (item.type === 'month' || item.type === 'year') {
68268
+ item.value = '';
68269
+ }
68270
+
68239
68271
  if (item.type === 'select') {
68240
68272
  item.value = item.multiple ? [] : null;
68241
68273
  }
@@ -68268,7 +68300,7 @@ var save_local_component = normalizeComponent(
68268
68300
  this.$set(this.currentSearchList, parentIndex, parentItem);
68269
68301
  }
68270
68302
  } else {
68271
- item.value = null;
68303
+ item.value = item.type === 'month' || item.type === 'year' ? '' : null;
68272
68304
  item.isActive = false;
68273
68305
  this.$set(this.currentSearchList[parentIndex].itemList, childIndex, item);
68274
68306
  }
@@ -68407,8 +68439,8 @@ var save_local_component = normalizeComponent(
68407
68439
  });
68408
68440
  // CONCATENATED MODULE: ./packages/search-bar/src/search-bar.vue?vue&type=script&lang=js&
68409
68441
  /* harmony default export */ var src_search_barvue_type_script_lang_js_ = (search_barvue_type_script_lang_js_);
68410
- // EXTERNAL MODULE: ./packages/search-bar/src/search-bar.vue?vue&type=style&index=0&id=1c97757c&lang=scss&scoped=true&
68411
- var search_barvue_type_style_index_0_id_1c97757c_lang_scss_scoped_true_ = __webpack_require__("5e8d");
68442
+ // EXTERNAL MODULE: ./packages/search-bar/src/search-bar.vue?vue&type=style&index=0&id=59e7e580&lang=scss&scoped=true&
68443
+ var search_barvue_type_style_index_0_id_59e7e580_lang_scss_scoped_true_ = __webpack_require__("6be0");
68412
68444
 
68413
68445
  // CONCATENATED MODULE: ./packages/search-bar/src/search-bar.vue
68414
68446
 
@@ -68421,11 +68453,11 @@ var search_barvue_type_style_index_0_id_1c97757c_lang_scss_scoped_true_ = __webp
68421
68453
 
68422
68454
  var search_bar_component = normalizeComponent(
68423
68455
  src_search_barvue_type_script_lang_js_,
68424
- search_barvue_type_template_id_1c97757c_scoped_true_render,
68425
- search_barvue_type_template_id_1c97757c_scoped_true_staticRenderFns,
68456
+ search_barvue_type_template_id_59e7e580_scoped_true_render,
68457
+ search_barvue_type_template_id_59e7e580_scoped_true_staticRenderFns,
68426
68458
  false,
68427
68459
  null,
68428
- "1c97757c",
68460
+ "59e7e580",
68429
68461
  null
68430
68462
 
68431
68463
  )
@@ -70310,6 +70342,20 @@ exports.push([module.i, ".syNewsearchbar .search-wrap[data-v-2592bd66]{position:
70310
70342
  module.exports = exports;
70311
70343
 
70312
70344
 
70345
+ /***/ }),
70346
+
70347
+ /***/ "ff55":
70348
+ /***/ (function(module, exports, __webpack_require__) {
70349
+
70350
+ // Imports
70351
+ var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
70352
+ exports = ___CSS_LOADER_API_IMPORT___(false);
70353
+ // Module
70354
+ exports.push([module.i, ".syswin-searchbar[data-v-59e7e580]{position:relative}.syswin-searchbar .syswin-searchbar-container[data-v-59e7e580]{box-sizing:border-box;padding:16px 0;height:64px;overflow:hidden;display:flex;align-items:center}.syswin-searchbar .syswin-searchbar-container .el-button--small[data-v-59e7e580]{padding:8px 15px}.syswin-searchbar-container__input[data-v-59e7e580]{float:left;width:336px}.syswin-searchbar-container__input[data-v-59e7e580] .el-input__inner{border-radius:2px}.syswin-searchbar-container__filter[data-v-59e7e580]{margin-left:8px;color:#027aff;font-size:14px}.syswin-searchbar-container__filter .el-icon-caret-bottom[data-v-59e7e580]{transition:all .3s cubic-bezier(.645,.045,.355,1)}.syswin-searchbar-container__filter .el-icon-caret-bottom.is-rotate-180[data-v-59e7e580]{transform:rotate(180deg)}.syswin-searchbar-container__search[data-v-59e7e580]{padding:0;width:72px;height:32px;font-size:12px;border-radius:2px;background-color:#027aff}.syswin-searchbar-container__search.is-margin-left-16[data-v-59e7e580]{margin-left:16px}.syswin-searchbar-container__reset[data-v-59e7e580]{padding:0;width:72px;height:32px;font-size:12px;border-radius:2px}.syswin-searchbar-container__listBtns[data-v-59e7e580]{position:absolute;right:0}.syswin-searchbar-container__listBtns .el-button--text[data-v-59e7e580]{color:#027aff}.syswin-searchbar .syswin-searchbar-list[data-v-59e7e580]{box-sizing:border-box;position:absolute;padding:16px 24px;width:100%;background-color:#fafafa;box-shadow:0 6px 16px -8px rgba(0,0,0,.08),0 9px 28px 0 rgba(0,0,0,.05),0 12px 48px 16px rgba(0,0,0,.03);z-index:1000;overflow:hidden}.syswin-searchbar-list__wrap[data-v-59e7e580]{border:1px solid #eaedf1;border-bottom:none}.syswin-searchbar-list__footer[data-v-59e7e580]{display:flex;margin-top:16px}.syswin-searchbar-list__footer.align-right[data-v-59e7e580]{text-align:right;justify-content:flex-end}.syswin-searchbar .syswin-filter-item[data-v-59e7e580]{display:flex;align-items:stretch;border-bottom:1px solid #eaedf1;background-color:#f6f7fb}.syswin-filter-item__title[data-v-59e7e580]{box-sizing:border-box;width:96px;height:48px;margin:0;padding:0 8px;line-height:48px;text-align:center;color:#5e6470;font-size:14px;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.syswin-filter-item__content[data-v-59e7e580]{margin:0;padding:0;list-style:none;flex:1;border-left:1px solid #eaedf1;background-color:#fafafa;overflow:hidden}.syswin-filter-item__content .el-date-editor[data-v-59e7e580]{border-radius:2px}.syswin-filter-item__li[data-v-59e7e580]{float:left;padding:0 12px;line-height:48px;color:rgba(0,0,0,.65)}.syswin-filter-item__li[data-v-59e7e580] .el-select .el-input__icon{line-height:48px}.syswin-filter-item__span[data-v-59e7e580]{box-sizing:border-box;display:block;width:100%;height:100%;font-size:14px;cursor:pointer}.syswin-filter-item__span.is-active[data-v-59e7e580]{color:#027aff}.syswin-filter-item__name[data-v-59e7e580]{margin-right:5px}.syswin-filter-item__subTitle[data-v-59e7e580]{float:left;margin:0 8px 0 0;font-size:14px;font-weight:400}.syswin-filter-item__subContent[data-v-59e7e580]{margin:0;padding:0;list-style:none;background-color:#fafafa;overflow:hidden}.syswin-filter-item__subContent .el-date-editor[data-v-59e7e580]{border-radius:2px}.syswin-filter-item__subLi[data-v-59e7e580]{float:left;padding:0 12px;line-height:48px;color:rgba(0,0,0,.65)}.syswin-footer__save[data-v-59e7e580]{padding:0;width:72px;height:32px;font-size:12px;border-radius:2px}.syswin-footer__condition[data-v-59e7e580]{margin:0 16px;width:127px;height:32px}.syswin-footer__condition[data-v-59e7e580] .el-input__inner{border-radius:2px}.syswin-footer__label[data-v-59e7e580]{float:left;width:116px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.syswin-footer__edit[data-v-59e7e580]{color:#027aff}.syswin-footer__delete[data-v-59e7e580],.syswin-footer__edit[data-v-59e7e580]{float:right;margin-left:8px;line-height:34px}.syswin-footer__delete[data-v-59e7e580]{color:#ff4d4f}", ""]);
70355
+ // Exports
70356
+ module.exports = exports;
70357
+
70358
+
70313
70359
  /***/ }),
70314
70360
 
70315
70361
  /***/ "ffff":