vsyswin-ui 0.2.71 → 0.2.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/vsyswin-ui.common.js +114 -60
- package/lib/vsyswin-ui.common.js.map +1 -1
- package/lib/vsyswin-ui.umd.js +114 -60
- package/lib/vsyswin-ui.umd.js.map +1 -1
- package/lib/vsyswin-ui.umd.min.js +8 -8
- package/lib/vsyswin-ui.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/packages/search-bar/src/search-bar.scss +4 -0
- package/packages/search-bar/src/search-bar.vue +61 -6
package/lib/vsyswin-ui.umd.js
CHANGED
|
@@ -2538,20 +2538,6 @@ module.exports = function (index, length) {
|
|
|
2538
2538
|
};
|
|
2539
2539
|
|
|
2540
2540
|
|
|
2541
|
-
/***/ }),
|
|
2542
|
-
|
|
2543
|
-
/***/ "1d87":
|
|
2544
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2545
|
-
|
|
2546
|
-
// Imports
|
|
2547
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("a1a8");
|
|
2548
|
-
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
2549
|
-
// Module
|
|
2550
|
-
exports.push([module.i, ".syswin-searchbar[data-v-e0519a48]{position:relative}.syswin-searchbar .syswin-searchbar-container[data-v-e0519a48]{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-e0519a48]{padding:8px 15px}.syswin-searchbar-container__input[data-v-e0519a48]{float:left;width:336px}.syswin-searchbar-container__input[data-v-e0519a48] .el-input__inner{border-radius:2px}.syswin-searchbar-container__filter[data-v-e0519a48]{margin-left:8px;color:#027aff;font-size:14px}.syswin-searchbar-container__filter[data-v-e0519a48]:focus,.syswin-searchbar-container__filter[data-v-e0519a48]:hover{background:transparent!important;color:#027aff!important;border-color:transparent!important}.syswin-searchbar-container__filter .el-icon-caret-bottom[data-v-e0519a48]{transition:all .3s cubic-bezier(.645,.045,.355,1)}.syswin-searchbar-container__filter .el-icon-caret-bottom.is-rotate-180[data-v-e0519a48]{transform:rotate(180deg)}.syswin-searchbar-container__search[data-v-e0519a48]{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-e0519a48]{margin-left:16px}.syswin-searchbar-container__reset[data-v-e0519a48]{padding:0;width:72px;height:32px;font-size:12px;border-radius:2px}.syswin-searchbar-container__reset[data-v-e0519a48]:hover{color:#606266!important;border-color:#dcdfe6!important;background:#fff!important}.syswin-searchbar-container__listBtns[data-v-e0519a48]{position:absolute;right:0}.syswin-searchbar-container__listBtns .el-button--text[data-v-e0519a48]{color:#027aff}.syswin-searchbar .syswin-searchbar-list[data-v-e0519a48]{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-e0519a48]{border:1px solid #eaedf1;border-bottom:none}.syswin-searchbar-list__footer[data-v-e0519a48]{display:flex;margin-top:16px}.syswin-searchbar-list__footer.align-right[data-v-e0519a48]{text-align:right;justify-content:flex-end}.syswin-searchbar .syswin-filter-item[data-v-e0519a48]{display:flex;align-items:stretch;border-bottom:1px solid #eaedf1;background-color:#f6f7fb}.syswin-filter-item__title[data-v-e0519a48]{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-e0519a48]{margin:0;padding:0;list-style:none;flex:1;border-left:1px solid #eaedf1;background-color:#fafafa;overflow:hidden;display:flex;flex-wrap:wrap}.syswin-filter-item__content .el-date-editor[data-v-e0519a48]{border-radius:2px}.syswin-filter-item__li[data-v-e0519a48]{display:flex;align-items:center;padding:0 12px;line-height:48px;color:rgba(0,0,0,.65)}.syswin-filter-item__li[data-v-e0519a48] .el-select .el-input__icon{line-height:48px}.syswin-filter-item__span[data-v-e0519a48]{box-sizing:border-box;display:block;width:100%;height:100%;font-size:14px;cursor:pointer}.syswin-filter-item__span.is-active[data-v-e0519a48]{color:#027aff}.syswin-filter-item__name[data-v-e0519a48]{margin-right:5px}.syswin-filter-item__subTitle[data-v-e0519a48]{float:left;margin:0 8px 0 0;font-size:14px;font-weight:600}.syswin-filter-item__subContent[data-v-e0519a48]{margin:0;padding:0;list-style:none;background-color:#fafafa;overflow:hidden}.syswin-filter-item__subContent .el-date-editor[data-v-e0519a48]{border-radius:2px}.syswin-filter-item__subLi[data-v-e0519a48]{float:left;padding:0 12px;line-height:48px;color:rgba(0,0,0,.65)}.syswin-footer__save[data-v-e0519a48]{padding:0;width:72px;height:32px;font-size:12px;border-radius:2px}.syswin-footer__condition[data-v-e0519a48]{margin:0 16px;width:127px;height:32px}.syswin-footer__condition[data-v-e0519a48] .el-input__inner{border-radius:2px}.syswin-footer__label[data-v-e0519a48]{float:left;width:116px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.syswin-footer__edit[data-v-e0519a48]{color:#027aff}.syswin-footer__delete[data-v-e0519a48],.syswin-footer__edit[data-v-e0519a48]{float:right;margin-left:8px;line-height:34px}.syswin-footer__delete[data-v-e0519a48]{color:#ff4d4f}", ""]);
|
|
2551
|
-
// Exports
|
|
2552
|
-
module.exports = exports;
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
2541
|
/***/ }),
|
|
2556
2542
|
|
|
2557
2543
|
/***/ "1e4d":
|
|
@@ -6976,17 +6962,6 @@ exports.push([module.i, ":root{--size-height:32px;--primary-color:#027aff;--page
|
|
|
6976
6962
|
module.exports = exports;
|
|
6977
6963
|
|
|
6978
6964
|
|
|
6979
|
-
/***/ }),
|
|
6980
|
-
|
|
6981
|
-
/***/ "2b56":
|
|
6982
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6983
|
-
|
|
6984
|
-
"use strict";
|
|
6985
|
-
/* harmony import */ var _node_modules_vue_style_loader_4_1_3_vue_style_loader_index_js_ref_9_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_15_9_8_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_9_oneOf_1_3_node_modules_sass_loader_8_0_2_sass_loader_dist_cjs_js_ref_9_oneOf_1_4_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_15_9_8_vue_loader_lib_index_js_vue_loader_options_search_bar_vue_vue_type_style_index_0_id_e0519a48_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("e7e2");
|
|
6986
|
-
/* harmony import */ var _node_modules_vue_style_loader_4_1_3_vue_style_loader_index_js_ref_9_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_15_9_8_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_9_oneOf_1_3_node_modules_sass_loader_8_0_2_sass_loader_dist_cjs_js_ref_9_oneOf_1_4_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_15_9_8_vue_loader_lib_index_js_vue_loader_options_search_bar_vue_vue_type_style_index_0_id_e0519a48_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_4_1_3_vue_style_loader_index_js_ref_9_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_15_9_8_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_9_oneOf_1_3_node_modules_sass_loader_8_0_2_sass_loader_dist_cjs_js_ref_9_oneOf_1_4_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_15_9_8_vue_loader_lib_index_js_vue_loader_options_search_bar_vue_vue_type_style_index_0_id_e0519a48_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
6987
|
-
/* unused harmony reexport * */
|
|
6988
|
-
|
|
6989
|
-
|
|
6990
6965
|
/***/ }),
|
|
6991
6966
|
|
|
6992
6967
|
/***/ "2b9c":
|
|
@@ -7076,6 +7051,20 @@ module.exports = exports;
|
|
|
7076
7051
|
})));
|
|
7077
7052
|
|
|
7078
7053
|
|
|
7054
|
+
/***/ }),
|
|
7055
|
+
|
|
7056
|
+
/***/ "2bdb":
|
|
7057
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
7058
|
+
|
|
7059
|
+
// Imports
|
|
7060
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("a1a8");
|
|
7061
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
7062
|
+
// Module
|
|
7063
|
+
exports.push([module.i, ".syswin-searchbar[data-v-b4bbece4]{position:relative}.syswin-searchbar .syswin-searchbar-container[data-v-b4bbece4]{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-b4bbece4]{padding:8px 15px}.syswin-searchbar-container__input[data-v-b4bbece4]{float:left;width:336px}.syswin-searchbar-container__input[data-v-b4bbece4] .el-input__inner{border-radius:2px}.syswin-searchbar-container__filter[data-v-b4bbece4]{margin-left:8px;color:#027aff;font-size:14px}.syswin-searchbar-container__filter[data-v-b4bbece4]:focus,.syswin-searchbar-container__filter[data-v-b4bbece4]:hover{background:transparent!important;color:#027aff!important;border-color:transparent!important}.syswin-searchbar-container__filter .el-icon-caret-bottom[data-v-b4bbece4]{transition:all .3s cubic-bezier(.645,.045,.355,1)}.syswin-searchbar-container__filter .el-icon-caret-bottom.is-rotate-180[data-v-b4bbece4]{transform:rotate(180deg)}.syswin-searchbar-container__search[data-v-b4bbece4]{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-b4bbece4]{margin-left:16px}.syswin-searchbar-container__reset[data-v-b4bbece4]{padding:0;width:72px;height:32px;font-size:12px;border-radius:2px}.syswin-searchbar-container__reset[data-v-b4bbece4]:hover{color:#606266!important;border-color:#dcdfe6!important;background:#fff!important}.syswin-searchbar-container__listBtns[data-v-b4bbece4]{position:absolute;right:0}.syswin-searchbar-container__listBtns .el-button--text[data-v-b4bbece4]{color:#027aff}.syswin-searchbar .syswin-searchbar-list[data-v-b4bbece4]{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 .syswin-searchbar-list[data-v-b4bbece4] .el-range-editor--small .el-range-separator{line-height:28px}.syswin-searchbar-list__wrap[data-v-b4bbece4]{border:1px solid #eaedf1;border-bottom:none}.syswin-searchbar-list__footer[data-v-b4bbece4]{display:flex;margin-top:16px}.syswin-searchbar-list__footer.align-right[data-v-b4bbece4]{text-align:right;justify-content:flex-end}.syswin-searchbar .syswin-filter-item[data-v-b4bbece4]{display:flex;align-items:stretch;border-bottom:1px solid #eaedf1;background-color:#f6f7fb}.syswin-filter-item__title[data-v-b4bbece4]{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-b4bbece4]{margin:0;padding:0;list-style:none;flex:1;border-left:1px solid #eaedf1;background-color:#fafafa;overflow:hidden;display:flex;flex-wrap:wrap}.syswin-filter-item__content .el-date-editor[data-v-b4bbece4]{border-radius:2px}.syswin-filter-item__li[data-v-b4bbece4]{display:flex;align-items:center;padding:0 12px;line-height:48px;color:rgba(0,0,0,.65)}.syswin-filter-item__li[data-v-b4bbece4] .el-select .el-input__icon{line-height:48px}.syswin-filter-item__span[data-v-b4bbece4]{box-sizing:border-box;display:block;width:100%;height:100%;font-size:14px;cursor:pointer}.syswin-filter-item__span.is-active[data-v-b4bbece4]{color:#027aff}.syswin-filter-item__name[data-v-b4bbece4]{margin-right:5px}.syswin-filter-item__subTitle[data-v-b4bbece4]{float:left;margin:0 8px 0 0;font-size:14px;font-weight:600}.syswin-filter-item__subContent[data-v-b4bbece4]{margin:0;padding:0;list-style:none;background-color:#fafafa;overflow:hidden}.syswin-filter-item__subContent .el-date-editor[data-v-b4bbece4]{border-radius:2px}.syswin-filter-item__subLi[data-v-b4bbece4]{float:left;padding:0 12px;line-height:48px;color:rgba(0,0,0,.65)}.syswin-footer__save[data-v-b4bbece4]{padding:0;width:72px;height:32px;font-size:12px;border-radius:2px}.syswin-footer__condition[data-v-b4bbece4]{margin:0 16px;width:127px;height:32px}.syswin-footer__condition[data-v-b4bbece4] .el-input__inner{border-radius:2px}.syswin-footer__label[data-v-b4bbece4]{float:left;width:116px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.syswin-footer__edit[data-v-b4bbece4]{color:#027aff}.syswin-footer__delete[data-v-b4bbece4],.syswin-footer__edit[data-v-b4bbece4]{float:right;margin-left:8px;line-height:34px}.syswin-footer__delete[data-v-b4bbece4]{color:#ff4d4f}", ""]);
|
|
7064
|
+
// Exports
|
|
7065
|
+
module.exports = exports;
|
|
7066
|
+
|
|
7067
|
+
|
|
7079
7068
|
/***/ }),
|
|
7080
7069
|
|
|
7081
7070
|
/***/ "2c3d":
|
|
@@ -11842,6 +11831,17 @@ module.exports = function (argument) {
|
|
|
11842
11831
|
};
|
|
11843
11832
|
|
|
11844
11833
|
|
|
11834
|
+
/***/ }),
|
|
11835
|
+
|
|
11836
|
+
/***/ "4054":
|
|
11837
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
11838
|
+
|
|
11839
|
+
"use strict";
|
|
11840
|
+
/* harmony import */ var _node_modules_vue_style_loader_4_1_3_vue_style_loader_index_js_ref_9_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_15_9_8_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_9_oneOf_1_3_node_modules_sass_loader_8_0_2_sass_loader_dist_cjs_js_ref_9_oneOf_1_4_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_15_9_8_vue_loader_lib_index_js_vue_loader_options_search_bar_vue_vue_type_style_index_0_id_b4bbece4_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("dd64");
|
|
11841
|
+
/* harmony import */ var _node_modules_vue_style_loader_4_1_3_vue_style_loader_index_js_ref_9_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_15_9_8_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_9_oneOf_1_3_node_modules_sass_loader_8_0_2_sass_loader_dist_cjs_js_ref_9_oneOf_1_4_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_15_9_8_vue_loader_lib_index_js_vue_loader_options_search_bar_vue_vue_type_style_index_0_id_b4bbece4_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_4_1_3_vue_style_loader_index_js_ref_9_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_15_9_8_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_9_oneOf_1_3_node_modules_sass_loader_8_0_2_sass_loader_dist_cjs_js_ref_9_oneOf_1_4_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_15_9_8_vue_loader_lib_index_js_vue_loader_options_search_bar_vue_vue_type_style_index_0_id_b4bbece4_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
11842
|
+
/* unused harmony reexport * */
|
|
11843
|
+
|
|
11844
|
+
|
|
11845
11845
|
/***/ }),
|
|
11846
11846
|
|
|
11847
11847
|
/***/ "4064":
|
|
@@ -36767,7 +36767,7 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAA2CAYAAAAo
|
|
|
36767
36767
|
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("a1a8");
|
|
36768
36768
|
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
36769
36769
|
// Module
|
|
36770
|
-
exports.push([module.i, ".syswin-searchbar[data-v-5c790fce]{position:relative}.syswin-searchbar .syswin-searchbar-container[data-v-5c790fce]{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-5c790fce]{padding:8px 15px}.syswin-searchbar-container__input[data-v-5c790fce]{float:left;width:336px}.syswin-searchbar-container__input[data-v-5c790fce] .el-input__inner{border-radius:2px}.syswin-searchbar-container__filter[data-v-5c790fce]{margin-left:8px;color:#027aff;font-size:14px}.syswin-searchbar-container__filter[data-v-5c790fce]:focus,.syswin-searchbar-container__filter[data-v-5c790fce]:hover{background:transparent!important;color:#027aff!important;border-color:transparent!important}.syswin-searchbar-container__filter .el-icon-caret-bottom[data-v-5c790fce]{transition:all .3s cubic-bezier(.645,.045,.355,1)}.syswin-searchbar-container__filter .el-icon-caret-bottom.is-rotate-180[data-v-5c790fce]{transform:rotate(180deg)}.syswin-searchbar-container__search[data-v-5c790fce]{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-5c790fce]{margin-left:16px}.syswin-searchbar-container__reset[data-v-5c790fce]{padding:0;width:72px;height:32px;font-size:12px;border-radius:2px}.syswin-searchbar-container__reset[data-v-5c790fce]:hover{color:#606266!important;border-color:#dcdfe6!important;background:#fff!important}.syswin-searchbar-container__listBtns[data-v-5c790fce]{position:absolute;right:0}.syswin-searchbar-container__listBtns .el-button--text[data-v-5c790fce]{color:#027aff}.syswin-searchbar .syswin-searchbar-list[data-v-5c790fce]{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-5c790fce]{border:1px solid #eaedf1;border-bottom:none}.syswin-searchbar-list__footer[data-v-5c790fce]{display:flex;margin-top:16px}.syswin-searchbar-list__footer.align-right[data-v-5c790fce]{text-align:right;justify-content:flex-end}.syswin-searchbar .syswin-filter-item[data-v-5c790fce]{display:flex;align-items:stretch;border-bottom:1px solid #eaedf1;background-color:#f6f7fb}.syswin-filter-item__title[data-v-5c790fce]{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-5c790fce]{margin:0;padding:0;list-style:none;flex:1;border-left:1px solid #eaedf1;background-color:#fafafa;overflow:hidden;display:flex;flex-wrap:wrap}.syswin-filter-item__content .el-date-editor[data-v-5c790fce]{border-radius:2px}.syswin-filter-item__li[data-v-5c790fce]{display:flex;align-items:center;padding:0 12px;line-height:48px;color:rgba(0,0,0,.65)}.syswin-filter-item__li[data-v-5c790fce] .el-select .el-input__icon{line-height:48px}.syswin-filter-item__span[data-v-5c790fce]{box-sizing:border-box;display:block;width:100%;height:100%;font-size:14px;cursor:pointer}.syswin-filter-item__span.is-active[data-v-5c790fce]{color:#027aff}.syswin-filter-item__name[data-v-5c790fce]{margin-right:5px}.syswin-filter-item__subTitle[data-v-5c790fce]{float:left;margin:0 8px 0 0;font-size:14px;font-weight:600}.syswin-filter-item__subContent[data-v-5c790fce]{margin:0;padding:0;list-style:none;background-color:#fafafa;overflow:hidden}.syswin-filter-item__subContent .el-date-editor[data-v-5c790fce]{border-radius:2px}.syswin-filter-item__subLi[data-v-5c790fce]{float:left;padding:0 12px;line-height:48px;color:rgba(0,0,0,.65)}.syswin-footer__save[data-v-5c790fce]{padding:0;width:72px;height:32px;font-size:12px;border-radius:2px}.syswin-footer__condition[data-v-5c790fce]{margin:0 16px;width:127px;height:32px}.syswin-footer__condition[data-v-5c790fce] .el-input__inner{border-radius:2px}.syswin-footer__label[data-v-5c790fce]{float:left;width:116px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.syswin-footer__edit[data-v-5c790fce]{color:#027aff}.syswin-footer__delete[data-v-5c790fce],.syswin-footer__edit[data-v-5c790fce]{float:right;margin-left:8px;line-height:34px}.syswin-footer__delete[data-v-5c790fce]{color:#ff4d4f}", ""]);
|
|
36770
|
+
exports.push([module.i, ".syswin-searchbar[data-v-5c790fce]{position:relative}.syswin-searchbar .syswin-searchbar-container[data-v-5c790fce]{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-5c790fce]{padding:8px 15px}.syswin-searchbar-container__input[data-v-5c790fce]{float:left;width:336px}.syswin-searchbar-container__input[data-v-5c790fce] .el-input__inner{border-radius:2px}.syswin-searchbar-container__filter[data-v-5c790fce]{margin-left:8px;color:#027aff;font-size:14px}.syswin-searchbar-container__filter[data-v-5c790fce]:focus,.syswin-searchbar-container__filter[data-v-5c790fce]:hover{background:transparent!important;color:#027aff!important;border-color:transparent!important}.syswin-searchbar-container__filter .el-icon-caret-bottom[data-v-5c790fce]{transition:all .3s cubic-bezier(.645,.045,.355,1)}.syswin-searchbar-container__filter .el-icon-caret-bottom.is-rotate-180[data-v-5c790fce]{transform:rotate(180deg)}.syswin-searchbar-container__search[data-v-5c790fce]{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-5c790fce]{margin-left:16px}.syswin-searchbar-container__reset[data-v-5c790fce]{padding:0;width:72px;height:32px;font-size:12px;border-radius:2px}.syswin-searchbar-container__reset[data-v-5c790fce]:hover{color:#606266!important;border-color:#dcdfe6!important;background:#fff!important}.syswin-searchbar-container__listBtns[data-v-5c790fce]{position:absolute;right:0}.syswin-searchbar-container__listBtns .el-button--text[data-v-5c790fce]{color:#027aff}.syswin-searchbar .syswin-searchbar-list[data-v-5c790fce]{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 .syswin-searchbar-list[data-v-5c790fce] .el-range-editor--small .el-range-separator{line-height:28px}.syswin-searchbar-list__wrap[data-v-5c790fce]{border:1px solid #eaedf1;border-bottom:none}.syswin-searchbar-list__footer[data-v-5c790fce]{display:flex;margin-top:16px}.syswin-searchbar-list__footer.align-right[data-v-5c790fce]{text-align:right;justify-content:flex-end}.syswin-searchbar .syswin-filter-item[data-v-5c790fce]{display:flex;align-items:stretch;border-bottom:1px solid #eaedf1;background-color:#f6f7fb}.syswin-filter-item__title[data-v-5c790fce]{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-5c790fce]{margin:0;padding:0;list-style:none;flex:1;border-left:1px solid #eaedf1;background-color:#fafafa;overflow:hidden;display:flex;flex-wrap:wrap}.syswin-filter-item__content .el-date-editor[data-v-5c790fce]{border-radius:2px}.syswin-filter-item__li[data-v-5c790fce]{display:flex;align-items:center;padding:0 12px;line-height:48px;color:rgba(0,0,0,.65)}.syswin-filter-item__li[data-v-5c790fce] .el-select .el-input__icon{line-height:48px}.syswin-filter-item__span[data-v-5c790fce]{box-sizing:border-box;display:block;width:100%;height:100%;font-size:14px;cursor:pointer}.syswin-filter-item__span.is-active[data-v-5c790fce]{color:#027aff}.syswin-filter-item__name[data-v-5c790fce]{margin-right:5px}.syswin-filter-item__subTitle[data-v-5c790fce]{float:left;margin:0 8px 0 0;font-size:14px;font-weight:600}.syswin-filter-item__subContent[data-v-5c790fce]{margin:0;padding:0;list-style:none;background-color:#fafafa;overflow:hidden}.syswin-filter-item__subContent .el-date-editor[data-v-5c790fce]{border-radius:2px}.syswin-filter-item__subLi[data-v-5c790fce]{float:left;padding:0 12px;line-height:48px;color:rgba(0,0,0,.65)}.syswin-footer__save[data-v-5c790fce]{padding:0;width:72px;height:32px;font-size:12px;border-radius:2px}.syswin-footer__condition[data-v-5c790fce]{margin:0 16px;width:127px;height:32px}.syswin-footer__condition[data-v-5c790fce] .el-input__inner{border-radius:2px}.syswin-footer__label[data-v-5c790fce]{float:left;width:116px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.syswin-footer__edit[data-v-5c790fce]{color:#027aff}.syswin-footer__delete[data-v-5c790fce],.syswin-footer__edit[data-v-5c790fce]{float:right;margin-left:8px;line-height:34px}.syswin-footer__delete[data-v-5c790fce]{color:#ff4d4f}", ""]);
|
|
36771
36771
|
// Exports
|
|
36772
36772
|
module.exports = exports;
|
|
36773
36773
|
|
|
@@ -60702,6 +60702,22 @@ module.exports = function (namespace, method) {
|
|
|
60702
60702
|
})));
|
|
60703
60703
|
|
|
60704
60704
|
|
|
60705
|
+
/***/ }),
|
|
60706
|
+
|
|
60707
|
+
/***/ "dd64":
|
|
60708
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
60709
|
+
|
|
60710
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
60711
|
+
|
|
60712
|
+
// load the styles
|
|
60713
|
+
var content = __webpack_require__("2bdb");
|
|
60714
|
+
if(content.__esModule) content = content.default;
|
|
60715
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
60716
|
+
if(content.locals) module.exports = content.locals;
|
|
60717
|
+
// add the styles to the DOM
|
|
60718
|
+
var add = __webpack_require__("5925").default
|
|
60719
|
+
var update = add("11559ef0", content, true, {"sourceMap":false,"shadowMode":false});
|
|
60720
|
+
|
|
60705
60721
|
/***/ }),
|
|
60706
60722
|
|
|
60707
60723
|
/***/ "dea3":
|
|
@@ -66071,22 +66087,6 @@ module.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? c
|
|
|
66071
66087
|
});
|
|
66072
66088
|
|
|
66073
66089
|
|
|
66074
|
-
/***/ }),
|
|
66075
|
-
|
|
66076
|
-
/***/ "e7e2":
|
|
66077
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
66078
|
-
|
|
66079
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
66080
|
-
|
|
66081
|
-
// load the styles
|
|
66082
|
-
var content = __webpack_require__("1d87");
|
|
66083
|
-
if(content.__esModule) content = content.default;
|
|
66084
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
66085
|
-
if(content.locals) module.exports = content.locals;
|
|
66086
|
-
// add the styles to the DOM
|
|
66087
|
-
var add = __webpack_require__("5925").default
|
|
66088
|
-
var update = add("00e4bd24", content, true, {"sourceMap":false,"shadowMode":false});
|
|
66089
|
-
|
|
66090
66090
|
/***/ }),
|
|
66091
66091
|
|
|
66092
66092
|
/***/ "e9f3":
|
|
@@ -68416,24 +68416,24 @@ select_tree.install = function (Vue) {
|
|
|
68416
68416
|
|
|
68417
68417
|
|
|
68418
68418
|
/* harmony default export */ var packages_select_tree = (select_tree);
|
|
68419
|
-
// CONCATENATED MODULE: ./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1d7e8b41-vue-loader-template"}!./node_modules/_vue-loader@15.9.8@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--1-0!./node_modules/_vue-loader@15.9.8@vue-loader/lib??vue-loader-options!./packages/search-bar/src/search-bar.vue?vue&type=template&id=
|
|
68420
|
-
var
|
|
68419
|
+
// CONCATENATED MODULE: ./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1d7e8b41-vue-loader-template"}!./node_modules/_vue-loader@15.9.8@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--1-0!./node_modules/_vue-loader@15.9.8@vue-loader/lib??vue-loader-options!./packages/search-bar/src/search-bar.vue?vue&type=template&id=b4bbece4&scoped=true&
|
|
68420
|
+
var search_barvue_type_template_id_b4bbece4_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:{
|
|
68421
68421
|
'is-active': item.isActive
|
|
68422
|
-
},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 === 'monthrange')?[(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":"monthrange","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:({
|
|
68422
|
+
},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","picker-options":item.pickerOptions && _vm.pickerOptions,"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 === 'monthrange')?[(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":"monthrange","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","picker-options":item.pickerOptions && _vm.pickerOptions,"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:({
|
|
68423
68423
|
width: item.width ? item.width : '200px'
|
|
68424
68424
|
}),attrs:{"size":"small","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,function(){return [_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:{
|
|
68425
68425
|
'is-active': item.isActive
|
|
68426
|
-
},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 === 'monthrange')?[(item.name)?_c('span',{staticClass:"syswin-filter-item__name"},[_vm._v(_vm._s(item.name))]):_vm._e(),_c('el-date-picker',{attrs:{"type":"monthrange","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:({
|
|
68426
|
+
},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","picker-options":item.pickerOptions && _vm.pickerOptions,"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 === 'monthrange')?[(item.name)?_c('span',{staticClass:"syswin-filter-item__name"},[_vm._v(_vm._s(item.name))]):_vm._e(),_c('el-date-picker',{attrs:{"type":"monthrange","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","picker-options":item.pickerOptions && _vm.pickerOptions,"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:({
|
|
68427
68427
|
width: item.width ? item.width : '200px'
|
|
68428
|
-
}),attrs:{"size":"small","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:{
|
|
68428
|
+
}),attrs:{"size":"small","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,function(){return [_vm._v("内容为空")]},{"item":item})]:_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:{
|
|
68429
68429
|
'is-active': item.isActive
|
|
68430
|
-
},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 === 'monthrange')?[(item.name)?_c('span',{staticClass:"syswin-filter-item__name"},[_vm._v(_vm._s(item.name))]):_vm._e(),_c('el-date-picker',{attrs:{"type":"monthrange","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:({
|
|
68430
|
+
},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","picker-options":item.pickerOptions && _vm.pickerOptions,"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 === 'monthrange')?[(item.name)?_c('span',{staticClass:"syswin-filter-item__name"},[_vm._v(_vm._s(item.name))]):_vm._e(),_c('el-date-picker',{attrs:{"type":"monthrange","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","picker-options":item.pickerOptions && _vm.pickerOptions,"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:({
|
|
68431
68431
|
width: item.width ? item.width : '200px'
|
|
68432
68432
|
}),attrs:{"size":"small","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,function(){return [_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","closable":""},on:{"close":function($event){return _vm.handleTagClose(tag)}}},[_vm._v(" "+_vm._s(tag.pName)+": "+_vm._s(tag.name)+" ")])}),(_vm.tagList.length > 1)?_c('el-tag',{staticClass:"tags clearall",attrs:{"size":"small"},on:{"click":_vm.handleClearAllTags}},[_vm._v("清除所有")]):_vm._e()],2):_vm._e()],1)}
|
|
68433
|
-
var
|
|
68433
|
+
var search_barvue_type_template_id_b4bbece4_scoped_true_staticRenderFns = []
|
|
68434
68434
|
|
|
68435
68435
|
|
|
68436
|
-
// CONCATENATED MODULE: ./packages/search-bar/src/search-bar.vue?vue&type=template&id=
|
|
68436
|
+
// CONCATENATED MODULE: ./packages/search-bar/src/search-bar.vue?vue&type=template&id=b4bbece4&scoped=true&
|
|
68437
68437
|
|
|
68438
68438
|
// CONCATENATED MODULE: ./node_modules/_@babel_runtime@7.17.2@@babel/runtime/helpers/esm/arrayLikeToArray.js
|
|
68439
68439
|
function _arrayLikeToArray(arr, len) {
|
|
@@ -68791,6 +68791,16 @@ var save_local_component = normalizeComponent(
|
|
|
68791
68791
|
|
|
68792
68792
|
|
|
68793
68793
|
|
|
68794
|
+
|
|
68795
|
+
//
|
|
68796
|
+
//
|
|
68797
|
+
//
|
|
68798
|
+
//
|
|
68799
|
+
//
|
|
68800
|
+
//
|
|
68801
|
+
//
|
|
68802
|
+
//
|
|
68803
|
+
//
|
|
68794
68804
|
//
|
|
68795
68805
|
//
|
|
68796
68806
|
//
|
|
@@ -69185,7 +69195,11 @@ function deepCopyFunction(arr1, arr2) {
|
|
|
69185
69195
|
function clickHandler(e) {
|
|
69186
69196
|
// 这里判断点击的元素是否是本身,是本身,则返回
|
|
69187
69197
|
if (el.contains(e.target)) {
|
|
69188
|
-
|
|
69198
|
+
var btnsBox = el.querySelector('.syswin-searchbar-container__listBtns'); // 点击右侧的按钮时也要隐藏所有条件面板
|
|
69199
|
+
|
|
69200
|
+
if (!btnsBox.contains(e.target)) {
|
|
69201
|
+
return false;
|
|
69202
|
+
}
|
|
69189
69203
|
} // 判断指令中是否绑定了函数
|
|
69190
69204
|
|
|
69191
69205
|
|
|
@@ -69211,7 +69225,7 @@ function deepCopyFunction(arr1, arr2) {
|
|
|
69211
69225
|
saveToLocal: {
|
|
69212
69226
|
// 搜索条件保存到本地
|
|
69213
69227
|
type: Boolean,
|
|
69214
|
-
default:
|
|
69228
|
+
default: false
|
|
69215
69229
|
},
|
|
69216
69230
|
searchList: {
|
|
69217
69231
|
type: Array,
|
|
@@ -69250,6 +69264,10 @@ function deepCopyFunction(arr1, arr2) {
|
|
|
69250
69264
|
// 自定义条件标签的显示
|
|
69251
69265
|
type: Boolean,
|
|
69252
69266
|
default: false
|
|
69267
|
+
},
|
|
69268
|
+
maxConditionLength: {
|
|
69269
|
+
type: Number,
|
|
69270
|
+
default: 4
|
|
69253
69271
|
}
|
|
69254
69272
|
},
|
|
69255
69273
|
data: function data() {
|
|
@@ -69257,14 +69275,49 @@ function deepCopyFunction(arr1, arr2) {
|
|
|
69257
69275
|
keyword: '',
|
|
69258
69276
|
currentSearchList: [],
|
|
69259
69277
|
shrinkFilterList: false,
|
|
69260
|
-
maxConditionLength: 4,
|
|
69261
69278
|
conditionList: [],
|
|
69262
69279
|
conditionValue: '',
|
|
69263
69280
|
currentData: {},
|
|
69264
69281
|
dialogConditionVisible: false,
|
|
69265
69282
|
hasSetDefaultTag: false,
|
|
69266
69283
|
// 是否设置过默认tag
|
|
69267
|
-
tagList: []
|
|
69284
|
+
tagList: [],
|
|
69285
|
+
pickerOptions: {
|
|
69286
|
+
shortcuts: [{
|
|
69287
|
+
text: '今日',
|
|
69288
|
+
onClick: function onClick(picker) {
|
|
69289
|
+
var end = new Date(new Date().setHours(0, 0, 0, 0) + 24 * 60 * 60 * 1000 - 1); // 今日23:59:59的时间
|
|
69290
|
+
|
|
69291
|
+
var start = new Date(new Date().setHours(0, 0, 0, 0)); // 今日0点
|
|
69292
|
+
|
|
69293
|
+
picker.$emit('pick', [start, end]);
|
|
69294
|
+
}
|
|
69295
|
+
}, {
|
|
69296
|
+
text: '最近三天',
|
|
69297
|
+
onClick: function onClick(picker) {
|
|
69298
|
+
var end = new Date();
|
|
69299
|
+
var start = new Date();
|
|
69300
|
+
start.setTime(start.getTime() - 3600 * 1000 * 24 * 3);
|
|
69301
|
+
picker.$emit('pick', [start, end]);
|
|
69302
|
+
}
|
|
69303
|
+
}, {
|
|
69304
|
+
text: '最近一周',
|
|
69305
|
+
onClick: function onClick(picker) {
|
|
69306
|
+
var end = new Date();
|
|
69307
|
+
var start = new Date();
|
|
69308
|
+
start.setTime(start.getTime() - 3600 * 1000 * 24 * 7);
|
|
69309
|
+
picker.$emit('pick', [start, end]);
|
|
69310
|
+
}
|
|
69311
|
+
}, {
|
|
69312
|
+
text: '最近一个月',
|
|
69313
|
+
onClick: function onClick(picker) {
|
|
69314
|
+
var end = new Date();
|
|
69315
|
+
var start = new Date();
|
|
69316
|
+
start.setTime(start.getTime() - 3600 * 1000 * 24 * 30);
|
|
69317
|
+
picker.$emit('pick', [start, end]);
|
|
69318
|
+
}
|
|
69319
|
+
}]
|
|
69320
|
+
}
|
|
69268
69321
|
};
|
|
69269
69322
|
},
|
|
69270
69323
|
computed: {},
|
|
@@ -69759,7 +69812,8 @@ function deepCopyFunction(arr1, arr2) {
|
|
|
69759
69812
|
v.id === ele.id && ['daterange', 'monthrange'].includes(v.type) && (v.value = ele.value);
|
|
69760
69813
|
} else {
|
|
69761
69814
|
// 单选
|
|
69762
|
-
v.isActive = v.id === ele.id
|
|
69815
|
+
v.isActive = v.id === ele.id;
|
|
69816
|
+
v.id === ele.id && [('daterange', 'monthrange')].includes(v.type) && (v.value = v.id === ele.id ? ele.value : null);
|
|
69763
69817
|
}
|
|
69764
69818
|
} else if (v.type === 'slot') {
|
|
69765
69819
|
v.setValue && v.setValue(_objectSpread2({
|
|
@@ -69875,8 +69929,8 @@ function deepCopyFunction(arr1, arr2) {
|
|
|
69875
69929
|
});
|
|
69876
69930
|
// CONCATENATED MODULE: ./packages/search-bar/src/search-bar.vue?vue&type=script&lang=js&
|
|
69877
69931
|
/* harmony default export */ var src_search_barvue_type_script_lang_js_ = (search_barvue_type_script_lang_js_);
|
|
69878
|
-
// EXTERNAL MODULE: ./packages/search-bar/src/search-bar.vue?vue&type=style&index=0&id=
|
|
69879
|
-
var
|
|
69932
|
+
// EXTERNAL MODULE: ./packages/search-bar/src/search-bar.vue?vue&type=style&index=0&id=b4bbece4&lang=scss&scoped=true&
|
|
69933
|
+
var search_barvue_type_style_index_0_id_b4bbece4_lang_scss_scoped_true_ = __webpack_require__("4054");
|
|
69880
69934
|
|
|
69881
69935
|
// CONCATENATED MODULE: ./packages/search-bar/src/search-bar.vue
|
|
69882
69936
|
|
|
@@ -69889,11 +69943,11 @@ var search_barvue_type_style_index_0_id_e0519a48_lang_scss_scoped_true_ = __webp
|
|
|
69889
69943
|
|
|
69890
69944
|
var search_bar_component = normalizeComponent(
|
|
69891
69945
|
src_search_barvue_type_script_lang_js_,
|
|
69892
|
-
|
|
69893
|
-
|
|
69946
|
+
search_barvue_type_template_id_b4bbece4_scoped_true_render,
|
|
69947
|
+
search_barvue_type_template_id_b4bbece4_scoped_true_staticRenderFns,
|
|
69894
69948
|
false,
|
|
69895
69949
|
null,
|
|
69896
|
-
"
|
|
69950
|
+
"b4bbece4",
|
|
69897
69951
|
null
|
|
69898
69952
|
|
|
69899
69953
|
)
|