three-trees-ui 1.0.7 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1652,6 +1652,13 @@ const btnList = [{
1652
1652
 
1653
1653
  /***/ }),
1654
1654
 
1655
+ /***/ "0c48":
1656
+ /***/ (function(module, exports, __webpack_require__) {
1657
+
1658
+ // extracted by mini-css-extract-plugin
1659
+
1660
+ /***/ }),
1661
+
1655
1662
  /***/ "0edb":
1656
1663
  /***/ (function(module, exports, __webpack_require__) {
1657
1664
 
@@ -1861,6 +1868,13 @@ const SubPagination = {
1861
1868
 
1862
1869
  /***/ }),
1863
1870
 
1871
+ /***/ "18d6":
1872
+ /***/ (function(module, exports, __webpack_require__) {
1873
+
1874
+ // extracted by mini-css-extract-plugin
1875
+
1876
+ /***/ }),
1877
+
1864
1878
  /***/ "1a07":
1865
1879
  /***/ (function(module, exports, __webpack_require__) {
1866
1880
 
@@ -1879,31 +1893,35 @@ const SubPagination = {
1879
1893
 
1880
1894
  /***/ }),
1881
1895
 
1882
- /***/ "1c11":
1896
+ /***/ "1ccc":
1883
1897
  /***/ (function(module, exports, __webpack_require__) {
1884
1898
 
1885
1899
  // extracted by mini-css-extract-plugin
1886
1900
 
1887
1901
  /***/ }),
1888
1902
 
1889
- /***/ "1ccc":
1903
+ /***/ "200a":
1890
1904
  /***/ (function(module, exports, __webpack_require__) {
1891
1905
 
1892
1906
  // extracted by mini-css-extract-plugin
1893
1907
 
1894
1908
  /***/ }),
1895
1909
 
1896
- /***/ "200a":
1910
+ /***/ "20da":
1897
1911
  /***/ (function(module, exports, __webpack_require__) {
1898
1912
 
1899
1913
  // extracted by mini-css-extract-plugin
1900
1914
 
1901
1915
  /***/ }),
1902
1916
 
1903
- /***/ "20da":
1904
- /***/ (function(module, exports, __webpack_require__) {
1917
+ /***/ "212d":
1918
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
1919
+
1920
+ "use strict";
1921
+ /* 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");
1922
+ /* 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__);
1923
+ /* unused harmony reexport * */
1905
1924
 
1906
- // extracted by mini-css-extract-plugin
1907
1925
 
1908
1926
  /***/ }),
1909
1927
 
@@ -2065,13 +2083,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__289a__;
2065
2083
 
2066
2084
  /***/ }),
2067
2085
 
2068
- /***/ "333d":
2069
- /***/ (function(module, exports, __webpack_require__) {
2070
-
2071
- // extracted by mini-css-extract-plugin
2072
-
2073
- /***/ }),
2074
-
2075
2086
  /***/ "33ce":
2076
2087
  /***/ (function(module, exports, __webpack_require__) {
2077
2088
 
@@ -2812,6 +2823,17 @@ Formulas.install = Vue => {
2812
2823
  /* unused harmony reexport * */
2813
2824
 
2814
2825
 
2826
+ /***/ }),
2827
+
2828
+ /***/ "3de0":
2829
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
2830
+
2831
+ "use strict";
2832
+ /* 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");
2833
+ /* 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__);
2834
+ /* unused harmony reexport * */
2835
+
2836
+
2815
2837
  /***/ }),
2816
2838
 
2817
2839
  /***/ "3e5b":
@@ -2902,17 +2924,6 @@ Formulas.install = Vue => {
2902
2924
 
2903
2925
  // extracted by mini-css-extract-plugin
2904
2926
 
2905
- /***/ }),
2906
-
2907
- /***/ "49f9":
2908
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
2909
-
2910
- "use strict";
2911
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_1_id_1661eebb_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("7c6e");
2912
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_1_id_1661eebb_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_1_id_1661eebb_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
2913
- /* unused harmony reexport * */
2914
-
2915
-
2916
2927
  /***/ }),
2917
2928
 
2918
2929
  /***/ "4a17":
@@ -4134,6 +4145,13 @@ const dict = {
4134
4145
 
4135
4146
  /***/ }),
4136
4147
 
4148
+ /***/ "6ebe":
4149
+ /***/ (function(module, exports, __webpack_require__) {
4150
+
4151
+ // extracted by mini-css-extract-plugin
4152
+
4153
+ /***/ }),
4154
+
4137
4155
  /***/ "6f28":
4138
4156
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4139
4157
 
@@ -4241,13 +4259,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
4241
4259
 
4242
4260
  /***/ }),
4243
4261
 
4244
- /***/ "7c6e":
4245
- /***/ (function(module, exports, __webpack_require__) {
4246
-
4247
- // extracted by mini-css-extract-plugin
4248
-
4249
- /***/ }),
4250
-
4251
4262
  /***/ "7d0a":
4252
4263
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4253
4264
 
@@ -4275,17 +4286,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
4275
4286
 
4276
4287
  // extracted by mini-css-extract-plugin
4277
4288
 
4278
- /***/ }),
4279
-
4280
- /***/ "7ff9":
4281
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
4282
-
4283
- "use strict";
4284
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customDialog_vue_vue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("333d");
4285
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customDialog_vue_vue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customDialog_vue_vue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
4286
- /* unused harmony reexport * */
4287
-
4288
-
4289
4289
  /***/ }),
4290
4290
 
4291
4291
  /***/ "8262":
@@ -4326,6 +4326,17 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
4326
4326
 
4327
4327
  // extracted by mini-css-extract-plugin
4328
4328
 
4329
+ /***/ }),
4330
+
4331
+ /***/ "8502":
4332
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
4333
+
4334
+ "use strict";
4335
+ /* 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");
4336
+ /* 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__);
4337
+ /* unused harmony reexport * */
4338
+
4339
+
4329
4340
  /***/ }),
4330
4341
 
4331
4342
  /***/ "8728":
@@ -4721,14 +4732,7 @@ if (typeof window !== 'undefined' && window.Vue) {
4721
4732
  /***/ "9224":
4722
4733
  /***/ (function(module) {
4723
4734
 
4724
- module.exports = JSON.parse("{\"a\":\"1.0.7\"}");
4725
-
4726
- /***/ }),
4727
-
4728
- /***/ "923d":
4729
- /***/ (function(module, exports, __webpack_require__) {
4730
-
4731
- // extracted by mini-css-extract-plugin
4735
+ module.exports = JSON.parse("{\"a\":\"1.0.9\"}");
4732
4736
 
4733
4737
  /***/ }),
4734
4738
 
@@ -4860,13 +4864,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHoAAABMCAYAAACi
4860
4864
 
4861
4865
  /***/ }),
4862
4866
 
4863
- /***/ "a707":
4864
- /***/ (function(module, exports, __webpack_require__) {
4865
-
4866
- // extracted by mini-css-extract-plugin
4867
-
4868
- /***/ }),
4869
-
4870
4867
  /***/ "a751":
4871
4868
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4872
4869
 
@@ -6444,17 +6441,6 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
6444
6441
 
6445
6442
  // extracted by mini-css-extract-plugin
6446
6443
 
6447
- /***/ }),
6448
-
6449
- /***/ "bf72":
6450
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
6451
-
6452
- "use strict";
6453
- /* 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");
6454
- /* 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__);
6455
- /* unused harmony reexport * */
6456
-
6457
-
6458
6444
  /***/ }),
6459
6445
 
6460
6446
  /***/ "c0a9":
@@ -6473,17 +6459,6 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
6473
6459
 
6474
6460
  module.exports = require("moment");
6475
6461
 
6476
- /***/ }),
6477
-
6478
- /***/ "c33b":
6479
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
6480
-
6481
- "use strict";
6482
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a707");
6483
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
6484
- /* unused harmony reexport * */
6485
-
6486
-
6487
6462
  /***/ }),
6488
6463
 
6489
6464
  /***/ "c429":
@@ -6641,6 +6616,17 @@ module.exports = __WEBPACK_EXTERNAL_MODULE_cebe__;
6641
6616
 
6642
6617
  // extracted by mini-css-extract-plugin
6643
6618
 
6619
+ /***/ }),
6620
+
6621
+ /***/ "d058":
6622
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6623
+
6624
+ "use strict";
6625
+ /* 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");
6626
+ /* 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__);
6627
+ /* unused harmony reexport * */
6628
+
6629
+
6644
6630
  /***/ }),
6645
6631
 
6646
6632
  /***/ "d071":
@@ -7168,23 +7154,23 @@ module.exports = require("deepmerge");
7168
7154
 
7169
7155
  /***/ }),
7170
7156
 
7171
- /***/ "dccc":
7157
+ /***/ "dc81":
7172
7158
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7173
7159
 
7174
7160
  "use strict";
7175
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_68e2d4a1_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("8728");
7176
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_68e2d4a1_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_68e2d4a1_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
7161
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_8015cf1e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("6ebe");
7162
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_8015cf1e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_8015cf1e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
7177
7163
  /* unused harmony reexport * */
7178
7164
 
7179
7165
 
7180
7166
  /***/ }),
7181
7167
 
7182
- /***/ "de6a":
7168
+ /***/ "dccc":
7183
7169
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7184
7170
 
7185
7171
  "use strict";
7186
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_0_id_1661eebb_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("923d");
7187
- /* 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__);
7172
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_68e2d4a1_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("8728");
7173
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_68e2d4a1_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_68e2d4a1_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
7188
7174
  /* unused harmony reexport * */
7189
7175
 
7190
7176
 
@@ -7281,6 +7267,13 @@ module.exports = require("deepmerge");
7281
7267
 
7282
7268
  /***/ }),
7283
7269
 
7270
+ /***/ "e902":
7271
+ /***/ (function(module, exports, __webpack_require__) {
7272
+
7273
+ // extracted by mini-css-extract-plugin
7274
+
7275
+ /***/ }),
7276
+
7284
7277
  /***/ "eab7":
7285
7278
  /***/ (function(module, exports, __webpack_require__) {
7286
7279
 
@@ -22492,8 +22485,8 @@ PostSelector_src_main.install = function (Vue) {
22492
22485
  Vue.component(PostSelector_src_main.name, PostSelector_src_main);
22493
22486
  };
22494
22487
  /* harmony default export */ var PostSelector = (PostSelector_src_main);
22495
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/DimensionSelector/src/main.vue?vue&type=template&id=10681225&scoped=true&
22496
- var mainvue_type_template_id_10681225_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.permission !== 'n')?_c('div',{class:[
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=8015cf1e&scoped=true&
22489
+ var mainvue_type_template_id_8015cf1e_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.permission !== 'n')?_c('div',{class:[
22497
22490
  'inputs',
22498
22491
  _vm.formInputsDisplay == 'block'
22499
22492
  ? 'ht-form-inputs__block'
@@ -22508,10 +22501,10 @@ var mainvue_type_template_id_10681225_scoped_true_render = function () {var _vm=
22508
22501
  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){
22509
22502
  var select = ref.select;
22510
22503
  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()}
22511
- var mainvue_type_template_id_10681225_scoped_true_staticRenderFns = []
22504
+ var mainvue_type_template_id_8015cf1e_scoped_true_staticRenderFns = []
22512
22505
 
22513
22506
 
22514
- // CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=template&id=10681225&scoped=true&
22507
+ // CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=template&id=8015cf1e&scoped=true&
22515
22508
 
22516
22509
  // 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&
22517
22510
  //
@@ -22770,6 +22763,8 @@ var mainvue_type_template_id_10681225_scoped_true_staticRenderFns = []
22770
22763
  if (this.config.hasOwnProperty('demName')) {
22771
22764
  utils["a" /* default */].setValueByConfigKey(this, this.config, 'demName', demNameAry.join(','));
22772
22765
  }
22766
+ } else {
22767
+ this.$emit('change', newVal);
22773
22768
  }
22774
22769
  // 通过valueChange事件发布值变更消息
22775
22770
  this.$emit('valueChange', ary.join(','), newVal);
@@ -22899,8 +22894,8 @@ var mainvue_type_template_id_10681225_scoped_true_staticRenderFns = []
22899
22894
  });
22900
22895
  // CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=script&lang=js&
22901
22896
  /* harmony default export */ var packages_DimensionSelector_src_mainvue_type_script_lang_js_ = (DimensionSelector_src_mainvue_type_script_lang_js_);
22902
- // EXTERNAL MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=style&index=0&id=10681225&prod&lang=scss&scoped=true&
22903
- var mainvue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true_ = __webpack_require__("c33b");
22897
+ // EXTERNAL MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=style&index=0&id=8015cf1e&prod&lang=scss&scoped=true&
22898
+ var mainvue_type_style_index_0_id_8015cf1e_prod_lang_scss_scoped_true_ = __webpack_require__("dc81");
22904
22899
 
22905
22900
  // CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue
22906
22901
 
@@ -22913,11 +22908,11 @@ var mainvue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true_ = __webpa
22913
22908
 
22914
22909
  var DimensionSelector_src_main_component = normalizeComponent(
22915
22910
  packages_DimensionSelector_src_mainvue_type_script_lang_js_,
22916
- mainvue_type_template_id_10681225_scoped_true_render,
22917
- mainvue_type_template_id_10681225_scoped_true_staticRenderFns,
22911
+ mainvue_type_template_id_8015cf1e_scoped_true_render,
22912
+ mainvue_type_template_id_8015cf1e_scoped_true_staticRenderFns,
22918
22913
  false,
22919
22914
  null,
22920
- "10681225",
22915
+ "8015cf1e",
22921
22916
  null
22922
22917
 
22923
22918
  )
@@ -23545,8 +23540,8 @@ Dialog_src_main.install = function (Vue) {
23545
23540
  Vue.component(Dialog_src_main.name, Dialog_src_main);
23546
23541
  };
23547
23542
  /* harmony default export */ var Dialog = (Dialog_src_main);
23548
- // 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&
23549
- 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:({
23543
+ // 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&
23544
+ 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:({
23550
23545
  right: _vm.inputSuffixWidth - 1 + 'px',
23551
23546
  width: 'auto!important',
23552
23547
  height: _vm.inputSuffixHeight - 4 + 'px',
@@ -23555,11 +23550,11 @@ var mainvue_type_template_id_37fe7c68_scoped_true_render = function () {var _vm=
23555
23550
  : 'el-input__icon icon-duihuakuang',style:({
23556
23551
  fontSize: '17px',
23557
23552
  lineHeight: _vm.inputSuffixHeight + 'px',
23558
- })}),_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)}
23559
- var mainvue_type_template_id_37fe7c68_scoped_true_staticRenderFns = []
23553
+ })}),_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)}
23554
+ var mainvue_type_template_id_7a0ef38c_scoped_true_staticRenderFns = []
23560
23555
 
23561
23556
 
23562
- // CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=37fe7c68&scoped=true&
23557
+ // CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=7a0ef38c&scoped=true&
23563
23558
 
23564
23559
  // CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.js
23565
23560
 
@@ -23681,19 +23676,35 @@ var mainvue_type_template_id_37fe7c68_scoped_true_staticRenderFns = []
23681
23676
  }
23682
23677
  }
23683
23678
  });
23684
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=3a57945e&scoped=true&
23685
- var customDialogvue_type_template_id_3a57945e_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-dialog',{attrs:{"visible":_vm.customDialogShowList,"title":_vm.customDialog.name,"close-on-click-modal":false,"before-close":_vm.dialogCancel,"append-to-body":"","top":"6vh","width":"60%"},on:{"update:visible":function($event){_vm.customDialogShowList=$event},"opened":_vm.afterOpen}},[_c('el-container',{staticStyle:{"overflow":"auto"},style:(_vm.style)},[(_vm.customDialog.style == 2)?_c('el-aside',{directives:[{name:"show",rawName:"v-show",value:(_vm.treeShow),expression:"treeShow"}],staticStyle:{"width":"23%"}},[_c('el-card',[_c('div',{staticClass:"clearfix",attrs:{"slot":"header"},slot:"header"},[_c('span',{staticStyle:{"font-size":"16px"}},[_vm._v(_vm._s(_vm.leftTreeTitle))])]),_c('el-tree',{ref:"combinationTree",attrs:{"data":_vm.combinationTreeData,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","check-on-click-node":true,"lazy":"","load":_vm.loadTree},on:{"node-click":_vm.combiTreeClick}})],1)],1):_vm._e(),(_vm.customDialog.style == 2)?_c('el-divider',{attrs:{"direction":"vertical"}}):_vm._e(),_c('el-container',[(_vm.querysShow)?_c('el-header',{staticClass:"middle-header"},[_vm._l((_vm.conditionBind),function(condition,index){return _c('div',{key:index,staticClass:"search-item"},[_c('p',{staticStyle:{"font-size":"14px"}},[_vm._v(_vm._s(condition.comment)+":")]),(condition.controllerType == '1')?_c('div',[_c('el-input',{staticStyle:{"width":"180px","padding":"10px 0","margin":"0 5px 0 5px"},attrs:{"size":"small","clearable":"","placeholder":_vm.placeholders[index],"prefix-icon":"el-icon-search"},nativeOn:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.searchEnterFun($event)}},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '2')?_c('div',{staticStyle:{"margin-right":"10px"}},_vm._l((condition.config.options),function(itemR,$index1){return _c('el-radio',{key:$index1,attrs:{"label":itemR.key},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}},[_vm._v("\n "+_vm._s(itemR.value)+"\n ")])}),1):_vm._e(),(condition.controllerType == '3')?_c('div',{staticStyle:{"margin-right":"10px"}},[(condition.config.choiceType == 'static')?_c('ht-select',{attrs:{"placeholder":_vm.quickSearch,"options":condition.config.options},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}}):_c('eip-select-dia',{attrs:{"placeholder":_vm.quickSearch,"ganged":{
23686
- alias: condition.config.customQuery.alias,
23687
- valueBind: condition.config.customQuery.valueBind,
23688
- noInit: '',
23689
- labelBind: condition.config.customQuery.labelBind,
23690
- gangedBind: '{}',
23691
- bind: condition.config.bind,
23692
- },"multiple":false,"filterable":false,"allow-create":false,"selectlist":[],"query-params":_vm.queryParams},model:{value:(_vm.queryParams[condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams, condition.field, $$v)},expression:"queryParams[condition.field]"}})],1):_vm._e(),(condition.controllerType == '4')?_c('div',{staticStyle:{"margin-right":"10px"}},[_c('eip-tag',{attrs:{"tag-key":condition.config.tag,"placeholder":_vm.quickSearch,"filterable":condition.config.filterable,"expand":condition.config.expand},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e()])}),(_vm.conditionBind && _vm.conditionBind.length > 0)?_c('div',{staticClass:"btn-wrap"},[_c('el-button',{staticStyle:{"margin-left":"20px"},attrs:{"size":"small","type":"primary","icon":"el-icon-search"},on:{"click":function($event){return _vm.search(true)}}},[_vm._v("\n 查询\n ")]),_c('el-button',{attrs:{"size":"small","icon":"el-icon-refresh"},on:{"click":_vm.reset}},[_vm._v("\n 重置\n ")])],1):_vm._e()],2):_vm._e(),_c('el-main',{ref:"customTableRef",staticClass:"custom-dialog_main"},[_c('el-table',{ref:"orgTable",staticClass:"org-table",staticStyle:{"width":"100%"},attrs:{"data":_vm.dialogData,"stripe":"","border":"","size":"medium","height":_vm.tableHeight},on:{"row-click":_vm.orgRowClick,"selection-change":_vm.orgTableSelection,"select":_vm.onTableSelect,"select-all":_vm.selectAll}},[(_vm.customDialog.selectNum != 1)?_c('el-table-column',{attrs:{"type":"selection","align":"center","width":"55"}}):_vm._e(),(_vm.customDialog.selectNum === 1)?_c('el-table-column',{attrs:{"align":"center","width":"55"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-radio',{staticClass:"textRadio",attrs:{"label":scope.$index},on:{"selection-change":_vm.orgTableSelection},model:{value:(_vm.tableRadioVal),callback:function ($$v) {_vm.tableRadioVal=$$v},expression:"tableRadioVal"}},[_vm._v("\n  \n ")])]}}],null,false,918943478)}):_vm._e(),_c('el-table-column',{attrs:{"type":"index","width":"50","align":"center","label":"序号"}}),_vm._l((_vm.displayfield),function(field){return _c('el-table-column',{key:field.field,staticStyle:{"width":"100%"},attrs:{"show-overflow-tooltip":true,"prop":field.field,"label":field.comment}})})],2)],1),_c('el-footer',[(_vm.customDialog.needPage)?_c('el-row',{staticStyle:{"padding-top":"15px","justify-content":"space-between"},attrs:{"type":"flex","justify":"end"}},[(_vm.customDialog.style == 2)?_c('el-button',{attrs:{"icon":_vm.toggleBtn,"size":"mini","type":"default"},on:{"click":_vm.toggleTree}}):_vm._e(),_c('el-pagination',{attrs:{"small":"","current-page":_vm.pagination.page,"page-sizes":[10, 20, 50, 100],"page-size":_vm.pagination.pageSize,"layout":"total, sizes, prev, pager, next, jumper","total":_vm.total},on:{"size-change":_vm.handleSizeChange,"current-change":_vm.handleCurrentChange}})],1):_vm._e()],1)],1)],1),_c('span',{staticClass:"dialog-footer",staticStyle:{"text-align":"center"},attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.dialogConfirm}},[_vm._v("\n 确认\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.dialogCancel}},[_vm._v("取 消")])],1)],1),_c('el-dialog',{attrs:{"title":"动态传入参数查询","width":"500px","visible":_vm.dialogVisible,"before-close":_vm.handleClose,"close-on-click-modal":false,"top":"6vh"},on:{"update:visible":function($event){_vm.dialogVisible=$event}}},[_c('table',{staticClass:"form-table",staticStyle:{"margin-left":"20px","width":"90%"},attrs:{"cellspacing":"0","cellpadding":"0","border":"0"}},_vm._l((_vm.conditionfieldTree),function(item,$index){return _c('tbody',{key:$index},[(item.defaultType == '4')?_c('tr',[_c('th',{attrs:{"width":"130px"}},[_vm._v(_vm._s(item.comment)+":")]),_c('td',[(item.type != 'date')?_c('ht-input',{staticStyle:{"width":"100%"},attrs:{"type":"text","placeholder":'请输入' + item.comment,"autocomplete":"off"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e(),(item.type == 'date')?_c('ht-date',{staticStyle:{"width":"100%"},attrs:{"placeholder":'请输入' + item.comment,"format":"yyyy-MM-dd"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e()],1)]):_vm._e()])}),0),_c('div',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"type":"primary"},on:{"click":_vm.handleSave}},[_vm._v("确 定")]),_c('el-button',{on:{"click":_vm.handleClose}},[_vm._v("取 消")])],1)]),_c('el-dialog',{attrs:{"visible":_vm.customDialogShowTree,"title":_vm.customDialog.name,"close-on-click-modal":false,"before-close":_vm.dialogCancelTree,"append-to-body":"","top":"6vh","width":"500px"},on:{"update:visible":function($event){_vm.customDialogShowTree=$event}}},[_c('el-container',{staticStyle:{"overflow":"auto"},style:(_vm.style)},[_c('el-tree',{ref:"tree",staticStyle:{"width":"100%"},attrs:{"data":_vm.props1,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","show-checkbox":_vm.customDialog.selectNum === -1,"check-on-click-node":true,"check-strictly":false,"lazy":"","load":_vm.loadTree,"default-expanded-keys":_vm.defaultExpandedKeys},on:{"node-click":_vm.treeClick,"check-change":_vm.getChecked}})],1),_c('span',{staticClass:"dialog-footer",staticStyle:{"text-align":"center"},attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.dialogTreeConfirm}},[_vm._v("\n 确认\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.dialogCancelTree}},[_vm._v("取 消")])],1)],1)],1)}
23693
- var customDialogvue_type_template_id_3a57945e_scoped_true_staticRenderFns = []
23694
-
23695
-
23696
- // CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=3a57945e&scoped=true&
23679
+ // 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&
23680
+ 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) {
23681
+ _vm.queryParams[index][condition.field] = _vm.getSelectId(data)
23682
+ }},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) {
23683
+ _vm.queryParams[index][condition.field] = _vm.getSelectId(data)
23684
+ }},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e(),(condition.config.alias == 'role')?_c('ht-role-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
23685
+ _vm.queryParams[index][condition.field] = _vm.getSelectId(data)
23686
+ }},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e(),(condition.config.alias == 'job')?_c('ht-job-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
23687
+ _vm.queryParams[index][condition.field] = _vm.getSelectId(data)
23688
+ }},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e(),(condition.config.alias == 'post')?_c('ht-post-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
23689
+ _vm.queryParams[index][condition.field] = _vm.getSelectId(data)
23690
+ }},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e(),(condition.config.alias == 'dimension')?_c('ht-dimension-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
23691
+ _vm.queryParams[index][condition.field] = _vm.getSelectId(data)
23692
+ }},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e()],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":{
23693
+ name: '请选择',
23694
+ icon: '',
23695
+ custDialog: {
23696
+ selectNum: 1,
23697
+ conditions: [],
23698
+ mappingConf: [],
23699
+ custQueryJson: [],
23700
+ alias: condition.config.alias,
23701
+ type: 'custDialog',
23702
+ },
23703
+ }},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)}
23704
+ var customDialogvue_type_template_id_f66484a2_scoped_true_staticRenderFns = []
23705
+
23706
+
23707
+ // CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=f66484a2&scoped=true&
23697
23708
 
23698
23709
  // EXTERNAL MODULE: external "jquery"
23699
23710
  var external_jquery_ = __webpack_require__("c5e1");
@@ -24002,6 +24013,116 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24002
24013
  //
24003
24014
  //
24004
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
+ //
24119
+ //
24120
+ //
24121
+ //
24122
+ //
24123
+ //
24124
+ //
24125
+ //
24005
24126
 
24006
24127
 
24007
24128
 
@@ -24029,10 +24150,16 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24029
24150
  isReadOnly: {
24030
24151
  type: Boolean,
24031
24152
  default: false
24032
- }
24153
+ },
24154
+ dialogConfig: Object,
24155
+ dialogType: String
24033
24156
  },
24034
24157
  data() {
24035
24158
  return {
24159
+ startDate: '',
24160
+ // 日期控件
24161
+ endDate: '',
24162
+ // 日期控件
24036
24163
  tableHeight: 350,
24037
24164
  isEditInputShow: false,
24038
24165
  customValue: '',
@@ -24113,6 +24240,18 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24113
24240
  return [this.props1[0][this.nodeKey]];
24114
24241
  }
24115
24242
  return [];
24243
+ },
24244
+ jumpParamKey() {
24245
+ return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
24246
+ },
24247
+ // 是否保存成跳转url参数
24248
+ isHaveJumpUrl() {
24249
+ return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
24250
+ },
24251
+ sortDisplayfield() {
24252
+ return this.displayfield.sort((a, b) => {
24253
+ return a.sort > b.sort ? 1 : -1;
24254
+ });
24116
24255
  }
24117
24256
  },
24118
24257
  watch: {
@@ -24148,131 +24287,151 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24148
24287
  });
24149
24288
  },
24150
24289
  methods: {
24290
+ // 获取已选择的选择器数据id
24291
+ getSelectId(data) {
24292
+ if (!data || !data.length) {
24293
+ return '';
24294
+ }
24295
+ let ids = [];
24296
+ data.forEach(item => {
24297
+ ids.push(item.id);
24298
+ });
24299
+ return ids.join(',');
24300
+ },
24151
24301
  showDialog() {
24152
24302
  let isMounted = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
24153
- const this_ = this;
24154
24303
  this.fixedParams = {};
24304
+ // 如果已存在配置信息就不去请求配置信息 直接初始化数据
24305
+ if (this.dialogConfig) {
24306
+ this.initDialog(this.dialogConfig, isMounted);
24307
+ return;
24308
+ }
24155
24309
  var alias = this.custdialog.custDialog.alias;
24156
24310
  this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
24157
- if (!customDialog || !customDialog.alias) {
24158
- this.$message.error('对话框别名【' + alias + '】不存在!');
24159
- return;
24160
- }
24161
- if (customDialog.style == 1) {
24162
- var displaylist = JSON.parse(customDialog.displayfield);
24163
- this_.nodeKey = displaylist.id;
24164
- }
24165
- if (customDialog.needPage && customDialog.requestType === 'POST') {
24166
- let obj = {};
24167
- this.getLastKeyByPath(obj, customDialog.pageKey, 1);
24168
- this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
24169
- this.getLastKeyByPath(obj, customDialog.totalKey, true);
24170
- const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
24171
- if (exp) {
24172
- const params = JSON.parse(exp);
24173
- if (params.pageBean) {
24174
- this.pagination = {
24175
- ...params.pageBean
24176
- };
24177
- }
24311
+ this.initDialog(customDialog, isMounted);
24312
+ });
24313
+ },
24314
+ initDialog(customDialog, isMounted) {
24315
+ let alias = this.custdialog.custDialog.alias;
24316
+ const this_ = this;
24317
+ if (!customDialog || !customDialog.alias) {
24318
+ this.$message.error('对话框别名【' + alias + '】不存在!');
24319
+ return;
24320
+ }
24321
+ if (customDialog.style == 1) {
24322
+ var displaylist = JSON.parse(customDialog.displayfield);
24323
+ this_.nodeKey = displaylist.id;
24324
+ }
24325
+ if (customDialog.needPage && customDialog.requestType === 'POST') {
24326
+ let obj = {};
24327
+ this.getLastKeyByPath(obj, customDialog.pageKey, 1);
24328
+ this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
24329
+ this.getLastKeyByPath(obj, customDialog.totalKey, true);
24330
+ const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
24331
+ if (exp) {
24332
+ const params = JSON.parse(exp);
24333
+ if (params.pageBean) {
24334
+ this.pagination = {
24335
+ ...params.pageBean
24336
+ };
24178
24337
  }
24179
24338
  }
24180
- //对话框按表单字段查询(参数传入的)
24181
- let bindList = this_.custdialog.custDialog.conditions;
24182
- this_.param = []; //绑定的表单字段
24183
- if (bindList.length > 0) {
24184
- bindList.forEach(ele => {
24185
- //绑定表单字段
24186
- if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
24187
- let obj = {};
24188
- obj.field = ele.field;
24189
- obj.bind = ele.bind;
24190
- obj.bindType = ele.bindType;
24191
- this_.param.push(obj);
24192
- }
24193
- //取值对象为脚本时获取value
24194
- if (ele.bindType === 3) {
24195
- this_.$requestConfig.executeScript(ele.bind).then(res => {
24196
- this_.executeScriptResult = res && res.value;
24197
- });
24198
- }
24199
- });
24200
- }
24201
- //判断对话框查询是否有条件
24202
- let userInputList = JSON.parse(customDialog.conditionfield);
24203
- this_.quickSearch = ''; //填写提示 placeholder
24204
- this_.conditionBind = [];
24205
- let queryParams = [];
24206
- let placeholders = [];
24207
- if (userInputList.length > 0) {
24208
- userInputList.forEach(ele => {
24209
- var obj = {};
24210
- //条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
24211
- if (ele.defaultType == '1') {
24212
- obj[ele.field] = '';
24213
- queryParams.push(obj);
24214
- // queryParams[ele.field] = "";
24215
- this_.conditionBind.push(ele);
24216
- placeholders.push('请输入' + ele.comment);
24217
- }
24218
- if (ele.defaultType == '2' && ele.defaultValue) {
24219
- this_.fixedParams[ele.field] = ele.defaultValue;
24220
- }
24221
- });
24222
- this.$set(this, 'queryParams', queryParams);
24223
- this.$set(this, 'placeholders', placeholders);
24224
- }
24225
- //判断是否显示条件查询输入框
24226
- if (this_.quickSearch != '') {
24227
- this_.querysShow = true;
24228
- } else {
24229
- this_.querysShow = true;
24230
- }
24231
- this_.quickSearch = '请输入' + this.quickSearch + '查询';
24232
- this_.style = 'height:' + customDialog.height + 'px';
24233
- if (window.screen.height && window.screen.height <= 900) {
24234
- this.style = 'height:440px';
24235
- }
24236
- if (customDialog.style == 0 || customDialog.style == 2) {
24237
- //列表
24238
- setTimeout(() => {
24239
- this_.customDialogShow({
24240
- alias: alias,
24241
- customDialog: customDialog
24242
- }, isMounted);
24243
- }, 100);
24244
- } else if (customDialog.style == 1) {
24245
- //树形
24246
- this_.pageParam = {
24339
+ }
24340
+ //对话框按表单字段查询(参数传入的)
24341
+ let bindList = this_.custdialog.custDialog.conditions;
24342
+ this_.param = []; //绑定的表单字段
24343
+ if (bindList.length > 0) {
24344
+ bindList.forEach(ele => {
24345
+ //绑定表单字段
24346
+ if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
24347
+ let obj = {};
24348
+ obj.field = ele.field;
24349
+ obj.bind = ele.bind;
24350
+ obj.bindType = ele.bindType;
24351
+ this_.param.push(obj);
24352
+ }
24353
+ //取值对象为脚本时获取value
24354
+ if (ele.bindType === 3) {
24355
+ this_.$requestConfig.executeScript(ele.bind).then(res => {
24356
+ this_.executeScriptResult = res && res.value;
24357
+ });
24358
+ }
24359
+ });
24360
+ }
24361
+ //判断对话框查询是否有条件
24362
+ let userInputList = JSON.parse(customDialog.conditionfield);
24363
+ this_.quickSearch = ''; //填写提示 placeholder
24364
+ this_.conditionBind = [];
24365
+ let queryParams = [];
24366
+ let placeholders = [];
24367
+ if (userInputList.length > 0) {
24368
+ userInputList.forEach(ele => {
24369
+ var obj = {};
24370
+ //条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
24371
+ if (ele.defaultType == '1') {
24372
+ obj[ele.field] = '';
24373
+ queryParams.push(obj);
24374
+ // queryParams[ele.field] = "";
24375
+ this_.conditionBind.push(ele);
24376
+ placeholders.push('请输入' + ele.comment);
24377
+ }
24378
+ if (ele.defaultType == '2' && ele.defaultValue) {
24379
+ this_.fixedParams[ele.field] = ele.defaultValue;
24380
+ }
24381
+ });
24382
+ this.$set(this, 'queryParams', queryParams);
24383
+ this.$set(this, 'placeholders', placeholders);
24384
+ }
24385
+ //判断是否显示条件查询输入框
24386
+ if (this_.quickSearch != '') {
24387
+ this_.querysShow = true;
24388
+ } else {
24389
+ this_.querysShow = true;
24390
+ }
24391
+ this_.quickSearch = '请输入' + this.quickSearch + '查询';
24392
+ this_.style = 'height:' + customDialog.height + 'px';
24393
+ if (window.screen.height && window.screen.height <= 900) {
24394
+ this.style = 'height:440px';
24395
+ }
24396
+ if (customDialog.style == 0 || customDialog.style == 2) {
24397
+ //列表
24398
+ setTimeout(() => {
24399
+ this_.customDialogShow({
24247
24400
  alias: alias,
24248
24401
  customDialog: customDialog
24249
- };
24250
- this_.customDialog = customDialog;
24251
- let param = {};
24252
- this_.conditionfieldTree = [];
24253
- //判断是否存在条件
24254
- if (customDialog.conditionfield) {
24255
- this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
24256
- if (this_.conditionfieldTree.length > 0) {
24257
- for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
24258
- //判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值
24259
- if (this_.conditionfieldTree[i].defaultType == '4') {
24260
- param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
24261
- }
24402
+ }, isMounted);
24403
+ }, 100);
24404
+ } else if (customDialog.style == 1) {
24405
+ //树形
24406
+ this_.pageParam = {
24407
+ alias: alias,
24408
+ customDialog: customDialog
24409
+ };
24410
+ this_.customDialog = customDialog;
24411
+ let param = {};
24412
+ this_.conditionfieldTree = [];
24413
+ //判断是否存在条件
24414
+ if (customDialog.conditionfield) {
24415
+ this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
24416
+ if (this_.conditionfieldTree.length > 0) {
24417
+ for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
24418
+ //判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
24419
+ if (this_.conditionfieldTree[i].defaultType == '4') {
24420
+ param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
24262
24421
  }
24263
24422
  }
24264
24423
  }
24265
- //有动态传入的字段
24266
- if (!isMounted) {
24267
- if (JSON.stringify(param) != '{}') {
24268
- this_.dialogVisible = true;
24269
- } else {
24270
- //无动态传入的字段
24271
- this_.customDialogTreeShow(this_.pageParam);
24272
- }
24424
+ }
24425
+ //有动态传入的字段
24426
+ if (!isMounted) {
24427
+ if (JSON.stringify(param) != '{}') {
24428
+ this_.dialogVisible = true;
24429
+ } else {
24430
+ //无动态传入的字段
24431
+ this_.customDialogTreeShow(this_.pageParam);
24273
24432
  }
24274
24433
  }
24275
- });
24434
+ }
24276
24435
  },
24277
24436
  initTableHeight() {
24278
24437
  this.$nextTick(() => {
@@ -24401,13 +24560,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24401
24560
  }
24402
24561
  // 添加用户id 岗位id 组织id
24403
24562
  try {
24404
- if (this.$requestConfig.getUserId()) {
24563
+ if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
24405
24564
  ctx.userId = this.$requestConfig.getUserId();
24406
24565
  }
24407
- if (this.$requestConfig.getOrgId()) {
24566
+ if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
24408
24567
  ctx.orgId = this.$requestConfig.getOrgId();
24409
24568
  }
24410
- if (this.$requestConfig.getPostId()) {
24569
+ if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
24411
24570
  ctx.postId = this.$requestConfig.getPostId();
24412
24571
  }
24413
24572
  } catch (e) {
@@ -24492,8 +24651,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24492
24651
  this.selectOrgs = this.convertComment2Field(str, field);
24493
24652
  this.custdialog.custDialog.mappingConf.forEach(con => {
24494
24653
  var val = '';
24495
- str.forEach(item => {
24496
- val += item[con.from] + ',';
24654
+ str.forEach((item, index) => {
24655
+ // 此处添加url跳转参数保存逻辑
24656
+ if (this.jumpParamKey && this.isHaveJumpUrl && this.modelName == 'data.' + con['target'][0]) {
24657
+ val += `${item[con.from]}¯${this.jumpParamKey}:${this.selectOrgs[index][this.jumpParamKey]},`;
24658
+ } else {
24659
+ val += item[con.from] + ',';
24660
+ }
24497
24661
  });
24498
24662
  if (this.modelName == 'data.' + con['target'][0]) {
24499
24663
  utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
@@ -24564,19 +24728,36 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24564
24728
  };
24565
24729
  }
24566
24730
  //用户输入的
24731
+ let flag = false;
24567
24732
  if (this.queryParams.length != 0 && this.queryParams[0] != '') {
24568
24733
  this.conditionBind.forEach((item, index) => {
24734
+ // 日期范围特殊处理
24735
+ if (item.dbType == 'date' && item.condition == 'BETWEEN') {
24736
+ if (this.queryParams[index].startDate && !this.queryParams[index].endDate || !this.queryParams[index].startDate && this.queryParams[index].endDate) {
24737
+ flag = true;
24738
+ this.$message.info('日期范围未填写完整!');
24739
+ return;
24740
+ }
24741
+ if (this.queryParams[index].startDate && this.queryParams[index].endDate) {
24742
+ this.queryParams[index][item.field] = `${this.queryParams[index].startDate},${this.queryParams[index].endDate}`;
24743
+ } else {
24744
+ this.queryParams[index][item.field] = '';
24745
+ }
24746
+ }
24569
24747
  if (this.queryParams[index][item.field]) {
24570
24748
  querys.push({
24571
24749
  property: item.field,
24572
24750
  value: this.queryParams[index][item.field],
24573
24751
  group: 'main',
24574
- operation: 'LIKE',
24752
+ operation: item.condition,
24575
24753
  relation: 'AND'
24576
24754
  });
24577
24755
  }
24578
24756
  });
24579
24757
  }
24758
+ if (flag) {
24759
+ return;
24760
+ }
24580
24761
  //参数传入的查询拼接
24581
24762
  if (this.param) {
24582
24763
  this.param.forEach(item => {
@@ -24615,13 +24796,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24615
24796
  queryParamMap.total = pageBean.pageBean.total;
24616
24797
  // 添加用户id 岗位id 组织id
24617
24798
  try {
24618
- if (this.$requestConfig.getUserId()) {
24799
+ if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
24619
24800
  ctx.userId = this.$requestConfig.getUserId();
24620
24801
  }
24621
- if (this.$requestConfig.getOrgId()) {
24802
+ if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
24622
24803
  ctx.orgId = this.$requestConfig.getOrgId();
24623
24804
  }
24624
- if (this.$requestConfig.getPostId()) {
24805
+ if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
24625
24806
  ctx.postId = this.$requestConfig.getPostId();
24626
24807
  }
24627
24808
  } catch (e) {
@@ -24642,12 +24823,14 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24642
24823
  value: queryParamMap[bindKey] || ctx[bindKey] || ''
24643
24824
  };
24644
24825
  });
24645
- param.querys = queryList;
24826
+ param.querys = queryList || [];
24646
24827
  if (this.customDialog.needPage) {
24647
24828
  param.pageBean = obj;
24648
24829
  } else {
24649
24830
  param.pageBean.pageSize = -1;
24650
24831
  }
24832
+ // 日期格式的 改成数组
24833
+ // this.changeDateFormat(param)
24651
24834
  //构造请求的参数
24652
24835
  let requestParam = {
24653
24836
  pageBean: param,
@@ -24687,6 +24870,15 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24687
24870
  }
24688
24871
  this.tableRadioVal = '';
24689
24872
  },
24873
+ changeDateFormat(param) {
24874
+ let dateValidate1 = /^\d{4}\-\d{2}\-\d{2}$/;
24875
+ 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$/;
24876
+ Object.keys(param).forEach(key => {
24877
+ if (param[key] && typeof param[key] == 'string' && param[key].includes(',') && (dateValidate1.test(param[key].split(',')[0]) || dateValidate2.test(param[key].split(',')[0]))) {
24878
+ param[key] = param[key].split(',');
24879
+ }
24880
+ });
24881
+ },
24690
24882
  getSearchValueByKey() {
24691
24883
  let queryParamsObj = {};
24692
24884
  if (this.queryParams.length > 0) {
@@ -24912,6 +25104,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24912
25104
  },
24913
25105
  // 同步选择结果
24914
25106
  syncInputValue() {
25107
+ // 对话框跳转url需要两个参数 1当前控件绑定的对象参数modelName 2对话框配置中配置的key名称
25108
+ // 同步值时,如果有绑定url跳转参数,值格式为 名称¯跳转key:跳转value
24915
25109
  let thisIndex = null; //当前数据所在下标
24916
25110
  let parentIndex = null; //父节点所在下标
24917
25111
  if (this.$parent.$el) {
@@ -24985,13 +25179,27 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24985
25179
  }
24986
25180
  }
24987
25181
  }
25182
+ // 如果是查询中使用的对话框
25183
+ if (this.dialogType == 'search') {
25184
+ let returnVal = [];
25185
+ str.forEach(item => {
25186
+ returnVal.push(decodeURIComponent(item[this.modelName]));
25187
+ });
25188
+ this.$emit('updateInput', returnVal.join(','));
25189
+ return;
25190
+ }
24988
25191
  const pInst = utils["a" /* default */].getOnlineFormInstance(this);
24989
25192
  this.custdialog.custDialog.mappingConf.forEach(con => {
24990
25193
  var val = '';
24991
25194
  var from = con.from.toLowerCase();
24992
25195
  str.forEach(item => {
25196
+ // 如果有绑定url跳转参数 需获取跳转参数的key
24993
25197
  if (item) {
24994
- val += decodeURIComponent(item[from]) + ',';
25198
+ if (this.jumpParamKey && this.isHaveJumpUrl && this.modelName == 'data.' + con['target'][0]) {
25199
+ val += `${decodeURIComponent(item[from])}¯${this.jumpParamKey}:${item[this.jumpParamKey]},`;
25200
+ } else {
25201
+ val += decodeURIComponent(item[from]) + ',';
25202
+ }
24995
25203
  }
24996
25204
  });
24997
25205
  if (this.modelName == 'data.' + con['target'][0]) {
@@ -25010,7 +25218,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
25010
25218
  const _val = val.substring(0, val.length - 1);
25011
25219
  if (path) {
25012
25220
  if (this.modelName && this.modelName.endsWith(path)) {
25013
- // this.$emit('input', _val)
25014
25221
  this.$emit('updateInput', _val);
25015
25222
  }
25016
25223
  utils["a" /* default */].setValueByPath(pInst, `${pInst.data ? 'data.' : 'model.'}${path}`, _val, thisIndex);
@@ -25242,8 +25449,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
25242
25449
  });
25243
25450
  // CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=script&lang=js&
25244
25451
  /* harmony default export */ var src_customDialogvue_type_script_lang_js_ = (customDialogvue_type_script_lang_js_);
25245
- // EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=3a57945e&prod&lang=scss&scoped=true&
25246
- var customDialogvue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true_ = __webpack_require__("7ff9");
25452
+ // EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=f66484a2&prod&lang=scss&scoped=true&
25453
+ var customDialogvue_type_style_index_0_id_f66484a2_prod_lang_scss_scoped_true_ = __webpack_require__("3de0");
25247
25454
 
25248
25455
  // CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue
25249
25456
 
@@ -25256,31 +25463,47 @@ var customDialogvue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true_ =
25256
25463
 
25257
25464
  var customDialog_component = normalizeComponent(
25258
25465
  src_customDialogvue_type_script_lang_js_,
25259
- customDialogvue_type_template_id_3a57945e_scoped_true_render,
25260
- customDialogvue_type_template_id_3a57945e_scoped_true_staticRenderFns,
25466
+ customDialogvue_type_template_id_f66484a2_scoped_true_render,
25467
+ customDialogvue_type_template_id_f66484a2_scoped_true_staticRenderFns,
25261
25468
  false,
25262
25469
  null,
25263
- "3a57945e",
25470
+ "f66484a2",
25264
25471
  null
25265
25472
 
25266
25473
  )
25267
25474
 
25268
25475
  /* harmony default export */ var CustomDialog_src_customDialog = (customDialog_component.exports);
25269
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=1661eebb&scoped=true&
25270
- var customMobileDialogvue_type_template_id_1661eebb_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('van-action-sheet',{staticClass:"mobile-van-action min-height-action",attrs:{"cancel-text":_vm.sureButtonText,"get-container":"body"},on:{"cancel":_vm.handleDialogSure,"click-overlay":_vm.dialogCancel,"opened":_vm.afterOpen},scopedSlots:_vm._u([{key:"description",fn:function(){return [_c('span',{staticClass:"dialog-mobile__title"},[_vm._v(_vm._s(_vm.customDialog.name))]),_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":_vm.dialogCancel}})]},proxy:true}]),model:{value:(_vm.customDialogShowList),callback:function ($$v) {_vm.customDialogShowList=$$v},expression:"customDialogShowList"}},[[_c('div',{staticClass:"search-box"},[_c('ht-icon',{staticClass:"unfold-icon",attrs:{"scale":"1.2","name":_vm.isShowMoreSearch ? 'upFold' : 'downUnfold'},on:{"click":function($event){_vm.isShowMoreSearch = !_vm.isShowMoreSearch}}}),_vm._l((_vm.conditionBind),function(condition,index){return _c('div',{directives:[{name:"show",rawName:"v-show",value:(index === 0 || (index > 0 && _vm.isShowMoreSearch)),expression:"index === 0 || (index > 0 && isShowMoreSearch)"}],key:index,staticClass:"search-item"},[_c('p',[_vm._v(_vm._s(condition.comment)+":")]),(condition.controllerType == '1')?_c('div',[_c('el-input',{attrs:{"size":"small","clearable":"","placeholder":_vm.placeholders[index]},on:{"change":_vm.searchInputChange},nativeOn:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.hideSearch($event)}},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '2')?_c('div',{staticStyle:{"margin-right":"10px"}},_vm._l((condition.config.options),function(itemR,$index1){return _c('el-radio',{key:$index1,attrs:{"label":itemR.key},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}},[_vm._v("\n "+_vm._s(itemR.value)+"\n ")])}),1):_vm._e(),(condition.controllerType == '3')?_c('div',{staticStyle:{"margin-right":"10px"}},[(condition.config.choiceType == 'static')?_c('ht-select',{attrs:{"options":condition.config.options},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}}):_c('eip-select-dia',{attrs:{"ganged":{
25271
- alias: condition.config.customQuery.alias,
25272
- valueBind: condition.config.customQuery.valueBind,
25273
- noInit: '',
25274
- labelBind: condition.config.customQuery.labelBind,
25275
- gangedBind: '{}',
25276
- bind: condition.config.bind,
25277
- },"multiple":false,"filterable":false,"allow-create":false,"selectlist":[],"query-params":_vm.queryParams},model:{value:(_vm.queryParams[condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams, condition.field, $$v)},expression:"queryParams[condition.field]"}})],1):_vm._e(),(condition.controllerType == '4')?_c('div',{staticStyle:{"margin-right":"10px"}},[_c('eip-tag',{attrs:{"tag-key":condition.config.tag,"placeholder":_vm.quickSearch,"filterable":condition.config.filterable,"expand":condition.config.expand},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e()])}),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isShowMoreSearch),expression:"isShowMoreSearch"}],staticClass:"search-btns"},[_c('el-button',{staticStyle:{"margin-left":"20px"},attrs:{"size":"small","type":"primary"},on:{"click":_vm.hideSearch}},[_vm._v("\n 搜索\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.reset}},[_vm._v("重置")])],1)],2)],(_vm.customDialog.style == 2)?_c('van-popover',{staticClass:"custom-dialog-popover",attrs:{"trigger":"click"},scopedSlots:_vm._u([{key:"reference",fn:function(){return [_c('div',{staticClass:"mobile-tree-select"},[(_vm.treeSelectText)?_c('span',{staticClass:"active-text"},[_vm._v("\n "+_vm._s(_vm.treeSelectText)+"\n ")]):_c('span',[_vm._v("请选择"+_vm._s(_vm.leftTreeTitle))]),(_vm.treeSelectText)?_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":function($event){$event.stopPropagation();return _vm.clearTreeSelect($event)}}}):_vm._e()],1)]},proxy:true}],null,false,3189508719),model:{value:(_vm.isSelectTreeShow),callback:function ($$v) {_vm.isSelectTreeShow=$$v},expression:"isSelectTreeShow"}},[_c('div',{staticClass:"custom-dialog-popover_content"},[_c('el-tree',{ref:"combinationTree",attrs:{"data":_vm.combinationTreeData,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","check-on-click-node":true},on:{"node-click":_vm.combiTreeClick}})],1)]):_vm._e(),_c('van-pull-refresh',{on:{"refresh":_vm.onRefresh},model:{value:(_vm.isDownLoading),callback:function ($$v) {_vm.isDownLoading=$$v},expression:"isDownLoading"}},[_c('van-list',{attrs:{"finished":_vm.finished,"finished-text":"没有更多了","offset":20,"immediate-check":false},on:{"load":_vm.loadMore},model:{value:(_vm.isPullLoading),callback:function ($$v) {_vm.isPullLoading=$$v},expression:"isPullLoading"}},_vm._l((_vm.dialogData),function(item,index){return _c('van-cell',{key:index,attrs:{"clickable":""},scopedSlots:_vm._u([{key:"icon",fn:function(){return [_c('van-checkbox',{attrs:{"value":_vm.indexArray(_vm.selectIds, item) > -1,"shape":_vm.customDialog.selectNum === 1 ? 'round' : 'square'},on:{"click":function($event){return _vm.checkboxChange(item)}}})]},proxy:true}],null,true)},[_c('div',{staticClass:"custom-mobile_box"},_vm._l((_vm.displayfield),function(field){return _c('div',{key:field.field,staticClass:"custom-mobile_box_item"},[_c('label',[_vm._v(_vm._s(field.comment)+":")]),_c('div',[_vm._v(_vm._s(item[field.field]))])])}),0)])}),1)],1)],2),_c('van-action-sheet',{staticClass:"mobile-van-action",attrs:{"cancel-text":_vm.sureButtonText,"get-container":"body"},on:{"cancel":_vm.handleSave},scopedSlots:_vm._u([{key:"description",fn:function(){return [_c('span',{staticClass:"dialog-mobile__title"},[_vm._v("动态传入参数查询")]),_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":function($event){_vm.dialogVisible = false}}})]},proxy:true}]),model:{value:(_vm.dialogVisible),callback:function ($$v) {_vm.dialogVisible=$$v},expression:"dialogVisible"}},[_c('van-cell-group',_vm._l((_vm.conditionfieldTree.filter(
25476
+ // 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&
25477
+ 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) {
25478
+ _vm.queryParams[index][condition.field] = _vm.getSelectId(data)
25479
+ }},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) {
25480
+ _vm.queryParams[index][condition.field] = _vm.getSelectId(data)
25481
+ }},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e(),(condition.config.alias == 'role')?_c('ht-role-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
25482
+ _vm.queryParams[index][condition.field] = _vm.getSelectId(data)
25483
+ }},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e(),(condition.config.alias == 'job')?_c('ht-job-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
25484
+ _vm.queryParams[index][condition.field] = _vm.getSelectId(data)
25485
+ }},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e(),(condition.config.alias == 'post')?_c('ht-post-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
25486
+ _vm.queryParams[index][condition.field] = _vm.getSelectId(data)
25487
+ }},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e(),(condition.config.alias == 'dimension')?_c('ht-dimension-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
25488
+ _vm.queryParams[index][condition.field] = _vm.getSelectId(data)
25489
+ }},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e()],1):_vm._e(),(condition.controllerType == '5')?_c('div',[_c('ht-custom-dialog',{attrs:{"model-name":condition.config.keyBind,"dialogType":"search","custdialog":{
25490
+ name: '请选择',
25491
+ icon: '',
25492
+ custDialog: {
25493
+ selectNum: 1,
25494
+ conditions: [],
25495
+ mappingConf: [],
25496
+ custQueryJson: [],
25497
+ alias: condition.config.alias,
25498
+ type: 'custDialog',
25499
+ },
25500
+ }},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e()])}),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isShowMoreSearch),expression:"isShowMoreSearch"}],staticClass:"search-btns"},[_c('el-button',{staticStyle:{"margin-left":"20px"},attrs:{"size":"small","type":"primary"},on:{"click":_vm.hideSearch}},[_vm._v("\n 搜索\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.reset}},[_vm._v("重置")])],1)],2)],(_vm.customDialog.style == 2)?_c('van-popover',{staticClass:"custom-dialog-popover",attrs:{"trigger":"click"},scopedSlots:_vm._u([{key:"reference",fn:function(){return [_c('div',{staticClass:"mobile-tree-select"},[(_vm.treeSelectText)?_c('span',{staticClass:"active-text"},[_vm._v("\n "+_vm._s(_vm.treeSelectText)+"\n ")]):_c('span',[_vm._v("请选择"+_vm._s(_vm.leftTreeTitle))]),(_vm.treeSelectText)?_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":function($event){$event.stopPropagation();return _vm.clearTreeSelect($event)}}}):_vm._e()],1)]},proxy:true}],null,false,3189508719),model:{value:(_vm.isSelectTreeShow),callback:function ($$v) {_vm.isSelectTreeShow=$$v},expression:"isSelectTreeShow"}},[_c('div',{staticClass:"custom-dialog-popover_content"},[_c('el-tree',{ref:"combinationTree",attrs:{"data":_vm.combinationTreeData,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","check-on-click-node":true},on:{"node-click":_vm.combiTreeClick}})],1)]):_vm._e(),_c('van-pull-refresh',{on:{"refresh":_vm.onRefresh},model:{value:(_vm.isDownLoading),callback:function ($$v) {_vm.isDownLoading=$$v},expression:"isDownLoading"}},[_c('van-list',{attrs:{"finished":_vm.finished,"finished-text":"没有更多了","offset":20,"immediate-check":false},on:{"load":_vm.loadMore},model:{value:(_vm.isPullLoading),callback:function ($$v) {_vm.isPullLoading=$$v},expression:"isPullLoading"}},_vm._l((_vm.dialogData),function(item,index){return _c('van-cell',{key:index,attrs:{"clickable":""},scopedSlots:_vm._u([{key:"icon",fn:function(){return [_c('van-checkbox',{attrs:{"value":_vm.indexArray(_vm.selectIds, item) > -1,"shape":_vm.customDialog.selectNum === 1 ? 'round' : 'square'},on:{"click":function($event){return _vm.checkboxChange(item)}}})]},proxy:true}],null,true)},[_c('div',{staticClass:"custom-mobile_box"},_vm._l((_vm.sortDisplayfield),function(field){return _c('div',{key:field.field,staticClass:"custom-mobile_box_item"},[_c('label',[_vm._v(_vm._s(field.comment)+":")]),_c('div',[_vm._v(_vm._s(item[field.field]))])])}),0)])}),1)],1)],2),_c('van-action-sheet',{staticClass:"mobile-van-action",attrs:{"cancel-text":_vm.sureButtonText,"get-container":"body"},on:{"cancel":_vm.handleSave},scopedSlots:_vm._u([{key:"description",fn:function(){return [_c('span',{staticClass:"dialog-mobile__title"},[_vm._v("动态传入参数查询")]),_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":function($event){_vm.dialogVisible = false}}})]},proxy:true}]),model:{value:(_vm.dialogVisible),callback:function ($$v) {_vm.dialogVisible=$$v},expression:"dialogVisible"}},[_c('van-cell-group',_vm._l((_vm.conditionfieldTree.filter(
25278
25501
  function (k) { return k.defaultType == '4'; }
25279
- )),function(item,$index){return _c('div',{key:$index},[(item.type != 'date')?_c('van-field',{attrs:{"label":item.comment,"placeholder":'请输入' + item.comment},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e(),(item.type == 'date')?_c('ht-date',{staticStyle:{"width":"100%"},attrs:{"placeholder":'请选择' + item.comment,"format":"yyyy-MM-dd"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e()],1)}),0)],1),_c('van-action-sheet',{staticClass:"mobile-van-action",attrs:{"cancel-text":_vm.sureButtonText,"get-container":"body"},on:{"cancel":_vm.dialogTreeConfirm},scopedSlots:_vm._u([{key:"description",fn:function(){return [_c('span',{staticClass:"dialog-mobile__title"},[_vm._v(_vm._s(_vm.customDialog.name))]),_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":_vm.dialogCancelTree}})]},proxy:true}]),model:{value:(_vm.customDialogShowTree),callback:function ($$v) {_vm.customDialogShowTree=$$v},expression:"customDialogShowTree"}},[_c('el-tree',{ref:"tree",staticStyle:{"width":"100%"},attrs:{"data":_vm.props1,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","show-checkbox":_vm.customDialog.selectNum === -1,"check-on-click-node":true,"check-strictly":false,"lazy":"","load":_vm.loadTree,"default-expanded-keys":_vm.defaultExpandedKeys},on:{"node-click":_vm.treeClick,"check-change":_vm.getChecked}})],1)],1)}
25280
- var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns = []
25502
+ )),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)}
25503
+ var customMobileDialogvue_type_template_id_691dcad9_scoped_true_staticRenderFns = []
25281
25504
 
25282
25505
 
25283
- // CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=1661eebb&scoped=true&
25506
+ // CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=691dcad9&scoped=true&
25284
25507
 
25285
25508
  // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/customMobileDialog.vue?vue&type=script&lang=js&
25286
25509
  //
@@ -25541,6 +25764,122 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
25541
25764
  //
25542
25765
  //
25543
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
+ //
25876
+ //
25877
+ //
25878
+ //
25879
+ //
25880
+ //
25881
+ //
25882
+ //
25544
25883
 
25545
25884
 
25546
25885
 
@@ -25562,10 +25901,17 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
25562
25901
  subIndex: Number,
25563
25902
  sunIndex: Number,
25564
25903
  subPath: String,
25565
- currentSubData: Array
25904
+ currentSubData: Array,
25905
+ dialogConfig: Object,
25906
+ dialogType: String
25566
25907
  },
25567
25908
  data() {
25568
25909
  return {
25910
+ dateType: 'date',
25911
+ currentDate: '',
25912
+ // 当前日期
25913
+ isShowDatePop: false,
25914
+ // 是否显示日期选择控件
25569
25915
  isShowMoreSearch: false,
25570
25916
  treeSelectText: '',
25571
25917
  // 组合树时选中的查询条件
@@ -25645,9 +25991,47 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
25645
25991
  sureButtonText() {
25646
25992
  const selectedText = this.selectIds.length > 0 ? `(${this.selectIds.length})` : '';
25647
25993
  return `${this.$t('ht.common.confirm')}${selectedText}`;
25994
+ },
25995
+ jumpParamKey() {
25996
+ return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
25997
+ },
25998
+ // 是否保存成跳转url参数
25999
+ isHaveJumpUrl() {
26000
+ return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
26001
+ },
26002
+ sortDisplayfield() {
26003
+ return this.displayfield.sort((a, b) => {
26004
+ return a.sort > b.sort ? 1 : -1;
26005
+ });
25648
26006
  }
25649
26007
  },
25650
26008
  methods: {
26009
+ // 获取已选择的选择器数据id
26010
+ getSelectId(data) {
26011
+ if (!data || !data.length) {
26012
+ return '';
26013
+ }
26014
+ let ids = [];
26015
+ data.forEach(item => {
26016
+ ids.push(item.id);
26017
+ });
26018
+ return ids.join(',');
26019
+ },
26020
+ showDate(index, key) {
26021
+ this.dateType = this.conditionBind[index].config.inputFormat.includes('mm:') ? 'datetime' : 'date';
26022
+ this.currentDateData = {
26023
+ index,
26024
+ key
26025
+ };
26026
+ this.currentDate = this.queryParams[index][key] ? new Date(this.queryParams[index][key].replace(/-/g, '/')) : new Date();
26027
+ this.isShowDatePop = true;
26028
+ },
26029
+ // 日期确认
26030
+ confirmFn() {
26031
+ let currentConfig = this.conditionBind[this.currentDateData.index];
26032
+ this.queryParams[this.currentDateData.index][this.currentDateData.key] = this.currentDate.format(currentConfig.config.inputFormat);
26033
+ this.isShowDatePop = false;
26034
+ },
25651
26035
  searchInputChange() {
25652
26036
  if (!this.isShowMoreSearch) {
25653
26037
  this.search(true);
@@ -25693,112 +26077,121 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
25693
26077
  this.search(true);
25694
26078
  },
25695
26079
  showDialog() {
25696
- const this_ = this;
25697
26080
  this.fixedParams = {};
26081
+ // 如果已存在配置信息就不去请求配置信息 直接初始化数据
26082
+ if (this.dialogConfig) {
26083
+ this.initDialog(this.dialogConfig);
26084
+ return;
26085
+ }
25698
26086
  var alias = this.custdialog.custDialog.alias;
25699
26087
  this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
25700
- if (!customDialog || !customDialog.alias) {
25701
- this.$message.error('对话框别名【' + alias + '】不存在!');
25702
- return;
25703
- }
25704
- if (customDialog.style == 1) {
25705
- var displaylist = JSON.parse(customDialog.displayfield);
25706
- this_.nodeKey = displaylist.id;
25707
- }
25708
- if (customDialog.needPage && customDialog.requestType === 'POST') {
25709
- let obj = {};
25710
- this.getLastKeyByPath(obj, customDialog.pageKey, 1);
25711
- this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
25712
- this.getLastKeyByPath(obj, customDialog.totalKey, true);
25713
- const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
25714
- if (exp) {
25715
- const params = JSON.parse(exp);
25716
- if (params.pageBean) {
25717
- this.pagination = {
25718
- ...params.pageBean
25719
- };
25720
- }
26088
+ this.initDialog(customDialog);
26089
+ });
26090
+ },
26091
+ initDialog(customDialog) {
26092
+ let alias = this.custdialog.custDialog.alias;
26093
+ const this_ = this;
26094
+ if (!customDialog || !customDialog.alias) {
26095
+ this.$message.error('对话框别名【' + alias + '】不存在!');
26096
+ return;
26097
+ }
26098
+ if (customDialog.style == 1) {
26099
+ var displaylist = JSON.parse(customDialog.displayfield);
26100
+ this_.nodeKey = displaylist.id;
26101
+ }
26102
+ if (customDialog.needPage && customDialog.requestType === 'POST') {
26103
+ let obj = {};
26104
+ this.getLastKeyByPath(obj, customDialog.pageKey, 1);
26105
+ this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
26106
+ this.getLastKeyByPath(obj, customDialog.totalKey, true);
26107
+ const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
26108
+ if (exp) {
26109
+ const params = JSON.parse(exp);
26110
+ if (params.pageBean) {
26111
+ this.pagination = {
26112
+ ...params.pageBean
26113
+ };
25721
26114
  }
25722
26115
  }
25723
- //对话框按表单字段查询(参数传入的)
25724
- let bindList = this_.custdialog.custDialog.conditions;
25725
- this_.param = []; //绑定的表单字段
25726
- if (bindList.length > 0) {
25727
- bindList.forEach(ele => {
25728
- //绑定表单字段
25729
- if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
25730
- let obj = {};
25731
- obj.field = ele.field;
25732
- obj.bind = ele.bind;
25733
- obj.bindType = ele.bindType;
25734
- this_.param.push(obj);
25735
- }
25736
- // bindType 1 表单字段 2固定 3脚本
25737
- if (ele.defaultType == '3' && ele.bindType === 2) {
25738
- this_.fixedParams[ele.field] = ele.bind || '';
25739
- }
25740
- });
25741
- }
26116
+ }
26117
+ //对话框按表单字段查询(参数传入的)
26118
+ let bindList = this_.custdialog.custDialog.conditions;
26119
+ this_.param = []; //绑定的表单字段
26120
+ if (bindList.length > 0) {
26121
+ bindList.forEach(ele => {
26122
+ //绑定表单字段
26123
+ if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
26124
+ let obj = {};
26125
+ obj.field = ele.field;
26126
+ obj.bind = ele.bind;
26127
+ obj.bindType = ele.bindType;
26128
+ this_.param.push(obj);
26129
+ }
26130
+ // bindType 1 表单字段 2固定 3脚本
26131
+ if (ele.defaultType == '3' && ele.bindType === 2) {
26132
+ this_.fixedParams[ele.field] = ele.bind || '';
26133
+ }
26134
+ });
26135
+ }
25742
26136
 
25743
- //判断对话框查询是否有条件
25744
- let userInputList = JSON.parse(customDialog.conditionfield);
25745
- this_.conditionBind = [];
25746
- let queryParams = [];
25747
- let placeholders = [];
25748
- if (userInputList.length > 0) {
25749
- userInputList.forEach(ele => {
25750
- var obj = {};
25751
- //条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
25752
- if (ele.defaultType == '1') {
25753
- obj[ele.field] = '';
25754
- queryParams.push(obj);
25755
- // queryParams[ele.field] = "";
25756
- this_.conditionBind.push(ele);
25757
- placeholders.push('请输入' + ele.comment);
25758
- }
25759
- if (ele.defaultType == '2' && ele.defaultValue) {
25760
- this_.fixedParams[ele.field] = ele.defaultValue;
25761
- }
25762
- });
25763
- this.$set(this, 'queryParams', queryParams);
25764
- this.$set(this, 'placeholders', placeholders);
25765
- }
25766
- if (customDialog.style == 0 || customDialog.style == 2) {
25767
- //列表
25768
- this_.customDialogShow({
25769
- alias: alias,
25770
- customDialog: customDialog
25771
- });
25772
- } else if (customDialog.style == 1) {
25773
- //树形
25774
- this_.pageParam = {
25775
- alias: alias,
25776
- customDialog: customDialog
25777
- };
25778
- this_.customDialog = customDialog;
25779
- let param = {};
25780
- this_.conditionfieldTree = [];
25781
- //判断是否存在条件
25782
- if (customDialog.conditionfield) {
25783
- this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
25784
- if (this_.conditionfieldTree.length > 0) {
25785
- for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
25786
- //判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
25787
- if (this_.conditionfieldTree[i].defaultType == '4') {
25788
- param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
25789
- }
26137
+ //判断对话框查询是否有条件
26138
+ let userInputList = JSON.parse(customDialog.conditionfield);
26139
+ this_.conditionBind = [];
26140
+ let queryParams = [];
26141
+ let placeholders = [];
26142
+ if (userInputList.length > 0) {
26143
+ userInputList.forEach(ele => {
26144
+ var obj = {};
26145
+ //条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
26146
+ if (ele.defaultType == '1') {
26147
+ obj[ele.field] = '';
26148
+ queryParams.push(obj);
26149
+ // queryParams[ele.field] = "";
26150
+ this_.conditionBind.push(ele);
26151
+ placeholders.push('请输入' + ele.comment);
26152
+ }
26153
+ if (ele.defaultType == '2' && ele.defaultValue) {
26154
+ this_.fixedParams[ele.field] = ele.defaultValue;
26155
+ }
26156
+ });
26157
+ this.$set(this, 'queryParams', queryParams);
26158
+ this.$set(this, 'placeholders', placeholders);
26159
+ }
26160
+ if (customDialog.style == 0 || customDialog.style == 2) {
26161
+ //列表
26162
+ this_.customDialogShow({
26163
+ alias: alias,
26164
+ customDialog: customDialog
26165
+ });
26166
+ } else if (customDialog.style == 1) {
26167
+ //树形
26168
+ this_.pageParam = {
26169
+ alias: alias,
26170
+ customDialog: customDialog
26171
+ };
26172
+ this_.customDialog = customDialog;
26173
+ let param = {};
26174
+ this_.conditionfieldTree = [];
26175
+ //判断是否存在条件
26176
+ if (customDialog.conditionfield) {
26177
+ this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
26178
+ if (this_.conditionfieldTree.length > 0) {
26179
+ for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
26180
+ //判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
26181
+ if (this_.conditionfieldTree[i].defaultType == '4') {
26182
+ param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
25790
26183
  }
25791
26184
  }
25792
26185
  }
25793
- //有动态传入的字段
25794
- if (JSON.stringify(param) != '{}') {
25795
- this_.dialogVisible = true;
25796
- } else {
25797
- //无动态传入的字段
25798
- this_.customDialogTreeShow(this_.pageParam);
25799
- }
25800
26186
  }
25801
- });
26187
+ //有动态传入的字段
26188
+ if (JSON.stringify(param) != '{}') {
26189
+ this_.dialogVisible = true;
26190
+ } else {
26191
+ //无动态传入的字段
26192
+ this_.customDialogTreeShow(this_.pageParam);
26193
+ }
26194
+ }
25802
26195
  },
25803
26196
  treeClick(data) {
25804
26197
  // 单选
@@ -25916,13 +26309,13 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
25916
26309
  }
25917
26310
  // 添加用户id 岗位id 组织id
25918
26311
  try {
25919
- if (this.$requestConfig.getUserId()) {
26312
+ if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
25920
26313
  ctx.userId = this.$requestConfig.getUserId();
25921
26314
  }
25922
- if (this.$requestConfig.getOrgId()) {
26315
+ if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
25923
26316
  ctx.orgId = this.$requestConfig.getOrgId();
25924
26317
  }
25925
- if (this.$requestConfig.getPostId()) {
26318
+ if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
25926
26319
  ctx.postId = this.$requestConfig.getPostId();
25927
26320
  }
25928
26321
  } catch (e) {
@@ -26007,8 +26400,13 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
26007
26400
  this.selectOrgs = this.convertComment2Field(str, field);
26008
26401
  this.custdialog.custDialog.mappingConf.forEach(con => {
26009
26402
  var val = '';
26010
- str.forEach(item => {
26011
- val += item[con.from] + ',';
26403
+ str.forEach((item, index) => {
26404
+ // 此处添加url跳转参数保存逻辑
26405
+ if (this.jumpParamKey && this.isHaveJumpUrl && this.modelName == 'data.' + con['target'][0]) {
26406
+ val += `${item[con.from]}¯${this.jumpParamKey}:${this.selectOrgs[index][this.jumpParamKey]},`;
26407
+ } else {
26408
+ val += item[con.from] + ',';
26409
+ }
26012
26410
  });
26013
26411
  if (this.modelName == 'data.' + con['target'][0]) {
26014
26412
  utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
@@ -26081,6 +26479,19 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
26081
26479
  //用户输入的
26082
26480
  if (this.queryParams.length != 0 && this.queryParams[0] != '') {
26083
26481
  this.conditionBind.forEach((item, index) => {
26482
+ // 日期范围特殊处理
26483
+ if (item.dbType == 'date' && item.condition == 'BETWEEN') {
26484
+ if (this.queryParams[index].startDate && !this.queryParams[index].endDate || !this.queryParams[index].startDate && this.queryParams[index].endDate) {
26485
+ flag = true;
26486
+ this.$message.info('日期范围未填写完整!');
26487
+ return;
26488
+ }
26489
+ if (this.queryParams[index].startDate && this.queryParams[index].endDate) {
26490
+ this.queryParams[index][item.field] = `${this.queryParams[index].startDate},${this.queryParams[index].endDate}`;
26491
+ } else {
26492
+ this.queryParams[index][item.field] = '';
26493
+ }
26494
+ }
26084
26495
  if (this.queryParams[index][item.field]) {
26085
26496
  querys.push({
26086
26497
  property: item.field,
@@ -26129,13 +26540,13 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
26129
26540
  ctx.total = pageBean.pageBean.total;
26130
26541
  // 添加用户id 岗位id 组织id
26131
26542
  try {
26132
- if (this.$requestConfig.getUserId()) {
26543
+ if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
26133
26544
  ctx.userId = this.$requestConfig.getUserId();
26134
26545
  }
26135
- if (this.$requestConfig.getOrgId()) {
26546
+ if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
26136
26547
  ctx.orgId = this.$requestConfig.getOrgId();
26137
26548
  }
26138
- if (this.$requestConfig.getPostId()) {
26549
+ if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
26139
26550
  ctx.postId = this.$requestConfig.getPostId();
26140
26551
  }
26141
26552
  } catch (e) {
@@ -26163,6 +26574,8 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
26163
26574
  } else {
26164
26575
  param.pageBean.pageSize = -1;
26165
26576
  }
26577
+ // 日期格式的 改成数组
26578
+ // this.changeDateFormat(param)
26166
26579
  //构造请求的参数
26167
26580
  let requestParam = {
26168
26581
  pageBean: param,
@@ -26198,6 +26611,15 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
26198
26611
  }
26199
26612
  }
26200
26613
  },
26614
+ changeDateFormat(param) {
26615
+ let dateValidate1 = /^\d{4}\-\d{2}\-\d{2}$/;
26616
+ 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$/;
26617
+ Object.keys(param).forEach(key => {
26618
+ if (param[key] && typeof param[key] == 'string' && param[key].includes(',') && (dateValidate1.test(param[key].split(',')[0]) || dateValidate2.test(param[key].split(',')[0]))) {
26619
+ param[key] = param[key].split(',');
26620
+ }
26621
+ });
26622
+ },
26201
26623
  getSearchValueByKey() {
26202
26624
  let queryParamsObj = {};
26203
26625
  if (this.queryParams.length > 0) {
@@ -26396,13 +26818,26 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
26396
26818
  }
26397
26819
  }
26398
26820
  }
26821
+ // 如果是查询中使用的对话框
26822
+ if (this.dialogType == 'search') {
26823
+ let returnVal = [];
26824
+ str.forEach(item => {
26825
+ returnVal.push(decodeURIComponent(item[this.modelName]));
26826
+ });
26827
+ this.$emit('updateInput', returnVal.join(','));
26828
+ return;
26829
+ }
26399
26830
  const pInst = utils["a" /* default */].getOnlineFormInstance(this);
26400
26831
  this.custdialog.custDialog.mappingConf.forEach(con => {
26401
26832
  var val = '';
26402
26833
  var from = con.from.toLowerCase();
26403
26834
  str.forEach(item => {
26404
26835
  if (item) {
26405
- val += decodeURIComponent(item[from]) + ',';
26836
+ if (this.jumpParamKey && this.isHaveJumpUrl && this.modelName == 'data.' + con['target'][0]) {
26837
+ val += `${decodeURIComponent(item[from])}¯${this.jumpParamKey}:${item[this.jumpParamKey]},`;
26838
+ } else {
26839
+ val += decodeURIComponent(item[from]) + ',';
26840
+ }
26406
26841
  }
26407
26842
  });
26408
26843
  if (this.modelName == 'data.' + con['target'][0]) {
@@ -26439,20 +26874,6 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
26439
26874
  }
26440
26875
  }
26441
26876
  },
26442
- // getSelected() {
26443
- // let arr = []
26444
- // this.selectIds.forEach((item) => {
26445
- // debugger
26446
- // let obj = this.dialogData.find((sub) => {
26447
- // return sub.id_ === item
26448
- // })
26449
- // if (obj) {
26450
- // arr.push(obj)
26451
- // }
26452
- // })
26453
-
26454
- // return arr
26455
- // },
26456
26877
  calacInputSuffixHeight() {
26457
26878
  this.$emit('calacInputSuffixHeight');
26458
26879
  },
@@ -26654,11 +27075,11 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
26654
27075
  });
26655
27076
  // CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=script&lang=js&
26656
27077
  /* harmony default export */ var src_customMobileDialogvue_type_script_lang_js_ = (customMobileDialogvue_type_script_lang_js_);
26657
- // EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=1661eebb&prod&lang=scss&scoped=true&
26658
- var customMobileDialogvue_type_style_index_0_id_1661eebb_prod_lang_scss_scoped_true_ = __webpack_require__("de6a");
27078
+ // EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=691dcad9&prod&lang=scss&scoped=true&
27079
+ var customMobileDialogvue_type_style_index_0_id_691dcad9_prod_lang_scss_scoped_true_ = __webpack_require__("212d");
26659
27080
 
26660
- // EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=1661eebb&prod&lang=scss&
26661
- var customMobileDialogvue_type_style_index_1_id_1661eebb_prod_lang_scss_ = __webpack_require__("49f9");
27081
+ // EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=691dcad9&prod&lang=scss&
27082
+ var customMobileDialogvue_type_style_index_1_id_691dcad9_prod_lang_scss_ = __webpack_require__("d058");
26662
27083
 
26663
27084
  // CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue
26664
27085
 
@@ -26672,11 +27093,11 @@ var customMobileDialogvue_type_style_index_1_id_1661eebb_prod_lang_scss_ = __web
26672
27093
 
26673
27094
  var customMobileDialog_component = normalizeComponent(
26674
27095
  src_customMobileDialogvue_type_script_lang_js_,
26675
- customMobileDialogvue_type_template_id_1661eebb_scoped_true_render,
26676
- customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns,
27096
+ customMobileDialogvue_type_template_id_691dcad9_scoped_true_render,
27097
+ customMobileDialogvue_type_template_id_691dcad9_scoped_true_staticRenderFns,
26677
27098
  false,
26678
27099
  null,
26679
- "1661eebb",
27100
+ "691dcad9",
26680
27101
  null
26681
27102
 
26682
27103
  )
@@ -26816,6 +27237,17 @@ var customMobileDialog_component = normalizeComponent(
26816
27237
  //
26817
27238
  //
26818
27239
  //
27240
+ //
27241
+ //
27242
+ //
27243
+ //
27244
+ //
27245
+ //
27246
+ //
27247
+ //
27248
+ //
27249
+ //
27250
+ //
26819
27251
 
26820
27252
 
26821
27253
 
@@ -26847,10 +27279,17 @@ var customMobileDialog_component = normalizeComponent(
26847
27279
  subIndex: Number,
26848
27280
  sunIndex: Number,
26849
27281
  subPath: String,
26850
- currentSubData: Array
27282
+ currentSubData: Array,
27283
+ dialogType: {
27284
+ // search表示在查询条件使用 form表示在表单中使用
27285
+ type: String,
27286
+ default: 'form'
27287
+ }
26851
27288
  },
26852
27289
  data() {
26853
27290
  return {
27291
+ dialogConfig: null,
27292
+ // 对话框配置信息
26854
27293
  isEditInputShow: false,
26855
27294
  customValue: '',
26856
27295
  defualtTooltipplacement: 'bottom',
@@ -26899,9 +27338,21 @@ var customMobileDialog_component = normalizeComponent(
26899
27338
  }
26900
27339
  let result = [];
26901
27340
  nameAry.forEach(m => {
26902
- let n = {
26903
- value: m
26904
- };
27341
+ // 带url跳转参数的 使用上横杆区分参数 值格式为 名称¯跳转key:跳转value
27342
+ let n = {};
27343
+ if (m.includes('¯') && m.split('¯')[1]) {
27344
+ n.value = m.split('¯')[0];
27345
+ let jumpParamStr = m.split('¯')[1];
27346
+ if (jumpParamStr) {
27347
+ let jumpParam = jumpParamStr.split(':');
27348
+ n.jumpParamKey = jumpParam[0];
27349
+ n.jumpParamValue = jumpParam[1];
27350
+ }
27351
+ } else {
27352
+ n = {
27353
+ value: m
27354
+ };
27355
+ }
26905
27356
  result.push(n);
26906
27357
  });
26907
27358
  return result;
@@ -26909,8 +27360,16 @@ var customMobileDialog_component = normalizeComponent(
26909
27360
  },
26910
27361
  isAllowCustom() {
26911
27362
  return this.custdialog && this.custdialog.allowInput;
27363
+ },
27364
+ // 是否展示可跳转颜色
27365
+ isSrcColor() {
27366
+ return this.dialogConfig && this.dialogType !== 'search' && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
26912
27367
  }
26913
27368
  },
27369
+ created() {
27370
+ // 获取对话框配置,看是否有配置url跳转
27371
+ this.getDialogConfig();
27372
+ },
26914
27373
  mounted() {
26915
27374
  const {
26916
27375
  subScopeEl
@@ -26929,6 +27388,63 @@ var customMobileDialog_component = normalizeComponent(
26929
27388
  this.calacInputSuffixWidth();
26930
27389
  },
26931
27390
  methods: {
27391
+ // 跳转url页面
27392
+ jumpUrl(item) {
27393
+ if (!this.isSrcColor) {
27394
+ if (this.inputWriteable) {
27395
+ this.showEditInput();
27396
+ }
27397
+ return;
27398
+ }
27399
+ let url = this.isMobile ? this.dialogConfig.mobileUrl : this.dialogConfig.pcUrl;
27400
+ // 获取通用token 和 url翻译
27401
+ Promise.all([this.$requestConfig.getThreeTreeToken(), this.transformUrl(url)]).then(res => {
27402
+ if (res[0] && res[0].code == 200) {
27403
+ let token = res[0].value;
27404
+ let endUrl = res[1];
27405
+ // 拼接参数 token和参数
27406
+ if (endUrl.indexOf('?') == -1) {
27407
+ endUrl += `?bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
27408
+ } else {
27409
+ endUrl += `&bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
27410
+ }
27411
+ window.open(endUrl);
27412
+ } else {
27413
+ this.$message.info(res.message || '获取token失败!');
27414
+ }
27415
+ });
27416
+ },
27417
+ // 替换url中域名通配符 需要发送接口
27418
+ transformUrl(url) {
27419
+ return new Promise(resolve => {
27420
+ var reg = /(\$\{(\w+)\})/;
27421
+ var match = reg.exec(url);
27422
+ if (match) {
27423
+ let alias = match[2];
27424
+ if (alias) {
27425
+ this.$requestConfig.getHostByAlias(alias).then(res => {
27426
+ if (res && res.value && res.value.rootAddress) {
27427
+ resolve(url.replace(match[1], res.value.rootAddress));
27428
+ } else {
27429
+ resolve(url);
27430
+ }
27431
+ });
27432
+ } else {
27433
+ resolve(url);
27434
+ }
27435
+ } else {
27436
+ resolve(url);
27437
+ }
27438
+ });
27439
+ },
27440
+ // 获取对话框配置
27441
+ getDialogConfig() {
27442
+ if (this.custdialog && this.custdialog.custDialog && this.custdialog.custDialog.alias) this.$requestConfig.getCustomDialogByAlias(this.custdialog.custDialog.alias).then(response => {
27443
+ if (response) {
27444
+ this.dialogConfig = response;
27445
+ }
27446
+ });
27447
+ },
26932
27448
  editInputBlur() {
26933
27449
  this.$emit('input', this.customValue);
26934
27450
  this.isEditInputShow = false;
@@ -27003,8 +27519,8 @@ var customMobileDialog_component = normalizeComponent(
27003
27519
  });
27004
27520
  // CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=script&lang=js&
27005
27521
  /* harmony default export */ var packages_CustomDialog_src_mainvue_type_script_lang_js_ = (CustomDialog_src_mainvue_type_script_lang_js_);
27006
- // EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=37fe7c68&prod&lang=scss&scoped=true&
27007
- var mainvue_type_style_index_0_id_37fe7c68_prod_lang_scss_scoped_true_ = __webpack_require__("bf72");
27522
+ // EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=7a0ef38c&prod&lang=scss&scoped=true&
27523
+ var mainvue_type_style_index_0_id_7a0ef38c_prod_lang_scss_scoped_true_ = __webpack_require__("8502");
27008
27524
 
27009
27525
  // CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue
27010
27526
 
@@ -27017,11 +27533,11 @@ var mainvue_type_style_index_0_id_37fe7c68_prod_lang_scss_scoped_true_ = __webpa
27017
27533
 
27018
27534
  var CustomDialog_src_main_component = normalizeComponent(
27019
27535
  packages_CustomDialog_src_mainvue_type_script_lang_js_,
27020
- mainvue_type_template_id_37fe7c68_scoped_true_render,
27021
- mainvue_type_template_id_37fe7c68_scoped_true_staticRenderFns,
27536
+ mainvue_type_template_id_7a0ef38c_scoped_true_render,
27537
+ mainvue_type_template_id_7a0ef38c_scoped_true_staticRenderFns,
27022
27538
  false,
27023
27539
  null,
27024
- "37fe7c68",
27540
+ "7a0ef38c",
27025
27541
  null
27026
27542
 
27027
27543
  )
@@ -41661,12 +42177,12 @@ var GlobalValidate_component = normalizeComponent(
41661
42177
  )
41662
42178
 
41663
42179
  /* harmony default export */ var GlobalValidate = (GlobalValidate_component.exports);
41664
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/Global/src/GlobalQuery.vue?vue&type=template&id=0478065e&
41665
- var GlobalQueryvue_type_template_id_0478065e_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span')}
41666
- var GlobalQueryvue_type_template_id_0478065e_staticRenderFns = []
42180
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/Global/src/GlobalQuery.vue?vue&type=template&id=c61b6e10&
42181
+ var GlobalQueryvue_type_template_id_c61b6e10_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span')}
42182
+ var GlobalQueryvue_type_template_id_c61b6e10_staticRenderFns = []
41667
42183
 
41668
42184
 
41669
- // CONCATENATED MODULE: ./packages/Global/src/GlobalQuery.vue?vue&type=template&id=0478065e&
42185
+ // CONCATENATED MODULE: ./packages/Global/src/GlobalQuery.vue?vue&type=template&id=c61b6e10&
41670
42186
 
41671
42187
  // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/Global/src/GlobalQuery.vue?vue&type=script&lang=js&
41672
42188
  //
@@ -41722,7 +42238,8 @@ var GlobalQueryvue_type_template_id_0478065e_staticRenderFns = []
41722
42238
  //子表
41723
42239
  const triggerPath = item.triggerField.split('.');
41724
42240
  const triggerField = triggerPath[triggerPath.length - 1];
41725
- _this.subOldValueMap[item.subPath] = [];
42241
+ // 修复子表初始化时会触发关联查询的问题
42242
+ _this.subOldValueMap[item.subPath] = JSON.parse(JSON.stringify(utils["a" /* default */].getValueByPath(_this.formInst, 'data.' + item.subPath))) || [];
41726
42243
  item.triggerPath = triggerPath;
41727
42244
  item.triggerField = triggerField;
41728
42245
  item.resultBind = resultBind;
@@ -41844,8 +42361,8 @@ var GlobalQueryvue_type_template_id_0478065e_staticRenderFns = []
41844
42361
 
41845
42362
  var GlobalQuery_component = normalizeComponent(
41846
42363
  src_GlobalQueryvue_type_script_lang_js_,
41847
- GlobalQueryvue_type_template_id_0478065e_render,
41848
- GlobalQueryvue_type_template_id_0478065e_staticRenderFns,
42364
+ GlobalQueryvue_type_template_id_c61b6e10_render,
42365
+ GlobalQueryvue_type_template_id_c61b6e10_staticRenderFns,
41849
42366
  false,
41850
42367
  null,
41851
42368
  null,
@@ -48967,6 +49484,13 @@ if (typeof window !== 'undefined' && window.Vue) {
48967
49484
 
48968
49485
  /***/ }),
48969
49486
 
49487
+ /***/ "fcc0":
49488
+ /***/ (function(module, exports, __webpack_require__) {
49489
+
49490
+ // extracted by mini-css-extract-plugin
49491
+
49492
+ /***/ }),
49493
+
48970
49494
  /***/ "fd19":
48971
49495
  /***/ (function(module, exports, __webpack_require__) {
48972
49496