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.
- package/lib/three-trees-ui.common.js +920 -396
- package/lib/three-trees-ui.css +1 -1
- package/lib/three-trees-ui.umd.js +920 -396
- package/lib/three-trees-ui.umd.min.js +1 -1
- package/package.json +1 -1
- package/packages/CustomDialog/src/customDialog.vue +392 -153
- package/packages/CustomDialog/src/customMobileDialog.vue +448 -155
- package/packages/CustomDialog/src/main.vue +120 -5
- package/packages/DimensionSelector/src/main.vue +2 -0
- package/packages/Global/src/GlobalQuery.vue +10 -1
|
@@ -1643,6 +1643,13 @@ const btnList = [{
|
|
|
1643
1643
|
|
|
1644
1644
|
/***/ }),
|
|
1645
1645
|
|
|
1646
|
+
/***/ "0c48":
|
|
1647
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1648
|
+
|
|
1649
|
+
// extracted by mini-css-extract-plugin
|
|
1650
|
+
|
|
1651
|
+
/***/ }),
|
|
1652
|
+
|
|
1646
1653
|
/***/ "0edb":
|
|
1647
1654
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1648
1655
|
|
|
@@ -1852,6 +1859,13 @@ const SubPagination = {
|
|
|
1852
1859
|
|
|
1853
1860
|
/***/ }),
|
|
1854
1861
|
|
|
1862
|
+
/***/ "18d6":
|
|
1863
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1864
|
+
|
|
1865
|
+
// extracted by mini-css-extract-plugin
|
|
1866
|
+
|
|
1867
|
+
/***/ }),
|
|
1868
|
+
|
|
1855
1869
|
/***/ "1a07":
|
|
1856
1870
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1857
1871
|
|
|
@@ -1870,31 +1884,35 @@ const SubPagination = {
|
|
|
1870
1884
|
|
|
1871
1885
|
/***/ }),
|
|
1872
1886
|
|
|
1873
|
-
/***/ "
|
|
1887
|
+
/***/ "1ccc":
|
|
1874
1888
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1875
1889
|
|
|
1876
1890
|
// extracted by mini-css-extract-plugin
|
|
1877
1891
|
|
|
1878
1892
|
/***/ }),
|
|
1879
1893
|
|
|
1880
|
-
/***/ "
|
|
1894
|
+
/***/ "200a":
|
|
1881
1895
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1882
1896
|
|
|
1883
1897
|
// extracted by mini-css-extract-plugin
|
|
1884
1898
|
|
|
1885
1899
|
/***/ }),
|
|
1886
1900
|
|
|
1887
|
-
/***/ "
|
|
1901
|
+
/***/ "20da":
|
|
1888
1902
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1889
1903
|
|
|
1890
1904
|
// extracted by mini-css-extract-plugin
|
|
1891
1905
|
|
|
1892
1906
|
/***/ }),
|
|
1893
1907
|
|
|
1894
|
-
/***/ "
|
|
1895
|
-
/***/ (function(module,
|
|
1908
|
+
/***/ "212d":
|
|
1909
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1910
|
+
|
|
1911
|
+
"use strict";
|
|
1912
|
+
/* 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");
|
|
1913
|
+
/* 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__);
|
|
1914
|
+
/* unused harmony reexport * */
|
|
1896
1915
|
|
|
1897
|
-
// extracted by mini-css-extract-plugin
|
|
1898
1916
|
|
|
1899
1917
|
/***/ }),
|
|
1900
1918
|
|
|
@@ -2056,13 +2074,6 @@ module.exports = require("vuedraggable");
|
|
|
2056
2074
|
|
|
2057
2075
|
/***/ }),
|
|
2058
2076
|
|
|
2059
|
-
/***/ "333d":
|
|
2060
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2061
|
-
|
|
2062
|
-
// extracted by mini-css-extract-plugin
|
|
2063
|
-
|
|
2064
|
-
/***/ }),
|
|
2065
|
-
|
|
2066
2077
|
/***/ "33ce":
|
|
2067
2078
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2068
2079
|
|
|
@@ -2803,6 +2814,17 @@ Formulas.install = Vue => {
|
|
|
2803
2814
|
/* unused harmony reexport * */
|
|
2804
2815
|
|
|
2805
2816
|
|
|
2817
|
+
/***/ }),
|
|
2818
|
+
|
|
2819
|
+
/***/ "3de0":
|
|
2820
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2821
|
+
|
|
2822
|
+
"use strict";
|
|
2823
|
+
/* 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");
|
|
2824
|
+
/* 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__);
|
|
2825
|
+
/* unused harmony reexport * */
|
|
2826
|
+
|
|
2827
|
+
|
|
2806
2828
|
/***/ }),
|
|
2807
2829
|
|
|
2808
2830
|
/***/ "3e5b":
|
|
@@ -2893,17 +2915,6 @@ Formulas.install = Vue => {
|
|
|
2893
2915
|
|
|
2894
2916
|
// extracted by mini-css-extract-plugin
|
|
2895
2917
|
|
|
2896
|
-
/***/ }),
|
|
2897
|
-
|
|
2898
|
-
/***/ "49f9":
|
|
2899
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2900
|
-
|
|
2901
|
-
"use strict";
|
|
2902
|
-
/* 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");
|
|
2903
|
-
/* 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__);
|
|
2904
|
-
/* unused harmony reexport * */
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
2918
|
/***/ }),
|
|
2908
2919
|
|
|
2909
2920
|
/***/ "4a17":
|
|
@@ -4125,6 +4136,13 @@ const dict = {
|
|
|
4125
4136
|
|
|
4126
4137
|
/***/ }),
|
|
4127
4138
|
|
|
4139
|
+
/***/ "6ebe":
|
|
4140
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4141
|
+
|
|
4142
|
+
// extracted by mini-css-extract-plugin
|
|
4143
|
+
|
|
4144
|
+
/***/ }),
|
|
4145
|
+
|
|
4128
4146
|
/***/ "6f28":
|
|
4129
4147
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4130
4148
|
|
|
@@ -4232,13 +4250,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4232
4250
|
|
|
4233
4251
|
/***/ }),
|
|
4234
4252
|
|
|
4235
|
-
/***/ "7c6e":
|
|
4236
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4237
|
-
|
|
4238
|
-
// extracted by mini-css-extract-plugin
|
|
4239
|
-
|
|
4240
|
-
/***/ }),
|
|
4241
|
-
|
|
4242
4253
|
/***/ "7d0a":
|
|
4243
4254
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4244
4255
|
|
|
@@ -4266,17 +4277,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4266
4277
|
|
|
4267
4278
|
// extracted by mini-css-extract-plugin
|
|
4268
4279
|
|
|
4269
|
-
/***/ }),
|
|
4270
|
-
|
|
4271
|
-
/***/ "7ff9":
|
|
4272
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4273
|
-
|
|
4274
|
-
"use strict";
|
|
4275
|
-
/* 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");
|
|
4276
|
-
/* 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__);
|
|
4277
|
-
/* unused harmony reexport * */
|
|
4278
|
-
|
|
4279
|
-
|
|
4280
4280
|
/***/ }),
|
|
4281
4281
|
|
|
4282
4282
|
/***/ "8262":
|
|
@@ -4317,6 +4317,17 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4317
4317
|
|
|
4318
4318
|
// extracted by mini-css-extract-plugin
|
|
4319
4319
|
|
|
4320
|
+
/***/ }),
|
|
4321
|
+
|
|
4322
|
+
/***/ "8502":
|
|
4323
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4324
|
+
|
|
4325
|
+
"use strict";
|
|
4326
|
+
/* 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");
|
|
4327
|
+
/* 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__);
|
|
4328
|
+
/* unused harmony reexport * */
|
|
4329
|
+
|
|
4330
|
+
|
|
4320
4331
|
/***/ }),
|
|
4321
4332
|
|
|
4322
4333
|
/***/ "8728":
|
|
@@ -4712,14 +4723,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
4712
4723
|
/***/ "9224":
|
|
4713
4724
|
/***/ (function(module) {
|
|
4714
4725
|
|
|
4715
|
-
module.exports = JSON.parse("{\"a\":\"1.0.
|
|
4716
|
-
|
|
4717
|
-
/***/ }),
|
|
4718
|
-
|
|
4719
|
-
/***/ "923d":
|
|
4720
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4721
|
-
|
|
4722
|
-
// extracted by mini-css-extract-plugin
|
|
4726
|
+
module.exports = JSON.parse("{\"a\":\"1.0.9\"}");
|
|
4723
4727
|
|
|
4724
4728
|
/***/ }),
|
|
4725
4729
|
|
|
@@ -4851,13 +4855,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHoAAABMCAYAAACi
|
|
|
4851
4855
|
|
|
4852
4856
|
/***/ }),
|
|
4853
4857
|
|
|
4854
|
-
/***/ "a707":
|
|
4855
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4856
|
-
|
|
4857
|
-
// extracted by mini-css-extract-plugin
|
|
4858
|
-
|
|
4859
|
-
/***/ }),
|
|
4860
|
-
|
|
4861
4858
|
/***/ "a751":
|
|
4862
4859
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4863
4860
|
|
|
@@ -6435,17 +6432,6 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
|
|
|
6435
6432
|
|
|
6436
6433
|
// extracted by mini-css-extract-plugin
|
|
6437
6434
|
|
|
6438
|
-
/***/ }),
|
|
6439
|
-
|
|
6440
|
-
/***/ "bf72":
|
|
6441
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6442
|
-
|
|
6443
|
-
"use strict";
|
|
6444
|
-
/* 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");
|
|
6445
|
-
/* 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__);
|
|
6446
|
-
/* unused harmony reexport * */
|
|
6447
|
-
|
|
6448
|
-
|
|
6449
6435
|
/***/ }),
|
|
6450
6436
|
|
|
6451
6437
|
/***/ "c0a9":
|
|
@@ -6464,17 +6450,6 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
|
|
|
6464
6450
|
|
|
6465
6451
|
module.exports = require("moment");
|
|
6466
6452
|
|
|
6467
|
-
/***/ }),
|
|
6468
|
-
|
|
6469
|
-
/***/ "c33b":
|
|
6470
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6471
|
-
|
|
6472
|
-
"use strict";
|
|
6473
|
-
/* 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");
|
|
6474
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_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__);
|
|
6475
|
-
/* unused harmony reexport * */
|
|
6476
|
-
|
|
6477
|
-
|
|
6478
6453
|
/***/ }),
|
|
6479
6454
|
|
|
6480
6455
|
/***/ "c429":
|
|
@@ -6632,6 +6607,17 @@ module.exports = require("axios");
|
|
|
6632
6607
|
|
|
6633
6608
|
// extracted by mini-css-extract-plugin
|
|
6634
6609
|
|
|
6610
|
+
/***/ }),
|
|
6611
|
+
|
|
6612
|
+
/***/ "d058":
|
|
6613
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6614
|
+
|
|
6615
|
+
"use strict";
|
|
6616
|
+
/* 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");
|
|
6617
|
+
/* 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__);
|
|
6618
|
+
/* unused harmony reexport * */
|
|
6619
|
+
|
|
6620
|
+
|
|
6635
6621
|
/***/ }),
|
|
6636
6622
|
|
|
6637
6623
|
/***/ "d071":
|
|
@@ -7159,23 +7145,23 @@ module.exports = require("deepmerge");
|
|
|
7159
7145
|
|
|
7160
7146
|
/***/ }),
|
|
7161
7147
|
|
|
7162
|
-
/***/ "
|
|
7148
|
+
/***/ "dc81":
|
|
7163
7149
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7164
7150
|
|
|
7165
7151
|
"use strict";
|
|
7166
|
-
/* harmony import */ var
|
|
7167
|
-
/* harmony import */ var
|
|
7152
|
+
/* 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");
|
|
7153
|
+
/* 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__);
|
|
7168
7154
|
/* unused harmony reexport * */
|
|
7169
7155
|
|
|
7170
7156
|
|
|
7171
7157
|
/***/ }),
|
|
7172
7158
|
|
|
7173
|
-
/***/ "
|
|
7159
|
+
/***/ "dccc":
|
|
7174
7160
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7175
7161
|
|
|
7176
7162
|
"use strict";
|
|
7177
|
-
/* harmony import */ var
|
|
7178
|
-
/* harmony import */ var
|
|
7163
|
+
/* 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");
|
|
7164
|
+
/* 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__);
|
|
7179
7165
|
/* unused harmony reexport * */
|
|
7180
7166
|
|
|
7181
7167
|
|
|
@@ -7272,6 +7258,13 @@ module.exports = require("deepmerge");
|
|
|
7272
7258
|
|
|
7273
7259
|
/***/ }),
|
|
7274
7260
|
|
|
7261
|
+
/***/ "e902":
|
|
7262
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
7263
|
+
|
|
7264
|
+
// extracted by mini-css-extract-plugin
|
|
7265
|
+
|
|
7266
|
+
/***/ }),
|
|
7267
|
+
|
|
7275
7268
|
/***/ "eab7":
|
|
7276
7269
|
/***/ (function(module, exports, __webpack_require__) {
|
|
7277
7270
|
|
|
@@ -22483,8 +22476,8 @@ PostSelector_src_main.install = function (Vue) {
|
|
|
22483
22476
|
Vue.component(PostSelector_src_main.name, PostSelector_src_main);
|
|
22484
22477
|
};
|
|
22485
22478
|
/* harmony default export */ var PostSelector = (PostSelector_src_main);
|
|
22486
|
-
// 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=
|
|
22487
|
-
var
|
|
22479
|
+
// 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&
|
|
22480
|
+
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:[
|
|
22488
22481
|
'inputs',
|
|
22489
22482
|
_vm.formInputsDisplay == 'block'
|
|
22490
22483
|
? 'ht-form-inputs__block'
|
|
@@ -22499,10 +22492,10 @@ var mainvue_type_template_id_10681225_scoped_true_render = function () {var _vm=
|
|
|
22499
22492
|
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){
|
|
22500
22493
|
var select = ref.select;
|
|
22501
22494
|
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()}
|
|
22502
|
-
var
|
|
22495
|
+
var mainvue_type_template_id_8015cf1e_scoped_true_staticRenderFns = []
|
|
22503
22496
|
|
|
22504
22497
|
|
|
22505
|
-
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=template&id=
|
|
22498
|
+
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=template&id=8015cf1e&scoped=true&
|
|
22506
22499
|
|
|
22507
22500
|
// 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&
|
|
22508
22501
|
//
|
|
@@ -22761,6 +22754,8 @@ var mainvue_type_template_id_10681225_scoped_true_staticRenderFns = []
|
|
|
22761
22754
|
if (this.config.hasOwnProperty('demName')) {
|
|
22762
22755
|
utils["a" /* default */].setValueByConfigKey(this, this.config, 'demName', demNameAry.join(','));
|
|
22763
22756
|
}
|
|
22757
|
+
} else {
|
|
22758
|
+
this.$emit('change', newVal);
|
|
22764
22759
|
}
|
|
22765
22760
|
// 通过valueChange事件发布值变更消息
|
|
22766
22761
|
this.$emit('valueChange', ary.join(','), newVal);
|
|
@@ -22890,8 +22885,8 @@ var mainvue_type_template_id_10681225_scoped_true_staticRenderFns = []
|
|
|
22890
22885
|
});
|
|
22891
22886
|
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=script&lang=js&
|
|
22892
22887
|
/* harmony default export */ var packages_DimensionSelector_src_mainvue_type_script_lang_js_ = (DimensionSelector_src_mainvue_type_script_lang_js_);
|
|
22893
|
-
// EXTERNAL MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=style&index=0&id=
|
|
22894
|
-
var
|
|
22888
|
+
// EXTERNAL MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=style&index=0&id=8015cf1e&prod&lang=scss&scoped=true&
|
|
22889
|
+
var mainvue_type_style_index_0_id_8015cf1e_prod_lang_scss_scoped_true_ = __webpack_require__("dc81");
|
|
22895
22890
|
|
|
22896
22891
|
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue
|
|
22897
22892
|
|
|
@@ -22904,11 +22899,11 @@ var mainvue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true_ = __webpa
|
|
|
22904
22899
|
|
|
22905
22900
|
var DimensionSelector_src_main_component = normalizeComponent(
|
|
22906
22901
|
packages_DimensionSelector_src_mainvue_type_script_lang_js_,
|
|
22907
|
-
|
|
22908
|
-
|
|
22902
|
+
mainvue_type_template_id_8015cf1e_scoped_true_render,
|
|
22903
|
+
mainvue_type_template_id_8015cf1e_scoped_true_staticRenderFns,
|
|
22909
22904
|
false,
|
|
22910
22905
|
null,
|
|
22911
|
-
"
|
|
22906
|
+
"8015cf1e",
|
|
22912
22907
|
null
|
|
22913
22908
|
|
|
22914
22909
|
)
|
|
@@ -23536,8 +23531,8 @@ Dialog_src_main.install = function (Vue) {
|
|
|
23536
23531
|
Vue.component(Dialog_src_main.name, Dialog_src_main);
|
|
23537
23532
|
};
|
|
23538
23533
|
/* harmony default export */ var Dialog = (Dialog_src_main);
|
|
23539
|
-
// 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=
|
|
23540
|
-
var
|
|
23534
|
+
// 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&
|
|
23535
|
+
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:({
|
|
23541
23536
|
right: _vm.inputSuffixWidth - 1 + 'px',
|
|
23542
23537
|
width: 'auto!important',
|
|
23543
23538
|
height: _vm.inputSuffixHeight - 4 + 'px',
|
|
@@ -23546,11 +23541,11 @@ var mainvue_type_template_id_37fe7c68_scoped_true_render = function () {var _vm=
|
|
|
23546
23541
|
: 'el-input__icon icon-duihuakuang',style:({
|
|
23547
23542
|
fontSize: '17px',
|
|
23548
23543
|
lineHeight: _vm.inputSuffixHeight + 'px',
|
|
23549
|
-
})}),_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)}
|
|
23550
|
-
var
|
|
23544
|
+
})}),_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)}
|
|
23545
|
+
var mainvue_type_template_id_7a0ef38c_scoped_true_staticRenderFns = []
|
|
23551
23546
|
|
|
23552
23547
|
|
|
23553
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=
|
|
23548
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=7a0ef38c&scoped=true&
|
|
23554
23549
|
|
|
23555
23550
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.js
|
|
23556
23551
|
|
|
@@ -23672,19 +23667,35 @@ var mainvue_type_template_id_37fe7c68_scoped_true_staticRenderFns = []
|
|
|
23672
23667
|
}
|
|
23673
23668
|
}
|
|
23674
23669
|
});
|
|
23675
|
-
// 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=
|
|
23676
|
-
var
|
|
23677
|
-
|
|
23678
|
-
|
|
23679
|
-
|
|
23680
|
-
|
|
23681
|
-
|
|
23682
|
-
|
|
23683
|
-
|
|
23684
|
-
|
|
23685
|
-
|
|
23686
|
-
|
|
23687
|
-
|
|
23670
|
+
// 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&
|
|
23671
|
+
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) {
|
|
23672
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23673
|
+
}},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) {
|
|
23674
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23675
|
+
}},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e(),(condition.config.alias == 'role')?_c('ht-role-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23676
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23677
|
+
}},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e(),(condition.config.alias == 'job')?_c('ht-job-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23678
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23679
|
+
}},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e(),(condition.config.alias == 'post')?_c('ht-post-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23680
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23681
|
+
}},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e(),(condition.config.alias == 'dimension')?_c('ht-dimension-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23682
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23683
|
+
}},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e()],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":{
|
|
23684
|
+
name: '请选择',
|
|
23685
|
+
icon: '',
|
|
23686
|
+
custDialog: {
|
|
23687
|
+
selectNum: 1,
|
|
23688
|
+
conditions: [],
|
|
23689
|
+
mappingConf: [],
|
|
23690
|
+
custQueryJson: [],
|
|
23691
|
+
alias: condition.config.alias,
|
|
23692
|
+
type: 'custDialog',
|
|
23693
|
+
},
|
|
23694
|
+
}},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)}
|
|
23695
|
+
var customDialogvue_type_template_id_f66484a2_scoped_true_staticRenderFns = []
|
|
23696
|
+
|
|
23697
|
+
|
|
23698
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=f66484a2&scoped=true&
|
|
23688
23699
|
|
|
23689
23700
|
// EXTERNAL MODULE: external "jquery"
|
|
23690
23701
|
var external_jquery_ = __webpack_require__("c5e1");
|
|
@@ -23993,6 +24004,116 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
23993
24004
|
//
|
|
23994
24005
|
//
|
|
23995
24006
|
//
|
|
24007
|
+
//
|
|
24008
|
+
//
|
|
24009
|
+
//
|
|
24010
|
+
//
|
|
24011
|
+
//
|
|
24012
|
+
//
|
|
24013
|
+
//
|
|
24014
|
+
//
|
|
24015
|
+
//
|
|
24016
|
+
//
|
|
24017
|
+
//
|
|
24018
|
+
//
|
|
24019
|
+
//
|
|
24020
|
+
//
|
|
24021
|
+
//
|
|
24022
|
+
//
|
|
24023
|
+
//
|
|
24024
|
+
//
|
|
24025
|
+
//
|
|
24026
|
+
//
|
|
24027
|
+
//
|
|
24028
|
+
//
|
|
24029
|
+
//
|
|
24030
|
+
//
|
|
24031
|
+
//
|
|
24032
|
+
//
|
|
24033
|
+
//
|
|
24034
|
+
//
|
|
24035
|
+
//
|
|
24036
|
+
//
|
|
24037
|
+
//
|
|
24038
|
+
//
|
|
24039
|
+
//
|
|
24040
|
+
//
|
|
24041
|
+
//
|
|
24042
|
+
//
|
|
24043
|
+
//
|
|
24044
|
+
//
|
|
24045
|
+
//
|
|
24046
|
+
//
|
|
24047
|
+
//
|
|
24048
|
+
//
|
|
24049
|
+
//
|
|
24050
|
+
//
|
|
24051
|
+
//
|
|
24052
|
+
//
|
|
24053
|
+
//
|
|
24054
|
+
//
|
|
24055
|
+
//
|
|
24056
|
+
//
|
|
24057
|
+
//
|
|
24058
|
+
//
|
|
24059
|
+
//
|
|
24060
|
+
//
|
|
24061
|
+
//
|
|
24062
|
+
//
|
|
24063
|
+
//
|
|
24064
|
+
//
|
|
24065
|
+
//
|
|
24066
|
+
//
|
|
24067
|
+
//
|
|
24068
|
+
//
|
|
24069
|
+
//
|
|
24070
|
+
//
|
|
24071
|
+
//
|
|
24072
|
+
//
|
|
24073
|
+
//
|
|
24074
|
+
//
|
|
24075
|
+
//
|
|
24076
|
+
//
|
|
24077
|
+
//
|
|
24078
|
+
//
|
|
24079
|
+
//
|
|
24080
|
+
//
|
|
24081
|
+
//
|
|
24082
|
+
//
|
|
24083
|
+
//
|
|
24084
|
+
//
|
|
24085
|
+
//
|
|
24086
|
+
//
|
|
24087
|
+
//
|
|
24088
|
+
//
|
|
24089
|
+
//
|
|
24090
|
+
//
|
|
24091
|
+
//
|
|
24092
|
+
//
|
|
24093
|
+
//
|
|
24094
|
+
//
|
|
24095
|
+
//
|
|
24096
|
+
//
|
|
24097
|
+
//
|
|
24098
|
+
//
|
|
24099
|
+
//
|
|
24100
|
+
//
|
|
24101
|
+
//
|
|
24102
|
+
//
|
|
24103
|
+
//
|
|
24104
|
+
//
|
|
24105
|
+
//
|
|
24106
|
+
//
|
|
24107
|
+
//
|
|
24108
|
+
//
|
|
24109
|
+
//
|
|
24110
|
+
//
|
|
24111
|
+
//
|
|
24112
|
+
//
|
|
24113
|
+
//
|
|
24114
|
+
//
|
|
24115
|
+
//
|
|
24116
|
+
//
|
|
23996
24117
|
|
|
23997
24118
|
|
|
23998
24119
|
|
|
@@ -24020,10 +24141,16 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24020
24141
|
isReadOnly: {
|
|
24021
24142
|
type: Boolean,
|
|
24022
24143
|
default: false
|
|
24023
|
-
}
|
|
24144
|
+
},
|
|
24145
|
+
dialogConfig: Object,
|
|
24146
|
+
dialogType: String
|
|
24024
24147
|
},
|
|
24025
24148
|
data() {
|
|
24026
24149
|
return {
|
|
24150
|
+
startDate: '',
|
|
24151
|
+
// 日期控件
|
|
24152
|
+
endDate: '',
|
|
24153
|
+
// 日期控件
|
|
24027
24154
|
tableHeight: 350,
|
|
24028
24155
|
isEditInputShow: false,
|
|
24029
24156
|
customValue: '',
|
|
@@ -24104,6 +24231,18 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24104
24231
|
return [this.props1[0][this.nodeKey]];
|
|
24105
24232
|
}
|
|
24106
24233
|
return [];
|
|
24234
|
+
},
|
|
24235
|
+
jumpParamKey() {
|
|
24236
|
+
return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
|
|
24237
|
+
},
|
|
24238
|
+
// 是否保存成跳转url参数
|
|
24239
|
+
isHaveJumpUrl() {
|
|
24240
|
+
return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
24241
|
+
},
|
|
24242
|
+
sortDisplayfield() {
|
|
24243
|
+
return this.displayfield.sort((a, b) => {
|
|
24244
|
+
return a.sort > b.sort ? 1 : -1;
|
|
24245
|
+
});
|
|
24107
24246
|
}
|
|
24108
24247
|
},
|
|
24109
24248
|
watch: {
|
|
@@ -24139,131 +24278,151 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24139
24278
|
});
|
|
24140
24279
|
},
|
|
24141
24280
|
methods: {
|
|
24281
|
+
// 获取已选择的选择器数据id
|
|
24282
|
+
getSelectId(data) {
|
|
24283
|
+
if (!data || !data.length) {
|
|
24284
|
+
return '';
|
|
24285
|
+
}
|
|
24286
|
+
let ids = [];
|
|
24287
|
+
data.forEach(item => {
|
|
24288
|
+
ids.push(item.id);
|
|
24289
|
+
});
|
|
24290
|
+
return ids.join(',');
|
|
24291
|
+
},
|
|
24142
24292
|
showDialog() {
|
|
24143
24293
|
let isMounted = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
24144
|
-
const this_ = this;
|
|
24145
24294
|
this.fixedParams = {};
|
|
24295
|
+
// 如果已存在配置信息就不去请求配置信息 直接初始化数据
|
|
24296
|
+
if (this.dialogConfig) {
|
|
24297
|
+
this.initDialog(this.dialogConfig, isMounted);
|
|
24298
|
+
return;
|
|
24299
|
+
}
|
|
24146
24300
|
var alias = this.custdialog.custDialog.alias;
|
|
24147
24301
|
this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
|
|
24148
|
-
|
|
24149
|
-
|
|
24150
|
-
|
|
24151
|
-
|
|
24152
|
-
|
|
24153
|
-
|
|
24154
|
-
|
|
24155
|
-
|
|
24156
|
-
|
|
24157
|
-
|
|
24158
|
-
|
|
24159
|
-
|
|
24160
|
-
|
|
24161
|
-
|
|
24162
|
-
|
|
24163
|
-
|
|
24164
|
-
|
|
24165
|
-
|
|
24166
|
-
|
|
24167
|
-
|
|
24168
|
-
|
|
24302
|
+
this.initDialog(customDialog, isMounted);
|
|
24303
|
+
});
|
|
24304
|
+
},
|
|
24305
|
+
initDialog(customDialog, isMounted) {
|
|
24306
|
+
let alias = this.custdialog.custDialog.alias;
|
|
24307
|
+
const this_ = this;
|
|
24308
|
+
if (!customDialog || !customDialog.alias) {
|
|
24309
|
+
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
24310
|
+
return;
|
|
24311
|
+
}
|
|
24312
|
+
if (customDialog.style == 1) {
|
|
24313
|
+
var displaylist = JSON.parse(customDialog.displayfield);
|
|
24314
|
+
this_.nodeKey = displaylist.id;
|
|
24315
|
+
}
|
|
24316
|
+
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
24317
|
+
let obj = {};
|
|
24318
|
+
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
24319
|
+
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
24320
|
+
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
24321
|
+
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
24322
|
+
if (exp) {
|
|
24323
|
+
const params = JSON.parse(exp);
|
|
24324
|
+
if (params.pageBean) {
|
|
24325
|
+
this.pagination = {
|
|
24326
|
+
...params.pageBean
|
|
24327
|
+
};
|
|
24169
24328
|
}
|
|
24170
24329
|
}
|
|
24171
|
-
|
|
24172
|
-
|
|
24173
|
-
|
|
24174
|
-
|
|
24175
|
-
|
|
24176
|
-
|
|
24177
|
-
|
|
24178
|
-
|
|
24179
|
-
|
|
24180
|
-
|
|
24181
|
-
|
|
24182
|
-
|
|
24183
|
-
|
|
24184
|
-
|
|
24185
|
-
|
|
24186
|
-
|
|
24187
|
-
|
|
24188
|
-
|
|
24189
|
-
}
|
|
24190
|
-
}
|
|
24191
|
-
}
|
|
24192
|
-
|
|
24193
|
-
|
|
24194
|
-
|
|
24195
|
-
|
|
24196
|
-
|
|
24197
|
-
|
|
24198
|
-
|
|
24199
|
-
|
|
24200
|
-
|
|
24201
|
-
|
|
24202
|
-
|
|
24203
|
-
|
|
24204
|
-
|
|
24205
|
-
|
|
24206
|
-
|
|
24207
|
-
|
|
24208
|
-
|
|
24209
|
-
|
|
24210
|
-
|
|
24211
|
-
|
|
24212
|
-
}
|
|
24213
|
-
|
|
24214
|
-
|
|
24215
|
-
|
|
24216
|
-
|
|
24217
|
-
|
|
24218
|
-
|
|
24219
|
-
|
|
24220
|
-
|
|
24221
|
-
|
|
24222
|
-
|
|
24223
|
-
|
|
24224
|
-
|
|
24225
|
-
|
|
24226
|
-
|
|
24227
|
-
|
|
24228
|
-
|
|
24229
|
-
|
|
24230
|
-
|
|
24231
|
-
|
|
24232
|
-
customDialog: customDialog
|
|
24233
|
-
}, isMounted);
|
|
24234
|
-
}, 100);
|
|
24235
|
-
} else if (customDialog.style == 1) {
|
|
24236
|
-
//树形
|
|
24237
|
-
this_.pageParam = {
|
|
24330
|
+
}
|
|
24331
|
+
//对话框按表单字段查询(参数传入的)
|
|
24332
|
+
let bindList = this_.custdialog.custDialog.conditions;
|
|
24333
|
+
this_.param = []; //绑定的表单字段
|
|
24334
|
+
if (bindList.length > 0) {
|
|
24335
|
+
bindList.forEach(ele => {
|
|
24336
|
+
//绑定表单字段
|
|
24337
|
+
if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
|
|
24338
|
+
let obj = {};
|
|
24339
|
+
obj.field = ele.field;
|
|
24340
|
+
obj.bind = ele.bind;
|
|
24341
|
+
obj.bindType = ele.bindType;
|
|
24342
|
+
this_.param.push(obj);
|
|
24343
|
+
}
|
|
24344
|
+
//取值对象为脚本时获取value
|
|
24345
|
+
if (ele.bindType === 3) {
|
|
24346
|
+
this_.$requestConfig.executeScript(ele.bind).then(res => {
|
|
24347
|
+
this_.executeScriptResult = res && res.value;
|
|
24348
|
+
});
|
|
24349
|
+
}
|
|
24350
|
+
});
|
|
24351
|
+
}
|
|
24352
|
+
//判断对话框查询是否有条件
|
|
24353
|
+
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
24354
|
+
this_.quickSearch = ''; //填写提示 placeholder
|
|
24355
|
+
this_.conditionBind = [];
|
|
24356
|
+
let queryParams = [];
|
|
24357
|
+
let placeholders = [];
|
|
24358
|
+
if (userInputList.length > 0) {
|
|
24359
|
+
userInputList.forEach(ele => {
|
|
24360
|
+
var obj = {};
|
|
24361
|
+
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
24362
|
+
if (ele.defaultType == '1') {
|
|
24363
|
+
obj[ele.field] = '';
|
|
24364
|
+
queryParams.push(obj);
|
|
24365
|
+
// queryParams[ele.field] = "";
|
|
24366
|
+
this_.conditionBind.push(ele);
|
|
24367
|
+
placeholders.push('请输入' + ele.comment);
|
|
24368
|
+
}
|
|
24369
|
+
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
24370
|
+
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
24371
|
+
}
|
|
24372
|
+
});
|
|
24373
|
+
this.$set(this, 'queryParams', queryParams);
|
|
24374
|
+
this.$set(this, 'placeholders', placeholders);
|
|
24375
|
+
}
|
|
24376
|
+
//判断是否显示条件查询输入框
|
|
24377
|
+
if (this_.quickSearch != '') {
|
|
24378
|
+
this_.querysShow = true;
|
|
24379
|
+
} else {
|
|
24380
|
+
this_.querysShow = true;
|
|
24381
|
+
}
|
|
24382
|
+
this_.quickSearch = '请输入' + this.quickSearch + '查询';
|
|
24383
|
+
this_.style = 'height:' + customDialog.height + 'px';
|
|
24384
|
+
if (window.screen.height && window.screen.height <= 900) {
|
|
24385
|
+
this.style = 'height:440px';
|
|
24386
|
+
}
|
|
24387
|
+
if (customDialog.style == 0 || customDialog.style == 2) {
|
|
24388
|
+
//列表
|
|
24389
|
+
setTimeout(() => {
|
|
24390
|
+
this_.customDialogShow({
|
|
24238
24391
|
alias: alias,
|
|
24239
24392
|
customDialog: customDialog
|
|
24240
|
-
};
|
|
24241
|
-
|
|
24242
|
-
|
|
24243
|
-
|
|
24244
|
-
|
|
24245
|
-
|
|
24246
|
-
|
|
24247
|
-
|
|
24248
|
-
|
|
24249
|
-
|
|
24250
|
-
|
|
24251
|
-
|
|
24252
|
-
|
|
24393
|
+
}, isMounted);
|
|
24394
|
+
}, 100);
|
|
24395
|
+
} else if (customDialog.style == 1) {
|
|
24396
|
+
//树形
|
|
24397
|
+
this_.pageParam = {
|
|
24398
|
+
alias: alias,
|
|
24399
|
+
customDialog: customDialog
|
|
24400
|
+
};
|
|
24401
|
+
this_.customDialog = customDialog;
|
|
24402
|
+
let param = {};
|
|
24403
|
+
this_.conditionfieldTree = [];
|
|
24404
|
+
//判断是否存在条件
|
|
24405
|
+
if (customDialog.conditionfield) {
|
|
24406
|
+
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
24407
|
+
if (this_.conditionfieldTree.length > 0) {
|
|
24408
|
+
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
24409
|
+
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
24410
|
+
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
24411
|
+
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
24253
24412
|
}
|
|
24254
24413
|
}
|
|
24255
24414
|
}
|
|
24256
|
-
|
|
24257
|
-
|
|
24258
|
-
|
|
24259
|
-
|
|
24260
|
-
|
|
24261
|
-
|
|
24262
|
-
|
|
24263
|
-
|
|
24415
|
+
}
|
|
24416
|
+
//有动态传入的字段
|
|
24417
|
+
if (!isMounted) {
|
|
24418
|
+
if (JSON.stringify(param) != '{}') {
|
|
24419
|
+
this_.dialogVisible = true;
|
|
24420
|
+
} else {
|
|
24421
|
+
//无动态传入的字段
|
|
24422
|
+
this_.customDialogTreeShow(this_.pageParam);
|
|
24264
24423
|
}
|
|
24265
24424
|
}
|
|
24266
|
-
}
|
|
24425
|
+
}
|
|
24267
24426
|
},
|
|
24268
24427
|
initTableHeight() {
|
|
24269
24428
|
this.$nextTick(() => {
|
|
@@ -24392,13 +24551,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24392
24551
|
}
|
|
24393
24552
|
// 添加用户id 岗位id 组织id
|
|
24394
24553
|
try {
|
|
24395
|
-
if (this.$requestConfig.getUserId()) {
|
|
24554
|
+
if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
|
|
24396
24555
|
ctx.userId = this.$requestConfig.getUserId();
|
|
24397
24556
|
}
|
|
24398
|
-
if (this.$requestConfig.getOrgId()) {
|
|
24557
|
+
if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
|
|
24399
24558
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
24400
24559
|
}
|
|
24401
|
-
if (this.$requestConfig.getPostId()) {
|
|
24560
|
+
if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
|
|
24402
24561
|
ctx.postId = this.$requestConfig.getPostId();
|
|
24403
24562
|
}
|
|
24404
24563
|
} catch (e) {
|
|
@@ -24483,8 +24642,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24483
24642
|
this.selectOrgs = this.convertComment2Field(str, field);
|
|
24484
24643
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
24485
24644
|
var val = '';
|
|
24486
|
-
str.forEach(item => {
|
|
24487
|
-
|
|
24645
|
+
str.forEach((item, index) => {
|
|
24646
|
+
// 此处添加url跳转参数保存逻辑
|
|
24647
|
+
if (this.jumpParamKey && this.isHaveJumpUrl && this.modelName == 'data.' + con['target'][0]) {
|
|
24648
|
+
val += `${item[con.from]}¯${this.jumpParamKey}:${this.selectOrgs[index][this.jumpParamKey]},`;
|
|
24649
|
+
} else {
|
|
24650
|
+
val += item[con.from] + ',';
|
|
24651
|
+
}
|
|
24488
24652
|
});
|
|
24489
24653
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
24490
24654
|
utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
|
|
@@ -24555,19 +24719,36 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24555
24719
|
};
|
|
24556
24720
|
}
|
|
24557
24721
|
//用户输入的
|
|
24722
|
+
let flag = false;
|
|
24558
24723
|
if (this.queryParams.length != 0 && this.queryParams[0] != '') {
|
|
24559
24724
|
this.conditionBind.forEach((item, index) => {
|
|
24725
|
+
// 日期范围特殊处理
|
|
24726
|
+
if (item.dbType == 'date' && item.condition == 'BETWEEN') {
|
|
24727
|
+
if (this.queryParams[index].startDate && !this.queryParams[index].endDate || !this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
24728
|
+
flag = true;
|
|
24729
|
+
this.$message.info('日期范围未填写完整!');
|
|
24730
|
+
return;
|
|
24731
|
+
}
|
|
24732
|
+
if (this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
24733
|
+
this.queryParams[index][item.field] = `${this.queryParams[index].startDate},${this.queryParams[index].endDate}`;
|
|
24734
|
+
} else {
|
|
24735
|
+
this.queryParams[index][item.field] = '';
|
|
24736
|
+
}
|
|
24737
|
+
}
|
|
24560
24738
|
if (this.queryParams[index][item.field]) {
|
|
24561
24739
|
querys.push({
|
|
24562
24740
|
property: item.field,
|
|
24563
24741
|
value: this.queryParams[index][item.field],
|
|
24564
24742
|
group: 'main',
|
|
24565
|
-
operation:
|
|
24743
|
+
operation: item.condition,
|
|
24566
24744
|
relation: 'AND'
|
|
24567
24745
|
});
|
|
24568
24746
|
}
|
|
24569
24747
|
});
|
|
24570
24748
|
}
|
|
24749
|
+
if (flag) {
|
|
24750
|
+
return;
|
|
24751
|
+
}
|
|
24571
24752
|
//参数传入的查询拼接
|
|
24572
24753
|
if (this.param) {
|
|
24573
24754
|
this.param.forEach(item => {
|
|
@@ -24606,13 +24787,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24606
24787
|
queryParamMap.total = pageBean.pageBean.total;
|
|
24607
24788
|
// 添加用户id 岗位id 组织id
|
|
24608
24789
|
try {
|
|
24609
|
-
if (this.$requestConfig.getUserId()) {
|
|
24790
|
+
if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
|
|
24610
24791
|
ctx.userId = this.$requestConfig.getUserId();
|
|
24611
24792
|
}
|
|
24612
|
-
if (this.$requestConfig.getOrgId()) {
|
|
24793
|
+
if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
|
|
24613
24794
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
24614
24795
|
}
|
|
24615
|
-
if (this.$requestConfig.getPostId()) {
|
|
24796
|
+
if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
|
|
24616
24797
|
ctx.postId = this.$requestConfig.getPostId();
|
|
24617
24798
|
}
|
|
24618
24799
|
} catch (e) {
|
|
@@ -24633,12 +24814,14 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24633
24814
|
value: queryParamMap[bindKey] || ctx[bindKey] || ''
|
|
24634
24815
|
};
|
|
24635
24816
|
});
|
|
24636
|
-
param.querys = queryList;
|
|
24817
|
+
param.querys = queryList || [];
|
|
24637
24818
|
if (this.customDialog.needPage) {
|
|
24638
24819
|
param.pageBean = obj;
|
|
24639
24820
|
} else {
|
|
24640
24821
|
param.pageBean.pageSize = -1;
|
|
24641
24822
|
}
|
|
24823
|
+
// 日期格式的 改成数组
|
|
24824
|
+
// this.changeDateFormat(param)
|
|
24642
24825
|
//构造请求的参数
|
|
24643
24826
|
let requestParam = {
|
|
24644
24827
|
pageBean: param,
|
|
@@ -24678,6 +24861,15 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24678
24861
|
}
|
|
24679
24862
|
this.tableRadioVal = '';
|
|
24680
24863
|
},
|
|
24864
|
+
changeDateFormat(param) {
|
|
24865
|
+
let dateValidate1 = /^\d{4}\-\d{2}\-\d{2}$/;
|
|
24866
|
+
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$/;
|
|
24867
|
+
Object.keys(param).forEach(key => {
|
|
24868
|
+
if (param[key] && typeof param[key] == 'string' && param[key].includes(',') && (dateValidate1.test(param[key].split(',')[0]) || dateValidate2.test(param[key].split(',')[0]))) {
|
|
24869
|
+
param[key] = param[key].split(',');
|
|
24870
|
+
}
|
|
24871
|
+
});
|
|
24872
|
+
},
|
|
24681
24873
|
getSearchValueByKey() {
|
|
24682
24874
|
let queryParamsObj = {};
|
|
24683
24875
|
if (this.queryParams.length > 0) {
|
|
@@ -24903,6 +25095,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24903
25095
|
},
|
|
24904
25096
|
// 同步选择结果
|
|
24905
25097
|
syncInputValue() {
|
|
25098
|
+
// 对话框跳转url需要两个参数 1当前控件绑定的对象参数modelName 2对话框配置中配置的key名称
|
|
25099
|
+
// 同步值时,如果有绑定url跳转参数,值格式为 名称¯跳转key:跳转value
|
|
24906
25100
|
let thisIndex = null; //当前数据所在下标
|
|
24907
25101
|
let parentIndex = null; //父节点所在下标
|
|
24908
25102
|
if (this.$parent.$el) {
|
|
@@ -24976,13 +25170,27 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24976
25170
|
}
|
|
24977
25171
|
}
|
|
24978
25172
|
}
|
|
25173
|
+
// 如果是查询中使用的对话框
|
|
25174
|
+
if (this.dialogType == 'search') {
|
|
25175
|
+
let returnVal = [];
|
|
25176
|
+
str.forEach(item => {
|
|
25177
|
+
returnVal.push(decodeURIComponent(item[this.modelName]));
|
|
25178
|
+
});
|
|
25179
|
+
this.$emit('updateInput', returnVal.join(','));
|
|
25180
|
+
return;
|
|
25181
|
+
}
|
|
24979
25182
|
const pInst = utils["a" /* default */].getOnlineFormInstance(this);
|
|
24980
25183
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
24981
25184
|
var val = '';
|
|
24982
25185
|
var from = con.from.toLowerCase();
|
|
24983
25186
|
str.forEach(item => {
|
|
25187
|
+
// 如果有绑定url跳转参数 需获取跳转参数的key
|
|
24984
25188
|
if (item) {
|
|
24985
|
-
|
|
25189
|
+
if (this.jumpParamKey && this.isHaveJumpUrl && this.modelName == 'data.' + con['target'][0]) {
|
|
25190
|
+
val += `${decodeURIComponent(item[from])}¯${this.jumpParamKey}:${item[this.jumpParamKey]},`;
|
|
25191
|
+
} else {
|
|
25192
|
+
val += decodeURIComponent(item[from]) + ',';
|
|
25193
|
+
}
|
|
24986
25194
|
}
|
|
24987
25195
|
});
|
|
24988
25196
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
@@ -25001,7 +25209,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25001
25209
|
const _val = val.substring(0, val.length - 1);
|
|
25002
25210
|
if (path) {
|
|
25003
25211
|
if (this.modelName && this.modelName.endsWith(path)) {
|
|
25004
|
-
// this.$emit('input', _val)
|
|
25005
25212
|
this.$emit('updateInput', _val);
|
|
25006
25213
|
}
|
|
25007
25214
|
utils["a" /* default */].setValueByPath(pInst, `${pInst.data ? 'data.' : 'model.'}${path}`, _val, thisIndex);
|
|
@@ -25233,8 +25440,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25233
25440
|
});
|
|
25234
25441
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=script&lang=js&
|
|
25235
25442
|
/* harmony default export */ var src_customDialogvue_type_script_lang_js_ = (customDialogvue_type_script_lang_js_);
|
|
25236
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=
|
|
25237
|
-
var
|
|
25443
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=f66484a2&prod&lang=scss&scoped=true&
|
|
25444
|
+
var customDialogvue_type_style_index_0_id_f66484a2_prod_lang_scss_scoped_true_ = __webpack_require__("3de0");
|
|
25238
25445
|
|
|
25239
25446
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue
|
|
25240
25447
|
|
|
@@ -25247,31 +25454,47 @@ var customDialogvue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true_ =
|
|
|
25247
25454
|
|
|
25248
25455
|
var customDialog_component = normalizeComponent(
|
|
25249
25456
|
src_customDialogvue_type_script_lang_js_,
|
|
25250
|
-
|
|
25251
|
-
|
|
25457
|
+
customDialogvue_type_template_id_f66484a2_scoped_true_render,
|
|
25458
|
+
customDialogvue_type_template_id_f66484a2_scoped_true_staticRenderFns,
|
|
25252
25459
|
false,
|
|
25253
25460
|
null,
|
|
25254
|
-
"
|
|
25461
|
+
"f66484a2",
|
|
25255
25462
|
null
|
|
25256
25463
|
|
|
25257
25464
|
)
|
|
25258
25465
|
|
|
25259
25466
|
/* harmony default export */ var CustomDialog_src_customDialog = (customDialog_component.exports);
|
|
25260
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=
|
|
25261
|
-
var
|
|
25262
|
-
|
|
25263
|
-
|
|
25264
|
-
|
|
25265
|
-
|
|
25266
|
-
|
|
25267
|
-
|
|
25268
|
-
|
|
25467
|
+
// 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&
|
|
25468
|
+
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) {
|
|
25469
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25470
|
+
}},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) {
|
|
25471
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25472
|
+
}},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e(),(condition.config.alias == 'role')?_c('ht-role-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25473
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25474
|
+
}},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e(),(condition.config.alias == 'job')?_c('ht-job-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25475
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25476
|
+
}},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e(),(condition.config.alias == 'post')?_c('ht-post-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25477
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25478
|
+
}},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e(),(condition.config.alias == 'dimension')?_c('ht-dimension-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25479
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25480
|
+
}},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e()],1):_vm._e(),(condition.controllerType == '5')?_c('div',[_c('ht-custom-dialog',{attrs:{"model-name":condition.config.keyBind,"dialogType":"search","custdialog":{
|
|
25481
|
+
name: '请选择',
|
|
25482
|
+
icon: '',
|
|
25483
|
+
custDialog: {
|
|
25484
|
+
selectNum: 1,
|
|
25485
|
+
conditions: [],
|
|
25486
|
+
mappingConf: [],
|
|
25487
|
+
custQueryJson: [],
|
|
25488
|
+
alias: condition.config.alias,
|
|
25489
|
+
type: 'custDialog',
|
|
25490
|
+
},
|
|
25491
|
+
}},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e()])}),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isShowMoreSearch),expression:"isShowMoreSearch"}],staticClass:"search-btns"},[_c('el-button',{staticStyle:{"margin-left":"20px"},attrs:{"size":"small","type":"primary"},on:{"click":_vm.hideSearch}},[_vm._v("\n 搜索\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.reset}},[_vm._v("重置")])],1)],2)],(_vm.customDialog.style == 2)?_c('van-popover',{staticClass:"custom-dialog-popover",attrs:{"trigger":"click"},scopedSlots:_vm._u([{key:"reference",fn:function(){return [_c('div',{staticClass:"mobile-tree-select"},[(_vm.treeSelectText)?_c('span',{staticClass:"active-text"},[_vm._v("\n "+_vm._s(_vm.treeSelectText)+"\n ")]):_c('span',[_vm._v("请选择"+_vm._s(_vm.leftTreeTitle))]),(_vm.treeSelectText)?_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":function($event){$event.stopPropagation();return _vm.clearTreeSelect($event)}}}):_vm._e()],1)]},proxy:true}],null,false,3189508719),model:{value:(_vm.isSelectTreeShow),callback:function ($$v) {_vm.isSelectTreeShow=$$v},expression:"isSelectTreeShow"}},[_c('div',{staticClass:"custom-dialog-popover_content"},[_c('el-tree',{ref:"combinationTree",attrs:{"data":_vm.combinationTreeData,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","check-on-click-node":true},on:{"node-click":_vm.combiTreeClick}})],1)]):_vm._e(),_c('van-pull-refresh',{on:{"refresh":_vm.onRefresh},model:{value:(_vm.isDownLoading),callback:function ($$v) {_vm.isDownLoading=$$v},expression:"isDownLoading"}},[_c('van-list',{attrs:{"finished":_vm.finished,"finished-text":"没有更多了","offset":20,"immediate-check":false},on:{"load":_vm.loadMore},model:{value:(_vm.isPullLoading),callback:function ($$v) {_vm.isPullLoading=$$v},expression:"isPullLoading"}},_vm._l((_vm.dialogData),function(item,index){return _c('van-cell',{key:index,attrs:{"clickable":""},scopedSlots:_vm._u([{key:"icon",fn:function(){return [_c('van-checkbox',{attrs:{"value":_vm.indexArray(_vm.selectIds, item) > -1,"shape":_vm.customDialog.selectNum === 1 ? 'round' : 'square'},on:{"click":function($event){return _vm.checkboxChange(item)}}})]},proxy:true}],null,true)},[_c('div',{staticClass:"custom-mobile_box"},_vm._l((_vm.sortDisplayfield),function(field){return _c('div',{key:field.field,staticClass:"custom-mobile_box_item"},[_c('label',[_vm._v(_vm._s(field.comment)+":")]),_c('div',[_vm._v(_vm._s(item[field.field]))])])}),0)])}),1)],1)],2),_c('van-action-sheet',{staticClass:"mobile-van-action",attrs:{"cancel-text":_vm.sureButtonText,"get-container":"body"},on:{"cancel":_vm.handleSave},scopedSlots:_vm._u([{key:"description",fn:function(){return [_c('span',{staticClass:"dialog-mobile__title"},[_vm._v("动态传入参数查询")]),_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":function($event){_vm.dialogVisible = false}}})]},proxy:true}]),model:{value:(_vm.dialogVisible),callback:function ($$v) {_vm.dialogVisible=$$v},expression:"dialogVisible"}},[_c('van-cell-group',_vm._l((_vm.conditionfieldTree.filter(
|
|
25269
25492
|
function (k) { return k.defaultType == '4'; }
|
|
25270
|
-
)),function(item,$index){return _c('div',{key:$index},[(item.type != 'date')?_c('van-field',{attrs:{"label":item.comment,"placeholder":'请输入' + item.comment},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e(),(item.type == 'date')?_c('ht-date',{staticStyle:{"width":"100%"},attrs:{"placeholder":'请选择' + item.comment,"format":"yyyy-MM-dd"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e()],1)}),0)],1),_c('van-action-sheet',{staticClass:"mobile-van-action",attrs:{"cancel-text":_vm.sureButtonText,"get-container":"body"},on:{"cancel":_vm.dialogTreeConfirm},scopedSlots:_vm._u([{key:"description",fn:function(){return [_c('span',{staticClass:"dialog-mobile__title"},[_vm._v(_vm._s(_vm.customDialog.name))]),_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":_vm.dialogCancelTree}})]},proxy:true}]),model:{value:(_vm.customDialogShowTree),callback:function ($$v) {_vm.customDialogShowTree=$$v},expression:"customDialogShowTree"}},[_c('el-tree',{ref:"tree",staticStyle:{"width":"100%"},attrs:{"data":_vm.props1,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","show-checkbox":_vm.customDialog.selectNum === -1,"check-on-click-node":true,"check-strictly":false,"lazy":"","load":_vm.loadTree,"default-expanded-keys":_vm.defaultExpandedKeys},on:{"node-click":_vm.treeClick,"check-change":_vm.getChecked}})],1)],1)}
|
|
25271
|
-
var
|
|
25493
|
+
)),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)}
|
|
25494
|
+
var customMobileDialogvue_type_template_id_691dcad9_scoped_true_staticRenderFns = []
|
|
25272
25495
|
|
|
25273
25496
|
|
|
25274
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=
|
|
25497
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=691dcad9&scoped=true&
|
|
25275
25498
|
|
|
25276
25499
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/customMobileDialog.vue?vue&type=script&lang=js&
|
|
25277
25500
|
//
|
|
@@ -25532,6 +25755,122 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25532
25755
|
//
|
|
25533
25756
|
//
|
|
25534
25757
|
//
|
|
25758
|
+
//
|
|
25759
|
+
//
|
|
25760
|
+
//
|
|
25761
|
+
//
|
|
25762
|
+
//
|
|
25763
|
+
//
|
|
25764
|
+
//
|
|
25765
|
+
//
|
|
25766
|
+
//
|
|
25767
|
+
//
|
|
25768
|
+
//
|
|
25769
|
+
//
|
|
25770
|
+
//
|
|
25771
|
+
//
|
|
25772
|
+
//
|
|
25773
|
+
//
|
|
25774
|
+
//
|
|
25775
|
+
//
|
|
25776
|
+
//
|
|
25777
|
+
//
|
|
25778
|
+
//
|
|
25779
|
+
//
|
|
25780
|
+
//
|
|
25781
|
+
//
|
|
25782
|
+
//
|
|
25783
|
+
//
|
|
25784
|
+
//
|
|
25785
|
+
//
|
|
25786
|
+
//
|
|
25787
|
+
//
|
|
25788
|
+
//
|
|
25789
|
+
//
|
|
25790
|
+
//
|
|
25791
|
+
//
|
|
25792
|
+
//
|
|
25793
|
+
//
|
|
25794
|
+
//
|
|
25795
|
+
//
|
|
25796
|
+
//
|
|
25797
|
+
//
|
|
25798
|
+
//
|
|
25799
|
+
//
|
|
25800
|
+
//
|
|
25801
|
+
//
|
|
25802
|
+
//
|
|
25803
|
+
//
|
|
25804
|
+
//
|
|
25805
|
+
//
|
|
25806
|
+
//
|
|
25807
|
+
//
|
|
25808
|
+
//
|
|
25809
|
+
//
|
|
25810
|
+
//
|
|
25811
|
+
//
|
|
25812
|
+
//
|
|
25813
|
+
//
|
|
25814
|
+
//
|
|
25815
|
+
//
|
|
25816
|
+
//
|
|
25817
|
+
//
|
|
25818
|
+
//
|
|
25819
|
+
//
|
|
25820
|
+
//
|
|
25821
|
+
//
|
|
25822
|
+
//
|
|
25823
|
+
//
|
|
25824
|
+
//
|
|
25825
|
+
//
|
|
25826
|
+
//
|
|
25827
|
+
//
|
|
25828
|
+
//
|
|
25829
|
+
//
|
|
25830
|
+
//
|
|
25831
|
+
//
|
|
25832
|
+
//
|
|
25833
|
+
//
|
|
25834
|
+
//
|
|
25835
|
+
//
|
|
25836
|
+
//
|
|
25837
|
+
//
|
|
25838
|
+
//
|
|
25839
|
+
//
|
|
25840
|
+
//
|
|
25841
|
+
//
|
|
25842
|
+
//
|
|
25843
|
+
//
|
|
25844
|
+
//
|
|
25845
|
+
//
|
|
25846
|
+
//
|
|
25847
|
+
//
|
|
25848
|
+
//
|
|
25849
|
+
//
|
|
25850
|
+
//
|
|
25851
|
+
//
|
|
25852
|
+
//
|
|
25853
|
+
//
|
|
25854
|
+
//
|
|
25855
|
+
//
|
|
25856
|
+
//
|
|
25857
|
+
//
|
|
25858
|
+
//
|
|
25859
|
+
//
|
|
25860
|
+
//
|
|
25861
|
+
//
|
|
25862
|
+
//
|
|
25863
|
+
//
|
|
25864
|
+
//
|
|
25865
|
+
//
|
|
25866
|
+
//
|
|
25867
|
+
//
|
|
25868
|
+
//
|
|
25869
|
+
//
|
|
25870
|
+
//
|
|
25871
|
+
//
|
|
25872
|
+
//
|
|
25873
|
+
//
|
|
25535
25874
|
|
|
25536
25875
|
|
|
25537
25876
|
|
|
@@ -25553,10 +25892,17 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25553
25892
|
subIndex: Number,
|
|
25554
25893
|
sunIndex: Number,
|
|
25555
25894
|
subPath: String,
|
|
25556
|
-
currentSubData: Array
|
|
25895
|
+
currentSubData: Array,
|
|
25896
|
+
dialogConfig: Object,
|
|
25897
|
+
dialogType: String
|
|
25557
25898
|
},
|
|
25558
25899
|
data() {
|
|
25559
25900
|
return {
|
|
25901
|
+
dateType: 'date',
|
|
25902
|
+
currentDate: '',
|
|
25903
|
+
// 当前日期
|
|
25904
|
+
isShowDatePop: false,
|
|
25905
|
+
// 是否显示日期选择控件
|
|
25560
25906
|
isShowMoreSearch: false,
|
|
25561
25907
|
treeSelectText: '',
|
|
25562
25908
|
// 组合树时选中的查询条件
|
|
@@ -25636,9 +25982,47 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25636
25982
|
sureButtonText() {
|
|
25637
25983
|
const selectedText = this.selectIds.length > 0 ? `(${this.selectIds.length})` : '';
|
|
25638
25984
|
return `${this.$t('ht.common.confirm')}${selectedText}`;
|
|
25985
|
+
},
|
|
25986
|
+
jumpParamKey() {
|
|
25987
|
+
return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
|
|
25988
|
+
},
|
|
25989
|
+
// 是否保存成跳转url参数
|
|
25990
|
+
isHaveJumpUrl() {
|
|
25991
|
+
return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
25992
|
+
},
|
|
25993
|
+
sortDisplayfield() {
|
|
25994
|
+
return this.displayfield.sort((a, b) => {
|
|
25995
|
+
return a.sort > b.sort ? 1 : -1;
|
|
25996
|
+
});
|
|
25639
25997
|
}
|
|
25640
25998
|
},
|
|
25641
25999
|
methods: {
|
|
26000
|
+
// 获取已选择的选择器数据id
|
|
26001
|
+
getSelectId(data) {
|
|
26002
|
+
if (!data || !data.length) {
|
|
26003
|
+
return '';
|
|
26004
|
+
}
|
|
26005
|
+
let ids = [];
|
|
26006
|
+
data.forEach(item => {
|
|
26007
|
+
ids.push(item.id);
|
|
26008
|
+
});
|
|
26009
|
+
return ids.join(',');
|
|
26010
|
+
},
|
|
26011
|
+
showDate(index, key) {
|
|
26012
|
+
this.dateType = this.conditionBind[index].config.inputFormat.includes('mm:') ? 'datetime' : 'date';
|
|
26013
|
+
this.currentDateData = {
|
|
26014
|
+
index,
|
|
26015
|
+
key
|
|
26016
|
+
};
|
|
26017
|
+
this.currentDate = this.queryParams[index][key] ? new Date(this.queryParams[index][key].replace(/-/g, '/')) : new Date();
|
|
26018
|
+
this.isShowDatePop = true;
|
|
26019
|
+
},
|
|
26020
|
+
// 日期确认
|
|
26021
|
+
confirmFn() {
|
|
26022
|
+
let currentConfig = this.conditionBind[this.currentDateData.index];
|
|
26023
|
+
this.queryParams[this.currentDateData.index][this.currentDateData.key] = this.currentDate.format(currentConfig.config.inputFormat);
|
|
26024
|
+
this.isShowDatePop = false;
|
|
26025
|
+
},
|
|
25642
26026
|
searchInputChange() {
|
|
25643
26027
|
if (!this.isShowMoreSearch) {
|
|
25644
26028
|
this.search(true);
|
|
@@ -25684,112 +26068,121 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25684
26068
|
this.search(true);
|
|
25685
26069
|
},
|
|
25686
26070
|
showDialog() {
|
|
25687
|
-
const this_ = this;
|
|
25688
26071
|
this.fixedParams = {};
|
|
26072
|
+
// 如果已存在配置信息就不去请求配置信息 直接初始化数据
|
|
26073
|
+
if (this.dialogConfig) {
|
|
26074
|
+
this.initDialog(this.dialogConfig);
|
|
26075
|
+
return;
|
|
26076
|
+
}
|
|
25689
26077
|
var alias = this.custdialog.custDialog.alias;
|
|
25690
26078
|
this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
|
|
25691
|
-
|
|
25692
|
-
|
|
25693
|
-
|
|
25694
|
-
|
|
25695
|
-
|
|
25696
|
-
|
|
25697
|
-
|
|
25698
|
-
|
|
25699
|
-
|
|
25700
|
-
|
|
25701
|
-
|
|
25702
|
-
|
|
25703
|
-
|
|
25704
|
-
|
|
25705
|
-
|
|
25706
|
-
|
|
25707
|
-
|
|
25708
|
-
|
|
25709
|
-
|
|
25710
|
-
|
|
25711
|
-
|
|
26079
|
+
this.initDialog(customDialog);
|
|
26080
|
+
});
|
|
26081
|
+
},
|
|
26082
|
+
initDialog(customDialog) {
|
|
26083
|
+
let alias = this.custdialog.custDialog.alias;
|
|
26084
|
+
const this_ = this;
|
|
26085
|
+
if (!customDialog || !customDialog.alias) {
|
|
26086
|
+
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
26087
|
+
return;
|
|
26088
|
+
}
|
|
26089
|
+
if (customDialog.style == 1) {
|
|
26090
|
+
var displaylist = JSON.parse(customDialog.displayfield);
|
|
26091
|
+
this_.nodeKey = displaylist.id;
|
|
26092
|
+
}
|
|
26093
|
+
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
26094
|
+
let obj = {};
|
|
26095
|
+
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
26096
|
+
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
26097
|
+
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
26098
|
+
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
26099
|
+
if (exp) {
|
|
26100
|
+
const params = JSON.parse(exp);
|
|
26101
|
+
if (params.pageBean) {
|
|
26102
|
+
this.pagination = {
|
|
26103
|
+
...params.pageBean
|
|
26104
|
+
};
|
|
25712
26105
|
}
|
|
25713
26106
|
}
|
|
25714
|
-
|
|
25715
|
-
|
|
25716
|
-
|
|
25717
|
-
|
|
25718
|
-
|
|
25719
|
-
|
|
25720
|
-
|
|
25721
|
-
|
|
25722
|
-
|
|
25723
|
-
|
|
25724
|
-
|
|
25725
|
-
|
|
25726
|
-
|
|
25727
|
-
|
|
25728
|
-
|
|
25729
|
-
|
|
25730
|
-
|
|
25731
|
-
}
|
|
25732
|
-
}
|
|
26107
|
+
}
|
|
26108
|
+
//对话框按表单字段查询(参数传入的)
|
|
26109
|
+
let bindList = this_.custdialog.custDialog.conditions;
|
|
26110
|
+
this_.param = []; //绑定的表单字段
|
|
26111
|
+
if (bindList.length > 0) {
|
|
26112
|
+
bindList.forEach(ele => {
|
|
26113
|
+
//绑定表单字段
|
|
26114
|
+
if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
|
|
26115
|
+
let obj = {};
|
|
26116
|
+
obj.field = ele.field;
|
|
26117
|
+
obj.bind = ele.bind;
|
|
26118
|
+
obj.bindType = ele.bindType;
|
|
26119
|
+
this_.param.push(obj);
|
|
26120
|
+
}
|
|
26121
|
+
// bindType 1 表单字段 2固定 3脚本
|
|
26122
|
+
if (ele.defaultType == '3' && ele.bindType === 2) {
|
|
26123
|
+
this_.fixedParams[ele.field] = ele.bind || '';
|
|
26124
|
+
}
|
|
26125
|
+
});
|
|
26126
|
+
}
|
|
25733
26127
|
|
|
25734
|
-
|
|
25735
|
-
|
|
25736
|
-
|
|
25737
|
-
|
|
25738
|
-
|
|
25739
|
-
|
|
25740
|
-
|
|
25741
|
-
|
|
25742
|
-
|
|
25743
|
-
|
|
25744
|
-
|
|
25745
|
-
|
|
25746
|
-
|
|
25747
|
-
|
|
25748
|
-
|
|
25749
|
-
|
|
25750
|
-
|
|
25751
|
-
|
|
25752
|
-
|
|
25753
|
-
|
|
25754
|
-
|
|
25755
|
-
|
|
25756
|
-
|
|
25757
|
-
|
|
25758
|
-
|
|
25759
|
-
|
|
25760
|
-
|
|
25761
|
-
|
|
25762
|
-
|
|
25763
|
-
|
|
25764
|
-
|
|
25765
|
-
|
|
25766
|
-
|
|
25767
|
-
|
|
25768
|
-
|
|
25769
|
-
|
|
25770
|
-
|
|
25771
|
-
|
|
25772
|
-
|
|
25773
|
-
|
|
25774
|
-
|
|
25775
|
-
|
|
25776
|
-
|
|
25777
|
-
|
|
25778
|
-
|
|
25779
|
-
|
|
25780
|
-
}
|
|
26128
|
+
//判断对话框查询是否有条件
|
|
26129
|
+
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
26130
|
+
this_.conditionBind = [];
|
|
26131
|
+
let queryParams = [];
|
|
26132
|
+
let placeholders = [];
|
|
26133
|
+
if (userInputList.length > 0) {
|
|
26134
|
+
userInputList.forEach(ele => {
|
|
26135
|
+
var obj = {};
|
|
26136
|
+
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
26137
|
+
if (ele.defaultType == '1') {
|
|
26138
|
+
obj[ele.field] = '';
|
|
26139
|
+
queryParams.push(obj);
|
|
26140
|
+
// queryParams[ele.field] = "";
|
|
26141
|
+
this_.conditionBind.push(ele);
|
|
26142
|
+
placeholders.push('请输入' + ele.comment);
|
|
26143
|
+
}
|
|
26144
|
+
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
26145
|
+
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
26146
|
+
}
|
|
26147
|
+
});
|
|
26148
|
+
this.$set(this, 'queryParams', queryParams);
|
|
26149
|
+
this.$set(this, 'placeholders', placeholders);
|
|
26150
|
+
}
|
|
26151
|
+
if (customDialog.style == 0 || customDialog.style == 2) {
|
|
26152
|
+
//列表
|
|
26153
|
+
this_.customDialogShow({
|
|
26154
|
+
alias: alias,
|
|
26155
|
+
customDialog: customDialog
|
|
26156
|
+
});
|
|
26157
|
+
} else if (customDialog.style == 1) {
|
|
26158
|
+
//树形
|
|
26159
|
+
this_.pageParam = {
|
|
26160
|
+
alias: alias,
|
|
26161
|
+
customDialog: customDialog
|
|
26162
|
+
};
|
|
26163
|
+
this_.customDialog = customDialog;
|
|
26164
|
+
let param = {};
|
|
26165
|
+
this_.conditionfieldTree = [];
|
|
26166
|
+
//判断是否存在条件
|
|
26167
|
+
if (customDialog.conditionfield) {
|
|
26168
|
+
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
26169
|
+
if (this_.conditionfieldTree.length > 0) {
|
|
26170
|
+
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
26171
|
+
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
26172
|
+
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
26173
|
+
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
25781
26174
|
}
|
|
25782
26175
|
}
|
|
25783
26176
|
}
|
|
25784
|
-
//有动态传入的字段
|
|
25785
|
-
if (JSON.stringify(param) != '{}') {
|
|
25786
|
-
this_.dialogVisible = true;
|
|
25787
|
-
} else {
|
|
25788
|
-
//无动态传入的字段
|
|
25789
|
-
this_.customDialogTreeShow(this_.pageParam);
|
|
25790
|
-
}
|
|
25791
26177
|
}
|
|
25792
|
-
|
|
26178
|
+
//有动态传入的字段
|
|
26179
|
+
if (JSON.stringify(param) != '{}') {
|
|
26180
|
+
this_.dialogVisible = true;
|
|
26181
|
+
} else {
|
|
26182
|
+
//无动态传入的字段
|
|
26183
|
+
this_.customDialogTreeShow(this_.pageParam);
|
|
26184
|
+
}
|
|
26185
|
+
}
|
|
25793
26186
|
},
|
|
25794
26187
|
treeClick(data) {
|
|
25795
26188
|
// 单选
|
|
@@ -25907,13 +26300,13 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25907
26300
|
}
|
|
25908
26301
|
// 添加用户id 岗位id 组织id
|
|
25909
26302
|
try {
|
|
25910
|
-
if (this.$requestConfig.getUserId()) {
|
|
26303
|
+
if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
|
|
25911
26304
|
ctx.userId = this.$requestConfig.getUserId();
|
|
25912
26305
|
}
|
|
25913
|
-
if (this.$requestConfig.getOrgId()) {
|
|
26306
|
+
if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
|
|
25914
26307
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
25915
26308
|
}
|
|
25916
|
-
if (this.$requestConfig.getPostId()) {
|
|
26309
|
+
if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
|
|
25917
26310
|
ctx.postId = this.$requestConfig.getPostId();
|
|
25918
26311
|
}
|
|
25919
26312
|
} catch (e) {
|
|
@@ -25998,8 +26391,13 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25998
26391
|
this.selectOrgs = this.convertComment2Field(str, field);
|
|
25999
26392
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
26000
26393
|
var val = '';
|
|
26001
|
-
str.forEach(item => {
|
|
26002
|
-
|
|
26394
|
+
str.forEach((item, index) => {
|
|
26395
|
+
// 此处添加url跳转参数保存逻辑
|
|
26396
|
+
if (this.jumpParamKey && this.isHaveJumpUrl && this.modelName == 'data.' + con['target'][0]) {
|
|
26397
|
+
val += `${item[con.from]}¯${this.jumpParamKey}:${this.selectOrgs[index][this.jumpParamKey]},`;
|
|
26398
|
+
} else {
|
|
26399
|
+
val += item[con.from] + ',';
|
|
26400
|
+
}
|
|
26003
26401
|
});
|
|
26004
26402
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
26005
26403
|
utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
|
|
@@ -26072,6 +26470,19 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26072
26470
|
//用户输入的
|
|
26073
26471
|
if (this.queryParams.length != 0 && this.queryParams[0] != '') {
|
|
26074
26472
|
this.conditionBind.forEach((item, index) => {
|
|
26473
|
+
// 日期范围特殊处理
|
|
26474
|
+
if (item.dbType == 'date' && item.condition == 'BETWEEN') {
|
|
26475
|
+
if (this.queryParams[index].startDate && !this.queryParams[index].endDate || !this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
26476
|
+
flag = true;
|
|
26477
|
+
this.$message.info('日期范围未填写完整!');
|
|
26478
|
+
return;
|
|
26479
|
+
}
|
|
26480
|
+
if (this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
26481
|
+
this.queryParams[index][item.field] = `${this.queryParams[index].startDate},${this.queryParams[index].endDate}`;
|
|
26482
|
+
} else {
|
|
26483
|
+
this.queryParams[index][item.field] = '';
|
|
26484
|
+
}
|
|
26485
|
+
}
|
|
26075
26486
|
if (this.queryParams[index][item.field]) {
|
|
26076
26487
|
querys.push({
|
|
26077
26488
|
property: item.field,
|
|
@@ -26120,13 +26531,13 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26120
26531
|
ctx.total = pageBean.pageBean.total;
|
|
26121
26532
|
// 添加用户id 岗位id 组织id
|
|
26122
26533
|
try {
|
|
26123
|
-
if (this.$requestConfig.getUserId()) {
|
|
26534
|
+
if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
|
|
26124
26535
|
ctx.userId = this.$requestConfig.getUserId();
|
|
26125
26536
|
}
|
|
26126
|
-
if (this.$requestConfig.getOrgId()) {
|
|
26537
|
+
if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
|
|
26127
26538
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
26128
26539
|
}
|
|
26129
|
-
if (this.$requestConfig.getPostId()) {
|
|
26540
|
+
if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
|
|
26130
26541
|
ctx.postId = this.$requestConfig.getPostId();
|
|
26131
26542
|
}
|
|
26132
26543
|
} catch (e) {
|
|
@@ -26154,6 +26565,8 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26154
26565
|
} else {
|
|
26155
26566
|
param.pageBean.pageSize = -1;
|
|
26156
26567
|
}
|
|
26568
|
+
// 日期格式的 改成数组
|
|
26569
|
+
// this.changeDateFormat(param)
|
|
26157
26570
|
//构造请求的参数
|
|
26158
26571
|
let requestParam = {
|
|
26159
26572
|
pageBean: param,
|
|
@@ -26189,6 +26602,15 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26189
26602
|
}
|
|
26190
26603
|
}
|
|
26191
26604
|
},
|
|
26605
|
+
changeDateFormat(param) {
|
|
26606
|
+
let dateValidate1 = /^\d{4}\-\d{2}\-\d{2}$/;
|
|
26607
|
+
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$/;
|
|
26608
|
+
Object.keys(param).forEach(key => {
|
|
26609
|
+
if (param[key] && typeof param[key] == 'string' && param[key].includes(',') && (dateValidate1.test(param[key].split(',')[0]) || dateValidate2.test(param[key].split(',')[0]))) {
|
|
26610
|
+
param[key] = param[key].split(',');
|
|
26611
|
+
}
|
|
26612
|
+
});
|
|
26613
|
+
},
|
|
26192
26614
|
getSearchValueByKey() {
|
|
26193
26615
|
let queryParamsObj = {};
|
|
26194
26616
|
if (this.queryParams.length > 0) {
|
|
@@ -26387,13 +26809,26 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26387
26809
|
}
|
|
26388
26810
|
}
|
|
26389
26811
|
}
|
|
26812
|
+
// 如果是查询中使用的对话框
|
|
26813
|
+
if (this.dialogType == 'search') {
|
|
26814
|
+
let returnVal = [];
|
|
26815
|
+
str.forEach(item => {
|
|
26816
|
+
returnVal.push(decodeURIComponent(item[this.modelName]));
|
|
26817
|
+
});
|
|
26818
|
+
this.$emit('updateInput', returnVal.join(','));
|
|
26819
|
+
return;
|
|
26820
|
+
}
|
|
26390
26821
|
const pInst = utils["a" /* default */].getOnlineFormInstance(this);
|
|
26391
26822
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
26392
26823
|
var val = '';
|
|
26393
26824
|
var from = con.from.toLowerCase();
|
|
26394
26825
|
str.forEach(item => {
|
|
26395
26826
|
if (item) {
|
|
26396
|
-
|
|
26827
|
+
if (this.jumpParamKey && this.isHaveJumpUrl && this.modelName == 'data.' + con['target'][0]) {
|
|
26828
|
+
val += `${decodeURIComponent(item[from])}¯${this.jumpParamKey}:${item[this.jumpParamKey]},`;
|
|
26829
|
+
} else {
|
|
26830
|
+
val += decodeURIComponent(item[from]) + ',';
|
|
26831
|
+
}
|
|
26397
26832
|
}
|
|
26398
26833
|
});
|
|
26399
26834
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
@@ -26430,20 +26865,6 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26430
26865
|
}
|
|
26431
26866
|
}
|
|
26432
26867
|
},
|
|
26433
|
-
// getSelected() {
|
|
26434
|
-
// let arr = []
|
|
26435
|
-
// this.selectIds.forEach((item) => {
|
|
26436
|
-
// debugger
|
|
26437
|
-
// let obj = this.dialogData.find((sub) => {
|
|
26438
|
-
// return sub.id_ === item
|
|
26439
|
-
// })
|
|
26440
|
-
// if (obj) {
|
|
26441
|
-
// arr.push(obj)
|
|
26442
|
-
// }
|
|
26443
|
-
// })
|
|
26444
|
-
|
|
26445
|
-
// return arr
|
|
26446
|
-
// },
|
|
26447
26868
|
calacInputSuffixHeight() {
|
|
26448
26869
|
this.$emit('calacInputSuffixHeight');
|
|
26449
26870
|
},
|
|
@@ -26645,11 +27066,11 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26645
27066
|
});
|
|
26646
27067
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=script&lang=js&
|
|
26647
27068
|
/* harmony default export */ var src_customMobileDialogvue_type_script_lang_js_ = (customMobileDialogvue_type_script_lang_js_);
|
|
26648
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=
|
|
26649
|
-
var
|
|
27069
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=691dcad9&prod&lang=scss&scoped=true&
|
|
27070
|
+
var customMobileDialogvue_type_style_index_0_id_691dcad9_prod_lang_scss_scoped_true_ = __webpack_require__("212d");
|
|
26650
27071
|
|
|
26651
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=
|
|
26652
|
-
var
|
|
27072
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=691dcad9&prod&lang=scss&
|
|
27073
|
+
var customMobileDialogvue_type_style_index_1_id_691dcad9_prod_lang_scss_ = __webpack_require__("d058");
|
|
26653
27074
|
|
|
26654
27075
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue
|
|
26655
27076
|
|
|
@@ -26663,11 +27084,11 @@ var customMobileDialogvue_type_style_index_1_id_1661eebb_prod_lang_scss_ = __web
|
|
|
26663
27084
|
|
|
26664
27085
|
var customMobileDialog_component = normalizeComponent(
|
|
26665
27086
|
src_customMobileDialogvue_type_script_lang_js_,
|
|
26666
|
-
|
|
26667
|
-
|
|
27087
|
+
customMobileDialogvue_type_template_id_691dcad9_scoped_true_render,
|
|
27088
|
+
customMobileDialogvue_type_template_id_691dcad9_scoped_true_staticRenderFns,
|
|
26668
27089
|
false,
|
|
26669
27090
|
null,
|
|
26670
|
-
"
|
|
27091
|
+
"691dcad9",
|
|
26671
27092
|
null
|
|
26672
27093
|
|
|
26673
27094
|
)
|
|
@@ -26807,6 +27228,17 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26807
27228
|
//
|
|
26808
27229
|
//
|
|
26809
27230
|
//
|
|
27231
|
+
//
|
|
27232
|
+
//
|
|
27233
|
+
//
|
|
27234
|
+
//
|
|
27235
|
+
//
|
|
27236
|
+
//
|
|
27237
|
+
//
|
|
27238
|
+
//
|
|
27239
|
+
//
|
|
27240
|
+
//
|
|
27241
|
+
//
|
|
26810
27242
|
|
|
26811
27243
|
|
|
26812
27244
|
|
|
@@ -26838,10 +27270,17 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26838
27270
|
subIndex: Number,
|
|
26839
27271
|
sunIndex: Number,
|
|
26840
27272
|
subPath: String,
|
|
26841
|
-
currentSubData: Array
|
|
27273
|
+
currentSubData: Array,
|
|
27274
|
+
dialogType: {
|
|
27275
|
+
// search表示在查询条件使用 form表示在表单中使用
|
|
27276
|
+
type: String,
|
|
27277
|
+
default: 'form'
|
|
27278
|
+
}
|
|
26842
27279
|
},
|
|
26843
27280
|
data() {
|
|
26844
27281
|
return {
|
|
27282
|
+
dialogConfig: null,
|
|
27283
|
+
// 对话框配置信息
|
|
26845
27284
|
isEditInputShow: false,
|
|
26846
27285
|
customValue: '',
|
|
26847
27286
|
defualtTooltipplacement: 'bottom',
|
|
@@ -26890,9 +27329,21 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26890
27329
|
}
|
|
26891
27330
|
let result = [];
|
|
26892
27331
|
nameAry.forEach(m => {
|
|
26893
|
-
|
|
26894
|
-
|
|
26895
|
-
|
|
27332
|
+
// 带url跳转参数的 使用上横杆区分参数 值格式为 名称¯跳转key:跳转value
|
|
27333
|
+
let n = {};
|
|
27334
|
+
if (m.includes('¯') && m.split('¯')[1]) {
|
|
27335
|
+
n.value = m.split('¯')[0];
|
|
27336
|
+
let jumpParamStr = m.split('¯')[1];
|
|
27337
|
+
if (jumpParamStr) {
|
|
27338
|
+
let jumpParam = jumpParamStr.split(':');
|
|
27339
|
+
n.jumpParamKey = jumpParam[0];
|
|
27340
|
+
n.jumpParamValue = jumpParam[1];
|
|
27341
|
+
}
|
|
27342
|
+
} else {
|
|
27343
|
+
n = {
|
|
27344
|
+
value: m
|
|
27345
|
+
};
|
|
27346
|
+
}
|
|
26896
27347
|
result.push(n);
|
|
26897
27348
|
});
|
|
26898
27349
|
return result;
|
|
@@ -26900,8 +27351,16 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26900
27351
|
},
|
|
26901
27352
|
isAllowCustom() {
|
|
26902
27353
|
return this.custdialog && this.custdialog.allowInput;
|
|
27354
|
+
},
|
|
27355
|
+
// 是否展示可跳转颜色
|
|
27356
|
+
isSrcColor() {
|
|
27357
|
+
return this.dialogConfig && this.dialogType !== 'search' && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
26903
27358
|
}
|
|
26904
27359
|
},
|
|
27360
|
+
created() {
|
|
27361
|
+
// 获取对话框配置,看是否有配置url跳转
|
|
27362
|
+
this.getDialogConfig();
|
|
27363
|
+
},
|
|
26905
27364
|
mounted() {
|
|
26906
27365
|
const {
|
|
26907
27366
|
subScopeEl
|
|
@@ -26920,6 +27379,63 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26920
27379
|
this.calacInputSuffixWidth();
|
|
26921
27380
|
},
|
|
26922
27381
|
methods: {
|
|
27382
|
+
// 跳转url页面
|
|
27383
|
+
jumpUrl(item) {
|
|
27384
|
+
if (!this.isSrcColor) {
|
|
27385
|
+
if (this.inputWriteable) {
|
|
27386
|
+
this.showEditInput();
|
|
27387
|
+
}
|
|
27388
|
+
return;
|
|
27389
|
+
}
|
|
27390
|
+
let url = this.isMobile ? this.dialogConfig.mobileUrl : this.dialogConfig.pcUrl;
|
|
27391
|
+
// 获取通用token 和 url翻译
|
|
27392
|
+
Promise.all([this.$requestConfig.getThreeTreeToken(), this.transformUrl(url)]).then(res => {
|
|
27393
|
+
if (res[0] && res[0].code == 200) {
|
|
27394
|
+
let token = res[0].value;
|
|
27395
|
+
let endUrl = res[1];
|
|
27396
|
+
// 拼接参数 token和参数
|
|
27397
|
+
if (endUrl.indexOf('?') == -1) {
|
|
27398
|
+
endUrl += `?bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
|
|
27399
|
+
} else {
|
|
27400
|
+
endUrl += `&bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
|
|
27401
|
+
}
|
|
27402
|
+
window.open(endUrl);
|
|
27403
|
+
} else {
|
|
27404
|
+
this.$message.info(res.message || '获取token失败!');
|
|
27405
|
+
}
|
|
27406
|
+
});
|
|
27407
|
+
},
|
|
27408
|
+
// 替换url中域名通配符 需要发送接口
|
|
27409
|
+
transformUrl(url) {
|
|
27410
|
+
return new Promise(resolve => {
|
|
27411
|
+
var reg = /(\$\{(\w+)\})/;
|
|
27412
|
+
var match = reg.exec(url);
|
|
27413
|
+
if (match) {
|
|
27414
|
+
let alias = match[2];
|
|
27415
|
+
if (alias) {
|
|
27416
|
+
this.$requestConfig.getHostByAlias(alias).then(res => {
|
|
27417
|
+
if (res && res.value && res.value.rootAddress) {
|
|
27418
|
+
resolve(url.replace(match[1], res.value.rootAddress));
|
|
27419
|
+
} else {
|
|
27420
|
+
resolve(url);
|
|
27421
|
+
}
|
|
27422
|
+
});
|
|
27423
|
+
} else {
|
|
27424
|
+
resolve(url);
|
|
27425
|
+
}
|
|
27426
|
+
} else {
|
|
27427
|
+
resolve(url);
|
|
27428
|
+
}
|
|
27429
|
+
});
|
|
27430
|
+
},
|
|
27431
|
+
// 获取对话框配置
|
|
27432
|
+
getDialogConfig() {
|
|
27433
|
+
if (this.custdialog && this.custdialog.custDialog && this.custdialog.custDialog.alias) this.$requestConfig.getCustomDialogByAlias(this.custdialog.custDialog.alias).then(response => {
|
|
27434
|
+
if (response) {
|
|
27435
|
+
this.dialogConfig = response;
|
|
27436
|
+
}
|
|
27437
|
+
});
|
|
27438
|
+
},
|
|
26923
27439
|
editInputBlur() {
|
|
26924
27440
|
this.$emit('input', this.customValue);
|
|
26925
27441
|
this.isEditInputShow = false;
|
|
@@ -26994,8 +27510,8 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26994
27510
|
});
|
|
26995
27511
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=script&lang=js&
|
|
26996
27512
|
/* harmony default export */ var packages_CustomDialog_src_mainvue_type_script_lang_js_ = (CustomDialog_src_mainvue_type_script_lang_js_);
|
|
26997
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=
|
|
26998
|
-
var
|
|
27513
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=7a0ef38c&prod&lang=scss&scoped=true&
|
|
27514
|
+
var mainvue_type_style_index_0_id_7a0ef38c_prod_lang_scss_scoped_true_ = __webpack_require__("8502");
|
|
26999
27515
|
|
|
27000
27516
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue
|
|
27001
27517
|
|
|
@@ -27008,11 +27524,11 @@ var mainvue_type_style_index_0_id_37fe7c68_prod_lang_scss_scoped_true_ = __webpa
|
|
|
27008
27524
|
|
|
27009
27525
|
var CustomDialog_src_main_component = normalizeComponent(
|
|
27010
27526
|
packages_CustomDialog_src_mainvue_type_script_lang_js_,
|
|
27011
|
-
|
|
27012
|
-
|
|
27527
|
+
mainvue_type_template_id_7a0ef38c_scoped_true_render,
|
|
27528
|
+
mainvue_type_template_id_7a0ef38c_scoped_true_staticRenderFns,
|
|
27013
27529
|
false,
|
|
27014
27530
|
null,
|
|
27015
|
-
"
|
|
27531
|
+
"7a0ef38c",
|
|
27016
27532
|
null
|
|
27017
27533
|
|
|
27018
27534
|
)
|
|
@@ -41652,12 +42168,12 @@ var GlobalValidate_component = normalizeComponent(
|
|
|
41652
42168
|
)
|
|
41653
42169
|
|
|
41654
42170
|
/* harmony default export */ var GlobalValidate = (GlobalValidate_component.exports);
|
|
41655
|
-
// 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=
|
|
41656
|
-
var
|
|
41657
|
-
var
|
|
42171
|
+
// 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&
|
|
42172
|
+
var GlobalQueryvue_type_template_id_c61b6e10_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span')}
|
|
42173
|
+
var GlobalQueryvue_type_template_id_c61b6e10_staticRenderFns = []
|
|
41658
42174
|
|
|
41659
42175
|
|
|
41660
|
-
// CONCATENATED MODULE: ./packages/Global/src/GlobalQuery.vue?vue&type=template&id=
|
|
42176
|
+
// CONCATENATED MODULE: ./packages/Global/src/GlobalQuery.vue?vue&type=template&id=c61b6e10&
|
|
41661
42177
|
|
|
41662
42178
|
// 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&
|
|
41663
42179
|
//
|
|
@@ -41713,7 +42229,8 @@ var GlobalQueryvue_type_template_id_0478065e_staticRenderFns = []
|
|
|
41713
42229
|
//子表
|
|
41714
42230
|
const triggerPath = item.triggerField.split('.');
|
|
41715
42231
|
const triggerField = triggerPath[triggerPath.length - 1];
|
|
41716
|
-
|
|
42232
|
+
// 修复子表初始化时会触发关联查询的问题
|
|
42233
|
+
_this.subOldValueMap[item.subPath] = JSON.parse(JSON.stringify(utils["a" /* default */].getValueByPath(_this.formInst, 'data.' + item.subPath))) || [];
|
|
41717
42234
|
item.triggerPath = triggerPath;
|
|
41718
42235
|
item.triggerField = triggerField;
|
|
41719
42236
|
item.resultBind = resultBind;
|
|
@@ -41835,8 +42352,8 @@ var GlobalQueryvue_type_template_id_0478065e_staticRenderFns = []
|
|
|
41835
42352
|
|
|
41836
42353
|
var GlobalQuery_component = normalizeComponent(
|
|
41837
42354
|
src_GlobalQueryvue_type_script_lang_js_,
|
|
41838
|
-
|
|
41839
|
-
|
|
42355
|
+
GlobalQueryvue_type_template_id_c61b6e10_render,
|
|
42356
|
+
GlobalQueryvue_type_template_id_c61b6e10_staticRenderFns,
|
|
41840
42357
|
false,
|
|
41841
42358
|
null,
|
|
41842
42359
|
null,
|
|
@@ -48958,6 +49475,13 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
48958
49475
|
|
|
48959
49476
|
/***/ }),
|
|
48960
49477
|
|
|
49478
|
+
/***/ "fcc0":
|
|
49479
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
49480
|
+
|
|
49481
|
+
// extracted by mini-css-extract-plugin
|
|
49482
|
+
|
|
49483
|
+
/***/ }),
|
|
49484
|
+
|
|
48961
49485
|
/***/ "fd19":
|
|
48962
49486
|
/***/ (function(module, exports, __webpack_require__) {
|
|
48963
49487
|
|