three-trees-ui 1.0.16 → 1.0.17
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 +413 -1041
- package/lib/three-trees-ui.css +1 -1
- package/lib/three-trees-ui.umd.js +413 -1041
- package/lib/three-trees-ui.umd.min.js +1 -1
- package/package.json +1 -1
- package/packages/CustomDialog/src/customDialog.vue +165 -488
- package/packages/CustomDialog/src/customMobileDialog.vue +155 -464
- package/packages/CustomDialog/src/main.vue +10 -202
- package/packages/DimensionSelector/src/main.vue +0 -2
- package/packages/Global/src/GlobalQuery.vue +1 -0
- package/packages/Tree/src/main.vue +2 -7
|
@@ -1666,6 +1666,13 @@ const btnList = [{
|
|
|
1666
1666
|
|
|
1667
1667
|
/***/ }),
|
|
1668
1668
|
|
|
1669
|
+
/***/ "0ca0":
|
|
1670
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1671
|
+
|
|
1672
|
+
// extracted by mini-css-extract-plugin
|
|
1673
|
+
|
|
1674
|
+
/***/ }),
|
|
1675
|
+
|
|
1669
1676
|
/***/ "0edb":
|
|
1670
1677
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1671
1678
|
|
|
@@ -1893,7 +1900,7 @@ const SubPagination = {
|
|
|
1893
1900
|
|
|
1894
1901
|
/***/ }),
|
|
1895
1902
|
|
|
1896
|
-
/***/ "
|
|
1903
|
+
/***/ "1ccc":
|
|
1897
1904
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1898
1905
|
|
|
1899
1906
|
// extracted by mini-css-extract-plugin
|
|
@@ -2061,6 +2068,13 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__289a__;
|
|
|
2061
2068
|
|
|
2062
2069
|
/***/ }),
|
|
2063
2070
|
|
|
2071
|
+
/***/ "333d":
|
|
2072
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2073
|
+
|
|
2074
|
+
// extracted by mini-css-extract-plugin
|
|
2075
|
+
|
|
2076
|
+
/***/ }),
|
|
2077
|
+
|
|
2064
2078
|
/***/ "33ce":
|
|
2065
2079
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2066
2080
|
|
|
@@ -2798,17 +2812,6 @@ Formulas.install = Vue => {
|
|
|
2798
2812
|
|
|
2799
2813
|
// extracted by mini-css-extract-plugin
|
|
2800
2814
|
|
|
2801
|
-
/***/ }),
|
|
2802
|
-
|
|
2803
|
-
/***/ "3be0":
|
|
2804
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2805
|
-
|
|
2806
|
-
"use strict";
|
|
2807
|
-
/* 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");
|
|
2808
|
-
/* 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__);
|
|
2809
|
-
/* unused harmony reexport * */
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
2815
|
/***/ }),
|
|
2813
2816
|
|
|
2814
2817
|
/***/ "3e5b":
|
|
@@ -2847,30 +2850,23 @@ Formulas.install = Vue => {
|
|
|
2847
2850
|
|
|
2848
2851
|
/***/ }),
|
|
2849
2852
|
|
|
2850
|
-
/***/ "
|
|
2851
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2852
|
-
|
|
2853
|
-
// extracted by mini-css-extract-plugin
|
|
2854
|
-
|
|
2855
|
-
/***/ }),
|
|
2856
|
-
|
|
2857
|
-
/***/ "4680":
|
|
2853
|
+
/***/ "4876":
|
|
2858
2854
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2859
2855
|
|
|
2860
2856
|
"use strict";
|
|
2861
|
-
/* harmony import */ var
|
|
2862
|
-
/* 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_UserSelectorMobileDialog_vue_vue_type_style_index_0_id_6313b4e0_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("33ce");
|
|
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_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__);
|
|
2863
2859
|
/* unused harmony reexport * */
|
|
2864
2860
|
|
|
2865
2861
|
|
|
2866
2862
|
/***/ }),
|
|
2867
2863
|
|
|
2868
|
-
/***/ "
|
|
2864
|
+
/***/ "48f7":
|
|
2869
2865
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2870
2866
|
|
|
2871
2867
|
"use strict";
|
|
2872
|
-
/* harmony import */ var
|
|
2873
|
-
/* 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_main_vue_vue_type_style_index_0_id_5731e345_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1ccc");
|
|
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_main_vue_vue_type_style_index_0_id_5731e345_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_5731e345_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
2874
2870
|
/* unused harmony reexport * */
|
|
2875
2871
|
|
|
2876
2872
|
|
|
@@ -2906,6 +2902,17 @@ Formulas.install = Vue => {
|
|
|
2906
2902
|
|
|
2907
2903
|
// extracted by mini-css-extract-plugin
|
|
2908
2904
|
|
|
2905
|
+
/***/ }),
|
|
2906
|
+
|
|
2907
|
+
/***/ "49f9":
|
|
2908
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2909
|
+
|
|
2910
|
+
"use strict";
|
|
2911
|
+
/* 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");
|
|
2912
|
+
/* 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__);
|
|
2913
|
+
/* unused harmony reexport * */
|
|
2914
|
+
|
|
2915
|
+
|
|
2909
2916
|
/***/ }),
|
|
2910
2917
|
|
|
2911
2918
|
/***/ "4b7c":
|
|
@@ -3037,13 +3044,6 @@ exports.clearImmediate = (typeof self !== "undefined" && self.clearImmediate) ||
|
|
|
3037
3044
|
|
|
3038
3045
|
/***/ }),
|
|
3039
3046
|
|
|
3040
|
-
/***/ "569e":
|
|
3041
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
3042
|
-
|
|
3043
|
-
// extracted by mini-css-extract-plugin
|
|
3044
|
-
|
|
3045
|
-
/***/ }),
|
|
3046
|
-
|
|
3047
3047
|
/***/ "5877":
|
|
3048
3048
|
/***/ (function(module, exports) {
|
|
3049
3049
|
|
|
@@ -4134,13 +4134,6 @@ const dict = {
|
|
|
4134
4134
|
|
|
4135
4135
|
/***/ }),
|
|
4136
4136
|
|
|
4137
|
-
/***/ "6ebe":
|
|
4138
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4139
|
-
|
|
4140
|
-
// extracted by mini-css-extract-plugin
|
|
4141
|
-
|
|
4142
|
-
/***/ }),
|
|
4143
|
-
|
|
4144
4137
|
/***/ "6f28":
|
|
4145
4138
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4146
4139
|
|
|
@@ -4173,13 +4166,6 @@ const dict = {
|
|
|
4173
4166
|
|
|
4174
4167
|
/***/ }),
|
|
4175
4168
|
|
|
4176
|
-
/***/ "7090":
|
|
4177
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4178
|
-
|
|
4179
|
-
// extracted by mini-css-extract-plugin
|
|
4180
|
-
|
|
4181
|
-
/***/ }),
|
|
4182
|
-
|
|
4183
4169
|
/***/ "7152":
|
|
4184
4170
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4185
4171
|
|
|
@@ -4255,6 +4241,13 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4255
4241
|
|
|
4256
4242
|
/***/ }),
|
|
4257
4243
|
|
|
4244
|
+
/***/ "7c6e":
|
|
4245
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4246
|
+
|
|
4247
|
+
// extracted by mini-css-extract-plugin
|
|
4248
|
+
|
|
4249
|
+
/***/ }),
|
|
4250
|
+
|
|
4258
4251
|
/***/ "7d0a":
|
|
4259
4252
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4260
4253
|
|
|
@@ -4282,6 +4275,17 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4282
4275
|
|
|
4283
4276
|
// extracted by mini-css-extract-plugin
|
|
4284
4277
|
|
|
4278
|
+
/***/ }),
|
|
4279
|
+
|
|
4280
|
+
/***/ "7ff9":
|
|
4281
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4282
|
+
|
|
4283
|
+
"use strict";
|
|
4284
|
+
/* 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");
|
|
4285
|
+
/* 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__);
|
|
4286
|
+
/* unused harmony reexport * */
|
|
4287
|
+
|
|
4288
|
+
|
|
4285
4289
|
/***/ }),
|
|
4286
4290
|
|
|
4287
4291
|
/***/ "8262":
|
|
@@ -4336,17 +4340,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4336
4340
|
|
|
4337
4341
|
// extracted by mini-css-extract-plugin
|
|
4338
4342
|
|
|
4339
|
-
/***/ }),
|
|
4340
|
-
|
|
4341
|
-
/***/ "87a1":
|
|
4342
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4343
|
-
|
|
4344
|
-
"use strict";
|
|
4345
|
-
/* 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");
|
|
4346
|
-
/* 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__);
|
|
4347
|
-
/* unused harmony reexport * */
|
|
4348
|
-
|
|
4349
|
-
|
|
4350
4343
|
/***/ }),
|
|
4351
4344
|
|
|
4352
4345
|
/***/ "889a":
|
|
@@ -4728,7 +4721,14 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
4728
4721
|
/***/ "9224":
|
|
4729
4722
|
/***/ (function(module) {
|
|
4730
4723
|
|
|
4731
|
-
module.exports = JSON.parse("{\"a\":\"1.0.
|
|
4724
|
+
module.exports = JSON.parse("{\"a\":\"1.0.17\"}");
|
|
4725
|
+
|
|
4726
|
+
/***/ }),
|
|
4727
|
+
|
|
4728
|
+
/***/ "923d":
|
|
4729
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4730
|
+
|
|
4731
|
+
// extracted by mini-css-extract-plugin
|
|
4732
4732
|
|
|
4733
4733
|
/***/ }),
|
|
4734
4734
|
|
|
@@ -4853,6 +4853,13 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHoAAABMCAYAAACi
|
|
|
4853
4853
|
|
|
4854
4854
|
/***/ }),
|
|
4855
4855
|
|
|
4856
|
+
/***/ "a707":
|
|
4857
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4858
|
+
|
|
4859
|
+
// extracted by mini-css-extract-plugin
|
|
4860
|
+
|
|
4861
|
+
/***/ }),
|
|
4862
|
+
|
|
4856
4863
|
/***/ "a751":
|
|
4857
4864
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4858
4865
|
|
|
@@ -5441,17 +5448,6 @@ module.exports = require("setimmediate");
|
|
|
5441
5448
|
|
|
5442
5449
|
// extracted by mini-css-extract-plugin
|
|
5443
5450
|
|
|
5444
|
-
/***/ }),
|
|
5445
|
-
|
|
5446
|
-
/***/ "aeed":
|
|
5447
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5448
|
-
|
|
5449
|
-
"use strict";
|
|
5450
|
-
/* 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");
|
|
5451
|
-
/* 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__);
|
|
5452
|
-
/* unused harmony reexport * */
|
|
5453
|
-
|
|
5454
|
-
|
|
5455
5451
|
/***/ }),
|
|
5456
5452
|
|
|
5457
5453
|
/***/ "af95":
|
|
@@ -6247,13 +6243,6 @@ const {
|
|
|
6247
6243
|
|
|
6248
6244
|
/***/ }),
|
|
6249
6245
|
|
|
6250
|
-
/***/ "b1a3":
|
|
6251
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
6252
|
-
|
|
6253
|
-
// extracted by mini-css-extract-plugin
|
|
6254
|
-
|
|
6255
|
-
/***/ }),
|
|
6256
|
-
|
|
6257
6246
|
/***/ "b1ce":
|
|
6258
6247
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6259
6248
|
|
|
@@ -6448,6 +6437,17 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
|
|
|
6448
6437
|
|
|
6449
6438
|
// extracted by mini-css-extract-plugin
|
|
6450
6439
|
|
|
6440
|
+
/***/ }),
|
|
6441
|
+
|
|
6442
|
+
/***/ "be12":
|
|
6443
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6444
|
+
|
|
6445
|
+
"use strict";
|
|
6446
|
+
/* 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");
|
|
6447
|
+
/* 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__);
|
|
6448
|
+
/* unused harmony reexport * */
|
|
6449
|
+
|
|
6450
|
+
|
|
6451
6451
|
/***/ }),
|
|
6452
6452
|
|
|
6453
6453
|
/***/ "c0a9":
|
|
@@ -6466,6 +6466,17 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
|
|
|
6466
6466
|
|
|
6467
6467
|
module.exports = require("moment");
|
|
6468
6468
|
|
|
6469
|
+
/***/ }),
|
|
6470
|
+
|
|
6471
|
+
/***/ "c33b":
|
|
6472
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6473
|
+
|
|
6474
|
+
"use strict";
|
|
6475
|
+
/* 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");
|
|
6476
|
+
/* 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__);
|
|
6477
|
+
/* unused harmony reexport * */
|
|
6478
|
+
|
|
6479
|
+
|
|
6469
6480
|
/***/ }),
|
|
6470
6481
|
|
|
6471
6482
|
/***/ "c429":
|
|
@@ -6598,17 +6609,6 @@ module.exports = g;
|
|
|
6598
6609
|
/* unused harmony reexport * */
|
|
6599
6610
|
|
|
6600
6611
|
|
|
6601
|
-
/***/ }),
|
|
6602
|
-
|
|
6603
|
-
/***/ "cc2b":
|
|
6604
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6605
|
-
|
|
6606
|
-
"use strict";
|
|
6607
|
-
/* 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");
|
|
6608
|
-
/* 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__);
|
|
6609
|
-
/* unused harmony reexport * */
|
|
6610
|
-
|
|
6611
|
-
|
|
6612
6612
|
/***/ }),
|
|
6613
6613
|
|
|
6614
6614
|
/***/ "cd87":
|
|
@@ -7167,23 +7167,23 @@ module.exports = require("deepmerge");
|
|
|
7167
7167
|
|
|
7168
7168
|
/***/ }),
|
|
7169
7169
|
|
|
7170
|
-
/***/ "
|
|
7170
|
+
/***/ "dccc":
|
|
7171
7171
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7172
7172
|
|
|
7173
7173
|
"use strict";
|
|
7174
|
-
/* harmony import */ var
|
|
7175
|
-
/* harmony import */ var
|
|
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_68e2d4a1_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("8728");
|
|
7175
|
+
/* 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__);
|
|
7176
7176
|
/* unused harmony reexport * */
|
|
7177
7177
|
|
|
7178
7178
|
|
|
7179
7179
|
/***/ }),
|
|
7180
7180
|
|
|
7181
|
-
/***/ "
|
|
7181
|
+
/***/ "de6a":
|
|
7182
7182
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7183
7183
|
|
|
7184
7184
|
"use strict";
|
|
7185
|
-
/* harmony import */ var
|
|
7186
|
-
/* harmony import */ var
|
|
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_customMobileDialog_vue_vue_type_style_index_0_id_1661eebb_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("923d");
|
|
7186
|
+
/* 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_1661eebb_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_1661eebb_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
7187
7187
|
/* unused harmony reexport * */
|
|
7188
7188
|
|
|
7189
7189
|
|
|
@@ -15630,17 +15630,17 @@ Demension_src_main.install = function (Vue) {
|
|
|
15630
15630
|
Vue.component(Demension_src_main.name, Demension_src_main);
|
|
15631
15631
|
};
|
|
15632
15632
|
/* harmony default export */ var Demension = (Demension_src_main);
|
|
15633
|
-
// 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=
|
|
15634
|
-
var
|
|
15633
|
+
// 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=5731e345&scoped=true&
|
|
15634
|
+
var mainvue_type_template_id_5731e345_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
|
|
15635
15635
|
? 'tree-button-group is-ie-explorer flex'
|
|
15636
15636
|
: '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){
|
|
15637
15637
|
var node = ref.node;
|
|
15638
15638
|
var subData = ref.data;
|
|
15639
15639
|
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)}
|
|
15640
|
-
var
|
|
15640
|
+
var mainvue_type_template_id_5731e345_scoped_true_staticRenderFns = []
|
|
15641
15641
|
|
|
15642
15642
|
|
|
15643
|
-
// CONCATENATED MODULE: ./packages/Tree/src/main.vue?vue&type=template&id=
|
|
15643
|
+
// CONCATENATED MODULE: ./packages/Tree/src/main.vue?vue&type=template&id=5731e345&scoped=true&
|
|
15644
15644
|
|
|
15645
15645
|
// 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&
|
|
15646
15646
|
//
|
|
@@ -15915,11 +15915,7 @@ var mainvue_type_template_id_10f71c00_scoped_true_staticRenderFns = []
|
|
|
15915
15915
|
},
|
|
15916
15916
|
watch: {
|
|
15917
15917
|
filterText(val) {
|
|
15918
|
-
|
|
15919
|
-
this.$emit('loadALL', val);
|
|
15920
|
-
} else {
|
|
15921
|
-
this.$refs.elTree.filter(val);
|
|
15922
|
-
}
|
|
15918
|
+
this.$refs.elTree.filter(val);
|
|
15923
15919
|
},
|
|
15924
15920
|
defaultCheckedKeys(val) {
|
|
15925
15921
|
this.$refs.elTree.setCheckedKeys(val);
|
|
@@ -16012,8 +16008,8 @@ var mainvue_type_template_id_10f71c00_scoped_true_staticRenderFns = []
|
|
|
16012
16008
|
});
|
|
16013
16009
|
// CONCATENATED MODULE: ./packages/Tree/src/main.vue?vue&type=script&lang=js&
|
|
16014
16010
|
/* harmony default export */ var packages_Tree_src_mainvue_type_script_lang_js_ = (Tree_src_mainvue_type_script_lang_js_);
|
|
16015
|
-
// EXTERNAL MODULE: ./packages/Tree/src/main.vue?vue&type=style&index=0&id=
|
|
16016
|
-
var
|
|
16011
|
+
// EXTERNAL MODULE: ./packages/Tree/src/main.vue?vue&type=style&index=0&id=5731e345&prod&lang=scss&scoped=true&
|
|
16012
|
+
var mainvue_type_style_index_0_id_5731e345_prod_lang_scss_scoped_true_ = __webpack_require__("48f7");
|
|
16017
16013
|
|
|
16018
16014
|
// CONCATENATED MODULE: ./packages/Tree/src/main.vue
|
|
16019
16015
|
|
|
@@ -16026,11 +16022,11 @@ var mainvue_type_style_index_0_id_10f71c00_prod_lang_scss_scoped_true_ = __webpa
|
|
|
16026
16022
|
|
|
16027
16023
|
var Tree_src_main_component = normalizeComponent(
|
|
16028
16024
|
packages_Tree_src_mainvue_type_script_lang_js_,
|
|
16029
|
-
|
|
16030
|
-
|
|
16025
|
+
mainvue_type_template_id_5731e345_scoped_true_render,
|
|
16026
|
+
mainvue_type_template_id_5731e345_scoped_true_staticRenderFns,
|
|
16031
16027
|
false,
|
|
16032
16028
|
null,
|
|
16033
|
-
"
|
|
16029
|
+
"5731e345",
|
|
16034
16030
|
null
|
|
16035
16031
|
|
|
16036
16032
|
)
|
|
@@ -22522,8 +22518,8 @@ PostSelector_src_main.install = function (Vue) {
|
|
|
22522
22518
|
Vue.component(PostSelector_src_main.name, PostSelector_src_main);
|
|
22523
22519
|
};
|
|
22524
22520
|
/* harmony default export */ var PostSelector = (PostSelector_src_main);
|
|
22525
|
-
// 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=
|
|
22526
|
-
var
|
|
22521
|
+
// 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=10681225&scoped=true&
|
|
22522
|
+
var mainvue_type_template_id_10681225_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.permission !== 'n')?_c('div',{class:[
|
|
22527
22523
|
'inputs',
|
|
22528
22524
|
_vm.formInputsDisplay == 'block'
|
|
22529
22525
|
? 'ht-form-inputs__block'
|
|
@@ -22538,10 +22534,10 @@ var mainvue_type_template_id_8015cf1e_scoped_true_render = function () {var _vm=
|
|
|
22538
22534
|
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){
|
|
22539
22535
|
var select = ref.select;
|
|
22540
22536
|
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()}
|
|
22541
|
-
var
|
|
22537
|
+
var mainvue_type_template_id_10681225_scoped_true_staticRenderFns = []
|
|
22542
22538
|
|
|
22543
22539
|
|
|
22544
|
-
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=template&id=
|
|
22540
|
+
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=template&id=10681225&scoped=true&
|
|
22545
22541
|
|
|
22546
22542
|
// 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&
|
|
22547
22543
|
//
|
|
@@ -22800,8 +22796,6 @@ var mainvue_type_template_id_8015cf1e_scoped_true_staticRenderFns = []
|
|
|
22800
22796
|
if (this.config.hasOwnProperty('demName')) {
|
|
22801
22797
|
utils["a" /* default */].setValueByConfigKey(this, this.config, 'demName', demNameAry.join(','));
|
|
22802
22798
|
}
|
|
22803
|
-
} else {
|
|
22804
|
-
this.$emit('change', newVal);
|
|
22805
22799
|
}
|
|
22806
22800
|
// 通过valueChange事件发布值变更消息
|
|
22807
22801
|
this.$emit('valueChange', ary.join(','), newVal);
|
|
@@ -22931,8 +22925,8 @@ var mainvue_type_template_id_8015cf1e_scoped_true_staticRenderFns = []
|
|
|
22931
22925
|
});
|
|
22932
22926
|
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=script&lang=js&
|
|
22933
22927
|
/* harmony default export */ var packages_DimensionSelector_src_mainvue_type_script_lang_js_ = (DimensionSelector_src_mainvue_type_script_lang_js_);
|
|
22934
|
-
// EXTERNAL MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=style&index=0&id=
|
|
22935
|
-
var
|
|
22928
|
+
// EXTERNAL MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=style&index=0&id=10681225&prod&lang=scss&scoped=true&
|
|
22929
|
+
var mainvue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true_ = __webpack_require__("c33b");
|
|
22936
22930
|
|
|
22937
22931
|
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue
|
|
22938
22932
|
|
|
@@ -22945,11 +22939,11 @@ var mainvue_type_style_index_0_id_8015cf1e_prod_lang_scss_scoped_true_ = __webpa
|
|
|
22945
22939
|
|
|
22946
22940
|
var DimensionSelector_src_main_component = normalizeComponent(
|
|
22947
22941
|
packages_DimensionSelector_src_mainvue_type_script_lang_js_,
|
|
22948
|
-
|
|
22949
|
-
|
|
22942
|
+
mainvue_type_template_id_10681225_scoped_true_render,
|
|
22943
|
+
mainvue_type_template_id_10681225_scoped_true_staticRenderFns,
|
|
22950
22944
|
false,
|
|
22951
22945
|
null,
|
|
22952
|
-
"
|
|
22946
|
+
"10681225",
|
|
22953
22947
|
null
|
|
22954
22948
|
|
|
22955
22949
|
)
|
|
@@ -23577,8 +23571,8 @@ Dialog_src_main.install = function (Vue) {
|
|
|
23577
23571
|
Vue.component(Dialog_src_main.name, Dialog_src_main);
|
|
23578
23572
|
};
|
|
23579
23573
|
/* harmony default export */ var Dialog = (Dialog_src_main);
|
|
23580
|
-
// 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=
|
|
23581
|
-
var
|
|
23574
|
+
// 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=0b5eb5e6&scoped=true&
|
|
23575
|
+
var mainvue_type_template_id_0b5eb5e6_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",on:{"click":_vm.showEditInput}},[_c('span',{staticClass:"el-select__tags-text"},[_vm._v(_vm._s(item.value))]),_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:({
|
|
23582
23576
|
right: _vm.inputSuffixWidth - 1 + 'px',
|
|
23583
23577
|
width: 'auto!important',
|
|
23584
23578
|
height: _vm.inputSuffixHeight - 4 + 'px',
|
|
@@ -23587,11 +23581,11 @@ var mainvue_type_template_id_bf5a35ae_scoped_true_render = function () {var _vm=
|
|
|
23587
23581
|
: 'el-input__icon icon-duihuakuang',style:({
|
|
23588
23582
|
fontSize: '17px',
|
|
23589
23583
|
lineHeight: _vm.inputSuffixHeight + 'px',
|
|
23590
|
-
})}),_vm._v("\n "+_vm._s(_vm.custdialog.name)+"\n ")])],1)])],1)]):_vm._e()]),(!_vm.inputWriteable)?_c('span',
|
|
23591
|
-
var
|
|
23584
|
+
})}),_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)}
|
|
23585
|
+
var mainvue_type_template_id_0b5eb5e6_scoped_true_staticRenderFns = []
|
|
23592
23586
|
|
|
23593
23587
|
|
|
23594
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=
|
|
23588
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=0b5eb5e6&scoped=true&
|
|
23595
23589
|
|
|
23596
23590
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.js
|
|
23597
23591
|
|
|
@@ -23713,47 +23707,19 @@ var mainvue_type_template_id_bf5a35ae_scoped_true_staticRenderFns = []
|
|
|
23713
23707
|
}
|
|
23714
23708
|
}
|
|
23715
23709
|
});
|
|
23716
|
-
// 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=
|
|
23717
|
-
var
|
|
23718
|
-
|
|
23719
|
-
|
|
23720
|
-
|
|
23721
|
-
|
|
23722
|
-
|
|
23723
|
-
|
|
23724
|
-
|
|
23725
|
-
|
|
23726
|
-
|
|
23727
|
-
|
|
23728
|
-
|
|
23729
|
-
: 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) {
|
|
23730
|
-
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23731
|
-
}}}):_vm._e(),(condition.config.alias == 'org')?_c('ht-org-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23732
|
-
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23733
|
-
}}}):_vm._e(),(condition.config.alias == 'role')?_c('ht-role-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23734
|
-
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23735
|
-
}}}):_vm._e(),(condition.config.alias == 'job')?_c('ht-job-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23736
|
-
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23737
|
-
}}}):_vm._e(),(condition.config.alias == 'post')?_c('ht-post-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23738
|
-
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23739
|
-
}}}):_vm._e(),(condition.config.alias == 'dimension')?_c('ht-dimension-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23740
|
-
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23741
|
-
}}}):_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":{
|
|
23742
|
-
name: '请选择',
|
|
23743
|
-
icon: '',
|
|
23744
|
-
custDialog: {
|
|
23745
|
-
selectNum: 1,
|
|
23746
|
-
conditions: [],
|
|
23747
|
-
mappingConf: [],
|
|
23748
|
-
custQueryJson: [],
|
|
23749
|
-
alias: condition.config.alias,
|
|
23750
|
-
type: 'custDialog',
|
|
23751
|
-
},
|
|
23752
|
-
}},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)}
|
|
23753
|
-
var customDialogvue_type_template_id_3e2f487c_scoped_true_staticRenderFns = []
|
|
23754
|
-
|
|
23755
|
-
|
|
23756
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=3e2f487c&scoped=true&
|
|
23710
|
+
// 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=3a57945e&scoped=true&
|
|
23711
|
+
var customDialogvue_type_template_id_3a57945e_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":"60%"},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',{staticStyle:{"font-size":"14px"}},[_vm._v(_vm._s(condition.comment)+":")]),(condition.controllerType == '1')?_c('div',[_c('el-input',{staticStyle:{"width":"180px","padding":"10px 0","margin":"0 5px 0 5px"},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',{staticStyle:{"margin-right":"10px"}},_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',{staticStyle:{"margin-right":"10px"}},[(condition.config.choiceType == 'static')?_c('ht-select',{attrs:{"placeholder":_vm.quickSearch,"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('eip-select-dia',{attrs:{"placeholder":_vm.quickSearch,"ganged":{
|
|
23712
|
+
alias: condition.config.customQuery.alias,
|
|
23713
|
+
valueBind: condition.config.customQuery.valueBind,
|
|
23714
|
+
noInit: '',
|
|
23715
|
+
labelBind: condition.config.customQuery.labelBind,
|
|
23716
|
+
gangedBind: '{}',
|
|
23717
|
+
bind: condition.config.bind,
|
|
23718
|
+
},"multiple":false,"filterable":false,"allow-create":false,"selectlist":[],"query-params":_vm.queryParams},model:{value:(_vm.queryParams[condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams, condition.field, $$v)},expression:"queryParams[condition.field]"}})],1):_vm._e(),(condition.controllerType == '4')?_c('div',{staticStyle:{"margin-right":"10px"}},[_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()])}),(_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.displayfield),function(field){return _c('el-table-column',{key:field.field,staticStyle:{"width":"100%"},attrs:{"show-overflow-tooltip":true,"prop":field.field,"label":field.comment}})})],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)}
|
|
23719
|
+
var customDialogvue_type_template_id_3a57945e_scoped_true_staticRenderFns = []
|
|
23720
|
+
|
|
23721
|
+
|
|
23722
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=3a57945e&scoped=true&
|
|
23757
23723
|
|
|
23758
23724
|
// EXTERNAL MODULE: external "jquery"
|
|
23759
23725
|
var external_jquery_ = __webpack_require__("c5e1");
|
|
@@ -24062,139 +24028,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24062
24028
|
//
|
|
24063
24029
|
//
|
|
24064
24030
|
//
|
|
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
|
-
//
|
|
24193
|
-
//
|
|
24194
|
-
//
|
|
24195
|
-
//
|
|
24196
|
-
//
|
|
24197
|
-
//
|
|
24198
24031
|
|
|
24199
24032
|
|
|
24200
24033
|
|
|
@@ -24222,16 +24055,10 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24222
24055
|
isReadOnly: {
|
|
24223
24056
|
type: Boolean,
|
|
24224
24057
|
default: false
|
|
24225
|
-
}
|
|
24226
|
-
dialogConfig: Object,
|
|
24227
|
-
dialogType: String
|
|
24058
|
+
}
|
|
24228
24059
|
},
|
|
24229
24060
|
data() {
|
|
24230
24061
|
return {
|
|
24231
|
-
startDate: '',
|
|
24232
|
-
// 日期控件
|
|
24233
|
-
endDate: '',
|
|
24234
|
-
// 日期控件
|
|
24235
24062
|
tableHeight: 350,
|
|
24236
24063
|
isEditInputShow: false,
|
|
24237
24064
|
customValue: '',
|
|
@@ -24312,18 +24139,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24312
24139
|
return [this.props1[0][this.nodeKey]];
|
|
24313
24140
|
}
|
|
24314
24141
|
return [];
|
|
24315
|
-
},
|
|
24316
|
-
jumpParamKey() {
|
|
24317
|
-
return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
|
|
24318
|
-
},
|
|
24319
|
-
// 是否保存成跳转url参数
|
|
24320
|
-
isHaveJumpUrl() {
|
|
24321
|
-
return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
24322
|
-
},
|
|
24323
|
-
sortDisplayfield() {
|
|
24324
|
-
return this.displayfield.sort((a, b) => {
|
|
24325
|
-
return a.sort > b.sort ? 1 : -1;
|
|
24326
|
-
});
|
|
24327
24142
|
}
|
|
24328
24143
|
},
|
|
24329
24144
|
watch: {
|
|
@@ -24359,151 +24174,131 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24359
24174
|
});
|
|
24360
24175
|
},
|
|
24361
24176
|
methods: {
|
|
24362
|
-
// 获取已选择的选择器数据id
|
|
24363
|
-
getSelectId(data) {
|
|
24364
|
-
if (!data || !data.length) {
|
|
24365
|
-
return '';
|
|
24366
|
-
}
|
|
24367
|
-
let ids = [];
|
|
24368
|
-
data.forEach(item => {
|
|
24369
|
-
ids.push(item.id);
|
|
24370
|
-
});
|
|
24371
|
-
return ids.join(',');
|
|
24372
|
-
},
|
|
24373
24177
|
showDialog() {
|
|
24374
24178
|
let isMounted = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
24179
|
+
const this_ = this;
|
|
24375
24180
|
this.fixedParams = {};
|
|
24376
|
-
// 如果已存在配置信息就不去请求配置信息 直接初始化数据
|
|
24377
|
-
if (this.dialogConfig) {
|
|
24378
|
-
this.initDialog(this.dialogConfig, isMounted);
|
|
24379
|
-
return;
|
|
24380
|
-
}
|
|
24381
24181
|
var alias = this.custdialog.custDialog.alias;
|
|
24382
24182
|
this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
|
|
24383
|
-
|
|
24384
|
-
|
|
24385
|
-
|
|
24386
|
-
initDialog(customDialog, isMounted) {
|
|
24387
|
-
let alias = this.custdialog.custDialog.alias;
|
|
24388
|
-
const this_ = this;
|
|
24389
|
-
if (!customDialog || !customDialog.alias) {
|
|
24390
|
-
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
24391
|
-
return;
|
|
24392
|
-
}
|
|
24393
|
-
if (customDialog.style == 1) {
|
|
24394
|
-
var displaylist = JSON.parse(customDialog.displayfield);
|
|
24395
|
-
this_.nodeKey = displaylist.id;
|
|
24396
|
-
}
|
|
24397
|
-
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
24398
|
-
let obj = {};
|
|
24399
|
-
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
24400
|
-
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
24401
|
-
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
24402
|
-
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
24403
|
-
if (exp) {
|
|
24404
|
-
const params = JSON.parse(exp);
|
|
24405
|
-
if (params.pageBean) {
|
|
24406
|
-
this.pagination = {
|
|
24407
|
-
...params.pageBean
|
|
24408
|
-
};
|
|
24409
|
-
}
|
|
24183
|
+
if (!customDialog || !customDialog.alias) {
|
|
24184
|
+
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
24185
|
+
return;
|
|
24410
24186
|
}
|
|
24411
|
-
|
|
24412
|
-
|
|
24413
|
-
|
|
24414
|
-
|
|
24415
|
-
|
|
24416
|
-
|
|
24417
|
-
|
|
24418
|
-
|
|
24419
|
-
|
|
24420
|
-
|
|
24421
|
-
|
|
24422
|
-
|
|
24423
|
-
|
|
24424
|
-
|
|
24425
|
-
|
|
24426
|
-
|
|
24427
|
-
|
|
24428
|
-
this_.executeScriptResult = res && res.value;
|
|
24429
|
-
});
|
|
24430
|
-
}
|
|
24431
|
-
});
|
|
24432
|
-
}
|
|
24433
|
-
//判断对话框查询是否有条件
|
|
24434
|
-
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
24435
|
-
this_.quickSearch = ''; //填写提示 placeholder
|
|
24436
|
-
this_.conditionBind = [];
|
|
24437
|
-
let queryParams = [];
|
|
24438
|
-
let placeholders = [];
|
|
24439
|
-
if (userInputList.length > 0) {
|
|
24440
|
-
userInputList.forEach(ele => {
|
|
24441
|
-
var obj = {};
|
|
24442
|
-
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
24443
|
-
if (ele.defaultType == '1') {
|
|
24444
|
-
obj[ele.field] = '';
|
|
24445
|
-
queryParams.push(obj);
|
|
24446
|
-
// queryParams[ele.field] = "";
|
|
24447
|
-
this_.conditionBind.push(ele);
|
|
24448
|
-
placeholders.push('请输入' + ele.comment);
|
|
24449
|
-
}
|
|
24450
|
-
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
24451
|
-
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
24187
|
+
if (customDialog.style == 1) {
|
|
24188
|
+
var displaylist = JSON.parse(customDialog.displayfield);
|
|
24189
|
+
this_.nodeKey = displaylist.id;
|
|
24190
|
+
}
|
|
24191
|
+
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
24192
|
+
let obj = {};
|
|
24193
|
+
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
24194
|
+
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
24195
|
+
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
24196
|
+
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
24197
|
+
if (exp) {
|
|
24198
|
+
const params = JSON.parse(exp);
|
|
24199
|
+
if (params.pageBean) {
|
|
24200
|
+
this.pagination = {
|
|
24201
|
+
...params.pageBean
|
|
24202
|
+
};
|
|
24203
|
+
}
|
|
24452
24204
|
}
|
|
24453
|
-
}
|
|
24454
|
-
|
|
24455
|
-
|
|
24456
|
-
|
|
24457
|
-
|
|
24458
|
-
|
|
24459
|
-
|
|
24460
|
-
|
|
24461
|
-
|
|
24462
|
-
|
|
24463
|
-
|
|
24464
|
-
|
|
24465
|
-
|
|
24466
|
-
|
|
24467
|
-
|
|
24468
|
-
|
|
24469
|
-
|
|
24470
|
-
|
|
24471
|
-
|
|
24205
|
+
}
|
|
24206
|
+
//对话框按表单字段查询(参数传入的)
|
|
24207
|
+
let bindList = this_.custdialog.custDialog.conditions;
|
|
24208
|
+
this_.param = []; //绑定的表单字段
|
|
24209
|
+
if (bindList.length > 0) {
|
|
24210
|
+
bindList.forEach(ele => {
|
|
24211
|
+
//绑定表单字段
|
|
24212
|
+
if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
|
|
24213
|
+
let obj = {};
|
|
24214
|
+
obj.field = ele.field;
|
|
24215
|
+
obj.bind = ele.bind;
|
|
24216
|
+
obj.bindType = ele.bindType;
|
|
24217
|
+
this_.param.push(obj);
|
|
24218
|
+
}
|
|
24219
|
+
//取值对象为脚本时获取value
|
|
24220
|
+
if (ele.bindType === 3) {
|
|
24221
|
+
this_.$requestConfig.executeScript(ele.bind).then(res => {
|
|
24222
|
+
this_.executeScriptResult = res && res.value;
|
|
24223
|
+
});
|
|
24224
|
+
}
|
|
24225
|
+
});
|
|
24226
|
+
}
|
|
24227
|
+
//判断对话框查询是否有条件
|
|
24228
|
+
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
24229
|
+
this_.quickSearch = ''; //填写提示 placeholder
|
|
24230
|
+
this_.conditionBind = [];
|
|
24231
|
+
let queryParams = [];
|
|
24232
|
+
let placeholders = [];
|
|
24233
|
+
if (userInputList.length > 0) {
|
|
24234
|
+
userInputList.forEach(ele => {
|
|
24235
|
+
var obj = {};
|
|
24236
|
+
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
24237
|
+
if (ele.defaultType == '1') {
|
|
24238
|
+
obj[ele.field] = '';
|
|
24239
|
+
queryParams.push(obj);
|
|
24240
|
+
// queryParams[ele.field] = "";
|
|
24241
|
+
this_.conditionBind.push(ele);
|
|
24242
|
+
placeholders.push('请输入' + ele.comment);
|
|
24243
|
+
}
|
|
24244
|
+
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
24245
|
+
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
24246
|
+
}
|
|
24247
|
+
});
|
|
24248
|
+
this.$set(this, 'queryParams', queryParams);
|
|
24249
|
+
this.$set(this, 'placeholders', placeholders);
|
|
24250
|
+
}
|
|
24251
|
+
//判断是否显示条件查询输入框
|
|
24252
|
+
if (this_.quickSearch != '') {
|
|
24253
|
+
this_.querysShow = true;
|
|
24254
|
+
} else {
|
|
24255
|
+
this_.querysShow = true;
|
|
24256
|
+
}
|
|
24257
|
+
this_.quickSearch = '请输入' + this.quickSearch + '查询';
|
|
24258
|
+
this_.style = 'height:' + customDialog.height + 'px';
|
|
24259
|
+
if (window.screen.height && window.screen.height <= 900) {
|
|
24260
|
+
this.style = 'height:440px';
|
|
24261
|
+
}
|
|
24262
|
+
if (customDialog.style == 0 || customDialog.style == 2) {
|
|
24263
|
+
//列表
|
|
24264
|
+
setTimeout(() => {
|
|
24265
|
+
this_.customDialogShow({
|
|
24266
|
+
alias: alias,
|
|
24267
|
+
customDialog: customDialog
|
|
24268
|
+
}, isMounted);
|
|
24269
|
+
}, 100);
|
|
24270
|
+
} else if (customDialog.style == 1) {
|
|
24271
|
+
//树形
|
|
24272
|
+
this_.pageParam = {
|
|
24472
24273
|
alias: alias,
|
|
24473
24274
|
customDialog: customDialog
|
|
24474
|
-
}
|
|
24475
|
-
|
|
24476
|
-
|
|
24477
|
-
|
|
24478
|
-
|
|
24479
|
-
|
|
24480
|
-
|
|
24481
|
-
|
|
24482
|
-
|
|
24483
|
-
|
|
24484
|
-
|
|
24485
|
-
|
|
24486
|
-
|
|
24487
|
-
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
24488
|
-
if (this_.conditionfieldTree.length > 0) {
|
|
24489
|
-
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
24490
|
-
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
24491
|
-
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
24492
|
-
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
24275
|
+
};
|
|
24276
|
+
this_.customDialog = customDialog;
|
|
24277
|
+
let param = {};
|
|
24278
|
+
this_.conditionfieldTree = [];
|
|
24279
|
+
//判断是否存在条件
|
|
24280
|
+
if (customDialog.conditionfield) {
|
|
24281
|
+
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
24282
|
+
if (this_.conditionfieldTree.length > 0) {
|
|
24283
|
+
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
24284
|
+
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
24285
|
+
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
24286
|
+
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
24287
|
+
}
|
|
24493
24288
|
}
|
|
24494
24289
|
}
|
|
24495
24290
|
}
|
|
24496
|
-
|
|
24497
|
-
|
|
24498
|
-
|
|
24499
|
-
|
|
24500
|
-
|
|
24501
|
-
|
|
24502
|
-
|
|
24503
|
-
|
|
24291
|
+
//有动态传入的字段
|
|
24292
|
+
if (!isMounted) {
|
|
24293
|
+
if (JSON.stringify(param) != '{}') {
|
|
24294
|
+
this_.dialogVisible = true;
|
|
24295
|
+
} else {
|
|
24296
|
+
//无动态传入的字段
|
|
24297
|
+
this_.customDialogTreeShow(this_.pageParam);
|
|
24298
|
+
}
|
|
24504
24299
|
}
|
|
24505
24300
|
}
|
|
24506
|
-
}
|
|
24301
|
+
});
|
|
24507
24302
|
},
|
|
24508
24303
|
initTableHeight() {
|
|
24509
24304
|
this.$nextTick(() => {
|
|
@@ -24632,13 +24427,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24632
24427
|
}
|
|
24633
24428
|
// 添加用户id 岗位id 组织id
|
|
24634
24429
|
try {
|
|
24635
|
-
if (this.$requestConfig.getUserId
|
|
24430
|
+
if (this.$requestConfig.getUserId()) {
|
|
24636
24431
|
ctx.userId = this.$requestConfig.getUserId();
|
|
24637
24432
|
}
|
|
24638
|
-
if (this.$requestConfig.getOrgId
|
|
24433
|
+
if (this.$requestConfig.getOrgId()) {
|
|
24639
24434
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
24640
24435
|
}
|
|
24641
|
-
if (this.$requestConfig.getPostId
|
|
24436
|
+
if (this.$requestConfig.getPostId()) {
|
|
24642
24437
|
ctx.postId = this.$requestConfig.getPostId();
|
|
24643
24438
|
}
|
|
24644
24439
|
} catch (e) {
|
|
@@ -24723,19 +24518,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24723
24518
|
this.selectOrgs = this.convertComment2Field(str, field);
|
|
24724
24519
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
24725
24520
|
var val = '';
|
|
24726
|
-
str.forEach(
|
|
24727
|
-
|
|
24728
|
-
if (this.jumpParamKey && this.isHaveJumpUrl && (this.modelName == 'data.' + con['target'][0] || this.modelName.includes('item.') && con['target'][0].endsWith(this.modelName.split('.')[1]))) {
|
|
24729
|
-
let jumpParamKey = this.jumpParamKey;
|
|
24730
|
-
let jumpParamValue = this.jumpParamKey;
|
|
24731
|
-
if (this.jumpParamKey.includes(':')) {
|
|
24732
|
-
jumpParamKey = this.jumpParamKey.split(':')[0];
|
|
24733
|
-
jumpParamValue = this.jumpParamKey.split(':')[1];
|
|
24734
|
-
}
|
|
24735
|
-
val += `${item[con.from]}¯${jumpParamKey}:${this.selectOrgs[index][jumpParamValue]},`;
|
|
24736
|
-
} else {
|
|
24737
|
-
val += item[con.from] + ',';
|
|
24738
|
-
}
|
|
24521
|
+
str.forEach(item => {
|
|
24522
|
+
val += item[con.from] + ',';
|
|
24739
24523
|
});
|
|
24740
24524
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
24741
24525
|
utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
|
|
@@ -24806,36 +24590,19 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24806
24590
|
};
|
|
24807
24591
|
}
|
|
24808
24592
|
//用户输入的
|
|
24809
|
-
let flag = false;
|
|
24810
24593
|
if (this.queryParams.length != 0 && this.queryParams[0] != '') {
|
|
24811
24594
|
this.conditionBind.forEach((item, index) => {
|
|
24812
|
-
// 日期范围特殊处理
|
|
24813
|
-
if (item.dbType == 'date' && item.condition == 'BETWEEN') {
|
|
24814
|
-
if (this.queryParams[index].startDate && !this.queryParams[index].endDate || !this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
24815
|
-
flag = true;
|
|
24816
|
-
this.$message.info('日期范围未填写完整!');
|
|
24817
|
-
return;
|
|
24818
|
-
}
|
|
24819
|
-
if (this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
24820
|
-
this.queryParams[index][item.field] = `${this.queryParams[index].startDate},${this.queryParams[index].endDate}`;
|
|
24821
|
-
} else {
|
|
24822
|
-
this.queryParams[index][item.field] = '';
|
|
24823
|
-
}
|
|
24824
|
-
}
|
|
24825
24595
|
if (this.queryParams[index][item.field]) {
|
|
24826
24596
|
querys.push({
|
|
24827
24597
|
property: item.field,
|
|
24828
24598
|
value: this.queryParams[index][item.field],
|
|
24829
24599
|
group: 'main',
|
|
24830
|
-
operation:
|
|
24600
|
+
operation: 'LIKE',
|
|
24831
24601
|
relation: 'AND'
|
|
24832
24602
|
});
|
|
24833
24603
|
}
|
|
24834
24604
|
});
|
|
24835
24605
|
}
|
|
24836
|
-
if (flag) {
|
|
24837
|
-
return;
|
|
24838
|
-
}
|
|
24839
24606
|
//参数传入的查询拼接
|
|
24840
24607
|
if (this.param) {
|
|
24841
24608
|
this.param.forEach(item => {
|
|
@@ -24874,13 +24641,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24874
24641
|
queryParamMap.total = pageBean.pageBean.total;
|
|
24875
24642
|
// 添加用户id 岗位id 组织id
|
|
24876
24643
|
try {
|
|
24877
|
-
if (this.$requestConfig.getUserId
|
|
24644
|
+
if (this.$requestConfig.getUserId()) {
|
|
24878
24645
|
ctx.userId = this.$requestConfig.getUserId();
|
|
24879
24646
|
}
|
|
24880
|
-
if (this.$requestConfig.getOrgId
|
|
24647
|
+
if (this.$requestConfig.getOrgId()) {
|
|
24881
24648
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
24882
24649
|
}
|
|
24883
|
-
if (this.$requestConfig.getPostId
|
|
24650
|
+
if (this.$requestConfig.getPostId()) {
|
|
24884
24651
|
ctx.postId = this.$requestConfig.getPostId();
|
|
24885
24652
|
}
|
|
24886
24653
|
} catch (e) {
|
|
@@ -24901,14 +24668,12 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24901
24668
|
value: queryParamMap[bindKey] || ctx[bindKey] || ''
|
|
24902
24669
|
};
|
|
24903
24670
|
});
|
|
24904
|
-
param.querys = queryList
|
|
24671
|
+
param.querys = queryList;
|
|
24905
24672
|
if (this.customDialog.needPage) {
|
|
24906
24673
|
param.pageBean = obj;
|
|
24907
24674
|
} else {
|
|
24908
24675
|
param.pageBean.pageSize = -1;
|
|
24909
24676
|
}
|
|
24910
|
-
// 日期格式的 改成数组
|
|
24911
|
-
// this.changeDateFormat(param)
|
|
24912
24677
|
//构造请求的参数
|
|
24913
24678
|
let requestParam = {
|
|
24914
24679
|
pageBean: param,
|
|
@@ -24948,15 +24713,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24948
24713
|
}
|
|
24949
24714
|
this.tableRadioVal = '';
|
|
24950
24715
|
},
|
|
24951
|
-
changeDateFormat(param) {
|
|
24952
|
-
let dateValidate1 = /^\d{4}\-\d{2}\-\d{2}$/;
|
|
24953
|
-
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$/;
|
|
24954
|
-
Object.keys(param).forEach(key => {
|
|
24955
|
-
if (param[key] && typeof param[key] == 'string' && param[key].includes(',') && (dateValidate1.test(param[key].split(',')[0]) || dateValidate2.test(param[key].split(',')[0]))) {
|
|
24956
|
-
param[key] = param[key].split(',');
|
|
24957
|
-
}
|
|
24958
|
-
});
|
|
24959
|
-
},
|
|
24960
24716
|
getSearchValueByKey() {
|
|
24961
24717
|
let queryParamsObj = {};
|
|
24962
24718
|
if (this.queryParams.length > 0) {
|
|
@@ -25182,8 +24938,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25182
24938
|
},
|
|
25183
24939
|
// 同步选择结果
|
|
25184
24940
|
syncInputValue() {
|
|
25185
|
-
// 对话框跳转url需要两个参数 1当前控件绑定的对象参数modelName 2对话框配置中配置的key名称
|
|
25186
|
-
// 同步值时,如果有绑定url跳转参数,值格式为 名称¯跳转key:跳转value
|
|
25187
24941
|
let thisIndex = null; //当前数据所在下标
|
|
25188
24942
|
let parentIndex = null; //父节点所在下标
|
|
25189
24943
|
if (this.$parent.$el) {
|
|
@@ -25257,39 +25011,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25257
25011
|
}
|
|
25258
25012
|
}
|
|
25259
25013
|
}
|
|
25260
|
-
// 如果是查询中使用的对话框
|
|
25261
|
-
if (this.dialogType == 'search') {
|
|
25262
|
-
let returnVal = [];
|
|
25263
|
-
str.forEach(item => {
|
|
25264
|
-
returnVal.push(decodeURIComponent(item[this.modelName]));
|
|
25265
|
-
});
|
|
25266
|
-
this.$emit('updateInput', returnVal.join(','));
|
|
25267
|
-
return;
|
|
25268
|
-
}
|
|
25269
25014
|
const pInst = utils["a" /* default */].getOnlineFormInstance(this);
|
|
25270
25015
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
25271
25016
|
var val = '';
|
|
25272
25017
|
var from = con.from.toLowerCase();
|
|
25273
25018
|
str.forEach(item => {
|
|
25274
|
-
// 如果有绑定url跳转参数 需获取跳转参数的key
|
|
25275
25019
|
if (item) {
|
|
25276
|
-
|
|
25277
|
-
// 如果有冒号 冒号前面是传值key 后面是取值key
|
|
25278
|
-
let jumpParamKey = this.jumpParamKey;
|
|
25279
|
-
let jumpParamValue = this.jumpParamKey;
|
|
25280
|
-
if (this.jumpParamKey.includes(':')) {
|
|
25281
|
-
jumpParamKey = this.jumpParamKey.split(':')[0];
|
|
25282
|
-
jumpParamValue = this.jumpParamKey.split(':')[1];
|
|
25283
|
-
}
|
|
25284
|
-
// 需根据key 找到对应 返回数据的返回名称
|
|
25285
|
-
let returnMap = returnStr.find(k => {
|
|
25286
|
-
return k.field.toLowerCase() == jumpParamValue.toLowerCase();
|
|
25287
|
-
});
|
|
25288
|
-
let returnMapKey = returnMap ? returnMap.comment : '';
|
|
25289
|
-
val += `${decodeURIComponent(item[from])}¯${jumpParamKey}:${decodeURIComponent(item[returnMapKey])},`;
|
|
25290
|
-
} else {
|
|
25291
|
-
val += decodeURIComponent(item[from]) + ',';
|
|
25292
|
-
}
|
|
25020
|
+
val += decodeURIComponent(item[from]) + ',';
|
|
25293
25021
|
}
|
|
25294
25022
|
});
|
|
25295
25023
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
@@ -25308,6 +25036,7 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25308
25036
|
const _val = val.substring(0, val.length - 1);
|
|
25309
25037
|
if (path) {
|
|
25310
25038
|
if (this.modelName && this.modelName.endsWith(path)) {
|
|
25039
|
+
// this.$emit('input', _val)
|
|
25311
25040
|
this.$emit('updateInput', _val);
|
|
25312
25041
|
}
|
|
25313
25042
|
utils["a" /* default */].setValueByPath(pInst, `${pInst.data ? 'data.' : 'model.'}${path}`, _val, thisIndex);
|
|
@@ -25539,8 +25268,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25539
25268
|
});
|
|
25540
25269
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=script&lang=js&
|
|
25541
25270
|
/* harmony default export */ var src_customDialogvue_type_script_lang_js_ = (customDialogvue_type_script_lang_js_);
|
|
25542
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=
|
|
25543
|
-
var
|
|
25271
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=3a57945e&prod&lang=scss&scoped=true&
|
|
25272
|
+
var customDialogvue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true_ = __webpack_require__("7ff9");
|
|
25544
25273
|
|
|
25545
25274
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue
|
|
25546
25275
|
|
|
@@ -25553,47 +25282,31 @@ var customDialogvue_type_style_index_0_id_3e2f487c_prod_lang_scss_scoped_true_ =
|
|
|
25553
25282
|
|
|
25554
25283
|
var customDialog_component = normalizeComponent(
|
|
25555
25284
|
src_customDialogvue_type_script_lang_js_,
|
|
25556
|
-
|
|
25557
|
-
|
|
25285
|
+
customDialogvue_type_template_id_3a57945e_scoped_true_render,
|
|
25286
|
+
customDialogvue_type_template_id_3a57945e_scoped_true_staticRenderFns,
|
|
25558
25287
|
false,
|
|
25559
25288
|
null,
|
|
25560
|
-
"
|
|
25289
|
+
"3a57945e",
|
|
25561
25290
|
null
|
|
25562
25291
|
|
|
25563
25292
|
)
|
|
25564
25293
|
|
|
25565
25294
|
/* harmony default export */ var CustomDialog_src_customDialog = (customDialog_component.exports);
|
|
25566
|
-
// 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=
|
|
25567
|
-
var
|
|
25568
|
-
|
|
25569
|
-
|
|
25570
|
-
|
|
25571
|
-
|
|
25572
|
-
|
|
25573
|
-
|
|
25574
|
-
|
|
25575
|
-
}}}):_vm._e(),(condition.config.alias == 'post')?_c('ht-post-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25576
|
-
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25577
|
-
}}}):_vm._e(),(condition.config.alias == 'dimension')?_c('ht-dimension-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25578
|
-
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25579
|
-
}}}):_vm._e()],1):_vm._e(),(condition.controllerType == '5')?_c('div',[_c('ht-custom-dialog',{attrs:{"model-name":condition.config.keyBind,"dialogType":"search","custdialog":{
|
|
25580
|
-
name: '请选择',
|
|
25581
|
-
icon: '',
|
|
25582
|
-
custDialog: {
|
|
25583
|
-
selectNum: 1,
|
|
25584
|
-
conditions: [],
|
|
25585
|
-
mappingConf: [],
|
|
25586
|
-
custQueryJson: [],
|
|
25587
|
-
alias: condition.config.alias,
|
|
25588
|
-
type: 'custDialog',
|
|
25589
|
-
},
|
|
25590
|
-
}},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(
|
|
25295
|
+
// 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=1661eebb&scoped=true&
|
|
25296
|
+
var customMobileDialogvue_type_template_id_1661eebb_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',{staticStyle:{"margin-right":"10px"}},_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',{staticStyle:{"margin-right":"10px"}},[(condition.config.choiceType == 'static')?_c('ht-select',{attrs:{"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('eip-select-dia',{attrs:{"ganged":{
|
|
25297
|
+
alias: condition.config.customQuery.alias,
|
|
25298
|
+
valueBind: condition.config.customQuery.valueBind,
|
|
25299
|
+
noInit: '',
|
|
25300
|
+
labelBind: condition.config.customQuery.labelBind,
|
|
25301
|
+
gangedBind: '{}',
|
|
25302
|
+
bind: condition.config.bind,
|
|
25303
|
+
},"multiple":false,"filterable":false,"allow-create":false,"selectlist":[],"query-params":_vm.queryParams},model:{value:(_vm.queryParams[condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams, condition.field, $$v)},expression:"queryParams[condition.field]"}})],1):_vm._e(),(condition.controllerType == '4')?_c('div',{staticStyle:{"margin-right":"10px"}},[_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()])}),_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.displayfield),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(
|
|
25591
25304
|
function (k) { return k.defaultType == '4'; }
|
|
25592
|
-
)),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)
|
|
25593
|
-
var
|
|
25305
|
+
)),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)}
|
|
25306
|
+
var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns = []
|
|
25594
25307
|
|
|
25595
25308
|
|
|
25596
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=
|
|
25309
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=1661eebb&scoped=true&
|
|
25597
25310
|
|
|
25598
25311
|
// 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&
|
|
25599
25312
|
//
|
|
@@ -25854,116 +25567,6 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
25854
25567
|
//
|
|
25855
25568
|
//
|
|
25856
25569
|
//
|
|
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
|
-
//
|
|
25952
|
-
//
|
|
25953
|
-
//
|
|
25954
|
-
//
|
|
25955
|
-
//
|
|
25956
|
-
//
|
|
25957
|
-
//
|
|
25958
|
-
//
|
|
25959
|
-
//
|
|
25960
|
-
//
|
|
25961
|
-
//
|
|
25962
|
-
//
|
|
25963
|
-
//
|
|
25964
|
-
//
|
|
25965
|
-
//
|
|
25966
|
-
//
|
|
25967
25570
|
|
|
25968
25571
|
|
|
25969
25572
|
|
|
@@ -25985,17 +25588,10 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
25985
25588
|
subIndex: Number,
|
|
25986
25589
|
sunIndex: Number,
|
|
25987
25590
|
subPath: String,
|
|
25988
|
-
currentSubData: Array
|
|
25989
|
-
dialogConfig: Object,
|
|
25990
|
-
dialogType: String
|
|
25591
|
+
currentSubData: Array
|
|
25991
25592
|
},
|
|
25992
25593
|
data() {
|
|
25993
25594
|
return {
|
|
25994
|
-
dateType: 'date',
|
|
25995
|
-
currentDate: '',
|
|
25996
|
-
// 当前日期
|
|
25997
|
-
isShowDatePop: false,
|
|
25998
|
-
// 是否显示日期选择控件
|
|
25999
25595
|
isShowMoreSearch: false,
|
|
26000
25596
|
treeSelectText: '',
|
|
26001
25597
|
// 组合树时选中的查询条件
|
|
@@ -26075,47 +25671,9 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
26075
25671
|
sureButtonText() {
|
|
26076
25672
|
const selectedText = this.selectIds.length > 0 ? `(${this.selectIds.length})` : '';
|
|
26077
25673
|
return `${this.$t('ht.common.confirm')}${selectedText}`;
|
|
26078
|
-
},
|
|
26079
|
-
jumpParamKey() {
|
|
26080
|
-
return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
|
|
26081
|
-
},
|
|
26082
|
-
// 是否保存成跳转url参数
|
|
26083
|
-
isHaveJumpUrl() {
|
|
26084
|
-
return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
26085
|
-
},
|
|
26086
|
-
sortDisplayfield() {
|
|
26087
|
-
return this.displayfield.sort((a, b) => {
|
|
26088
|
-
return a.sort > b.sort ? 1 : -1;
|
|
26089
|
-
});
|
|
26090
25674
|
}
|
|
26091
25675
|
},
|
|
26092
25676
|
methods: {
|
|
26093
|
-
// 获取已选择的选择器数据id
|
|
26094
|
-
getSelectId(data) {
|
|
26095
|
-
if (!data || !data.length) {
|
|
26096
|
-
return '';
|
|
26097
|
-
}
|
|
26098
|
-
let ids = [];
|
|
26099
|
-
data.forEach(item => {
|
|
26100
|
-
ids.push(item.id);
|
|
26101
|
-
});
|
|
26102
|
-
return ids.join(',');
|
|
26103
|
-
},
|
|
26104
|
-
showDate(index, key) {
|
|
26105
|
-
this.dateType = this.conditionBind[index].config.inputFormat.includes('mm:') ? 'datetime' : 'date';
|
|
26106
|
-
this.currentDateData = {
|
|
26107
|
-
index,
|
|
26108
|
-
key
|
|
26109
|
-
};
|
|
26110
|
-
this.currentDate = this.queryParams[index][key] ? new Date(this.queryParams[index][key].replace(/-/g, '/')) : new Date();
|
|
26111
|
-
this.isShowDatePop = true;
|
|
26112
|
-
},
|
|
26113
|
-
// 日期确认
|
|
26114
|
-
confirmFn() {
|
|
26115
|
-
let currentConfig = this.conditionBind[this.currentDateData.index];
|
|
26116
|
-
this.queryParams[this.currentDateData.index][this.currentDateData.key] = this.currentDate.format(currentConfig.config.inputFormat);
|
|
26117
|
-
this.isShowDatePop = false;
|
|
26118
|
-
},
|
|
26119
25677
|
searchInputChange() {
|
|
26120
25678
|
if (!this.isShowMoreSearch) {
|
|
26121
25679
|
this.search(true);
|
|
@@ -26161,121 +25719,112 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
26161
25719
|
this.search(true);
|
|
26162
25720
|
},
|
|
26163
25721
|
showDialog() {
|
|
25722
|
+
const this_ = this;
|
|
26164
25723
|
this.fixedParams = {};
|
|
26165
|
-
// 如果已存在配置信息就不去请求配置信息 直接初始化数据
|
|
26166
|
-
if (this.dialogConfig) {
|
|
26167
|
-
this.initDialog(this.dialogConfig);
|
|
26168
|
-
return;
|
|
26169
|
-
}
|
|
26170
25724
|
var alias = this.custdialog.custDialog.alias;
|
|
26171
25725
|
this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
|
|
26172
|
-
|
|
26173
|
-
|
|
26174
|
-
|
|
26175
|
-
initDialog(customDialog) {
|
|
26176
|
-
let alias = this.custdialog.custDialog.alias;
|
|
26177
|
-
const this_ = this;
|
|
26178
|
-
if (!customDialog || !customDialog.alias) {
|
|
26179
|
-
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
26180
|
-
return;
|
|
26181
|
-
}
|
|
26182
|
-
if (customDialog.style == 1) {
|
|
26183
|
-
var displaylist = JSON.parse(customDialog.displayfield);
|
|
26184
|
-
this_.nodeKey = displaylist.id;
|
|
26185
|
-
}
|
|
26186
|
-
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
26187
|
-
let obj = {};
|
|
26188
|
-
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
26189
|
-
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
26190
|
-
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
26191
|
-
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
26192
|
-
if (exp) {
|
|
26193
|
-
const params = JSON.parse(exp);
|
|
26194
|
-
if (params.pageBean) {
|
|
26195
|
-
this.pagination = {
|
|
26196
|
-
...params.pageBean
|
|
26197
|
-
};
|
|
26198
|
-
}
|
|
25726
|
+
if (!customDialog || !customDialog.alias) {
|
|
25727
|
+
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
25728
|
+
return;
|
|
26199
25729
|
}
|
|
26200
|
-
|
|
26201
|
-
|
|
26202
|
-
|
|
26203
|
-
|
|
26204
|
-
|
|
26205
|
-
|
|
26206
|
-
|
|
26207
|
-
|
|
26208
|
-
|
|
26209
|
-
|
|
26210
|
-
|
|
26211
|
-
|
|
26212
|
-
|
|
26213
|
-
|
|
26214
|
-
|
|
26215
|
-
|
|
26216
|
-
|
|
25730
|
+
if (customDialog.style == 1) {
|
|
25731
|
+
var displaylist = JSON.parse(customDialog.displayfield);
|
|
25732
|
+
this_.nodeKey = displaylist.id;
|
|
25733
|
+
}
|
|
25734
|
+
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
25735
|
+
let obj = {};
|
|
25736
|
+
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
25737
|
+
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
25738
|
+
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
25739
|
+
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
25740
|
+
if (exp) {
|
|
25741
|
+
const params = JSON.parse(exp);
|
|
25742
|
+
if (params.pageBean) {
|
|
25743
|
+
this.pagination = {
|
|
25744
|
+
...params.pageBean
|
|
25745
|
+
};
|
|
25746
|
+
}
|
|
26217
25747
|
}
|
|
26218
|
-
}
|
|
26219
|
-
|
|
25748
|
+
}
|
|
25749
|
+
//对话框按表单字段查询(参数传入的)
|
|
25750
|
+
let bindList = this_.custdialog.custDialog.conditions;
|
|
25751
|
+
this_.param = []; //绑定的表单字段
|
|
25752
|
+
if (bindList.length > 0) {
|
|
25753
|
+
bindList.forEach(ele => {
|
|
25754
|
+
//绑定表单字段
|
|
25755
|
+
if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
|
|
25756
|
+
let obj = {};
|
|
25757
|
+
obj.field = ele.field;
|
|
25758
|
+
obj.bind = ele.bind;
|
|
25759
|
+
obj.bindType = ele.bindType;
|
|
25760
|
+
this_.param.push(obj);
|
|
25761
|
+
}
|
|
25762
|
+
// bindType 1 表单字段 2固定 3脚本
|
|
25763
|
+
if (ele.defaultType == '3' && ele.bindType === 2) {
|
|
25764
|
+
this_.fixedParams[ele.field] = ele.bind || '';
|
|
25765
|
+
}
|
|
25766
|
+
});
|
|
25767
|
+
}
|
|
26220
25768
|
|
|
26221
|
-
|
|
26222
|
-
|
|
26223
|
-
|
|
26224
|
-
|
|
26225
|
-
|
|
26226
|
-
|
|
26227
|
-
|
|
26228
|
-
|
|
26229
|
-
|
|
26230
|
-
|
|
26231
|
-
|
|
26232
|
-
|
|
26233
|
-
|
|
26234
|
-
|
|
26235
|
-
|
|
26236
|
-
|
|
26237
|
-
|
|
26238
|
-
|
|
26239
|
-
|
|
26240
|
-
|
|
26241
|
-
|
|
26242
|
-
|
|
26243
|
-
|
|
26244
|
-
|
|
26245
|
-
|
|
26246
|
-
|
|
26247
|
-
|
|
26248
|
-
|
|
26249
|
-
|
|
26250
|
-
|
|
26251
|
-
|
|
26252
|
-
|
|
26253
|
-
|
|
26254
|
-
|
|
26255
|
-
|
|
26256
|
-
|
|
26257
|
-
|
|
26258
|
-
|
|
26259
|
-
|
|
26260
|
-
|
|
26261
|
-
|
|
26262
|
-
|
|
26263
|
-
|
|
26264
|
-
|
|
26265
|
-
|
|
26266
|
-
|
|
25769
|
+
//判断对话框查询是否有条件
|
|
25770
|
+
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
25771
|
+
this_.conditionBind = [];
|
|
25772
|
+
let queryParams = [];
|
|
25773
|
+
let placeholders = [];
|
|
25774
|
+
if (userInputList.length > 0) {
|
|
25775
|
+
userInputList.forEach(ele => {
|
|
25776
|
+
var obj = {};
|
|
25777
|
+
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
25778
|
+
if (ele.defaultType == '1') {
|
|
25779
|
+
obj[ele.field] = '';
|
|
25780
|
+
queryParams.push(obj);
|
|
25781
|
+
// queryParams[ele.field] = "";
|
|
25782
|
+
this_.conditionBind.push(ele);
|
|
25783
|
+
placeholders.push('请输入' + ele.comment);
|
|
25784
|
+
}
|
|
25785
|
+
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
25786
|
+
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
25787
|
+
}
|
|
25788
|
+
});
|
|
25789
|
+
this.$set(this, 'queryParams', queryParams);
|
|
25790
|
+
this.$set(this, 'placeholders', placeholders);
|
|
25791
|
+
}
|
|
25792
|
+
if (customDialog.style == 0 || customDialog.style == 2) {
|
|
25793
|
+
//列表
|
|
25794
|
+
this_.customDialogShow({
|
|
25795
|
+
alias: alias,
|
|
25796
|
+
customDialog: customDialog
|
|
25797
|
+
});
|
|
25798
|
+
} else if (customDialog.style == 1) {
|
|
25799
|
+
//树形
|
|
25800
|
+
this_.pageParam = {
|
|
25801
|
+
alias: alias,
|
|
25802
|
+
customDialog: customDialog
|
|
25803
|
+
};
|
|
25804
|
+
this_.customDialog = customDialog;
|
|
25805
|
+
let param = {};
|
|
25806
|
+
this_.conditionfieldTree = [];
|
|
25807
|
+
//判断是否存在条件
|
|
25808
|
+
if (customDialog.conditionfield) {
|
|
25809
|
+
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
25810
|
+
if (this_.conditionfieldTree.length > 0) {
|
|
25811
|
+
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
25812
|
+
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
25813
|
+
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
25814
|
+
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
25815
|
+
}
|
|
26267
25816
|
}
|
|
26268
25817
|
}
|
|
26269
25818
|
}
|
|
25819
|
+
//有动态传入的字段
|
|
25820
|
+
if (JSON.stringify(param) != '{}') {
|
|
25821
|
+
this_.dialogVisible = true;
|
|
25822
|
+
} else {
|
|
25823
|
+
//无动态传入的字段
|
|
25824
|
+
this_.customDialogTreeShow(this_.pageParam);
|
|
25825
|
+
}
|
|
26270
25826
|
}
|
|
26271
|
-
|
|
26272
|
-
if (JSON.stringify(param) != '{}') {
|
|
26273
|
-
this_.dialogVisible = true;
|
|
26274
|
-
} else {
|
|
26275
|
-
//无动态传入的字段
|
|
26276
|
-
this_.customDialogTreeShow(this_.pageParam);
|
|
26277
|
-
}
|
|
26278
|
-
}
|
|
25827
|
+
});
|
|
26279
25828
|
},
|
|
26280
25829
|
treeClick(data) {
|
|
26281
25830
|
// 单选
|
|
@@ -26393,13 +25942,13 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
26393
25942
|
}
|
|
26394
25943
|
// 添加用户id 岗位id 组织id
|
|
26395
25944
|
try {
|
|
26396
|
-
if (this.$requestConfig.getUserId
|
|
25945
|
+
if (this.$requestConfig.getUserId()) {
|
|
26397
25946
|
ctx.userId = this.$requestConfig.getUserId();
|
|
26398
25947
|
}
|
|
26399
|
-
if (this.$requestConfig.getOrgId
|
|
25948
|
+
if (this.$requestConfig.getOrgId()) {
|
|
26400
25949
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
26401
25950
|
}
|
|
26402
|
-
if (this.$requestConfig.getPostId
|
|
25951
|
+
if (this.$requestConfig.getPostId()) {
|
|
26403
25952
|
ctx.postId = this.$requestConfig.getPostId();
|
|
26404
25953
|
}
|
|
26405
25954
|
} catch (e) {
|
|
@@ -26484,20 +26033,8 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
26484
26033
|
this.selectOrgs = this.convertComment2Field(str, field);
|
|
26485
26034
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
26486
26035
|
var val = '';
|
|
26487
|
-
str.forEach(
|
|
26488
|
-
|
|
26489
|
-
if (this.jumpParamKey && this.isHaveJumpUrl && (this.modelName == 'data.' + con['target'][0] || this.modelName.includes('item.') && con['target'][0].endsWith(this.modelName.split('.')[1]))) {
|
|
26490
|
-
// 如果有冒号 冒号前面是传值key 后面是取值key
|
|
26491
|
-
let jumpParamKey = this.jumpParamKey;
|
|
26492
|
-
let jumpParamValue = this.jumpParamKey;
|
|
26493
|
-
if (this.jumpParamKey.includes(':')) {
|
|
26494
|
-
jumpParamKey = this.jumpParamKey.split(':')[0];
|
|
26495
|
-
jumpParamValue = this.jumpParamKey.split(':')[1];
|
|
26496
|
-
}
|
|
26497
|
-
val += `${item[con.from]}¯${jumpParamKey}:${this.selectOrgs[index][jumpParamValue]},`;
|
|
26498
|
-
} else {
|
|
26499
|
-
val += item[con.from] + ',';
|
|
26500
|
-
}
|
|
26036
|
+
str.forEach(item => {
|
|
26037
|
+
val += item[con.from] + ',';
|
|
26501
26038
|
});
|
|
26502
26039
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
26503
26040
|
utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
|
|
@@ -26570,19 +26107,6 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
26570
26107
|
//用户输入的
|
|
26571
26108
|
if (this.queryParams.length != 0 && this.queryParams[0] != '') {
|
|
26572
26109
|
this.conditionBind.forEach((item, index) => {
|
|
26573
|
-
// 日期范围特殊处理
|
|
26574
|
-
if (item.dbType == 'date' && item.condition == 'BETWEEN') {
|
|
26575
|
-
if (this.queryParams[index].startDate && !this.queryParams[index].endDate || !this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
26576
|
-
flag = true;
|
|
26577
|
-
this.$message.info('日期范围未填写完整!');
|
|
26578
|
-
return;
|
|
26579
|
-
}
|
|
26580
|
-
if (this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
26581
|
-
this.queryParams[index][item.field] = `${this.queryParams[index].startDate},${this.queryParams[index].endDate}`;
|
|
26582
|
-
} else {
|
|
26583
|
-
this.queryParams[index][item.field] = '';
|
|
26584
|
-
}
|
|
26585
|
-
}
|
|
26586
26110
|
if (this.queryParams[index][item.field]) {
|
|
26587
26111
|
querys.push({
|
|
26588
26112
|
property: item.field,
|
|
@@ -26631,13 +26155,13 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
26631
26155
|
ctx.total = pageBean.pageBean.total;
|
|
26632
26156
|
// 添加用户id 岗位id 组织id
|
|
26633
26157
|
try {
|
|
26634
|
-
if (this.$requestConfig.getUserId
|
|
26158
|
+
if (this.$requestConfig.getUserId()) {
|
|
26635
26159
|
ctx.userId = this.$requestConfig.getUserId();
|
|
26636
26160
|
}
|
|
26637
|
-
if (this.$requestConfig.getOrgId
|
|
26161
|
+
if (this.$requestConfig.getOrgId()) {
|
|
26638
26162
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
26639
26163
|
}
|
|
26640
|
-
if (this.$requestConfig.getPostId
|
|
26164
|
+
if (this.$requestConfig.getPostId()) {
|
|
26641
26165
|
ctx.postId = this.$requestConfig.getPostId();
|
|
26642
26166
|
}
|
|
26643
26167
|
} catch (e) {
|
|
@@ -26665,8 +26189,6 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
26665
26189
|
} else {
|
|
26666
26190
|
param.pageBean.pageSize = -1;
|
|
26667
26191
|
}
|
|
26668
|
-
// 日期格式的 改成数组
|
|
26669
|
-
// this.changeDateFormat(param)
|
|
26670
26192
|
//构造请求的参数
|
|
26671
26193
|
let requestParam = {
|
|
26672
26194
|
pageBean: param,
|
|
@@ -26702,15 +26224,6 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
26702
26224
|
}
|
|
26703
26225
|
}
|
|
26704
26226
|
},
|
|
26705
|
-
changeDateFormat(param) {
|
|
26706
|
-
let dateValidate1 = /^\d{4}\-\d{2}\-\d{2}$/;
|
|
26707
|
-
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$/;
|
|
26708
|
-
Object.keys(param).forEach(key => {
|
|
26709
|
-
if (param[key] && typeof param[key] == 'string' && param[key].includes(',') && (dateValidate1.test(param[key].split(',')[0]) || dateValidate2.test(param[key].split(',')[0]))) {
|
|
26710
|
-
param[key] = param[key].split(',');
|
|
26711
|
-
}
|
|
26712
|
-
});
|
|
26713
|
-
},
|
|
26714
26227
|
getSearchValueByKey() {
|
|
26715
26228
|
let queryParamsObj = {};
|
|
26716
26229
|
if (this.queryParams.length > 0) {
|
|
@@ -26909,37 +26422,13 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
26909
26422
|
}
|
|
26910
26423
|
}
|
|
26911
26424
|
}
|
|
26912
|
-
// 如果是查询中使用的对话框
|
|
26913
|
-
if (this.dialogType == 'search') {
|
|
26914
|
-
let returnVal = [];
|
|
26915
|
-
str.forEach(item => {
|
|
26916
|
-
returnVal.push(decodeURIComponent(item[this.modelName]));
|
|
26917
|
-
});
|
|
26918
|
-
this.$emit('updateInput', returnVal.join(','));
|
|
26919
|
-
return;
|
|
26920
|
-
}
|
|
26921
26425
|
const pInst = utils["a" /* default */].getOnlineFormInstance(this);
|
|
26922
26426
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
26923
26427
|
var val = '';
|
|
26924
26428
|
var from = con.from.toLowerCase();
|
|
26925
26429
|
str.forEach(item => {
|
|
26926
26430
|
if (item) {
|
|
26927
|
-
|
|
26928
|
-
let jumpParamKey = this.jumpParamKey;
|
|
26929
|
-
let jumpParamValue = this.jumpParamKey;
|
|
26930
|
-
if (this.jumpParamKey.includes(':')) {
|
|
26931
|
-
jumpParamKey = this.jumpParamKey.split(':')[0];
|
|
26932
|
-
jumpParamValue = this.jumpParamKey.split(':')[1];
|
|
26933
|
-
}
|
|
26934
|
-
// 需根据key 找到对应 返回数据的返回名称
|
|
26935
|
-
let returnMap = returnStr.find(k => {
|
|
26936
|
-
return k.field.toLowerCase() == jumpParamValue.toLowerCase();
|
|
26937
|
-
});
|
|
26938
|
-
let returnMapKey = returnMap ? returnMap.comment : '';
|
|
26939
|
-
val += `${decodeURIComponent(item[from])}¯${jumpParamKey}:${decodeURIComponent(item[returnMapKey])},`;
|
|
26940
|
-
} else {
|
|
26941
|
-
val += decodeURIComponent(item[from]) + ',';
|
|
26942
|
-
}
|
|
26431
|
+
val += decodeURIComponent(item[from]) + ',';
|
|
26943
26432
|
}
|
|
26944
26433
|
});
|
|
26945
26434
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
@@ -26976,6 +26465,20 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
26976
26465
|
}
|
|
26977
26466
|
}
|
|
26978
26467
|
},
|
|
26468
|
+
// getSelected() {
|
|
26469
|
+
// let arr = []
|
|
26470
|
+
// this.selectIds.forEach((item) => {
|
|
26471
|
+
// debugger
|
|
26472
|
+
// let obj = this.dialogData.find((sub) => {
|
|
26473
|
+
// return sub.id_ === item
|
|
26474
|
+
// })
|
|
26475
|
+
// if (obj) {
|
|
26476
|
+
// arr.push(obj)
|
|
26477
|
+
// }
|
|
26478
|
+
// })
|
|
26479
|
+
|
|
26480
|
+
// return arr
|
|
26481
|
+
// },
|
|
26979
26482
|
calacInputSuffixHeight() {
|
|
26980
26483
|
this.$emit('calacInputSuffixHeight');
|
|
26981
26484
|
},
|
|
@@ -27177,11 +26680,11 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
27177
26680
|
});
|
|
27178
26681
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=script&lang=js&
|
|
27179
26682
|
/* harmony default export */ var src_customMobileDialogvue_type_script_lang_js_ = (customMobileDialogvue_type_script_lang_js_);
|
|
27180
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=
|
|
27181
|
-
var
|
|
26683
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=1661eebb&prod&lang=scss&scoped=true&
|
|
26684
|
+
var customMobileDialogvue_type_style_index_0_id_1661eebb_prod_lang_scss_scoped_true_ = __webpack_require__("de6a");
|
|
27182
26685
|
|
|
27183
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=
|
|
27184
|
-
var
|
|
26686
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=1661eebb&prod&lang=scss&
|
|
26687
|
+
var customMobileDialogvue_type_style_index_1_id_1661eebb_prod_lang_scss_ = __webpack_require__("49f9");
|
|
27185
26688
|
|
|
27186
26689
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue
|
|
27187
26690
|
|
|
@@ -27195,11 +26698,11 @@ var customMobileDialogvue_type_style_index_1_id_384dd988_prod_lang_scss_ = __web
|
|
|
27195
26698
|
|
|
27196
26699
|
var customMobileDialog_component = normalizeComponent(
|
|
27197
26700
|
src_customMobileDialogvue_type_script_lang_js_,
|
|
27198
|
-
|
|
27199
|
-
|
|
26701
|
+
customMobileDialogvue_type_template_id_1661eebb_scoped_true_render,
|
|
26702
|
+
customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns,
|
|
27200
26703
|
false,
|
|
27201
26704
|
null,
|
|
27202
|
-
"
|
|
26705
|
+
"1661eebb",
|
|
27203
26706
|
null
|
|
27204
26707
|
|
|
27205
26708
|
)
|
|
@@ -27343,40 +26846,6 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27343
26846
|
//
|
|
27344
26847
|
//
|
|
27345
26848
|
//
|
|
27346
|
-
//
|
|
27347
|
-
//
|
|
27348
|
-
//
|
|
27349
|
-
//
|
|
27350
|
-
//
|
|
27351
|
-
//
|
|
27352
|
-
//
|
|
27353
|
-
//
|
|
27354
|
-
//
|
|
27355
|
-
//
|
|
27356
|
-
//
|
|
27357
|
-
//
|
|
27358
|
-
//
|
|
27359
|
-
//
|
|
27360
|
-
//
|
|
27361
|
-
//
|
|
27362
|
-
//
|
|
27363
|
-
//
|
|
27364
|
-
//
|
|
27365
|
-
//
|
|
27366
|
-
//
|
|
27367
|
-
//
|
|
27368
|
-
//
|
|
27369
|
-
//
|
|
27370
|
-
//
|
|
27371
|
-
//
|
|
27372
|
-
//
|
|
27373
|
-
//
|
|
27374
|
-
//
|
|
27375
|
-
//
|
|
27376
|
-
//
|
|
27377
|
-
//
|
|
27378
|
-
//
|
|
27379
|
-
//
|
|
27380
26849
|
|
|
27381
26850
|
|
|
27382
26851
|
|
|
@@ -27408,19 +26877,10 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27408
26877
|
subIndex: Number,
|
|
27409
26878
|
sunIndex: Number,
|
|
27410
26879
|
subPath: String,
|
|
27411
|
-
currentSubData: Array
|
|
27412
|
-
dialogType: {
|
|
27413
|
-
// search表示在查询条件使用 form表示在表单中使用
|
|
27414
|
-
type: String,
|
|
27415
|
-
default: 'form'
|
|
27416
|
-
}
|
|
26880
|
+
currentSubData: Array
|
|
27417
26881
|
},
|
|
27418
26882
|
data() {
|
|
27419
26883
|
return {
|
|
27420
|
-
mobileSrc: '',
|
|
27421
|
-
isDialogFormShow: false,
|
|
27422
|
-
dialogConfig: null,
|
|
27423
|
-
// 对话框配置信息
|
|
27424
26884
|
isEditInputShow: false,
|
|
27425
26885
|
customValue: '',
|
|
27426
26886
|
defualtTooltipplacement: 'bottom',
|
|
@@ -27469,24 +26929,9 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27469
26929
|
}
|
|
27470
26930
|
let result = [];
|
|
27471
26931
|
nameAry.forEach(m => {
|
|
27472
|
-
|
|
27473
|
-
|
|
27474
|
-
|
|
27475
|
-
if (m.includes('¯') && m.split('¯')[1] || m.includes('ˉ') && m.split('ˉ')[1]) {
|
|
27476
|
-
let val1 = m.includes('¯') ? m.split('¯')[0] : m.split('ˉ')[0];
|
|
27477
|
-
let val2 = m.includes('¯') ? m.split('¯')[1] : m.split('ˉ')[1];
|
|
27478
|
-
n.value = val1;
|
|
27479
|
-
let jumpParamStr = val2;
|
|
27480
|
-
if (jumpParamStr) {
|
|
27481
|
-
let jumpParam = jumpParamStr.split(':');
|
|
27482
|
-
n.jumpParamKey = jumpParam[0];
|
|
27483
|
-
n.jumpParamValue = jumpParam[1];
|
|
27484
|
-
}
|
|
27485
|
-
} else {
|
|
27486
|
-
n = {
|
|
27487
|
-
value: m
|
|
27488
|
-
};
|
|
27489
|
-
}
|
|
26932
|
+
let n = {
|
|
26933
|
+
value: m
|
|
26934
|
+
};
|
|
27490
26935
|
result.push(n);
|
|
27491
26936
|
});
|
|
27492
26937
|
return result;
|
|
@@ -27494,16 +26939,8 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27494
26939
|
},
|
|
27495
26940
|
isAllowCustom() {
|
|
27496
26941
|
return this.custdialog && this.custdialog.allowInput;
|
|
27497
|
-
},
|
|
27498
|
-
// 是否展示可跳转颜色
|
|
27499
|
-
isSrcColor() {
|
|
27500
|
-
return this.dialogConfig && this.dialogType !== 'search' && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
27501
26942
|
}
|
|
27502
26943
|
},
|
|
27503
|
-
created() {
|
|
27504
|
-
// 获取对话框配置,看是否有配置url跳转
|
|
27505
|
-
this.getDialogConfig();
|
|
27506
|
-
},
|
|
27507
26944
|
mounted() {
|
|
27508
26945
|
setTimeout(() => {
|
|
27509
26946
|
const {
|
|
@@ -27521,74 +26958,9 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27521
26958
|
}
|
|
27522
26959
|
//获取对话框按钮名称宽度
|
|
27523
26960
|
this.calacInputSuffixWidth();
|
|
27524
|
-
if (this.value && this.inputWriteable) {
|
|
27525
|
-
this.calacInputSuffixHeight();
|
|
27526
|
-
}
|
|
27527
26961
|
}, 50);
|
|
27528
26962
|
},
|
|
27529
26963
|
methods: {
|
|
27530
|
-
// 跳转url页面
|
|
27531
|
-
jumpUrl(item) {
|
|
27532
|
-
if (!this.isSrcColor) {
|
|
27533
|
-
if (this.inputWriteable) {
|
|
27534
|
-
this.showEditInput();
|
|
27535
|
-
}
|
|
27536
|
-
return;
|
|
27537
|
-
}
|
|
27538
|
-
let url = this.isMobile ? this.dialogConfig.mobileUrl : this.dialogConfig.pcUrl;
|
|
27539
|
-
// 获取通用token 和 url翻译
|
|
27540
|
-
Promise.all([this.$requestConfig.getThreeTreeToken(), this.transformUrl(url)]).then(res => {
|
|
27541
|
-
if (res[0] && res[0].code == 200) {
|
|
27542
|
-
let token = res[0].value;
|
|
27543
|
-
let endUrl = res[1];
|
|
27544
|
-
// 拼接参数 token和参数
|
|
27545
|
-
if (endUrl.indexOf('?') == -1) {
|
|
27546
|
-
endUrl += `?bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
|
|
27547
|
-
} else {
|
|
27548
|
-
endUrl += `&bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
|
|
27549
|
-
}
|
|
27550
|
-
if (this.isMobile) {
|
|
27551
|
-
this.mobileSrc = endUrl;
|
|
27552
|
-
this.isDialogFormShow = true;
|
|
27553
|
-
} else {
|
|
27554
|
-
window.open(endUrl);
|
|
27555
|
-
}
|
|
27556
|
-
} else {
|
|
27557
|
-
this.$message.info(res.message || '获取token失败!');
|
|
27558
|
-
}
|
|
27559
|
-
});
|
|
27560
|
-
},
|
|
27561
|
-
// 替换url中域名通配符 需要发送接口
|
|
27562
|
-
transformUrl(url) {
|
|
27563
|
-
return new Promise(resolve => {
|
|
27564
|
-
var reg = /(\$\{(\w+)\})/;
|
|
27565
|
-
var match = reg.exec(url);
|
|
27566
|
-
if (match) {
|
|
27567
|
-
let alias = match[2];
|
|
27568
|
-
if (alias) {
|
|
27569
|
-
this.$requestConfig.getHostByAlias(alias).then(res => {
|
|
27570
|
-
if (res && res.value && res.value.rootAddress) {
|
|
27571
|
-
resolve(url.replace(match[1], res.value.rootAddress));
|
|
27572
|
-
} else {
|
|
27573
|
-
resolve(url);
|
|
27574
|
-
}
|
|
27575
|
-
});
|
|
27576
|
-
} else {
|
|
27577
|
-
resolve(url);
|
|
27578
|
-
}
|
|
27579
|
-
} else {
|
|
27580
|
-
resolve(url);
|
|
27581
|
-
}
|
|
27582
|
-
});
|
|
27583
|
-
},
|
|
27584
|
-
// 获取对话框配置
|
|
27585
|
-
getDialogConfig() {
|
|
27586
|
-
if (this.custdialog && this.custdialog.custDialog && this.custdialog.custDialog.alias) this.$requestConfig.getCustomDialogByAlias(this.custdialog.custDialog.alias).then(response => {
|
|
27587
|
-
if (response) {
|
|
27588
|
-
this.dialogConfig = response;
|
|
27589
|
-
}
|
|
27590
|
-
});
|
|
27591
|
-
},
|
|
27592
26964
|
editInputBlur() {
|
|
27593
26965
|
this.$emit('input', this.customValue);
|
|
27594
26966
|
this.isEditInputShow = false;
|
|
@@ -27663,8 +27035,8 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27663
27035
|
});
|
|
27664
27036
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=script&lang=js&
|
|
27665
27037
|
/* harmony default export */ var packages_CustomDialog_src_mainvue_type_script_lang_js_ = (CustomDialog_src_mainvue_type_script_lang_js_);
|
|
27666
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=
|
|
27667
|
-
var
|
|
27038
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=0b5eb5e6&prod&lang=scss&scoped=true&
|
|
27039
|
+
var mainvue_type_style_index_0_id_0b5eb5e6_prod_lang_scss_scoped_true_ = __webpack_require__("be12");
|
|
27668
27040
|
|
|
27669
27041
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue
|
|
27670
27042
|
|
|
@@ -27677,11 +27049,11 @@ var mainvue_type_style_index_0_id_bf5a35ae_prod_lang_scss_scoped_true_ = __webpa
|
|
|
27677
27049
|
|
|
27678
27050
|
var CustomDialog_src_main_component = normalizeComponent(
|
|
27679
27051
|
packages_CustomDialog_src_mainvue_type_script_lang_js_,
|
|
27680
|
-
|
|
27681
|
-
|
|
27052
|
+
mainvue_type_template_id_0b5eb5e6_scoped_true_render,
|
|
27053
|
+
mainvue_type_template_id_0b5eb5e6_scoped_true_staticRenderFns,
|
|
27682
27054
|
false,
|
|
27683
27055
|
null,
|
|
27684
|
-
"
|
|
27056
|
+
"0b5eb5e6",
|
|
27685
27057
|
null
|
|
27686
27058
|
|
|
27687
27059
|
)
|
|
@@ -42321,12 +41693,12 @@ var GlobalValidate_component = normalizeComponent(
|
|
|
42321
41693
|
)
|
|
42322
41694
|
|
|
42323
41695
|
/* harmony default export */ var GlobalValidate = (GlobalValidate_component.exports);
|
|
42324
|
-
// 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/Global/src/GlobalQuery.vue?vue&type=template&id=
|
|
42325
|
-
var
|
|
42326
|
-
var
|
|
41696
|
+
// 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/Global/src/GlobalQuery.vue?vue&type=template&id=10314ca6&
|
|
41697
|
+
var GlobalQueryvue_type_template_id_10314ca6_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span')}
|
|
41698
|
+
var GlobalQueryvue_type_template_id_10314ca6_staticRenderFns = []
|
|
42327
41699
|
|
|
42328
41700
|
|
|
42329
|
-
// CONCATENATED MODULE: ./packages/Global/src/GlobalQuery.vue?vue&type=template&id=
|
|
41701
|
+
// CONCATENATED MODULE: ./packages/Global/src/GlobalQuery.vue?vue&type=template&id=10314ca6&
|
|
42330
41702
|
|
|
42331
41703
|
// 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/Global/src/GlobalQuery.vue?vue&type=script&lang=js&
|
|
42332
41704
|
//
|
|
@@ -42509,8 +41881,8 @@ var GlobalQueryvue_type_template_id_e2a6b5c8_staticRenderFns = []
|
|
|
42509
41881
|
|
|
42510
41882
|
var GlobalQuery_component = normalizeComponent(
|
|
42511
41883
|
src_GlobalQueryvue_type_script_lang_js_,
|
|
42512
|
-
|
|
42513
|
-
|
|
41884
|
+
GlobalQueryvue_type_template_id_10314ca6_render,
|
|
41885
|
+
GlobalQueryvue_type_template_id_10314ca6_staticRenderFns,
|
|
42514
41886
|
false,
|
|
42515
41887
|
null,
|
|
42516
41888
|
null,
|