three-trees-ui 1.0.14 → 1.0.15
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/three-trees-ui.common.js +1142 -514
- package/lib/three-trees-ui.css +1 -1
- package/lib/three-trees-ui.umd.js +1142 -514
- package/lib/three-trees-ui.umd.min.js +1 -1
- package/package.json +1 -1
- package/packages/CustomDialog/src/customDialog.vue +488 -165
- package/packages/CustomDialog/src/customMobileDialog.vue +464 -155
- package/packages/CustomDialog/src/main.vue +202 -10
- package/packages/DimensionSelector/src/main.vue +2 -0
- package/packages/Tree/src/main.vue +7 -2
|
@@ -1659,13 +1659,6 @@ const btnList = [{
|
|
|
1659
1659
|
|
|
1660
1660
|
/***/ }),
|
|
1661
1661
|
|
|
1662
|
-
/***/ "0ca0":
|
|
1663
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1664
|
-
|
|
1665
|
-
// extracted by mini-css-extract-plugin
|
|
1666
|
-
|
|
1667
|
-
/***/ }),
|
|
1668
|
-
|
|
1669
1662
|
/***/ "0edb":
|
|
1670
1663
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1671
1664
|
|
|
@@ -1893,7 +1886,7 @@ const SubPagination = {
|
|
|
1893
1886
|
|
|
1894
1887
|
/***/ }),
|
|
1895
1888
|
|
|
1896
|
-
/***/ "
|
|
1889
|
+
/***/ "1ba3":
|
|
1897
1890
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1898
1891
|
|
|
1899
1892
|
// extracted by mini-css-extract-plugin
|
|
@@ -2061,13 +2054,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__289a__;
|
|
|
2061
2054
|
|
|
2062
2055
|
/***/ }),
|
|
2063
2056
|
|
|
2064
|
-
/***/ "333d":
|
|
2065
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2066
|
-
|
|
2067
|
-
// extracted by mini-css-extract-plugin
|
|
2068
|
-
|
|
2069
|
-
/***/ }),
|
|
2070
|
-
|
|
2071
2057
|
/***/ "33ce":
|
|
2072
2058
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2073
2059
|
|
|
@@ -2797,6 +2783,17 @@ Formulas.install = Vue => {
|
|
|
2797
2783
|
|
|
2798
2784
|
// extracted by mini-css-extract-plugin
|
|
2799
2785
|
|
|
2786
|
+
/***/ }),
|
|
2787
|
+
|
|
2788
|
+
/***/ "3be0":
|
|
2789
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2790
|
+
|
|
2791
|
+
"use strict";
|
|
2792
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_1_id_384dd988_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("7090");
|
|
2793
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_1_id_384dd988_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_1_id_384dd988_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
2794
|
+
/* unused harmony reexport * */
|
|
2795
|
+
|
|
2796
|
+
|
|
2800
2797
|
/***/ }),
|
|
2801
2798
|
|
|
2802
2799
|
/***/ "3c4b":
|
|
@@ -2846,23 +2843,30 @@ Formulas.install = Vue => {
|
|
|
2846
2843
|
|
|
2847
2844
|
/***/ }),
|
|
2848
2845
|
|
|
2849
|
-
/***/ "
|
|
2846
|
+
/***/ "45bb":
|
|
2847
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2848
|
+
|
|
2849
|
+
// extracted by mini-css-extract-plugin
|
|
2850
|
+
|
|
2851
|
+
/***/ }),
|
|
2852
|
+
|
|
2853
|
+
/***/ "4680":
|
|
2850
2854
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2851
2855
|
|
|
2852
2856
|
"use strict";
|
|
2853
|
-
/* harmony import */ var
|
|
2854
|
-
/* harmony import */ var
|
|
2857
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_0_id_384dd988_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("b1a3");
|
|
2858
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_0_id_384dd988_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_0_id_384dd988_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
2855
2859
|
/* unused harmony reexport * */
|
|
2856
2860
|
|
|
2857
2861
|
|
|
2858
2862
|
/***/ }),
|
|
2859
2863
|
|
|
2860
|
-
/***/ "
|
|
2864
|
+
/***/ "4876":
|
|
2861
2865
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2862
2866
|
|
|
2863
2867
|
"use strict";
|
|
2864
|
-
/* harmony import */ var
|
|
2865
|
-
/* harmony import */ var
|
|
2868
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_UserSelectorMobileDialog_vue_vue_type_style_index_0_id_6313b4e0_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("33ce");
|
|
2869
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_UserSelectorMobileDialog_vue_vue_type_style_index_0_id_6313b4e0_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_UserSelectorMobileDialog_vue_vue_type_style_index_0_id_6313b4e0_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
2866
2870
|
/* unused harmony reexport * */
|
|
2867
2871
|
|
|
2868
2872
|
|
|
@@ -2898,17 +2902,6 @@ Formulas.install = Vue => {
|
|
|
2898
2902
|
|
|
2899
2903
|
// extracted by mini-css-extract-plugin
|
|
2900
2904
|
|
|
2901
|
-
/***/ }),
|
|
2902
|
-
|
|
2903
|
-
/***/ "49f9":
|
|
2904
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2905
|
-
|
|
2906
|
-
"use strict";
|
|
2907
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_1_id_1661eebb_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("7c6e");
|
|
2908
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_1_id_1661eebb_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_1_id_1661eebb_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
2909
|
-
/* unused harmony reexport * */
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
2905
|
/***/ }),
|
|
2913
2906
|
|
|
2914
2907
|
/***/ "4a17":
|
|
@@ -3047,6 +3040,13 @@ exports.clearImmediate = (typeof self !== "undefined" && self.clearImmediate) ||
|
|
|
3047
3040
|
|
|
3048
3041
|
/***/ }),
|
|
3049
3042
|
|
|
3043
|
+
/***/ "569e":
|
|
3044
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3045
|
+
|
|
3046
|
+
// extracted by mini-css-extract-plugin
|
|
3047
|
+
|
|
3048
|
+
/***/ }),
|
|
3049
|
+
|
|
3050
3050
|
/***/ "5877":
|
|
3051
3051
|
/***/ (function(module, exports) {
|
|
3052
3052
|
|
|
@@ -4137,6 +4137,13 @@ const dict = {
|
|
|
4137
4137
|
|
|
4138
4138
|
/***/ }),
|
|
4139
4139
|
|
|
4140
|
+
/***/ "6ebe":
|
|
4141
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4142
|
+
|
|
4143
|
+
// extracted by mini-css-extract-plugin
|
|
4144
|
+
|
|
4145
|
+
/***/ }),
|
|
4146
|
+
|
|
4140
4147
|
/***/ "6f28":
|
|
4141
4148
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4142
4149
|
|
|
@@ -4169,6 +4176,13 @@ const dict = {
|
|
|
4169
4176
|
|
|
4170
4177
|
/***/ }),
|
|
4171
4178
|
|
|
4179
|
+
/***/ "7090":
|
|
4180
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4181
|
+
|
|
4182
|
+
// extracted by mini-css-extract-plugin
|
|
4183
|
+
|
|
4184
|
+
/***/ }),
|
|
4185
|
+
|
|
4172
4186
|
/***/ "7152":
|
|
4173
4187
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4174
4188
|
|
|
@@ -4244,13 +4258,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4244
4258
|
|
|
4245
4259
|
/***/ }),
|
|
4246
4260
|
|
|
4247
|
-
/***/ "7c6e":
|
|
4248
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4249
|
-
|
|
4250
|
-
// extracted by mini-css-extract-plugin
|
|
4251
|
-
|
|
4252
|
-
/***/ }),
|
|
4253
|
-
|
|
4254
4261
|
/***/ "7d0a":
|
|
4255
4262
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4256
4263
|
|
|
@@ -4278,17 +4285,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4278
4285
|
|
|
4279
4286
|
// extracted by mini-css-extract-plugin
|
|
4280
4287
|
|
|
4281
|
-
/***/ }),
|
|
4282
|
-
|
|
4283
|
-
/***/ "7ff9":
|
|
4284
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4285
|
-
|
|
4286
|
-
"use strict";
|
|
4287
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customDialog_vue_vue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("333d");
|
|
4288
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customDialog_vue_vue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customDialog_vue_vue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
4289
|
-
/* unused harmony reexport * */
|
|
4290
|
-
|
|
4291
|
-
|
|
4292
4288
|
/***/ }),
|
|
4293
4289
|
|
|
4294
4290
|
/***/ "8262":
|
|
@@ -4343,6 +4339,17 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4343
4339
|
|
|
4344
4340
|
// extracted by mini-css-extract-plugin
|
|
4345
4341
|
|
|
4342
|
+
/***/ }),
|
|
4343
|
+
|
|
4344
|
+
/***/ "87a1":
|
|
4345
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4346
|
+
|
|
4347
|
+
"use strict";
|
|
4348
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_bf5a35ae_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("45bb");
|
|
4349
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_bf5a35ae_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_bf5a35ae_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
4350
|
+
/* unused harmony reexport * */
|
|
4351
|
+
|
|
4352
|
+
|
|
4346
4353
|
/***/ }),
|
|
4347
4354
|
|
|
4348
4355
|
/***/ "889a":
|
|
@@ -4724,14 +4731,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
4724
4731
|
/***/ "9224":
|
|
4725
4732
|
/***/ (function(module) {
|
|
4726
4733
|
|
|
4727
|
-
module.exports = JSON.parse("{\"a\":\"1.0.
|
|
4728
|
-
|
|
4729
|
-
/***/ }),
|
|
4730
|
-
|
|
4731
|
-
/***/ "923d":
|
|
4732
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4733
|
-
|
|
4734
|
-
// extracted by mini-css-extract-plugin
|
|
4734
|
+
module.exports = JSON.parse("{\"a\":\"1.0.15\"}");
|
|
4735
4735
|
|
|
4736
4736
|
/***/ }),
|
|
4737
4737
|
|
|
@@ -4856,13 +4856,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHoAAABMCAYAAACi
|
|
|
4856
4856
|
|
|
4857
4857
|
/***/ }),
|
|
4858
4858
|
|
|
4859
|
-
/***/ "a707":
|
|
4860
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4861
|
-
|
|
4862
|
-
// extracted by mini-css-extract-plugin
|
|
4863
|
-
|
|
4864
|
-
/***/ }),
|
|
4865
|
-
|
|
4866
4859
|
/***/ "a751":
|
|
4867
4860
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4868
4861
|
|
|
@@ -5451,6 +5444,17 @@ module.exports = require("setimmediate");
|
|
|
5451
5444
|
|
|
5452
5445
|
// extracted by mini-css-extract-plugin
|
|
5453
5446
|
|
|
5447
|
+
/***/ }),
|
|
5448
|
+
|
|
5449
|
+
/***/ "aeed":
|
|
5450
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5451
|
+
|
|
5452
|
+
"use strict";
|
|
5453
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customDialog_vue_vue_type_style_index_0_id_3e2f487c_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1ba3");
|
|
5454
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customDialog_vue_vue_type_style_index_0_id_3e2f487c_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customDialog_vue_vue_type_style_index_0_id_3e2f487c_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
5455
|
+
/* unused harmony reexport * */
|
|
5456
|
+
|
|
5457
|
+
|
|
5454
5458
|
/***/ }),
|
|
5455
5459
|
|
|
5456
5460
|
/***/ "af95":
|
|
@@ -6246,6 +6250,13 @@ const {
|
|
|
6246
6250
|
|
|
6247
6251
|
/***/ }),
|
|
6248
6252
|
|
|
6253
|
+
/***/ "b1a3":
|
|
6254
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
6255
|
+
|
|
6256
|
+
// extracted by mini-css-extract-plugin
|
|
6257
|
+
|
|
6258
|
+
/***/ }),
|
|
6259
|
+
|
|
6249
6260
|
/***/ "b1ce":
|
|
6250
6261
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6251
6262
|
|
|
@@ -6440,17 +6451,6 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
|
|
|
6440
6451
|
|
|
6441
6452
|
// extracted by mini-css-extract-plugin
|
|
6442
6453
|
|
|
6443
|
-
/***/ }),
|
|
6444
|
-
|
|
6445
|
-
/***/ "be12":
|
|
6446
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6447
|
-
|
|
6448
|
-
"use strict";
|
|
6449
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_0b5eb5e6_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("0ca0");
|
|
6450
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_0b5eb5e6_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_0b5eb5e6_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
6451
|
-
/* unused harmony reexport * */
|
|
6452
|
-
|
|
6453
|
-
|
|
6454
6454
|
/***/ }),
|
|
6455
6455
|
|
|
6456
6456
|
/***/ "c0a9":
|
|
@@ -6469,17 +6469,6 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
|
|
|
6469
6469
|
|
|
6470
6470
|
module.exports = require("moment");
|
|
6471
6471
|
|
|
6472
|
-
/***/ }),
|
|
6473
|
-
|
|
6474
|
-
/***/ "c33b":
|
|
6475
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6476
|
-
|
|
6477
|
-
"use strict";
|
|
6478
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a707");
|
|
6479
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
6480
|
-
/* unused harmony reexport * */
|
|
6481
|
-
|
|
6482
|
-
|
|
6483
6472
|
/***/ }),
|
|
6484
6473
|
|
|
6485
6474
|
/***/ "c429":
|
|
@@ -6612,6 +6601,17 @@ module.exports = g;
|
|
|
6612
6601
|
/* unused harmony reexport * */
|
|
6613
6602
|
|
|
6614
6603
|
|
|
6604
|
+
/***/ }),
|
|
6605
|
+
|
|
6606
|
+
/***/ "cc2b":
|
|
6607
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6608
|
+
|
|
6609
|
+
"use strict";
|
|
6610
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_10f71c00_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("569e");
|
|
6611
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_10f71c00_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_10f71c00_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
6612
|
+
/* unused harmony reexport * */
|
|
6613
|
+
|
|
6614
|
+
|
|
6615
6615
|
/***/ }),
|
|
6616
6616
|
|
|
6617
6617
|
/***/ "cd87":
|
|
@@ -7166,23 +7166,23 @@ module.exports = require("deepmerge");
|
|
|
7166
7166
|
|
|
7167
7167
|
/***/ }),
|
|
7168
7168
|
|
|
7169
|
-
/***/ "
|
|
7169
|
+
/***/ "dc81":
|
|
7170
7170
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7171
7171
|
|
|
7172
7172
|
"use strict";
|
|
7173
|
-
/* harmony import */ var
|
|
7174
|
-
/* harmony import */ var
|
|
7173
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_8015cf1e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("6ebe");
|
|
7174
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_8015cf1e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_8015cf1e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
7175
7175
|
/* unused harmony reexport * */
|
|
7176
7176
|
|
|
7177
7177
|
|
|
7178
7178
|
/***/ }),
|
|
7179
7179
|
|
|
7180
|
-
/***/ "
|
|
7180
|
+
/***/ "dccc":
|
|
7181
7181
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7182
7182
|
|
|
7183
7183
|
"use strict";
|
|
7184
|
-
/* harmony import */ var
|
|
7185
|
-
/* harmony import */ var
|
|
7184
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_68e2d4a1_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("8728");
|
|
7185
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_68e2d4a1_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_68e2d4a1_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
7186
7186
|
/* unused harmony reexport * */
|
|
7187
7187
|
|
|
7188
7188
|
|
|
@@ -15615,17 +15615,17 @@ Demension_src_main.install = function (Vue) {
|
|
|
15615
15615
|
Vue.component(Demension_src_main.name, Demension_src_main);
|
|
15616
15616
|
};
|
|
15617
15617
|
/* harmony default export */ var Demension = (Demension_src_main);
|
|
15618
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/Tree/src/main.vue?vue&type=template&id=
|
|
15619
|
-
var
|
|
15618
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/Tree/src/main.vue?vue&type=template&id=10f71c00&scoped=true&
|
|
15619
|
+
var mainvue_type_template_id_10f71c00_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{style:(_vm.containerStyle)},[(_vm.supportFilter)?_c('div',{staticClass:"tree-header flex"},[_vm._t("custom-prefix"),_c('el-input',{attrs:{"placeholder":_vm.t('ht.tree.filterText'),"clearable":""},model:{value:(_vm.filterText),callback:function ($$v) {_vm.filterText=$$v},expression:"filterText"}},[_c('i',{staticClass:"el-input__icon el-icon-search",attrs:{"slot":"prefix"},slot:"prefix"})]),_c('div',{class:_vm.isIeExplorer
|
|
15620
15620
|
? 'tree-button-group is-ie-explorer flex'
|
|
15621
15621
|
: 'tree-button-group flex'},[_vm._t("custom-button"),_c('ht-icon',{staticClass:"tree-icon",attrs:{"name":_vm.isExpand ? 'simple-collapse' : 'simple-expand',"title":_vm.isExpand ? '收起' : '展开',"scale":"1.2"},on:{"click":_vm.handleExpandCollapse}}),_c('ht-icon',{staticClass:"tree-icon refresh",attrs:{"name":"refresh","pulse":_vm.loading,"scale":"1.1","title":"刷新"},on:{"click":_vm.refresh}})],2)],2):_vm._e(),(_vm.isShowEmpty)?_c('el-empty',{attrs:{"image":_vm.treeNoDataImg,"image-size":_vm.imageSize}}):_c('el-tree',{ref:"elTree",staticClass:"el-tree__wrapper",style:(_vm.elTreeStyle),attrs:{"data":_vm.data ? _vm.data : _vm.treeData,"props":_vm.props,"empty-text":_vm.emptyText,"default-expand-all":_vm.defaultExpandAll,"filter-node-method":_vm.filterNode,"load":_vm.load,"lazy":_vm.lazy,"show-checkbox":_vm.showCheckbox,"accordion":_vm.accordion,"node-key":_vm.nodeKey,"default-expanded-keys":_vm.defaultExpandedKeys,"highlight-current":_vm.highlightCurrent,"render-after-expand":_vm.renderAfterExpand,"render-content":_vm.renderContent,"check-on-click-node":_vm.checkOnClickNode,"auto-expand-parent":_vm.autoExpandParent,"check-strictly":_vm.checkStrictly,"current-node-key":_vm.currentNodeKey,"indent":_vm.indent,"icon-class":_vm.iconClass,"draggable":_vm.draggable,"allow-drag":_vm.allowDrag,"allow-drop":_vm.allowDrop,"expand-on-click-node":_vm.expandOnClickNode,"default-checked-keys":_vm.defaultCheckedKeys},on:{"node-click":_vm.handleNodeClick,"node-contextmenu":_vm.nodeContextmenu,"check-change":_vm.checkChange,"check":_vm.check,"current-change":_vm.currentChange,"node-expand":_vm.nodeExpand,"node-collapse":_vm.nodeCollapse,"node-drag-start":_vm.nodeDragStart,"node-drag-enter":_vm.nodeDragEnter,"node-drag-leave":_vm.nodeDragLeave,"node-drag-over":_vm.nodeDragOver,"node-drag-end":_vm.nodeDragEnd,"node-drop":_vm.nodeDrop},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
15622
15622
|
var node = ref.node;
|
|
15623
15623
|
var subData = ref.data;
|
|
15624
15624
|
return (_vm.$scopedSlots['default'])?_vm._t("default",null,{"node":node,"data":subData}):[_c('span',{staticClass:"el-tree-node__label show-ellipsis",class:{ 'full-width': !_vm.showMoreButton },attrs:{"title":node.label}},[_vm._v("\n "+_vm._s(node.label)+"\n ")])]}}],null,true)})],1)}
|
|
15625
|
-
var
|
|
15625
|
+
var mainvue_type_template_id_10f71c00_scoped_true_staticRenderFns = []
|
|
15626
15626
|
|
|
15627
15627
|
|
|
15628
|
-
// CONCATENATED MODULE: ./packages/Tree/src/main.vue?vue&type=template&id=
|
|
15628
|
+
// CONCATENATED MODULE: ./packages/Tree/src/main.vue?vue&type=template&id=10f71c00&scoped=true&
|
|
15629
15629
|
|
|
15630
15630
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/Tree/src/main.vue?vue&type=script&lang=js&
|
|
15631
15631
|
//
|
|
@@ -15900,7 +15900,11 @@ var mainvue_type_template_id_5731e345_scoped_true_staticRenderFns = []
|
|
|
15900
15900
|
},
|
|
15901
15901
|
watch: {
|
|
15902
15902
|
filterText(val) {
|
|
15903
|
-
this
|
|
15903
|
+
if (this.lazy) {
|
|
15904
|
+
this.$emit('loadALL', val);
|
|
15905
|
+
} else {
|
|
15906
|
+
this.$refs.elTree.filter(val);
|
|
15907
|
+
}
|
|
15904
15908
|
},
|
|
15905
15909
|
defaultCheckedKeys(val) {
|
|
15906
15910
|
this.$refs.elTree.setCheckedKeys(val);
|
|
@@ -15993,8 +15997,8 @@ var mainvue_type_template_id_5731e345_scoped_true_staticRenderFns = []
|
|
|
15993
15997
|
});
|
|
15994
15998
|
// CONCATENATED MODULE: ./packages/Tree/src/main.vue?vue&type=script&lang=js&
|
|
15995
15999
|
/* harmony default export */ var packages_Tree_src_mainvue_type_script_lang_js_ = (Tree_src_mainvue_type_script_lang_js_);
|
|
15996
|
-
// EXTERNAL MODULE: ./packages/Tree/src/main.vue?vue&type=style&index=0&id=
|
|
15997
|
-
var
|
|
16000
|
+
// EXTERNAL MODULE: ./packages/Tree/src/main.vue?vue&type=style&index=0&id=10f71c00&prod&lang=scss&scoped=true&
|
|
16001
|
+
var mainvue_type_style_index_0_id_10f71c00_prod_lang_scss_scoped_true_ = __webpack_require__("cc2b");
|
|
15998
16002
|
|
|
15999
16003
|
// CONCATENATED MODULE: ./packages/Tree/src/main.vue
|
|
16000
16004
|
|
|
@@ -16007,11 +16011,11 @@ var mainvue_type_style_index_0_id_5731e345_prod_lang_scss_scoped_true_ = __webpa
|
|
|
16007
16011
|
|
|
16008
16012
|
var Tree_src_main_component = normalizeComponent(
|
|
16009
16013
|
packages_Tree_src_mainvue_type_script_lang_js_,
|
|
16010
|
-
|
|
16011
|
-
|
|
16014
|
+
mainvue_type_template_id_10f71c00_scoped_true_render,
|
|
16015
|
+
mainvue_type_template_id_10f71c00_scoped_true_staticRenderFns,
|
|
16012
16016
|
false,
|
|
16013
16017
|
null,
|
|
16014
|
-
"
|
|
16018
|
+
"10f71c00",
|
|
16015
16019
|
null
|
|
16016
16020
|
|
|
16017
16021
|
)
|
|
@@ -22503,8 +22507,8 @@ PostSelector_src_main.install = function (Vue) {
|
|
|
22503
22507
|
Vue.component(PostSelector_src_main.name, PostSelector_src_main);
|
|
22504
22508
|
};
|
|
22505
22509
|
/* harmony default export */ var PostSelector = (PostSelector_src_main);
|
|
22506
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/DimensionSelector/src/main.vue?vue&type=template&id=
|
|
22507
|
-
var
|
|
22510
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/DimensionSelector/src/main.vue?vue&type=template&id=8015cf1e&scoped=true&
|
|
22511
|
+
var mainvue_type_template_id_8015cf1e_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.permission !== 'n')?_c('div',{class:[
|
|
22508
22512
|
'inputs',
|
|
22509
22513
|
_vm.formInputsDisplay == 'block'
|
|
22510
22514
|
? 'ht-form-inputs__block'
|
|
@@ -22519,10 +22523,10 @@ var mainvue_type_template_id_10681225_scoped_true_render = function () {var _vm=
|
|
|
22519
22523
|
return [_c('ht-icon',{staticClass:"follow-theme-color",staticStyle:{"margin-left":"15px","width":"36px","height":"36px"},attrs:{"name":"demension"}}),_c('div',{staticClass:"selector-item__detail"},[_c('div',{staticClass:"selector-detail__name"},[_c('label',[_vm._v(_vm._s(item[_vm.selectLabel]))]),_c('span',[_vm._v("("+_vm._s(item['code'])+")")])])])]}},{key:"selected",fn:function(ref){
|
|
22520
22524
|
var select = ref.select;
|
|
22521
22525
|
return [_c('ht-icon',{staticClass:"follow-theme-color",staticStyle:{"margin-left":"15px","width":"36px","height":"36px"},attrs:{"name":"demension"}}),_c('p',{staticClass:"selector-selected__label",attrs:{"title":((select[_vm.selectLabel]) + "(" + (select['code']) + ")")}},[_vm._v("\n "+_vm._s(((select[_vm.selectLabel]) + "(" + (select['code']) + ")"))+"\n ")])]}}],null,false,3344182147),model:{value:(_vm.demensions),callback:function ($$v) {_vm.demensions=$$v},expression:"demensions"}})],1),_c('div',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"type":"primary","size":"small"},on:{"click":_vm.handleDialogSure}},[_vm._v("\n 确 定\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.handleDialogCancel}},[_vm._v("取 消")])],1)])],1):_vm._e()}
|
|
22522
|
-
var
|
|
22526
|
+
var mainvue_type_template_id_8015cf1e_scoped_true_staticRenderFns = []
|
|
22523
22527
|
|
|
22524
22528
|
|
|
22525
|
-
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=template&id=
|
|
22529
|
+
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=template&id=8015cf1e&scoped=true&
|
|
22526
22530
|
|
|
22527
22531
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/DimensionSelector/src/main.vue?vue&type=script&lang=js&
|
|
22528
22532
|
//
|
|
@@ -22781,6 +22785,8 @@ var mainvue_type_template_id_10681225_scoped_true_staticRenderFns = []
|
|
|
22781
22785
|
if (this.config.hasOwnProperty('demName')) {
|
|
22782
22786
|
utils["a" /* default */].setValueByConfigKey(this, this.config, 'demName', demNameAry.join(','));
|
|
22783
22787
|
}
|
|
22788
|
+
} else {
|
|
22789
|
+
this.$emit('change', newVal);
|
|
22784
22790
|
}
|
|
22785
22791
|
// 通过valueChange事件发布值变更消息
|
|
22786
22792
|
this.$emit('valueChange', ary.join(','), newVal);
|
|
@@ -22910,8 +22916,8 @@ var mainvue_type_template_id_10681225_scoped_true_staticRenderFns = []
|
|
|
22910
22916
|
});
|
|
22911
22917
|
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=script&lang=js&
|
|
22912
22918
|
/* harmony default export */ var packages_DimensionSelector_src_mainvue_type_script_lang_js_ = (DimensionSelector_src_mainvue_type_script_lang_js_);
|
|
22913
|
-
// EXTERNAL MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=style&index=0&id=
|
|
22914
|
-
var
|
|
22919
|
+
// EXTERNAL MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=style&index=0&id=8015cf1e&prod&lang=scss&scoped=true&
|
|
22920
|
+
var mainvue_type_style_index_0_id_8015cf1e_prod_lang_scss_scoped_true_ = __webpack_require__("dc81");
|
|
22915
22921
|
|
|
22916
22922
|
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue
|
|
22917
22923
|
|
|
@@ -22924,11 +22930,11 @@ var mainvue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true_ = __webpa
|
|
|
22924
22930
|
|
|
22925
22931
|
var DimensionSelector_src_main_component = normalizeComponent(
|
|
22926
22932
|
packages_DimensionSelector_src_mainvue_type_script_lang_js_,
|
|
22927
|
-
|
|
22928
|
-
|
|
22933
|
+
mainvue_type_template_id_8015cf1e_scoped_true_render,
|
|
22934
|
+
mainvue_type_template_id_8015cf1e_scoped_true_staticRenderFns,
|
|
22929
22935
|
false,
|
|
22930
22936
|
null,
|
|
22931
|
-
"
|
|
22937
|
+
"8015cf1e",
|
|
22932
22938
|
null
|
|
22933
22939
|
|
|
22934
22940
|
)
|
|
@@ -23556,8 +23562,8 @@ Dialog_src_main.install = function (Vue) {
|
|
|
23556
23562
|
Vue.component(Dialog_src_main.name, Dialog_src_main);
|
|
23557
23563
|
};
|
|
23558
23564
|
/* harmony default export */ var Dialog = (Dialog_src_main);
|
|
23559
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/main.vue?vue&type=template&id=
|
|
23560
|
-
var
|
|
23565
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/main.vue?vue&type=template&id=bf5a35ae&scoped=true&
|
|
23566
|
+
var mainvue_type_template_id_bf5a35ae_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"inputs"},[_c('el-tooltip',{attrs:{"placement":_vm.tooltipplacement || _vm.defualtTooltipplacement,"disabled":_vm.inputWriteable && _vm.errors && !_vm.errors.has('custom-form.' + _vm.inputName)}},[(_vm.errors && _vm.errors.first)?_c('div',{attrs:{"slot":"content"},slot:"content"},[_vm._v("\n "+_vm._s(_vm.errors.first('custom-form.' + _vm.inputName))+"\n ")]):_vm._e(),(_vm.inputWriteable)?_c('div',{staticClass:"el-select",class:{ 'has-value': _vm.value },staticStyle:{"width":"100%"}},[_c('div',{ref:"tagSpans",staticClass:"el-select__tags",style:({ width: 'calc(100% - 10px - ' + _vm.inputSuffixWidth + 'px)' }),on:{"click":_vm.showEditInput}},[_c('span',{staticClass:"tag-wrap"},_vm._l((_vm.inputVal),function(item,index){return _c('span',{key:item.value,staticClass:"el-tag el-tag--info el-tag--small no-background",on:{"click":function($event){$event.stopPropagation();return _vm.jumpUrl(item)}}},[_c('span',{staticClass:"el-select__tags-text",class:{ 'src-color': _vm.isSrcColor }},[_vm._v("\n "+_vm._s(item.value)+"\n ")]),_c('i',{staticClass:"el-tag__close el-icon-close",on:{"click":function($event){$event.stopPropagation();return _vm.removeSelectOrg(index)}}})])}),0)]),_c('div',{staticClass:"el-input el-input--suffix"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.inputVal),expression:"inputVal"},{name:"validate",rawName:"v-validate",value:(_vm.inputValidate),expression:"inputValidate"}],staticClass:"el-input__inner",style:({ height: _vm.inputSuffixHeight + 'px' }),attrs:{"type":"text","readonly":"readonly","name":_vm.inputName,"autocomplete":"off","placeholder":_vm.placeholder},domProps:{"value":(_vm.inputVal)},on:{"click":_vm.showEditInput,"input":function($event){if($event.target.composing){ return; }_vm.inputVal=$event.target.value}}}),(_vm.isAllowCustom && _vm.isEditInputShow)?_c('el-input',{ref:"editInputRef",staticClass:"edit-input",style:({
|
|
23561
23567
|
right: _vm.inputSuffixWidth - 1 + 'px',
|
|
23562
23568
|
width: 'auto!important',
|
|
23563
23569
|
height: _vm.inputSuffixHeight - 4 + 'px',
|
|
@@ -23566,11 +23572,11 @@ var mainvue_type_template_id_0b5eb5e6_scoped_true_render = function () {var _vm=
|
|
|
23566
23572
|
: 'el-input__icon icon-duihuakuang',style:({
|
|
23567
23573
|
fontSize: '17px',
|
|
23568
23574
|
lineHeight: _vm.inputSuffixHeight + 'px',
|
|
23569
|
-
})}),_vm._v("\n "+_vm._s(_vm.custdialog.name)+"\n ")])],1)])],1)]):_vm._e()]),(!_vm.inputWriteable)?_c('span',_vm._l((_vm.inputVal),function(item){return _c('span',{key:item.value,staticClass:"el-tag el-tag--info el-tag--small",staticStyle:{"margin-right":"8px"},on:{"click":function($event){$event.stopPropagation();}}},[_c('span',{staticClass:"el-select__tags-text"},[_vm._v(_vm._s(item.value))])])}),0):_vm._e(),(_vm.isMobile)?_c('custom-mobile-dialog',{ref:"customMobileDialogRef",attrs:{"model-name":_vm.modelName,"custdialog":_vm.custdialog,"sub-index":_vm.subIndex,"sun-index":_vm.sunIndex,"sub-path":_vm.subPath,"current-sub-data":_vm.currentSubData},on:{"calacInputSuffixHeight":_vm.calacInputSuffixHeight,"updateInput":_vm.updateInput}}):_c('custom-dialog',{ref:"customDialogRef",attrs:{"model-name":_vm.modelName,"custdialog":_vm.custdialog,"sub-index":_vm.subIndex,"sun-index":_vm.sunIndex,"sub-path":_vm.subPath,"current-sub-data":_vm.currentSubData,"is-read-only":!_vm.inputWriteable},on:{"calacInputSuffixHeight":_vm.calacInputSuffixHeight,"updateInput":_vm.updateInput},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v},expression:"value"}}),_c('span',{staticStyle:{"display":"none"}},[_vm._t("labeldesc",[_vm._v(_vm._s(_vm.inputName))])],2),_c('ht-field-tail',{attrs:{"field-name":_vm.inputName,"input-value":_vm.value}})],1)}
|
|
23570
|
-
var
|
|
23575
|
+
})}),_vm._v("\n "+_vm._s(_vm.custdialog.name)+"\n ")])],1)])],1)]):_vm._e()]),(!_vm.inputWriteable)?_c('span',{staticClass:"dialog-readonly"},_vm._l((_vm.inputVal),function(item){return _c('span',{key:item.value,staticClass:"el-tag el-tag--info el-tag--small no-background",staticStyle:{"margin-right":"8px"},on:{"click":function($event){$event.stopPropagation();return _vm.jumpUrl(item)}}},[_c('span',{staticClass:"el-select__tags-text",class:{ 'src-color': _vm.isSrcColor }},[_vm._v("\n "+_vm._s(item.value)+"\n ")])])}),0):_vm._e(),(_vm.isMobile)?_c('custom-mobile-dialog',{ref:"customMobileDialogRef",attrs:{"model-name":_vm.modelName,"custdialog":_vm.custdialog,"sub-index":_vm.subIndex,"sun-index":_vm.sunIndex,"sub-path":_vm.subPath,"current-sub-data":_vm.currentSubData,"dialog-config":_vm.dialogConfig,"dialog-type":_vm.dialogType},on:{"calacInputSuffixHeight":_vm.calacInputSuffixHeight,"updateInput":_vm.updateInput}}):_c('custom-dialog',{ref:"customDialogRef",attrs:{"model-name":_vm.modelName,"custdialog":_vm.custdialog,"sub-index":_vm.subIndex,"sun-index":_vm.sunIndex,"sub-path":_vm.subPath,"current-sub-data":_vm.currentSubData,"is-read-only":!_vm.inputWriteable,"dialog-config":_vm.dialogConfig,"dialog-type":_vm.dialogType},on:{"calacInputSuffixHeight":_vm.calacInputSuffixHeight,"updateInput":_vm.updateInput},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v},expression:"value"}}),_c('span',{staticStyle:{"display":"none"}},[_vm._t("labeldesc",[_vm._v(_vm._s(_vm.inputName))])],2),_c('ht-field-tail',{attrs:{"field-name":_vm.inputName,"input-value":_vm.value}}),(_vm.isDialogFormShow)?_c('el-dialog',{attrs:{"title":"表单详情","visible":_vm.isDialogFormShow,"width":"100%","custom-class":"custom-dialog-form","fullscreen":"","append-to-body":""},on:{"update:visible":function($event){_vm.isDialogFormShow=$event}}},[_c('div',{staticClass:"iframe-box"},[_c('iframe',{staticStyle:{"height":"100%"},attrs:{"src":_vm.mobileSrc,"width":"100%","frameborder":"0"}})]),_c('div',{staticClass:"custom-dialog-form_footer"},[_c('el-button',{attrs:{"size":"smal"},on:{"click":function($event){_vm.isDialogFormShow = false}}},[_vm._v("\n 关闭\n ")])],1)]):_vm._e()],1)}
|
|
23576
|
+
var mainvue_type_template_id_bf5a35ae_scoped_true_staticRenderFns = []
|
|
23571
23577
|
|
|
23572
23578
|
|
|
23573
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=
|
|
23579
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=bf5a35ae&scoped=true&
|
|
23574
23580
|
|
|
23575
23581
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.js
|
|
23576
23582
|
|
|
@@ -23692,19 +23698,47 @@ var mainvue_type_template_id_0b5eb5e6_scoped_true_staticRenderFns = []
|
|
|
23692
23698
|
}
|
|
23693
23699
|
}
|
|
23694
23700
|
});
|
|
23695
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=
|
|
23696
|
-
var
|
|
23697
|
-
|
|
23698
|
-
|
|
23699
|
-
|
|
23700
|
-
|
|
23701
|
-
|
|
23702
|
-
|
|
23703
|
-
|
|
23704
|
-
|
|
23705
|
-
|
|
23706
|
-
|
|
23707
|
-
|
|
23701
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=3e2f487c&scoped=true&
|
|
23702
|
+
var customDialogvue_type_template_id_3e2f487c_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-dialog',{attrs:{"visible":_vm.customDialogShowList,"title":_vm.customDialog.name,"close-on-click-modal":false,"before-close":_vm.dialogCancel,"append-to-body":"","top":"6vh","width":"75%"},on:{"update:visible":function($event){_vm.customDialogShowList=$event},"opened":_vm.afterOpen}},[_c('el-container',{staticStyle:{"overflow":"auto"},style:(_vm.style)},[(_vm.customDialog.style == 2)?_c('el-aside',{directives:[{name:"show",rawName:"v-show",value:(_vm.treeShow),expression:"treeShow"}],staticStyle:{"width":"23%"}},[_c('el-card',[_c('div',{staticClass:"clearfix",attrs:{"slot":"header"},slot:"header"},[_c('span',{staticStyle:{"font-size":"16px"}},[_vm._v(_vm._s(_vm.leftTreeTitle))])]),_c('el-tree',{ref:"combinationTree",attrs:{"data":_vm.combinationTreeData,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","check-on-click-node":true,"lazy":"","load":_vm.loadTree},on:{"node-click":_vm.combiTreeClick}})],1)],1):_vm._e(),(_vm.customDialog.style == 2)?_c('el-divider',{attrs:{"direction":"vertical"}}):_vm._e(),_c('el-container',[(_vm.querysShow)?_c('el-header',{staticClass:"middle-header"},[_vm._l((_vm.conditionBind),function(condition,index){return _c('div',{key:index,staticClass:"search-item"},[_c('p',{attrs:{"title":condition.comment}},[_vm._v(_vm._s(condition.comment)+":")]),(condition.controllerType == '1')?_c('div',{staticClass:"search-item_main"},[_c('el-input',{attrs:{"size":"small","clearable":"","placeholder":_vm.placeholders[index],"prefix-icon":"el-icon-search"},nativeOn:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.searchEnterFun($event)}},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '2')?_c('div',{staticClass:"search-item_main"},_vm._l((condition.config.options),function(itemR,$index1){return _c('el-radio',{key:$index1,attrs:{"label":itemR.key},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}},[_vm._v("\n "+_vm._s(itemR.value)+"\n ")])}),1):_vm._e(),(condition.controllerType == '3')?_c('div',{staticClass:"search-item_main"},[(condition.config.choiceType == 'static')?_c('ht-select',{attrs:{"placeholder":_vm.quickSearch,"multiple":condition.config.multiple,"options":condition.config.options},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}}):_c('ht-dictionary',{attrs:{"dickey":condition.config.dic,"filterable":condition.config.filterable},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '4')?_c('div',{staticClass:"search-item_main"},[_c('eip-tag',{attrs:{"tag-key":condition.config.tag,"placeholder":_vm.quickSearch,"filterable":condition.config.filterable,"expand":condition.config.expand},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '6')?_c('div',{staticClass:"search-item_main"},[(condition.condition == 'BETWEEN')?_c('div',{staticClass:"search-item_date"},[_c('ht-date',{attrs:{"format":condition.config.inputFormat.includes('mm:ss')
|
|
23703
|
+
? 'yyyy-MM-dd HH:mm:ss'
|
|
23704
|
+
: condition.config.inputFormat,"valueFormat":condition.config.inputFormat.includes('mm:ss')
|
|
23705
|
+
? 'yyyy-MM-dd HH:mm:ss'
|
|
23706
|
+
: condition.config.inputFormat},model:{value:(_vm.queryParams[index].startDate),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "startDate", $$v)},expression:"queryParams[index].startDate"}}),_vm._v("\n 至\n "),_c('ht-date',{attrs:{"format":condition.config.inputFormat.includes('mm:ss')
|
|
23707
|
+
? 'yyyy-MM-dd HH:mm:ss'
|
|
23708
|
+
: condition.config.inputFormat,"valueFormat":condition.config.inputFormat.includes('mm:ss')
|
|
23709
|
+
? 'yyyy-MM-dd HH:mm:ss'
|
|
23710
|
+
: condition.config.inputFormat},model:{value:(_vm.queryParams[index].endDate),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "endDate", $$v)},expression:"queryParams[index].endDate"}})],1):_c('ht-date',{attrs:{"format":condition.config.inputFormat.includes('mm:ss')
|
|
23711
|
+
? 'yyyy-MM-dd HH:mm:ss'
|
|
23712
|
+
: condition.config.inputFormat,"valueFormat":condition.config.inputFormat.includes('mm:ss')
|
|
23713
|
+
? 'yyyy-MM-dd HH:mm:ss'
|
|
23714
|
+
: condition.config.inputFormat},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '7')?_c('div',{staticClass:"search-item_main"},[(condition.config.alias == 'user')?_c('ht-user-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23715
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23716
|
+
}}}):_vm._e(),(condition.config.alias == 'org')?_c('ht-org-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23717
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23718
|
+
}}}):_vm._e(),(condition.config.alias == 'role')?_c('ht-role-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23719
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23720
|
+
}}}):_vm._e(),(condition.config.alias == 'job')?_c('ht-job-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23721
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23722
|
+
}}}):_vm._e(),(condition.config.alias == 'post')?_c('ht-post-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23723
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23724
|
+
}}}):_vm._e(),(condition.config.alias == 'dimension')?_c('ht-dimension-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23725
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23726
|
+
}}}):_vm._e()],1):_vm._e(),(condition.controllerType == '5')?_c('div',{staticClass:"search-item_main"},[_c('ht-custom-dialog',{attrs:{"model-name":condition.config.keyBind,"dialogType":"search","custdialog":{
|
|
23727
|
+
name: '请选择',
|
|
23728
|
+
icon: '',
|
|
23729
|
+
custDialog: {
|
|
23730
|
+
selectNum: 1,
|
|
23731
|
+
conditions: [],
|
|
23732
|
+
mappingConf: [],
|
|
23733
|
+
custQueryJson: [],
|
|
23734
|
+
alias: condition.config.alias,
|
|
23735
|
+
type: 'custDialog',
|
|
23736
|
+
},
|
|
23737
|
+
}},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e()])}),(_vm.conditionBind && _vm.conditionBind.length > 0)?_c('div',{staticClass:"btn-wrap"},[_c('el-button',{staticStyle:{"margin-left":"20px"},attrs:{"size":"small","type":"primary","icon":"el-icon-search"},on:{"click":function($event){return _vm.search(true)}}},[_vm._v("\n 查询\n ")]),_c('el-button',{attrs:{"size":"small","icon":"el-icon-refresh"},on:{"click":_vm.reset}},[_vm._v("\n 重置\n ")])],1):_vm._e()],2):_vm._e(),_c('el-main',{ref:"customTableRef",staticClass:"custom-dialog_main"},[_c('el-table',{ref:"orgTable",staticClass:"org-table",staticStyle:{"width":"100%"},attrs:{"data":_vm.dialogData,"stripe":"","border":"","size":"medium","height":_vm.tableHeight},on:{"row-click":_vm.orgRowClick,"selection-change":_vm.orgTableSelection,"select":_vm.onTableSelect,"select-all":_vm.selectAll}},[(_vm.customDialog.selectNum != 1)?_c('el-table-column',{attrs:{"type":"selection","align":"center","width":"55"}}):_vm._e(),(_vm.customDialog.selectNum === 1)?_c('el-table-column',{attrs:{"align":"center","width":"55"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-radio',{staticClass:"textRadio",attrs:{"label":scope.$index},on:{"selection-change":_vm.orgTableSelection},model:{value:(_vm.tableRadioVal),callback:function ($$v) {_vm.tableRadioVal=$$v},expression:"tableRadioVal"}},[_vm._v("\n \n ")])]}}],null,false,918943478)}):_vm._e(),_c('el-table-column',{attrs:{"type":"index","width":"50","align":"center","label":"序号"}}),_vm._l((_vm.sortDisplayfield),function(field){return _c('el-table-column',{key:field.field,attrs:{"prop":field.field,"label":field.comment,"width":field.width || ''}})})],2)],1),_c('el-footer',[(_vm.customDialog.needPage)?_c('el-row',{staticStyle:{"padding-top":"15px","justify-content":"space-between"},attrs:{"type":"flex","justify":"end"}},[(_vm.customDialog.style == 2)?_c('el-button',{attrs:{"icon":_vm.toggleBtn,"size":"mini","type":"default"},on:{"click":_vm.toggleTree}}):_vm._e(),_c('el-pagination',{attrs:{"small":"","current-page":_vm.pagination.page,"page-sizes":[10, 20, 50, 100],"page-size":_vm.pagination.pageSize,"layout":"total, sizes, prev, pager, next, jumper","total":_vm.total},on:{"size-change":_vm.handleSizeChange,"current-change":_vm.handleCurrentChange}})],1):_vm._e()],1)],1)],1),_c('span',{staticClass:"dialog-footer",staticStyle:{"text-align":"center"},attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.dialogConfirm}},[_vm._v("\n 确认\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.dialogCancel}},[_vm._v("取 消")])],1)],1),_c('el-dialog',{attrs:{"title":"动态传入参数查询","width":"500px","visible":_vm.dialogVisible,"before-close":_vm.handleClose,"close-on-click-modal":false,"top":"6vh"},on:{"update:visible":function($event){_vm.dialogVisible=$event}}},[_c('table',{staticClass:"form-table",staticStyle:{"margin-left":"20px","width":"90%"},attrs:{"cellspacing":"0","cellpadding":"0","border":"0"}},_vm._l((_vm.conditionfieldTree),function(item,$index){return _c('tbody',{key:$index},[(item.defaultType == '4')?_c('tr',[_c('th',{attrs:{"width":"130px"}},[_vm._v(_vm._s(item.comment)+":")]),_c('td',[(item.type != 'date')?_c('ht-input',{staticStyle:{"width":"100%"},attrs:{"type":"text","placeholder":'请输入' + item.comment,"autocomplete":"off"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e(),(item.type == 'date')?_c('ht-date',{staticStyle:{"width":"100%"},attrs:{"placeholder":'请输入' + item.comment,"format":"yyyy-MM-dd"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e()],1)]):_vm._e()])}),0),_c('div',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"type":"primary"},on:{"click":_vm.handleSave}},[_vm._v("确 定")]),_c('el-button',{on:{"click":_vm.handleClose}},[_vm._v("取 消")])],1)]),_c('el-dialog',{attrs:{"visible":_vm.customDialogShowTree,"title":_vm.customDialog.name,"close-on-click-modal":false,"before-close":_vm.dialogCancelTree,"append-to-body":"","top":"6vh","width":"500px"},on:{"update:visible":function($event){_vm.customDialogShowTree=$event}}},[_c('el-container',{staticStyle:{"overflow":"auto"},style:(_vm.style)},[_c('el-tree',{ref:"tree",staticStyle:{"width":"100%"},attrs:{"data":_vm.props1,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","show-checkbox":_vm.customDialog.selectNum === -1,"check-on-click-node":true,"check-strictly":false,"lazy":"","load":_vm.loadTree,"default-expanded-keys":_vm.defaultExpandedKeys},on:{"node-click":_vm.treeClick,"check-change":_vm.getChecked}})],1),_c('span',{staticClass:"dialog-footer",staticStyle:{"text-align":"center"},attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.dialogTreeConfirm}},[_vm._v("\n 确认\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.dialogCancelTree}},[_vm._v("取 消")])],1)],1)],1)}
|
|
23738
|
+
var customDialogvue_type_template_id_3e2f487c_scoped_true_staticRenderFns = []
|
|
23739
|
+
|
|
23740
|
+
|
|
23741
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=3e2f487c&scoped=true&
|
|
23708
23742
|
|
|
23709
23743
|
// EXTERNAL MODULE: external "jquery"
|
|
23710
23744
|
var external_jquery_ = __webpack_require__("c5e1");
|
|
@@ -24013,117 +24047,268 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24013
24047
|
//
|
|
24014
24048
|
//
|
|
24015
24049
|
//
|
|
24016
|
-
|
|
24017
|
-
|
|
24018
|
-
|
|
24019
|
-
|
|
24020
|
-
|
|
24021
|
-
|
|
24022
|
-
|
|
24023
|
-
|
|
24024
|
-
|
|
24025
|
-
|
|
24026
|
-
|
|
24027
|
-
|
|
24028
|
-
|
|
24029
|
-
|
|
24030
|
-
|
|
24031
|
-
|
|
24032
|
-
|
|
24033
|
-
|
|
24034
|
-
|
|
24035
|
-
|
|
24036
|
-
|
|
24037
|
-
|
|
24038
|
-
|
|
24039
|
-
|
|
24040
|
-
|
|
24041
|
-
|
|
24042
|
-
|
|
24043
|
-
|
|
24044
|
-
|
|
24045
|
-
|
|
24046
|
-
|
|
24047
|
-
|
|
24048
|
-
|
|
24049
|
-
|
|
24050
|
-
|
|
24051
|
-
|
|
24052
|
-
|
|
24053
|
-
|
|
24054
|
-
|
|
24055
|
-
|
|
24056
|
-
|
|
24057
|
-
|
|
24058
|
-
|
|
24059
|
-
|
|
24060
|
-
|
|
24061
|
-
|
|
24062
|
-
|
|
24063
|
-
|
|
24064
|
-
|
|
24065
|
-
|
|
24066
|
-
|
|
24067
|
-
|
|
24068
|
-
|
|
24069
|
-
|
|
24070
|
-
|
|
24071
|
-
|
|
24072
|
-
|
|
24073
|
-
|
|
24074
|
-
|
|
24075
|
-
|
|
24076
|
-
|
|
24077
|
-
|
|
24078
|
-
|
|
24079
|
-
|
|
24080
|
-
|
|
24081
|
-
|
|
24082
|
-
|
|
24083
|
-
|
|
24084
|
-
|
|
24085
|
-
|
|
24086
|
-
|
|
24087
|
-
|
|
24088
|
-
|
|
24089
|
-
|
|
24090
|
-
|
|
24091
|
-
|
|
24092
|
-
|
|
24093
|
-
|
|
24094
|
-
|
|
24095
|
-
|
|
24096
|
-
|
|
24097
|
-
|
|
24098
|
-
|
|
24099
|
-
|
|
24100
|
-
|
|
24101
|
-
|
|
24102
|
-
|
|
24103
|
-
|
|
24104
|
-
|
|
24105
|
-
|
|
24106
|
-
|
|
24107
|
-
|
|
24108
|
-
|
|
24109
|
-
|
|
24110
|
-
|
|
24111
|
-
|
|
24112
|
-
|
|
24113
|
-
|
|
24114
|
-
|
|
24115
|
-
|
|
24116
|
-
|
|
24117
|
-
|
|
24118
|
-
|
|
24119
|
-
|
|
24120
|
-
|
|
24121
|
-
|
|
24122
|
-
|
|
24123
|
-
|
|
24050
|
+
//
|
|
24051
|
+
//
|
|
24052
|
+
//
|
|
24053
|
+
//
|
|
24054
|
+
//
|
|
24055
|
+
//
|
|
24056
|
+
//
|
|
24057
|
+
//
|
|
24058
|
+
//
|
|
24059
|
+
//
|
|
24060
|
+
//
|
|
24061
|
+
//
|
|
24062
|
+
//
|
|
24063
|
+
//
|
|
24064
|
+
//
|
|
24065
|
+
//
|
|
24066
|
+
//
|
|
24067
|
+
//
|
|
24068
|
+
//
|
|
24069
|
+
//
|
|
24070
|
+
//
|
|
24071
|
+
//
|
|
24072
|
+
//
|
|
24073
|
+
//
|
|
24074
|
+
//
|
|
24075
|
+
//
|
|
24076
|
+
//
|
|
24077
|
+
//
|
|
24078
|
+
//
|
|
24079
|
+
//
|
|
24080
|
+
//
|
|
24081
|
+
//
|
|
24082
|
+
//
|
|
24083
|
+
//
|
|
24084
|
+
//
|
|
24085
|
+
//
|
|
24086
|
+
//
|
|
24087
|
+
//
|
|
24088
|
+
//
|
|
24089
|
+
//
|
|
24090
|
+
//
|
|
24091
|
+
//
|
|
24092
|
+
//
|
|
24093
|
+
//
|
|
24094
|
+
//
|
|
24095
|
+
//
|
|
24096
|
+
//
|
|
24097
|
+
//
|
|
24098
|
+
//
|
|
24099
|
+
//
|
|
24100
|
+
//
|
|
24101
|
+
//
|
|
24102
|
+
//
|
|
24103
|
+
//
|
|
24104
|
+
//
|
|
24105
|
+
//
|
|
24106
|
+
//
|
|
24107
|
+
//
|
|
24108
|
+
//
|
|
24109
|
+
//
|
|
24110
|
+
//
|
|
24111
|
+
//
|
|
24112
|
+
//
|
|
24113
|
+
//
|
|
24114
|
+
//
|
|
24115
|
+
//
|
|
24116
|
+
//
|
|
24117
|
+
//
|
|
24118
|
+
//
|
|
24119
|
+
//
|
|
24120
|
+
//
|
|
24121
|
+
//
|
|
24122
|
+
//
|
|
24123
|
+
//
|
|
24124
|
+
//
|
|
24125
|
+
//
|
|
24126
|
+
//
|
|
24127
|
+
//
|
|
24128
|
+
//
|
|
24129
|
+
//
|
|
24130
|
+
//
|
|
24131
|
+
//
|
|
24132
|
+
//
|
|
24133
|
+
//
|
|
24134
|
+
//
|
|
24135
|
+
//
|
|
24136
|
+
//
|
|
24137
|
+
//
|
|
24138
|
+
//
|
|
24139
|
+
//
|
|
24140
|
+
//
|
|
24141
|
+
//
|
|
24142
|
+
//
|
|
24143
|
+
//
|
|
24144
|
+
//
|
|
24145
|
+
//
|
|
24146
|
+
//
|
|
24147
|
+
//
|
|
24148
|
+
//
|
|
24149
|
+
//
|
|
24150
|
+
//
|
|
24151
|
+
//
|
|
24152
|
+
//
|
|
24153
|
+
//
|
|
24154
|
+
//
|
|
24155
|
+
//
|
|
24156
|
+
//
|
|
24157
|
+
//
|
|
24158
|
+
//
|
|
24159
|
+
//
|
|
24160
|
+
//
|
|
24161
|
+
//
|
|
24162
|
+
//
|
|
24163
|
+
//
|
|
24164
|
+
//
|
|
24165
|
+
//
|
|
24166
|
+
//
|
|
24167
|
+
//
|
|
24168
|
+
//
|
|
24169
|
+
//
|
|
24170
|
+
//
|
|
24171
|
+
//
|
|
24172
|
+
//
|
|
24173
|
+
//
|
|
24174
|
+
//
|
|
24175
|
+
//
|
|
24176
|
+
//
|
|
24177
|
+
//
|
|
24178
|
+
//
|
|
24179
|
+
//
|
|
24180
|
+
//
|
|
24181
|
+
//
|
|
24182
|
+
//
|
|
24183
|
+
|
|
24184
|
+
|
|
24185
|
+
|
|
24186
|
+
|
|
24187
|
+
|
|
24188
|
+
|
|
24189
|
+
|
|
24190
|
+
|
|
24191
|
+
|
|
24192
|
+
/* harmony default export */ var customDialogvue_type_script_lang_js_ = ({
|
|
24193
|
+
name: 'CustomDialog',
|
|
24194
|
+
mixins: [src_customDialog, mixins_locale, inputName["a" /* default */], mixins_permission["a" /* default */], mixins_form["a" /* default */]],
|
|
24195
|
+
props: {
|
|
24196
|
+
custdialog: {
|
|
24197
|
+
type: Object,
|
|
24198
|
+
default: () => {
|
|
24199
|
+
return {};
|
|
24200
|
+
}
|
|
24201
|
+
},
|
|
24202
|
+
value: String,
|
|
24203
|
+
subIndex: Number,
|
|
24204
|
+
sunIndex: Number,
|
|
24205
|
+
subPath: String,
|
|
24206
|
+
currentSubData: Array,
|
|
24207
|
+
isReadOnly: {
|
|
24208
|
+
type: Boolean,
|
|
24209
|
+
default: false
|
|
24210
|
+
},
|
|
24211
|
+
dialogConfig: Object,
|
|
24212
|
+
dialogType: String
|
|
24213
|
+
},
|
|
24214
|
+
data() {
|
|
24215
|
+
return {
|
|
24216
|
+
startDate: '',
|
|
24217
|
+
// 日期控件
|
|
24218
|
+
endDate: '',
|
|
24219
|
+
// 日期控件
|
|
24220
|
+
tableHeight: 350,
|
|
24221
|
+
isEditInputShow: false,
|
|
24222
|
+
customValue: '',
|
|
24223
|
+
defualtTooltipplacement: 'bottom',
|
|
24224
|
+
dialogVisible: false,
|
|
24225
|
+
//打开树形输入动态参数值的对话框
|
|
24226
|
+
pageParam: {},
|
|
24227
|
+
//树形对话框参数
|
|
24228
|
+
conditionfieldTree: [],
|
|
24229
|
+
//树形对话框条件字段
|
|
24230
|
+
data: {
|
|
24231
|
+
qxdd: {}
|
|
24232
|
+
},
|
|
24233
|
+
inputSuffixWidth: 0,
|
|
24234
|
+
placeholderBo: '',
|
|
24235
|
+
quickSearch: '',
|
|
24236
|
+
//填写提示
|
|
24237
|
+
conditionBind: [],
|
|
24238
|
+
//参数查询字段
|
|
24239
|
+
nodeKey: 'ID_',
|
|
24240
|
+
//树形数据父Id
|
|
24241
|
+
customDialogShowList: false,
|
|
24242
|
+
customDialogShowTree: false,
|
|
24243
|
+
selectOrgProps: {
|
|
24244
|
+
label: 'name'
|
|
24245
|
+
},
|
|
24246
|
+
style: '',
|
|
24247
|
+
//对话框宽高
|
|
24248
|
+
selectOrgs: [],
|
|
24249
|
+
inputSuffixHeight: 33,
|
|
24250
|
+
config: null,
|
|
24251
|
+
updating: false,
|
|
24252
|
+
displayfield: [],
|
|
24253
|
+
//显示字段
|
|
24254
|
+
customDialog: {},
|
|
24255
|
+
queryParam: '',
|
|
24256
|
+
//查询条件输入的值
|
|
24257
|
+
props1: [],
|
|
24258
|
+
showData: [],
|
|
24259
|
+
checkBoxDataAll: [],
|
|
24260
|
+
//选中对象的集合
|
|
24261
|
+
defaultProps: {
|
|
24262
|
+
children: 'children',
|
|
24263
|
+
label: 'label',
|
|
24264
|
+
isLeaf: 'isLeaf'
|
|
24265
|
+
},
|
|
24266
|
+
propsData: [],
|
|
24267
|
+
querysShow: false,
|
|
24268
|
+
//是否显示搜索框
|
|
24269
|
+
tableRadioVal: '',
|
|
24270
|
+
isCurrentChange: false,
|
|
24271
|
+
//是否不执行 orgTableSelection方法
|
|
24272
|
+
param: [],
|
|
24273
|
+
//绑定的表单字段
|
|
24274
|
+
treeList: [],
|
|
24275
|
+
displayField: {},
|
|
24276
|
+
queryParams: [],
|
|
24277
|
+
placeholders: [],
|
|
24278
|
+
oldselectOrgs: [],
|
|
24279
|
+
combinationTreeData: [],
|
|
24280
|
+
combiTreeDisplayField: [],
|
|
24281
|
+
combinationTreeQuerys: [],
|
|
24282
|
+
combinationRule: {},
|
|
24283
|
+
toggleBtn: 'el-icon-arrow-left',
|
|
24284
|
+
treeShow: true,
|
|
24285
|
+
transtionWidth: '25%',
|
|
24286
|
+
leftTreeTitle: '',
|
|
24287
|
+
writeable: true,
|
|
24288
|
+
fixedParams: {},
|
|
24289
|
+
// 传过来的固定值
|
|
24290
|
+
executeScriptResult: null
|
|
24291
|
+
};
|
|
24292
|
+
},
|
|
24293
|
+
computed: {
|
|
24294
|
+
//默认展开的节点的 key 的数组
|
|
24295
|
+
defaultExpandedKeys: function () {
|
|
24296
|
+
if (this.props1 && this.props1.length > 0 && this.props1[0][this.nodeKey]) {
|
|
24124
24297
|
return [this.props1[0][this.nodeKey]];
|
|
24125
24298
|
}
|
|
24126
24299
|
return [];
|
|
24300
|
+
},
|
|
24301
|
+
jumpParamKey() {
|
|
24302
|
+
return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
|
|
24303
|
+
},
|
|
24304
|
+
// 是否保存成跳转url参数
|
|
24305
|
+
isHaveJumpUrl() {
|
|
24306
|
+
return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
24307
|
+
},
|
|
24308
|
+
sortDisplayfield() {
|
|
24309
|
+
return this.displayfield.sort((a, b) => {
|
|
24310
|
+
return a.sort > b.sort ? 1 : -1;
|
|
24311
|
+
});
|
|
24127
24312
|
}
|
|
24128
24313
|
},
|
|
24129
24314
|
watch: {
|
|
@@ -24159,131 +24344,151 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24159
24344
|
});
|
|
24160
24345
|
},
|
|
24161
24346
|
methods: {
|
|
24347
|
+
// 获取已选择的选择器数据id
|
|
24348
|
+
getSelectId(data) {
|
|
24349
|
+
if (!data || !data.length) {
|
|
24350
|
+
return '';
|
|
24351
|
+
}
|
|
24352
|
+
let ids = [];
|
|
24353
|
+
data.forEach(item => {
|
|
24354
|
+
ids.push(item.id);
|
|
24355
|
+
});
|
|
24356
|
+
return ids.join(',');
|
|
24357
|
+
},
|
|
24162
24358
|
showDialog() {
|
|
24163
24359
|
let isMounted = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
24164
|
-
const this_ = this;
|
|
24165
24360
|
this.fixedParams = {};
|
|
24361
|
+
// 如果已存在配置信息就不去请求配置信息 直接初始化数据
|
|
24362
|
+
if (this.dialogConfig) {
|
|
24363
|
+
this.initDialog(this.dialogConfig, isMounted);
|
|
24364
|
+
return;
|
|
24365
|
+
}
|
|
24166
24366
|
var alias = this.custdialog.custDialog.alias;
|
|
24167
24367
|
this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
|
|
24168
|
-
|
|
24169
|
-
|
|
24170
|
-
|
|
24171
|
-
|
|
24172
|
-
|
|
24173
|
-
|
|
24174
|
-
|
|
24175
|
-
|
|
24176
|
-
|
|
24177
|
-
|
|
24178
|
-
|
|
24179
|
-
|
|
24180
|
-
|
|
24181
|
-
|
|
24182
|
-
|
|
24183
|
-
|
|
24184
|
-
|
|
24185
|
-
|
|
24186
|
-
|
|
24187
|
-
|
|
24188
|
-
|
|
24368
|
+
this.initDialog(customDialog, isMounted);
|
|
24369
|
+
});
|
|
24370
|
+
},
|
|
24371
|
+
initDialog(customDialog, isMounted) {
|
|
24372
|
+
let alias = this.custdialog.custDialog.alias;
|
|
24373
|
+
const this_ = this;
|
|
24374
|
+
if (!customDialog || !customDialog.alias) {
|
|
24375
|
+
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
24376
|
+
return;
|
|
24377
|
+
}
|
|
24378
|
+
if (customDialog.style == 1) {
|
|
24379
|
+
var displaylist = JSON.parse(customDialog.displayfield);
|
|
24380
|
+
this_.nodeKey = displaylist.id;
|
|
24381
|
+
}
|
|
24382
|
+
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
24383
|
+
let obj = {};
|
|
24384
|
+
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
24385
|
+
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
24386
|
+
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
24387
|
+
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
24388
|
+
if (exp) {
|
|
24389
|
+
const params = JSON.parse(exp);
|
|
24390
|
+
if (params.pageBean) {
|
|
24391
|
+
this.pagination = {
|
|
24392
|
+
...params.pageBean
|
|
24393
|
+
};
|
|
24189
24394
|
}
|
|
24190
24395
|
}
|
|
24191
|
-
|
|
24192
|
-
|
|
24193
|
-
|
|
24194
|
-
|
|
24195
|
-
|
|
24196
|
-
|
|
24197
|
-
|
|
24198
|
-
|
|
24199
|
-
|
|
24200
|
-
|
|
24201
|
-
|
|
24202
|
-
|
|
24203
|
-
|
|
24204
|
-
|
|
24205
|
-
|
|
24206
|
-
|
|
24207
|
-
|
|
24208
|
-
|
|
24209
|
-
}
|
|
24210
|
-
}
|
|
24211
|
-
}
|
|
24212
|
-
|
|
24213
|
-
|
|
24214
|
-
|
|
24215
|
-
|
|
24216
|
-
|
|
24217
|
-
|
|
24218
|
-
|
|
24219
|
-
|
|
24220
|
-
|
|
24221
|
-
|
|
24222
|
-
|
|
24223
|
-
|
|
24224
|
-
|
|
24225
|
-
|
|
24226
|
-
|
|
24227
|
-
|
|
24228
|
-
|
|
24229
|
-
|
|
24230
|
-
|
|
24231
|
-
|
|
24232
|
-
}
|
|
24233
|
-
|
|
24234
|
-
|
|
24235
|
-
|
|
24236
|
-
|
|
24237
|
-
|
|
24238
|
-
|
|
24239
|
-
|
|
24240
|
-
|
|
24241
|
-
|
|
24242
|
-
|
|
24243
|
-
|
|
24244
|
-
|
|
24245
|
-
|
|
24246
|
-
|
|
24247
|
-
|
|
24248
|
-
|
|
24249
|
-
|
|
24250
|
-
|
|
24251
|
-
|
|
24252
|
-
customDialog: customDialog
|
|
24253
|
-
}, isMounted);
|
|
24254
|
-
}, 100);
|
|
24255
|
-
} else if (customDialog.style == 1) {
|
|
24256
|
-
//树形
|
|
24257
|
-
this_.pageParam = {
|
|
24396
|
+
}
|
|
24397
|
+
//对话框按表单字段查询(参数传入的)
|
|
24398
|
+
let bindList = this_.custdialog.custDialog.conditions;
|
|
24399
|
+
this_.param = []; //绑定的表单字段
|
|
24400
|
+
if (bindList.length > 0) {
|
|
24401
|
+
bindList.forEach(ele => {
|
|
24402
|
+
//绑定表单字段
|
|
24403
|
+
if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
|
|
24404
|
+
let obj = {};
|
|
24405
|
+
obj.field = ele.field;
|
|
24406
|
+
obj.bind = ele.bind;
|
|
24407
|
+
obj.bindType = ele.bindType;
|
|
24408
|
+
this_.param.push(obj);
|
|
24409
|
+
}
|
|
24410
|
+
//取值对象为脚本时获取value
|
|
24411
|
+
if (ele.bindType === 3) {
|
|
24412
|
+
this_.$requestConfig.executeScript(ele.bind).then(res => {
|
|
24413
|
+
this_.executeScriptResult = res && res.value;
|
|
24414
|
+
});
|
|
24415
|
+
}
|
|
24416
|
+
});
|
|
24417
|
+
}
|
|
24418
|
+
//判断对话框查询是否有条件
|
|
24419
|
+
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
24420
|
+
this_.quickSearch = ''; //填写提示 placeholder
|
|
24421
|
+
this_.conditionBind = [];
|
|
24422
|
+
let queryParams = [];
|
|
24423
|
+
let placeholders = [];
|
|
24424
|
+
if (userInputList.length > 0) {
|
|
24425
|
+
userInputList.forEach(ele => {
|
|
24426
|
+
var obj = {};
|
|
24427
|
+
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
24428
|
+
if (ele.defaultType == '1') {
|
|
24429
|
+
obj[ele.field] = '';
|
|
24430
|
+
queryParams.push(obj);
|
|
24431
|
+
// queryParams[ele.field] = "";
|
|
24432
|
+
this_.conditionBind.push(ele);
|
|
24433
|
+
placeholders.push('请输入' + ele.comment);
|
|
24434
|
+
}
|
|
24435
|
+
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
24436
|
+
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
24437
|
+
}
|
|
24438
|
+
});
|
|
24439
|
+
this.$set(this, 'queryParams', queryParams);
|
|
24440
|
+
this.$set(this, 'placeholders', placeholders);
|
|
24441
|
+
}
|
|
24442
|
+
//判断是否显示条件查询输入框
|
|
24443
|
+
if (this_.quickSearch != '') {
|
|
24444
|
+
this_.querysShow = true;
|
|
24445
|
+
} else {
|
|
24446
|
+
this_.querysShow = true;
|
|
24447
|
+
}
|
|
24448
|
+
this_.quickSearch = '请输入' + this.quickSearch + '查询';
|
|
24449
|
+
this_.style = 'height:' + customDialog.height + 'px';
|
|
24450
|
+
if (window.screen.height && window.screen.height <= 900) {
|
|
24451
|
+
this.style = 'height:440px';
|
|
24452
|
+
}
|
|
24453
|
+
if (customDialog.style == 0 || customDialog.style == 2) {
|
|
24454
|
+
//列表
|
|
24455
|
+
setTimeout(() => {
|
|
24456
|
+
this_.customDialogShow({
|
|
24258
24457
|
alias: alias,
|
|
24259
24458
|
customDialog: customDialog
|
|
24260
|
-
};
|
|
24261
|
-
|
|
24262
|
-
|
|
24263
|
-
|
|
24264
|
-
|
|
24265
|
-
|
|
24266
|
-
|
|
24267
|
-
|
|
24268
|
-
|
|
24269
|
-
|
|
24270
|
-
|
|
24271
|
-
|
|
24272
|
-
|
|
24459
|
+
}, isMounted);
|
|
24460
|
+
}, 100);
|
|
24461
|
+
} else if (customDialog.style == 1) {
|
|
24462
|
+
//树形
|
|
24463
|
+
this_.pageParam = {
|
|
24464
|
+
alias: alias,
|
|
24465
|
+
customDialog: customDialog
|
|
24466
|
+
};
|
|
24467
|
+
this_.customDialog = customDialog;
|
|
24468
|
+
let param = {};
|
|
24469
|
+
this_.conditionfieldTree = [];
|
|
24470
|
+
//判断是否存在条件
|
|
24471
|
+
if (customDialog.conditionfield) {
|
|
24472
|
+
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
24473
|
+
if (this_.conditionfieldTree.length > 0) {
|
|
24474
|
+
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
24475
|
+
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
24476
|
+
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
24477
|
+
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
24273
24478
|
}
|
|
24274
24479
|
}
|
|
24275
24480
|
}
|
|
24276
|
-
|
|
24277
|
-
|
|
24278
|
-
|
|
24279
|
-
|
|
24280
|
-
|
|
24281
|
-
|
|
24282
|
-
|
|
24283
|
-
|
|
24481
|
+
}
|
|
24482
|
+
//有动态传入的字段
|
|
24483
|
+
if (!isMounted) {
|
|
24484
|
+
if (JSON.stringify(param) != '{}') {
|
|
24485
|
+
this_.dialogVisible = true;
|
|
24486
|
+
} else {
|
|
24487
|
+
//无动态传入的字段
|
|
24488
|
+
this_.customDialogTreeShow(this_.pageParam);
|
|
24284
24489
|
}
|
|
24285
24490
|
}
|
|
24286
|
-
}
|
|
24491
|
+
}
|
|
24287
24492
|
},
|
|
24288
24493
|
initTableHeight() {
|
|
24289
24494
|
this.$nextTick(() => {
|
|
@@ -24412,13 +24617,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24412
24617
|
}
|
|
24413
24618
|
// 添加用户id 岗位id 组织id
|
|
24414
24619
|
try {
|
|
24415
|
-
if (this.$requestConfig.getUserId()) {
|
|
24620
|
+
if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
|
|
24416
24621
|
ctx.userId = this.$requestConfig.getUserId();
|
|
24417
24622
|
}
|
|
24418
|
-
if (this.$requestConfig.getOrgId()) {
|
|
24623
|
+
if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
|
|
24419
24624
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
24420
24625
|
}
|
|
24421
|
-
if (this.$requestConfig.getPostId()) {
|
|
24626
|
+
if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
|
|
24422
24627
|
ctx.postId = this.$requestConfig.getPostId();
|
|
24423
24628
|
}
|
|
24424
24629
|
} catch (e) {
|
|
@@ -24503,8 +24708,19 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24503
24708
|
this.selectOrgs = this.convertComment2Field(str, field);
|
|
24504
24709
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
24505
24710
|
var val = '';
|
|
24506
|
-
str.forEach(item => {
|
|
24507
|
-
|
|
24711
|
+
str.forEach((item, index) => {
|
|
24712
|
+
// 此处添加url跳转参数保存逻辑
|
|
24713
|
+
if (this.jumpParamKey && this.isHaveJumpUrl && (this.modelName == 'data.' + con['target'][0] || this.modelName.includes('item.') && con['target'][0].endsWith(this.modelName.split('.')[1]))) {
|
|
24714
|
+
let jumpParamKey = this.jumpParamKey;
|
|
24715
|
+
let jumpParamValue = this.jumpParamKey;
|
|
24716
|
+
if (this.jumpParamKey.includes(':')) {
|
|
24717
|
+
jumpParamKey = this.jumpParamKey.split(':')[0];
|
|
24718
|
+
jumpParamValue = this.jumpParamKey.split(':')[1];
|
|
24719
|
+
}
|
|
24720
|
+
val += `${item[con.from]}¯${jumpParamKey}:${this.selectOrgs[index][jumpParamValue]},`;
|
|
24721
|
+
} else {
|
|
24722
|
+
val += item[con.from] + ',';
|
|
24723
|
+
}
|
|
24508
24724
|
});
|
|
24509
24725
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
24510
24726
|
utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
|
|
@@ -24575,19 +24791,36 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24575
24791
|
};
|
|
24576
24792
|
}
|
|
24577
24793
|
//用户输入的
|
|
24794
|
+
let flag = false;
|
|
24578
24795
|
if (this.queryParams.length != 0 && this.queryParams[0] != '') {
|
|
24579
24796
|
this.conditionBind.forEach((item, index) => {
|
|
24797
|
+
// 日期范围特殊处理
|
|
24798
|
+
if (item.dbType == 'date' && item.condition == 'BETWEEN') {
|
|
24799
|
+
if (this.queryParams[index].startDate && !this.queryParams[index].endDate || !this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
24800
|
+
flag = true;
|
|
24801
|
+
this.$message.info('日期范围未填写完整!');
|
|
24802
|
+
return;
|
|
24803
|
+
}
|
|
24804
|
+
if (this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
24805
|
+
this.queryParams[index][item.field] = `${this.queryParams[index].startDate},${this.queryParams[index].endDate}`;
|
|
24806
|
+
} else {
|
|
24807
|
+
this.queryParams[index][item.field] = '';
|
|
24808
|
+
}
|
|
24809
|
+
}
|
|
24580
24810
|
if (this.queryParams[index][item.field]) {
|
|
24581
24811
|
querys.push({
|
|
24582
24812
|
property: item.field,
|
|
24583
24813
|
value: this.queryParams[index][item.field],
|
|
24584
24814
|
group: 'main',
|
|
24585
|
-
operation:
|
|
24815
|
+
operation: item.condition,
|
|
24586
24816
|
relation: 'AND'
|
|
24587
24817
|
});
|
|
24588
24818
|
}
|
|
24589
24819
|
});
|
|
24590
24820
|
}
|
|
24821
|
+
if (flag) {
|
|
24822
|
+
return;
|
|
24823
|
+
}
|
|
24591
24824
|
//参数传入的查询拼接
|
|
24592
24825
|
if (this.param) {
|
|
24593
24826
|
this.param.forEach(item => {
|
|
@@ -24626,13 +24859,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24626
24859
|
queryParamMap.total = pageBean.pageBean.total;
|
|
24627
24860
|
// 添加用户id 岗位id 组织id
|
|
24628
24861
|
try {
|
|
24629
|
-
if (this.$requestConfig.getUserId()) {
|
|
24862
|
+
if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
|
|
24630
24863
|
ctx.userId = this.$requestConfig.getUserId();
|
|
24631
24864
|
}
|
|
24632
|
-
if (this.$requestConfig.getOrgId()) {
|
|
24865
|
+
if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
|
|
24633
24866
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
24634
24867
|
}
|
|
24635
|
-
if (this.$requestConfig.getPostId()) {
|
|
24868
|
+
if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
|
|
24636
24869
|
ctx.postId = this.$requestConfig.getPostId();
|
|
24637
24870
|
}
|
|
24638
24871
|
} catch (e) {
|
|
@@ -24653,12 +24886,14 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24653
24886
|
value: queryParamMap[bindKey] || ctx[bindKey] || ''
|
|
24654
24887
|
};
|
|
24655
24888
|
});
|
|
24656
|
-
param.querys = queryList;
|
|
24889
|
+
param.querys = queryList || [];
|
|
24657
24890
|
if (this.customDialog.needPage) {
|
|
24658
24891
|
param.pageBean = obj;
|
|
24659
24892
|
} else {
|
|
24660
24893
|
param.pageBean.pageSize = -1;
|
|
24661
24894
|
}
|
|
24895
|
+
// 日期格式的 改成数组
|
|
24896
|
+
// this.changeDateFormat(param)
|
|
24662
24897
|
//构造请求的参数
|
|
24663
24898
|
let requestParam = {
|
|
24664
24899
|
pageBean: param,
|
|
@@ -24698,6 +24933,15 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24698
24933
|
}
|
|
24699
24934
|
this.tableRadioVal = '';
|
|
24700
24935
|
},
|
|
24936
|
+
changeDateFormat(param) {
|
|
24937
|
+
let dateValidate1 = /^\d{4}\-\d{2}\-\d{2}$/;
|
|
24938
|
+
let dateValidate2 = /^([1-2][0-9][0-9][0-9]-[0-1]{0,1}[0-9]-[0-3]{0,1}[0-9])\s(20|21|22|23|[0-1]\d):[0-5]\d:[0-5]\d$/;
|
|
24939
|
+
Object.keys(param).forEach(key => {
|
|
24940
|
+
if (param[key] && typeof param[key] == 'string' && param[key].includes(',') && (dateValidate1.test(param[key].split(',')[0]) || dateValidate2.test(param[key].split(',')[0]))) {
|
|
24941
|
+
param[key] = param[key].split(',');
|
|
24942
|
+
}
|
|
24943
|
+
});
|
|
24944
|
+
},
|
|
24701
24945
|
getSearchValueByKey() {
|
|
24702
24946
|
let queryParamsObj = {};
|
|
24703
24947
|
if (this.queryParams.length > 0) {
|
|
@@ -24923,6 +25167,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24923
25167
|
},
|
|
24924
25168
|
// 同步选择结果
|
|
24925
25169
|
syncInputValue() {
|
|
25170
|
+
// 对话框跳转url需要两个参数 1当前控件绑定的对象参数modelName 2对话框配置中配置的key名称
|
|
25171
|
+
// 同步值时,如果有绑定url跳转参数,值格式为 名称¯跳转key:跳转value
|
|
24926
25172
|
let thisIndex = null; //当前数据所在下标
|
|
24927
25173
|
let parentIndex = null; //父节点所在下标
|
|
24928
25174
|
if (this.$parent.$el) {
|
|
@@ -24996,13 +25242,39 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24996
25242
|
}
|
|
24997
25243
|
}
|
|
24998
25244
|
}
|
|
25245
|
+
// 如果是查询中使用的对话框
|
|
25246
|
+
if (this.dialogType == 'search') {
|
|
25247
|
+
let returnVal = [];
|
|
25248
|
+
str.forEach(item => {
|
|
25249
|
+
returnVal.push(decodeURIComponent(item[this.modelName]));
|
|
25250
|
+
});
|
|
25251
|
+
this.$emit('updateInput', returnVal.join(','));
|
|
25252
|
+
return;
|
|
25253
|
+
}
|
|
24999
25254
|
const pInst = utils["a" /* default */].getOnlineFormInstance(this);
|
|
25000
25255
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
25001
25256
|
var val = '';
|
|
25002
25257
|
var from = con.from.toLowerCase();
|
|
25003
25258
|
str.forEach(item => {
|
|
25259
|
+
// 如果有绑定url跳转参数 需获取跳转参数的key
|
|
25004
25260
|
if (item) {
|
|
25005
|
-
|
|
25261
|
+
if (this.jumpParamKey && this.isHaveJumpUrl && (this.modelName == 'data.' + con['target'][0] || this.modelName.includes('item.') && con['target'][0].endsWith(this.modelName.split('.')[1]))) {
|
|
25262
|
+
// 如果有冒号 冒号前面是传值key 后面是取值key
|
|
25263
|
+
let jumpParamKey = this.jumpParamKey;
|
|
25264
|
+
let jumpParamValue = this.jumpParamKey;
|
|
25265
|
+
if (this.jumpParamKey.includes(':')) {
|
|
25266
|
+
jumpParamKey = this.jumpParamKey.split(':')[0];
|
|
25267
|
+
jumpParamValue = this.jumpParamKey.split(':')[1];
|
|
25268
|
+
}
|
|
25269
|
+
// 需根据key 找到对应 返回数据的返回名称
|
|
25270
|
+
let returnMap = returnStr.find(k => {
|
|
25271
|
+
return k.field.toLowerCase() == jumpParamValue.toLowerCase();
|
|
25272
|
+
});
|
|
25273
|
+
let returnMapKey = returnMap ? returnMap.comment : '';
|
|
25274
|
+
val += `${decodeURIComponent(item[from])}¯${jumpParamKey}:${decodeURIComponent(item[returnMapKey])},`;
|
|
25275
|
+
} else {
|
|
25276
|
+
val += decodeURIComponent(item[from]) + ',';
|
|
25277
|
+
}
|
|
25006
25278
|
}
|
|
25007
25279
|
});
|
|
25008
25280
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
@@ -25021,7 +25293,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25021
25293
|
const _val = val.substring(0, val.length - 1);
|
|
25022
25294
|
if (path) {
|
|
25023
25295
|
if (this.modelName && this.modelName.endsWith(path)) {
|
|
25024
|
-
// this.$emit('input', _val)
|
|
25025
25296
|
this.$emit('updateInput', _val);
|
|
25026
25297
|
}
|
|
25027
25298
|
utils["a" /* default */].setValueByPath(pInst, `${pInst.data ? 'data.' : 'model.'}${path}`, _val, thisIndex);
|
|
@@ -25253,8 +25524,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25253
25524
|
});
|
|
25254
25525
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=script&lang=js&
|
|
25255
25526
|
/* harmony default export */ var src_customDialogvue_type_script_lang_js_ = (customDialogvue_type_script_lang_js_);
|
|
25256
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=
|
|
25257
|
-
var
|
|
25527
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=3e2f487c&prod&lang=scss&scoped=true&
|
|
25528
|
+
var customDialogvue_type_style_index_0_id_3e2f487c_prod_lang_scss_scoped_true_ = __webpack_require__("aeed");
|
|
25258
25529
|
|
|
25259
25530
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue
|
|
25260
25531
|
|
|
@@ -25267,31 +25538,47 @@ var customDialogvue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true_ =
|
|
|
25267
25538
|
|
|
25268
25539
|
var customDialog_component = normalizeComponent(
|
|
25269
25540
|
src_customDialogvue_type_script_lang_js_,
|
|
25270
|
-
|
|
25271
|
-
|
|
25541
|
+
customDialogvue_type_template_id_3e2f487c_scoped_true_render,
|
|
25542
|
+
customDialogvue_type_template_id_3e2f487c_scoped_true_staticRenderFns,
|
|
25272
25543
|
false,
|
|
25273
25544
|
null,
|
|
25274
|
-
"
|
|
25545
|
+
"3e2f487c",
|
|
25275
25546
|
null
|
|
25276
25547
|
|
|
25277
25548
|
)
|
|
25278
25549
|
|
|
25279
25550
|
/* harmony default export */ var CustomDialog_src_customDialog = (customDialog_component.exports);
|
|
25280
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=
|
|
25281
|
-
var
|
|
25282
|
-
|
|
25283
|
-
|
|
25284
|
-
|
|
25285
|
-
|
|
25286
|
-
|
|
25287
|
-
|
|
25288
|
-
|
|
25551
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=384dd988&scoped=true&
|
|
25552
|
+
var customMobileDialogvue_type_template_id_384dd988_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('van-action-sheet',{staticClass:"mobile-van-action min-height-action",attrs:{"cancel-text":_vm.sureButtonText,"get-container":"body"},on:{"cancel":_vm.handleDialogSure,"click-overlay":_vm.dialogCancel,"opened":_vm.afterOpen},scopedSlots:_vm._u([{key:"description",fn:function(){return [_c('span',{staticClass:"dialog-mobile__title"},[_vm._v(_vm._s(_vm.customDialog.name))]),_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":_vm.dialogCancel}})]},proxy:true}]),model:{value:(_vm.customDialogShowList),callback:function ($$v) {_vm.customDialogShowList=$$v},expression:"customDialogShowList"}},[[_c('div',{staticClass:"search-box"},[_c('ht-icon',{staticClass:"unfold-icon",attrs:{"scale":"1.2","name":_vm.isShowMoreSearch ? 'upFold' : 'downUnfold'},on:{"click":function($event){_vm.isShowMoreSearch = !_vm.isShowMoreSearch}}}),_vm._l((_vm.conditionBind),function(condition,index){return _c('div',{directives:[{name:"show",rawName:"v-show",value:(index === 0 || (index > 0 && _vm.isShowMoreSearch)),expression:"index === 0 || (index > 0 && isShowMoreSearch)"}],key:index,staticClass:"search-item"},[_c('p',[_vm._v(_vm._s(condition.comment)+":")]),(condition.controllerType == '1')?_c('div',[_c('el-input',{attrs:{"size":"small","clearable":"","placeholder":_vm.placeholders[index]},on:{"change":_vm.searchInputChange},nativeOn:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.hideSearch($event)}},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '2')?_c('div',_vm._l((condition.config.options),function(itemR,$index1){return _c('el-radio',{key:$index1,attrs:{"label":itemR.key},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}},[_vm._v("\n "+_vm._s(itemR.value)+"\n ")])}),1):_vm._e(),(condition.controllerType == '3')?_c('div',[(condition.config.choiceType == 'static')?_c('ht-select',{attrs:{"multiple":condition.config.multiple,"options":condition.config.options,"popper-class":"dialog-select"},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}}):_c('ht-dictionary',{attrs:{"dickey":condition.config.dic,"filterable":condition.config.filterable,"popper-class":"dialog-select"},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '4')?_c('div',[_c('eip-tag',{attrs:{"tag-key":condition.config.tag,"filterable":condition.config.filterable,"expand":condition.config.expand},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '6')?_c('div',[(condition.condition == 'BETWEEN')?_c('div',{staticStyle:{"display":"flex","align-items":"center"}},[_c('ht-input',{attrs:{"placeholder":"开始日期","readonly":""},nativeOn:{"click":function($event){return _vm.showDate(index, 'startDate')}},model:{value:(_vm.queryParams[index].startDate),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "startDate", $$v)},expression:"queryParams[index].startDate"}}),_c('span',{staticStyle:{"margin":"0 10px"}},[_vm._v("至")]),_c('ht-input',{attrs:{"placeholder":"结束日期","readonly":""},nativeOn:{"click":function($event){return _vm.showDate(index, 'endDate')}},model:{value:(_vm.queryParams[index].endDate),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "endDate", $$v)},expression:"queryParams[index].endDate"}})],1):_c('ht-input',{attrs:{"readonly":""},nativeOn:{"click":function($event){return _vm.showDate(index, condition.field)}},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '7')?_c('div',[(condition.config.alias == 'user')?_c('ht-user-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25553
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25554
|
+
}}}):_vm._e(),(condition.config.alias == 'org')?_c('ht-org-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25555
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25556
|
+
}}}):_vm._e(),(condition.config.alias == 'role')?_c('ht-role-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25557
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25558
|
+
}}}):_vm._e(),(condition.config.alias == 'job')?_c('ht-job-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25559
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25560
|
+
}}}):_vm._e(),(condition.config.alias == 'post')?_c('ht-post-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25561
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25562
|
+
}}}):_vm._e(),(condition.config.alias == 'dimension')?_c('ht-dimension-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25563
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25564
|
+
}}}):_vm._e()],1):_vm._e(),(condition.controllerType == '5')?_c('div',[_c('ht-custom-dialog',{attrs:{"model-name":condition.config.keyBind,"dialogType":"search","custdialog":{
|
|
25565
|
+
name: '请选择',
|
|
25566
|
+
icon: '',
|
|
25567
|
+
custDialog: {
|
|
25568
|
+
selectNum: 1,
|
|
25569
|
+
conditions: [],
|
|
25570
|
+
mappingConf: [],
|
|
25571
|
+
custQueryJson: [],
|
|
25572
|
+
alias: condition.config.alias,
|
|
25573
|
+
type: 'custDialog',
|
|
25574
|
+
},
|
|
25575
|
+
}},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e()])}),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isShowMoreSearch),expression:"isShowMoreSearch"}],staticClass:"search-btns"},[_c('el-button',{staticStyle:{"margin-left":"20px"},attrs:{"size":"small","type":"primary"},on:{"click":_vm.hideSearch}},[_vm._v("\n 搜索\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.reset}},[_vm._v("重置")])],1)],2)],(_vm.customDialog.style == 2)?_c('van-popover',{staticClass:"custom-dialog-popover",attrs:{"trigger":"click"},scopedSlots:_vm._u([{key:"reference",fn:function(){return [_c('div',{staticClass:"mobile-tree-select"},[(_vm.treeSelectText)?_c('span',{staticClass:"active-text"},[_vm._v("\n "+_vm._s(_vm.treeSelectText)+"\n ")]):_c('span',[_vm._v("请选择"+_vm._s(_vm.leftTreeTitle))]),(_vm.treeSelectText)?_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":function($event){$event.stopPropagation();return _vm.clearTreeSelect($event)}}}):_vm._e()],1)]},proxy:true}],null,false,3189508719),model:{value:(_vm.isSelectTreeShow),callback:function ($$v) {_vm.isSelectTreeShow=$$v},expression:"isSelectTreeShow"}},[_c('div',{staticClass:"custom-dialog-popover_content"},[_c('el-tree',{ref:"combinationTree",attrs:{"data":_vm.combinationTreeData,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","check-on-click-node":true},on:{"node-click":_vm.combiTreeClick}})],1)]):_vm._e(),_c('van-pull-refresh',{on:{"refresh":_vm.onRefresh},model:{value:(_vm.isDownLoading),callback:function ($$v) {_vm.isDownLoading=$$v},expression:"isDownLoading"}},[_c('van-list',{attrs:{"finished":_vm.finished,"finished-text":"没有更多了","offset":20,"immediate-check":false},on:{"load":_vm.loadMore},model:{value:(_vm.isPullLoading),callback:function ($$v) {_vm.isPullLoading=$$v},expression:"isPullLoading"}},_vm._l((_vm.dialogData),function(item,index){return _c('van-cell',{key:index,attrs:{"clickable":""},scopedSlots:_vm._u([{key:"icon",fn:function(){return [_c('van-checkbox',{attrs:{"value":_vm.indexArray(_vm.selectIds, item) > -1,"shape":_vm.customDialog.selectNum === 1 ? 'round' : 'square'},on:{"click":function($event){return _vm.checkboxChange(item)}}})]},proxy:true}],null,true)},[_c('div',{staticClass:"custom-mobile_box"},_vm._l((_vm.sortDisplayfield),function(field){return _c('div',{key:field.field,staticClass:"custom-mobile_box_item"},[_c('label',[_vm._v(_vm._s(field.comment)+":")]),_c('div',[_vm._v(_vm._s(item[field.field]))])])}),0)])}),1)],1)],2),_c('van-action-sheet',{staticClass:"mobile-van-action",attrs:{"cancel-text":_vm.sureButtonText,"get-container":"body"},on:{"cancel":_vm.handleSave},scopedSlots:_vm._u([{key:"description",fn:function(){return [_c('span',{staticClass:"dialog-mobile__title"},[_vm._v("动态传入参数查询")]),_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":function($event){_vm.dialogVisible = false}}})]},proxy:true}]),model:{value:(_vm.dialogVisible),callback:function ($$v) {_vm.dialogVisible=$$v},expression:"dialogVisible"}},[_c('van-cell-group',_vm._l((_vm.conditionfieldTree.filter(
|
|
25289
25576
|
function (k) { return k.defaultType == '4'; }
|
|
25290
|
-
)),function(item,$index){return _c('div',{key:$index},[(item.type != 'date')?_c('van-field',{attrs:{"label":item.comment,"placeholder":'请输入' + item.comment},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e(),(item.type == 'date')?_c('ht-date',{staticStyle:{"width":"100%"},attrs:{"placeholder":'请选择' + item.comment,"format":"yyyy-MM-dd"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e()],1)}),0)],1),_c('van-action-sheet',{staticClass:"mobile-van-action",attrs:{"cancel-text":_vm.sureButtonText,"get-container":"body"},on:{"cancel":_vm.dialogTreeConfirm},scopedSlots:_vm._u([{key:"description",fn:function(){return [_c('span',{staticClass:"dialog-mobile__title"},[_vm._v(_vm._s(_vm.customDialog.name))]),_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":_vm.dialogCancelTree}})]},proxy:true}]),model:{value:(_vm.customDialogShowTree),callback:function ($$v) {_vm.customDialogShowTree=$$v},expression:"customDialogShowTree"}},[_c('el-tree',{ref:"tree",staticStyle:{"width":"100%"},attrs:{"data":_vm.props1,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","show-checkbox":_vm.customDialog.selectNum === -1,"check-on-click-node":true,"check-strictly":false,"lazy":"","load":_vm.loadTree,"default-expanded-keys":_vm.defaultExpandedKeys},on:{"node-click":_vm.treeClick,"check-change":_vm.getChecked}})],1)],1)}
|
|
25291
|
-
var
|
|
25577
|
+
)),function(item,$index){return _c('div',{key:$index},[(item.type != 'date')?_c('van-field',{attrs:{"label":item.comment,"placeholder":'请输入' + item.comment},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e(),(item.type == 'date')?_c('ht-date',{staticStyle:{"width":"100%"},attrs:{"placeholder":'请选择' + item.comment,"format":"yyyy-MM-dd"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e()],1)}),0)],1),_c('van-action-sheet',{staticClass:"mobile-van-action",attrs:{"cancel-text":_vm.sureButtonText,"get-container":"body"},on:{"cancel":_vm.dialogTreeConfirm},scopedSlots:_vm._u([{key:"description",fn:function(){return [_c('span',{staticClass:"dialog-mobile__title"},[_vm._v(_vm._s(_vm.customDialog.name))]),_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":_vm.dialogCancelTree}})]},proxy:true}]),model:{value:(_vm.customDialogShowTree),callback:function ($$v) {_vm.customDialogShowTree=$$v},expression:"customDialogShowTree"}},[_c('el-tree',{ref:"tree",staticStyle:{"width":"100%"},attrs:{"data":_vm.props1,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","show-checkbox":_vm.customDialog.selectNum === -1,"check-on-click-node":true,"check-strictly":false,"lazy":"","load":_vm.loadTree,"default-expanded-keys":_vm.defaultExpandedKeys},on:{"node-click":_vm.treeClick,"check-change":_vm.getChecked}})],1),(_vm.isShowDatePop)?_c('van-popup',{attrs:{"position":"bottom","round":""},model:{value:(_vm.isShowDatePop),callback:function ($$v) {_vm.isShowDatePop=$$v},expression:"isShowDatePop"}},[_c('van-datetime-picker',{attrs:{"type":_vm.dateType,"title":"选择日期","show-toolbar":true},on:{"cancel":function($event){_vm.isShowDatePop = false},"confirm":_vm.confirmFn},model:{value:(_vm.currentDate),callback:function ($$v) {_vm.currentDate=$$v},expression:"currentDate"}})],1):_vm._e()],1)}
|
|
25578
|
+
var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns = []
|
|
25292
25579
|
|
|
25293
25580
|
|
|
25294
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=
|
|
25581
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=384dd988&scoped=true&
|
|
25295
25582
|
|
|
25296
25583
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/customMobileDialog.vue?vue&type=script&lang=js&
|
|
25297
25584
|
//
|
|
@@ -25552,6 +25839,116 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25552
25839
|
//
|
|
25553
25840
|
//
|
|
25554
25841
|
//
|
|
25842
|
+
//
|
|
25843
|
+
//
|
|
25844
|
+
//
|
|
25845
|
+
//
|
|
25846
|
+
//
|
|
25847
|
+
//
|
|
25848
|
+
//
|
|
25849
|
+
//
|
|
25850
|
+
//
|
|
25851
|
+
//
|
|
25852
|
+
//
|
|
25853
|
+
//
|
|
25854
|
+
//
|
|
25855
|
+
//
|
|
25856
|
+
//
|
|
25857
|
+
//
|
|
25858
|
+
//
|
|
25859
|
+
//
|
|
25860
|
+
//
|
|
25861
|
+
//
|
|
25862
|
+
//
|
|
25863
|
+
//
|
|
25864
|
+
//
|
|
25865
|
+
//
|
|
25866
|
+
//
|
|
25867
|
+
//
|
|
25868
|
+
//
|
|
25869
|
+
//
|
|
25870
|
+
//
|
|
25871
|
+
//
|
|
25872
|
+
//
|
|
25873
|
+
//
|
|
25874
|
+
//
|
|
25875
|
+
//
|
|
25876
|
+
//
|
|
25877
|
+
//
|
|
25878
|
+
//
|
|
25879
|
+
//
|
|
25880
|
+
//
|
|
25881
|
+
//
|
|
25882
|
+
//
|
|
25883
|
+
//
|
|
25884
|
+
//
|
|
25885
|
+
//
|
|
25886
|
+
//
|
|
25887
|
+
//
|
|
25888
|
+
//
|
|
25889
|
+
//
|
|
25890
|
+
//
|
|
25891
|
+
//
|
|
25892
|
+
//
|
|
25893
|
+
//
|
|
25894
|
+
//
|
|
25895
|
+
//
|
|
25896
|
+
//
|
|
25897
|
+
//
|
|
25898
|
+
//
|
|
25899
|
+
//
|
|
25900
|
+
//
|
|
25901
|
+
//
|
|
25902
|
+
//
|
|
25903
|
+
//
|
|
25904
|
+
//
|
|
25905
|
+
//
|
|
25906
|
+
//
|
|
25907
|
+
//
|
|
25908
|
+
//
|
|
25909
|
+
//
|
|
25910
|
+
//
|
|
25911
|
+
//
|
|
25912
|
+
//
|
|
25913
|
+
//
|
|
25914
|
+
//
|
|
25915
|
+
//
|
|
25916
|
+
//
|
|
25917
|
+
//
|
|
25918
|
+
//
|
|
25919
|
+
//
|
|
25920
|
+
//
|
|
25921
|
+
//
|
|
25922
|
+
//
|
|
25923
|
+
//
|
|
25924
|
+
//
|
|
25925
|
+
//
|
|
25926
|
+
//
|
|
25927
|
+
//
|
|
25928
|
+
//
|
|
25929
|
+
//
|
|
25930
|
+
//
|
|
25931
|
+
//
|
|
25932
|
+
//
|
|
25933
|
+
//
|
|
25934
|
+
//
|
|
25935
|
+
//
|
|
25936
|
+
//
|
|
25937
|
+
//
|
|
25938
|
+
//
|
|
25939
|
+
//
|
|
25940
|
+
//
|
|
25941
|
+
//
|
|
25942
|
+
//
|
|
25943
|
+
//
|
|
25944
|
+
//
|
|
25945
|
+
//
|
|
25946
|
+
//
|
|
25947
|
+
//
|
|
25948
|
+
//
|
|
25949
|
+
//
|
|
25950
|
+
//
|
|
25951
|
+
//
|
|
25555
25952
|
|
|
25556
25953
|
|
|
25557
25954
|
|
|
@@ -25573,10 +25970,17 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25573
25970
|
subIndex: Number,
|
|
25574
25971
|
sunIndex: Number,
|
|
25575
25972
|
subPath: String,
|
|
25576
|
-
currentSubData: Array
|
|
25973
|
+
currentSubData: Array,
|
|
25974
|
+
dialogConfig: Object,
|
|
25975
|
+
dialogType: String
|
|
25577
25976
|
},
|
|
25578
25977
|
data() {
|
|
25579
25978
|
return {
|
|
25979
|
+
dateType: 'date',
|
|
25980
|
+
currentDate: '',
|
|
25981
|
+
// 当前日期
|
|
25982
|
+
isShowDatePop: false,
|
|
25983
|
+
// 是否显示日期选择控件
|
|
25580
25984
|
isShowMoreSearch: false,
|
|
25581
25985
|
treeSelectText: '',
|
|
25582
25986
|
// 组合树时选中的查询条件
|
|
@@ -25656,9 +26060,47 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25656
26060
|
sureButtonText() {
|
|
25657
26061
|
const selectedText = this.selectIds.length > 0 ? `(${this.selectIds.length})` : '';
|
|
25658
26062
|
return `${this.$t('ht.common.confirm')}${selectedText}`;
|
|
26063
|
+
},
|
|
26064
|
+
jumpParamKey() {
|
|
26065
|
+
return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
|
|
26066
|
+
},
|
|
26067
|
+
// 是否保存成跳转url参数
|
|
26068
|
+
isHaveJumpUrl() {
|
|
26069
|
+
return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
26070
|
+
},
|
|
26071
|
+
sortDisplayfield() {
|
|
26072
|
+
return this.displayfield.sort((a, b) => {
|
|
26073
|
+
return a.sort > b.sort ? 1 : -1;
|
|
26074
|
+
});
|
|
25659
26075
|
}
|
|
25660
26076
|
},
|
|
25661
26077
|
methods: {
|
|
26078
|
+
// 获取已选择的选择器数据id
|
|
26079
|
+
getSelectId(data) {
|
|
26080
|
+
if (!data || !data.length) {
|
|
26081
|
+
return '';
|
|
26082
|
+
}
|
|
26083
|
+
let ids = [];
|
|
26084
|
+
data.forEach(item => {
|
|
26085
|
+
ids.push(item.id);
|
|
26086
|
+
});
|
|
26087
|
+
return ids.join(',');
|
|
26088
|
+
},
|
|
26089
|
+
showDate(index, key) {
|
|
26090
|
+
this.dateType = this.conditionBind[index].config.inputFormat.includes('mm:') ? 'datetime' : 'date';
|
|
26091
|
+
this.currentDateData = {
|
|
26092
|
+
index,
|
|
26093
|
+
key
|
|
26094
|
+
};
|
|
26095
|
+
this.currentDate = this.queryParams[index][key] ? new Date(this.queryParams[index][key].replace(/-/g, '/')) : new Date();
|
|
26096
|
+
this.isShowDatePop = true;
|
|
26097
|
+
},
|
|
26098
|
+
// 日期确认
|
|
26099
|
+
confirmFn() {
|
|
26100
|
+
let currentConfig = this.conditionBind[this.currentDateData.index];
|
|
26101
|
+
this.queryParams[this.currentDateData.index][this.currentDateData.key] = this.currentDate.format(currentConfig.config.inputFormat);
|
|
26102
|
+
this.isShowDatePop = false;
|
|
26103
|
+
},
|
|
25662
26104
|
searchInputChange() {
|
|
25663
26105
|
if (!this.isShowMoreSearch) {
|
|
25664
26106
|
this.search(true);
|
|
@@ -25704,112 +26146,121 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25704
26146
|
this.search(true);
|
|
25705
26147
|
},
|
|
25706
26148
|
showDialog() {
|
|
25707
|
-
const this_ = this;
|
|
25708
26149
|
this.fixedParams = {};
|
|
26150
|
+
// 如果已存在配置信息就不去请求配置信息 直接初始化数据
|
|
26151
|
+
if (this.dialogConfig) {
|
|
26152
|
+
this.initDialog(this.dialogConfig);
|
|
26153
|
+
return;
|
|
26154
|
+
}
|
|
25709
26155
|
var alias = this.custdialog.custDialog.alias;
|
|
25710
26156
|
this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
|
|
25711
|
-
|
|
25712
|
-
|
|
25713
|
-
|
|
25714
|
-
|
|
25715
|
-
|
|
25716
|
-
|
|
25717
|
-
|
|
25718
|
-
|
|
25719
|
-
|
|
25720
|
-
|
|
25721
|
-
|
|
25722
|
-
|
|
25723
|
-
|
|
25724
|
-
|
|
25725
|
-
|
|
25726
|
-
|
|
25727
|
-
|
|
25728
|
-
|
|
25729
|
-
|
|
25730
|
-
|
|
25731
|
-
|
|
26157
|
+
this.initDialog(customDialog);
|
|
26158
|
+
});
|
|
26159
|
+
},
|
|
26160
|
+
initDialog(customDialog) {
|
|
26161
|
+
let alias = this.custdialog.custDialog.alias;
|
|
26162
|
+
const this_ = this;
|
|
26163
|
+
if (!customDialog || !customDialog.alias) {
|
|
26164
|
+
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
26165
|
+
return;
|
|
26166
|
+
}
|
|
26167
|
+
if (customDialog.style == 1) {
|
|
26168
|
+
var displaylist = JSON.parse(customDialog.displayfield);
|
|
26169
|
+
this_.nodeKey = displaylist.id;
|
|
26170
|
+
}
|
|
26171
|
+
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
26172
|
+
let obj = {};
|
|
26173
|
+
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
26174
|
+
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
26175
|
+
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
26176
|
+
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
26177
|
+
if (exp) {
|
|
26178
|
+
const params = JSON.parse(exp);
|
|
26179
|
+
if (params.pageBean) {
|
|
26180
|
+
this.pagination = {
|
|
26181
|
+
...params.pageBean
|
|
26182
|
+
};
|
|
25732
26183
|
}
|
|
25733
26184
|
}
|
|
25734
|
-
|
|
25735
|
-
|
|
25736
|
-
|
|
25737
|
-
|
|
25738
|
-
|
|
25739
|
-
|
|
25740
|
-
|
|
25741
|
-
|
|
25742
|
-
|
|
25743
|
-
|
|
25744
|
-
|
|
25745
|
-
|
|
25746
|
-
|
|
25747
|
-
|
|
25748
|
-
|
|
25749
|
-
|
|
25750
|
-
|
|
25751
|
-
}
|
|
25752
|
-
}
|
|
26185
|
+
}
|
|
26186
|
+
//对话框按表单字段查询(参数传入的)
|
|
26187
|
+
let bindList = this_.custdialog.custDialog.conditions;
|
|
26188
|
+
this_.param = []; //绑定的表单字段
|
|
26189
|
+
if (bindList.length > 0) {
|
|
26190
|
+
bindList.forEach(ele => {
|
|
26191
|
+
//绑定表单字段
|
|
26192
|
+
if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
|
|
26193
|
+
let obj = {};
|
|
26194
|
+
obj.field = ele.field;
|
|
26195
|
+
obj.bind = ele.bind;
|
|
26196
|
+
obj.bindType = ele.bindType;
|
|
26197
|
+
this_.param.push(obj);
|
|
26198
|
+
}
|
|
26199
|
+
// bindType 1 表单字段 2固定 3脚本
|
|
26200
|
+
if (ele.defaultType == '3' && ele.bindType === 2) {
|
|
26201
|
+
this_.fixedParams[ele.field] = ele.bind || '';
|
|
26202
|
+
}
|
|
26203
|
+
});
|
|
26204
|
+
}
|
|
25753
26205
|
|
|
25754
|
-
|
|
25755
|
-
|
|
25756
|
-
|
|
25757
|
-
|
|
25758
|
-
|
|
25759
|
-
|
|
25760
|
-
|
|
25761
|
-
|
|
25762
|
-
|
|
25763
|
-
|
|
25764
|
-
|
|
25765
|
-
|
|
25766
|
-
|
|
25767
|
-
|
|
25768
|
-
|
|
25769
|
-
|
|
25770
|
-
|
|
25771
|
-
|
|
25772
|
-
|
|
25773
|
-
|
|
25774
|
-
|
|
25775
|
-
|
|
25776
|
-
|
|
25777
|
-
|
|
25778
|
-
|
|
25779
|
-
|
|
25780
|
-
|
|
25781
|
-
|
|
25782
|
-
|
|
25783
|
-
|
|
25784
|
-
|
|
25785
|
-
|
|
25786
|
-
|
|
25787
|
-
|
|
25788
|
-
|
|
25789
|
-
|
|
25790
|
-
|
|
25791
|
-
|
|
25792
|
-
|
|
25793
|
-
|
|
25794
|
-
|
|
25795
|
-
|
|
25796
|
-
|
|
25797
|
-
|
|
25798
|
-
|
|
25799
|
-
|
|
25800
|
-
}
|
|
26206
|
+
//判断对话框查询是否有条件
|
|
26207
|
+
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
26208
|
+
this_.conditionBind = [];
|
|
26209
|
+
let queryParams = [];
|
|
26210
|
+
let placeholders = [];
|
|
26211
|
+
if (userInputList.length > 0) {
|
|
26212
|
+
userInputList.forEach(ele => {
|
|
26213
|
+
var obj = {};
|
|
26214
|
+
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
26215
|
+
if (ele.defaultType == '1') {
|
|
26216
|
+
obj[ele.field] = '';
|
|
26217
|
+
queryParams.push(obj);
|
|
26218
|
+
// queryParams[ele.field] = "";
|
|
26219
|
+
this_.conditionBind.push(ele);
|
|
26220
|
+
placeholders.push('请输入' + ele.comment);
|
|
26221
|
+
}
|
|
26222
|
+
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
26223
|
+
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
26224
|
+
}
|
|
26225
|
+
});
|
|
26226
|
+
this.$set(this, 'queryParams', queryParams);
|
|
26227
|
+
this.$set(this, 'placeholders', placeholders);
|
|
26228
|
+
}
|
|
26229
|
+
if (customDialog.style == 0 || customDialog.style == 2) {
|
|
26230
|
+
//列表
|
|
26231
|
+
this_.customDialogShow({
|
|
26232
|
+
alias: alias,
|
|
26233
|
+
customDialog: customDialog
|
|
26234
|
+
});
|
|
26235
|
+
} else if (customDialog.style == 1) {
|
|
26236
|
+
//树形
|
|
26237
|
+
this_.pageParam = {
|
|
26238
|
+
alias: alias,
|
|
26239
|
+
customDialog: customDialog
|
|
26240
|
+
};
|
|
26241
|
+
this_.customDialog = customDialog;
|
|
26242
|
+
let param = {};
|
|
26243
|
+
this_.conditionfieldTree = [];
|
|
26244
|
+
//判断是否存在条件
|
|
26245
|
+
if (customDialog.conditionfield) {
|
|
26246
|
+
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
26247
|
+
if (this_.conditionfieldTree.length > 0) {
|
|
26248
|
+
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
26249
|
+
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
26250
|
+
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
26251
|
+
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
25801
26252
|
}
|
|
25802
26253
|
}
|
|
25803
26254
|
}
|
|
25804
|
-
//有动态传入的字段
|
|
25805
|
-
if (JSON.stringify(param) != '{}') {
|
|
25806
|
-
this_.dialogVisible = true;
|
|
25807
|
-
} else {
|
|
25808
|
-
//无动态传入的字段
|
|
25809
|
-
this_.customDialogTreeShow(this_.pageParam);
|
|
25810
|
-
}
|
|
25811
26255
|
}
|
|
25812
|
-
|
|
26256
|
+
//有动态传入的字段
|
|
26257
|
+
if (JSON.stringify(param) != '{}') {
|
|
26258
|
+
this_.dialogVisible = true;
|
|
26259
|
+
} else {
|
|
26260
|
+
//无动态传入的字段
|
|
26261
|
+
this_.customDialogTreeShow(this_.pageParam);
|
|
26262
|
+
}
|
|
26263
|
+
}
|
|
25813
26264
|
},
|
|
25814
26265
|
treeClick(data) {
|
|
25815
26266
|
// 单选
|
|
@@ -25927,13 +26378,13 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25927
26378
|
}
|
|
25928
26379
|
// 添加用户id 岗位id 组织id
|
|
25929
26380
|
try {
|
|
25930
|
-
if (this.$requestConfig.getUserId()) {
|
|
26381
|
+
if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
|
|
25931
26382
|
ctx.userId = this.$requestConfig.getUserId();
|
|
25932
26383
|
}
|
|
25933
|
-
if (this.$requestConfig.getOrgId()) {
|
|
26384
|
+
if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
|
|
25934
26385
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
25935
26386
|
}
|
|
25936
|
-
if (this.$requestConfig.getPostId()) {
|
|
26387
|
+
if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
|
|
25937
26388
|
ctx.postId = this.$requestConfig.getPostId();
|
|
25938
26389
|
}
|
|
25939
26390
|
} catch (e) {
|
|
@@ -26018,8 +26469,20 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26018
26469
|
this.selectOrgs = this.convertComment2Field(str, field);
|
|
26019
26470
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
26020
26471
|
var val = '';
|
|
26021
|
-
str.forEach(item => {
|
|
26022
|
-
|
|
26472
|
+
str.forEach((item, index) => {
|
|
26473
|
+
// 此处添加url跳转参数保存逻辑
|
|
26474
|
+
if (this.jumpParamKey && this.isHaveJumpUrl && (this.modelName == 'data.' + con['target'][0] || this.modelName.includes('item.') && con['target'][0].endsWith(this.modelName.split('.')[1]))) {
|
|
26475
|
+
// 如果有冒号 冒号前面是传值key 后面是取值key
|
|
26476
|
+
let jumpParamKey = this.jumpParamKey;
|
|
26477
|
+
let jumpParamValue = this.jumpParamKey;
|
|
26478
|
+
if (this.jumpParamKey.includes(':')) {
|
|
26479
|
+
jumpParamKey = this.jumpParamKey.split(':')[0];
|
|
26480
|
+
jumpParamValue = this.jumpParamKey.split(':')[1];
|
|
26481
|
+
}
|
|
26482
|
+
val += `${item[con.from]}¯${jumpParamKey}:${this.selectOrgs[index][jumpParamValue]},`;
|
|
26483
|
+
} else {
|
|
26484
|
+
val += item[con.from] + ',';
|
|
26485
|
+
}
|
|
26023
26486
|
});
|
|
26024
26487
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
26025
26488
|
utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
|
|
@@ -26092,6 +26555,19 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26092
26555
|
//用户输入的
|
|
26093
26556
|
if (this.queryParams.length != 0 && this.queryParams[0] != '') {
|
|
26094
26557
|
this.conditionBind.forEach((item, index) => {
|
|
26558
|
+
// 日期范围特殊处理
|
|
26559
|
+
if (item.dbType == 'date' && item.condition == 'BETWEEN') {
|
|
26560
|
+
if (this.queryParams[index].startDate && !this.queryParams[index].endDate || !this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
26561
|
+
flag = true;
|
|
26562
|
+
this.$message.info('日期范围未填写完整!');
|
|
26563
|
+
return;
|
|
26564
|
+
}
|
|
26565
|
+
if (this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
26566
|
+
this.queryParams[index][item.field] = `${this.queryParams[index].startDate},${this.queryParams[index].endDate}`;
|
|
26567
|
+
} else {
|
|
26568
|
+
this.queryParams[index][item.field] = '';
|
|
26569
|
+
}
|
|
26570
|
+
}
|
|
26095
26571
|
if (this.queryParams[index][item.field]) {
|
|
26096
26572
|
querys.push({
|
|
26097
26573
|
property: item.field,
|
|
@@ -26140,13 +26616,13 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26140
26616
|
ctx.total = pageBean.pageBean.total;
|
|
26141
26617
|
// 添加用户id 岗位id 组织id
|
|
26142
26618
|
try {
|
|
26143
|
-
if (this.$requestConfig.getUserId()) {
|
|
26619
|
+
if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
|
|
26144
26620
|
ctx.userId = this.$requestConfig.getUserId();
|
|
26145
26621
|
}
|
|
26146
|
-
if (this.$requestConfig.getOrgId()) {
|
|
26622
|
+
if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
|
|
26147
26623
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
26148
26624
|
}
|
|
26149
|
-
if (this.$requestConfig.getPostId()) {
|
|
26625
|
+
if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
|
|
26150
26626
|
ctx.postId = this.$requestConfig.getPostId();
|
|
26151
26627
|
}
|
|
26152
26628
|
} catch (e) {
|
|
@@ -26174,6 +26650,8 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26174
26650
|
} else {
|
|
26175
26651
|
param.pageBean.pageSize = -1;
|
|
26176
26652
|
}
|
|
26653
|
+
// 日期格式的 改成数组
|
|
26654
|
+
// this.changeDateFormat(param)
|
|
26177
26655
|
//构造请求的参数
|
|
26178
26656
|
let requestParam = {
|
|
26179
26657
|
pageBean: param,
|
|
@@ -26209,6 +26687,15 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26209
26687
|
}
|
|
26210
26688
|
}
|
|
26211
26689
|
},
|
|
26690
|
+
changeDateFormat(param) {
|
|
26691
|
+
let dateValidate1 = /^\d{4}\-\d{2}\-\d{2}$/;
|
|
26692
|
+
let dateValidate2 = /^([1-2][0-9][0-9][0-9]-[0-1]{0,1}[0-9]-[0-3]{0,1}[0-9])\s(20|21|22|23|[0-1]\d):[0-5]\d:[0-5]\d$/;
|
|
26693
|
+
Object.keys(param).forEach(key => {
|
|
26694
|
+
if (param[key] && typeof param[key] == 'string' && param[key].includes(',') && (dateValidate1.test(param[key].split(',')[0]) || dateValidate2.test(param[key].split(',')[0]))) {
|
|
26695
|
+
param[key] = param[key].split(',');
|
|
26696
|
+
}
|
|
26697
|
+
});
|
|
26698
|
+
},
|
|
26212
26699
|
getSearchValueByKey() {
|
|
26213
26700
|
let queryParamsObj = {};
|
|
26214
26701
|
if (this.queryParams.length > 0) {
|
|
@@ -26407,13 +26894,37 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26407
26894
|
}
|
|
26408
26895
|
}
|
|
26409
26896
|
}
|
|
26897
|
+
// 如果是查询中使用的对话框
|
|
26898
|
+
if (this.dialogType == 'search') {
|
|
26899
|
+
let returnVal = [];
|
|
26900
|
+
str.forEach(item => {
|
|
26901
|
+
returnVal.push(decodeURIComponent(item[this.modelName]));
|
|
26902
|
+
});
|
|
26903
|
+
this.$emit('updateInput', returnVal.join(','));
|
|
26904
|
+
return;
|
|
26905
|
+
}
|
|
26410
26906
|
const pInst = utils["a" /* default */].getOnlineFormInstance(this);
|
|
26411
26907
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
26412
26908
|
var val = '';
|
|
26413
26909
|
var from = con.from.toLowerCase();
|
|
26414
26910
|
str.forEach(item => {
|
|
26415
26911
|
if (item) {
|
|
26416
|
-
|
|
26912
|
+
if (this.jumpParamKey && this.isHaveJumpUrl && (this.modelName == 'data.' + con['target'][0] || this.modelName.includes('item.') && con['target'][0].endsWith(this.modelName.split('.')[1]))) {
|
|
26913
|
+
let jumpParamKey = this.jumpParamKey;
|
|
26914
|
+
let jumpParamValue = this.jumpParamKey;
|
|
26915
|
+
if (this.jumpParamKey.includes(':')) {
|
|
26916
|
+
jumpParamKey = this.jumpParamKey.split(':')[0];
|
|
26917
|
+
jumpParamValue = this.jumpParamKey.split(':')[1];
|
|
26918
|
+
}
|
|
26919
|
+
// 需根据key 找到对应 返回数据的返回名称
|
|
26920
|
+
let returnMap = returnStr.find(k => {
|
|
26921
|
+
return k.field.toLowerCase() == jumpParamValue.toLowerCase();
|
|
26922
|
+
});
|
|
26923
|
+
let returnMapKey = returnMap ? returnMap.comment : '';
|
|
26924
|
+
val += `${decodeURIComponent(item[from])}¯${jumpParamKey}:${decodeURIComponent(item[returnMapKey])},`;
|
|
26925
|
+
} else {
|
|
26926
|
+
val += decodeURIComponent(item[from]) + ',';
|
|
26927
|
+
}
|
|
26417
26928
|
}
|
|
26418
26929
|
});
|
|
26419
26930
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
@@ -26450,20 +26961,6 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26450
26961
|
}
|
|
26451
26962
|
}
|
|
26452
26963
|
},
|
|
26453
|
-
// getSelected() {
|
|
26454
|
-
// let arr = []
|
|
26455
|
-
// this.selectIds.forEach((item) => {
|
|
26456
|
-
// debugger
|
|
26457
|
-
// let obj = this.dialogData.find((sub) => {
|
|
26458
|
-
// return sub.id_ === item
|
|
26459
|
-
// })
|
|
26460
|
-
// if (obj) {
|
|
26461
|
-
// arr.push(obj)
|
|
26462
|
-
// }
|
|
26463
|
-
// })
|
|
26464
|
-
|
|
26465
|
-
// return arr
|
|
26466
|
-
// },
|
|
26467
26964
|
calacInputSuffixHeight() {
|
|
26468
26965
|
this.$emit('calacInputSuffixHeight');
|
|
26469
26966
|
},
|
|
@@ -26665,11 +27162,11 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26665
27162
|
});
|
|
26666
27163
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=script&lang=js&
|
|
26667
27164
|
/* harmony default export */ var src_customMobileDialogvue_type_script_lang_js_ = (customMobileDialogvue_type_script_lang_js_);
|
|
26668
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=
|
|
26669
|
-
var
|
|
27165
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=384dd988&prod&lang=scss&scoped=true&
|
|
27166
|
+
var customMobileDialogvue_type_style_index_0_id_384dd988_prod_lang_scss_scoped_true_ = __webpack_require__("4680");
|
|
26670
27167
|
|
|
26671
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=
|
|
26672
|
-
var
|
|
27168
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=384dd988&prod&lang=scss&
|
|
27169
|
+
var customMobileDialogvue_type_style_index_1_id_384dd988_prod_lang_scss_ = __webpack_require__("3be0");
|
|
26673
27170
|
|
|
26674
27171
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue
|
|
26675
27172
|
|
|
@@ -26683,11 +27180,11 @@ var customMobileDialogvue_type_style_index_1_id_1661eebb_prod_lang_scss_ = __web
|
|
|
26683
27180
|
|
|
26684
27181
|
var customMobileDialog_component = normalizeComponent(
|
|
26685
27182
|
src_customMobileDialogvue_type_script_lang_js_,
|
|
26686
|
-
|
|
26687
|
-
|
|
27183
|
+
customMobileDialogvue_type_template_id_384dd988_scoped_true_render,
|
|
27184
|
+
customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns,
|
|
26688
27185
|
false,
|
|
26689
27186
|
null,
|
|
26690
|
-
"
|
|
27187
|
+
"384dd988",
|
|
26691
27188
|
null
|
|
26692
27189
|
|
|
26693
27190
|
)
|
|
@@ -26831,6 +27328,40 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26831
27328
|
//
|
|
26832
27329
|
//
|
|
26833
27330
|
//
|
|
27331
|
+
//
|
|
27332
|
+
//
|
|
27333
|
+
//
|
|
27334
|
+
//
|
|
27335
|
+
//
|
|
27336
|
+
//
|
|
27337
|
+
//
|
|
27338
|
+
//
|
|
27339
|
+
//
|
|
27340
|
+
//
|
|
27341
|
+
//
|
|
27342
|
+
//
|
|
27343
|
+
//
|
|
27344
|
+
//
|
|
27345
|
+
//
|
|
27346
|
+
//
|
|
27347
|
+
//
|
|
27348
|
+
//
|
|
27349
|
+
//
|
|
27350
|
+
//
|
|
27351
|
+
//
|
|
27352
|
+
//
|
|
27353
|
+
//
|
|
27354
|
+
//
|
|
27355
|
+
//
|
|
27356
|
+
//
|
|
27357
|
+
//
|
|
27358
|
+
//
|
|
27359
|
+
//
|
|
27360
|
+
//
|
|
27361
|
+
//
|
|
27362
|
+
//
|
|
27363
|
+
//
|
|
27364
|
+
//
|
|
26834
27365
|
|
|
26835
27366
|
|
|
26836
27367
|
|
|
@@ -26862,10 +27393,19 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26862
27393
|
subIndex: Number,
|
|
26863
27394
|
sunIndex: Number,
|
|
26864
27395
|
subPath: String,
|
|
26865
|
-
currentSubData: Array
|
|
27396
|
+
currentSubData: Array,
|
|
27397
|
+
dialogType: {
|
|
27398
|
+
// search表示在查询条件使用 form表示在表单中使用
|
|
27399
|
+
type: String,
|
|
27400
|
+
default: 'form'
|
|
27401
|
+
}
|
|
26866
27402
|
},
|
|
26867
27403
|
data() {
|
|
26868
27404
|
return {
|
|
27405
|
+
mobileSrc: '',
|
|
27406
|
+
isDialogFormShow: false,
|
|
27407
|
+
dialogConfig: null,
|
|
27408
|
+
// 对话框配置信息
|
|
26869
27409
|
isEditInputShow: false,
|
|
26870
27410
|
customValue: '',
|
|
26871
27411
|
defualtTooltipplacement: 'bottom',
|
|
@@ -26914,9 +27454,24 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26914
27454
|
}
|
|
26915
27455
|
let result = [];
|
|
26916
27456
|
nameAry.forEach(m => {
|
|
26917
|
-
|
|
26918
|
-
|
|
26919
|
-
};
|
|
27457
|
+
// 带url跳转参数的 使用上横杆区分参数 值格式为 名称¯跳转key:跳转value
|
|
27458
|
+
// 上横向保存数据库后 有可能被改变此处兼容写了一种上横线
|
|
27459
|
+
let n = {};
|
|
27460
|
+
if (m.includes('¯') && m.split('¯')[1] || m.includes('ˉ') && m.split('ˉ')[1]) {
|
|
27461
|
+
let val1 = m.includes('¯') ? m.split('¯')[0] : m.split('ˉ')[0];
|
|
27462
|
+
let val2 = m.includes('¯') ? m.split('¯')[1] : m.split('ˉ')[1];
|
|
27463
|
+
n.value = val1;
|
|
27464
|
+
let jumpParamStr = val2;
|
|
27465
|
+
if (jumpParamStr) {
|
|
27466
|
+
let jumpParam = jumpParamStr.split(':');
|
|
27467
|
+
n.jumpParamKey = jumpParam[0];
|
|
27468
|
+
n.jumpParamValue = jumpParam[1];
|
|
27469
|
+
}
|
|
27470
|
+
} else {
|
|
27471
|
+
n = {
|
|
27472
|
+
value: m
|
|
27473
|
+
};
|
|
27474
|
+
}
|
|
26920
27475
|
result.push(n);
|
|
26921
27476
|
});
|
|
26922
27477
|
return result;
|
|
@@ -26924,8 +27479,16 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26924
27479
|
},
|
|
26925
27480
|
isAllowCustom() {
|
|
26926
27481
|
return this.custdialog && this.custdialog.allowInput;
|
|
27482
|
+
},
|
|
27483
|
+
// 是否展示可跳转颜色
|
|
27484
|
+
isSrcColor() {
|
|
27485
|
+
return this.dialogConfig && this.dialogType !== 'search' && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
26927
27486
|
}
|
|
26928
27487
|
},
|
|
27488
|
+
created() {
|
|
27489
|
+
// 获取对话框配置,看是否有配置url跳转
|
|
27490
|
+
this.getDialogConfig();
|
|
27491
|
+
},
|
|
26929
27492
|
mounted() {
|
|
26930
27493
|
setTimeout(() => {
|
|
26931
27494
|
const {
|
|
@@ -26943,9 +27506,74 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26943
27506
|
}
|
|
26944
27507
|
//获取对话框按钮名称宽度
|
|
26945
27508
|
this.calacInputSuffixWidth();
|
|
27509
|
+
if (this.value && this.inputWriteable) {
|
|
27510
|
+
this.calacInputSuffixHeight();
|
|
27511
|
+
}
|
|
26946
27512
|
}, 50);
|
|
26947
27513
|
},
|
|
26948
27514
|
methods: {
|
|
27515
|
+
// 跳转url页面
|
|
27516
|
+
jumpUrl(item) {
|
|
27517
|
+
if (!this.isSrcColor) {
|
|
27518
|
+
if (this.inputWriteable) {
|
|
27519
|
+
this.showEditInput();
|
|
27520
|
+
}
|
|
27521
|
+
return;
|
|
27522
|
+
}
|
|
27523
|
+
let url = this.isMobile ? this.dialogConfig.mobileUrl : this.dialogConfig.pcUrl;
|
|
27524
|
+
// 获取通用token 和 url翻译
|
|
27525
|
+
Promise.all([this.$requestConfig.getThreeTreeToken(), this.transformUrl(url)]).then(res => {
|
|
27526
|
+
if (res[0] && res[0].code == 200) {
|
|
27527
|
+
let token = res[0].value;
|
|
27528
|
+
let endUrl = res[1];
|
|
27529
|
+
// 拼接参数 token和参数
|
|
27530
|
+
if (endUrl.indexOf('?') == -1) {
|
|
27531
|
+
endUrl += `?bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
|
|
27532
|
+
} else {
|
|
27533
|
+
endUrl += `&bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
|
|
27534
|
+
}
|
|
27535
|
+
if (this.isMobile) {
|
|
27536
|
+
this.mobileSrc = endUrl;
|
|
27537
|
+
this.isDialogFormShow = true;
|
|
27538
|
+
} else {
|
|
27539
|
+
window.open(endUrl);
|
|
27540
|
+
}
|
|
27541
|
+
} else {
|
|
27542
|
+
this.$message.info(res.message || '获取token失败!');
|
|
27543
|
+
}
|
|
27544
|
+
});
|
|
27545
|
+
},
|
|
27546
|
+
// 替换url中域名通配符 需要发送接口
|
|
27547
|
+
transformUrl(url) {
|
|
27548
|
+
return new Promise(resolve => {
|
|
27549
|
+
var reg = /(\$\{(\w+)\})/;
|
|
27550
|
+
var match = reg.exec(url);
|
|
27551
|
+
if (match) {
|
|
27552
|
+
let alias = match[2];
|
|
27553
|
+
if (alias) {
|
|
27554
|
+
this.$requestConfig.getHostByAlias(alias).then(res => {
|
|
27555
|
+
if (res && res.value && res.value.rootAddress) {
|
|
27556
|
+
resolve(url.replace(match[1], res.value.rootAddress));
|
|
27557
|
+
} else {
|
|
27558
|
+
resolve(url);
|
|
27559
|
+
}
|
|
27560
|
+
});
|
|
27561
|
+
} else {
|
|
27562
|
+
resolve(url);
|
|
27563
|
+
}
|
|
27564
|
+
} else {
|
|
27565
|
+
resolve(url);
|
|
27566
|
+
}
|
|
27567
|
+
});
|
|
27568
|
+
},
|
|
27569
|
+
// 获取对话框配置
|
|
27570
|
+
getDialogConfig() {
|
|
27571
|
+
if (this.custdialog && this.custdialog.custDialog && this.custdialog.custDialog.alias) this.$requestConfig.getCustomDialogByAlias(this.custdialog.custDialog.alias).then(response => {
|
|
27572
|
+
if (response) {
|
|
27573
|
+
this.dialogConfig = response;
|
|
27574
|
+
}
|
|
27575
|
+
});
|
|
27576
|
+
},
|
|
26949
27577
|
editInputBlur() {
|
|
26950
27578
|
this.$emit('input', this.customValue);
|
|
26951
27579
|
this.isEditInputShow = false;
|
|
@@ -27020,8 +27648,8 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27020
27648
|
});
|
|
27021
27649
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=script&lang=js&
|
|
27022
27650
|
/* harmony default export */ var packages_CustomDialog_src_mainvue_type_script_lang_js_ = (CustomDialog_src_mainvue_type_script_lang_js_);
|
|
27023
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=
|
|
27024
|
-
var
|
|
27651
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=bf5a35ae&prod&lang=scss&scoped=true&
|
|
27652
|
+
var mainvue_type_style_index_0_id_bf5a35ae_prod_lang_scss_scoped_true_ = __webpack_require__("87a1");
|
|
27025
27653
|
|
|
27026
27654
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue
|
|
27027
27655
|
|
|
@@ -27034,11 +27662,11 @@ var mainvue_type_style_index_0_id_0b5eb5e6_prod_lang_scss_scoped_true_ = __webpa
|
|
|
27034
27662
|
|
|
27035
27663
|
var CustomDialog_src_main_component = normalizeComponent(
|
|
27036
27664
|
packages_CustomDialog_src_mainvue_type_script_lang_js_,
|
|
27037
|
-
|
|
27038
|
-
|
|
27665
|
+
mainvue_type_template_id_bf5a35ae_scoped_true_render,
|
|
27666
|
+
mainvue_type_template_id_bf5a35ae_scoped_true_staticRenderFns,
|
|
27039
27667
|
false,
|
|
27040
27668
|
null,
|
|
27041
|
-
"
|
|
27669
|
+
"bf5a35ae",
|
|
27042
27670
|
null
|
|
27043
27671
|
|
|
27044
27672
|
)
|