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