twmodule 0.1.6 → 0.1.8
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/twComp.common.js +83 -73
- package/lib/twComp.css +1 -1
- package/lib/twComp.umd.js +83 -73
- package/lib/twComp.umd.min.js +1 -1
- package/package.json +1 -1
package/lib/twComp.umd.js
CHANGED
@@ -998,17 +998,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN
|
|
998
998
|
|
999
999
|
/***/ }),
|
1000
1000
|
|
1001
|
-
/***/ "2274":
|
1002
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1003
|
-
|
1004
|
-
"use strict";
|
1005
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_9_3_vue_loader_lib_index_js_vue_loader_options_twFormModule_vue_vue_type_style_index_0_id_d6fcfb86_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("8de9");
|
1006
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_9_3_vue_loader_lib_index_js_vue_loader_options_twFormModule_vue_vue_type_style_index_0_id_d6fcfb86_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_9_3_vue_loader_lib_index_js_vue_loader_options_twFormModule_vue_vue_type_style_index_0_id_d6fcfb86_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
1007
|
-
/* unused harmony reexport * */
|
1008
|
-
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_9_3_vue_loader_lib_index_js_vue_loader_options_twFormModule_vue_vue_type_style_index_0_id_d6fcfb86_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
|
1009
|
-
|
1010
|
-
/***/ }),
|
1011
|
-
|
1012
1001
|
/***/ "22ef":
|
1013
1002
|
/***/ (function(module, exports, __webpack_require__) {
|
1014
1003
|
|
@@ -2033,13 +2022,6 @@ module.exports = function (S, index, unicode) {
|
|
2033
2022
|
};
|
2034
2023
|
|
2035
2024
|
|
2036
|
-
/***/ }),
|
2037
|
-
|
2038
|
-
/***/ "3a05":
|
2039
|
-
/***/ (function(module, exports, __webpack_require__) {
|
2040
|
-
|
2041
|
-
// extracted by mini-css-extract-plugin
|
2042
|
-
|
2043
2025
|
/***/ }),
|
2044
2026
|
|
2045
2027
|
/***/ "3a08":
|
@@ -3078,13 +3060,6 @@ module.exports = NATIVE_SYMBOL
|
|
3078
3060
|
&& typeof Symbol.iterator == 'symbol';
|
3079
3061
|
|
3080
3062
|
|
3081
|
-
/***/ }),
|
3082
|
-
|
3083
|
-
/***/ "74d1":
|
3084
|
-
/***/ (function(module, exports, __webpack_require__) {
|
3085
|
-
|
3086
|
-
// extracted by mini-css-extract-plugin
|
3087
|
-
|
3088
3063
|
/***/ }),
|
3089
3064
|
|
3090
3065
|
/***/ "74e7":
|
@@ -3300,14 +3275,10 @@ module.exports = function (key) {
|
|
3300
3275
|
|
3301
3276
|
/***/ }),
|
3302
3277
|
|
3303
|
-
/***/ "
|
3304
|
-
/***/ (function(module,
|
3278
|
+
/***/ "7f7a":
|
3279
|
+
/***/ (function(module, exports, __webpack_require__) {
|
3305
3280
|
|
3306
|
-
|
3307
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_8_0_2_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_9_3_vue_loader_lib_index_js_vue_loader_options_twTable_vue_vue_type_style_index_0_id_40c06270_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("3a05");
|
3308
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_8_0_2_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_9_3_vue_loader_lib_index_js_vue_loader_options_twTable_vue_vue_type_style_index_0_id_40c06270_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_8_0_2_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_9_3_vue_loader_lib_index_js_vue_loader_options_twTable_vue_vue_type_style_index_0_id_40c06270_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
3309
|
-
/* unused harmony reexport * */
|
3310
|
-
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_8_0_2_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_9_3_vue_loader_lib_index_js_vue_loader_options_twTable_vue_vue_type_style_index_0_id_40c06270_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a);
|
3281
|
+
// extracted by mini-css-extract-plugin
|
3311
3282
|
|
3312
3283
|
/***/ }),
|
3313
3284
|
|
@@ -3558,13 +3529,6 @@ module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
3558
3529
|
};
|
3559
3530
|
|
3560
3531
|
|
3561
|
-
/***/ }),
|
3562
|
-
|
3563
|
-
/***/ "8de9":
|
3564
|
-
/***/ (function(module, exports, __webpack_require__) {
|
3565
|
-
|
3566
|
-
// extracted by mini-css-extract-plugin
|
3567
|
-
|
3568
3532
|
/***/ }),
|
3569
3533
|
|
3570
3534
|
/***/ "908e":
|
@@ -5365,6 +5329,13 @@ $({ target: 'Array', proto: true, forced: FORCED }, {
|
|
5365
5329
|
});
|
5366
5330
|
|
5367
5331
|
|
5332
|
+
/***/ }),
|
5333
|
+
|
5334
|
+
/***/ "b507":
|
5335
|
+
/***/ (function(module, exports, __webpack_require__) {
|
5336
|
+
|
5337
|
+
// extracted by mini-css-extract-plugin
|
5338
|
+
|
5368
5339
|
/***/ }),
|
5369
5340
|
|
5370
5341
|
/***/ "b60f":
|
@@ -5808,14 +5779,21 @@ module.exports = ''.repeat || function repeat(count) {
|
|
5808
5779
|
|
5809
5780
|
/***/ }),
|
5810
5781
|
|
5811
|
-
/***/ "
|
5782
|
+
/***/ "c7f2":
|
5783
|
+
/***/ (function(module, exports, __webpack_require__) {
|
5784
|
+
|
5785
|
+
// extracted by mini-css-extract-plugin
|
5786
|
+
|
5787
|
+
/***/ }),
|
5788
|
+
|
5789
|
+
/***/ "c807":
|
5812
5790
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5813
5791
|
|
5814
5792
|
"use strict";
|
5815
|
-
/* harmony import */ var
|
5816
|
-
/* harmony import */ var
|
5793
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_9_3_vue_loader_lib_index_js_vue_loader_options_twFormModule_vue_vue_type_style_index_0_id_ca021e7c_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("c7f2");
|
5794
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_9_3_vue_loader_lib_index_js_vue_loader_options_twFormModule_vue_vue_type_style_index_0_id_ca021e7c_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_9_3_vue_loader_lib_index_js_vue_loader_options_twFormModule_vue_vue_type_style_index_0_id_ca021e7c_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
5817
5795
|
/* unused harmony reexport * */
|
5818
|
-
/* unused harmony default export */ var _unused_webpack_default_export = (
|
5796
|
+
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_9_3_vue_loader_lib_index_js_vue_loader_options_twFormModule_vue_vue_type_style_index_0_id_ca021e7c_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
|
5819
5797
|
|
5820
5798
|
/***/ }),
|
5821
5799
|
|
@@ -6086,6 +6064,17 @@ module.exports = DESCRIPTORS ? Object.defineProperties : function defineProperti
|
|
6086
6064
|
|
6087
6065
|
/***/ }),
|
6088
6066
|
|
6067
|
+
/***/ "e0fd":
|
6068
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6069
|
+
|
6070
|
+
"use strict";
|
6071
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_8_0_2_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_9_3_vue_loader_lib_index_js_vue_loader_options_twTable_vue_vue_type_style_index_0_id_7b000d5e_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("7f7a");
|
6072
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_8_0_2_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_9_3_vue_loader_lib_index_js_vue_loader_options_twTable_vue_vue_type_style_index_0_id_7b000d5e_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_8_0_2_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_9_3_vue_loader_lib_index_js_vue_loader_options_twTable_vue_vue_type_style_index_0_id_7b000d5e_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
6073
|
+
/* unused harmony reexport * */
|
6074
|
+
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_8_0_2_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_9_3_vue_loader_lib_index_js_vue_loader_options_twTable_vue_vue_type_style_index_0_id_7b000d5e_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a);
|
6075
|
+
|
6076
|
+
/***/ }),
|
6077
|
+
|
6089
6078
|
/***/ "e18c":
|
6090
6079
|
/***/ (function(module, exports, __webpack_require__) {
|
6091
6080
|
|
@@ -6100,6 +6089,17 @@ if (!TO_STRING_TAG_SUPPORT) {
|
|
6100
6089
|
}
|
6101
6090
|
|
6102
6091
|
|
6092
|
+
/***/ }),
|
6093
|
+
|
6094
|
+
/***/ "e1b7":
|
6095
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6096
|
+
|
6097
|
+
"use strict";
|
6098
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_8_0_2_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_9_3_vue_loader_lib_index_js_vue_loader_options_twFormSearch_vue_vue_type_style_index_0_id_3015dff1_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("b507");
|
6099
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_8_0_2_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_9_3_vue_loader_lib_index_js_vue_loader_options_twFormSearch_vue_vue_type_style_index_0_id_3015dff1_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_8_0_2_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_9_3_vue_loader_lib_index_js_vue_loader_options_twFormSearch_vue_vue_type_style_index_0_id_3015dff1_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
6100
|
+
/* unused harmony reexport * */
|
6101
|
+
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_8_0_2_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_9_3_vue_loader_lib_index_js_vue_loader_options_twFormSearch_vue_vue_type_style_index_0_id_3015dff1_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a);
|
6102
|
+
|
6103
6103
|
/***/ }),
|
6104
6104
|
|
6105
6105
|
/***/ "e1d6":
|
@@ -7985,16 +7985,16 @@ var mainvue_type_template_id_7cab38b6_staticRenderFns = []
|
|
7985
7985
|
|
7986
7986
|
// CONCATENATED MODULE: ./packages/twSearchBox/src/main.vue?vue&type=template&id=7cab38b6&
|
7987
7987
|
|
7988
|
-
// CONCATENATED MODULE: ./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9b9f7194-vue-loader-template"}!./node_modules/_vue-loader@15.9.3@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.3@vue-loader/lib??vue-loader-options!./examples/components/comPage/twFormSearch/twFormSearch.vue?vue&type=template&id=
|
7989
|
-
var
|
7988
|
+
// CONCATENATED MODULE: ./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9b9f7194-vue-loader-template"}!./node_modules/_vue-loader@15.9.3@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.3@vue-loader/lib??vue-loader-options!./examples/components/comPage/twFormSearch/twFormSearch.vue?vue&type=template&id=3015dff1&scoped=true&
|
7989
|
+
var twFormSearchvue_type_template_id_3015dff1_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',[(_vm.formReady)?_c('el-form',{staticClass:"twFormSearch",attrs:{"inline":true,"model":_vm.formData,"size":_vm.formModule.size?_vm.formModule.size:'small',"label-width":_vm.formModule.labelWidth?_vm.formModule.labelWidth:'75px'}},[_vm._l((_vm.formDataList),function(item,index){return _c('el-form-item',{directives:[{name:"show",rawName:"v-show",value:(!item.isHidden),expression:"!item.isHidden"}],key:index,style:({'margin-right':_vm.formModule.mention?'20px':'12px'}),attrs:{"label":item.label,"required":item.required}},[(item.warning && item.required)?_c('span',{staticClass:"warningText"},[_vm._v("必填项")]):_vm._e(),(item.itemType === 'text' || item.itemType === 'number')?_c('el-input',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"placeholder":item.placeholder?item.placeholder:'请输入'+item.label,"clearable":"","type":item.itemType,"disabled":item.disabled,"readonly":item.readonly,"suffix-icon":item.iconDirection ==='right'?item.inputIcon:'',"prefix-icon":item.iconDirection ==='left' || (!item.iconDirection && item.inputIcon)?item.inputIcon:''},on:{"input":function($event){return _vm.itemChange($event,item,_vm.formData)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}}):_vm._e(),(item.itemType === 'select')?_c('el-select',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"clearable":"","placeholder":item.placeholder?item.placeholder:'请选择'+item.label,"disabled":item.disabled,"filterable":item.selectSearch?item.selectSearch:true},on:{"change":function($event){return _vm.itemChange($event,item,_vm.formData)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}},_vm._l((item.selectList),function(itemOption){return _c('el-option',{key:item.changeValue?itemOption[item.changeValue]:itemOption.value,attrs:{"label":item.changeLabel?itemOption[item.changeLabel]:itemOption.name,"value":item.changeValue?itemOption[item.changeValue]:itemOption.value}})}),1):_vm._e(),(item.itemType === 'selectMore')?_c('el-select',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"clearable":"","placeholder":item.placeholder?item.placeholder:'请选择'+item.label,"multiple":"","disabled":item.disabled,"collapse-tags":item.showAllName !== 'showAll',"filterable":item.selectSearch?item.selectSearch:true},on:{"change":function($event){return _vm.itemChange($event,item,_vm.formData)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}},_vm._l((item.selectList),function(itemOption){return _c('el-option',{key:item.changeValue?itemOption[item.changeValue]:itemOption.value,attrs:{"label":item.changeLabel?itemOption[item.changeLabel]:itemOption.name,"value":item.changeValue?itemOption[item.changeValue]:itemOption.value}})}),1):_vm._e(),(item.itemType === 'selectCascade')?_c('el-cascader',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"filterable":item.selectSearch?item.selectSearch:true,"options":item.selectList,"collapse-tags":item.showAllName !== 'showAll',"disabled":item.disabled,"show-all-levels":item.showAllLevel?item.showAllLevel:false,"placeholder":item.placeholder?item.placeholder:'请选择'+item.label,"clearable":"","props":{ expandTrigger: item.trigger?item.trigger:'hover',multiple:item.isSelectMore?item.isSelectMore:false
|
7990
7990
|
,checkStrictly:item.checkAny?item.checkAny:false,label:item.changeLabel?item.changeLabel:'label'
|
7991
|
-
,value:item.changeValue?item.changeValue:'value',children:item.changeChildren?item.changeChildren:'children'}},on:{"change":function($event){return _vm.itemChange($event,item,_vm.formData)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}}):_vm._e(),(item.itemType === 'date')?_c('el-date-picker',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"type":item.dateType?item.dateType:'date',"format":item.dateFormat,"placeholder":item.placeholder?item.placeholder:item.label,"picker-options":_vm.processDate(item)},on:{"change":function($event){return _vm.itemChange($event,item,_vm.formData)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}}):_vm._e(),(item.itemType === 'dateRange')?_c('el-date-picker',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"type":item.dateType?item.dateType+'range':'daterange',"format":item.dateFormat,"placeholder":item.placeholder?item.placeholder:item.label,"range-separator":item.separator?item.separator:'至',"picker-options":_vm.processDate(item),"start-placeholder":item.startPlaceholder?item.startPlaceholder:'开始日期',"end-placeholder":item.endPlaceholder?item.endPlaceholder:'结束日期'},on:{"input":function($event){return _vm.itemChange($event,item)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}}):_vm._e(),(item.itemType === 'radio')?_c('el-radio-group',{staticClass:"twSearchRadio",model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}},_vm._l((item.radioList),function(itemChild,index){return _c('el-radio',{key:'radio'+index,attrs:{"label":itemChild.value,"disabled":itemChild.disabled},on:{"change":function($event){return _vm.itemChange($event,item,_vm.formData)}}},[_vm._v(_vm._s(itemChild.name))])}),1):_vm._e(),(item.itemType === 'checkBox')?_c('el-checkbox-group',{staticClass:"twSearchCheckbox",model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}},_vm._l((item.checkBoxList),function(itemChild,index){return _c('el-checkbox',{key:'checkBox'+index,attrs:{"data-a":_vm.checkBoxState,"label":itemChild.value,"disabled":itemChild.disabled},on:{"change":function($event){return _vm.itemChange($event,item,_vm.formData)}}},[_vm._v(_vm._s(itemChild.name))])}),1):_vm._e(),(item.itemType === 'selectTree')?_c('section',{staticClass:"popTree"},[_c('el-popover',{attrs:{"placement":"bottom-start"},model:{value:(item.popTreeBox),callback:function ($$v) {_vm.$set(item, "popTreeBox", $$v)},expression:"item.popTreeBox"}},[_c('section',{staticStyle:{"text-align":"center","border-bottom":"1px solid #ddd","padding-bottom":"10px"}},[_c('div',{staticStyle:{"display":"flex"}},[_c('el-input',{attrs:{"placeholder":"输入关键字进行过滤","size":"mini","clearable":""},on:{"input":function($event){return _vm.filterInput($event,item)}},model:{value:(item.popTreeInput),callback:function ($$v) {_vm.$set(item, "popTreeInput", $$v)},expression:"item.popTreeInput"}}),_c('el-button',{staticStyle:{"margin-left":"10px"},attrs:{"type":"primary","size":"mini"},on:{"click":function($event){return _vm.chooseOrg(item.itemValue,item)}}},[_vm._v("确定选择")])],1)]),_c('el-tree',{ref:item.popTreeRef,refInFor:true,staticClass:"selectTree",attrs:{"data":item.treeList.length>0?item.treeList:[],"props":item.defaultProps,"filter-node-method":_vm.filterNode,"highlight-current":true},on:{"node-click":function($event){item.doubleClick?_vm.handleNodeClickEvent($event,item.itemValue,item):_vm.handleNodeClick($event)}}}),_c('el-input',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"slot":"reference","size":"small","placeholder":"请选择","clearable":""},on:{"clear":function($event){return _vm.clearText(item)}},slot:"reference",model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}})],1)],1):_vm._e(),(item.itemType === 'valueRange')?_c('section',{staticClass:"valueRangeStyle"},[_c('el-input',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"type":item.isNumber?'number':'text',"clearable":"","placeholder":"请输入"},on:{"input":function($event){return _vm.itemChange($event,item)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}}),_c('span',{staticStyle:{"margin":"0 5px"}},[_vm._v("-")]),_c('el-input',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"type":item.isNumber?'number':'text',"clearable":"","placeholder":"请输入"},on:{"input":function($event){return _vm.itemChange($event,item)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValueSec]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValueSec, $$v)},expression:"formData[item.itemValueSec]"}})],1):_vm._e(),(item.itemType === 'doSelf')?_c('section',{on:{"click":function($event){return _vm.itemFocus(item,_vm.formData)}}},[_c('el-input',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"type":"text","clearable":"","placeholder":"请点击","readonly":""},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}})],1):_vm._e(),(item.mention)?_c('el-popover',{attrs:{"placement":item.mention.direct?item.mention.direct:'left',"width":item.mention.width?item.mention.width:'250',"trigger":item.mention.trigger?item.mention.trigger:'hover'}},[_c('section',{staticClass:"mentionText",style:(item.mention.textStyle)},[_vm._v(_vm._s(item.mention.text))]),(item.mention)?_c('i',{class:item.mention.icon?item.mention.icon+' inputMention':'el-icon-warning-outline inputMention',style:(item.mention.iconStyle),attrs:{"slot":"reference"},slot:"reference"}):_vm._e()]):_vm._e()],1)}),_c('el-form-item',{staticStyle:{"text-align":"left","min-width":"initial","margin-left":"20px"}},[_c('el-button',{staticClass:"searchBtn",attrs:{"type":"primary"},on:{"click":_vm.onSubmit}},[_vm._v("查询")]),(_vm.formModule.reset)?_c('el-button',{staticClass:"searchBtn",on:{"click":_vm.resetObjFun}},[_vm._v("重置")]):_vm._e(),(_vm.formModule.showSearchMore && _vm.showMore)?_c('el-button',{staticStyle:{"margin-left":"0"},attrs:{"type":"text"},on:{"click":function($event){_vm.showMore = !_vm.showMore}}},[_vm._v("收起")]):_vm._e(),(_vm.formModule.showSearchMore && !_vm.showMore)?_c('el-button',{staticStyle:{"margin-left":"0"},attrs:{"type":"text"},on:{"click":function($event){_vm.showMore = !_vm.showMore}}},[_vm._v("更多搜索")]):_vm._e()],1),(_vm.showMore && _vm.formModule.showSearchMore)?_c('section',{staticClass:"showMore"},[_c('el-form',{staticClass:"twFormSearch twFormMore",attrs:{"inline":true,"model":_vm.formData,"size":_vm.formModule.size?_vm.formModule.size:'small',"label-width":_vm.formModule.hideLabelWidth?_vm.formModule.hideLabelWidth:(_vm.formModule.labelWidth?_vm.formModule.labelWidth:'75px')}},_vm._l((_vm.formDataHideList),function(item,index){return _c('el-form-item',{directives:[{name:"show",rawName:"v-show",value:(!item.isHidden),expression:"!item.isHidden"}],key:index,attrs:{"label":item.label}},[(item.warning && item.required)?_c('span',{staticClass:"warningText"},[_vm._v("必填项")]):_vm._e(),(item.itemType === 'text' || item.itemType === 'number')?_c('el-input',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"placeholder":item.placeholder?item.placeholder:'请输入'+item.label,"clearable":"","type":item.itemType,"disabled":item.disabled,"readonly":item.readonly,"suffix-icon":item.iconDirection ==='right'?item.inputIcon:'',"prefix-icon":item.iconDirection ==='left' || (!item.iconDirection && item.inputIcon)?item.inputIcon:''},on:{"input":function($event){return _vm.itemChange($event,item)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}}):_vm._e(),(item.itemType === 'select')?_c('el-select',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"clearable":"","placeholder":item.placeholder?item.placeholder:'请选择'+item.label,"disabled":item.disabled,"filterable":item.selectSearch?item.selectSearch:true},on:{"change":function($event){return _vm.itemChange($event,item,_vm.formData)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}},_vm._l((item.selectList),function(itemOption){return _c('el-option',{key:item.changeValue?itemOption[item.changeValue]:itemOption.value,attrs:{"label":item.changeLabel?itemOption[item.changeLabel]:itemOption.name,"value":item.changeValue?itemOption[item.changeValue]:itemOption.value}})}),1):_vm._e(),(item.itemType === 'selectMore')?_c('el-select',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"clearable":"","placeholder":item.placeholder?item.placeholder:'请选择'+item.label,"multiple":"","disabled":item.disabled,"collapse-tags":item.showAllName !== 'showAll',"filterable":item.selectSearch?item.selectSearch:true},on:{"change":function($event){return _vm.itemChange($event,item,_vm.formData)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}},_vm._l((item.selectList),function(itemOption){return _c('el-option',{key:item.changeValue?itemOption[item.changeValue]:itemOption.value,attrs:{"label":item.changeLabel?itemOption[item.changeLabel]:itemOption.name,"value":item.changeValue?itemOption[item.changeValue]:itemOption.value}})}),1):_vm._e(),(item.itemType === 'selectCascade')?_c('el-cascader',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"filterable":item.selectSearch?item.selectSearch:true,"options":item.selectList,"collapse-tags":item.showAllName !== 'showAll',"disabled":item.disabled,"show-all-levels":item.showAllLevel?item.showAllLevel:false,"placeholder":item.placeholder?item.placeholder:'请选择'+item.label,"clearable":"","props":{ expandTrigger: item.trigger?item.trigger:'hover',multiple:item.isSelectMore?item.isSelectMore:false
|
7991
|
+
,value:item.changeValue?item.changeValue:'value',children:item.changeChildren?item.changeChildren:'children'}},on:{"change":function($event){return _vm.itemChange($event,item,_vm.formData)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}}):_vm._e(),(item.itemType === 'date')?_c('el-date-picker',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"type":item.dateType?item.dateType:'date',"format":item.dateFormat,"value-format":item.valueFormat,"placeholder":item.placeholder?item.placeholder:item.label,"picker-options":_vm.processDate(item)},on:{"change":function($event){return _vm.itemChange($event,item,_vm.formData)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}}):_vm._e(),(item.itemType === 'dateRange')?_c('el-date-picker',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"type":item.dateType?item.dateType+'range':'daterange',"format":item.dateFormat,"value-format":item.valueFormat,"placeholder":item.placeholder?item.placeholder:item.label,"range-separator":item.separator?item.separator:'至',"picker-options":_vm.processDate(item),"start-placeholder":item.startPlaceholder?item.startPlaceholder:'开始日期',"end-placeholder":item.endPlaceholder?item.endPlaceholder:'结束日期'},on:{"input":function($event){return _vm.itemChange($event,item)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}}):_vm._e(),(item.itemType === 'radio')?_c('el-radio-group',{staticClass:"twSearchRadio",model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}},_vm._l((item.radioList),function(itemChild,index){return _c('el-radio',{key:'radio'+index,attrs:{"label":itemChild.value,"disabled":itemChild.disabled},on:{"change":function($event){return _vm.itemChange($event,item,_vm.formData)}}},[_vm._v(_vm._s(itemChild.name))])}),1):_vm._e(),(item.itemType === 'checkBox')?_c('el-checkbox-group',{staticClass:"twSearchCheckbox",model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}},_vm._l((item.checkBoxList),function(itemChild,index){return _c('el-checkbox',{key:'checkBox'+index,attrs:{"data-a":_vm.checkBoxState,"label":itemChild.value,"disabled":itemChild.disabled},on:{"change":function($event){return _vm.itemChange($event,item,_vm.formData)}}},[_vm._v(_vm._s(itemChild.name))])}),1):_vm._e(),(item.itemType === 'selectTree')?_c('section',{staticClass:"popTree"},[_c('el-popover',{attrs:{"placement":"bottom-start"},model:{value:(item.popTreeBox),callback:function ($$v) {_vm.$set(item, "popTreeBox", $$v)},expression:"item.popTreeBox"}},[_c('section',{staticStyle:{"text-align":"center","border-bottom":"1px solid #ddd","padding-bottom":"10px"}},[_c('div',{staticStyle:{"display":"flex"}},[_c('el-input',{attrs:{"placeholder":"输入关键字进行过滤","size":"mini","clearable":""},on:{"input":function($event){return _vm.filterInput($event,item)}},model:{value:(item.popTreeInput),callback:function ($$v) {_vm.$set(item, "popTreeInput", $$v)},expression:"item.popTreeInput"}}),_c('el-button',{staticStyle:{"margin-left":"10px"},attrs:{"type":"primary","size":"mini"},on:{"click":function($event){return _vm.chooseOrg(item.itemValue,item)}}},[_vm._v("确定选择")])],1)]),_c('el-tree',{ref:item.popTreeRef,refInFor:true,staticClass:"selectTree",attrs:{"data":item.treeList.length>0?item.treeList:[],"props":item.defaultProps,"filter-node-method":_vm.filterNode,"highlight-current":true},on:{"node-click":function($event){item.doubleClick?_vm.handleNodeClickEvent($event,item.itemValue,item):_vm.handleNodeClick($event)}}}),_c('el-input',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"slot":"reference","size":"small","placeholder":"请选择","clearable":""},on:{"clear":function($event){return _vm.clearText(item)}},slot:"reference",model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}})],1)],1):_vm._e(),(item.itemType === 'valueRange')?_c('section',{staticClass:"valueRangeStyle"},[_c('el-input',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"type":item.isNumber?'number':'text',"clearable":"","placeholder":"请输入"},on:{"input":function($event){return _vm.itemChange($event,item)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}}),_c('span',{staticStyle:{"margin":"0 5px"}},[_vm._v("-")]),_c('el-input',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"type":item.isNumber?'number':'text',"clearable":"","placeholder":"请输入"},on:{"input":function($event){return _vm.itemChange($event,item)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValueSec]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValueSec, $$v)},expression:"formData[item.itemValueSec]"}})],1):_vm._e(),(item.itemType === 'doSelf')?_c('section',[_c('el-input',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"type":"text","clearable":"","placeholder":"请点击"},on:{"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}})],1):_vm._e(),(item.mention)?_c('el-popover',{attrs:{"placement":item.mention.direct?item.mention.direct:'left',"width":item.mention.width?item.mention.width:'250',"trigger":item.mention.trigger?item.mention.trigger:'hover'}},[_c('section',{staticClass:"mentionText",style:(item.mention.textStyle)},[_vm._v(_vm._s(item.mention.text))]),(item.mention)?_c('i',{class:item.mention.icon?item.mention.icon+' inputMention':'el-icon-warning-outline inputMention',style:(item.mention.iconStyle),attrs:{"slot":"reference"},slot:"reference"}):_vm._e()]):_vm._e()],1)}),_c('el-form-item',{staticStyle:{"text-align":"left","min-width":"initial","margin-left":"20px"}},[_c('el-button',{staticClass:"searchBtn",attrs:{"type":"primary"},on:{"click":_vm.onSubmit}},[_vm._v("查询")]),(_vm.formModule.reset)?_c('el-button',{staticClass:"searchBtn",on:{"click":_vm.resetObjFun}},[_vm._v("重置")]):_vm._e(),(_vm.formModule.showSearchMore && _vm.showMore)?_c('el-button',{staticStyle:{"margin-left":"0"},attrs:{"type":"text"},on:{"click":function($event){_vm.showMore = !_vm.showMore}}},[_vm._v("收起")]):_vm._e(),(_vm.formModule.showSearchMore && !_vm.showMore)?_c('el-button',{staticStyle:{"margin-left":"0"},attrs:{"type":"text"},on:{"click":function($event){_vm.showMore = !_vm.showMore}}},[_vm._v("更多搜索")]):_vm._e()],1),(_vm.showMore && _vm.formModule.showSearchMore)?_c('section',{staticClass:"showMore"},[_c('el-form',{staticClass:"twFormSearch twFormMore",attrs:{"inline":true,"model":_vm.formData,"size":_vm.formModule.size?_vm.formModule.size:'small',"label-width":_vm.formModule.hideLabelWidth?_vm.formModule.hideLabelWidth:(_vm.formModule.labelWidth?_vm.formModule.labelWidth:'75px')}},_vm._l((_vm.formDataHideList),function(item,index){return _c('el-form-item',{directives:[{name:"show",rawName:"v-show",value:(!item.isHidden),expression:"!item.isHidden"}],key:index,attrs:{"label":item.label}},[(item.warning && item.required)?_c('span',{staticClass:"warningText"},[_vm._v("必填项")]):_vm._e(),(item.itemType === 'text' || item.itemType === 'number')?_c('el-input',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"placeholder":item.placeholder?item.placeholder:'请输入'+item.label,"clearable":"","type":item.itemType,"disabled":item.disabled,"readonly":item.readonly,"suffix-icon":item.iconDirection ==='right'?item.inputIcon:'',"prefix-icon":item.iconDirection ==='left' || (!item.iconDirection && item.inputIcon)?item.inputIcon:''},on:{"input":function($event){return _vm.itemChange($event,item)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}}):_vm._e(),(item.itemType === 'select')?_c('el-select',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"clearable":"","placeholder":item.placeholder?item.placeholder:'请选择'+item.label,"disabled":item.disabled,"filterable":item.selectSearch?item.selectSearch:true},on:{"change":function($event){return _vm.itemChange($event,item,_vm.formData)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}},_vm._l((item.selectList),function(itemOption){return _c('el-option',{key:item.changeValue?itemOption[item.changeValue]:itemOption.value,attrs:{"label":item.changeLabel?itemOption[item.changeLabel]:itemOption.name,"value":item.changeValue?itemOption[item.changeValue]:itemOption.value}})}),1):_vm._e(),(item.itemType === 'selectMore')?_c('el-select',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"clearable":"","placeholder":item.placeholder?item.placeholder:'请选择'+item.label,"multiple":"","disabled":item.disabled,"collapse-tags":item.showAllName !== 'showAll',"filterable":item.selectSearch?item.selectSearch:true},on:{"change":function($event){return _vm.itemChange($event,item,_vm.formData)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}},_vm._l((item.selectList),function(itemOption){return _c('el-option',{key:item.changeValue?itemOption[item.changeValue]:itemOption.value,attrs:{"label":item.changeLabel?itemOption[item.changeLabel]:itemOption.name,"value":item.changeValue?itemOption[item.changeValue]:itemOption.value}})}),1):_vm._e(),(item.itemType === 'selectCascade')?_c('el-cascader',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"filterable":item.selectSearch?item.selectSearch:true,"options":item.selectList,"collapse-tags":item.showAllName !== 'showAll',"disabled":item.disabled,"show-all-levels":item.showAllLevel?item.showAllLevel:false,"placeholder":item.placeholder?item.placeholder:'请选择'+item.label,"clearable":"","props":{ expandTrigger: item.trigger?item.trigger:'hover',multiple:item.isSelectMore?item.isSelectMore:false
|
7992
7992
|
,checkStrictly:item.checkAny?item.checkAny:false,label:item.changeLabel?item.changeLabel:'label'
|
7993
|
-
,value:item.changeValue?item.changeValue:'value',children:item.changeChildren?item.changeChildren:'children'}},on:{"change":function($event){return _vm.itemChange($event,item,_vm.formData)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}}):_vm._e(),(item.itemType === 'date')?_c('el-date-picker',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"type":item.dateType?item.dateType:'date',"format":item.dateFormat,"placeholder":item.placeholder?item.placeholder:item.label,"picker-options":_vm.processDate(item)},on:{"input":function($event){return _vm.itemChange($event,item)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}}):_vm._e(),(item.itemType === 'dateRange')?_c('el-date-picker',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"type":item.dateType?item.dateType+'range':'daterange',"format":item.dateFormat,"placeholder":item.placeholder?item.placeholder:item.label,"range-separator":item.separator?item.separator:'至',"picker-options":_vm.processDate(item),"start-placeholder":item.startPlaceholder?item.startPlaceholder:'开始日期',"end-placeholder":item.endPlaceholder?item.endPlaceholder:'结束日期'},on:{"input":function($event){return _vm.itemChange($event,item)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}}):_vm._e(),(item.itemType === 'radio')?_c('el-radio-group',{staticClass:"twSearchRadio",model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}},_vm._l((item.radioList),function(itemChild,index){return _c('el-radio',{key:'radio'+index,attrs:{"label":itemChild.value,"disabled":itemChild.disabled},on:{"change":function($event){return _vm.itemChange($event,item,_vm.formData)}}},[_vm._v(_vm._s(itemChild.name))])}),1):_vm._e(),(item.itemType === 'checkBox')?_c('el-checkbox-group',{staticClass:"twSearchCheckbox",model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}},_vm._l((item.checkBoxList),function(itemChild,index){return _c('el-checkbox',{key:'checkBox'+index,attrs:{"data-a":_vm.checkBoxState,"label":itemChild.value,"disabled":itemChild.disabled},on:{"change":function($event){return _vm.itemChange($event,item,_vm.formData)}}},[_vm._v(_vm._s(itemChild.name))])}),1):_vm._e(),(item.itemType === 'selectTree')?_c('section',{staticClass:"popTree"},[_c('el-popover',{attrs:{"placement":"bottom-start"},model:{value:(item.popTreeBox),callback:function ($$v) {_vm.$set(item, "popTreeBox", $$v)},expression:"item.popTreeBox"}},[_c('section',{staticStyle:{"text-align":"center","border-bottom":"1px solid #ddd","padding-bottom":"10px"}},[_c('div',{staticStyle:{"display":"flex"}},[_c('el-input',{attrs:{"placeholder":"输入关键字进行过滤","size":"mini","clearable":""},on:{"input":function($event){return _vm.filterInput($event,item)}},model:{value:(item.popTreeInput),callback:function ($$v) {_vm.$set(item, "popTreeInput", $$v)},expression:"item.popTreeInput"}}),_c('el-button',{staticStyle:{"margin-left":"10px"},attrs:{"type":"primary","size":"mini"},on:{"click":function($event){return _vm.chooseOrg(item.itemValue,item)}}},[_vm._v("确定选择")])],1)]),_c('el-tree',{ref:item.popTreeRef,refInFor:true,staticClass:"selectTree",attrs:{"data":item.treeList.length>0?item.treeList:[],"props":item.defaultProps,"filter-node-method":_vm.filterNode,"highlight-current":true},on:{"node-click":function($event){item.doubleClick?_vm.handleNodeClickEvent($event,item.itemValue,item):_vm.handleNodeClick($event)}}}),_c('el-input',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"slot":"reference","size":"small","placeholder":"请选择","clearable":""},on:{"clear":function($event){return _vm.clearText(item)}},slot:"reference",model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}})],1)],1):_vm._e(),(item.itemType === 'valueRange')?_c('section',{staticClass:"valueRangeStyle"},[_c('el-input',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"type":item.isNumber?'number':'text',"clearable":"","placeholder":"请输入"},on:{"input":function($event){return _vm.itemChange($event,item)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}}),_c('span',{staticStyle:{"margin":"0 5px"}},[_vm._v("-")]),_c('el-input',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"type":item.isNumber?'number':'text',"clearable":"","placeholder":"请输入"},on:{"input":function($event){return _vm.itemChange($event,item)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValueSec]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValueSec, $$v)},expression:"formData[item.itemValueSec]"}})],1):_vm._e(),(item.itemType === 'doSelf')?_c('section',
|
7994
|
-
var
|
7993
|
+
,value:item.changeValue?item.changeValue:'value',children:item.changeChildren?item.changeChildren:'children'}},on:{"change":function($event){return _vm.itemChange($event,item,_vm.formData)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}}):_vm._e(),(item.itemType === 'date')?_c('el-date-picker',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"type":item.dateType?item.dateType:'date',"format":item.dateFormat,"value-format":item.valueFormat,"placeholder":item.placeholder?item.placeholder:item.label,"picker-options":_vm.processDate(item)},on:{"input":function($event){return _vm.itemChange($event,item)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}}):_vm._e(),(item.itemType === 'dateRange')?_c('el-date-picker',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"type":item.dateType?item.dateType+'range':'daterange',"value-format":item.valueFormat,"format":item.dateFormat,"placeholder":item.placeholder?item.placeholder:item.label,"range-separator":item.separator?item.separator:'至',"picker-options":_vm.processDate(item),"start-placeholder":item.startPlaceholder?item.startPlaceholder:'开始日期',"end-placeholder":item.endPlaceholder?item.endPlaceholder:'结束日期'},on:{"input":function($event){return _vm.itemChange($event,item)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}}):_vm._e(),(item.itemType === 'radio')?_c('el-radio-group',{staticClass:"twSearchRadio",model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}},_vm._l((item.radioList),function(itemChild,index){return _c('el-radio',{key:'radio'+index,attrs:{"label":itemChild.value,"disabled":itemChild.disabled},on:{"change":function($event){return _vm.itemChange($event,item,_vm.formData)}}},[_vm._v(_vm._s(itemChild.name))])}),1):_vm._e(),(item.itemType === 'checkBox')?_c('el-checkbox-group',{staticClass:"twSearchCheckbox",model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}},_vm._l((item.checkBoxList),function(itemChild,index){return _c('el-checkbox',{key:'checkBox'+index,attrs:{"data-a":_vm.checkBoxState,"label":itemChild.value,"disabled":itemChild.disabled},on:{"change":function($event){return _vm.itemChange($event,item,_vm.formData)}}},[_vm._v(_vm._s(itemChild.name))])}),1):_vm._e(),(item.itemType === 'selectTree')?_c('section',{staticClass:"popTree"},[_c('el-popover',{attrs:{"placement":"bottom-start"},model:{value:(item.popTreeBox),callback:function ($$v) {_vm.$set(item, "popTreeBox", $$v)},expression:"item.popTreeBox"}},[_c('section',{staticStyle:{"text-align":"center","border-bottom":"1px solid #ddd","padding-bottom":"10px"}},[_c('div',{staticStyle:{"display":"flex"}},[_c('el-input',{attrs:{"placeholder":"输入关键字进行过滤","size":"mini","clearable":""},on:{"input":function($event){return _vm.filterInput($event,item)}},model:{value:(item.popTreeInput),callback:function ($$v) {_vm.$set(item, "popTreeInput", $$v)},expression:"item.popTreeInput"}}),_c('el-button',{staticStyle:{"margin-left":"10px"},attrs:{"type":"primary","size":"mini"},on:{"click":function($event){return _vm.chooseOrg(item.itemValue,item)}}},[_vm._v("确定选择")])],1)]),_c('el-tree',{ref:item.popTreeRef,refInFor:true,staticClass:"selectTree",attrs:{"data":item.treeList.length>0?item.treeList:[],"props":item.defaultProps,"filter-node-method":_vm.filterNode,"highlight-current":true},on:{"node-click":function($event){item.doubleClick?_vm.handleNodeClickEvent($event,item.itemValue,item):_vm.handleNodeClick($event)}}}),_c('el-input',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"slot":"reference","size":"small","placeholder":"请选择","clearable":""},on:{"clear":function($event){return _vm.clearText(item)}},slot:"reference",model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}})],1)],1):_vm._e(),(item.itemType === 'valueRange')?_c('section',{staticClass:"valueRangeStyle"},[_c('el-input',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"type":item.isNumber?'number':'text',"clearable":"","placeholder":"请输入"},on:{"input":function($event){return _vm.itemChange($event,item)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}}),_c('span',{staticStyle:{"margin":"0 5px"}},[_vm._v("-")]),_c('el-input',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"type":item.isNumber?'number':'text',"clearable":"","placeholder":"请输入"},on:{"input":function($event){return _vm.itemChange($event,item)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValueSec]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValueSec, $$v)},expression:"formData[item.itemValueSec]"}})],1):_vm._e(),(item.itemType === 'doSelf')?_c('section',[_c('el-input',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"type":"text","clearable":"","placeholder":"请点击"},on:{"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}})],1):_vm._e(),(item.mention)?_c('el-popover',{attrs:{"placement":item.mention.direct?item.mention.direct:'left',"width":item.mention.width?item.mention.width:'250',"trigger":item.mention.trigger?item.mention.trigger:'hover'}},[_c('section',{staticClass:"mentionText",style:(item.mention.textStyle)},[_vm._v(_vm._s(item.mention.text))]),(item.mention)?_c('i',{class:item.mention.icon?item.mention.icon+' inputMention':'el-icon-warning-outline inputMention',style:(item.mention.iconStyle),attrs:{"slot":"reference"},slot:"reference"}):_vm._e()]):_vm._e()],1)}),1)],1):_vm._e()],2):_vm._e()],1)}
|
7994
|
+
var twFormSearchvue_type_template_id_3015dff1_scoped_true_staticRenderFns = []
|
7995
7995
|
|
7996
7996
|
|
7997
|
-
// CONCATENATED MODULE: ./examples/components/comPage/twFormSearch/twFormSearch.vue?vue&type=template&id=
|
7997
|
+
// CONCATENATED MODULE: ./examples/components/comPage/twFormSearch/twFormSearch.vue?vue&type=template&id=3015dff1&scoped=true&
|
7998
7998
|
|
7999
7999
|
// EXTERNAL MODULE: ./node_modules/_core-js@3.6.5@core-js/modules/es.array.filter.js
|
8000
8000
|
var es_array_filter = __webpack_require__("dbb3");
|
@@ -8274,6 +8274,9 @@ function _defineProperty(obj, key, value) {
|
|
8274
8274
|
//
|
8275
8275
|
//
|
8276
8276
|
//
|
8277
|
+
//
|
8278
|
+
//
|
8279
|
+
//
|
8277
8280
|
/* harmony default export */ var twFormSearchvue_type_script_lang_js_ = ({
|
8278
8281
|
name: "twFormSearch",
|
8279
8282
|
props: ['formDatas', 'formModules', 'formDataList', 'formDataHideList'],
|
@@ -8522,8 +8525,8 @@ function _defineProperty(obj, key, value) {
|
|
8522
8525
|
});
|
8523
8526
|
// CONCATENATED MODULE: ./examples/components/comPage/twFormSearch/twFormSearch.vue?vue&type=script&lang=js&
|
8524
8527
|
/* harmony default export */ var twFormSearch_twFormSearchvue_type_script_lang_js_ = (twFormSearchvue_type_script_lang_js_);
|
8525
|
-
// EXTERNAL MODULE: ./examples/components/comPage/twFormSearch/twFormSearch.vue?vue&type=style&index=0&id=
|
8526
|
-
var
|
8528
|
+
// EXTERNAL MODULE: ./examples/components/comPage/twFormSearch/twFormSearch.vue?vue&type=style&index=0&id=3015dff1&scoped=true&lang=scss&
|
8529
|
+
var twFormSearchvue_type_style_index_0_id_3015dff1_scoped_true_lang_scss_ = __webpack_require__("e1b7");
|
8527
8530
|
|
8528
8531
|
// CONCATENATED MODULE: ./examples/components/comPage/twFormSearch/twFormSearch.vue
|
8529
8532
|
|
@@ -8536,11 +8539,11 @@ var twFormSearchvue_type_style_index_0_id_cf254ff4_scoped_true_lang_scss_ = __we
|
|
8536
8539
|
|
8537
8540
|
var twFormSearch_component = Object(componentNormalizer["a" /* default */])(
|
8538
8541
|
twFormSearch_twFormSearchvue_type_script_lang_js_,
|
8539
|
-
|
8540
|
-
|
8542
|
+
twFormSearchvue_type_template_id_3015dff1_scoped_true_render,
|
8543
|
+
twFormSearchvue_type_template_id_3015dff1_scoped_true_staticRenderFns,
|
8541
8544
|
false,
|
8542
8545
|
null,
|
8543
|
-
"
|
8546
|
+
"3015dff1",
|
8544
8547
|
null
|
8545
8548
|
|
8546
8549
|
)
|
@@ -9710,18 +9713,18 @@ var mainvue_type_template_id_9f852c24_staticRenderFns = []
|
|
9710
9713
|
|
9711
9714
|
// CONCATENATED MODULE: ./packages/twTable/src/main.vue?vue&type=template&id=9f852c24&
|
9712
9715
|
|
9713
|
-
// CONCATENATED MODULE: ./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9b9f7194-vue-loader-template"}!./node_modules/_vue-loader@15.9.3@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.3@vue-loader/lib??vue-loader-options!./examples/components/comPage/twTable/twTable.vue?vue&type=template&id=
|
9714
|
-
var
|
9716
|
+
// CONCATENATED MODULE: ./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9b9f7194-vue-loader-template"}!./node_modules/_vue-loader@15.9.3@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.3@vue-loader/lib??vue-loader-options!./examples/components/comPage/twTable/twTable.vue?vue&type=template&id=7b000d5e&scoped=true&
|
9717
|
+
var twTablevue_type_template_id_7b000d5e_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{style:({position:'relative','padding-bottom':(_vm.tableInit.addNewRow || _vm.tableInit.pagination)?'70px':'0'})},[_c('a-table',{class:_vm.tableInit.tableClassName?_vm.tableInit.tableClassName+' twTableStyle':'twTableStyle',attrs:{"columns":_vm.columns.filter(function (v) { return !v.rowHide; }),"data-source":_vm.tableData,"bordered":_vm.tableInit.border,"rowKey":function (record) { return _vm.tableInit.rowId?record[_vm.tableInit.rowId]:record.tableItemKey },"pagination":false,"size":_vm.tableInit.size?_vm.tableInit.size:'small',"customRow":_vm.customRow,"customHeaderRow":_vm.customHeaderRow,"scroll":{y:_vm.tableInit.height?_vm.tableInit.height:'',x:_vm.tableInit.width?_vm.tableInit.width:''},"row-selection":_vm.tableInit.select?{ selectedRowKeys: _vm.selectedRowKeys,onChange: _vm.onSelectChange,getCheckboxProps:_vm.getCheckboxProps }:null,"rowClassName":_vm.rowClassName,"showHeader":!_vm.tableInit.hideHeader},scopedSlots:_vm._u([_vm._l((_vm.columns),function(item,foreachIndex){return {key:item.dataIndex,fn:function(text, record, index){return _c('div',{key:foreachIndex+'w'},[(item.isEdit)?_c('span',{staticClass:"twFlex-start"},[(item.isEdit.required)?_c('span',{staticStyle:{"color":"red","margin-right":"5px"}},[_vm._v("*")]):_vm._e(),_c('span',{staticStyle:{"width":"90%"}},[(item.isEdit.type === 'textBox')?_c('span',[_c('el-tooltip',{staticClass:"item",attrs:{"effect":"dark","content":record[item.dataIndex]?record[item.dataIndex]+'':'',"placement":"top-start"}},[_c('el-popover',{attrs:{"placement":"bottom","width":"300","trigger":"click"}},[_c('el-input',{staticClass:"cellTextarea",attrs:{"type":"textarea","size":"mini","rows":3,"disabled":!!item.isEdit.disabled || record[item.dataIndex+'Disabled'],"readonly":!!item.isEdit.readonly,"placeholder":item.isEdit.placeholder?item.isEdit.placeholder:'请输入'},on:{"focus":function($event){return _vm.onCellFBC('focus',record,item)},"input":function($event){return _vm.onCellFBC('change',record,item,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,item)}},model:{value:(record[item.dataIndex]),callback:function ($$v) {_vm.$set(record, item.dataIndex, $$v)},expression:"record[item.dataIndex]"}}),_c('el-input',{attrs:{"slot":"reference","placeholder":item.isEdit.placeholder?item.isEdit.placeholder:'请输入',"size":"mini","clearable":"","disabled":!!item.isEdit.disabled || record[item.dataIndex+'Disabled'],"readonly":!!item.isEdit.readonly},on:{"focus":function($event){return _vm.onCellFBC('focus',record,item)},"input":function($event){return _vm.onCellFBC('change',record,item,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,item)}},slot:"reference",model:{value:(record[item.dataIndex]),callback:function ($$v) {_vm.$set(record, item.dataIndex, $$v)},expression:"record[item.dataIndex]"}})],1)],1)],1):_vm._e(),(item.isEdit.type === 'numberBox')?_c('span',[_c('el-tooltip',{staticClass:"item",attrs:{"effect":"dark","content":record[item.dataIndex]?record[item.dataIndex]+'':'',"placement":"top-start"}},[_c('el-popover',{attrs:{"placement":"bottom","width":"300","trigger":"click"}},[_c('el-input',{staticClass:"cellTextarea",attrs:{"type":"textarea","size":"mini","rows":3,"disabled":!!item.isEdit.disabled || record[item.dataIndex+'Disabled'],"readonly":!!item.isEdit.readonly,"placeholder":item.isEdit.placeholder?item.isEdit.placeholder:'请输入'},on:{"focus":function($event){return _vm.onCellFBC('focus',record,item)},"input":function($event){return _vm.onCellFBC('change',record,item,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,item)}},model:{value:(record[item.dataIndex]),callback:function ($$v) {_vm.$set(record, item.dataIndex, $$v)},expression:"record[item.dataIndex]"}}),_c('el-input',{attrs:{"slot":"reference","placeholder":item.isEdit.placeholder?item.isEdit.placeholder:'请输入',"size":"mini","type":"number","clearable":"","disabled":!!item.isEdit.disabled || record[item.dataIndex+'Disabled'],"readonly":!!item.isEdit.readonly},on:{"focus":function($event){return _vm.onCellFBC('focus',record,item)},"input":function($event){return _vm.onCellFBC('change',record,item,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,item)}},slot:"reference",model:{value:(record[item.dataIndex]),callback:function ($$v) {_vm.$set(record, item.dataIndex, $$v)},expression:"record[item.dataIndex]"}})],1)],1)],1):_vm._e(),(item.isEdit.type === 'textareaBox')?_c('span',[_c('el-tooltip',{staticClass:"item",attrs:{"effect":"dark","content":record[item.dataIndex]?record[item.dataIndex]+'':'',"placement":"top-start"}},[_c('el-popover',{attrs:{"placement":"bottom","width":"300","trigger":"click"}},[_c('el-input',{staticClass:"cellTextarea",attrs:{"type":"textarea","size":"mini","rows":3,"disabled":!!item.isEdit.disabled || record[item.dataIndex+'Disabled'],"readonly":!!item.isEdit.readonly,"placeholder":item.isEdit.placeholder?item.isEdit.placeholder:'请输入'},on:{"focus":function($event){return _vm.onCellFBC('focus',record,item)},"input":function($event){return _vm.onCellFBC('change',record,item,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,item)}},model:{value:(record[item.dataIndex]),callback:function ($$v) {_vm.$set(record, item.dataIndex, $$v)},expression:"record[item.dataIndex]"}}),_c('el-input',{attrs:{"slot":"reference","placeholder":item.isEdit.placeholder?item.isEdit.placeholder:'请输入',"size":"mini","type":"textarea","disabled":!!item.isEdit.disabled || record[item.dataIndex+'Disabled'],"readonly":!!item.isEdit.readonly},on:{"focus":function($event){return _vm.onCellFBC('focus',record,item)},"input":function($event){return _vm.onCellFBC('change',record,item,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,item)}},slot:"reference",model:{value:(record[item.dataIndex]),callback:function ($$v) {_vm.$set(record, item.dataIndex, $$v)},expression:"record[item.dataIndex]"}})],1)],1)],1):_vm._e(),(item.isEdit.type === 'text')?_c('el-input',{attrs:{"placeholder":item.isEdit.placeholder?item.isEdit.placeholder:'请输入',"size":"mini","clearable":"","disabled":!!item.isEdit.disabled || record[item.dataIndex+'Disabled'],"readonly":!!item.isEdit.readonly},on:{"focus":function($event){return _vm.onCellFBC('focus',record,item)},"input":function($event){return _vm.onCellFBC('change',record,item,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,item)}},model:{value:(record[item.dataIndex]),callback:function ($$v) {_vm.$set(record, item.dataIndex, $$v)},expression:"record[item.dataIndex]"}}):_vm._e(),(item.isEdit.type === 'number')?_c('el-input',{attrs:{"type":"number","size":"mini","clearable":"","disabled":!!item.isEdit.disabled || record[item.dataIndex+'Disabled'],"readonly":!!item.isEdit.readonly,"placeholder":item.isEdit.placeholder?item.isEdit.placeholder:'请输入'},on:{"focus":function($event){return _vm.onCellFBC('focus',record,item)},"input":function($event){return _vm.onCellFBC('change',record,item,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,item)}},model:{value:(record[item.dataIndex]),callback:function ($$v) {_vm.$set(record, item.dataIndex, $$v)},expression:"record[item.dataIndex]"}}):_vm._e(),(item.isEdit.type === 'textarea')?_c('el-input',{attrs:{"type":"textarea","size":"mini","disabled":!!item.isEdit.disabled || record[item.dataIndex+'Disabled'],"readonly":!!item.isEdit.readonly,"placeholder":item.isEdit.placeholder?item.isEdit.placeholder:'请输入'},on:{"focus":function($event){return _vm.onCellFBC('focus',record,item)},"input":function($event){return _vm.onCellFBC('change',record,item,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,item)}},model:{value:(record[item.dataIndex]),callback:function ($$v) {_vm.$set(record, item.dataIndex, $$v)},expression:"record[item.dataIndex]"}}):_vm._e(),(item.isEdit.type === 'selectCascade')?_c('el-cascader',{attrs:{"filterable":item.isEdit.selectSearch?item.isEdit.selectSearch:true,"options":item.isEdit.dataList,"size":"mini","collapse-tags":item.isEdit.showAllName !== 'showAll',"disabled":item.isEdit.disabled,"show-all-levels":item.isEdit.showAllLevel?item.isEdit.showAllLevel:false,"placeholder":item.isEdit.placeholder?item.isEdit.placeholder:'请选择',"clearable":"","props":{ expandTrigger: item.isEdit.trigger?item.isEdit.trigger:'hover',
|
9715
9718
|
multiple:item.isEdit.isSelectMore?item.isEdit.isSelectMore:false,
|
9716
9719
|
checkStrictly:item.isEdit.checkAny?item.isEdit.checkAny:false,
|
9717
9720
|
label:item.isEdit.changeLabel?item.isEdit.changeLabel:'label',
|
9718
9721
|
value:item.isEdit.changeValue?item.isEdit.changeValue:'value',
|
9719
9722
|
children:item.isEdit.changeChildren?item.isEdit.changeChildren:'children'
|
9720
|
-
}},on:{"change":function($event){return _vm.clickBtn(record,item,index)}},model:{value:(record[item.dataIndex]),callback:function ($$v) {_vm.$set(record, item.dataIndex, $$v)},expression:"record[item.dataIndex]"}}):_vm._e(),(item.isEdit.type === 'select')?_c('el-select',{attrs:{"size":"mini","clearable":"","filterable":!!item.isEdit.selectSearch,"multiple":!!item.isEdit.isSelectMore,"placeholder":item.isEdit.placeholder?item.isEdit.placeholder:'请选择',"collapse-tags":item.isEdit.showAllName !== 'showAll',"disabled":!!item.isEdit.disabled || record[item.dataIndex+'Disabled']},on:{"change":function($event){return _vm.clickBtn(record,item,index)}},model:{value:(record[item.dataIndex]),callback:function ($$v) {_vm.$set(record, item.dataIndex, $$v)},expression:"record[item.dataIndex]"}},_vm._l((item.isEdit.dataList),function(item){return _c('el-option',{key:item.value+Math.ceil(Math.random()*1000),attrs:{"label":item.name,"value":item.value}})}),1):_vm._e(),(item.isEdit.type === 'radio')?_c('el-radio-group',{attrs:{"disabled":!!item.isEdit.disabled || record.twRadioDisabled || record[item.dataIndex+'Disabled']},on:{"change":function($event){return _vm.clickBtn(record,item,index)}},model:{value:(record[item.dataIndex]),callback:function ($$v) {_vm.$set(record, item.dataIndex, $$v)},expression:"record[item.dataIndex]"}},_vm._l((item.isEdit.dataList),function(radioItem,foreachIndex){return _c('el-radio',{key:foreachIndex+'e',attrs:{"label":radioItem.value}},[_vm._v(_vm._s(radioItem.name))])}),1):_vm._e(),(item.isEdit.type === 'checkBox')?_c('el-checkbox-group',{attrs:{"disabled":!!item.isEdit.disabled || record[item.dataIndex+'Disabled']},on:{"change":function($event){return _vm.clickBtn(record,item,index)}},model:{value:(record[item.dataIndex]),callback:function ($$v) {_vm.$set(record, item.dataIndex, $$v)},expression:"record[item.dataIndex]"}},_vm._l((item.isEdit.dataList),function(checkItem,foreachIndex){return _c('el-checkbox',{key:foreachIndex+'r',attrs:{"label":checkItem.value}},[_vm._v(_vm._s(checkItem.name))])}),1):_vm._e(),(item.isEdit.type === 'switch')?_c('el-switch',{attrs:{"disabled":!!item.isEdit.disabled || record[item.dataIndex+'Disabled'],"active-color":item.isEdit.activeColor?item.isEdit.activeColor:'',"inactive-color":item.isEdit.defaultColor?item.isEdit.defaultColor:''},on:{"change":function($event){return _vm.clickBtn(record,item,index)}},model:{value:(record[item.dataIndex]),callback:function ($$v) {_vm.$set(record, item.dataIndex, $$v)},expression:"record[item.dataIndex]"}}):_vm._e(),(item.isEdit.type === 'date')?_c('el-date-picker',{attrs:{"size":"mini","type":item.isEdit.dateType?item.isEdit.dateType:'date',"clearable":"","disabled":!!item.isEdit.disabled || record[item.dataIndex+'Disabled'],"placeholder":item.isEdit.placeholder?item.isEdit.placeholder:'请选择',"picker-options":_vm.processDate(item)},on:{"change":function($event){return _vm.clickBtn(record,item,index)}},model:{value:(record[item.dataIndex]),callback:function ($$v) {_vm.$set(record, item.dataIndex, $$v)},expression:"record[item.dataIndex]"}}):_vm._e()],1)]):_vm._e(),(item.isBtn)?_c('span',_vm._l((item.isBtn.btnList),function(itemBtn,foreachIndex){return ((itemBtn.isShowBtn && record[itemBtn.isShowBtn]) || !itemBtn.isShowBtn)?_c('el-button',{key:foreachIndex+'b',style:({'color':itemBtn.color?itemBtn.color:''}),attrs:{"type":"text","icon":itemBtn.icon},on:{"click":function($event){return _vm.clickBtn(record,itemBtn,index)}}},[_vm._v(_vm._s(itemBtn.name))]):_vm._e()}),1):_vm._e(),(item.isFiles)?_c('span',[(record[item.dataIndex] && record[item.dataIndex].length>0)?_c('span',[_c('el-popover',{attrs:{"placement":"bottom","width":"200","trigger":item.isFiles.trigger?item.isFiles.trigger:'hover'}},[_vm._l((record[item.dataIndex]),function(itemBtn,foreachIndex){return _c('section',{key:foreachIndex+'c'},[_c('div',{staticClass:"twFlex-between",staticStyle:{"margin-bottom":"10px","color":"#39f"}},[_c('span',{staticClass:"twEllipsis",staticStyle:{"max-width":"90%","cursor":"pointer"},attrs:{"title":itemBtn.fileName}},[_vm._v(_vm._s(itemBtn.fileName))]),_c('span',{staticStyle:{"color":"red","cursor":"pointer"},on:{"click":function($event){$event.stopPropagation();return _vm.clickBtn(record,item,index,{name:'删除',index:foreachIndex,childItem:itemBtn,list:record[item.dataIndex]})}}},[_c('i',{staticClass:"el-icon-delete"})])])])}),_c('el-button',{attrs:{"type":"primary","plain":"","size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.clickBtn(record,item,index)}}},[_vm._v("附件上传")]),_c('div',{staticClass:"twEllipsis",staticStyle:{"cursor":"pointer"},attrs:{"slot":"reference"},slot:"reference"},_vm._l((record[item.dataIndex]),function(itemBtn,foreachIndex){return _c('span',{key:foreachIndex+'v',staticStyle:{"color":"#39f"}},[_vm._v(" "+_vm._s(itemBtn.fileName)+", ")])}),0)],2)],1):_c('span',{style:({'color':item.isFiles.color?item.isFiles.color:'#39f','cursor':'pointer'}),on:{"click":function($event){return _vm.clickBtn(record,item,index)}}},[_vm._v(" "+_vm._s(item.isFiles.placeholder?item.isFiles.placeholder:'上传附件')+" ")])]):_vm._e(),(item.isSpecial)?_c('span',[(item.isSpecial.type === 'num')?_c('span',{class:item.isSpecial.class,on:{"click":function($event){item.isSpecial.isClick?_vm.clickBtn(record,item,index):''}}},[_vm._v(_vm._s(_vm.changeNum(text,item.isSpecial.numType)))]):_vm._e(),(item.isSpecial.type === 'img')?_c('img',{class:item.isSpecial.class,attrs:{"src":item.isSpecial.img},on:{"click":function($event){item.isSpecial.isClick?_vm.clickBtn(record,item,index):''}}}):_vm._e(),_vm._l((item.isSpecial.imgList),function(imgItem,foreachIndex){return (item.isSpecial.type === 'imgList' && imgItem.value === text)?_c('img',{key:foreachIndex+'t',class:item.isSpecial.class,attrs:{"src":imgItem.img},on:{"click":function($event){item.isSpecial.isClick?_vm.clickBtn(record,item,index):''}}}):_vm._e()}),(item.isSpecial.type === 'style')?_c('span',{class:item.isSpecial.class,style:(item.isSpecial.textStyle),on:{"click":function($event){item.isSpecial.isClick?_vm.clickBtn(record,item,index):''}}},[_vm._v(_vm._s(text))]):_vm._e(),_vm._l((item.isSpecial.textStyleList),function(styleItem,foreachIndex){return (item.isSpecial.type === 'styleList' && styleItem.value === text)?_c('span',{key:foreachIndex+'y',class:item.isSpecial.class,style:(styleItem.style),on:{"click":function($event){item.isSpecial.isClick?_vm.clickBtn(record,item,index):''}}},[_vm._v(_vm._s(text))]):_vm._e()})],2):_vm._e(),(item.twEllipsis)?_c('span',[_c('el-tooltip',{staticClass:"item",attrs:{"effect":"dark","content":text,"placement":"top-start"}},[_c('div',{class:item.twEllipsis===1?'twEllipsis':'twEllipsis2'},[_vm._v(_vm._s(text))])])],1):_vm._e(),(item.isState)?_c('span',_vm._l((item.isState.stateList),function(stateItem,foreachIndex){return (text === stateItem.value)?_c('span',{key:foreachIndex+'s',class:stateItem.class?stateItem.class+' cellSateStyle':'cellSateStyle',style:(stateItem.styles),on:{"click":function($event){item.isState.isClick?_vm.clickBtn(record,item,index):''}}},[_c('span',{staticStyle:{"display":"flex","align-items":"center","justify-content":"center"}},[(stateItem.icon)?_c('i',{class:stateItem.icon}):_vm._e(),(stateItem.img)?_c('img',{class:stateItem.imgClass,attrs:{"src":stateItem.img}}):_vm._e(),_c('span',[_vm._v(_vm._s(stateItem.name || text))])])]):_vm._e()}),0):_vm._e(),(item.isHtml)?_c('div',_vm._l((item.isHtml),function(htmlItem,foreachIndex){return (text === htmlItem.value)?_c('div',{key:foreachIndex+'d',domProps:{"innerHTML":_vm._s(htmlItem.html)}}):_vm._e()}),0):_vm._e(),(item.mention && !item.isSpecial && !item.isState && !item.isEdit && !item.isFiles && !item.isHtml && !item.isBtn)?_c('div',[_vm._v(" "+_vm._s(record[item.dataIndex])+" ")]):_vm._e()])}}}),_vm._l((_vm.columnsChild),function(itemChild,foreachIndex){return {key:itemChild.dataIndex,fn:function(text, record, index){return _c('div',{key:foreachIndex+'u'},[(itemChild.isEdit)?_c('span',[(itemChild.isEdit.required)?_c('span',{staticStyle:{"color":"red"}},[_vm._v("*")]):_vm._e(),(itemChild.isEdit.type === 'textBox')?_c('span',[_c('el-tooltip',{staticClass:"item",attrs:{"effect":"dark","content":record[itemChild.dataIndex]?record[itemChild.dataIndex]+'':'',"placement":"top-start"}},[_c('el-popover',{attrs:{"placement":"bottom","width":"300","trigger":"click"}},[_c('el-input',{staticClass:"cellTextarea",attrs:{"type":"textarea","size":"mini","rows":3,"disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled'],"readonly":!!itemChild.isEdit.readonly,"placeholder":itemChild.isEdit.placeholder?itemChild.isEdit.placeholder:'请输入'},on:{"focus":function($event){return _vm.onCellFBC('focus',record,itemChild)},"input":function($event){return _vm.onCellFBC('change',record,itemChild,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,itemChild)}},model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}}),_c('el-input',{attrs:{"slot":"reference","placeholder":itemChild.isEdit.placeholder?itemChild.isEdit.placeholder:'请输入',"size":"mini","clearable":"","disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled'],"readonly":!!itemChild.isEdit.readonly},on:{"focus":function($event){return _vm.onCellFBC('focus',record,itemChild)},"input":function($event){return _vm.onCellFBC('change',record,itemChild,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,itemChild)}},slot:"reference",model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}})],1)],1)],1):_vm._e(),(itemChild.isEdit.type === 'numberBox')?_c('span',[_c('el-tooltip',{staticClass:"item",attrs:{"effect":"dark","content":record[itemChild.dataIndex]?record[itemChild.dataIndex]+'':'',"placement":"top-start"}},[_c('el-popover',{attrs:{"placement":"bottom","width":"300","trigger":"click"}},[_c('el-input',{staticClass:"cellTextarea",attrs:{"type":"textarea","size":"mini","rows":3,"disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled'],"readonly":!!itemChild.isEdit.readonly,"placeholder":itemChild.isEdit.placeholder?itemChild.isEdit.placeholder:'请输入'},on:{"focus":function($event){return _vm.onCellFBC('focus',record,itemChild)},"input":function($event){return _vm.onCellFBC('change',record,itemChild,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,itemChild)}},model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}}),_c('el-input',{attrs:{"slot":"reference","placeholder":itemChild.isEdit.placeholder?itemChild.isEdit.placeholder:'请输入',"size":"mini","type":"number","clearable":"","disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled'],"readonly":!!itemChild.isEdit.readonly},on:{"focus":function($event){return _vm.onCellFBC('focus',record,itemChild)},"input":function($event){return _vm.onCellFBC('change',record,itemChild,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,itemChild)}},slot:"reference",model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}})],1)],1)],1):_vm._e(),(itemChild.isEdit.type === 'textareaBox')?_c('span',[_c('el-tooltip',{staticClass:"item",attrs:{"effect":"dark","content":record[itemChild.dataIndex]?record[itemChild.dataIndex]+'':'',"placement":"top-start"}},[_c('el-popover',{attrs:{"placement":"bottom","width":"300","trigger":"click"}},[_c('el-input',{staticClass:"cellTextarea",attrs:{"type":"textarea","size":"mini","rows":3,"disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled'],"readonly":!!itemChild.isEdit.readonly,"placeholder":itemChild.isEdit.placeholder?itemChild.isEdit.placeholder:'请输入'},on:{"focus":function($event){return _vm.onCellFBC('focus',record,itemChild)},"input":function($event){return _vm.onCellFBC('change',record,itemChild,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,itemChild)}},model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}}),_c('el-input',{attrs:{"slot":"reference","placeholder":itemChild.isEdit.placeholder?itemChild.isEdit.placeholder:'请输入',"size":"mini","type":"textarea","disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled'],"readonly":!!itemChild.isEdit.readonly},on:{"focus":function($event){return _vm.onCellFBC('focus',record,itemChild)},"input":function($event){return _vm.onCellFBC('change',record,itemChild,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,itemChild)}},slot:"reference",model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}})],1)],1)],1):_vm._e(),(itemChild.isEdit.type === 'text')?_c('el-input',{attrs:{"placeholder":itemChild.isEdit.placeholder?itemChild.isEdit.placeholder:'请输入',"size":"mini","clearable":"","disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled'],"readonly":!!itemChild.isEdit.readonly},on:{"focus":function($event){return _vm.onCellFBC('focus',record,itemChild)},"input":function($event){return _vm.onCellFBC('change',record,itemChild,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,itemChild)}},model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}}):_vm._e(),(itemChild.isEdit.type === 'number')?_c('el-input',{attrs:{"type":"number","size":"mini","clearable":"","disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled'],"readonly":!!itemChild.isEdit.readonly,"placeholder":itemChild.isEdit.placeholder?itemChild.isEdit.placeholder:'请输入'},on:{"focus":function($event){return _vm.onCellFBC('focus',record,itemChild)},"input":function($event){return _vm.onCellFBC('change',record,itemChild,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,itemChild)}},model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}}):_vm._e(),(itemChild.isEdit.type === 'textarea')?_c('el-input',{attrs:{"type":"textarea","size":"mini","disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled'],"readonly":!!itemChild.isEdit.readonly,"placeholder":itemChild.isEdit.placeholder?itemChild.isEdit.placeholder:'请输入'},on:{"focus":function($event){return _vm.onCellFBC('focus',record,itemChild)},"input":function($event){return _vm.onCellFBC('change',record,itemChild,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,itemChild)}},model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}}):_vm._e(),(itemChild.isEdit.type === 'select')?_c('el-select',{attrs:{"size":"mini","clearable":"","filterable":!!itemChild.isEdit.selectSearch,"multiple":!!itemChild.isEdit.isSelectMore,"placeholder":itemChild.isEdit.placeholder?itemChild.isEdit.placeholder:'请选择',"collapse-tags":itemChild.isEdit.showAllName !== 'showAll',"disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled']},on:{"change":function($event){return _vm.clickBtn(record,itemChild,index)}},model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}},_vm._l((itemChild.isEdit.dataList),function(item){return _c('el-option',{key:item.value+Math.ceil(Math.random()*1000),attrs:{"label":item.name,"value":item.value}})}),1):_vm._e(),(itemChild.isEdit.type === 'radio')?_c('el-radio-group',{attrs:{"disabled":!!itemChild.isEdit.disabled || record.twRadioDisabled || record[itemChild.dataIndex+'RadioDisabled']},on:{"change":function($event){return _vm.clickBtn(record,itemChild,index)}},model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}},_vm._l((itemChild.isEdit.dataList),function(radioItem,foreachIndex){return _c('el-radio',{key:foreachIndex+'i',attrs:{"label":radioItem.value}},[_vm._v(_vm._s(radioItem.name))])}),1):_vm._e(),(itemChild.isEdit.type === 'checkBox')?_c('el-checkbox-group',{attrs:{"disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled']},on:{"change":function($event){return _vm.clickBtn(record,itemChild,index)}},model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}},_vm._l((itemChild.isEdit.dataList),function(checkItem,foreachIndex){return _c('el-checkbox',{key:foreachIndex+'o',attrs:{"label":checkItem.value}},[_vm._v(_vm._s(checkItem.name))])}),1):_vm._e(),(itemChild.isEdit.type === 'switch')?_c('el-switch',{attrs:{"disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled'],"active-color":itemChild.isEdit.activeColor?itemChild.isEdit.activeColor:'',"inactive-color":itemChild.isEdit.defaultColor?itemChild.isEdit.defaultColor:''},on:{"change":function($event){return _vm.clickBtn(record,itemChild,index)}},model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}}):_vm._e(),(itemChild.isEdit.type === 'date')?_c('el-date-picker',{attrs:{"size":"mini","type":itemChild.isEdit.dateType?itemChild.isEdit.dateType:'date',"clearable":"","disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled'],"placeholder":itemChild.isEdit.placeholder?itemChild.isEdit.placeholder:'请选择',"picker-options":_vm.processDate(itemChild)},on:{"change":function($event){return _vm.clickBtn(record,itemChild,index)}},model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}}):_vm._e()],1):_vm._e(),(itemChild.isBtn)?_c('span',_vm._l((itemChild.isBtn.btnList),function(itemBtn,foreachIndex){return ((itemBtn.isShowBtn && record[itemBtn.isShowBtn]) || !itemBtn.isShowBtn)?_c('el-button',{key:foreachIndex+'p',style:({'color':itemBtn.color?itemBtn.color:''}),attrs:{"type":"text","icon":itemBtn.icon},on:{"click":function($event){return _vm.clickBtn(record,itemBtn,index)}}},[_vm._v(_vm._s(itemBtn.name))]):_vm._e()}),1):_vm._e(),(itemChild.isSpecial)?_c('span',[(itemChild.isSpecial.type === 'num')?_c('span',{class:itemChild.isSpecial.class,on:{"click":function($event){itemChild.isSpecial.isClick?_vm.clickBtn(record,itemChild,index):''}}},[_vm._v(_vm._s(_vm.changeNum(text,itemChild.isSpecial.numType)))]):_vm._e(),(itemChild.isSpecial.type === 'img')?_c('img',{class:itemChild.isSpecial.class,attrs:{"src":itemChild.isSpecial.img},on:{"click":function($event){itemChild.isSpecial.isClick?_vm.clickBtn(record,itemChild,index):''}}}):_vm._e(),_vm._l((itemChild.isSpecial.imgList),function(imgItem,foreachIndex){return (itemChild.isSpecial.type === 'imgList' && imgItem.value === text)?_c('img',{key:foreachIndex+'f',class:itemChild.isSpecial.class,attrs:{"src":imgItem.img},on:{"click":function($event){itemChild.isSpecial.isClick?_vm.clickBtn(record,itemChild,index):''}}}):_vm._e()}),(itemChild.isSpecial.type === 'style')?_c('span',{class:itemChild.isSpecial.class,style:(itemChild.isSpecial.textStyle),on:{"click":function($event){itemChild.isSpecial.isClick?_vm.clickBtn(record,itemChild,index):''}}},[_vm._v(_vm._s(text))]):_vm._e(),_vm._l((itemChild.isSpecial.textStyleList),function(styleItem,foreachIndex){return (itemChild.isSpecial.type === 'styleList' && styleItem.value === text)?_c('span',{key:foreachIndex+'p',class:itemChild.isSpecial.class,style:(styleItem.style),on:{"click":function($event){itemChild.isSpecial.isClick?_vm.clickBtn(record,itemChild,index):''}}},[_vm._v(_vm._s(text))]):_vm._e()})],2):_vm._e(),(itemChild.twEllipsis)?_c('span',[_c('el-tooltip',{staticClass:"item",attrs:{"effect":"dark","content":text,"placement":"top-start"}},[_c('div',{class:itemChild.twEllipsis===1?'twEllipsis':'twEllipsis2'},[_vm._v(_vm._s(text))])])],1):_vm._e(),(itemChild.isState)?_c('span',_vm._l((itemChild.isState.stateList),function(stateItem,foreachIndex){return (text === stateItem.value)?_c('span',{key:foreachIndex+'a',class:stateItem.class?stateItem.class+' cellSateStyle':'cellSateStyle',style:(stateItem.styles),on:{"click":function($event){itemChild.isState.isClick?_vm.clickBtn(record,itemChild,index):''}}},[_c('span',{staticStyle:{"display":"flex","align-items":"center"}},[(stateItem.icon)?_c('i',{class:stateItem.icon}):_vm._e(),(stateItem.img)?_c('img',{attrs:{"src":stateItem.img}}):_vm._e(),_c('span',[_vm._v(_vm._s(stateItem.name || text))])])]):_vm._e()}),0):_vm._e(),(itemChild.isHtml)?_c('div',_vm._l((itemChild.isHtml),function(htmlItem,foreachIndex){return (text === htmlItem.value)?_c('div',{key:foreachIndex+'a',domProps:{"innerHTML":_vm._s(htmlItem.html)}}):_vm._e()}),0):_vm._e(),(itemChild.mention && !itemChild.isSpecial && !itemChild.isState && !itemChild.isEdit && !itemChild.isFiles && !itemChild.isHtml && !itemChild.isBtn)?_c('div',[_vm._v(" "+_vm._s(record[itemChild.dataIndex])+" ")]):_vm._e()])}}})],null,true)},[_vm._l((_vm.columns),function(headItem,headIndex){return _c('template',{slot:headItem.iconName},[_c('div',{staticClass:"twFlex-start"},[_c('span',[_vm._v(_vm._s(headItem.iconName))]),(headItem.mention)?_c('el-popover',{attrs:{"placement":headItem.mention.direct?headItem.mention.direct:'left',"width":headItem.mention.width?headItem.mention.width:'250',"trigger":headItem.mention.trigger?headItem.mention.trigger:'hover'}},[_c('section',{staticClass:"mentionText",style:(headItem.mention.textStyle)},[_vm._v(_vm._s(headItem.mention.text))]),(headItem.mention)?_c('i',{class:headItem.mention.icon?headItem.mention.icon+' inputMention':'el-icon-warning-outline inputMention',style:(headItem.mention.iconStyle),attrs:{"slot":"reference"},slot:"reference"}):_vm._e()]):_vm._e()],1)])})],2),(_vm.tableInit.addNewRow)?_c('div',{staticClass:"addLine"},[_c('el-button',{attrs:{"type":"text","icon":"el-icon-plus"},on:{"click":_vm.addLine}},[_vm._v("添加")])],1):_vm._e(),(_vm.tableInit.pagination)?_c('PaginationAnt',{staticStyle:{"float":"right"},attrs:{"total":_vm.tableInit.pagination.total,"defaultPageSize":_vm.tableInit.pagination.pageSize,"currPage":_vm.tableInit.pagination.currPage,"pageSizes":[10,20,30,50,100]},on:{"paginaFunc":_vm.paginaFunc}}):_vm._e()],1)}
|
9721
|
-
var
|
9723
|
+
}},on:{"change":function($event){return _vm.clickBtn(record,item,index)}},model:{value:(record[item.dataIndex]),callback:function ($$v) {_vm.$set(record, item.dataIndex, $$v)},expression:"record[item.dataIndex]"}}):_vm._e(),(item.isEdit.type === 'select')?_c('el-select',{attrs:{"size":"mini","clearable":"","filterable":!!item.isEdit.selectSearch,"multiple":!!item.isEdit.isSelectMore,"placeholder":item.isEdit.placeholder?item.isEdit.placeholder:'请选择',"collapse-tags":item.isEdit.showAllName !== 'showAll',"disabled":!!item.isEdit.disabled || record[item.dataIndex+'Disabled']},on:{"change":function($event){return _vm.clickBtn(record,item,index)}},model:{value:(record[item.dataIndex]),callback:function ($$v) {_vm.$set(record, item.dataIndex, $$v)},expression:"record[item.dataIndex]"}},_vm._l((item.isEdit.dataList),function(item){return _c('el-option',{key:item.value+Math.ceil(Math.random()*1000),attrs:{"label":item.name,"value":item.value}})}),1):_vm._e(),(item.isEdit.type === 'radio')?_c('el-radio-group',{attrs:{"disabled":!!item.isEdit.disabled || record.twRadioDisabled || record[item.dataIndex+'Disabled']},on:{"change":function($event){return _vm.clickBtn(record,item,index)}},model:{value:(record[item.dataIndex]),callback:function ($$v) {_vm.$set(record, item.dataIndex, $$v)},expression:"record[item.dataIndex]"}},_vm._l((item.isEdit.dataList),function(radioItem,foreachIndex){return _c('el-radio',{key:foreachIndex+'e',attrs:{"label":radioItem.value}},[_vm._v(_vm._s(radioItem.name))])}),1):_vm._e(),(item.isEdit.type === 'checkBox')?_c('el-checkbox-group',{attrs:{"disabled":!!item.isEdit.disabled || record[item.dataIndex+'Disabled']},on:{"change":function($event){return _vm.clickBtn(record,item,index)}},model:{value:(record[item.dataIndex]),callback:function ($$v) {_vm.$set(record, item.dataIndex, $$v)},expression:"record[item.dataIndex]"}},_vm._l((item.isEdit.dataList),function(checkItem,foreachIndex){return _c('el-checkbox',{key:foreachIndex+'r',attrs:{"label":checkItem.value}},[_vm._v(_vm._s(checkItem.name))])}),1):_vm._e(),(item.isEdit.type === 'switch')?_c('el-switch',{attrs:{"disabled":!!item.isEdit.disabled || record[item.dataIndex+'Disabled'],"active-color":item.isEdit.activeColor?item.isEdit.activeColor:'',"inactive-color":item.isEdit.defaultColor?item.isEdit.defaultColor:''},on:{"change":function($event){return _vm.clickBtn(record,item,index)}},model:{value:(record[item.dataIndex]),callback:function ($$v) {_vm.$set(record, item.dataIndex, $$v)},expression:"record[item.dataIndex]"}}):_vm._e(),(item.isEdit.type === 'date')?_c('el-date-picker',{attrs:{"size":"mini","type":item.isEdit.dateType?item.isEdit.dateType:'date',"clearable":"","disabled":!!item.isEdit.disabled || record[item.dataIndex+'Disabled'],"placeholder":item.isEdit.placeholder?item.isEdit.placeholder:'请选择',"value-format":item.isEdit.valueFormat,"format":item.isEdit.dateFormat,"picker-options":_vm.processDate(item)},on:{"change":function($event){return _vm.clickBtn(record,item,index)}},model:{value:(record[item.dataIndex]),callback:function ($$v) {_vm.$set(record, item.dataIndex, $$v)},expression:"record[item.dataIndex]"}}):_vm._e()],1)]):_vm._e(),(item.isBtn)?_c('span',_vm._l((item.isBtn.btnList),function(itemBtn,foreachIndex){return ((itemBtn.isShowBtn && record[itemBtn.isShowBtn]) || !itemBtn.isShowBtn)?_c('el-button',{key:foreachIndex+'b',style:({'color':itemBtn.color?itemBtn.color:''}),attrs:{"type":"text","icon":itemBtn.icon},on:{"click":function($event){return _vm.clickBtn(record,itemBtn,index)}}},[_vm._v(_vm._s(itemBtn.name))]):_vm._e()}),1):_vm._e(),(item.isFiles)?_c('span',[(record[item.dataIndex] && record[item.dataIndex].length>0)?_c('span',[_c('el-popover',{attrs:{"placement":"bottom","width":"200","trigger":item.isFiles.trigger?item.isFiles.trigger:'hover'}},[_vm._l((record[item.dataIndex]),function(itemBtn,foreachIndex){return _c('section',{key:foreachIndex+'c'},[_c('div',{staticClass:"twFlex-between",staticStyle:{"margin-bottom":"10px","color":"#39f"}},[_c('span',{staticClass:"twEllipsis",staticStyle:{"max-width":"90%","cursor":"pointer"},attrs:{"title":itemBtn.fileName}},[_vm._v(_vm._s(itemBtn.fileName))]),_c('span',{staticStyle:{"color":"red","cursor":"pointer"},on:{"click":function($event){$event.stopPropagation();return _vm.clickBtn(record,item,index,{name:'删除',index:foreachIndex,childItem:itemBtn,list:record[item.dataIndex]})}}},[_c('i',{staticClass:"el-icon-delete"})])])])}),_c('el-button',{attrs:{"type":"primary","plain":"","size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.clickBtn(record,item,index)}}},[_vm._v("附件上传")]),_c('div',{staticClass:"twEllipsis",staticStyle:{"cursor":"pointer"},attrs:{"slot":"reference"},slot:"reference"},_vm._l((record[item.dataIndex]),function(itemBtn,foreachIndex){return _c('span',{key:foreachIndex+'v',staticStyle:{"color":"#39f"}},[_vm._v(" "+_vm._s(itemBtn.fileName)+", ")])}),0)],2)],1):_c('span',{style:({'color':item.isFiles.color?item.isFiles.color:'#39f','cursor':'pointer'}),on:{"click":function($event){return _vm.clickBtn(record,item,index)}}},[_vm._v(" "+_vm._s(item.isFiles.placeholder?item.isFiles.placeholder:'上传附件')+" ")])]):_vm._e(),(item.isSpecial)?_c('span',[(item.isSpecial.type === 'num')?_c('span',{class:item.isSpecial.class,on:{"click":function($event){item.isSpecial.isClick?_vm.clickBtn(record,item,index):''}}},[_vm._v(_vm._s(_vm.changeNum(text,item.isSpecial.numType)))]):_vm._e(),(item.isSpecial.type === 'img')?_c('img',{class:item.isSpecial.class,attrs:{"src":item.isSpecial.img},on:{"click":function($event){item.isSpecial.isClick?_vm.clickBtn(record,item,index):''}}}):_vm._e(),_vm._l((item.isSpecial.imgList),function(imgItem,foreachIndex){return (item.isSpecial.type === 'imgList' && imgItem.value === text)?_c('img',{key:foreachIndex+'t',class:item.isSpecial.class,attrs:{"src":imgItem.img},on:{"click":function($event){item.isSpecial.isClick?_vm.clickBtn(record,item,index):''}}}):_vm._e()}),(item.isSpecial.type === 'style')?_c('span',{class:item.isSpecial.class,style:(item.isSpecial.textStyle),on:{"click":function($event){item.isSpecial.isClick?_vm.clickBtn(record,item,index):''}}},[_vm._v(_vm._s(text))]):_vm._e(),_vm._l((item.isSpecial.textStyleList),function(styleItem,foreachIndex){return (item.isSpecial.type === 'styleList' && styleItem.value === text)?_c('span',{key:foreachIndex+'y',class:item.isSpecial.class,style:(styleItem.style),on:{"click":function($event){item.isSpecial.isClick?_vm.clickBtn(record,item,index):''}}},[_vm._v(_vm._s(text))]):_vm._e()})],2):_vm._e(),(item.twEllipsis)?_c('span',[_c('el-tooltip',{staticClass:"item",attrs:{"effect":"dark","content":text,"placement":"top-start"}},[_c('div',{class:item.twEllipsis===1?'twEllipsis':'twEllipsis2'},[_vm._v(_vm._s(text))])])],1):_vm._e(),(item.isState)?_c('span',_vm._l((item.isState.stateList),function(stateItem,foreachIndex){return (text === stateItem.value)?_c('span',{key:foreachIndex+'s',class:stateItem.class?stateItem.class+' cellSateStyle':'cellSateStyle',style:(stateItem.styles),on:{"click":function($event){item.isState.isClick?_vm.clickBtn(record,item,index):''}}},[_c('span',{staticStyle:{"display":"flex","align-items":"center","justify-content":"center"}},[(stateItem.icon)?_c('i',{class:stateItem.icon}):_vm._e(),(stateItem.img)?_c('img',{class:stateItem.imgClass,attrs:{"src":stateItem.img}}):_vm._e(),_c('span',[_vm._v(_vm._s(stateItem.name || text))])])]):_vm._e()}),0):_vm._e(),(item.isHtml)?_c('div',_vm._l((item.isHtml),function(htmlItem,foreachIndex){return (text === htmlItem.value)?_c('div',{key:foreachIndex+'d',domProps:{"innerHTML":_vm._s(htmlItem.html)}}):_vm._e()}),0):_vm._e(),(item.mention && !item.isSpecial && !item.isState && !item.isEdit && !item.isFiles && !item.isHtml && !item.isBtn)?_c('div',[_vm._v(" "+_vm._s(record[item.dataIndex])+" ")]):_vm._e()])}}}),_vm._l((_vm.columnsChild),function(itemChild,foreachIndex){return {key:itemChild.dataIndex,fn:function(text, record, index){return _c('div',{key:foreachIndex+'u'},[(itemChild.isEdit)?_c('span',[(itemChild.isEdit.required)?_c('span',{staticStyle:{"color":"red"}},[_vm._v("*")]):_vm._e(),(itemChild.isEdit.type === 'textBox')?_c('span',[_c('el-tooltip',{staticClass:"item",attrs:{"effect":"dark","content":record[itemChild.dataIndex]?record[itemChild.dataIndex]+'':'',"placement":"top-start"}},[_c('el-popover',{attrs:{"placement":"bottom","width":"300","trigger":"click"}},[_c('el-input',{staticClass:"cellTextarea",attrs:{"type":"textarea","size":"mini","rows":3,"disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled'],"readonly":!!itemChild.isEdit.readonly,"placeholder":itemChild.isEdit.placeholder?itemChild.isEdit.placeholder:'请输入'},on:{"focus":function($event){return _vm.onCellFBC('focus',record,itemChild)},"input":function($event){return _vm.onCellFBC('change',record,itemChild,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,itemChild)}},model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}}),_c('el-input',{attrs:{"slot":"reference","placeholder":itemChild.isEdit.placeholder?itemChild.isEdit.placeholder:'请输入',"size":"mini","clearable":"","disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled'],"readonly":!!itemChild.isEdit.readonly},on:{"focus":function($event){return _vm.onCellFBC('focus',record,itemChild)},"input":function($event){return _vm.onCellFBC('change',record,itemChild,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,itemChild)}},slot:"reference",model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}})],1)],1)],1):_vm._e(),(itemChild.isEdit.type === 'numberBox')?_c('span',[_c('el-tooltip',{staticClass:"item",attrs:{"effect":"dark","content":record[itemChild.dataIndex]?record[itemChild.dataIndex]+'':'',"placement":"top-start"}},[_c('el-popover',{attrs:{"placement":"bottom","width":"300","trigger":"click"}},[_c('el-input',{staticClass:"cellTextarea",attrs:{"type":"textarea","size":"mini","rows":3,"disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled'],"readonly":!!itemChild.isEdit.readonly,"placeholder":itemChild.isEdit.placeholder?itemChild.isEdit.placeholder:'请输入'},on:{"focus":function($event){return _vm.onCellFBC('focus',record,itemChild)},"input":function($event){return _vm.onCellFBC('change',record,itemChild,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,itemChild)}},model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}}),_c('el-input',{attrs:{"slot":"reference","placeholder":itemChild.isEdit.placeholder?itemChild.isEdit.placeholder:'请输入',"size":"mini","type":"number","clearable":"","disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled'],"readonly":!!itemChild.isEdit.readonly},on:{"focus":function($event){return _vm.onCellFBC('focus',record,itemChild)},"input":function($event){return _vm.onCellFBC('change',record,itemChild,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,itemChild)}},slot:"reference",model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}})],1)],1)],1):_vm._e(),(itemChild.isEdit.type === 'textareaBox')?_c('span',[_c('el-tooltip',{staticClass:"item",attrs:{"effect":"dark","content":record[itemChild.dataIndex]?record[itemChild.dataIndex]+'':'',"placement":"top-start"}},[_c('el-popover',{attrs:{"placement":"bottom","width":"300","trigger":"click"}},[_c('el-input',{staticClass:"cellTextarea",attrs:{"type":"textarea","size":"mini","rows":3,"disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled'],"readonly":!!itemChild.isEdit.readonly,"placeholder":itemChild.isEdit.placeholder?itemChild.isEdit.placeholder:'请输入'},on:{"focus":function($event){return _vm.onCellFBC('focus',record,itemChild)},"input":function($event){return _vm.onCellFBC('change',record,itemChild,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,itemChild)}},model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}}),_c('el-input',{attrs:{"slot":"reference","placeholder":itemChild.isEdit.placeholder?itemChild.isEdit.placeholder:'请输入',"size":"mini","type":"textarea","disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled'],"readonly":!!itemChild.isEdit.readonly},on:{"focus":function($event){return _vm.onCellFBC('focus',record,itemChild)},"input":function($event){return _vm.onCellFBC('change',record,itemChild,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,itemChild)}},slot:"reference",model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}})],1)],1)],1):_vm._e(),(itemChild.isEdit.type === 'text')?_c('el-input',{attrs:{"placeholder":itemChild.isEdit.placeholder?itemChild.isEdit.placeholder:'请输入',"size":"mini","clearable":"","disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled'],"readonly":!!itemChild.isEdit.readonly},on:{"focus":function($event){return _vm.onCellFBC('focus',record,itemChild)},"input":function($event){return _vm.onCellFBC('change',record,itemChild,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,itemChild)}},model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}}):_vm._e(),(itemChild.isEdit.type === 'number')?_c('el-input',{attrs:{"type":"number","size":"mini","clearable":"","disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled'],"readonly":!!itemChild.isEdit.readonly,"placeholder":itemChild.isEdit.placeholder?itemChild.isEdit.placeholder:'请输入'},on:{"focus":function($event){return _vm.onCellFBC('focus',record,itemChild)},"input":function($event){return _vm.onCellFBC('change',record,itemChild,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,itemChild)}},model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}}):_vm._e(),(itemChild.isEdit.type === 'textarea')?_c('el-input',{attrs:{"type":"textarea","size":"mini","disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled'],"readonly":!!itemChild.isEdit.readonly,"placeholder":itemChild.isEdit.placeholder?itemChild.isEdit.placeholder:'请输入'},on:{"focus":function($event){return _vm.onCellFBC('focus',record,itemChild)},"input":function($event){return _vm.onCellFBC('change',record,itemChild,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,itemChild)}},model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}}):_vm._e(),(itemChild.isEdit.type === 'select')?_c('el-select',{attrs:{"size":"mini","clearable":"","filterable":!!itemChild.isEdit.selectSearch,"multiple":!!itemChild.isEdit.isSelectMore,"placeholder":itemChild.isEdit.placeholder?itemChild.isEdit.placeholder:'请选择',"collapse-tags":itemChild.isEdit.showAllName !== 'showAll',"disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled']},on:{"change":function($event){return _vm.clickBtn(record,itemChild,index)}},model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}},_vm._l((itemChild.isEdit.dataList),function(item){return _c('el-option',{key:item.value+Math.ceil(Math.random()*1000),attrs:{"label":item.name,"value":item.value}})}),1):_vm._e(),(itemChild.isEdit.type === 'radio')?_c('el-radio-group',{attrs:{"disabled":!!itemChild.isEdit.disabled || record.twRadioDisabled || record[itemChild.dataIndex+'RadioDisabled']},on:{"change":function($event){return _vm.clickBtn(record,itemChild,index)}},model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}},_vm._l((itemChild.isEdit.dataList),function(radioItem,foreachIndex){return _c('el-radio',{key:foreachIndex+'i',attrs:{"label":radioItem.value}},[_vm._v(_vm._s(radioItem.name))])}),1):_vm._e(),(itemChild.isEdit.type === 'checkBox')?_c('el-checkbox-group',{attrs:{"disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled']},on:{"change":function($event){return _vm.clickBtn(record,itemChild,index)}},model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}},_vm._l((itemChild.isEdit.dataList),function(checkItem,foreachIndex){return _c('el-checkbox',{key:foreachIndex+'o',attrs:{"label":checkItem.value}},[_vm._v(_vm._s(checkItem.name))])}),1):_vm._e(),(itemChild.isEdit.type === 'switch')?_c('el-switch',{attrs:{"disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled'],"active-color":itemChild.isEdit.activeColor?itemChild.isEdit.activeColor:'',"inactive-color":itemChild.isEdit.defaultColor?itemChild.isEdit.defaultColor:''},on:{"change":function($event){return _vm.clickBtn(record,itemChild,index)}},model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}}):_vm._e(),(itemChild.isEdit.type === 'date')?_c('el-date-picker',{attrs:{"size":"mini","type":itemChild.isEdit.dateType?itemChild.isEdit.dateType:'date',"clearable":"","disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled'],"placeholder":itemChild.isEdit.placeholder?itemChild.isEdit.placeholder:'请选择',"value-format":itemChild.isEdit.valueFormat,"format":itemChild.isEdit.dateFormat,"picker-options":_vm.processDate(itemChild)},on:{"change":function($event){return _vm.clickBtn(record,itemChild,index)}},model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}}):_vm._e()],1):_vm._e(),(itemChild.isBtn)?_c('span',_vm._l((itemChild.isBtn.btnList),function(itemBtn,foreachIndex){return ((itemBtn.isShowBtn && record[itemBtn.isShowBtn]) || !itemBtn.isShowBtn)?_c('el-button',{key:foreachIndex+'p',style:({'color':itemBtn.color?itemBtn.color:''}),attrs:{"type":"text","icon":itemBtn.icon},on:{"click":function($event){return _vm.clickBtn(record,itemBtn,index)}}},[_vm._v(_vm._s(itemBtn.name))]):_vm._e()}),1):_vm._e(),(itemChild.isSpecial)?_c('span',[(itemChild.isSpecial.type === 'num')?_c('span',{class:itemChild.isSpecial.class,on:{"click":function($event){itemChild.isSpecial.isClick?_vm.clickBtn(record,itemChild,index):''}}},[_vm._v(_vm._s(_vm.changeNum(text,itemChild.isSpecial.numType)))]):_vm._e(),(itemChild.isSpecial.type === 'img')?_c('img',{class:itemChild.isSpecial.class,attrs:{"src":itemChild.isSpecial.img},on:{"click":function($event){itemChild.isSpecial.isClick?_vm.clickBtn(record,itemChild,index):''}}}):_vm._e(),_vm._l((itemChild.isSpecial.imgList),function(imgItem,foreachIndex){return (itemChild.isSpecial.type === 'imgList' && imgItem.value === text)?_c('img',{key:foreachIndex+'f',class:itemChild.isSpecial.class,attrs:{"src":imgItem.img},on:{"click":function($event){itemChild.isSpecial.isClick?_vm.clickBtn(record,itemChild,index):''}}}):_vm._e()}),(itemChild.isSpecial.type === 'style')?_c('span',{class:itemChild.isSpecial.class,style:(itemChild.isSpecial.textStyle),on:{"click":function($event){itemChild.isSpecial.isClick?_vm.clickBtn(record,itemChild,index):''}}},[_vm._v(_vm._s(text))]):_vm._e(),_vm._l((itemChild.isSpecial.textStyleList),function(styleItem,foreachIndex){return (itemChild.isSpecial.type === 'styleList' && styleItem.value === text)?_c('span',{key:foreachIndex+'p',class:itemChild.isSpecial.class,style:(styleItem.style),on:{"click":function($event){itemChild.isSpecial.isClick?_vm.clickBtn(record,itemChild,index):''}}},[_vm._v(_vm._s(text))]):_vm._e()})],2):_vm._e(),(itemChild.twEllipsis)?_c('span',[_c('el-tooltip',{staticClass:"item",attrs:{"effect":"dark","content":text,"placement":"top-start"}},[_c('div',{class:itemChild.twEllipsis===1?'twEllipsis':'twEllipsis2'},[_vm._v(_vm._s(text))])])],1):_vm._e(),(itemChild.isState)?_c('span',_vm._l((itemChild.isState.stateList),function(stateItem,foreachIndex){return (text === stateItem.value)?_c('span',{key:foreachIndex+'a',class:stateItem.class?stateItem.class+' cellSateStyle':'cellSateStyle',style:(stateItem.styles),on:{"click":function($event){itemChild.isState.isClick?_vm.clickBtn(record,itemChild,index):''}}},[_c('span',{staticStyle:{"display":"flex","align-items":"center"}},[(stateItem.icon)?_c('i',{class:stateItem.icon}):_vm._e(),(stateItem.img)?_c('img',{attrs:{"src":stateItem.img}}):_vm._e(),_c('span',[_vm._v(_vm._s(stateItem.name || text))])])]):_vm._e()}),0):_vm._e(),(itemChild.isHtml)?_c('div',_vm._l((itemChild.isHtml),function(htmlItem,foreachIndex){return (text === htmlItem.value)?_c('div',{key:foreachIndex+'a',domProps:{"innerHTML":_vm._s(htmlItem.html)}}):_vm._e()}),0):_vm._e(),(itemChild.mention && !itemChild.isSpecial && !itemChild.isState && !itemChild.isEdit && !itemChild.isFiles && !itemChild.isHtml && !itemChild.isBtn)?_c('div',[_vm._v(" "+_vm._s(record[itemChild.dataIndex])+" ")]):_vm._e()])}}})],null,true)},[_vm._l((_vm.columns),function(headItem,headIndex){return _c('template',{slot:headItem.iconName},[_c('div',{staticClass:"twFlex-start"},[_c('span',[_vm._v(_vm._s(headItem.iconName))]),(headItem.mention)?_c('el-popover',{attrs:{"placement":headItem.mention.direct?headItem.mention.direct:'left',"width":headItem.mention.width?headItem.mention.width:'250',"trigger":headItem.mention.trigger?headItem.mention.trigger:'hover'}},[_c('section',{staticClass:"mentionText",style:(headItem.mention.textStyle)},[_vm._v(_vm._s(headItem.mention.text))]),(headItem.mention)?_c('i',{class:headItem.mention.icon?headItem.mention.icon+' inputMention':'el-icon-warning-outline inputMention',style:(headItem.mention.iconStyle),attrs:{"slot":"reference"},slot:"reference"}):_vm._e()]):_vm._e()],1)])})],2),(_vm.tableInit.addNewRow)?_c('div',{staticClass:"addLine"},[_c('el-button',{attrs:{"type":"text","icon":"el-icon-plus"},on:{"click":_vm.addLine}},[_vm._v("添加")])],1):_vm._e(),(_vm.tableInit.pagination)?_c('PaginationAnt',{staticStyle:{"float":"right"},attrs:{"total":_vm.tableInit.pagination.total,"defaultPageSize":_vm.tableInit.pagination.pageSize,"currPage":_vm.tableInit.pagination.currPage,"pageSizes":[10,20,30,50,100]},on:{"paginaFunc":_vm.paginaFunc}}):_vm._e()],1)}
|
9724
|
+
var twTablevue_type_template_id_7b000d5e_scoped_true_staticRenderFns = []
|
9722
9725
|
|
9723
9726
|
|
9724
|
-
// CONCATENATED MODULE: ./examples/components/comPage/twTable/twTable.vue?vue&type=template&id=
|
9727
|
+
// CONCATENATED MODULE: ./examples/components/comPage/twTable/twTable.vue?vue&type=template&id=7b000d5e&scoped=true&
|
9725
9728
|
|
9726
9729
|
// EXTERNAL MODULE: ./node_modules/_core-js@3.6.5@core-js/modules/es.array.for-each.js
|
9727
9730
|
var es_array_for_each = __webpack_require__("fe59");
|
@@ -10067,6 +10070,12 @@ var web_dom_collections_for_each = __webpack_require__("08ba");
|
|
10067
10070
|
//
|
10068
10071
|
//
|
10069
10072
|
//
|
10073
|
+
//
|
10074
|
+
//
|
10075
|
+
//
|
10076
|
+
//
|
10077
|
+
//
|
10078
|
+
//
|
10070
10079
|
|
10071
10080
|
/* harmony default export */ var twTablevue_type_script_lang_js_ = ({
|
10072
10081
|
components: {
|
@@ -10355,8 +10364,8 @@ var web_dom_collections_for_each = __webpack_require__("08ba");
|
|
10355
10364
|
});
|
10356
10365
|
// CONCATENATED MODULE: ./examples/components/comPage/twTable/twTable.vue?vue&type=script&lang=js&
|
10357
10366
|
/* harmony default export */ var twTable_twTablevue_type_script_lang_js_ = (twTablevue_type_script_lang_js_);
|
10358
|
-
// EXTERNAL MODULE: ./examples/components/comPage/twTable/twTable.vue?vue&type=style&index=0&id=
|
10359
|
-
var
|
10367
|
+
// EXTERNAL MODULE: ./examples/components/comPage/twTable/twTable.vue?vue&type=style&index=0&id=7b000d5e&scoped=true&lang=scss&
|
10368
|
+
var twTablevue_type_style_index_0_id_7b000d5e_scoped_true_lang_scss_ = __webpack_require__("e0fd");
|
10360
10369
|
|
10361
10370
|
// CONCATENATED MODULE: ./examples/components/comPage/twTable/twTable.vue
|
10362
10371
|
|
@@ -10369,11 +10378,11 @@ var twTablevue_type_style_index_0_id_40c06270_scoped_true_lang_scss_ = __webpack
|
|
10369
10378
|
|
10370
10379
|
var twTable_component = Object(componentNormalizer["a" /* default */])(
|
10371
10380
|
twTable_twTablevue_type_script_lang_js_,
|
10372
|
-
|
10373
|
-
|
10381
|
+
twTablevue_type_template_id_7b000d5e_scoped_true_render,
|
10382
|
+
twTablevue_type_template_id_7b000d5e_scoped_true_staticRenderFns,
|
10374
10383
|
false,
|
10375
10384
|
null,
|
10376
|
-
"
|
10385
|
+
"7b000d5e",
|
10377
10386
|
null
|
10378
10387
|
|
10379
10388
|
)
|
@@ -10473,8 +10482,8 @@ var mainvue_type_template_id_7ea093f5_staticRenderFns = []
|
|
10473
10482
|
|
10474
10483
|
// CONCATENATED MODULE: ./packages/twFormPC/src/main.vue?vue&type=template&id=7ea093f5&
|
10475
10484
|
|
10476
|
-
// CONCATENATED MODULE: ./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9b9f7194-vue-loader-template"}!./node_modules/_vue-loader@15.9.3@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.3@vue-loader/lib??vue-loader-options!./examples/components/comPage/twFormModule/twFormModule.vue?vue&type=template&id=
|
10477
|
-
var
|
10485
|
+
// CONCATENATED MODULE: ./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9b9f7194-vue-loader-template"}!./node_modules/_vue-loader@15.9.3@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.3@vue-loader/lib??vue-loader-options!./examples/components/comPage/twFormModule/twFormModule.vue?vue&type=template&id=ca021e7c&scoped=true&
|
10486
|
+
var twFormModulevue_type_template_id_ca021e7c_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',[_c('el-form',{ref:"form",staticClass:"twFormModule",attrs:{"model":_vm.formData,"label-width":_vm.formSetting.labelWidth?_vm.formSetting.labelWidth:'91px',"size":_vm.formSetting.formSize?_vm.formSetting.formSize:'small'}},[_c('el-row',_vm._l((_vm.formModule),function(formItem,formIndex){return _c('el-col',{directives:[{name:"show",rawName:"v-show",value:(!formItem.isHidden),expression:"!formItem.isHidden"}],key:'form'+formIndex,attrs:{"span":formItem.span?formItem.span:8,"offset":formItem.offset?formItem.offset:0}},[_c('el-form-item',{staticClass:"twFormModuleItem"},[_c('span',{attrs:{"slot":"label"},slot:"label"},[(formItem.required)?_c('span',{staticStyle:{"color":"red","margin-right":"3px"}},[_vm._v("*")]):_vm._e(),_vm._v(_vm._s(formItem.label))]),(formItem.showWarning && (formItem.itemType === 'radio' || formItem.itemType === 'checkBox'))?_c('span',{staticClass:"warningText"},[_vm._v(_vm._s(formItem.warningText?formItem.warningText:'必填项!'))]):(formItem.showWarning)?_c('span',{staticClass:"warningText"},[_vm._v(_vm._s(formItem.warningText))]):_vm._e(),(formItem.itemType === 'title')?_c('div',{class:formItem.titleStyle?formItem.titleStyle+' formTitleDefaultStyle':'formTitleDefaultStyle'},[_c('span',{style:({left:_vm.formSetting.labelWidth?'-'+_vm.formSetting.labelWidth:'-91px'})},[_vm._v(_vm._s(formItem.itemValue))])]):_vm._e(),(formItem.itemType === 'text' || formItem.itemType === 'number' || formItem.itemType === 'textarea')?_c('el-input',{class:formItem.showWarning?'redBorder':'',attrs:{"type":formItem.itemType?formItem.itemType:'text',"readonly":formItem.readonly,"disabled":formItem.disabled,"clearable":"","placeholder":formItem.placeholder?formItem.placeholder:'请输入'+formItem.label},on:{"input":function($event){return _vm.formFBC('change',formItem,_vm.formData,$event)},"focus":function($event){return _vm.formFBC('focus',formItem,_vm.formData)},"blur":function($event){return _vm.formFBC('blur',formItem,_vm.formData)}},model:{value:(_vm.formData[formItem.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, formItem.itemValue, $$v)},expression:"formData[formItem.itemValue]"}}):_vm._e(),(formItem.itemType === 'date')?_c('el-date-picker',{class:formItem.showWarning?'redBorder':'',attrs:{"type":formItem.dateType?formItem.dateType:'date',"format":formItem.dateFormat,"value-format":formItem.valueFormat,"disabled":formItem.disabled,"placeholder":formItem.placeholder?formItem.placeholder:'请选择'+formItem.label,"picker-options":_vm.processDate(formItem)},on:{"change":function($event){return _vm.formFBC('change',formItem,_vm.formData,$event)}},model:{value:(_vm.formData[formItem.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, formItem.itemValue, $$v)},expression:"formData[formItem.itemValue]"}}):_vm._e(),(formItem.itemType === 'dateRange')?_c('el-date-picker',{class:formItem.showWarning?'redBorder':'',attrs:{"type":formItem.dateType?formItem.dateType+'range':'daterange',"format":formItem.dateFormat,"value-format":formItem.valueFormat,"placeholder":formItem.placeholder?formItem.placeholder:formItem.label,"range-separator":formItem.separator?formItem.separator:'至',"picker-options":_vm.processDate(formItem),"start-placeholder":formItem.startPlaceholder?formItem.startPlaceholder:'开始日期',"end-placeholder":formItem.endPlaceholder?formItem.endPlaceholder:'结束日期',"disabled":formItem.disabled},on:{"change":function($event){return _vm.formFBC('change',formItem,_vm.formData,$event)}},model:{value:(_vm.formData[formItem.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, formItem.itemValue, $$v)},expression:"formData[formItem.itemValue]"}}):_vm._e(),(formItem.itemType === 'select')?_c('el-select',{class:formItem.showWarning?'redBorder':'',attrs:{"placeholder":"请选择","disabled":formItem.disabled,"placeholder":formItem.placeholder?formItem.placeholder:'请选择'+formItem.label,"clearable":"","filterable":formItem.filterable},on:{"change":function($event){return _vm.formFBC('change',formItem,_vm.formData,$event)}},model:{value:(_vm.formData[formItem.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, formItem.itemValue, $$v)},expression:"formData[formItem.itemValue]"}},_vm._l((formItem.selectList),function(selectItem){return _c('el-option',{key:selectItem.value,attrs:{"label":selectItem.name,"value":selectItem.value}})}),1):_vm._e(),(formItem.itemType === 'selectMore')?_c('el-select',{class:formItem.showWarning?'redBorder':'',attrs:{"clearable":"","placeholder":formItem.placeholder?formItem.placeholder:'请选择'+formItem.label,"multiple":"","disabled":formItem.disabled,"collapse-tags":formItem.showAllName !== 'showAll',"filterable":formItem.selectSearch?formItem.selectSearch:true},on:{"change":function($event){return _vm.formFBC('change',formItem,_vm.formData,$event)}},model:{value:(_vm.formData[formItem.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, formItem.itemValue, $$v)},expression:"formData[formItem.itemValue]"}},_vm._l((formItem.selectList),function(selectItem){return _c('el-option',{key:selectItem.value,attrs:{"label":selectItem.name,"value":selectItem.value}})}),1):_vm._e(),(formItem.itemType === 'selectCascade')?_c('el-cascader',{class:formItem.showWarning?'redBorder':'',attrs:{"filterable":formItem.selectSearch?formItem.selectSearch:true,"options":formItem.selectList,"collapse-tags":formItem.showAllName !== 'showAll',"disabled":formItem.disabled,"show-all-levels":formItem.showAllLevel?formItem.showAllLevel:false,"placeholder":formItem.placeholder?formItem.placeholder:'请选择'+formItem.label,"clearable":"","props":{
|
10478
10487
|
expandTrigger: formItem.trigger?formItem.trigger:'hover',
|
10479
10488
|
multiple:formItem.isSelectMore?formItem.isSelectMore:false,
|
10480
10489
|
checkStrictly:formItem.checkAny?formItem.checkAny:false,
|
@@ -10482,10 +10491,10 @@ var twFormModulevue_type_template_id_d6fcfb86_scoped_true_render = function () {
|
|
10482
10491
|
value:formItem.changeValue?formItem.changeValue:'value',
|
10483
10492
|
children:formItem.changeChildren?formItem.changeChildren:'children'
|
10484
10493
|
}},on:{"change":function($event){return _vm.formFBC('change',formItem,_vm.formData,$event)}},model:{value:(_vm.formData[formItem.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, formItem.itemValue, $$v)},expression:"formData[formItem.itemValue]"}}):_vm._e(),(formItem.itemType === 'radio')?_c('el-radio-group',{staticClass:"twSearchRadio",model:{value:(_vm.formData[formItem.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, formItem.itemValue, $$v)},expression:"formData[formItem.itemValue]"}},_vm._l((formItem.radioList),function(itemChild,index){return _c('el-radio',{key:'radio'+index,attrs:{"label":itemChild.value,"disabled":itemChild.disabled},on:{"change":function($event){return _vm.formFBC('change',formItem,_vm.formData,$event)}}},[_vm._v(_vm._s(itemChild.name))])}),1):_vm._e(),(formItem.itemType === 'checkBox')?_c('el-checkbox-group',{staticClass:"twSearchCheckbox",model:{value:(_vm.formData[formItem.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, formItem.itemValue, $$v)},expression:"formData[formItem.itemValue]"}},_vm._l((formItem.checkBoxList),function(itemChild,index){return _c('el-checkbox',{key:'checkBox'+index,attrs:{"label":itemChild.value,"disabled":itemChild.disabled,"data-a":_vm.checkBoxState},on:{"change":function($event){return _vm.formFBC('change',formItem,_vm.formData,$event)}}},[_vm._v(_vm._s(itemChild.name))])}),1):_vm._e(),(formItem.itemType === 'selectTree')?_c('section',{staticClass:"popTree"},[_c('el-popover',{attrs:{"placement":"bottom-start"},model:{value:(formItem.popTreeBox),callback:function ($$v) {_vm.$set(formItem, "popTreeBox", $$v)},expression:"formItem.popTreeBox"}},[_c('section',{staticStyle:{"text-align":"center","border-bottom":"1px solid #ddd","padding-bottom":"10px"}},[_c('div',{staticStyle:{"display":"flex"}},[_c('el-input',{attrs:{"placeholder":"输入关键字进行过滤","size":"mini","clearable":""},on:{"input":function($event){return _vm.filterInput($event,formItem)}},model:{value:(formItem.popTreeInput),callback:function ($$v) {_vm.$set(formItem, "popTreeInput", $$v)},expression:"formItem.popTreeInput"}}),_c('el-button',{staticStyle:{"margin-left":"10px"},attrs:{"type":"primary","size":"mini"},on:{"click":function($event){return _vm.chooseOrg(formItem.itemValue,formItem)}}},[_vm._v("确定选择")])],1)]),_c('el-tree',{ref:formItem.popTreeRef,refInFor:true,staticClass:"selectTree",attrs:{"data":formItem.treeList.length>0?formItem.treeList:[],"props":formItem.defaultProps,"filter-node-method":_vm.filterNode,"highlight-current":true},on:{"node-click":_vm.handleNodeClick}}),_c('el-input',{class:formItem.showWarning?'redBorder':'',attrs:{"slot":"reference","size":"small","clearable":"","placeholder":formItem.placeholder?formItem.placeholder:'请选择'+formItem.label,"disabled":formItem.disabled},on:{"clear":function($event){return _vm.clearText(formItem)}},slot:"reference",model:{value:(_vm.formData[formItem.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, formItem.itemValue, $$v)},expression:"formData[formItem.itemValue]"}})],1)],1):_vm._e(),(formItem.itemType === 'valueRange')?_c('section',{staticClass:"valueRangeStyle"},[_c('el-input',{class:formItem.showWarning?'redBorder':'',attrs:{"type":formItem.isNumber?'number':'text',"clearable":"","placeholder":formItem.placeholder?formItem.placeholder:'请输入'+formItem.label,"disabled":formItem.disabled,"clearable":""},on:{"input":function($event){return _vm.formFBC('change',formItem,_vm.formData,$event)},"focus":function($event){return _vm.formFBC('focus',formItem,_vm.formData)},"blur":function($event){return _vm.formFBC('blur',formItem,_vm.formData)}},model:{value:(_vm.formData[formItem.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, formItem.itemValue, $$v)},expression:"formData[formItem.itemValue]"}}),_c('span',{staticStyle:{"margin":"0 5px"}},[_vm._v("-")]),_c('el-input',{class:formItem.showWarning?'redBorder':'',attrs:{"type":formItem.isNumber?'number':'text',"clearable":"","placeholder":formItem.placeholder?formItem.placeholder:'请输入'+formItem.label,"disabled":formItem.disabled,"clearable":""},on:{"input":function($event){return _vm.formFBC('change',formItem,_vm.formData,$event)},"focus":function($event){return _vm.formFBC('focus',formItem,_vm.formData)},"blur":function($event){return _vm.formFBC('blur',formItem,_vm.formData)}},model:{value:(_vm.formData[formItem.itemValueSec]),callback:function ($$v) {_vm.$set(_vm.formData, formItem.itemValueSec, $$v)},expression:"formData[formItem.itemValueSec]"}})],1):_vm._e(),(formItem.itemType === 'doSelf')?_c('section',{on:{"click":function($event){return _vm.formFBC('doSelf',formItem,_vm.formData)}}},[_c('el-input',{class:formItem.showWarning?'redBorder':'',attrs:{"type":"text","readonly":"","disabled":formItem.disabled,"placeholder":"请点击"},model:{value:(_vm.formData[formItem.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, formItem.itemValue, $$v)},expression:"formData[formItem.itemValue]"}})],1):_vm._e(),(formItem.mention)?_c('el-popover',{attrs:{"placement":formItem.mention.direct?formItem.mention.direct:'left',"width":formItem.mention.width?formItem.mention.width:'250',"trigger":formItem.mention.trigger?formItem.mention.trigger:'hover'}},[_c('section',{staticClass:"mentionText",style:(formItem.mention.textStyle)},[_vm._v(_vm._s(formItem.mention.text))]),(formItem.mention)?_c('i',{class:formItem.mention.icon?formItem.mention.icon+' inputMention':'el-icon-warning-outline inputMention',style:(formItem.mention.iconStyle),attrs:{"slot":"reference"},slot:"reference"}):_vm._e()]):_vm._e()],1)],1)}),1)],1)],1)}
|
10485
|
-
var
|
10494
|
+
var twFormModulevue_type_template_id_ca021e7c_scoped_true_staticRenderFns = []
|
10486
10495
|
|
10487
10496
|
|
10488
|
-
// CONCATENATED MODULE: ./examples/components/comPage/twFormModule/twFormModule.vue?vue&type=template&id=
|
10497
|
+
// CONCATENATED MODULE: ./examples/components/comPage/twFormModule/twFormModule.vue?vue&type=template&id=ca021e7c&scoped=true&
|
10489
10498
|
|
10490
10499
|
// CONCATENATED MODULE: ./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.1.0@babel-loader/lib!./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.3@vue-loader/lib??vue-loader-options!./examples/components/comPage/twFormModule/twFormModule.vue?vue&type=script&lang=js&
|
10491
10500
|
|
@@ -10635,6 +10644,7 @@ var twFormModulevue_type_template_id_d6fcfb86_scoped_true_staticRenderFns = []
|
|
10635
10644
|
//
|
10636
10645
|
//
|
10637
10646
|
//
|
10647
|
+
//
|
10638
10648
|
/* harmony default export */ var twFormModulevue_type_script_lang_js_ = ({
|
10639
10649
|
name: "twFormModule",
|
10640
10650
|
props: ['formSettings', 'formDatas', 'formModule'],
|
@@ -10792,8 +10802,8 @@ var twFormModulevue_type_template_id_d6fcfb86_scoped_true_staticRenderFns = []
|
|
10792
10802
|
});
|
10793
10803
|
// CONCATENATED MODULE: ./examples/components/comPage/twFormModule/twFormModule.vue?vue&type=script&lang=js&
|
10794
10804
|
/* harmony default export */ var twFormModule_twFormModulevue_type_script_lang_js_ = (twFormModulevue_type_script_lang_js_);
|
10795
|
-
// EXTERNAL MODULE: ./examples/components/comPage/twFormModule/twFormModule.vue?vue&type=style&index=0&id=
|
10796
|
-
var
|
10805
|
+
// EXTERNAL MODULE: ./examples/components/comPage/twFormModule/twFormModule.vue?vue&type=style&index=0&id=ca021e7c&scoped=true&lang=css&
|
10806
|
+
var twFormModulevue_type_style_index_0_id_ca021e7c_scoped_true_lang_css_ = __webpack_require__("c807");
|
10797
10807
|
|
10798
10808
|
// CONCATENATED MODULE: ./examples/components/comPage/twFormModule/twFormModule.vue
|
10799
10809
|
|
@@ -10806,11 +10816,11 @@ var twFormModulevue_type_style_index_0_id_d6fcfb86_scoped_true_lang_css_ = __web
|
|
10806
10816
|
|
10807
10817
|
var twFormModule_component = Object(componentNormalizer["a" /* default */])(
|
10808
10818
|
twFormModule_twFormModulevue_type_script_lang_js_,
|
10809
|
-
|
10810
|
-
|
10819
|
+
twFormModulevue_type_template_id_ca021e7c_scoped_true_render,
|
10820
|
+
twFormModulevue_type_template_id_ca021e7c_scoped_true_staticRenderFns,
|
10811
10821
|
false,
|
10812
10822
|
null,
|
10813
|
-
"
|
10823
|
+
"ca021e7c",
|
10814
10824
|
null
|
10815
10825
|
|
10816
10826
|
)
|