three-trees-ui 1.0.3 → 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.
@@ -1652,6 +1652,13 @@ const btnList = [{
1652
1652
 
1653
1653
  /***/ }),
1654
1654
 
1655
+ /***/ "0c48":
1656
+ /***/ (function(module, exports, __webpack_require__) {
1657
+
1658
+ // extracted by mini-css-extract-plugin
1659
+
1660
+ /***/ }),
1661
+
1655
1662
  /***/ "0edb":
1656
1663
  /***/ (function(module, exports, __webpack_require__) {
1657
1664
 
@@ -1895,6 +1902,13 @@ const SubPagination = {
1895
1902
  /* unused harmony reexport * */
1896
1903
 
1897
1904
 
1905
+ /***/ }),
1906
+
1907
+ /***/ "18d6":
1908
+ /***/ (function(module, exports, __webpack_require__) {
1909
+
1910
+ // extracted by mini-css-extract-plugin
1911
+
1898
1912
  /***/ }),
1899
1913
 
1900
1914
  /***/ "1a07":
@@ -1915,31 +1929,35 @@ const SubPagination = {
1915
1929
 
1916
1930
  /***/ }),
1917
1931
 
1918
- /***/ "1c11":
1932
+ /***/ "1ccc":
1919
1933
  /***/ (function(module, exports, __webpack_require__) {
1920
1934
 
1921
1935
  // extracted by mini-css-extract-plugin
1922
1936
 
1923
1937
  /***/ }),
1924
1938
 
1925
- /***/ "1ccc":
1939
+ /***/ "200a":
1926
1940
  /***/ (function(module, exports, __webpack_require__) {
1927
1941
 
1928
1942
  // extracted by mini-css-extract-plugin
1929
1943
 
1930
1944
  /***/ }),
1931
1945
 
1932
- /***/ "200a":
1946
+ /***/ "20da":
1933
1947
  /***/ (function(module, exports, __webpack_require__) {
1934
1948
 
1935
1949
  // extracted by mini-css-extract-plugin
1936
1950
 
1937
1951
  /***/ }),
1938
1952
 
1939
- /***/ "20da":
1940
- /***/ (function(module, exports, __webpack_require__) {
1953
+ /***/ "212d":
1954
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
1955
+
1956
+ "use strict";
1957
+ /* 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");
1958
+ /* 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__);
1959
+ /* unused harmony reexport * */
1941
1960
 
1942
- // extracted by mini-css-extract-plugin
1943
1961
 
1944
1962
  /***/ }),
1945
1963
 
@@ -2812,13 +2830,6 @@ Formulas.install = Vue => {
2812
2830
  /* unused harmony reexport * */
2813
2831
 
2814
2832
 
2815
- /***/ }),
2816
-
2817
- /***/ "3766":
2818
- /***/ (function(module, exports, __webpack_require__) {
2819
-
2820
- // extracted by mini-css-extract-plugin
2821
-
2822
2833
  /***/ }),
2823
2834
 
2824
2835
  /***/ "39bd":
@@ -2848,6 +2859,17 @@ Formulas.install = Vue => {
2848
2859
  /* unused harmony reexport * */
2849
2860
 
2850
2861
 
2862
+ /***/ }),
2863
+
2864
+ /***/ "3de0":
2865
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
2866
+
2867
+ "use strict";
2868
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customDialog_vue_vue_type_style_index_0_id_f66484a2_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("18d6");
2869
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_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__);
2870
+ /* unused harmony reexport * */
2871
+
2872
+
2851
2873
  /***/ }),
2852
2874
 
2853
2875
  /***/ "3e5b":
@@ -2938,17 +2960,6 @@ Formulas.install = Vue => {
2938
2960
 
2939
2961
  // extracted by mini-css-extract-plugin
2940
2962
 
2941
- /***/ }),
2942
-
2943
- /***/ "49f9":
2944
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
2945
-
2946
- "use strict";
2947
- /* 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");
2948
- /* 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__);
2949
- /* unused harmony reexport * */
2950
-
2951
-
2952
2963
  /***/ }),
2953
2964
 
2954
2965
  /***/ "4a17":
@@ -2974,6 +2985,17 @@ Formulas.install = Vue => {
2974
2985
 
2975
2986
  // extracted by mini-css-extract-plugin
2976
2987
 
2988
+ /***/ }),
2989
+
2990
+ /***/ "4d96":
2991
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
2992
+
2993
+ "use strict";
2994
+ /* 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");
2995
+ /* 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__);
2996
+ /* unused harmony reexport * */
2997
+
2998
+
2977
2999
  /***/ }),
2978
3000
 
2979
3001
  /***/ "503b":
@@ -3381,17 +3403,6 @@ FormMath.isValue = function (value) {
3381
3403
  /* unused harmony reexport * */
3382
3404
 
3383
3405
 
3384
- /***/ }),
3385
-
3386
- /***/ "5bc8":
3387
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
3388
-
3389
- "use strict";
3390
- /* 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");
3391
- /* 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__);
3392
- /* unused harmony reexport * */
3393
-
3394
-
3395
3406
  /***/ }),
3396
3407
 
3397
3408
  /***/ "5c25":
@@ -4266,13 +4277,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
4266
4277
 
4267
4278
  /***/ }),
4268
4279
 
4269
- /***/ "7c6e":
4270
- /***/ (function(module, exports, __webpack_require__) {
4271
-
4272
- // extracted by mini-css-extract-plugin
4273
-
4274
- /***/ }),
4275
-
4276
4280
  /***/ "7d0a":
4277
4281
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4278
4282
 
@@ -4300,17 +4304,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
4300
4304
 
4301
4305
  // extracted by mini-css-extract-plugin
4302
4306
 
4303
- /***/ }),
4304
-
4305
- /***/ "8050":
4306
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
4307
-
4308
- "use strict";
4309
- /* 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_e7412952_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a91e");
4310
- /* 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_e7412952_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_e7412952_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
4311
- /* unused harmony reexport * */
4312
-
4313
-
4314
4307
  /***/ }),
4315
4308
 
4316
4309
  /***/ "81f7":
@@ -4365,6 +4358,17 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
4365
4358
 
4366
4359
  // extracted by mini-css-extract-plugin
4367
4360
 
4361
+ /***/ }),
4362
+
4363
+ /***/ "8502":
4364
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
4365
+
4366
+ "use strict";
4367
+ /* 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");
4368
+ /* 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__);
4369
+ /* unused harmony reexport * */
4370
+
4371
+
4368
4372
  /***/ }),
4369
4373
 
4370
4374
  /***/ "8728":
@@ -4454,6 +4458,13 @@ module.exports = require("vue");
4454
4458
  /* unused harmony reexport * */
4455
4459
 
4456
4460
 
4461
+ /***/ }),
4462
+
4463
+ /***/ "8c41":
4464
+ /***/ (function(module, exports, __webpack_require__) {
4465
+
4466
+ // extracted by mini-css-extract-plugin
4467
+
4457
4468
  /***/ }),
4458
4469
 
4459
4470
  /***/ "8d8b":
@@ -4760,14 +4771,7 @@ if (typeof window !== 'undefined' && window.Vue) {
4760
4771
  /***/ "9224":
4761
4772
  /***/ (function(module) {
4762
4773
 
4763
- module.exports = JSON.parse("{\"a\":\"1.0.3\"}");
4764
-
4765
- /***/ }),
4766
-
4767
- /***/ "923d":
4768
- /***/ (function(module, exports, __webpack_require__) {
4769
-
4770
- // extracted by mini-css-extract-plugin
4774
+ module.exports = JSON.parse("{\"a\":\"1.0.5\"}");
4771
4775
 
4772
4776
  /***/ }),
4773
4777
 
@@ -4901,13 +4905,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHoAAABMCAYAAACi
4901
4905
  /* unused harmony reexport * */
4902
4906
 
4903
4907
 
4904
- /***/ }),
4905
-
4906
- /***/ "a91e":
4907
- /***/ (function(module, exports, __webpack_require__) {
4908
-
4909
- // extracted by mini-css-extract-plugin
4910
-
4911
4908
  /***/ }),
4912
4909
 
4913
4910
  /***/ "a96c":
@@ -6465,17 +6462,6 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
6465
6462
 
6466
6463
  // extracted by mini-css-extract-plugin
6467
6464
 
6468
- /***/ }),
6469
-
6470
- /***/ "bf72":
6471
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
6472
-
6473
- "use strict";
6474
- /* 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");
6475
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_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__);
6476
- /* unused harmony reexport * */
6477
-
6478
-
6479
6465
  /***/ }),
6480
6466
 
6481
6467
  /***/ "c0a9":
@@ -6662,6 +6648,17 @@ module.exports = __WEBPACK_EXTERNAL_MODULE_cebe__;
6662
6648
 
6663
6649
  // extracted by mini-css-extract-plugin
6664
6650
 
6651
+ /***/ }),
6652
+
6653
+ /***/ "d058":
6654
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6655
+
6656
+ "use strict";
6657
+ /* 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");
6658
+ /* 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__);
6659
+ /* unused harmony reexport * */
6660
+
6661
+
6665
6662
  /***/ }),
6666
6663
 
6667
6664
  /***/ "d071":
@@ -7191,17 +7188,6 @@ module.exports = require("deepmerge");
7191
7188
  /* unused harmony reexport * */
7192
7189
 
7193
7190
 
7194
- /***/ }),
7195
-
7196
- /***/ "de6a":
7197
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
7198
-
7199
- "use strict";
7200
- /* 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");
7201
- /* 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__);
7202
- /* unused harmony reexport * */
7203
-
7204
-
7205
7191
  /***/ }),
7206
7192
 
7207
7193
  /***/ "de9c":
@@ -7295,6 +7281,13 @@ module.exports = require("deepmerge");
7295
7281
 
7296
7282
  /***/ }),
7297
7283
 
7284
+ /***/ "e902":
7285
+ /***/ (function(module, exports, __webpack_require__) {
7286
+
7287
+ // extracted by mini-css-extract-plugin
7288
+
7289
+ /***/ }),
7290
+
7298
7291
  /***/ "eab7":
7299
7292
  /***/ (function(module, exports, __webpack_require__) {
7300
7293
 
@@ -22494,8 +22487,8 @@ PostSelector_src_main.install = function (Vue) {
22494
22487
  Vue.component(PostSelector_src_main.name, PostSelector_src_main);
22495
22488
  };
22496
22489
  /* harmony default export */ var PostSelector = (PostSelector_src_main);
22497
- // 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&
22498
- 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:[
22490
+ // 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&
22491
+ 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:[
22499
22492
  'inputs',
22500
22493
  _vm.formInputsDisplay == 'block'
22501
22494
  ? 'ht-form-inputs__block'
@@ -22510,10 +22503,10 @@ var mainvue_type_template_id_a94f0b7c_scoped_true_render = function () {var _vm=
22510
22503
  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){
22511
22504
  var select = ref.select;
22512
22505
  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()}
22513
- var mainvue_type_template_id_a94f0b7c_scoped_true_staticRenderFns = []
22506
+ var mainvue_type_template_id_3052858e_scoped_true_staticRenderFns = []
22514
22507
 
22515
22508
 
22516
- // CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=template&id=a94f0b7c&scoped=true&
22509
+ // CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=template&id=3052858e&scoped=true&
22517
22510
 
22518
22511
  // 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&
22519
22512
  //
@@ -22772,6 +22765,8 @@ var mainvue_type_template_id_a94f0b7c_scoped_true_staticRenderFns = []
22772
22765
  if (this.config.hasOwnProperty('demName')) {
22773
22766
  utils["a" /* default */].setValueByConfigKey(this, this.config, 'demName', demNameAry.join(','));
22774
22767
  }
22768
+ } else {
22769
+ this.$emit('change', newVal);
22775
22770
  }
22776
22771
  // 通过valueChange事件发布值变更消息
22777
22772
  this.$emit('valueChange', ary.join(','), newVal);
@@ -22901,8 +22896,8 @@ var mainvue_type_template_id_a94f0b7c_scoped_true_staticRenderFns = []
22901
22896
  });
22902
22897
  // CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=script&lang=js&
22903
22898
  /* harmony default export */ var packages_DimensionSelector_src_mainvue_type_script_lang_js_ = (DimensionSelector_src_mainvue_type_script_lang_js_);
22904
- // EXTERNAL MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=style&index=0&id=a94f0b7c&prod&lang=scss&scoped=true&
22905
- var mainvue_type_style_index_0_id_a94f0b7c_prod_lang_scss_scoped_true_ = __webpack_require__("5bc8");
22899
+ // EXTERNAL MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=style&index=0&id=3052858e&prod&lang=scss&scoped=true&
22900
+ var mainvue_type_style_index_0_id_3052858e_prod_lang_scss_scoped_true_ = __webpack_require__("4d96");
22906
22901
 
22907
22902
  // CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue
22908
22903
 
@@ -22915,11 +22910,11 @@ var mainvue_type_style_index_0_id_a94f0b7c_prod_lang_scss_scoped_true_ = __webpa
22915
22910
 
22916
22911
  var DimensionSelector_src_main_component = normalizeComponent(
22917
22912
  packages_DimensionSelector_src_mainvue_type_script_lang_js_,
22918
- mainvue_type_template_id_a94f0b7c_scoped_true_render,
22919
- mainvue_type_template_id_a94f0b7c_scoped_true_staticRenderFns,
22913
+ mainvue_type_template_id_3052858e_scoped_true_render,
22914
+ mainvue_type_template_id_3052858e_scoped_true_staticRenderFns,
22920
22915
  false,
22921
22916
  null,
22922
- "a94f0b7c",
22917
+ "3052858e",
22923
22918
  null
22924
22919
 
22925
22920
  )
@@ -23547,8 +23542,8 @@ Dialog_src_main.install = function (Vue) {
23547
23542
  Vue.component(Dialog_src_main.name, Dialog_src_main);
23548
23543
  };
23549
23544
  /* harmony default export */ var Dialog = (Dialog_src_main);
23550
- // 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&
23551
- 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:({
23545
+ // 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&
23546
+ 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:({
23552
23547
  right: _vm.inputSuffixWidth - 1 + 'px',
23553
23548
  width: 'auto!important',
23554
23549
  height: _vm.inputSuffixHeight - 4 + 'px',
@@ -23557,11 +23552,11 @@ var mainvue_type_template_id_37fe7c68_scoped_true_render = function () {var _vm=
23557
23552
  : 'el-input__icon icon-duihuakuang',style:({
23558
23553
  fontSize: '17px',
23559
23554
  lineHeight: _vm.inputSuffixHeight + 'px',
23560
- })}),_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)}
23561
- var mainvue_type_template_id_37fe7c68_scoped_true_staticRenderFns = []
23555
+ })}),_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)}
23556
+ var mainvue_type_template_id_7a0ef38c_scoped_true_staticRenderFns = []
23562
23557
 
23563
23558
 
23564
- // CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=37fe7c68&scoped=true&
23559
+ // CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=7a0ef38c&scoped=true&
23565
23560
 
23566
23561
  // CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.js
23567
23562
 
@@ -23683,19 +23678,35 @@ var mainvue_type_template_id_37fe7c68_scoped_true_staticRenderFns = []
23683
23678
  }
23684
23679
  }
23685
23680
  });
23686
- // 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=e7412952&scoped=true&
23687
- var customDialogvue_type_template_id_e7412952_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":{
23688
- alias: condition.config.customQuery.alias,
23689
- valueBind: condition.config.customQuery.valueBind,
23690
- noInit: '',
23691
- labelBind: condition.config.customQuery.labelBind,
23692
- gangedBind: '{}',
23693
- bind: condition.config.bind,
23694
- },"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',{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)}
23695
- var customDialogvue_type_template_id_e7412952_scoped_true_staticRenderFns = []
23696
-
23697
-
23698
- // CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=e7412952&scoped=true&
23681
+ // 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&
23682
+ 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) {
23683
+ _vm.queryParams[index][condition.field] = _vm.getSelectId(data)
23684
+ }},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) {
23685
+ _vm.queryParams[index][condition.field] = _vm.getSelectId(data)
23686
+ }},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) {
23687
+ _vm.queryParams[index][condition.field] = _vm.getSelectId(data)
23688
+ }},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) {
23689
+ _vm.queryParams[index][condition.field] = _vm.getSelectId(data)
23690
+ }},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) {
23691
+ _vm.queryParams[index][condition.field] = _vm.getSelectId(data)
23692
+ }},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) {
23693
+ _vm.queryParams[index][condition.field] = _vm.getSelectId(data)
23694
+ }},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":{
23695
+ name: '请选择',
23696
+ icon: '',
23697
+ custDialog: {
23698
+ selectNum: 1,
23699
+ conditions: [],
23700
+ mappingConf: [],
23701
+ custQueryJson: [],
23702
+ alias: condition.config.alias,
23703
+ type: 'custDialog',
23704
+ },
23705
+ }},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)}
23706
+ var customDialogvue_type_template_id_f66484a2_scoped_true_staticRenderFns = []
23707
+
23708
+
23709
+ // CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=f66484a2&scoped=true&
23699
23710
 
23700
23711
  // EXTERNAL MODULE: external "jquery"
23701
23712
  var external_jquery_ = __webpack_require__("c5e1");
@@ -24004,6 +24015,116 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24004
24015
  //
24005
24016
  //
24006
24017
  //
24018
+ //
24019
+ //
24020
+ //
24021
+ //
24022
+ //
24023
+ //
24024
+ //
24025
+ //
24026
+ //
24027
+ //
24028
+ //
24029
+ //
24030
+ //
24031
+ //
24032
+ //
24033
+ //
24034
+ //
24035
+ //
24036
+ //
24037
+ //
24038
+ //
24039
+ //
24040
+ //
24041
+ //
24042
+ //
24043
+ //
24044
+ //
24045
+ //
24046
+ //
24047
+ //
24048
+ //
24049
+ //
24050
+ //
24051
+ //
24052
+ //
24053
+ //
24054
+ //
24055
+ //
24056
+ //
24057
+ //
24058
+ //
24059
+ //
24060
+ //
24061
+ //
24062
+ //
24063
+ //
24064
+ //
24065
+ //
24066
+ //
24067
+ //
24068
+ //
24069
+ //
24070
+ //
24071
+ //
24072
+ //
24073
+ //
24074
+ //
24075
+ //
24076
+ //
24077
+ //
24078
+ //
24079
+ //
24080
+ //
24081
+ //
24082
+ //
24083
+ //
24084
+ //
24085
+ //
24086
+ //
24087
+ //
24088
+ //
24089
+ //
24090
+ //
24091
+ //
24092
+ //
24093
+ //
24094
+ //
24095
+ //
24096
+ //
24097
+ //
24098
+ //
24099
+ //
24100
+ //
24101
+ //
24102
+ //
24103
+ //
24104
+ //
24105
+ //
24106
+ //
24107
+ //
24108
+ //
24109
+ //
24110
+ //
24111
+ //
24112
+ //
24113
+ //
24114
+ //
24115
+ //
24116
+ //
24117
+ //
24118
+ //
24119
+ //
24120
+ //
24121
+ //
24122
+ //
24123
+ //
24124
+ //
24125
+ //
24126
+ //
24127
+ //
24007
24128
 
24008
24129
 
24009
24130
 
@@ -24031,10 +24152,16 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24031
24152
  isReadOnly: {
24032
24153
  type: Boolean,
24033
24154
  default: false
24034
- }
24155
+ },
24156
+ dialogConfig: Object,
24157
+ dialogType: String
24035
24158
  },
24036
24159
  data() {
24037
24160
  return {
24161
+ startDate: '',
24162
+ // 日期控件
24163
+ endDate: '',
24164
+ // 日期控件
24038
24165
  tableHeight: 350,
24039
24166
  isEditInputShow: false,
24040
24167
  customValue: '',
@@ -24115,6 +24242,18 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24115
24242
  return [this.props1[0][this.nodeKey]];
24116
24243
  }
24117
24244
  return [];
24245
+ },
24246
+ jumpParamKey() {
24247
+ return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
24248
+ },
24249
+ // 是否保存成跳转url参数
24250
+ isHaveJumpUrl() {
24251
+ return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
24252
+ },
24253
+ sortDisplayfield() {
24254
+ return this.displayfield.sort((a, b) => {
24255
+ return a.sort > b.sort ? 1 : -1;
24256
+ });
24118
24257
  }
24119
24258
  },
24120
24259
  watch: {
@@ -24134,7 +24273,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24134
24273
  });
24135
24274
  }
24136
24275
  }
24137
- this.initTableHeight();
24138
24276
  },
24139
24277
  immediate: true,
24140
24278
  deep: true
@@ -24151,137 +24289,157 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24151
24289
  });
24152
24290
  },
24153
24291
  methods: {
24292
+ // 获取已选择的选择器数据id
24293
+ getSelectId(data) {
24294
+ if (!data || !data.length) {
24295
+ return '';
24296
+ }
24297
+ let ids = [];
24298
+ data.forEach(item => {
24299
+ ids.push(item.id);
24300
+ });
24301
+ return ids.join(',');
24302
+ },
24154
24303
  showDialog() {
24155
24304
  let isMounted = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
24156
- const this_ = this;
24157
24305
  this.fixedParams = {};
24306
+ // 如果已存在配置信息就不去请求配置信息 直接初始化数据
24307
+ if (this.dialogConfig) {
24308
+ this.initDialog(this.dialogConfig, isMounted);
24309
+ return;
24310
+ }
24158
24311
  var alias = this.custdialog.custDialog.alias;
24159
24312
  this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
24160
- if (!customDialog || !customDialog.alias) {
24161
- this.$message.error('对话框别名【' + alias + '】不存在!');
24162
- return;
24163
- }
24164
- if (customDialog.style == 1) {
24165
- var displaylist = JSON.parse(customDialog.displayfield);
24166
- this_.nodeKey = displaylist.id;
24167
- }
24168
- if (customDialog.needPage && customDialog.requestType === 'POST') {
24169
- let obj = {};
24170
- this.getLastKeyByPath(obj, customDialog.pageKey, 1);
24171
- this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
24172
- this.getLastKeyByPath(obj, customDialog.totalKey, true);
24173
- const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
24174
- if (exp) {
24175
- const params = JSON.parse(exp);
24176
- if (params.pageBean) {
24177
- this.pagination = {
24178
- ...params.pageBean
24179
- };
24180
- }
24313
+ this.initDialog(customDialog, isMounted);
24314
+ });
24315
+ },
24316
+ initDialog(customDialog, isMounted) {
24317
+ let alias = this.custdialog.custDialog.alias;
24318
+ const this_ = this;
24319
+ if (!customDialog || !customDialog.alias) {
24320
+ this.$message.error('对话框别名【' + alias + '】不存在!');
24321
+ return;
24322
+ }
24323
+ if (customDialog.style == 1) {
24324
+ var displaylist = JSON.parse(customDialog.displayfield);
24325
+ this_.nodeKey = displaylist.id;
24326
+ }
24327
+ if (customDialog.needPage && customDialog.requestType === 'POST') {
24328
+ let obj = {};
24329
+ this.getLastKeyByPath(obj, customDialog.pageKey, 1);
24330
+ this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
24331
+ this.getLastKeyByPath(obj, customDialog.totalKey, true);
24332
+ const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
24333
+ if (exp) {
24334
+ const params = JSON.parse(exp);
24335
+ if (params.pageBean) {
24336
+ this.pagination = {
24337
+ ...params.pageBean
24338
+ };
24181
24339
  }
24182
24340
  }
24183
- //对话框按表单字段查询(参数传入的)
24184
- let bindList = this_.custdialog.custDialog.conditions;
24185
- this_.param = []; //绑定的表单字段
24186
- if (bindList.length > 0) {
24187
- bindList.forEach(ele => {
24188
- //绑定表单字段
24189
- if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
24190
- let obj = {};
24191
- obj.field = ele.field;
24192
- obj.bind = ele.bind;
24193
- obj.bindType = ele.bindType;
24194
- this_.param.push(obj);
24195
- }
24196
- //取值对象为脚本时获取value
24197
- if (ele.bindType === 3) {
24198
- this_.$requestConfig.executeScript(ele.bind).then(res => {
24199
- this_.executeScriptResult = res && res.value;
24200
- });
24201
- }
24202
- });
24203
- }
24204
- //判断对话框查询是否有条件
24205
- let userInputList = JSON.parse(customDialog.conditionfield);
24206
- this_.quickSearch = ''; //填写提示 placeholder
24207
- this_.conditionBind = [];
24208
- let queryParams = [];
24209
- let placeholders = [];
24210
- if (userInputList.length > 0) {
24211
- userInputList.forEach(ele => {
24212
- var obj = {};
24213
- //条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
24214
- if (ele.defaultType == '1') {
24215
- obj[ele.field] = '';
24216
- queryParams.push(obj);
24217
- // queryParams[ele.field] = "";
24218
- this_.conditionBind.push(ele);
24219
- placeholders.push('请输入' + ele.comment);
24220
- }
24221
- if (ele.defaultType == '2' && ele.defaultValue) {
24222
- this_.fixedParams[ele.field] = ele.defaultValue;
24223
- }
24224
- });
24225
- this.$set(this, 'queryParams', queryParams);
24226
- this.$set(this, 'placeholders', placeholders);
24227
- }
24228
- //判断是否显示条件查询输入框
24229
- if (this_.quickSearch != '') {
24230
- this_.querysShow = true;
24231
- } else {
24232
- this_.querysShow = true;
24233
- }
24234
- this_.quickSearch = '请输入' + this.quickSearch + '查询';
24235
- this_.style = 'height:' + customDialog.height + 'px';
24236
- if (window.screen.height && window.screen.height <= 900) {
24237
- this.style = 'height:440px';
24238
- }
24239
- if (customDialog.style == 0 || customDialog.style == 2) {
24240
- //列表
24241
- setTimeout(() => {
24242
- this_.customDialogShow({
24243
- alias: alias,
24244
- customDialog: customDialog
24245
- }, isMounted);
24246
- }, 100);
24247
- } else if (customDialog.style == 1) {
24248
- //树形
24249
- this_.pageParam = {
24341
+ }
24342
+ //对话框按表单字段查询(参数传入的)
24343
+ let bindList = this_.custdialog.custDialog.conditions;
24344
+ this_.param = []; //绑定的表单字段
24345
+ if (bindList.length > 0) {
24346
+ bindList.forEach(ele => {
24347
+ //绑定表单字段
24348
+ if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
24349
+ let obj = {};
24350
+ obj.field = ele.field;
24351
+ obj.bind = ele.bind;
24352
+ obj.bindType = ele.bindType;
24353
+ this_.param.push(obj);
24354
+ }
24355
+ //取值对象为脚本时获取value
24356
+ if (ele.bindType === 3) {
24357
+ this_.$requestConfig.executeScript(ele.bind).then(res => {
24358
+ this_.executeScriptResult = res && res.value;
24359
+ });
24360
+ }
24361
+ });
24362
+ }
24363
+ //判断对话框查询是否有条件
24364
+ let userInputList = JSON.parse(customDialog.conditionfield);
24365
+ this_.quickSearch = ''; //填写提示 placeholder
24366
+ this_.conditionBind = [];
24367
+ let queryParams = [];
24368
+ let placeholders = [];
24369
+ if (userInputList.length > 0) {
24370
+ userInputList.forEach(ele => {
24371
+ var obj = {};
24372
+ //条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
24373
+ if (ele.defaultType == '1') {
24374
+ obj[ele.field] = '';
24375
+ queryParams.push(obj);
24376
+ // queryParams[ele.field] = "";
24377
+ this_.conditionBind.push(ele);
24378
+ placeholders.push('请输入' + ele.comment);
24379
+ }
24380
+ if (ele.defaultType == '2' && ele.defaultValue) {
24381
+ this_.fixedParams[ele.field] = ele.defaultValue;
24382
+ }
24383
+ });
24384
+ this.$set(this, 'queryParams', queryParams);
24385
+ this.$set(this, 'placeholders', placeholders);
24386
+ }
24387
+ //判断是否显示条件查询输入框
24388
+ if (this_.quickSearch != '') {
24389
+ this_.querysShow = true;
24390
+ } else {
24391
+ this_.querysShow = true;
24392
+ }
24393
+ this_.quickSearch = '请输入' + this.quickSearch + '查询';
24394
+ this_.style = 'height:' + customDialog.height + 'px';
24395
+ if (window.screen.height && window.screen.height <= 900) {
24396
+ this.style = 'height:440px';
24397
+ }
24398
+ if (customDialog.style == 0 || customDialog.style == 2) {
24399
+ //列表
24400
+ setTimeout(() => {
24401
+ this_.customDialogShow({
24250
24402
  alias: alias,
24251
24403
  customDialog: customDialog
24252
- };
24253
- this_.customDialog = customDialog;
24254
- let param = {};
24255
- this_.conditionfieldTree = [];
24256
- //判断是否存在条件
24257
- if (customDialog.conditionfield) {
24258
- this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
24259
- if (this_.conditionfieldTree.length > 0) {
24260
- for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
24261
- //判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值
24262
- if (this_.conditionfieldTree[i].defaultType == '4') {
24263
- param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
24264
- }
24404
+ }, isMounted);
24405
+ }, 100);
24406
+ } else if (customDialog.style == 1) {
24407
+ //树形
24408
+ this_.pageParam = {
24409
+ alias: alias,
24410
+ customDialog: customDialog
24411
+ };
24412
+ this_.customDialog = customDialog;
24413
+ let param = {};
24414
+ this_.conditionfieldTree = [];
24415
+ //判断是否存在条件
24416
+ if (customDialog.conditionfield) {
24417
+ this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
24418
+ if (this_.conditionfieldTree.length > 0) {
24419
+ for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
24420
+ //判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
24421
+ if (this_.conditionfieldTree[i].defaultType == '4') {
24422
+ param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
24265
24423
  }
24266
24424
  }
24267
24425
  }
24268
- //有动态传入的字段
24269
- if (!isMounted) {
24270
- if (JSON.stringify(param) != '{}') {
24271
- this_.dialogVisible = true;
24272
- } else {
24273
- //无动态传入的字段
24274
- this_.customDialogTreeShow(this_.pageParam);
24275
- }
24426
+ }
24427
+ //有动态传入的字段
24428
+ if (!isMounted) {
24429
+ if (JSON.stringify(param) != '{}') {
24430
+ this_.dialogVisible = true;
24431
+ } else {
24432
+ //无动态传入的字段
24433
+ this_.customDialogTreeShow(this_.pageParam);
24276
24434
  }
24277
24435
  }
24278
- });
24436
+ }
24279
24437
  },
24280
24438
  initTableHeight() {
24281
24439
  this.$nextTick(() => {
24282
- let mainEl = document.getElementsByClassName('custom-dialog_main');
24283
- if (mainEl && mainEl.length) {
24284
- this.tableHeight = mainEl[0].clientHeight - 40;
24440
+ let mainEl = this.$refs.customTableRef;
24441
+ if (mainEl) {
24442
+ this.tableHeight = mainEl.$el.clientHeight - 2 > 350 ? mainEl.$el.clientHeight - 2 : 350;
24285
24443
  }
24286
24444
  });
24287
24445
  },
@@ -24404,13 +24562,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24404
24562
  }
24405
24563
  // 添加用户id 岗位id 组织id
24406
24564
  try {
24407
- if (this.$requestConfig.getUserId()) {
24565
+ if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
24408
24566
  ctx.userId = this.$requestConfig.getUserId();
24409
24567
  }
24410
- if (this.$requestConfig.getOrgId()) {
24568
+ if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
24411
24569
  ctx.orgId = this.$requestConfig.getOrgId();
24412
24570
  }
24413
- if (this.$requestConfig.getPostId()) {
24571
+ if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
24414
24572
  ctx.postId = this.$requestConfig.getPostId();
24415
24573
  }
24416
24574
  } catch (e) {
@@ -24495,8 +24653,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24495
24653
  this.selectOrgs = this.convertComment2Field(str, field);
24496
24654
  this.custdialog.custDialog.mappingConf.forEach(con => {
24497
24655
  var val = '';
24498
- str.forEach(item => {
24499
- val += item[con.from] + ',';
24656
+ str.forEach((item, index) => {
24657
+ // 此处添加url跳转参数保存逻辑
24658
+ if (this.jumpParamKey && this.isHaveJumpUrl && this.modelName == 'data.' + con['target'][0]) {
24659
+ val += `${item[con.from]}¯${this.jumpParamKey}:${this.selectOrgs[index][this.jumpParamKey]},`;
24660
+ } else {
24661
+ val += item[con.from] + ',';
24662
+ }
24500
24663
  });
24501
24664
  if (this.modelName == 'data.' + con['target'][0]) {
24502
24665
  utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
@@ -24567,19 +24730,36 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24567
24730
  };
24568
24731
  }
24569
24732
  //用户输入的
24733
+ let flag = false;
24570
24734
  if (this.queryParams.length != 0 && this.queryParams[0] != '') {
24571
24735
  this.conditionBind.forEach((item, index) => {
24736
+ // 日期范围特殊处理
24737
+ if (item.dbType == 'date' && item.condition == 'BETWEEN') {
24738
+ if (this.queryParams[index].startDate && !this.queryParams[index].endDate || !this.queryParams[index].startDate && this.queryParams[index].endDate) {
24739
+ flag = true;
24740
+ this.$message.info('日期范围未填写完整!');
24741
+ return;
24742
+ }
24743
+ if (this.queryParams[index].startDate && this.queryParams[index].endDate) {
24744
+ this.queryParams[index][item.field] = `${this.queryParams[index].startDate},${this.queryParams[index].endDate}`;
24745
+ } else {
24746
+ this.queryParams[index][item.field] = '';
24747
+ }
24748
+ }
24572
24749
  if (this.queryParams[index][item.field]) {
24573
24750
  querys.push({
24574
24751
  property: item.field,
24575
24752
  value: this.queryParams[index][item.field],
24576
24753
  group: 'main',
24577
- operation: 'LIKE',
24754
+ operation: item.condition,
24578
24755
  relation: 'AND'
24579
24756
  });
24580
24757
  }
24581
24758
  });
24582
24759
  }
24760
+ if (flag) {
24761
+ return;
24762
+ }
24583
24763
  //参数传入的查询拼接
24584
24764
  if (this.param) {
24585
24765
  this.param.forEach(item => {
@@ -24618,13 +24798,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24618
24798
  queryParamMap.total = pageBean.pageBean.total;
24619
24799
  // 添加用户id 岗位id 组织id
24620
24800
  try {
24621
- if (this.$requestConfig.getUserId()) {
24801
+ if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
24622
24802
  ctx.userId = this.$requestConfig.getUserId();
24623
24803
  }
24624
- if (this.$requestConfig.getOrgId()) {
24804
+ if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
24625
24805
  ctx.orgId = this.$requestConfig.getOrgId();
24626
24806
  }
24627
- if (this.$requestConfig.getPostId()) {
24807
+ if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
24628
24808
  ctx.postId = this.$requestConfig.getPostId();
24629
24809
  }
24630
24810
  } catch (e) {
@@ -24645,12 +24825,14 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24645
24825
  value: queryParamMap[bindKey] || ctx[bindKey] || ''
24646
24826
  };
24647
24827
  });
24648
- param.querys = queryList;
24828
+ param.querys = queryList || [];
24649
24829
  if (this.customDialog.needPage) {
24650
24830
  param.pageBean = obj;
24651
24831
  } else {
24652
24832
  param.pageBean.pageSize = -1;
24653
24833
  }
24834
+ // 日期格式的 改成数组
24835
+ // this.changeDateFormat(param)
24654
24836
  //构造请求的参数
24655
24837
  let requestParam = {
24656
24838
  pageBean: param,
@@ -24663,6 +24845,7 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24663
24845
  totalKey: this.customDialog.totalKey
24664
24846
  };
24665
24847
  this.getDialoglistJson(requestParam).then(() => {
24848
+ this.initTableHeight();
24666
24849
  this.checkList();
24667
24850
  });
24668
24851
  } catch (e) {
@@ -24676,17 +24859,28 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24676
24859
  });
24677
24860
  this.customDialog.pageBean = queryFilter;
24678
24861
  this.getDialoglistJson(this.customDialog).then(() => {
24862
+ this.initTableHeight();
24679
24863
  this.checkList();
24680
24864
  });
24681
24865
  } else {
24682
24866
  this.customDialog.pageBean = pageBean;
24683
24867
  this.getDialoglistJson(this.customDialog).then(() => {
24868
+ this.initTableHeight();
24684
24869
  this.checkList();
24685
24870
  });
24686
24871
  }
24687
24872
  }
24688
24873
  this.tableRadioVal = '';
24689
24874
  },
24875
+ changeDateFormat(param) {
24876
+ let dateValidate1 = /^\d{4}\-\d{2}\-\d{2}$/;
24877
+ 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$/;
24878
+ Object.keys(param).forEach(key => {
24879
+ if (param[key] && typeof param[key] == 'string' && param[key].includes(',') && (dateValidate1.test(param[key].split(',')[0]) || dateValidate2.test(param[key].split(',')[0]))) {
24880
+ param[key] = param[key].split(',');
24881
+ }
24882
+ });
24883
+ },
24690
24884
  getSearchValueByKey() {
24691
24885
  let queryParamsObj = {};
24692
24886
  if (this.queryParams.length > 0) {
@@ -24912,6 +25106,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24912
25106
  },
24913
25107
  // 同步选择结果
24914
25108
  syncInputValue() {
25109
+ // 对话框跳转url需要两个参数 1当前控件绑定的对象参数modelName 2对话框配置中配置的key名称
25110
+ // 同步值时,如果有绑定url跳转参数,值格式为 名称¯跳转key:跳转value
24915
25111
  let thisIndex = null; //当前数据所在下标
24916
25112
  let parentIndex = null; //父节点所在下标
24917
25113
  if (this.$parent.$el) {
@@ -24985,13 +25181,27 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24985
25181
  }
24986
25182
  }
24987
25183
  }
25184
+ // 如果是查询中使用的对话框
25185
+ if (this.dialogType == 'search') {
25186
+ let returnVal = [];
25187
+ str.forEach(item => {
25188
+ returnVal.push(decodeURIComponent(item[this.modelName]));
25189
+ });
25190
+ this.$emit('updateInput', returnVal.join(','));
25191
+ return;
25192
+ }
24988
25193
  const pInst = utils["a" /* default */].getOnlineFormInstance(this);
24989
25194
  this.custdialog.custDialog.mappingConf.forEach(con => {
24990
25195
  var val = '';
24991
25196
  var from = con.from.toLowerCase();
24992
25197
  str.forEach(item => {
25198
+ // 如果有绑定url跳转参数 需获取跳转参数的key
24993
25199
  if (item) {
24994
- val += decodeURIComponent(item[from]) + ',';
25200
+ if (this.jumpParamKey && this.isHaveJumpUrl && this.modelName == 'data.' + con['target'][0]) {
25201
+ val += `${decodeURIComponent(item[from])}¯${this.jumpParamKey}:${item[this.jumpParamKey]},`;
25202
+ } else {
25203
+ val += decodeURIComponent(item[from]) + ',';
25204
+ }
24995
25205
  }
24996
25206
  });
24997
25207
  if (this.modelName == 'data.' + con['target'][0]) {
@@ -25010,7 +25220,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
25010
25220
  const _val = val.substring(0, val.length - 1);
25011
25221
  if (path) {
25012
25222
  if (this.modelName && this.modelName.endsWith(path)) {
25013
- // this.$emit('input', _val)
25014
25223
  this.$emit('updateInput', _val);
25015
25224
  }
25016
25225
  utils["a" /* default */].setValueByPath(pInst, `${pInst.data ? 'data.' : 'model.'}${path}`, _val, thisIndex);
@@ -25242,8 +25451,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
25242
25451
  });
25243
25452
  // CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=script&lang=js&
25244
25453
  /* harmony default export */ var src_customDialogvue_type_script_lang_js_ = (customDialogvue_type_script_lang_js_);
25245
- // EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=e7412952&prod&lang=scss&scoped=true&
25246
- var customDialogvue_type_style_index_0_id_e7412952_prod_lang_scss_scoped_true_ = __webpack_require__("8050");
25454
+ // EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=f66484a2&prod&lang=scss&scoped=true&
25455
+ var customDialogvue_type_style_index_0_id_f66484a2_prod_lang_scss_scoped_true_ = __webpack_require__("3de0");
25247
25456
 
25248
25457
  // CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue
25249
25458
 
@@ -25256,31 +25465,47 @@ var customDialogvue_type_style_index_0_id_e7412952_prod_lang_scss_scoped_true_ =
25256
25465
 
25257
25466
  var customDialog_component = normalizeComponent(
25258
25467
  src_customDialogvue_type_script_lang_js_,
25259
- customDialogvue_type_template_id_e7412952_scoped_true_render,
25260
- customDialogvue_type_template_id_e7412952_scoped_true_staticRenderFns,
25468
+ customDialogvue_type_template_id_f66484a2_scoped_true_render,
25469
+ customDialogvue_type_template_id_f66484a2_scoped_true_staticRenderFns,
25261
25470
  false,
25262
25471
  null,
25263
- "e7412952",
25472
+ "f66484a2",
25264
25473
  null
25265
25474
 
25266
25475
  )
25267
25476
 
25268
25477
  /* harmony default export */ var CustomDialog_src_customDialog = (customDialog_component.exports);
25269
- // 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&
25270
- 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":{
25271
- alias: condition.config.customQuery.alias,
25272
- valueBind: condition.config.customQuery.valueBind,
25273
- noInit: '',
25274
- labelBind: condition.config.customQuery.labelBind,
25275
- gangedBind: '{}',
25276
- bind: condition.config.bind,
25277
- },"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(
25478
+ // 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&
25479
+ 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) {
25480
+ _vm.queryParams[index][condition.field] = _vm.getSelectId(data)
25481
+ }},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) {
25482
+ _vm.queryParams[index][condition.field] = _vm.getSelectId(data)
25483
+ }},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) {
25484
+ _vm.queryParams[index][condition.field] = _vm.getSelectId(data)
25485
+ }},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) {
25486
+ _vm.queryParams[index][condition.field] = _vm.getSelectId(data)
25487
+ }},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) {
25488
+ _vm.queryParams[index][condition.field] = _vm.getSelectId(data)
25489
+ }},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) {
25490
+ _vm.queryParams[index][condition.field] = _vm.getSelectId(data)
25491
+ }},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":{
25492
+ name: '请选择',
25493
+ icon: '',
25494
+ custDialog: {
25495
+ selectNum: 1,
25496
+ conditions: [],
25497
+ mappingConf: [],
25498
+ custQueryJson: [],
25499
+ alias: condition.config.alias,
25500
+ type: 'custDialog',
25501
+ },
25502
+ }},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(
25278
25503
  function (k) { return k.defaultType == '4'; }
25279
- )),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)}
25280
- var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns = []
25504
+ )),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)}
25505
+ var customMobileDialogvue_type_template_id_691dcad9_scoped_true_staticRenderFns = []
25281
25506
 
25282
25507
 
25283
- // CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=1661eebb&scoped=true&
25508
+ // CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=691dcad9&scoped=true&
25284
25509
 
25285
25510
  // 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&
25286
25511
  //
@@ -25541,6 +25766,122 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
25541
25766
  //
25542
25767
  //
25543
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
+ //
25876
+ //
25877
+ //
25878
+ //
25879
+ //
25880
+ //
25881
+ //
25882
+ //
25883
+ //
25884
+ //
25544
25885
 
25545
25886
 
25546
25887
 
@@ -25562,10 +25903,17 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
25562
25903
  subIndex: Number,
25563
25904
  sunIndex: Number,
25564
25905
  subPath: String,
25565
- currentSubData: Array
25906
+ currentSubData: Array,
25907
+ dialogConfig: Object,
25908
+ dialogType: String
25566
25909
  },
25567
25910
  data() {
25568
25911
  return {
25912
+ dateType: 'date',
25913
+ currentDate: '',
25914
+ // 当前日期
25915
+ isShowDatePop: false,
25916
+ // 是否显示日期选择控件
25569
25917
  isShowMoreSearch: false,
25570
25918
  treeSelectText: '',
25571
25919
  // 组合树时选中的查询条件
@@ -25645,9 +25993,47 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
25645
25993
  sureButtonText() {
25646
25994
  const selectedText = this.selectIds.length > 0 ? `(${this.selectIds.length})` : '';
25647
25995
  return `${this.$t('ht.common.confirm')}${selectedText}`;
25996
+ },
25997
+ jumpParamKey() {
25998
+ return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
25999
+ },
26000
+ // 是否保存成跳转url参数
26001
+ isHaveJumpUrl() {
26002
+ return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
26003
+ },
26004
+ sortDisplayfield() {
26005
+ return this.displayfield.sort((a, b) => {
26006
+ return a.sort > b.sort ? 1 : -1;
26007
+ });
25648
26008
  }
25649
26009
  },
25650
26010
  methods: {
26011
+ // 获取已选择的选择器数据id
26012
+ getSelectId(data) {
26013
+ if (!data || !data.length) {
26014
+ return '';
26015
+ }
26016
+ let ids = [];
26017
+ data.forEach(item => {
26018
+ ids.push(item.id);
26019
+ });
26020
+ return ids.join(',');
26021
+ },
26022
+ showDate(index, key) {
26023
+ this.dateType = this.conditionBind[index].config.inputFormat.includes('mm:') ? 'datetime' : 'date';
26024
+ this.currentDateData = {
26025
+ index,
26026
+ key
26027
+ };
26028
+ this.currentDate = this.queryParams[index][key] ? new Date(this.queryParams[index][key].replace(/-/g, '/')) : new Date();
26029
+ this.isShowDatePop = true;
26030
+ },
26031
+ // 日期确认
26032
+ confirmFn() {
26033
+ let currentConfig = this.conditionBind[this.currentDateData.index];
26034
+ this.queryParams[this.currentDateData.index][this.currentDateData.key] = this.currentDate.format(currentConfig.config.inputFormat);
26035
+ this.isShowDatePop = false;
26036
+ },
25651
26037
  searchInputChange() {
25652
26038
  if (!this.isShowMoreSearch) {
25653
26039
  this.search(true);
@@ -25693,112 +26079,121 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
25693
26079
  this.search(true);
25694
26080
  },
25695
26081
  showDialog() {
25696
- const this_ = this;
25697
26082
  this.fixedParams = {};
26083
+ // 如果已存在配置信息就不去请求配置信息 直接初始化数据
26084
+ if (this.dialogConfig) {
26085
+ this.initDialog(this.dialogConfig);
26086
+ return;
26087
+ }
25698
26088
  var alias = this.custdialog.custDialog.alias;
25699
26089
  this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
25700
- if (!customDialog || !customDialog.alias) {
25701
- this.$message.error('对话框别名【' + alias + '】不存在!');
25702
- return;
25703
- }
25704
- if (customDialog.style == 1) {
25705
- var displaylist = JSON.parse(customDialog.displayfield);
25706
- this_.nodeKey = displaylist.id;
25707
- }
25708
- if (customDialog.needPage && customDialog.requestType === 'POST') {
25709
- let obj = {};
25710
- this.getLastKeyByPath(obj, customDialog.pageKey, 1);
25711
- this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
25712
- this.getLastKeyByPath(obj, customDialog.totalKey, true);
25713
- const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
25714
- if (exp) {
25715
- const params = JSON.parse(exp);
25716
- if (params.pageBean) {
25717
- this.pagination = {
25718
- ...params.pageBean
25719
- };
25720
- }
26090
+ this.initDialog(customDialog);
26091
+ });
26092
+ },
26093
+ initDialog(customDialog) {
26094
+ let alias = this.custdialog.custDialog.alias;
26095
+ const this_ = this;
26096
+ if (!customDialog || !customDialog.alias) {
26097
+ this.$message.error('对话框别名【' + alias + '】不存在!');
26098
+ return;
26099
+ }
26100
+ if (customDialog.style == 1) {
26101
+ var displaylist = JSON.parse(customDialog.displayfield);
26102
+ this_.nodeKey = displaylist.id;
26103
+ }
26104
+ if (customDialog.needPage && customDialog.requestType === 'POST') {
26105
+ let obj = {};
26106
+ this.getLastKeyByPath(obj, customDialog.pageKey, 1);
26107
+ this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
26108
+ this.getLastKeyByPath(obj, customDialog.totalKey, true);
26109
+ const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
26110
+ if (exp) {
26111
+ const params = JSON.parse(exp);
26112
+ if (params.pageBean) {
26113
+ this.pagination = {
26114
+ ...params.pageBean
26115
+ };
25721
26116
  }
25722
26117
  }
25723
- //对话框按表单字段查询(参数传入的)
25724
- let bindList = this_.custdialog.custDialog.conditions;
25725
- this_.param = []; //绑定的表单字段
25726
- if (bindList.length > 0) {
25727
- bindList.forEach(ele => {
25728
- //绑定表单字段
25729
- if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
25730
- let obj = {};
25731
- obj.field = ele.field;
25732
- obj.bind = ele.bind;
25733
- obj.bindType = ele.bindType;
25734
- this_.param.push(obj);
25735
- }
25736
- // bindType 1 表单字段 2固定 3脚本
25737
- if (ele.defaultType == '3' && ele.bindType === 2) {
25738
- this_.fixedParams[ele.field] = ele.bind || '';
25739
- }
25740
- });
25741
- }
26118
+ }
26119
+ //对话框按表单字段查询(参数传入的)
26120
+ let bindList = this_.custdialog.custDialog.conditions;
26121
+ this_.param = []; //绑定的表单字段
26122
+ if (bindList.length > 0) {
26123
+ bindList.forEach(ele => {
26124
+ //绑定表单字段
26125
+ if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
26126
+ let obj = {};
26127
+ obj.field = ele.field;
26128
+ obj.bind = ele.bind;
26129
+ obj.bindType = ele.bindType;
26130
+ this_.param.push(obj);
26131
+ }
26132
+ // bindType 1 表单字段 2固定 3脚本
26133
+ if (ele.defaultType == '3' && ele.bindType === 2) {
26134
+ this_.fixedParams[ele.field] = ele.bind || '';
26135
+ }
26136
+ });
26137
+ }
25742
26138
 
25743
- //判断对话框查询是否有条件
25744
- let userInputList = JSON.parse(customDialog.conditionfield);
25745
- this_.conditionBind = [];
25746
- let queryParams = [];
25747
- let placeholders = [];
25748
- if (userInputList.length > 0) {
25749
- userInputList.forEach(ele => {
25750
- var obj = {};
25751
- //条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
25752
- if (ele.defaultType == '1') {
25753
- obj[ele.field] = '';
25754
- queryParams.push(obj);
25755
- // queryParams[ele.field] = "";
25756
- this_.conditionBind.push(ele);
25757
- placeholders.push('请输入' + ele.comment);
25758
- }
25759
- if (ele.defaultType == '2' && ele.defaultValue) {
25760
- this_.fixedParams[ele.field] = ele.defaultValue;
25761
- }
25762
- });
25763
- this.$set(this, 'queryParams', queryParams);
25764
- this.$set(this, 'placeholders', placeholders);
25765
- }
25766
- if (customDialog.style == 0 || customDialog.style == 2) {
25767
- //列表
25768
- this_.customDialogShow({
25769
- alias: alias,
25770
- customDialog: customDialog
25771
- });
25772
- } else if (customDialog.style == 1) {
25773
- //树形
25774
- this_.pageParam = {
25775
- alias: alias,
25776
- customDialog: customDialog
25777
- };
25778
- this_.customDialog = customDialog;
25779
- let param = {};
25780
- this_.conditionfieldTree = [];
25781
- //判断是否存在条件
25782
- if (customDialog.conditionfield) {
25783
- this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
25784
- if (this_.conditionfieldTree.length > 0) {
25785
- for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
25786
- //判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
25787
- if (this_.conditionfieldTree[i].defaultType == '4') {
25788
- param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
25789
- }
26139
+ //判断对话框查询是否有条件
26140
+ let userInputList = JSON.parse(customDialog.conditionfield);
26141
+ this_.conditionBind = [];
26142
+ let queryParams = [];
26143
+ let placeholders = [];
26144
+ if (userInputList.length > 0) {
26145
+ userInputList.forEach(ele => {
26146
+ var obj = {};
26147
+ //条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
26148
+ if (ele.defaultType == '1') {
26149
+ obj[ele.field] = '';
26150
+ queryParams.push(obj);
26151
+ // queryParams[ele.field] = "";
26152
+ this_.conditionBind.push(ele);
26153
+ placeholders.push('请输入' + ele.comment);
26154
+ }
26155
+ if (ele.defaultType == '2' && ele.defaultValue) {
26156
+ this_.fixedParams[ele.field] = ele.defaultValue;
26157
+ }
26158
+ });
26159
+ this.$set(this, 'queryParams', queryParams);
26160
+ this.$set(this, 'placeholders', placeholders);
26161
+ }
26162
+ if (customDialog.style == 0 || customDialog.style == 2) {
26163
+ //列表
26164
+ this_.customDialogShow({
26165
+ alias: alias,
26166
+ customDialog: customDialog
26167
+ });
26168
+ } else if (customDialog.style == 1) {
26169
+ //树形
26170
+ this_.pageParam = {
26171
+ alias: alias,
26172
+ customDialog: customDialog
26173
+ };
26174
+ this_.customDialog = customDialog;
26175
+ let param = {};
26176
+ this_.conditionfieldTree = [];
26177
+ //判断是否存在条件
26178
+ if (customDialog.conditionfield) {
26179
+ this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
26180
+ if (this_.conditionfieldTree.length > 0) {
26181
+ for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
26182
+ //判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
26183
+ if (this_.conditionfieldTree[i].defaultType == '4') {
26184
+ param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
25790
26185
  }
25791
26186
  }
25792
26187
  }
25793
- //有动态传入的字段
25794
- if (JSON.stringify(param) != '{}') {
25795
- this_.dialogVisible = true;
25796
- } else {
25797
- //无动态传入的字段
25798
- this_.customDialogTreeShow(this_.pageParam);
25799
- }
25800
26188
  }
25801
- });
26189
+ //有动态传入的字段
26190
+ if (JSON.stringify(param) != '{}') {
26191
+ this_.dialogVisible = true;
26192
+ } else {
26193
+ //无动态传入的字段
26194
+ this_.customDialogTreeShow(this_.pageParam);
26195
+ }
26196
+ }
25802
26197
  },
25803
26198
  treeClick(data) {
25804
26199
  // 单选
@@ -25916,13 +26311,13 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
25916
26311
  }
25917
26312
  // 添加用户id 岗位id 组织id
25918
26313
  try {
25919
- if (this.$requestConfig.getUserId()) {
26314
+ if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
25920
26315
  ctx.userId = this.$requestConfig.getUserId();
25921
26316
  }
25922
- if (this.$requestConfig.getOrgId()) {
26317
+ if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
25923
26318
  ctx.orgId = this.$requestConfig.getOrgId();
25924
26319
  }
25925
- if (this.$requestConfig.getPostId()) {
26320
+ if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
25926
26321
  ctx.postId = this.$requestConfig.getPostId();
25927
26322
  }
25928
26323
  } catch (e) {
@@ -26007,8 +26402,13 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
26007
26402
  this.selectOrgs = this.convertComment2Field(str, field);
26008
26403
  this.custdialog.custDialog.mappingConf.forEach(con => {
26009
26404
  var val = '';
26010
- str.forEach(item => {
26011
- val += item[con.from] + ',';
26405
+ str.forEach((item, index) => {
26406
+ // 此处添加url跳转参数保存逻辑
26407
+ if (this.jumpParamKey && this.isHaveJumpUrl && this.modelName == 'data.' + con['target'][0]) {
26408
+ val += `${item[con.from]}¯${this.jumpParamKey}:${this.selectOrgs[index][this.jumpParamKey]},`;
26409
+ } else {
26410
+ val += item[con.from] + ',';
26411
+ }
26012
26412
  });
26013
26413
  if (this.modelName == 'data.' + con['target'][0]) {
26014
26414
  utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
@@ -26081,6 +26481,19 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
26081
26481
  //用户输入的
26082
26482
  if (this.queryParams.length != 0 && this.queryParams[0] != '') {
26083
26483
  this.conditionBind.forEach((item, index) => {
26484
+ // 日期范围特殊处理
26485
+ if (item.dbType == 'date' && item.condition == 'BETWEEN') {
26486
+ if (this.queryParams[index].startDate && !this.queryParams[index].endDate || !this.queryParams[index].startDate && this.queryParams[index].endDate) {
26487
+ flag = true;
26488
+ this.$message.info('日期范围未填写完整!');
26489
+ return;
26490
+ }
26491
+ if (this.queryParams[index].startDate && this.queryParams[index].endDate) {
26492
+ this.queryParams[index][item.field] = `${this.queryParams[index].startDate},${this.queryParams[index].endDate}`;
26493
+ } else {
26494
+ this.queryParams[index][item.field] = '';
26495
+ }
26496
+ }
26084
26497
  if (this.queryParams[index][item.field]) {
26085
26498
  querys.push({
26086
26499
  property: item.field,
@@ -26129,13 +26542,13 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
26129
26542
  ctx.total = pageBean.pageBean.total;
26130
26543
  // 添加用户id 岗位id 组织id
26131
26544
  try {
26132
- if (this.$requestConfig.getUserId()) {
26545
+ if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
26133
26546
  ctx.userId = this.$requestConfig.getUserId();
26134
26547
  }
26135
- if (this.$requestConfig.getOrgId()) {
26548
+ if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
26136
26549
  ctx.orgId = this.$requestConfig.getOrgId();
26137
26550
  }
26138
- if (this.$requestConfig.getPostId()) {
26551
+ if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
26139
26552
  ctx.postId = this.$requestConfig.getPostId();
26140
26553
  }
26141
26554
  } catch (e) {
@@ -26163,6 +26576,8 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
26163
26576
  } else {
26164
26577
  param.pageBean.pageSize = -1;
26165
26578
  }
26579
+ // 日期格式的 改成数组
26580
+ // this.changeDateFormat(param)
26166
26581
  //构造请求的参数
26167
26582
  let requestParam = {
26168
26583
  pageBean: param,
@@ -26198,6 +26613,15 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
26198
26613
  }
26199
26614
  }
26200
26615
  },
26616
+ changeDateFormat(param) {
26617
+ let dateValidate1 = /^\d{4}\-\d{2}\-\d{2}$/;
26618
+ 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$/;
26619
+ Object.keys(param).forEach(key => {
26620
+ if (param[key] && typeof param[key] == 'string' && param[key].includes(',') && (dateValidate1.test(param[key].split(',')[0]) || dateValidate2.test(param[key].split(',')[0]))) {
26621
+ param[key] = param[key].split(',');
26622
+ }
26623
+ });
26624
+ },
26201
26625
  getSearchValueByKey() {
26202
26626
  let queryParamsObj = {};
26203
26627
  if (this.queryParams.length > 0) {
@@ -26396,13 +26820,26 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
26396
26820
  }
26397
26821
  }
26398
26822
  }
26823
+ // 如果是查询中使用的对话框
26824
+ if (this.dialogType == 'search') {
26825
+ let returnVal = [];
26826
+ str.forEach(item => {
26827
+ returnVal.push(decodeURIComponent(item[this.modelName]));
26828
+ });
26829
+ this.$emit('updateInput', returnVal.join(','));
26830
+ return;
26831
+ }
26399
26832
  const pInst = utils["a" /* default */].getOnlineFormInstance(this);
26400
26833
  this.custdialog.custDialog.mappingConf.forEach(con => {
26401
26834
  var val = '';
26402
26835
  var from = con.from.toLowerCase();
26403
26836
  str.forEach(item => {
26404
26837
  if (item) {
26405
- val += decodeURIComponent(item[from]) + ',';
26838
+ if (this.jumpParamKey && this.isHaveJumpUrl && this.modelName == 'data.' + con['target'][0]) {
26839
+ val += `${decodeURIComponent(item[from])}¯${this.jumpParamKey}:${item[this.jumpParamKey]},`;
26840
+ } else {
26841
+ val += decodeURIComponent(item[from]) + ',';
26842
+ }
26406
26843
  }
26407
26844
  });
26408
26845
  if (this.modelName == 'data.' + con['target'][0]) {
@@ -26439,20 +26876,6 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
26439
26876
  }
26440
26877
  }
26441
26878
  },
26442
- // getSelected() {
26443
- // let arr = []
26444
- // this.selectIds.forEach((item) => {
26445
- // debugger
26446
- // let obj = this.dialogData.find((sub) => {
26447
- // return sub.id_ === item
26448
- // })
26449
- // if (obj) {
26450
- // arr.push(obj)
26451
- // }
26452
- // })
26453
-
26454
- // return arr
26455
- // },
26456
26879
  calacInputSuffixHeight() {
26457
26880
  this.$emit('calacInputSuffixHeight');
26458
26881
  },
@@ -26654,11 +27077,11 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
26654
27077
  });
26655
27078
  // CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=script&lang=js&
26656
27079
  /* harmony default export */ var src_customMobileDialogvue_type_script_lang_js_ = (customMobileDialogvue_type_script_lang_js_);
26657
- // EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=1661eebb&prod&lang=scss&scoped=true&
26658
- var customMobileDialogvue_type_style_index_0_id_1661eebb_prod_lang_scss_scoped_true_ = __webpack_require__("de6a");
27080
+ // EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=691dcad9&prod&lang=scss&scoped=true&
27081
+ var customMobileDialogvue_type_style_index_0_id_691dcad9_prod_lang_scss_scoped_true_ = __webpack_require__("212d");
26659
27082
 
26660
- // EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=1661eebb&prod&lang=scss&
26661
- var customMobileDialogvue_type_style_index_1_id_1661eebb_prod_lang_scss_ = __webpack_require__("49f9");
27083
+ // EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=691dcad9&prod&lang=scss&
27084
+ var customMobileDialogvue_type_style_index_1_id_691dcad9_prod_lang_scss_ = __webpack_require__("d058");
26662
27085
 
26663
27086
  // CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue
26664
27087
 
@@ -26672,11 +27095,11 @@ var customMobileDialogvue_type_style_index_1_id_1661eebb_prod_lang_scss_ = __web
26672
27095
 
26673
27096
  var customMobileDialog_component = normalizeComponent(
26674
27097
  src_customMobileDialogvue_type_script_lang_js_,
26675
- customMobileDialogvue_type_template_id_1661eebb_scoped_true_render,
26676
- customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns,
27098
+ customMobileDialogvue_type_template_id_691dcad9_scoped_true_render,
27099
+ customMobileDialogvue_type_template_id_691dcad9_scoped_true_staticRenderFns,
26677
27100
  false,
26678
27101
  null,
26679
- "1661eebb",
27102
+ "691dcad9",
26680
27103
  null
26681
27104
 
26682
27105
  )
@@ -26816,6 +27239,17 @@ var customMobileDialog_component = normalizeComponent(
26816
27239
  //
26817
27240
  //
26818
27241
  //
27242
+ //
27243
+ //
27244
+ //
27245
+ //
27246
+ //
27247
+ //
27248
+ //
27249
+ //
27250
+ //
27251
+ //
27252
+ //
26819
27253
 
26820
27254
 
26821
27255
 
@@ -26847,10 +27281,17 @@ var customMobileDialog_component = normalizeComponent(
26847
27281
  subIndex: Number,
26848
27282
  sunIndex: Number,
26849
27283
  subPath: String,
26850
- currentSubData: Array
27284
+ currentSubData: Array,
27285
+ dialogType: {
27286
+ // search表示在查询条件使用 form表示在表单中使用
27287
+ type: String,
27288
+ default: 'form'
27289
+ }
26851
27290
  },
26852
27291
  data() {
26853
27292
  return {
27293
+ dialogConfig: null,
27294
+ // 对话框配置信息
26854
27295
  isEditInputShow: false,
26855
27296
  customValue: '',
26856
27297
  defualtTooltipplacement: 'bottom',
@@ -26899,9 +27340,21 @@ var customMobileDialog_component = normalizeComponent(
26899
27340
  }
26900
27341
  let result = [];
26901
27342
  nameAry.forEach(m => {
26902
- let n = {
26903
- value: m
26904
- };
27343
+ // 带url跳转参数的 使用上横杆区分参数 值格式为 名称¯跳转key:跳转value
27344
+ let n = {};
27345
+ if (m.includes('¯') && m.split('¯')[1]) {
27346
+ n.value = m.split('¯')[0];
27347
+ let jumpParamStr = m.split('¯')[1];
27348
+ if (jumpParamStr) {
27349
+ let jumpParam = jumpParamStr.split(':');
27350
+ n.jumpParamKey = jumpParam[0];
27351
+ n.jumpParamValue = jumpParam[1];
27352
+ }
27353
+ } else {
27354
+ n = {
27355
+ value: m
27356
+ };
27357
+ }
26905
27358
  result.push(n);
26906
27359
  });
26907
27360
  return result;
@@ -26909,8 +27362,16 @@ var customMobileDialog_component = normalizeComponent(
26909
27362
  },
26910
27363
  isAllowCustom() {
26911
27364
  return this.custdialog && this.custdialog.allowInput;
27365
+ },
27366
+ // 是否展示可跳转颜色
27367
+ isSrcColor() {
27368
+ return this.dialogConfig && this.dialogType !== 'search' && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
26912
27369
  }
26913
27370
  },
27371
+ created() {
27372
+ // 获取对话框配置,看是否有配置url跳转
27373
+ this.getDialogConfig();
27374
+ },
26914
27375
  mounted() {
26915
27376
  const {
26916
27377
  subScopeEl
@@ -26929,6 +27390,63 @@ var customMobileDialog_component = normalizeComponent(
26929
27390
  this.calacInputSuffixWidth();
26930
27391
  },
26931
27392
  methods: {
27393
+ // 跳转url页面
27394
+ jumpUrl(item) {
27395
+ if (!this.isSrcColor) {
27396
+ if (this.inputWriteable) {
27397
+ this.showEditInput();
27398
+ }
27399
+ return;
27400
+ }
27401
+ let url = this.isMobile ? this.dialogConfig.mobileUrl : this.dialogConfig.pcUrl;
27402
+ // 获取通用token 和 url翻译
27403
+ Promise.all([this.$requestConfig.getThreeTreeToken(), this.transformUrl(url)]).then(res => {
27404
+ if (res[0] && res[0].code == 200) {
27405
+ let token = res[0].value;
27406
+ let endUrl = res[1];
27407
+ // 拼接参数 token和参数
27408
+ if (endUrl.indexOf('?') == -1) {
27409
+ endUrl += `?bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
27410
+ } else {
27411
+ endUrl += `&bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
27412
+ }
27413
+ window.open(endUrl);
27414
+ } else {
27415
+ this.$message.info(res.message || '获取token失败!');
27416
+ }
27417
+ });
27418
+ },
27419
+ // 替换url中域名通配符 需要发送接口
27420
+ transformUrl(url) {
27421
+ return new Promise(resolve => {
27422
+ var reg = /(\$\{(\w+)\})/;
27423
+ var match = reg.exec(url);
27424
+ if (match) {
27425
+ let alias = match[2];
27426
+ if (alias) {
27427
+ this.$requestConfig.getHostByAlias(alias).then(res => {
27428
+ if (res && res.value && res.value.rootAddress) {
27429
+ resolve(url.replace(match[1], res.value.rootAddress));
27430
+ } else {
27431
+ resolve(url);
27432
+ }
27433
+ });
27434
+ } else {
27435
+ resolve(url);
27436
+ }
27437
+ } else {
27438
+ resolve(url);
27439
+ }
27440
+ });
27441
+ },
27442
+ // 获取对话框配置
27443
+ getDialogConfig() {
27444
+ if (this.custdialog && this.custdialog.custDialog && this.custdialog.custDialog.alias) this.$requestConfig.getCustomDialogByAlias(this.custdialog.custDialog.alias).then(response => {
27445
+ if (response) {
27446
+ this.dialogConfig = response;
27447
+ }
27448
+ });
27449
+ },
26932
27450
  editInputBlur() {
26933
27451
  this.$emit('input', this.customValue);
26934
27452
  this.isEditInputShow = false;
@@ -27003,8 +27521,8 @@ var customMobileDialog_component = normalizeComponent(
27003
27521
  });
27004
27522
  // CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=script&lang=js&
27005
27523
  /* harmony default export */ var packages_CustomDialog_src_mainvue_type_script_lang_js_ = (CustomDialog_src_mainvue_type_script_lang_js_);
27006
- // EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=37fe7c68&prod&lang=scss&scoped=true&
27007
- var mainvue_type_style_index_0_id_37fe7c68_prod_lang_scss_scoped_true_ = __webpack_require__("bf72");
27524
+ // EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=7a0ef38c&prod&lang=scss&scoped=true&
27525
+ var mainvue_type_style_index_0_id_7a0ef38c_prod_lang_scss_scoped_true_ = __webpack_require__("8502");
27008
27526
 
27009
27527
  // CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue
27010
27528
 
@@ -27017,11 +27535,11 @@ var mainvue_type_style_index_0_id_37fe7c68_prod_lang_scss_scoped_true_ = __webpa
27017
27535
 
27018
27536
  var CustomDialog_src_main_component = normalizeComponent(
27019
27537
  packages_CustomDialog_src_mainvue_type_script_lang_js_,
27020
- mainvue_type_template_id_37fe7c68_scoped_true_render,
27021
- mainvue_type_template_id_37fe7c68_scoped_true_staticRenderFns,
27538
+ mainvue_type_template_id_7a0ef38c_scoped_true_render,
27539
+ mainvue_type_template_id_7a0ef38c_scoped_true_staticRenderFns,
27022
27540
  false,
27023
27541
  null,
27024
- "37fe7c68",
27542
+ "7a0ef38c",
27025
27543
  null
27026
27544
 
27027
27545
  )
@@ -48967,6 +49485,13 @@ if (typeof window !== 'undefined' && window.Vue) {
48967
49485
 
48968
49486
  /***/ }),
48969
49487
 
49488
+ /***/ "fcc0":
49489
+ /***/ (function(module, exports, __webpack_require__) {
49490
+
49491
+ // extracted by mini-css-extract-plugin
49492
+
49493
+ /***/ }),
49494
+
48970
49495
  /***/ "fd6a":
48971
49496
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
48972
49497