three-trees-ui 1.0.4 → 1.0.5

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.
@@ -1643,6 +1643,13 @@ const btnList = [{
1643
1643
 
1644
1644
  /***/ }),
1645
1645
 
1646
+ /***/ "0c48":
1647
+ /***/ (function(module, exports, __webpack_require__) {
1648
+
1649
+ // extracted by mini-css-extract-plugin
1650
+
1651
+ /***/ }),
1652
+
1646
1653
  /***/ "0edb":
1647
1654
  /***/ (function(module, exports, __webpack_require__) {
1648
1655
 
@@ -1886,6 +1893,13 @@ const SubPagination = {
1886
1893
  /* unused harmony reexport * */
1887
1894
 
1888
1895
 
1896
+ /***/ }),
1897
+
1898
+ /***/ "18d6":
1899
+ /***/ (function(module, exports, __webpack_require__) {
1900
+
1901
+ // extracted by mini-css-extract-plugin
1902
+
1889
1903
  /***/ }),
1890
1904
 
1891
1905
  /***/ "1a07":
@@ -1906,31 +1920,35 @@ const SubPagination = {
1906
1920
 
1907
1921
  /***/ }),
1908
1922
 
1909
- /***/ "1c11":
1923
+ /***/ "1ccc":
1910
1924
  /***/ (function(module, exports, __webpack_require__) {
1911
1925
 
1912
1926
  // extracted by mini-css-extract-plugin
1913
1927
 
1914
1928
  /***/ }),
1915
1929
 
1916
- /***/ "1ccc":
1930
+ /***/ "200a":
1917
1931
  /***/ (function(module, exports, __webpack_require__) {
1918
1932
 
1919
1933
  // extracted by mini-css-extract-plugin
1920
1934
 
1921
1935
  /***/ }),
1922
1936
 
1923
- /***/ "200a":
1937
+ /***/ "20da":
1924
1938
  /***/ (function(module, exports, __webpack_require__) {
1925
1939
 
1926
1940
  // extracted by mini-css-extract-plugin
1927
1941
 
1928
1942
  /***/ }),
1929
1943
 
1930
- /***/ "20da":
1931
- /***/ (function(module, exports, __webpack_require__) {
1944
+ /***/ "212d":
1945
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
1946
+
1947
+ "use strict";
1948
+ /* 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_691dcad9_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("e902");
1949
+ /* 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_691dcad9_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_691dcad9_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
1950
+ /* unused harmony reexport * */
1932
1951
 
1933
- // extracted by mini-css-extract-plugin
1934
1952
 
1935
1953
  /***/ }),
1936
1954
 
@@ -2092,13 +2110,6 @@ module.exports = require("vuedraggable");
2092
2110
 
2093
2111
  /***/ }),
2094
2112
 
2095
- /***/ "333d":
2096
- /***/ (function(module, exports, __webpack_require__) {
2097
-
2098
- // extracted by mini-css-extract-plugin
2099
-
2100
- /***/ }),
2101
-
2102
2113
  /***/ "33ce":
2103
2114
  /***/ (function(module, exports, __webpack_require__) {
2104
2115
 
@@ -2810,13 +2821,6 @@ Formulas.install = Vue => {
2810
2821
  /* unused harmony reexport * */
2811
2822
 
2812
2823
 
2813
- /***/ }),
2814
-
2815
- /***/ "3766":
2816
- /***/ (function(module, exports, __webpack_require__) {
2817
-
2818
- // extracted by mini-css-extract-plugin
2819
-
2820
2824
  /***/ }),
2821
2825
 
2822
2826
  /***/ "39bd":
@@ -2846,6 +2850,17 @@ Formulas.install = Vue => {
2846
2850
  /* unused harmony reexport * */
2847
2851
 
2848
2852
 
2853
+ /***/ }),
2854
+
2855
+ /***/ "3de0":
2856
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
2857
+
2858
+ "use strict";
2859
+ /* 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_f66484a2_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("18d6");
2860
+ /* 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_f66484a2_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_f66484a2_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
2861
+ /* unused harmony reexport * */
2862
+
2863
+
2849
2864
  /***/ }),
2850
2865
 
2851
2866
  /***/ "3e5b":
@@ -2936,17 +2951,6 @@ Formulas.install = Vue => {
2936
2951
 
2937
2952
  // extracted by mini-css-extract-plugin
2938
2953
 
2939
- /***/ }),
2940
-
2941
- /***/ "49f9":
2942
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
2943
-
2944
- "use strict";
2945
- /* 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");
2946
- /* 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__);
2947
- /* unused harmony reexport * */
2948
-
2949
-
2950
2954
  /***/ }),
2951
2955
 
2952
2956
  /***/ "4a17":
@@ -2972,6 +2976,17 @@ Formulas.install = Vue => {
2972
2976
 
2973
2977
  // extracted by mini-css-extract-plugin
2974
2978
 
2979
+ /***/ }),
2980
+
2981
+ /***/ "4d96":
2982
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
2983
+
2984
+ "use strict";
2985
+ /* 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_3052858e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("8c41");
2986
+ /* 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_3052858e_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_3052858e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
2987
+ /* unused harmony reexport * */
2988
+
2989
+
2975
2990
  /***/ }),
2976
2991
 
2977
2992
  /***/ "503b":
@@ -3379,17 +3394,6 @@ FormMath.isValue = function (value) {
3379
3394
  /* unused harmony reexport * */
3380
3395
 
3381
3396
 
3382
- /***/ }),
3383
-
3384
- /***/ "5bc8":
3385
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
3386
-
3387
- "use strict";
3388
- /* 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_a94f0b7c_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("3766");
3389
- /* 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_a94f0b7c_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_a94f0b7c_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
3390
- /* unused harmony reexport * */
3391
-
3392
-
3393
3397
  /***/ }),
3394
3398
 
3395
3399
  /***/ "5c25":
@@ -4264,13 +4268,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
4264
4268
 
4265
4269
  /***/ }),
4266
4270
 
4267
- /***/ "7c6e":
4268
- /***/ (function(module, exports, __webpack_require__) {
4269
-
4270
- // extracted by mini-css-extract-plugin
4271
-
4272
- /***/ }),
4273
-
4274
4271
  /***/ "7d0a":
4275
4272
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4276
4273
 
@@ -4298,17 +4295,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
4298
4295
 
4299
4296
  // extracted by mini-css-extract-plugin
4300
4297
 
4301
- /***/ }),
4302
-
4303
- /***/ "7ff9":
4304
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
4305
-
4306
- "use strict";
4307
- /* 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");
4308
- /* 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__);
4309
- /* unused harmony reexport * */
4310
-
4311
-
4312
4298
  /***/ }),
4313
4299
 
4314
4300
  /***/ "81f7":
@@ -4363,6 +4349,17 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
4363
4349
 
4364
4350
  // extracted by mini-css-extract-plugin
4365
4351
 
4352
+ /***/ }),
4353
+
4354
+ /***/ "8502":
4355
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
4356
+
4357
+ "use strict";
4358
+ /* 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_7a0ef38c_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("0c48");
4359
+ /* 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_7a0ef38c_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_7a0ef38c_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
4360
+ /* unused harmony reexport * */
4361
+
4362
+
4366
4363
  /***/ }),
4367
4364
 
4368
4365
  /***/ "8728":
@@ -4452,6 +4449,13 @@ module.exports = require("vue");
4452
4449
  /* unused harmony reexport * */
4453
4450
 
4454
4451
 
4452
+ /***/ }),
4453
+
4454
+ /***/ "8c41":
4455
+ /***/ (function(module, exports, __webpack_require__) {
4456
+
4457
+ // extracted by mini-css-extract-plugin
4458
+
4455
4459
  /***/ }),
4456
4460
 
4457
4461
  /***/ "8d8b":
@@ -4758,14 +4762,7 @@ if (typeof window !== 'undefined' && window.Vue) {
4758
4762
  /***/ "9224":
4759
4763
  /***/ (function(module) {
4760
4764
 
4761
- module.exports = JSON.parse("{\"a\":\"1.0.4\"}");
4762
-
4763
- /***/ }),
4764
-
4765
- /***/ "923d":
4766
- /***/ (function(module, exports, __webpack_require__) {
4767
-
4768
- // extracted by mini-css-extract-plugin
4765
+ module.exports = JSON.parse("{\"a\":\"1.0.5\"}");
4769
4766
 
4770
4767
  /***/ }),
4771
4768
 
@@ -6456,17 +6453,6 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
6456
6453
 
6457
6454
  // extracted by mini-css-extract-plugin
6458
6455
 
6459
- /***/ }),
6460
-
6461
- /***/ "bf72":
6462
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
6463
-
6464
- "use strict";
6465
- /* 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_37fe7c68_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1c11");
6466
- /* 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_37fe7c68_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_37fe7c68_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
6467
- /* unused harmony reexport * */
6468
-
6469
-
6470
6456
  /***/ }),
6471
6457
 
6472
6458
  /***/ "c0a9":
@@ -6653,6 +6639,17 @@ module.exports = require("axios");
6653
6639
 
6654
6640
  // extracted by mini-css-extract-plugin
6655
6641
 
6642
+ /***/ }),
6643
+
6644
+ /***/ "d058":
6645
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6646
+
6647
+ "use strict";
6648
+ /* 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_691dcad9_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("fcc0");
6649
+ /* 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_691dcad9_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_691dcad9_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
6650
+ /* unused harmony reexport * */
6651
+
6652
+
6656
6653
  /***/ }),
6657
6654
 
6658
6655
  /***/ "d071":
@@ -7182,17 +7179,6 @@ module.exports = require("deepmerge");
7182
7179
  /* unused harmony reexport * */
7183
7180
 
7184
7181
 
7185
- /***/ }),
7186
-
7187
- /***/ "de6a":
7188
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
7189
-
7190
- "use strict";
7191
- /* 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");
7192
- /* 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__);
7193
- /* unused harmony reexport * */
7194
-
7195
-
7196
7182
  /***/ }),
7197
7183
 
7198
7184
  /***/ "de9c":
@@ -7286,6 +7272,13 @@ module.exports = require("deepmerge");
7286
7272
 
7287
7273
  /***/ }),
7288
7274
 
7275
+ /***/ "e902":
7276
+ /***/ (function(module, exports, __webpack_require__) {
7277
+
7278
+ // extracted by mini-css-extract-plugin
7279
+
7280
+ /***/ }),
7281
+
7289
7282
  /***/ "eab7":
7290
7283
  /***/ (function(module, exports, __webpack_require__) {
7291
7284
 
@@ -22485,8 +22478,8 @@ PostSelector_src_main.install = function (Vue) {
22485
22478
  Vue.component(PostSelector_src_main.name, PostSelector_src_main);
22486
22479
  };
22487
22480
  /* harmony default export */ var PostSelector = (PostSelector_src_main);
22488
- // 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=a94f0b7c&scoped=true&
22489
- var mainvue_type_template_id_a94f0b7c_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.permission !== 'n')?_c('div',{class:[
22481
+ // 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=3052858e&scoped=true&
22482
+ var mainvue_type_template_id_3052858e_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.permission !== 'n')?_c('div',{class:[
22490
22483
  'inputs',
22491
22484
  _vm.formInputsDisplay == 'block'
22492
22485
  ? 'ht-form-inputs__block'
@@ -22501,10 +22494,10 @@ var mainvue_type_template_id_a94f0b7c_scoped_true_render = function () {var _vm=
22501
22494
  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){
22502
22495
  var select = ref.select;
22503
22496
  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()}
22504
- var mainvue_type_template_id_a94f0b7c_scoped_true_staticRenderFns = []
22497
+ var mainvue_type_template_id_3052858e_scoped_true_staticRenderFns = []
22505
22498
 
22506
22499
 
22507
- // CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=template&id=a94f0b7c&scoped=true&
22500
+ // CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=template&id=3052858e&scoped=true&
22508
22501
 
22509
22502
  // 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&
22510
22503
  //
@@ -22763,6 +22756,8 @@ var mainvue_type_template_id_a94f0b7c_scoped_true_staticRenderFns = []
22763
22756
  if (this.config.hasOwnProperty('demName')) {
22764
22757
  utils["a" /* default */].setValueByConfigKey(this, this.config, 'demName', demNameAry.join(','));
22765
22758
  }
22759
+ } else {
22760
+ this.$emit('change', newVal);
22766
22761
  }
22767
22762
  // 通过valueChange事件发布值变更消息
22768
22763
  this.$emit('valueChange', ary.join(','), newVal);
@@ -22892,8 +22887,8 @@ var mainvue_type_template_id_a94f0b7c_scoped_true_staticRenderFns = []
22892
22887
  });
22893
22888
  // CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=script&lang=js&
22894
22889
  /* harmony default export */ var packages_DimensionSelector_src_mainvue_type_script_lang_js_ = (DimensionSelector_src_mainvue_type_script_lang_js_);
22895
- // EXTERNAL MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=style&index=0&id=a94f0b7c&prod&lang=scss&scoped=true&
22896
- var mainvue_type_style_index_0_id_a94f0b7c_prod_lang_scss_scoped_true_ = __webpack_require__("5bc8");
22890
+ // EXTERNAL MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=style&index=0&id=3052858e&prod&lang=scss&scoped=true&
22891
+ var mainvue_type_style_index_0_id_3052858e_prod_lang_scss_scoped_true_ = __webpack_require__("4d96");
22897
22892
 
22898
22893
  // CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue
22899
22894
 
@@ -22906,11 +22901,11 @@ var mainvue_type_style_index_0_id_a94f0b7c_prod_lang_scss_scoped_true_ = __webpa
22906
22901
 
22907
22902
  var DimensionSelector_src_main_component = normalizeComponent(
22908
22903
  packages_DimensionSelector_src_mainvue_type_script_lang_js_,
22909
- mainvue_type_template_id_a94f0b7c_scoped_true_render,
22910
- mainvue_type_template_id_a94f0b7c_scoped_true_staticRenderFns,
22904
+ mainvue_type_template_id_3052858e_scoped_true_render,
22905
+ mainvue_type_template_id_3052858e_scoped_true_staticRenderFns,
22911
22906
  false,
22912
22907
  null,
22913
- "a94f0b7c",
22908
+ "3052858e",
22914
22909
  null
22915
22910
 
22916
22911
  )
@@ -23538,8 +23533,8 @@ Dialog_src_main.install = function (Vue) {
23538
23533
  Vue.component(Dialog_src_main.name, Dialog_src_main);
23539
23534
  };
23540
23535
  /* harmony default export */ var Dialog = (Dialog_src_main);
23541
- // 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=37fe7c68&scoped=true&
23542
- var mainvue_type_template_id_37fe7c68_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.has('custom-form.' + _vm.inputName)}},[_c('div',{attrs:{"slot":"content"},slot:"content"},[_vm._v(_vm._s(_vm.errors.first('custom-form.' + _vm.inputName)))]),(_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:({
23536
+ // 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=7a0ef38c&scoped=true&
23537
+ var mainvue_type_template_id_7a0ef38c_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.has('custom-form.' + _vm.inputName)}},[_c('div',{attrs:{"slot":"content"},slot:"content"},[_vm._v(_vm._s(_vm.errors.first('custom-form.' + _vm.inputName)))]),(_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":function($event){$event.stopPropagation();return _vm.jumpUrl(item)}}},[_c('span',{staticClass:"el-select__tags-text",class:{ 'src-color': _vm.isSrcColor }},[_vm._v("\n "+_vm._s(item.value)+"\n ")]),_c('i',{staticClass:"el-tag__close el-icon-close",on:{"click":function($event){$event.stopPropagation();return _vm.removeSelectOrg(index)}}})])}),0)]),_c('div',{staticClass:"el-input el-input--suffix"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.inputVal),expression:"inputVal"},{name:"validate",rawName:"v-validate",value:(_vm.inputValidate),expression:"inputValidate"}],staticClass:"el-input__inner",style:({ height: _vm.inputSuffixHeight + 'px' }),attrs:{"type":"text","readonly":"readonly","name":_vm.inputName,"autocomplete":"off","placeholder":_vm.placeholder},domProps:{"value":(_vm.inputVal)},on:{"click":_vm.showEditInput,"input":function($event){if($event.target.composing){ return; }_vm.inputVal=$event.target.value}}}),(_vm.isAllowCustom && _vm.isEditInputShow)?_c('el-input',{ref:"editInputRef",staticClass:"edit-input",style:({
23543
23538
  right: _vm.inputSuffixWidth - 1 + 'px',
23544
23539
  width: 'auto!important',
23545
23540
  height: _vm.inputSuffixHeight - 4 + 'px',
@@ -23548,11 +23543,11 @@ var mainvue_type_template_id_37fe7c68_scoped_true_render = function () {var _vm=
23548
23543
  : 'el-input__icon icon-duihuakuang',style:({
23549
23544
  fontSize: '17px',
23550
23545
  lineHeight: _vm.inputSuffixHeight + 'px',
23551
- })}),_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',{directives:[{name:"validate",rawName:"v-validate"}],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)}
23552
- var mainvue_type_template_id_37fe7c68_scoped_true_staticRenderFns = []
23546
+ })}),_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();return _vm.jumpUrl(item)}}},[_c('span',{staticClass:"el-select__tags-text",class:{ 'src-color': _vm.isSrcColor }},[_vm._v("\n "+_vm._s(item.value)+"\n ")])])}),0):_vm._e(),(_vm.isMobile)?_c('custom-mobile-dialog',{ref:"customMobileDialogRef",attrs:{"model-name":_vm.modelName,"custdialog":_vm.custdialog,"sub-index":_vm.subIndex,"sun-index":_vm.sunIndex,"sub-path":_vm.subPath,"current-sub-data":_vm.currentSubData,"dialog-config":_vm.dialogConfig,"dialog-type":_vm.dialogType},on:{"calacInputSuffixHeight":_vm.calacInputSuffixHeight,"updateInput":_vm.updateInput}}):_c('custom-dialog',{ref:"customDialogRef",attrs:{"model-name":_vm.modelName,"custdialog":_vm.custdialog,"sub-index":_vm.subIndex,"sun-index":_vm.sunIndex,"sub-path":_vm.subPath,"current-sub-data":_vm.currentSubData,"is-read-only":!_vm.inputWriteable,"dialog-config":_vm.dialogConfig,"dialog-type":_vm.dialogType},on:{"calacInputSuffixHeight":_vm.calacInputSuffixHeight,"updateInput":_vm.updateInput},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v},expression:"value"}}),_c('span',{directives:[{name:"validate",rawName:"v-validate"}],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)}
23547
+ var mainvue_type_template_id_7a0ef38c_scoped_true_staticRenderFns = []
23553
23548
 
23554
23549
 
23555
- // CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=37fe7c68&scoped=true&
23550
+ // CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=7a0ef38c&scoped=true&
23556
23551
 
23557
23552
  // CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.js
23558
23553
 
@@ -23674,19 +23669,35 @@ var mainvue_type_template_id_37fe7c68_scoped_true_staticRenderFns = []
23674
23669
  }
23675
23670
  }
23676
23671
  });
23677
- // 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&
23678
- 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":{
23679
- alias: condition.config.customQuery.alias,
23680
- valueBind: condition.config.customQuery.valueBind,
23681
- noInit: '',
23682
- labelBind: condition.config.customQuery.labelBind,
23683
- gangedBind: '{}',
23684
- bind: condition.config.bind,
23685
- },"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)}
23686
- var customDialogvue_type_template_id_3a57945e_scoped_true_staticRenderFns = []
23687
-
23688
-
23689
- // CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=3a57945e&scoped=true&
23672
+ // 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=f66484a2&scoped=true&
23673
+ var customDialogvue_type_template_id_f66484a2_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,"multiple":condition.config.multiple,"options":condition.config.options},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}}):_c('ht-dictionary',{attrs:{"dickey":condition.config.dic,"filterable":condition.config.filterable},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '4')?_c('div',{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(),(condition.controllerType == '6')?_c('div',{staticStyle:{"margin-right":"10px"}},[(condition.condition == 'BETWEEN')?_c('div',[_c('ht-date',{attrs:{"format":condition.config.inputFormat,"valueFormat":condition.config.inputFormat},model:{value:(_vm.queryParams[index].startDate),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "startDate", $$v)},expression:"queryParams[index].startDate"}}),_vm._v("\n 至\n "),_c('ht-date',{attrs:{"format":condition.config.inputFormat,"valueFormat":condition.config.inputFormat},model:{value:(_vm.queryParams[index].endDate),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "endDate", $$v)},expression:"queryParams[index].endDate"}})],1):_c('ht-date',{attrs:{"format":condition.config.inputFormat,"valueFormat":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',{staticStyle:{"margin-right":"10px"}},[(condition.config.alias == 'user')?_c('ht-user-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
23674
+ _vm.queryParams[index][condition.field] = _vm.getSelectId(data)
23675
+ }},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e(),(condition.config.alias == 'org')?_c('ht-org-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
23676
+ _vm.queryParams[index][condition.field] = _vm.getSelectId(data)
23677
+ }},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e(),(condition.config.alias == 'role')?_c('ht-role-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
23678
+ _vm.queryParams[index][condition.field] = _vm.getSelectId(data)
23679
+ }},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e(),(condition.config.alias == 'job')?_c('ht-job-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
23680
+ _vm.queryParams[index][condition.field] = _vm.getSelectId(data)
23681
+ }},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e(),(condition.config.alias == 'post')?_c('ht-post-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
23682
+ _vm.queryParams[index][condition.field] = _vm.getSelectId(data)
23683
+ }},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e(),(condition.config.alias == 'dimension')?_c('ht-dimension-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
23684
+ _vm.queryParams[index][condition.field] = _vm.getSelectId(data)
23685
+ }},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e()],1):_vm._e(),(condition.controllerType == '5')?_c('div',{staticStyle:{"margin-right":"10px"}},[_c('ht-custom-dialog',{attrs:{"model-name":condition.config.keyBind,"dialogType":"search","custdialog":{
23686
+ name: '请选择',
23687
+ icon: '',
23688
+ custDialog: {
23689
+ selectNum: 1,
23690
+ conditions: [],
23691
+ mappingConf: [],
23692
+ custQueryJson: [],
23693
+ alias: condition.config.alias,
23694
+ type: 'custDialog',
23695
+ },
23696
+ }},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)}
23697
+ var customDialogvue_type_template_id_f66484a2_scoped_true_staticRenderFns = []
23698
+
23699
+
23700
+ // CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=f66484a2&scoped=true&
23690
23701
 
23691
23702
  // EXTERNAL MODULE: external "jquery"
23692
23703
  var external_jquery_ = __webpack_require__("c5e1");
@@ -23995,6 +24006,116 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
23995
24006
  //
23996
24007
  //
23997
24008
  //
24009
+ //
24010
+ //
24011
+ //
24012
+ //
24013
+ //
24014
+ //
24015
+ //
24016
+ //
24017
+ //
24018
+ //
24019
+ //
24020
+ //
24021
+ //
24022
+ //
24023
+ //
24024
+ //
24025
+ //
24026
+ //
24027
+ //
24028
+ //
24029
+ //
24030
+ //
24031
+ //
24032
+ //
24033
+ //
24034
+ //
24035
+ //
24036
+ //
24037
+ //
24038
+ //
24039
+ //
24040
+ //
24041
+ //
24042
+ //
24043
+ //
24044
+ //
24045
+ //
24046
+ //
24047
+ //
24048
+ //
24049
+ //
24050
+ //
24051
+ //
24052
+ //
24053
+ //
24054
+ //
24055
+ //
24056
+ //
24057
+ //
24058
+ //
24059
+ //
24060
+ //
24061
+ //
24062
+ //
24063
+ //
24064
+ //
24065
+ //
24066
+ //
24067
+ //
24068
+ //
24069
+ //
24070
+ //
24071
+ //
24072
+ //
24073
+ //
24074
+ //
24075
+ //
24076
+ //
24077
+ //
24078
+ //
24079
+ //
24080
+ //
24081
+ //
24082
+ //
24083
+ //
24084
+ //
24085
+ //
24086
+ //
24087
+ //
24088
+ //
24089
+ //
24090
+ //
24091
+ //
24092
+ //
24093
+ //
24094
+ //
24095
+ //
24096
+ //
24097
+ //
24098
+ //
24099
+ //
24100
+ //
24101
+ //
24102
+ //
24103
+ //
24104
+ //
24105
+ //
24106
+ //
24107
+ //
24108
+ //
24109
+ //
24110
+ //
24111
+ //
24112
+ //
24113
+ //
24114
+ //
24115
+ //
24116
+ //
24117
+ //
24118
+ //
23998
24119
 
23999
24120
 
24000
24121
 
@@ -24022,10 +24143,16 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24022
24143
  isReadOnly: {
24023
24144
  type: Boolean,
24024
24145
  default: false
24025
- }
24146
+ },
24147
+ dialogConfig: Object,
24148
+ dialogType: String
24026
24149
  },
24027
24150
  data() {
24028
24151
  return {
24152
+ startDate: '',
24153
+ // 日期控件
24154
+ endDate: '',
24155
+ // 日期控件
24029
24156
  tableHeight: 350,
24030
24157
  isEditInputShow: false,
24031
24158
  customValue: '',
@@ -24106,6 +24233,18 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24106
24233
  return [this.props1[0][this.nodeKey]];
24107
24234
  }
24108
24235
  return [];
24236
+ },
24237
+ jumpParamKey() {
24238
+ return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
24239
+ },
24240
+ // 是否保存成跳转url参数
24241
+ isHaveJumpUrl() {
24242
+ return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
24243
+ },
24244
+ sortDisplayfield() {
24245
+ return this.displayfield.sort((a, b) => {
24246
+ return a.sort > b.sort ? 1 : -1;
24247
+ });
24109
24248
  }
24110
24249
  },
24111
24250
  watch: {
@@ -24141,131 +24280,151 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24141
24280
  });
24142
24281
  },
24143
24282
  methods: {
24283
+ // 获取已选择的选择器数据id
24284
+ getSelectId(data) {
24285
+ if (!data || !data.length) {
24286
+ return '';
24287
+ }
24288
+ let ids = [];
24289
+ data.forEach(item => {
24290
+ ids.push(item.id);
24291
+ });
24292
+ return ids.join(',');
24293
+ },
24144
24294
  showDialog() {
24145
24295
  let isMounted = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
24146
- const this_ = this;
24147
24296
  this.fixedParams = {};
24297
+ // 如果已存在配置信息就不去请求配置信息 直接初始化数据
24298
+ if (this.dialogConfig) {
24299
+ this.initDialog(this.dialogConfig, isMounted);
24300
+ return;
24301
+ }
24148
24302
  var alias = this.custdialog.custDialog.alias;
24149
24303
  this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
24150
- if (!customDialog || !customDialog.alias) {
24151
- this.$message.error('对话框别名【' + alias + '】不存在!');
24152
- return;
24153
- }
24154
- if (customDialog.style == 1) {
24155
- var displaylist = JSON.parse(customDialog.displayfield);
24156
- this_.nodeKey = displaylist.id;
24157
- }
24158
- if (customDialog.needPage && customDialog.requestType === 'POST') {
24159
- let obj = {};
24160
- this.getLastKeyByPath(obj, customDialog.pageKey, 1);
24161
- this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
24162
- this.getLastKeyByPath(obj, customDialog.totalKey, true);
24163
- const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
24164
- if (exp) {
24165
- const params = JSON.parse(exp);
24166
- if (params.pageBean) {
24167
- this.pagination = {
24168
- ...params.pageBean
24169
- };
24170
- }
24304
+ this.initDialog(customDialog, isMounted);
24305
+ });
24306
+ },
24307
+ initDialog(customDialog, isMounted) {
24308
+ let alias = this.custdialog.custDialog.alias;
24309
+ const this_ = this;
24310
+ if (!customDialog || !customDialog.alias) {
24311
+ this.$message.error('对话框别名【' + alias + '】不存在!');
24312
+ return;
24313
+ }
24314
+ if (customDialog.style == 1) {
24315
+ var displaylist = JSON.parse(customDialog.displayfield);
24316
+ this_.nodeKey = displaylist.id;
24317
+ }
24318
+ if (customDialog.needPage && customDialog.requestType === 'POST') {
24319
+ let obj = {};
24320
+ this.getLastKeyByPath(obj, customDialog.pageKey, 1);
24321
+ this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
24322
+ this.getLastKeyByPath(obj, customDialog.totalKey, true);
24323
+ const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
24324
+ if (exp) {
24325
+ const params = JSON.parse(exp);
24326
+ if (params.pageBean) {
24327
+ this.pagination = {
24328
+ ...params.pageBean
24329
+ };
24171
24330
  }
24172
24331
  }
24173
- //对话框按表单字段查询(参数传入的)
24174
- let bindList = this_.custdialog.custDialog.conditions;
24175
- this_.param = []; //绑定的表单字段
24176
- if (bindList.length > 0) {
24177
- bindList.forEach(ele => {
24178
- //绑定表单字段
24179
- if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
24180
- let obj = {};
24181
- obj.field = ele.field;
24182
- obj.bind = ele.bind;
24183
- obj.bindType = ele.bindType;
24184
- this_.param.push(obj);
24185
- }
24186
- //取值对象为脚本时获取value
24187
- if (ele.bindType === 3) {
24188
- this_.$requestConfig.executeScript(ele.bind).then(res => {
24189
- this_.executeScriptResult = res && res.value;
24190
- });
24191
- }
24192
- });
24193
- }
24194
- //判断对话框查询是否有条件
24195
- let userInputList = JSON.parse(customDialog.conditionfield);
24196
- this_.quickSearch = ''; //填写提示 placeholder
24197
- this_.conditionBind = [];
24198
- let queryParams = [];
24199
- let placeholders = [];
24200
- if (userInputList.length > 0) {
24201
- userInputList.forEach(ele => {
24202
- var obj = {};
24203
- //条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
24204
- if (ele.defaultType == '1') {
24205
- obj[ele.field] = '';
24206
- queryParams.push(obj);
24207
- // queryParams[ele.field] = "";
24208
- this_.conditionBind.push(ele);
24209
- placeholders.push('请输入' + ele.comment);
24210
- }
24211
- if (ele.defaultType == '2' && ele.defaultValue) {
24212
- this_.fixedParams[ele.field] = ele.defaultValue;
24213
- }
24214
- });
24215
- this.$set(this, 'queryParams', queryParams);
24216
- this.$set(this, 'placeholders', placeholders);
24217
- }
24218
- //判断是否显示条件查询输入框
24219
- if (this_.quickSearch != '') {
24220
- this_.querysShow = true;
24221
- } else {
24222
- this_.querysShow = true;
24223
- }
24224
- this_.quickSearch = '请输入' + this.quickSearch + '查询';
24225
- this_.style = 'height:' + customDialog.height + 'px';
24226
- if (window.screen.height && window.screen.height <= 900) {
24227
- this.style = 'height:440px';
24228
- }
24229
- if (customDialog.style == 0 || customDialog.style == 2) {
24230
- //列表
24231
- setTimeout(() => {
24232
- this_.customDialogShow({
24233
- alias: alias,
24234
- customDialog: customDialog
24235
- }, isMounted);
24236
- }, 100);
24237
- } else if (customDialog.style == 1) {
24238
- //树形
24239
- this_.pageParam = {
24332
+ }
24333
+ //对话框按表单字段查询(参数传入的)
24334
+ let bindList = this_.custdialog.custDialog.conditions;
24335
+ this_.param = []; //绑定的表单字段
24336
+ if (bindList.length > 0) {
24337
+ bindList.forEach(ele => {
24338
+ //绑定表单字段
24339
+ if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
24340
+ let obj = {};
24341
+ obj.field = ele.field;
24342
+ obj.bind = ele.bind;
24343
+ obj.bindType = ele.bindType;
24344
+ this_.param.push(obj);
24345
+ }
24346
+ //取值对象为脚本时获取value
24347
+ if (ele.bindType === 3) {
24348
+ this_.$requestConfig.executeScript(ele.bind).then(res => {
24349
+ this_.executeScriptResult = res && res.value;
24350
+ });
24351
+ }
24352
+ });
24353
+ }
24354
+ //判断对话框查询是否有条件
24355
+ let userInputList = JSON.parse(customDialog.conditionfield);
24356
+ this_.quickSearch = ''; //填写提示 placeholder
24357
+ this_.conditionBind = [];
24358
+ let queryParams = [];
24359
+ let placeholders = [];
24360
+ if (userInputList.length > 0) {
24361
+ userInputList.forEach(ele => {
24362
+ var obj = {};
24363
+ //条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
24364
+ if (ele.defaultType == '1') {
24365
+ obj[ele.field] = '';
24366
+ queryParams.push(obj);
24367
+ // queryParams[ele.field] = "";
24368
+ this_.conditionBind.push(ele);
24369
+ placeholders.push('请输入' + ele.comment);
24370
+ }
24371
+ if (ele.defaultType == '2' && ele.defaultValue) {
24372
+ this_.fixedParams[ele.field] = ele.defaultValue;
24373
+ }
24374
+ });
24375
+ this.$set(this, 'queryParams', queryParams);
24376
+ this.$set(this, 'placeholders', placeholders);
24377
+ }
24378
+ //判断是否显示条件查询输入框
24379
+ if (this_.quickSearch != '') {
24380
+ this_.querysShow = true;
24381
+ } else {
24382
+ this_.querysShow = true;
24383
+ }
24384
+ this_.quickSearch = '请输入' + this.quickSearch + '查询';
24385
+ this_.style = 'height:' + customDialog.height + 'px';
24386
+ if (window.screen.height && window.screen.height <= 900) {
24387
+ this.style = 'height:440px';
24388
+ }
24389
+ if (customDialog.style == 0 || customDialog.style == 2) {
24390
+ //列表
24391
+ setTimeout(() => {
24392
+ this_.customDialogShow({
24240
24393
  alias: alias,
24241
24394
  customDialog: customDialog
24242
- };
24243
- this_.customDialog = customDialog;
24244
- let param = {};
24245
- this_.conditionfieldTree = [];
24246
- //判断是否存在条件
24247
- if (customDialog.conditionfield) {
24248
- this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
24249
- if (this_.conditionfieldTree.length > 0) {
24250
- for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
24251
- //判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值
24252
- if (this_.conditionfieldTree[i].defaultType == '4') {
24253
- param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
24254
- }
24395
+ }, isMounted);
24396
+ }, 100);
24397
+ } else if (customDialog.style == 1) {
24398
+ //树形
24399
+ this_.pageParam = {
24400
+ alias: alias,
24401
+ customDialog: customDialog
24402
+ };
24403
+ this_.customDialog = customDialog;
24404
+ let param = {};
24405
+ this_.conditionfieldTree = [];
24406
+ //判断是否存在条件
24407
+ if (customDialog.conditionfield) {
24408
+ this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
24409
+ if (this_.conditionfieldTree.length > 0) {
24410
+ for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
24411
+ //判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
24412
+ if (this_.conditionfieldTree[i].defaultType == '4') {
24413
+ param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
24255
24414
  }
24256
24415
  }
24257
24416
  }
24258
- //有动态传入的字段
24259
- if (!isMounted) {
24260
- if (JSON.stringify(param) != '{}') {
24261
- this_.dialogVisible = true;
24262
- } else {
24263
- //无动态传入的字段
24264
- this_.customDialogTreeShow(this_.pageParam);
24265
- }
24417
+ }
24418
+ //有动态传入的字段
24419
+ if (!isMounted) {
24420
+ if (JSON.stringify(param) != '{}') {
24421
+ this_.dialogVisible = true;
24422
+ } else {
24423
+ //无动态传入的字段
24424
+ this_.customDialogTreeShow(this_.pageParam);
24266
24425
  }
24267
24426
  }
24268
- });
24427
+ }
24269
24428
  },
24270
24429
  initTableHeight() {
24271
24430
  this.$nextTick(() => {
@@ -24394,13 +24553,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24394
24553
  }
24395
24554
  // 添加用户id 岗位id 组织id
24396
24555
  try {
24397
- if (this.$requestConfig.getUserId()) {
24556
+ if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
24398
24557
  ctx.userId = this.$requestConfig.getUserId();
24399
24558
  }
24400
- if (this.$requestConfig.getOrgId()) {
24559
+ if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
24401
24560
  ctx.orgId = this.$requestConfig.getOrgId();
24402
24561
  }
24403
- if (this.$requestConfig.getPostId()) {
24562
+ if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
24404
24563
  ctx.postId = this.$requestConfig.getPostId();
24405
24564
  }
24406
24565
  } catch (e) {
@@ -24485,8 +24644,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24485
24644
  this.selectOrgs = this.convertComment2Field(str, field);
24486
24645
  this.custdialog.custDialog.mappingConf.forEach(con => {
24487
24646
  var val = '';
24488
- str.forEach(item => {
24489
- val += item[con.from] + ',';
24647
+ str.forEach((item, index) => {
24648
+ // 此处添加url跳转参数保存逻辑
24649
+ if (this.jumpParamKey && this.isHaveJumpUrl && this.modelName == 'data.' + con['target'][0]) {
24650
+ val += `${item[con.from]}¯${this.jumpParamKey}:${this.selectOrgs[index][this.jumpParamKey]},`;
24651
+ } else {
24652
+ val += item[con.from] + ',';
24653
+ }
24490
24654
  });
24491
24655
  if (this.modelName == 'data.' + con['target'][0]) {
24492
24656
  utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
@@ -24557,19 +24721,36 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24557
24721
  };
24558
24722
  }
24559
24723
  //用户输入的
24724
+ let flag = false;
24560
24725
  if (this.queryParams.length != 0 && this.queryParams[0] != '') {
24561
24726
  this.conditionBind.forEach((item, index) => {
24727
+ // 日期范围特殊处理
24728
+ if (item.dbType == 'date' && item.condition == 'BETWEEN') {
24729
+ if (this.queryParams[index].startDate && !this.queryParams[index].endDate || !this.queryParams[index].startDate && this.queryParams[index].endDate) {
24730
+ flag = true;
24731
+ this.$message.info('日期范围未填写完整!');
24732
+ return;
24733
+ }
24734
+ if (this.queryParams[index].startDate && this.queryParams[index].endDate) {
24735
+ this.queryParams[index][item.field] = `${this.queryParams[index].startDate},${this.queryParams[index].endDate}`;
24736
+ } else {
24737
+ this.queryParams[index][item.field] = '';
24738
+ }
24739
+ }
24562
24740
  if (this.queryParams[index][item.field]) {
24563
24741
  querys.push({
24564
24742
  property: item.field,
24565
24743
  value: this.queryParams[index][item.field],
24566
24744
  group: 'main',
24567
- operation: 'LIKE',
24745
+ operation: item.condition,
24568
24746
  relation: 'AND'
24569
24747
  });
24570
24748
  }
24571
24749
  });
24572
24750
  }
24751
+ if (flag) {
24752
+ return;
24753
+ }
24573
24754
  //参数传入的查询拼接
24574
24755
  if (this.param) {
24575
24756
  this.param.forEach(item => {
@@ -24608,13 +24789,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24608
24789
  queryParamMap.total = pageBean.pageBean.total;
24609
24790
  // 添加用户id 岗位id 组织id
24610
24791
  try {
24611
- if (this.$requestConfig.getUserId()) {
24792
+ if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
24612
24793
  ctx.userId = this.$requestConfig.getUserId();
24613
24794
  }
24614
- if (this.$requestConfig.getOrgId()) {
24795
+ if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
24615
24796
  ctx.orgId = this.$requestConfig.getOrgId();
24616
24797
  }
24617
- if (this.$requestConfig.getPostId()) {
24798
+ if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
24618
24799
  ctx.postId = this.$requestConfig.getPostId();
24619
24800
  }
24620
24801
  } catch (e) {
@@ -24635,12 +24816,14 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24635
24816
  value: queryParamMap[bindKey] || ctx[bindKey] || ''
24636
24817
  };
24637
24818
  });
24638
- param.querys = queryList;
24819
+ param.querys = queryList || [];
24639
24820
  if (this.customDialog.needPage) {
24640
24821
  param.pageBean = obj;
24641
24822
  } else {
24642
24823
  param.pageBean.pageSize = -1;
24643
24824
  }
24825
+ // 日期格式的 改成数组
24826
+ // this.changeDateFormat(param)
24644
24827
  //构造请求的参数
24645
24828
  let requestParam = {
24646
24829
  pageBean: param,
@@ -24680,6 +24863,15 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24680
24863
  }
24681
24864
  this.tableRadioVal = '';
24682
24865
  },
24866
+ changeDateFormat(param) {
24867
+ let dateValidate1 = /^\d{4}\-\d{2}\-\d{2}$/;
24868
+ 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$/;
24869
+ Object.keys(param).forEach(key => {
24870
+ if (param[key] && typeof param[key] == 'string' && param[key].includes(',') && (dateValidate1.test(param[key].split(',')[0]) || dateValidate2.test(param[key].split(',')[0]))) {
24871
+ param[key] = param[key].split(',');
24872
+ }
24873
+ });
24874
+ },
24683
24875
  getSearchValueByKey() {
24684
24876
  let queryParamsObj = {};
24685
24877
  if (this.queryParams.length > 0) {
@@ -24905,6 +25097,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24905
25097
  },
24906
25098
  // 同步选择结果
24907
25099
  syncInputValue() {
25100
+ // 对话框跳转url需要两个参数 1当前控件绑定的对象参数modelName 2对话框配置中配置的key名称
25101
+ // 同步值时,如果有绑定url跳转参数,值格式为 名称¯跳转key:跳转value
24908
25102
  let thisIndex = null; //当前数据所在下标
24909
25103
  let parentIndex = null; //父节点所在下标
24910
25104
  if (this.$parent.$el) {
@@ -24978,13 +25172,27 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24978
25172
  }
24979
25173
  }
24980
25174
  }
25175
+ // 如果是查询中使用的对话框
25176
+ if (this.dialogType == 'search') {
25177
+ let returnVal = [];
25178
+ str.forEach(item => {
25179
+ returnVal.push(decodeURIComponent(item[this.modelName]));
25180
+ });
25181
+ this.$emit('updateInput', returnVal.join(','));
25182
+ return;
25183
+ }
24981
25184
  const pInst = utils["a" /* default */].getOnlineFormInstance(this);
24982
25185
  this.custdialog.custDialog.mappingConf.forEach(con => {
24983
25186
  var val = '';
24984
25187
  var from = con.from.toLowerCase();
24985
25188
  str.forEach(item => {
25189
+ // 如果有绑定url跳转参数 需获取跳转参数的key
24986
25190
  if (item) {
24987
- val += decodeURIComponent(item[from]) + ',';
25191
+ if (this.jumpParamKey && this.isHaveJumpUrl && this.modelName == 'data.' + con['target'][0]) {
25192
+ val += `${decodeURIComponent(item[from])}¯${this.jumpParamKey}:${item[this.jumpParamKey]},`;
25193
+ } else {
25194
+ val += decodeURIComponent(item[from]) + ',';
25195
+ }
24988
25196
  }
24989
25197
  });
24990
25198
  if (this.modelName == 'data.' + con['target'][0]) {
@@ -25003,7 +25211,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
25003
25211
  const _val = val.substring(0, val.length - 1);
25004
25212
  if (path) {
25005
25213
  if (this.modelName && this.modelName.endsWith(path)) {
25006
- // this.$emit('input', _val)
25007
25214
  this.$emit('updateInput', _val);
25008
25215
  }
25009
25216
  utils["a" /* default */].setValueByPath(pInst, `${pInst.data ? 'data.' : 'model.'}${path}`, _val, thisIndex);
@@ -25235,8 +25442,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
25235
25442
  });
25236
25443
  // CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=script&lang=js&
25237
25444
  /* harmony default export */ var src_customDialogvue_type_script_lang_js_ = (customDialogvue_type_script_lang_js_);
25238
- // EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=3a57945e&prod&lang=scss&scoped=true&
25239
- var customDialogvue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true_ = __webpack_require__("7ff9");
25445
+ // EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=f66484a2&prod&lang=scss&scoped=true&
25446
+ var customDialogvue_type_style_index_0_id_f66484a2_prod_lang_scss_scoped_true_ = __webpack_require__("3de0");
25240
25447
 
25241
25448
  // CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue
25242
25449
 
@@ -25249,31 +25456,47 @@ var customDialogvue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true_ =
25249
25456
 
25250
25457
  var customDialog_component = normalizeComponent(
25251
25458
  src_customDialogvue_type_script_lang_js_,
25252
- customDialogvue_type_template_id_3a57945e_scoped_true_render,
25253
- customDialogvue_type_template_id_3a57945e_scoped_true_staticRenderFns,
25459
+ customDialogvue_type_template_id_f66484a2_scoped_true_render,
25460
+ customDialogvue_type_template_id_f66484a2_scoped_true_staticRenderFns,
25254
25461
  false,
25255
25462
  null,
25256
- "3a57945e",
25463
+ "f66484a2",
25257
25464
  null
25258
25465
 
25259
25466
  )
25260
25467
 
25261
25468
  /* harmony default export */ var CustomDialog_src_customDialog = (customDialog_component.exports);
25262
- // 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&
25263
- 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":{
25264
- alias: condition.config.customQuery.alias,
25265
- valueBind: condition.config.customQuery.valueBind,
25266
- noInit: '',
25267
- labelBind: condition.config.customQuery.labelBind,
25268
- gangedBind: '{}',
25269
- bind: condition.config.bind,
25270
- },"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(
25469
+ // 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=691dcad9&scoped=true&
25470
+ var customMobileDialogvue_type_template_id_691dcad9_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('van-action-sheet',{staticClass:"mobile-van-action min-height-action",attrs:{"cancel-text":_vm.sureButtonText,"get-container":"body"},on:{"cancel":_vm.handleDialogSure,"click-overlay":_vm.dialogCancel,"opened":_vm.afterOpen},scopedSlots:_vm._u([{key:"description",fn:function(){return [_c('span',{staticClass:"dialog-mobile__title"},[_vm._v(_vm._s(_vm.customDialog.name))]),_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":_vm.dialogCancel}})]},proxy:true}]),model:{value:(_vm.customDialogShowList),callback:function ($$v) {_vm.customDialogShowList=$$v},expression:"customDialogShowList"}},[[_c('div',{staticClass:"search-box"},[_c('ht-icon',{staticClass:"unfold-icon",attrs:{"scale":"1.2","name":_vm.isShowMoreSearch ? 'upFold' : 'downUnfold'},on:{"click":function($event){_vm.isShowMoreSearch = !_vm.isShowMoreSearch}}}),_vm._l((_vm.conditionBind),function(condition,index){return _c('div',{directives:[{name:"show",rawName:"v-show",value:(index === 0 || (index > 0 && _vm.isShowMoreSearch)),expression:"index === 0 || (index > 0 && isShowMoreSearch)"}],key:index,staticClass:"search-item"},[_c('p',[_vm._v(_vm._s(condition.comment)+":")]),(condition.controllerType == '1')?_c('div',[_c('el-input',{attrs:{"size":"small","clearable":"","placeholder":_vm.placeholders[index]},on:{"change":_vm.searchInputChange},nativeOn:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.hideSearch($event)}},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '2')?_c('div',_vm._l((condition.config.options),function(itemR,$index1){return _c('el-radio',{key:$index1,attrs:{"label":itemR.key},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}},[_vm._v("\n "+_vm._s(itemR.value)+"\n ")])}),1):_vm._e(),(condition.controllerType == '3')?_c('div',[(condition.config.choiceType == 'static')?_c('ht-select',{attrs:{"multiple":condition.config.multiple,"options":condition.config.options,"popper-class":"dialog-select"},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}}):_c('ht-dictionary',{attrs:{"dickey":condition.config.dic,"filterable":condition.config.filterable,"popper-class":"dialog-select"},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '4')?_c('div',[_c('eip-tag',{attrs:{"tag-key":condition.config.tag,"filterable":condition.config.filterable,"expand":condition.config.expand},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '6')?_c('div',[(condition.condition == 'BETWEEN')?_c('div',{staticStyle:{"display":"flex","align-items":"center"}},[_c('ht-input',{attrs:{"placeholder":"开始日期","readonly":""},nativeOn:{"click":function($event){return _vm.showDate(index, 'startDate')}},model:{value:(_vm.queryParams[index].startDate),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "startDate", $$v)},expression:"queryParams[index].startDate"}}),_c('span',{staticStyle:{"margin":"0 10px"}},[_vm._v("至")]),_c('ht-input',{attrs:{"placeholder":"结束日期","readonly":""},nativeOn:{"click":function($event){return _vm.showDate(index, 'endDate')}},model:{value:(_vm.queryParams[index].endDate),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "endDate", $$v)},expression:"queryParams[index].endDate"}})],1):_c('ht-input',{attrs:{"readonly":""},nativeOn:{"click":function($event){return _vm.showDate(index, condition.field)}},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '7')?_c('div',[(condition.config.alias == 'user')?_c('ht-user-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
25471
+ _vm.queryParams[index][condition.field] = _vm.getSelectId(data)
25472
+ }},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e(),(condition.config.alias == 'org')?_c('ht-org-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
25473
+ _vm.queryParams[index][condition.field] = _vm.getSelectId(data)
25474
+ }},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e(),(condition.config.alias == 'role')?_c('ht-role-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
25475
+ _vm.queryParams[index][condition.field] = _vm.getSelectId(data)
25476
+ }},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e(),(condition.config.alias == 'job')?_c('ht-job-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
25477
+ _vm.queryParams[index][condition.field] = _vm.getSelectId(data)
25478
+ }},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e(),(condition.config.alias == 'post')?_c('ht-post-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
25479
+ _vm.queryParams[index][condition.field] = _vm.getSelectId(data)
25480
+ }},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e(),(condition.config.alias == 'dimension')?_c('ht-dimension-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
25481
+ _vm.queryParams[index][condition.field] = _vm.getSelectId(data)
25482
+ }},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e()],1):_vm._e(),(condition.controllerType == '5')?_c('div',[_c('ht-custom-dialog',{attrs:{"model-name":condition.config.keyBind,"dialogType":"search","custdialog":{
25483
+ name: '请选择',
25484
+ icon: '',
25485
+ custDialog: {
25486
+ selectNum: 1,
25487
+ conditions: [],
25488
+ mappingConf: [],
25489
+ custQueryJson: [],
25490
+ alias: condition.config.alias,
25491
+ type: 'custDialog',
25492
+ },
25493
+ }},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(
25271
25494
  function (k) { return k.defaultType == '4'; }
25272
- )),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)}
25273
- var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns = []
25495
+ )),function(item,$index){return _c('div',{key:$index},[(item.type != 'date')?_c('van-field',{attrs:{"label":item.comment,"placeholder":'请输入' + item.comment},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e(),(item.type == 'date')?_c('ht-date',{staticStyle:{"width":"100%"},attrs:{"placeholder":'请选择' + item.comment,"format":"yyyy-MM-dd"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e()],1)}),0)],1),_c('van-action-sheet',{staticClass:"mobile-van-action",attrs:{"cancel-text":_vm.sureButtonText,"get-container":"body"},on:{"cancel":_vm.dialogTreeConfirm},scopedSlots:_vm._u([{key:"description",fn:function(){return [_c('span',{staticClass:"dialog-mobile__title"},[_vm._v(_vm._s(_vm.customDialog.name))]),_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":_vm.dialogCancelTree}})]},proxy:true}]),model:{value:(_vm.customDialogShowTree),callback:function ($$v) {_vm.customDialogShowTree=$$v},expression:"customDialogShowTree"}},[_c('el-tree',{ref:"tree",staticStyle:{"width":"100%"},attrs:{"data":_vm.props1,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","show-checkbox":_vm.customDialog.selectNum === -1,"check-on-click-node":true,"check-strictly":false,"lazy":"","load":_vm.loadTree,"default-expanded-keys":_vm.defaultExpandedKeys},on:{"node-click":_vm.treeClick,"check-change":_vm.getChecked}})],1),(_vm.isShowDatePop)?_c('van-popup',{attrs:{"position":"bottom","round":""},model:{value:(_vm.isShowDatePop),callback:function ($$v) {_vm.isShowDatePop=$$v},expression:"isShowDatePop"}},[_c('van-datetime-picker',{attrs:{"type":_vm.dateType,"title":"选择日期","show-toolbar":true},on:{"cancel":function($event){_vm.isShowDatePop = false},"confirm":_vm.confirmFn},model:{value:(_vm.currentDate),callback:function ($$v) {_vm.currentDate=$$v},expression:"currentDate"}})],1):_vm._e()],1)}
25496
+ var customMobileDialogvue_type_template_id_691dcad9_scoped_true_staticRenderFns = []
25274
25497
 
25275
25498
 
25276
- // CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=1661eebb&scoped=true&
25499
+ // CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=691dcad9&scoped=true&
25277
25500
 
25278
25501
  // 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&
25279
25502
  //
@@ -25534,6 +25757,122 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
25534
25757
  //
25535
25758
  //
25536
25759
  //
25760
+ //
25761
+ //
25762
+ //
25763
+ //
25764
+ //
25765
+ //
25766
+ //
25767
+ //
25768
+ //
25769
+ //
25770
+ //
25771
+ //
25772
+ //
25773
+ //
25774
+ //
25775
+ //
25776
+ //
25777
+ //
25778
+ //
25779
+ //
25780
+ //
25781
+ //
25782
+ //
25783
+ //
25784
+ //
25785
+ //
25786
+ //
25787
+ //
25788
+ //
25789
+ //
25790
+ //
25791
+ //
25792
+ //
25793
+ //
25794
+ //
25795
+ //
25796
+ //
25797
+ //
25798
+ //
25799
+ //
25800
+ //
25801
+ //
25802
+ //
25803
+ //
25804
+ //
25805
+ //
25806
+ //
25807
+ //
25808
+ //
25809
+ //
25810
+ //
25811
+ //
25812
+ //
25813
+ //
25814
+ //
25815
+ //
25816
+ //
25817
+ //
25818
+ //
25819
+ //
25820
+ //
25821
+ //
25822
+ //
25823
+ //
25824
+ //
25825
+ //
25826
+ //
25827
+ //
25828
+ //
25829
+ //
25830
+ //
25831
+ //
25832
+ //
25833
+ //
25834
+ //
25835
+ //
25836
+ //
25837
+ //
25838
+ //
25839
+ //
25840
+ //
25841
+ //
25842
+ //
25843
+ //
25844
+ //
25845
+ //
25846
+ //
25847
+ //
25848
+ //
25849
+ //
25850
+ //
25851
+ //
25852
+ //
25853
+ //
25854
+ //
25855
+ //
25856
+ //
25857
+ //
25858
+ //
25859
+ //
25860
+ //
25861
+ //
25862
+ //
25863
+ //
25864
+ //
25865
+ //
25866
+ //
25867
+ //
25868
+ //
25869
+ //
25870
+ //
25871
+ //
25872
+ //
25873
+ //
25874
+ //
25875
+ //
25537
25876
 
25538
25877
 
25539
25878
 
@@ -25555,10 +25894,17 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
25555
25894
  subIndex: Number,
25556
25895
  sunIndex: Number,
25557
25896
  subPath: String,
25558
- currentSubData: Array
25897
+ currentSubData: Array,
25898
+ dialogConfig: Object,
25899
+ dialogType: String
25559
25900
  },
25560
25901
  data() {
25561
25902
  return {
25903
+ dateType: 'date',
25904
+ currentDate: '',
25905
+ // 当前日期
25906
+ isShowDatePop: false,
25907
+ // 是否显示日期选择控件
25562
25908
  isShowMoreSearch: false,
25563
25909
  treeSelectText: '',
25564
25910
  // 组合树时选中的查询条件
@@ -25638,9 +25984,47 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
25638
25984
  sureButtonText() {
25639
25985
  const selectedText = this.selectIds.length > 0 ? `(${this.selectIds.length})` : '';
25640
25986
  return `${this.$t('ht.common.confirm')}${selectedText}`;
25987
+ },
25988
+ jumpParamKey() {
25989
+ return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
25990
+ },
25991
+ // 是否保存成跳转url参数
25992
+ isHaveJumpUrl() {
25993
+ return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
25994
+ },
25995
+ sortDisplayfield() {
25996
+ return this.displayfield.sort((a, b) => {
25997
+ return a.sort > b.sort ? 1 : -1;
25998
+ });
25641
25999
  }
25642
26000
  },
25643
26001
  methods: {
26002
+ // 获取已选择的选择器数据id
26003
+ getSelectId(data) {
26004
+ if (!data || !data.length) {
26005
+ return '';
26006
+ }
26007
+ let ids = [];
26008
+ data.forEach(item => {
26009
+ ids.push(item.id);
26010
+ });
26011
+ return ids.join(',');
26012
+ },
26013
+ showDate(index, key) {
26014
+ this.dateType = this.conditionBind[index].config.inputFormat.includes('mm:') ? 'datetime' : 'date';
26015
+ this.currentDateData = {
26016
+ index,
26017
+ key
26018
+ };
26019
+ this.currentDate = this.queryParams[index][key] ? new Date(this.queryParams[index][key].replace(/-/g, '/')) : new Date();
26020
+ this.isShowDatePop = true;
26021
+ },
26022
+ // 日期确认
26023
+ confirmFn() {
26024
+ let currentConfig = this.conditionBind[this.currentDateData.index];
26025
+ this.queryParams[this.currentDateData.index][this.currentDateData.key] = this.currentDate.format(currentConfig.config.inputFormat);
26026
+ this.isShowDatePop = false;
26027
+ },
25644
26028
  searchInputChange() {
25645
26029
  if (!this.isShowMoreSearch) {
25646
26030
  this.search(true);
@@ -25686,112 +26070,121 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
25686
26070
  this.search(true);
25687
26071
  },
25688
26072
  showDialog() {
25689
- const this_ = this;
25690
26073
  this.fixedParams = {};
26074
+ // 如果已存在配置信息就不去请求配置信息 直接初始化数据
26075
+ if (this.dialogConfig) {
26076
+ this.initDialog(this.dialogConfig);
26077
+ return;
26078
+ }
25691
26079
  var alias = this.custdialog.custDialog.alias;
25692
26080
  this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
25693
- if (!customDialog || !customDialog.alias) {
25694
- this.$message.error('对话框别名【' + alias + '】不存在!');
25695
- return;
25696
- }
25697
- if (customDialog.style == 1) {
25698
- var displaylist = JSON.parse(customDialog.displayfield);
25699
- this_.nodeKey = displaylist.id;
25700
- }
25701
- if (customDialog.needPage && customDialog.requestType === 'POST') {
25702
- let obj = {};
25703
- this.getLastKeyByPath(obj, customDialog.pageKey, 1);
25704
- this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
25705
- this.getLastKeyByPath(obj, customDialog.totalKey, true);
25706
- const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
25707
- if (exp) {
25708
- const params = JSON.parse(exp);
25709
- if (params.pageBean) {
25710
- this.pagination = {
25711
- ...params.pageBean
25712
- };
25713
- }
26081
+ this.initDialog(customDialog);
26082
+ });
26083
+ },
26084
+ initDialog(customDialog) {
26085
+ let alias = this.custdialog.custDialog.alias;
26086
+ const this_ = this;
26087
+ if (!customDialog || !customDialog.alias) {
26088
+ this.$message.error('对话框别名【' + alias + '】不存在!');
26089
+ return;
26090
+ }
26091
+ if (customDialog.style == 1) {
26092
+ var displaylist = JSON.parse(customDialog.displayfield);
26093
+ this_.nodeKey = displaylist.id;
26094
+ }
26095
+ if (customDialog.needPage && customDialog.requestType === 'POST') {
26096
+ let obj = {};
26097
+ this.getLastKeyByPath(obj, customDialog.pageKey, 1);
26098
+ this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
26099
+ this.getLastKeyByPath(obj, customDialog.totalKey, true);
26100
+ const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
26101
+ if (exp) {
26102
+ const params = JSON.parse(exp);
26103
+ if (params.pageBean) {
26104
+ this.pagination = {
26105
+ ...params.pageBean
26106
+ };
25714
26107
  }
25715
26108
  }
25716
- //对话框按表单字段查询(参数传入的)
25717
- let bindList = this_.custdialog.custDialog.conditions;
25718
- this_.param = []; //绑定的表单字段
25719
- if (bindList.length > 0) {
25720
- bindList.forEach(ele => {
25721
- //绑定表单字段
25722
- if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
25723
- let obj = {};
25724
- obj.field = ele.field;
25725
- obj.bind = ele.bind;
25726
- obj.bindType = ele.bindType;
25727
- this_.param.push(obj);
25728
- }
25729
- // bindType 1 表单字段 2固定 3脚本
25730
- if (ele.defaultType == '3' && ele.bindType === 2) {
25731
- this_.fixedParams[ele.field] = ele.bind || '';
25732
- }
25733
- });
25734
- }
26109
+ }
26110
+ //对话框按表单字段查询(参数传入的)
26111
+ let bindList = this_.custdialog.custDialog.conditions;
26112
+ this_.param = []; //绑定的表单字段
26113
+ if (bindList.length > 0) {
26114
+ bindList.forEach(ele => {
26115
+ //绑定表单字段
26116
+ if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
26117
+ let obj = {};
26118
+ obj.field = ele.field;
26119
+ obj.bind = ele.bind;
26120
+ obj.bindType = ele.bindType;
26121
+ this_.param.push(obj);
26122
+ }
26123
+ // bindType 1 表单字段 2固定 3脚本
26124
+ if (ele.defaultType == '3' && ele.bindType === 2) {
26125
+ this_.fixedParams[ele.field] = ele.bind || '';
26126
+ }
26127
+ });
26128
+ }
25735
26129
 
25736
- //判断对话框查询是否有条件
25737
- let userInputList = JSON.parse(customDialog.conditionfield);
25738
- this_.conditionBind = [];
25739
- let queryParams = [];
25740
- let placeholders = [];
25741
- if (userInputList.length > 0) {
25742
- userInputList.forEach(ele => {
25743
- var obj = {};
25744
- //条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
25745
- if (ele.defaultType == '1') {
25746
- obj[ele.field] = '';
25747
- queryParams.push(obj);
25748
- // queryParams[ele.field] = "";
25749
- this_.conditionBind.push(ele);
25750
- placeholders.push('请输入' + ele.comment);
25751
- }
25752
- if (ele.defaultType == '2' && ele.defaultValue) {
25753
- this_.fixedParams[ele.field] = ele.defaultValue;
25754
- }
25755
- });
25756
- this.$set(this, 'queryParams', queryParams);
25757
- this.$set(this, 'placeholders', placeholders);
25758
- }
25759
- if (customDialog.style == 0 || customDialog.style == 2) {
25760
- //列表
25761
- this_.customDialogShow({
25762
- alias: alias,
25763
- customDialog: customDialog
25764
- });
25765
- } else if (customDialog.style == 1) {
25766
- //树形
25767
- this_.pageParam = {
25768
- alias: alias,
25769
- customDialog: customDialog
25770
- };
25771
- this_.customDialog = customDialog;
25772
- let param = {};
25773
- this_.conditionfieldTree = [];
25774
- //判断是否存在条件
25775
- if (customDialog.conditionfield) {
25776
- this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
25777
- if (this_.conditionfieldTree.length > 0) {
25778
- for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
25779
- //判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
25780
- if (this_.conditionfieldTree[i].defaultType == '4') {
25781
- param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
25782
- }
26130
+ //判断对话框查询是否有条件
26131
+ let userInputList = JSON.parse(customDialog.conditionfield);
26132
+ this_.conditionBind = [];
26133
+ let queryParams = [];
26134
+ let placeholders = [];
26135
+ if (userInputList.length > 0) {
26136
+ userInputList.forEach(ele => {
26137
+ var obj = {};
26138
+ //条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
26139
+ if (ele.defaultType == '1') {
26140
+ obj[ele.field] = '';
26141
+ queryParams.push(obj);
26142
+ // queryParams[ele.field] = "";
26143
+ this_.conditionBind.push(ele);
26144
+ placeholders.push('请输入' + ele.comment);
26145
+ }
26146
+ if (ele.defaultType == '2' && ele.defaultValue) {
26147
+ this_.fixedParams[ele.field] = ele.defaultValue;
26148
+ }
26149
+ });
26150
+ this.$set(this, 'queryParams', queryParams);
26151
+ this.$set(this, 'placeholders', placeholders);
26152
+ }
26153
+ if (customDialog.style == 0 || customDialog.style == 2) {
26154
+ //列表
26155
+ this_.customDialogShow({
26156
+ alias: alias,
26157
+ customDialog: customDialog
26158
+ });
26159
+ } else if (customDialog.style == 1) {
26160
+ //树形
26161
+ this_.pageParam = {
26162
+ alias: alias,
26163
+ customDialog: customDialog
26164
+ };
26165
+ this_.customDialog = customDialog;
26166
+ let param = {};
26167
+ this_.conditionfieldTree = [];
26168
+ //判断是否存在条件
26169
+ if (customDialog.conditionfield) {
26170
+ this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
26171
+ if (this_.conditionfieldTree.length > 0) {
26172
+ for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
26173
+ //判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
26174
+ if (this_.conditionfieldTree[i].defaultType == '4') {
26175
+ param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
25783
26176
  }
25784
26177
  }
25785
26178
  }
25786
- //有动态传入的字段
25787
- if (JSON.stringify(param) != '{}') {
25788
- this_.dialogVisible = true;
25789
- } else {
25790
- //无动态传入的字段
25791
- this_.customDialogTreeShow(this_.pageParam);
25792
- }
25793
26179
  }
25794
- });
26180
+ //有动态传入的字段
26181
+ if (JSON.stringify(param) != '{}') {
26182
+ this_.dialogVisible = true;
26183
+ } else {
26184
+ //无动态传入的字段
26185
+ this_.customDialogTreeShow(this_.pageParam);
26186
+ }
26187
+ }
25795
26188
  },
25796
26189
  treeClick(data) {
25797
26190
  // 单选
@@ -25909,13 +26302,13 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
25909
26302
  }
25910
26303
  // 添加用户id 岗位id 组织id
25911
26304
  try {
25912
- if (this.$requestConfig.getUserId()) {
26305
+ if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
25913
26306
  ctx.userId = this.$requestConfig.getUserId();
25914
26307
  }
25915
- if (this.$requestConfig.getOrgId()) {
26308
+ if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
25916
26309
  ctx.orgId = this.$requestConfig.getOrgId();
25917
26310
  }
25918
- if (this.$requestConfig.getPostId()) {
26311
+ if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
25919
26312
  ctx.postId = this.$requestConfig.getPostId();
25920
26313
  }
25921
26314
  } catch (e) {
@@ -26000,8 +26393,13 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
26000
26393
  this.selectOrgs = this.convertComment2Field(str, field);
26001
26394
  this.custdialog.custDialog.mappingConf.forEach(con => {
26002
26395
  var val = '';
26003
- str.forEach(item => {
26004
- val += item[con.from] + ',';
26396
+ str.forEach((item, index) => {
26397
+ // 此处添加url跳转参数保存逻辑
26398
+ if (this.jumpParamKey && this.isHaveJumpUrl && this.modelName == 'data.' + con['target'][0]) {
26399
+ val += `${item[con.from]}¯${this.jumpParamKey}:${this.selectOrgs[index][this.jumpParamKey]},`;
26400
+ } else {
26401
+ val += item[con.from] + ',';
26402
+ }
26005
26403
  });
26006
26404
  if (this.modelName == 'data.' + con['target'][0]) {
26007
26405
  utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
@@ -26074,6 +26472,19 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
26074
26472
  //用户输入的
26075
26473
  if (this.queryParams.length != 0 && this.queryParams[0] != '') {
26076
26474
  this.conditionBind.forEach((item, index) => {
26475
+ // 日期范围特殊处理
26476
+ if (item.dbType == 'date' && item.condition == 'BETWEEN') {
26477
+ if (this.queryParams[index].startDate && !this.queryParams[index].endDate || !this.queryParams[index].startDate && this.queryParams[index].endDate) {
26478
+ flag = true;
26479
+ this.$message.info('日期范围未填写完整!');
26480
+ return;
26481
+ }
26482
+ if (this.queryParams[index].startDate && this.queryParams[index].endDate) {
26483
+ this.queryParams[index][item.field] = `${this.queryParams[index].startDate},${this.queryParams[index].endDate}`;
26484
+ } else {
26485
+ this.queryParams[index][item.field] = '';
26486
+ }
26487
+ }
26077
26488
  if (this.queryParams[index][item.field]) {
26078
26489
  querys.push({
26079
26490
  property: item.field,
@@ -26122,13 +26533,13 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
26122
26533
  ctx.total = pageBean.pageBean.total;
26123
26534
  // 添加用户id 岗位id 组织id
26124
26535
  try {
26125
- if (this.$requestConfig.getUserId()) {
26536
+ if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
26126
26537
  ctx.userId = this.$requestConfig.getUserId();
26127
26538
  }
26128
- if (this.$requestConfig.getOrgId()) {
26539
+ if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
26129
26540
  ctx.orgId = this.$requestConfig.getOrgId();
26130
26541
  }
26131
- if (this.$requestConfig.getPostId()) {
26542
+ if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
26132
26543
  ctx.postId = this.$requestConfig.getPostId();
26133
26544
  }
26134
26545
  } catch (e) {
@@ -26156,6 +26567,8 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
26156
26567
  } else {
26157
26568
  param.pageBean.pageSize = -1;
26158
26569
  }
26570
+ // 日期格式的 改成数组
26571
+ // this.changeDateFormat(param)
26159
26572
  //构造请求的参数
26160
26573
  let requestParam = {
26161
26574
  pageBean: param,
@@ -26191,6 +26604,15 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
26191
26604
  }
26192
26605
  }
26193
26606
  },
26607
+ changeDateFormat(param) {
26608
+ let dateValidate1 = /^\d{4}\-\d{2}\-\d{2}$/;
26609
+ 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$/;
26610
+ Object.keys(param).forEach(key => {
26611
+ if (param[key] && typeof param[key] == 'string' && param[key].includes(',') && (dateValidate1.test(param[key].split(',')[0]) || dateValidate2.test(param[key].split(',')[0]))) {
26612
+ param[key] = param[key].split(',');
26613
+ }
26614
+ });
26615
+ },
26194
26616
  getSearchValueByKey() {
26195
26617
  let queryParamsObj = {};
26196
26618
  if (this.queryParams.length > 0) {
@@ -26389,13 +26811,26 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
26389
26811
  }
26390
26812
  }
26391
26813
  }
26814
+ // 如果是查询中使用的对话框
26815
+ if (this.dialogType == 'search') {
26816
+ let returnVal = [];
26817
+ str.forEach(item => {
26818
+ returnVal.push(decodeURIComponent(item[this.modelName]));
26819
+ });
26820
+ this.$emit('updateInput', returnVal.join(','));
26821
+ return;
26822
+ }
26392
26823
  const pInst = utils["a" /* default */].getOnlineFormInstance(this);
26393
26824
  this.custdialog.custDialog.mappingConf.forEach(con => {
26394
26825
  var val = '';
26395
26826
  var from = con.from.toLowerCase();
26396
26827
  str.forEach(item => {
26397
26828
  if (item) {
26398
- val += decodeURIComponent(item[from]) + ',';
26829
+ if (this.jumpParamKey && this.isHaveJumpUrl && this.modelName == 'data.' + con['target'][0]) {
26830
+ val += `${decodeURIComponent(item[from])}¯${this.jumpParamKey}:${item[this.jumpParamKey]},`;
26831
+ } else {
26832
+ val += decodeURIComponent(item[from]) + ',';
26833
+ }
26399
26834
  }
26400
26835
  });
26401
26836
  if (this.modelName == 'data.' + con['target'][0]) {
@@ -26432,20 +26867,6 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
26432
26867
  }
26433
26868
  }
26434
26869
  },
26435
- // getSelected() {
26436
- // let arr = []
26437
- // this.selectIds.forEach((item) => {
26438
- // debugger
26439
- // let obj = this.dialogData.find((sub) => {
26440
- // return sub.id_ === item
26441
- // })
26442
- // if (obj) {
26443
- // arr.push(obj)
26444
- // }
26445
- // })
26446
-
26447
- // return arr
26448
- // },
26449
26870
  calacInputSuffixHeight() {
26450
26871
  this.$emit('calacInputSuffixHeight');
26451
26872
  },
@@ -26647,11 +27068,11 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
26647
27068
  });
26648
27069
  // CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=script&lang=js&
26649
27070
  /* harmony default export */ var src_customMobileDialogvue_type_script_lang_js_ = (customMobileDialogvue_type_script_lang_js_);
26650
- // EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=1661eebb&prod&lang=scss&scoped=true&
26651
- var customMobileDialogvue_type_style_index_0_id_1661eebb_prod_lang_scss_scoped_true_ = __webpack_require__("de6a");
27071
+ // EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=691dcad9&prod&lang=scss&scoped=true&
27072
+ var customMobileDialogvue_type_style_index_0_id_691dcad9_prod_lang_scss_scoped_true_ = __webpack_require__("212d");
26652
27073
 
26653
- // EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=1661eebb&prod&lang=scss&
26654
- var customMobileDialogvue_type_style_index_1_id_1661eebb_prod_lang_scss_ = __webpack_require__("49f9");
27074
+ // EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=691dcad9&prod&lang=scss&
27075
+ var customMobileDialogvue_type_style_index_1_id_691dcad9_prod_lang_scss_ = __webpack_require__("d058");
26655
27076
 
26656
27077
  // CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue
26657
27078
 
@@ -26665,11 +27086,11 @@ var customMobileDialogvue_type_style_index_1_id_1661eebb_prod_lang_scss_ = __web
26665
27086
 
26666
27087
  var customMobileDialog_component = normalizeComponent(
26667
27088
  src_customMobileDialogvue_type_script_lang_js_,
26668
- customMobileDialogvue_type_template_id_1661eebb_scoped_true_render,
26669
- customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns,
27089
+ customMobileDialogvue_type_template_id_691dcad9_scoped_true_render,
27090
+ customMobileDialogvue_type_template_id_691dcad9_scoped_true_staticRenderFns,
26670
27091
  false,
26671
27092
  null,
26672
- "1661eebb",
27093
+ "691dcad9",
26673
27094
  null
26674
27095
 
26675
27096
  )
@@ -26809,6 +27230,17 @@ var customMobileDialog_component = normalizeComponent(
26809
27230
  //
26810
27231
  //
26811
27232
  //
27233
+ //
27234
+ //
27235
+ //
27236
+ //
27237
+ //
27238
+ //
27239
+ //
27240
+ //
27241
+ //
27242
+ //
27243
+ //
26812
27244
 
26813
27245
 
26814
27246
 
@@ -26840,10 +27272,17 @@ var customMobileDialog_component = normalizeComponent(
26840
27272
  subIndex: Number,
26841
27273
  sunIndex: Number,
26842
27274
  subPath: String,
26843
- currentSubData: Array
27275
+ currentSubData: Array,
27276
+ dialogType: {
27277
+ // search表示在查询条件使用 form表示在表单中使用
27278
+ type: String,
27279
+ default: 'form'
27280
+ }
26844
27281
  },
26845
27282
  data() {
26846
27283
  return {
27284
+ dialogConfig: null,
27285
+ // 对话框配置信息
26847
27286
  isEditInputShow: false,
26848
27287
  customValue: '',
26849
27288
  defualtTooltipplacement: 'bottom',
@@ -26892,9 +27331,21 @@ var customMobileDialog_component = normalizeComponent(
26892
27331
  }
26893
27332
  let result = [];
26894
27333
  nameAry.forEach(m => {
26895
- let n = {
26896
- value: m
26897
- };
27334
+ // 带url跳转参数的 使用上横杆区分参数 值格式为 名称¯跳转key:跳转value
27335
+ let n = {};
27336
+ if (m.includes('¯') && m.split('¯')[1]) {
27337
+ n.value = m.split('¯')[0];
27338
+ let jumpParamStr = m.split('¯')[1];
27339
+ if (jumpParamStr) {
27340
+ let jumpParam = jumpParamStr.split(':');
27341
+ n.jumpParamKey = jumpParam[0];
27342
+ n.jumpParamValue = jumpParam[1];
27343
+ }
27344
+ } else {
27345
+ n = {
27346
+ value: m
27347
+ };
27348
+ }
26898
27349
  result.push(n);
26899
27350
  });
26900
27351
  return result;
@@ -26902,8 +27353,16 @@ var customMobileDialog_component = normalizeComponent(
26902
27353
  },
26903
27354
  isAllowCustom() {
26904
27355
  return this.custdialog && this.custdialog.allowInput;
27356
+ },
27357
+ // 是否展示可跳转颜色
27358
+ isSrcColor() {
27359
+ return this.dialogConfig && this.dialogType !== 'search' && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
26905
27360
  }
26906
27361
  },
27362
+ created() {
27363
+ // 获取对话框配置,看是否有配置url跳转
27364
+ this.getDialogConfig();
27365
+ },
26907
27366
  mounted() {
26908
27367
  const {
26909
27368
  subScopeEl
@@ -26922,6 +27381,63 @@ var customMobileDialog_component = normalizeComponent(
26922
27381
  this.calacInputSuffixWidth();
26923
27382
  },
26924
27383
  methods: {
27384
+ // 跳转url页面
27385
+ jumpUrl(item) {
27386
+ if (!this.isSrcColor) {
27387
+ if (this.inputWriteable) {
27388
+ this.showEditInput();
27389
+ }
27390
+ return;
27391
+ }
27392
+ let url = this.isMobile ? this.dialogConfig.mobileUrl : this.dialogConfig.pcUrl;
27393
+ // 获取通用token 和 url翻译
27394
+ Promise.all([this.$requestConfig.getThreeTreeToken(), this.transformUrl(url)]).then(res => {
27395
+ if (res[0] && res[0].code == 200) {
27396
+ let token = res[0].value;
27397
+ let endUrl = res[1];
27398
+ // 拼接参数 token和参数
27399
+ if (endUrl.indexOf('?') == -1) {
27400
+ endUrl += `?bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
27401
+ } else {
27402
+ endUrl += `&bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
27403
+ }
27404
+ window.open(endUrl);
27405
+ } else {
27406
+ this.$message.info(res.message || '获取token失败!');
27407
+ }
27408
+ });
27409
+ },
27410
+ // 替换url中域名通配符 需要发送接口
27411
+ transformUrl(url) {
27412
+ return new Promise(resolve => {
27413
+ var reg = /(\$\{(\w+)\})/;
27414
+ var match = reg.exec(url);
27415
+ if (match) {
27416
+ let alias = match[2];
27417
+ if (alias) {
27418
+ this.$requestConfig.getHostByAlias(alias).then(res => {
27419
+ if (res && res.value && res.value.rootAddress) {
27420
+ resolve(url.replace(match[1], res.value.rootAddress));
27421
+ } else {
27422
+ resolve(url);
27423
+ }
27424
+ });
27425
+ } else {
27426
+ resolve(url);
27427
+ }
27428
+ } else {
27429
+ resolve(url);
27430
+ }
27431
+ });
27432
+ },
27433
+ // 获取对话框配置
27434
+ getDialogConfig() {
27435
+ if (this.custdialog && this.custdialog.custDialog && this.custdialog.custDialog.alias) this.$requestConfig.getCustomDialogByAlias(this.custdialog.custDialog.alias).then(response => {
27436
+ if (response) {
27437
+ this.dialogConfig = response;
27438
+ }
27439
+ });
27440
+ },
26925
27441
  editInputBlur() {
26926
27442
  this.$emit('input', this.customValue);
26927
27443
  this.isEditInputShow = false;
@@ -26996,8 +27512,8 @@ var customMobileDialog_component = normalizeComponent(
26996
27512
  });
26997
27513
  // CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=script&lang=js&
26998
27514
  /* harmony default export */ var packages_CustomDialog_src_mainvue_type_script_lang_js_ = (CustomDialog_src_mainvue_type_script_lang_js_);
26999
- // EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=37fe7c68&prod&lang=scss&scoped=true&
27000
- var mainvue_type_style_index_0_id_37fe7c68_prod_lang_scss_scoped_true_ = __webpack_require__("bf72");
27515
+ // EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=7a0ef38c&prod&lang=scss&scoped=true&
27516
+ var mainvue_type_style_index_0_id_7a0ef38c_prod_lang_scss_scoped_true_ = __webpack_require__("8502");
27001
27517
 
27002
27518
  // CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue
27003
27519
 
@@ -27010,11 +27526,11 @@ var mainvue_type_style_index_0_id_37fe7c68_prod_lang_scss_scoped_true_ = __webpa
27010
27526
 
27011
27527
  var CustomDialog_src_main_component = normalizeComponent(
27012
27528
  packages_CustomDialog_src_mainvue_type_script_lang_js_,
27013
- mainvue_type_template_id_37fe7c68_scoped_true_render,
27014
- mainvue_type_template_id_37fe7c68_scoped_true_staticRenderFns,
27529
+ mainvue_type_template_id_7a0ef38c_scoped_true_render,
27530
+ mainvue_type_template_id_7a0ef38c_scoped_true_staticRenderFns,
27015
27531
  false,
27016
27532
  null,
27017
- "37fe7c68",
27533
+ "7a0ef38c",
27018
27534
  null
27019
27535
 
27020
27536
  )
@@ -48960,6 +49476,13 @@ if (typeof window !== 'undefined' && window.Vue) {
48960
49476
 
48961
49477
  /***/ }),
48962
49478
 
49479
+ /***/ "fcc0":
49480
+ /***/ (function(module, exports, __webpack_require__) {
49481
+
49482
+ // extracted by mini-css-extract-plugin
49483
+
49484
+ /***/ }),
49485
+
48963
49486
  /***/ "fd6a":
48964
49487
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
48965
49488