three-trees-ui 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/three-trees-ui.common.js +917 -394
- package/lib/three-trees-ui.css +1 -1
- package/lib/three-trees-ui.umd.js +917 -394
- 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
|
@@ -1652,6 +1652,13 @@ const btnList = [{
|
|
|
1652
1652
|
|
|
1653
1653
|
/***/ }),
|
|
1654
1654
|
|
|
1655
|
+
/***/ "0c48":
|
|
1656
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1657
|
+
|
|
1658
|
+
// extracted by mini-css-extract-plugin
|
|
1659
|
+
|
|
1660
|
+
/***/ }),
|
|
1661
|
+
|
|
1655
1662
|
/***/ "0edb":
|
|
1656
1663
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1657
1664
|
|
|
@@ -1895,6 +1902,13 @@ const SubPagination = {
|
|
|
1895
1902
|
/* unused harmony reexport * */
|
|
1896
1903
|
|
|
1897
1904
|
|
|
1905
|
+
/***/ }),
|
|
1906
|
+
|
|
1907
|
+
/***/ "18d6":
|
|
1908
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1909
|
+
|
|
1910
|
+
// extracted by mini-css-extract-plugin
|
|
1911
|
+
|
|
1898
1912
|
/***/ }),
|
|
1899
1913
|
|
|
1900
1914
|
/***/ "1a07":
|
|
@@ -1915,31 +1929,35 @@ const SubPagination = {
|
|
|
1915
1929
|
|
|
1916
1930
|
/***/ }),
|
|
1917
1931
|
|
|
1918
|
-
/***/ "
|
|
1932
|
+
/***/ "1ccc":
|
|
1919
1933
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1920
1934
|
|
|
1921
1935
|
// extracted by mini-css-extract-plugin
|
|
1922
1936
|
|
|
1923
1937
|
/***/ }),
|
|
1924
1938
|
|
|
1925
|
-
/***/ "
|
|
1939
|
+
/***/ "200a":
|
|
1926
1940
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1927
1941
|
|
|
1928
1942
|
// extracted by mini-css-extract-plugin
|
|
1929
1943
|
|
|
1930
1944
|
/***/ }),
|
|
1931
1945
|
|
|
1932
|
-
/***/ "
|
|
1946
|
+
/***/ "20da":
|
|
1933
1947
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1934
1948
|
|
|
1935
1949
|
// extracted by mini-css-extract-plugin
|
|
1936
1950
|
|
|
1937
1951
|
/***/ }),
|
|
1938
1952
|
|
|
1939
|
-
/***/ "
|
|
1940
|
-
/***/ (function(module,
|
|
1953
|
+
/***/ "212d":
|
|
1954
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1955
|
+
|
|
1956
|
+
"use strict";
|
|
1957
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_0_id_691dcad9_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("e902");
|
|
1958
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_0_id_691dcad9_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_0_id_691dcad9_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
1959
|
+
/* unused harmony reexport * */
|
|
1941
1960
|
|
|
1942
|
-
// extracted by mini-css-extract-plugin
|
|
1943
1961
|
|
|
1944
1962
|
/***/ }),
|
|
1945
1963
|
|
|
@@ -2101,13 +2119,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__289a__;
|
|
|
2101
2119
|
|
|
2102
2120
|
/***/ }),
|
|
2103
2121
|
|
|
2104
|
-
/***/ "333d":
|
|
2105
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2106
|
-
|
|
2107
|
-
// extracted by mini-css-extract-plugin
|
|
2108
|
-
|
|
2109
|
-
/***/ }),
|
|
2110
|
-
|
|
2111
2122
|
/***/ "33ce":
|
|
2112
2123
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2113
2124
|
|
|
@@ -2819,13 +2830,6 @@ Formulas.install = Vue => {
|
|
|
2819
2830
|
/* unused harmony reexport * */
|
|
2820
2831
|
|
|
2821
2832
|
|
|
2822
|
-
/***/ }),
|
|
2823
|
-
|
|
2824
|
-
/***/ "3766":
|
|
2825
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2826
|
-
|
|
2827
|
-
// extracted by mini-css-extract-plugin
|
|
2828
|
-
|
|
2829
2833
|
/***/ }),
|
|
2830
2834
|
|
|
2831
2835
|
/***/ "39bd":
|
|
@@ -2855,6 +2859,17 @@ Formulas.install = Vue => {
|
|
|
2855
2859
|
/* unused harmony reexport * */
|
|
2856
2860
|
|
|
2857
2861
|
|
|
2862
|
+
/***/ }),
|
|
2863
|
+
|
|
2864
|
+
/***/ "3de0":
|
|
2865
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2866
|
+
|
|
2867
|
+
"use strict";
|
|
2868
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customDialog_vue_vue_type_style_index_0_id_f66484a2_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("18d6");
|
|
2869
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customDialog_vue_vue_type_style_index_0_id_f66484a2_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customDialog_vue_vue_type_style_index_0_id_f66484a2_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
2870
|
+
/* unused harmony reexport * */
|
|
2871
|
+
|
|
2872
|
+
|
|
2858
2873
|
/***/ }),
|
|
2859
2874
|
|
|
2860
2875
|
/***/ "3e5b":
|
|
@@ -2945,17 +2960,6 @@ Formulas.install = Vue => {
|
|
|
2945
2960
|
|
|
2946
2961
|
// extracted by mini-css-extract-plugin
|
|
2947
2962
|
|
|
2948
|
-
/***/ }),
|
|
2949
|
-
|
|
2950
|
-
/***/ "49f9":
|
|
2951
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2952
|
-
|
|
2953
|
-
"use strict";
|
|
2954
|
-
/* 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");
|
|
2955
|
-
/* 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__);
|
|
2956
|
-
/* unused harmony reexport * */
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
2963
|
/***/ }),
|
|
2960
2964
|
|
|
2961
2965
|
/***/ "4a17":
|
|
@@ -2981,6 +2985,17 @@ Formulas.install = Vue => {
|
|
|
2981
2985
|
|
|
2982
2986
|
// extracted by mini-css-extract-plugin
|
|
2983
2987
|
|
|
2988
|
+
/***/ }),
|
|
2989
|
+
|
|
2990
|
+
/***/ "4d96":
|
|
2991
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2992
|
+
|
|
2993
|
+
"use strict";
|
|
2994
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_3052858e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("8c41");
|
|
2995
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_3052858e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_3052858e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
2996
|
+
/* unused harmony reexport * */
|
|
2997
|
+
|
|
2998
|
+
|
|
2984
2999
|
/***/ }),
|
|
2985
3000
|
|
|
2986
3001
|
/***/ "503b":
|
|
@@ -3388,17 +3403,6 @@ FormMath.isValue = function (value) {
|
|
|
3388
3403
|
/* unused harmony reexport * */
|
|
3389
3404
|
|
|
3390
3405
|
|
|
3391
|
-
/***/ }),
|
|
3392
|
-
|
|
3393
|
-
/***/ "5bc8":
|
|
3394
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3395
|
-
|
|
3396
|
-
"use strict";
|
|
3397
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_a94f0b7c_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("3766");
|
|
3398
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_a94f0b7c_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_a94f0b7c_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
3399
|
-
/* unused harmony reexport * */
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
3406
|
/***/ }),
|
|
3403
3407
|
|
|
3404
3408
|
/***/ "5c25":
|
|
@@ -4273,13 +4277,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4273
4277
|
|
|
4274
4278
|
/***/ }),
|
|
4275
4279
|
|
|
4276
|
-
/***/ "7c6e":
|
|
4277
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4278
|
-
|
|
4279
|
-
// extracted by mini-css-extract-plugin
|
|
4280
|
-
|
|
4281
|
-
/***/ }),
|
|
4282
|
-
|
|
4283
4280
|
/***/ "7d0a":
|
|
4284
4281
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4285
4282
|
|
|
@@ -4307,17 +4304,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4307
4304
|
|
|
4308
4305
|
// extracted by mini-css-extract-plugin
|
|
4309
4306
|
|
|
4310
|
-
/***/ }),
|
|
4311
|
-
|
|
4312
|
-
/***/ "7ff9":
|
|
4313
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4314
|
-
|
|
4315
|
-
"use strict";
|
|
4316
|
-
/* 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");
|
|
4317
|
-
/* 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__);
|
|
4318
|
-
/* unused harmony reexport * */
|
|
4319
|
-
|
|
4320
|
-
|
|
4321
4307
|
/***/ }),
|
|
4322
4308
|
|
|
4323
4309
|
/***/ "81f7":
|
|
@@ -4372,6 +4358,17 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4372
4358
|
|
|
4373
4359
|
// extracted by mini-css-extract-plugin
|
|
4374
4360
|
|
|
4361
|
+
/***/ }),
|
|
4362
|
+
|
|
4363
|
+
/***/ "8502":
|
|
4364
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4365
|
+
|
|
4366
|
+
"use strict";
|
|
4367
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_7a0ef38c_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("0c48");
|
|
4368
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_7a0ef38c_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_7a0ef38c_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
4369
|
+
/* unused harmony reexport * */
|
|
4370
|
+
|
|
4371
|
+
|
|
4375
4372
|
/***/ }),
|
|
4376
4373
|
|
|
4377
4374
|
/***/ "8728":
|
|
@@ -4461,6 +4458,13 @@ module.exports = require("vue");
|
|
|
4461
4458
|
/* unused harmony reexport * */
|
|
4462
4459
|
|
|
4463
4460
|
|
|
4461
|
+
/***/ }),
|
|
4462
|
+
|
|
4463
|
+
/***/ "8c41":
|
|
4464
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4465
|
+
|
|
4466
|
+
// extracted by mini-css-extract-plugin
|
|
4467
|
+
|
|
4464
4468
|
/***/ }),
|
|
4465
4469
|
|
|
4466
4470
|
/***/ "8d8b":
|
|
@@ -4767,14 +4771,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
4767
4771
|
/***/ "9224":
|
|
4768
4772
|
/***/ (function(module) {
|
|
4769
4773
|
|
|
4770
|
-
module.exports = JSON.parse("{\"a\":\"1.0.
|
|
4771
|
-
|
|
4772
|
-
/***/ }),
|
|
4773
|
-
|
|
4774
|
-
/***/ "923d":
|
|
4775
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4776
|
-
|
|
4777
|
-
// extracted by mini-css-extract-plugin
|
|
4774
|
+
module.exports = JSON.parse("{\"a\":\"1.0.5\"}");
|
|
4778
4775
|
|
|
4779
4776
|
/***/ }),
|
|
4780
4777
|
|
|
@@ -6465,17 +6462,6 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
|
|
|
6465
6462
|
|
|
6466
6463
|
// extracted by mini-css-extract-plugin
|
|
6467
6464
|
|
|
6468
|
-
/***/ }),
|
|
6469
|
-
|
|
6470
|
-
/***/ "bf72":
|
|
6471
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6472
|
-
|
|
6473
|
-
"use strict";
|
|
6474
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_37fe7c68_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1c11");
|
|
6475
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_37fe7c68_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_37fe7c68_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
6476
|
-
/* unused harmony reexport * */
|
|
6477
|
-
|
|
6478
|
-
|
|
6479
6465
|
/***/ }),
|
|
6480
6466
|
|
|
6481
6467
|
/***/ "c0a9":
|
|
@@ -6662,6 +6648,17 @@ module.exports = __WEBPACK_EXTERNAL_MODULE_cebe__;
|
|
|
6662
6648
|
|
|
6663
6649
|
// extracted by mini-css-extract-plugin
|
|
6664
6650
|
|
|
6651
|
+
/***/ }),
|
|
6652
|
+
|
|
6653
|
+
/***/ "d058":
|
|
6654
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6655
|
+
|
|
6656
|
+
"use strict";
|
|
6657
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_1_id_691dcad9_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("fcc0");
|
|
6658
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_1_id_691dcad9_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_1_id_691dcad9_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
6659
|
+
/* unused harmony reexport * */
|
|
6660
|
+
|
|
6661
|
+
|
|
6665
6662
|
/***/ }),
|
|
6666
6663
|
|
|
6667
6664
|
/***/ "d071":
|
|
@@ -7191,17 +7188,6 @@ module.exports = require("deepmerge");
|
|
|
7191
7188
|
/* unused harmony reexport * */
|
|
7192
7189
|
|
|
7193
7190
|
|
|
7194
|
-
/***/ }),
|
|
7195
|
-
|
|
7196
|
-
/***/ "de6a":
|
|
7197
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7198
|
-
|
|
7199
|
-
"use strict";
|
|
7200
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_0_id_1661eebb_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("923d");
|
|
7201
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_0_id_1661eebb_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_0_id_1661eebb_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
7202
|
-
/* unused harmony reexport * */
|
|
7203
|
-
|
|
7204
|
-
|
|
7205
7191
|
/***/ }),
|
|
7206
7192
|
|
|
7207
7193
|
/***/ "de9c":
|
|
@@ -7295,6 +7281,13 @@ module.exports = require("deepmerge");
|
|
|
7295
7281
|
|
|
7296
7282
|
/***/ }),
|
|
7297
7283
|
|
|
7284
|
+
/***/ "e902":
|
|
7285
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
7286
|
+
|
|
7287
|
+
// extracted by mini-css-extract-plugin
|
|
7288
|
+
|
|
7289
|
+
/***/ }),
|
|
7290
|
+
|
|
7298
7291
|
/***/ "eab7":
|
|
7299
7292
|
/***/ (function(module, exports, __webpack_require__) {
|
|
7300
7293
|
|
|
@@ -22494,8 +22487,8 @@ PostSelector_src_main.install = function (Vue) {
|
|
|
22494
22487
|
Vue.component(PostSelector_src_main.name, PostSelector_src_main);
|
|
22495
22488
|
};
|
|
22496
22489
|
/* harmony default export */ var PostSelector = (PostSelector_src_main);
|
|
22497
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/DimensionSelector/src/main.vue?vue&type=template&id=
|
|
22498
|
-
var
|
|
22490
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/DimensionSelector/src/main.vue?vue&type=template&id=3052858e&scoped=true&
|
|
22491
|
+
var mainvue_type_template_id_3052858e_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.permission !== 'n')?_c('div',{class:[
|
|
22499
22492
|
'inputs',
|
|
22500
22493
|
_vm.formInputsDisplay == 'block'
|
|
22501
22494
|
? 'ht-form-inputs__block'
|
|
@@ -22510,10 +22503,10 @@ var mainvue_type_template_id_a94f0b7c_scoped_true_render = function () {var _vm=
|
|
|
22510
22503
|
return [_c('ht-icon',{staticClass:"follow-theme-color",staticStyle:{"margin-left":"15px","width":"36px","height":"36px"},attrs:{"name":"demension"}}),_c('div',{staticClass:"selector-item__detail"},[_c('div',{staticClass:"selector-detail__name"},[_c('label',[_vm._v(_vm._s(item[_vm.selectLabel]))]),_c('span',[_vm._v("("+_vm._s(item['code'])+")")])])])]}},{key:"selected",fn:function(ref){
|
|
22511
22504
|
var select = ref.select;
|
|
22512
22505
|
return [_c('ht-icon',{staticClass:"follow-theme-color",staticStyle:{"margin-left":"15px","width":"36px","height":"36px"},attrs:{"name":"demension"}}),_c('p',{staticClass:"selector-selected__label",attrs:{"title":((select[_vm.selectLabel]) + "(" + (select['code']) + ")")}},[_vm._v("\n "+_vm._s(((select[_vm.selectLabel]) + "(" + (select['code']) + ")"))+"\n ")])]}}],null,false,3344182147),model:{value:(_vm.demensions),callback:function ($$v) {_vm.demensions=$$v},expression:"demensions"}})],1),_c('div',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"type":"primary","size":"small"},on:{"click":_vm.handleDialogSure}},[_vm._v("\n 确 定\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.handleDialogCancel}},[_vm._v("取 消")])],1)])],1):_vm._e()}
|
|
22513
|
-
var
|
|
22506
|
+
var mainvue_type_template_id_3052858e_scoped_true_staticRenderFns = []
|
|
22514
22507
|
|
|
22515
22508
|
|
|
22516
|
-
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=template&id=
|
|
22509
|
+
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=template&id=3052858e&scoped=true&
|
|
22517
22510
|
|
|
22518
22511
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/DimensionSelector/src/main.vue?vue&type=script&lang=js&
|
|
22519
22512
|
//
|
|
@@ -22772,6 +22765,8 @@ var mainvue_type_template_id_a94f0b7c_scoped_true_staticRenderFns = []
|
|
|
22772
22765
|
if (this.config.hasOwnProperty('demName')) {
|
|
22773
22766
|
utils["a" /* default */].setValueByConfigKey(this, this.config, 'demName', demNameAry.join(','));
|
|
22774
22767
|
}
|
|
22768
|
+
} else {
|
|
22769
|
+
this.$emit('change', newVal);
|
|
22775
22770
|
}
|
|
22776
22771
|
// 通过valueChange事件发布值变更消息
|
|
22777
22772
|
this.$emit('valueChange', ary.join(','), newVal);
|
|
@@ -22901,8 +22896,8 @@ var mainvue_type_template_id_a94f0b7c_scoped_true_staticRenderFns = []
|
|
|
22901
22896
|
});
|
|
22902
22897
|
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=script&lang=js&
|
|
22903
22898
|
/* harmony default export */ var packages_DimensionSelector_src_mainvue_type_script_lang_js_ = (DimensionSelector_src_mainvue_type_script_lang_js_);
|
|
22904
|
-
// EXTERNAL MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=style&index=0&id=
|
|
22905
|
-
var
|
|
22899
|
+
// EXTERNAL MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=style&index=0&id=3052858e&prod&lang=scss&scoped=true&
|
|
22900
|
+
var mainvue_type_style_index_0_id_3052858e_prod_lang_scss_scoped_true_ = __webpack_require__("4d96");
|
|
22906
22901
|
|
|
22907
22902
|
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue
|
|
22908
22903
|
|
|
@@ -22915,11 +22910,11 @@ var mainvue_type_style_index_0_id_a94f0b7c_prod_lang_scss_scoped_true_ = __webpa
|
|
|
22915
22910
|
|
|
22916
22911
|
var DimensionSelector_src_main_component = normalizeComponent(
|
|
22917
22912
|
packages_DimensionSelector_src_mainvue_type_script_lang_js_,
|
|
22918
|
-
|
|
22919
|
-
|
|
22913
|
+
mainvue_type_template_id_3052858e_scoped_true_render,
|
|
22914
|
+
mainvue_type_template_id_3052858e_scoped_true_staticRenderFns,
|
|
22920
22915
|
false,
|
|
22921
22916
|
null,
|
|
22922
|
-
"
|
|
22917
|
+
"3052858e",
|
|
22923
22918
|
null
|
|
22924
22919
|
|
|
22925
22920
|
)
|
|
@@ -23547,8 +23542,8 @@ Dialog_src_main.install = function (Vue) {
|
|
|
23547
23542
|
Vue.component(Dialog_src_main.name, Dialog_src_main);
|
|
23548
23543
|
};
|
|
23549
23544
|
/* harmony default export */ var Dialog = (Dialog_src_main);
|
|
23550
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/main.vue?vue&type=template&id=
|
|
23551
|
-
var
|
|
23545
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/main.vue?vue&type=template&id=7a0ef38c&scoped=true&
|
|
23546
|
+
var mainvue_type_template_id_7a0ef38c_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"inputs"},[_c('el-tooltip',{attrs:{"placement":_vm.tooltipplacement || _vm.defualtTooltipplacement,"disabled":_vm.inputWriteable && !_vm.errors.has('custom-form.' + _vm.inputName)}},[_c('div',{attrs:{"slot":"content"},slot:"content"},[_vm._v(_vm._s(_vm.errors.first('custom-form.' + _vm.inputName)))]),(_vm.inputWriteable)?_c('div',{staticClass:"el-select",class:{ 'has-value': _vm.value },staticStyle:{"width":"100%"}},[_c('div',{ref:"tagSpans",staticClass:"el-select__tags",style:({ width: 'calc(100% - 10px - ' + _vm.inputSuffixWidth + 'px)' }),on:{"click":_vm.showEditInput}},[_c('span',{staticClass:"tag-wrap"},_vm._l((_vm.inputVal),function(item,index){return _c('span',{key:item.value,staticClass:"el-tag el-tag--info el-tag--small",on:{"click":function($event){$event.stopPropagation();return _vm.jumpUrl(item)}}},[_c('span',{staticClass:"el-select__tags-text",class:{ 'src-color': _vm.isSrcColor }},[_vm._v("\n "+_vm._s(item.value)+"\n ")]),_c('i',{staticClass:"el-tag__close el-icon-close",on:{"click":function($event){$event.stopPropagation();return _vm.removeSelectOrg(index)}}})])}),0)]),_c('div',{staticClass:"el-input el-input--suffix"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.inputVal),expression:"inputVal"},{name:"validate",rawName:"v-validate",value:(_vm.inputValidate),expression:"inputValidate"}],staticClass:"el-input__inner",style:({ height: _vm.inputSuffixHeight + 'px' }),attrs:{"type":"text","readonly":"readonly","name":_vm.inputName,"autocomplete":"off","placeholder":_vm.placeholder},domProps:{"value":(_vm.inputVal)},on:{"click":_vm.showEditInput,"input":function($event){if($event.target.composing){ return; }_vm.inputVal=$event.target.value}}}),(_vm.isAllowCustom && _vm.isEditInputShow)?_c('el-input',{ref:"editInputRef",staticClass:"edit-input",style:({
|
|
23552
23547
|
right: _vm.inputSuffixWidth - 1 + 'px',
|
|
23553
23548
|
width: 'auto!important',
|
|
23554
23549
|
height: _vm.inputSuffixHeight - 4 + 'px',
|
|
@@ -23557,11 +23552,11 @@ var mainvue_type_template_id_37fe7c68_scoped_true_render = function () {var _vm=
|
|
|
23557
23552
|
: 'el-input__icon icon-duihuakuang',style:({
|
|
23558
23553
|
fontSize: '17px',
|
|
23559
23554
|
lineHeight: _vm.inputSuffixHeight + 'px',
|
|
23560
|
-
})}),_vm._v("\n "+_vm._s(_vm.custdialog.name)+"\n ")])],1)])],1)]):_vm._e()]),(!_vm.inputWriteable)?_c('span',_vm._l((_vm.inputVal),function(item){return _c('span',{key:item.value,staticClass:"el-tag el-tag--info el-tag--small",staticStyle:{"margin-right":"8px"},on:{"click":function($event){$event.stopPropagation();}}},[_c('span',{staticClass:"el-select__tags-text"},[_vm._v(_vm._s(item.value))])])}),0):_vm._e(),(_vm.isMobile)?_c('custom-mobile-dialog',{ref:"customMobileDialogRef",attrs:{"model-name":_vm.modelName,"custdialog":_vm.custdialog,"sub-index":_vm.subIndex,"sun-index":_vm.sunIndex,"sub-path":_vm.subPath,"current-sub-data":_vm.currentSubData},on:{"calacInputSuffixHeight":_vm.calacInputSuffixHeight,"updateInput":_vm.updateInput}}):_c('custom-dialog',{ref:"customDialogRef",attrs:{"model-name":_vm.modelName,"custdialog":_vm.custdialog,"sub-index":_vm.subIndex,"sun-index":_vm.sunIndex,"sub-path":_vm.subPath,"current-sub-data":_vm.currentSubData,"is-read-only":!_vm.inputWriteable},on:{"calacInputSuffixHeight":_vm.calacInputSuffixHeight,"updateInput":_vm.updateInput},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v},expression:"value"}}),_c('span',{directives:[{name:"validate",rawName:"v-validate"}],staticStyle:{"display":"none"}},[_vm._t("labeldesc",[_vm._v(_vm._s(_vm.inputName))])],2),_c('ht-field-tail',{attrs:{"field-name":_vm.inputName,"input-value":_vm.value}})],1)}
|
|
23561
|
-
var
|
|
23555
|
+
})}),_vm._v("\n "+_vm._s(_vm.custdialog.name)+"\n ")])],1)])],1)]):_vm._e()]),(!_vm.inputWriteable)?_c('span',_vm._l((_vm.inputVal),function(item){return _c('span',{key:item.value,staticClass:"el-tag el-tag--info el-tag--small",staticStyle:{"margin-right":"8px"},on:{"click":function($event){$event.stopPropagation();return _vm.jumpUrl(item)}}},[_c('span',{staticClass:"el-select__tags-text",class:{ 'src-color': _vm.isSrcColor }},[_vm._v("\n "+_vm._s(item.value)+"\n ")])])}),0):_vm._e(),(_vm.isMobile)?_c('custom-mobile-dialog',{ref:"customMobileDialogRef",attrs:{"model-name":_vm.modelName,"custdialog":_vm.custdialog,"sub-index":_vm.subIndex,"sun-index":_vm.sunIndex,"sub-path":_vm.subPath,"current-sub-data":_vm.currentSubData,"dialog-config":_vm.dialogConfig,"dialog-type":_vm.dialogType},on:{"calacInputSuffixHeight":_vm.calacInputSuffixHeight,"updateInput":_vm.updateInput}}):_c('custom-dialog',{ref:"customDialogRef",attrs:{"model-name":_vm.modelName,"custdialog":_vm.custdialog,"sub-index":_vm.subIndex,"sun-index":_vm.sunIndex,"sub-path":_vm.subPath,"current-sub-data":_vm.currentSubData,"is-read-only":!_vm.inputWriteable,"dialog-config":_vm.dialogConfig,"dialog-type":_vm.dialogType},on:{"calacInputSuffixHeight":_vm.calacInputSuffixHeight,"updateInput":_vm.updateInput},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v},expression:"value"}}),_c('span',{directives:[{name:"validate",rawName:"v-validate"}],staticStyle:{"display":"none"}},[_vm._t("labeldesc",[_vm._v(_vm._s(_vm.inputName))])],2),_c('ht-field-tail',{attrs:{"field-name":_vm.inputName,"input-value":_vm.value}})],1)}
|
|
23556
|
+
var mainvue_type_template_id_7a0ef38c_scoped_true_staticRenderFns = []
|
|
23562
23557
|
|
|
23563
23558
|
|
|
23564
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=
|
|
23559
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=7a0ef38c&scoped=true&
|
|
23565
23560
|
|
|
23566
23561
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.js
|
|
23567
23562
|
|
|
@@ -23683,19 +23678,35 @@ var mainvue_type_template_id_37fe7c68_scoped_true_staticRenderFns = []
|
|
|
23683
23678
|
}
|
|
23684
23679
|
}
|
|
23685
23680
|
});
|
|
23686
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=
|
|
23687
|
-
var
|
|
23688
|
-
|
|
23689
|
-
|
|
23690
|
-
|
|
23691
|
-
|
|
23692
|
-
|
|
23693
|
-
|
|
23694
|
-
|
|
23695
|
-
|
|
23696
|
-
|
|
23697
|
-
|
|
23698
|
-
|
|
23681
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=f66484a2&scoped=true&
|
|
23682
|
+
var customDialogvue_type_template_id_f66484a2_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-dialog',{attrs:{"visible":_vm.customDialogShowList,"title":_vm.customDialog.name,"close-on-click-modal":false,"before-close":_vm.dialogCancel,"append-to-body":"","top":"6vh","width":"60%"},on:{"update:visible":function($event){_vm.customDialogShowList=$event},"opened":_vm.afterOpen}},[_c('el-container',{staticStyle:{"overflow":"auto"},style:(_vm.style)},[(_vm.customDialog.style == 2)?_c('el-aside',{directives:[{name:"show",rawName:"v-show",value:(_vm.treeShow),expression:"treeShow"}],staticStyle:{"width":"23%"}},[_c('el-card',[_c('div',{staticClass:"clearfix",attrs:{"slot":"header"},slot:"header"},[_c('span',{staticStyle:{"font-size":"16px"}},[_vm._v(_vm._s(_vm.leftTreeTitle))])]),_c('el-tree',{ref:"combinationTree",attrs:{"data":_vm.combinationTreeData,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","check-on-click-node":true,"lazy":"","load":_vm.loadTree},on:{"node-click":_vm.combiTreeClick}})],1)],1):_vm._e(),(_vm.customDialog.style == 2)?_c('el-divider',{attrs:{"direction":"vertical"}}):_vm._e(),_c('el-container',[(_vm.querysShow)?_c('el-header',{staticClass:"middle-header"},[_vm._l((_vm.conditionBind),function(condition,index){return _c('div',{key:index,staticClass:"search-item"},[_c('p',{staticStyle:{"font-size":"14px"}},[_vm._v(_vm._s(condition.comment)+":")]),(condition.controllerType == '1')?_c('div',[_c('el-input',{staticStyle:{"width":"180px","padding":"10px 0","margin":"0 5px 0 5px"},attrs:{"size":"small","clearable":"","placeholder":_vm.placeholders[index],"prefix-icon":"el-icon-search"},nativeOn:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.searchEnterFun($event)}},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '2')?_c('div',{staticStyle:{"margin-right":"10px"}},_vm._l((condition.config.options),function(itemR,$index1){return _c('el-radio',{key:$index1,attrs:{"label":itemR.key},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}},[_vm._v("\n "+_vm._s(itemR.value)+"\n ")])}),1):_vm._e(),(condition.controllerType == '3')?_c('div',{staticStyle:{"margin-right":"10px"}},[(condition.config.choiceType == 'static')?_c('ht-select',{attrs:{"placeholder":_vm.quickSearch,"multiple":condition.config.multiple,"options":condition.config.options},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}}):_c('ht-dictionary',{attrs:{"dickey":condition.config.dic,"filterable":condition.config.filterable},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '4')?_c('div',{staticStyle:{"margin-right":"10px"}},[_c('eip-tag',{attrs:{"tag-key":condition.config.tag,"placeholder":_vm.quickSearch,"filterable":condition.config.filterable,"expand":condition.config.expand},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '6')?_c('div',{staticStyle:{"margin-right":"10px"}},[(condition.condition == 'BETWEEN')?_c('div',[_c('ht-date',{attrs:{"format":condition.config.inputFormat,"valueFormat":condition.config.inputFormat},model:{value:(_vm.queryParams[index].startDate),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "startDate", $$v)},expression:"queryParams[index].startDate"}}),_vm._v("\n 至\n "),_c('ht-date',{attrs:{"format":condition.config.inputFormat,"valueFormat":condition.config.inputFormat},model:{value:(_vm.queryParams[index].endDate),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "endDate", $$v)},expression:"queryParams[index].endDate"}})],1):_c('ht-date',{attrs:{"format":condition.config.inputFormat,"valueFormat":condition.config.inputFormat},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '7')?_c('div',{staticStyle:{"margin-right":"10px"}},[(condition.config.alias == 'user')?_c('ht-user-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23683
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23684
|
+
}},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e(),(condition.config.alias == 'org')?_c('ht-org-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23685
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23686
|
+
}},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e(),(condition.config.alias == 'role')?_c('ht-role-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23687
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23688
|
+
}},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e(),(condition.config.alias == 'job')?_c('ht-job-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23689
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23690
|
+
}},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e(),(condition.config.alias == 'post')?_c('ht-post-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23691
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23692
|
+
}},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e(),(condition.config.alias == 'dimension')?_c('ht-dimension-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23693
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23694
|
+
}},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e()],1):_vm._e(),(condition.controllerType == '5')?_c('div',{staticStyle:{"margin-right":"10px"}},[_c('ht-custom-dialog',{attrs:{"model-name":condition.config.keyBind,"dialogType":"search","custdialog":{
|
|
23695
|
+
name: '请选择',
|
|
23696
|
+
icon: '',
|
|
23697
|
+
custDialog: {
|
|
23698
|
+
selectNum: 1,
|
|
23699
|
+
conditions: [],
|
|
23700
|
+
mappingConf: [],
|
|
23701
|
+
custQueryJson: [],
|
|
23702
|
+
alias: condition.config.alias,
|
|
23703
|
+
type: 'custDialog',
|
|
23704
|
+
},
|
|
23705
|
+
}},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e()])}),(_vm.conditionBind && _vm.conditionBind.length > 0)?_c('div',{staticClass:"btn-wrap"},[_c('el-button',{staticStyle:{"margin-left":"20px"},attrs:{"size":"small","type":"primary","icon":"el-icon-search"},on:{"click":function($event){return _vm.search(true)}}},[_vm._v("\n 查询\n ")]),_c('el-button',{attrs:{"size":"small","icon":"el-icon-refresh"},on:{"click":_vm.reset}},[_vm._v("\n 重置\n ")])],1):_vm._e()],2):_vm._e(),_c('el-main',{ref:"customTableRef",staticClass:"custom-dialog_main"},[_c('el-table',{ref:"orgTable",staticClass:"org-table",staticStyle:{"width":"100%"},attrs:{"data":_vm.dialogData,"stripe":"","border":"","size":"medium","height":_vm.tableHeight},on:{"row-click":_vm.orgRowClick,"selection-change":_vm.orgTableSelection,"select":_vm.onTableSelect,"select-all":_vm.selectAll}},[(_vm.customDialog.selectNum != 1)?_c('el-table-column',{attrs:{"type":"selection","align":"center","width":"55"}}):_vm._e(),(_vm.customDialog.selectNum === 1)?_c('el-table-column',{attrs:{"align":"center","width":"55"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-radio',{staticClass:"textRadio",attrs:{"label":scope.$index},on:{"selection-change":_vm.orgTableSelection},model:{value:(_vm.tableRadioVal),callback:function ($$v) {_vm.tableRadioVal=$$v},expression:"tableRadioVal"}},[_vm._v("\n \n ")])]}}],null,false,918943478)}):_vm._e(),_c('el-table-column',{attrs:{"type":"index","width":"50","align":"center","label":"序号"}}),_vm._l((_vm.sortDisplayfield),function(field){return _c('el-table-column',{key:field.field,attrs:{"prop":field.field,"label":field.comment,"width":field.width || ''}})})],2)],1),_c('el-footer',[(_vm.customDialog.needPage)?_c('el-row',{staticStyle:{"padding-top":"15px","justify-content":"space-between"},attrs:{"type":"flex","justify":"end"}},[(_vm.customDialog.style == 2)?_c('el-button',{attrs:{"icon":_vm.toggleBtn,"size":"mini","type":"default"},on:{"click":_vm.toggleTree}}):_vm._e(),_c('el-pagination',{attrs:{"small":"","current-page":_vm.pagination.page,"page-sizes":[10, 20, 50, 100],"page-size":_vm.pagination.pageSize,"layout":"total, sizes, prev, pager, next, jumper","total":_vm.total},on:{"size-change":_vm.handleSizeChange,"current-change":_vm.handleCurrentChange}})],1):_vm._e()],1)],1)],1),_c('span',{staticClass:"dialog-footer",staticStyle:{"text-align":"center"},attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.dialogConfirm}},[_vm._v("\n 确认\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.dialogCancel}},[_vm._v("取 消")])],1)],1),_c('el-dialog',{attrs:{"title":"动态传入参数查询","width":"500px","visible":_vm.dialogVisible,"before-close":_vm.handleClose,"close-on-click-modal":false,"top":"6vh"},on:{"update:visible":function($event){_vm.dialogVisible=$event}}},[_c('table',{staticClass:"form-table",staticStyle:{"margin-left":"20px","width":"90%"},attrs:{"cellspacing":"0","cellpadding":"0","border":"0"}},_vm._l((_vm.conditionfieldTree),function(item,$index){return _c('tbody',{key:$index},[(item.defaultType == '4')?_c('tr',[_c('th',{attrs:{"width":"130px"}},[_vm._v(_vm._s(item.comment)+":")]),_c('td',[(item.type != 'date')?_c('ht-input',{staticStyle:{"width":"100%"},attrs:{"type":"text","placeholder":'请输入' + item.comment,"autocomplete":"off"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e(),(item.type == 'date')?_c('ht-date',{staticStyle:{"width":"100%"},attrs:{"placeholder":'请输入' + item.comment,"format":"yyyy-MM-dd"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e()],1)]):_vm._e()])}),0),_c('div',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"type":"primary"},on:{"click":_vm.handleSave}},[_vm._v("确 定")]),_c('el-button',{on:{"click":_vm.handleClose}},[_vm._v("取 消")])],1)]),_c('el-dialog',{attrs:{"visible":_vm.customDialogShowTree,"title":_vm.customDialog.name,"close-on-click-modal":false,"before-close":_vm.dialogCancelTree,"append-to-body":"","top":"6vh","width":"500px"},on:{"update:visible":function($event){_vm.customDialogShowTree=$event}}},[_c('el-container',{staticStyle:{"overflow":"auto"},style:(_vm.style)},[_c('el-tree',{ref:"tree",staticStyle:{"width":"100%"},attrs:{"data":_vm.props1,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","show-checkbox":_vm.customDialog.selectNum === -1,"check-on-click-node":true,"check-strictly":false,"lazy":"","load":_vm.loadTree,"default-expanded-keys":_vm.defaultExpandedKeys},on:{"node-click":_vm.treeClick,"check-change":_vm.getChecked}})],1),_c('span',{staticClass:"dialog-footer",staticStyle:{"text-align":"center"},attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.dialogTreeConfirm}},[_vm._v("\n 确认\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.dialogCancelTree}},[_vm._v("取 消")])],1)],1)],1)}
|
|
23706
|
+
var customDialogvue_type_template_id_f66484a2_scoped_true_staticRenderFns = []
|
|
23707
|
+
|
|
23708
|
+
|
|
23709
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=f66484a2&scoped=true&
|
|
23699
23710
|
|
|
23700
23711
|
// EXTERNAL MODULE: external "jquery"
|
|
23701
23712
|
var external_jquery_ = __webpack_require__("c5e1");
|
|
@@ -24004,6 +24015,116 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24004
24015
|
//
|
|
24005
24016
|
//
|
|
24006
24017
|
//
|
|
24018
|
+
//
|
|
24019
|
+
//
|
|
24020
|
+
//
|
|
24021
|
+
//
|
|
24022
|
+
//
|
|
24023
|
+
//
|
|
24024
|
+
//
|
|
24025
|
+
//
|
|
24026
|
+
//
|
|
24027
|
+
//
|
|
24028
|
+
//
|
|
24029
|
+
//
|
|
24030
|
+
//
|
|
24031
|
+
//
|
|
24032
|
+
//
|
|
24033
|
+
//
|
|
24034
|
+
//
|
|
24035
|
+
//
|
|
24036
|
+
//
|
|
24037
|
+
//
|
|
24038
|
+
//
|
|
24039
|
+
//
|
|
24040
|
+
//
|
|
24041
|
+
//
|
|
24042
|
+
//
|
|
24043
|
+
//
|
|
24044
|
+
//
|
|
24045
|
+
//
|
|
24046
|
+
//
|
|
24047
|
+
//
|
|
24048
|
+
//
|
|
24049
|
+
//
|
|
24050
|
+
//
|
|
24051
|
+
//
|
|
24052
|
+
//
|
|
24053
|
+
//
|
|
24054
|
+
//
|
|
24055
|
+
//
|
|
24056
|
+
//
|
|
24057
|
+
//
|
|
24058
|
+
//
|
|
24059
|
+
//
|
|
24060
|
+
//
|
|
24061
|
+
//
|
|
24062
|
+
//
|
|
24063
|
+
//
|
|
24064
|
+
//
|
|
24065
|
+
//
|
|
24066
|
+
//
|
|
24067
|
+
//
|
|
24068
|
+
//
|
|
24069
|
+
//
|
|
24070
|
+
//
|
|
24071
|
+
//
|
|
24072
|
+
//
|
|
24073
|
+
//
|
|
24074
|
+
//
|
|
24075
|
+
//
|
|
24076
|
+
//
|
|
24077
|
+
//
|
|
24078
|
+
//
|
|
24079
|
+
//
|
|
24080
|
+
//
|
|
24081
|
+
//
|
|
24082
|
+
//
|
|
24083
|
+
//
|
|
24084
|
+
//
|
|
24085
|
+
//
|
|
24086
|
+
//
|
|
24087
|
+
//
|
|
24088
|
+
//
|
|
24089
|
+
//
|
|
24090
|
+
//
|
|
24091
|
+
//
|
|
24092
|
+
//
|
|
24093
|
+
//
|
|
24094
|
+
//
|
|
24095
|
+
//
|
|
24096
|
+
//
|
|
24097
|
+
//
|
|
24098
|
+
//
|
|
24099
|
+
//
|
|
24100
|
+
//
|
|
24101
|
+
//
|
|
24102
|
+
//
|
|
24103
|
+
//
|
|
24104
|
+
//
|
|
24105
|
+
//
|
|
24106
|
+
//
|
|
24107
|
+
//
|
|
24108
|
+
//
|
|
24109
|
+
//
|
|
24110
|
+
//
|
|
24111
|
+
//
|
|
24112
|
+
//
|
|
24113
|
+
//
|
|
24114
|
+
//
|
|
24115
|
+
//
|
|
24116
|
+
//
|
|
24117
|
+
//
|
|
24118
|
+
//
|
|
24119
|
+
//
|
|
24120
|
+
//
|
|
24121
|
+
//
|
|
24122
|
+
//
|
|
24123
|
+
//
|
|
24124
|
+
//
|
|
24125
|
+
//
|
|
24126
|
+
//
|
|
24127
|
+
//
|
|
24007
24128
|
|
|
24008
24129
|
|
|
24009
24130
|
|
|
@@ -24031,10 +24152,16 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24031
24152
|
isReadOnly: {
|
|
24032
24153
|
type: Boolean,
|
|
24033
24154
|
default: false
|
|
24034
|
-
}
|
|
24155
|
+
},
|
|
24156
|
+
dialogConfig: Object,
|
|
24157
|
+
dialogType: String
|
|
24035
24158
|
},
|
|
24036
24159
|
data() {
|
|
24037
24160
|
return {
|
|
24161
|
+
startDate: '',
|
|
24162
|
+
// 日期控件
|
|
24163
|
+
endDate: '',
|
|
24164
|
+
// 日期控件
|
|
24038
24165
|
tableHeight: 350,
|
|
24039
24166
|
isEditInputShow: false,
|
|
24040
24167
|
customValue: '',
|
|
@@ -24115,6 +24242,18 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24115
24242
|
return [this.props1[0][this.nodeKey]];
|
|
24116
24243
|
}
|
|
24117
24244
|
return [];
|
|
24245
|
+
},
|
|
24246
|
+
jumpParamKey() {
|
|
24247
|
+
return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
|
|
24248
|
+
},
|
|
24249
|
+
// 是否保存成跳转url参数
|
|
24250
|
+
isHaveJumpUrl() {
|
|
24251
|
+
return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
24252
|
+
},
|
|
24253
|
+
sortDisplayfield() {
|
|
24254
|
+
return this.displayfield.sort((a, b) => {
|
|
24255
|
+
return a.sort > b.sort ? 1 : -1;
|
|
24256
|
+
});
|
|
24118
24257
|
}
|
|
24119
24258
|
},
|
|
24120
24259
|
watch: {
|
|
@@ -24150,131 +24289,151 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24150
24289
|
});
|
|
24151
24290
|
},
|
|
24152
24291
|
methods: {
|
|
24292
|
+
// 获取已选择的选择器数据id
|
|
24293
|
+
getSelectId(data) {
|
|
24294
|
+
if (!data || !data.length) {
|
|
24295
|
+
return '';
|
|
24296
|
+
}
|
|
24297
|
+
let ids = [];
|
|
24298
|
+
data.forEach(item => {
|
|
24299
|
+
ids.push(item.id);
|
|
24300
|
+
});
|
|
24301
|
+
return ids.join(',');
|
|
24302
|
+
},
|
|
24153
24303
|
showDialog() {
|
|
24154
24304
|
let isMounted = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
24155
|
-
const this_ = this;
|
|
24156
24305
|
this.fixedParams = {};
|
|
24306
|
+
// 如果已存在配置信息就不去请求配置信息 直接初始化数据
|
|
24307
|
+
if (this.dialogConfig) {
|
|
24308
|
+
this.initDialog(this.dialogConfig, isMounted);
|
|
24309
|
+
return;
|
|
24310
|
+
}
|
|
24157
24311
|
var alias = this.custdialog.custDialog.alias;
|
|
24158
24312
|
this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
|
|
24159
|
-
|
|
24160
|
-
|
|
24161
|
-
|
|
24162
|
-
|
|
24163
|
-
|
|
24164
|
-
|
|
24165
|
-
|
|
24166
|
-
|
|
24167
|
-
|
|
24168
|
-
|
|
24169
|
-
|
|
24170
|
-
|
|
24171
|
-
|
|
24172
|
-
|
|
24173
|
-
|
|
24174
|
-
|
|
24175
|
-
|
|
24176
|
-
|
|
24177
|
-
|
|
24178
|
-
|
|
24179
|
-
|
|
24313
|
+
this.initDialog(customDialog, isMounted);
|
|
24314
|
+
});
|
|
24315
|
+
},
|
|
24316
|
+
initDialog(customDialog, isMounted) {
|
|
24317
|
+
let alias = this.custdialog.custDialog.alias;
|
|
24318
|
+
const this_ = this;
|
|
24319
|
+
if (!customDialog || !customDialog.alias) {
|
|
24320
|
+
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
24321
|
+
return;
|
|
24322
|
+
}
|
|
24323
|
+
if (customDialog.style == 1) {
|
|
24324
|
+
var displaylist = JSON.parse(customDialog.displayfield);
|
|
24325
|
+
this_.nodeKey = displaylist.id;
|
|
24326
|
+
}
|
|
24327
|
+
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
24328
|
+
let obj = {};
|
|
24329
|
+
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
24330
|
+
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
24331
|
+
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
24332
|
+
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
24333
|
+
if (exp) {
|
|
24334
|
+
const params = JSON.parse(exp);
|
|
24335
|
+
if (params.pageBean) {
|
|
24336
|
+
this.pagination = {
|
|
24337
|
+
...params.pageBean
|
|
24338
|
+
};
|
|
24180
24339
|
}
|
|
24181
24340
|
}
|
|
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
|
-
|
|
24233
|
-
|
|
24234
|
-
|
|
24235
|
-
|
|
24236
|
-
|
|
24237
|
-
|
|
24238
|
-
|
|
24239
|
-
|
|
24240
|
-
|
|
24241
|
-
|
|
24242
|
-
|
|
24243
|
-
customDialog: customDialog
|
|
24244
|
-
}, isMounted);
|
|
24245
|
-
}, 100);
|
|
24246
|
-
} else if (customDialog.style == 1) {
|
|
24247
|
-
//树形
|
|
24248
|
-
this_.pageParam = {
|
|
24341
|
+
}
|
|
24342
|
+
//对话框按表单字段查询(参数传入的)
|
|
24343
|
+
let bindList = this_.custdialog.custDialog.conditions;
|
|
24344
|
+
this_.param = []; //绑定的表单字段
|
|
24345
|
+
if (bindList.length > 0) {
|
|
24346
|
+
bindList.forEach(ele => {
|
|
24347
|
+
//绑定表单字段
|
|
24348
|
+
if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
|
|
24349
|
+
let obj = {};
|
|
24350
|
+
obj.field = ele.field;
|
|
24351
|
+
obj.bind = ele.bind;
|
|
24352
|
+
obj.bindType = ele.bindType;
|
|
24353
|
+
this_.param.push(obj);
|
|
24354
|
+
}
|
|
24355
|
+
//取值对象为脚本时获取value
|
|
24356
|
+
if (ele.bindType === 3) {
|
|
24357
|
+
this_.$requestConfig.executeScript(ele.bind).then(res => {
|
|
24358
|
+
this_.executeScriptResult = res && res.value;
|
|
24359
|
+
});
|
|
24360
|
+
}
|
|
24361
|
+
});
|
|
24362
|
+
}
|
|
24363
|
+
//判断对话框查询是否有条件
|
|
24364
|
+
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
24365
|
+
this_.quickSearch = ''; //填写提示 placeholder
|
|
24366
|
+
this_.conditionBind = [];
|
|
24367
|
+
let queryParams = [];
|
|
24368
|
+
let placeholders = [];
|
|
24369
|
+
if (userInputList.length > 0) {
|
|
24370
|
+
userInputList.forEach(ele => {
|
|
24371
|
+
var obj = {};
|
|
24372
|
+
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
24373
|
+
if (ele.defaultType == '1') {
|
|
24374
|
+
obj[ele.field] = '';
|
|
24375
|
+
queryParams.push(obj);
|
|
24376
|
+
// queryParams[ele.field] = "";
|
|
24377
|
+
this_.conditionBind.push(ele);
|
|
24378
|
+
placeholders.push('请输入' + ele.comment);
|
|
24379
|
+
}
|
|
24380
|
+
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
24381
|
+
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
24382
|
+
}
|
|
24383
|
+
});
|
|
24384
|
+
this.$set(this, 'queryParams', queryParams);
|
|
24385
|
+
this.$set(this, 'placeholders', placeholders);
|
|
24386
|
+
}
|
|
24387
|
+
//判断是否显示条件查询输入框
|
|
24388
|
+
if (this_.quickSearch != '') {
|
|
24389
|
+
this_.querysShow = true;
|
|
24390
|
+
} else {
|
|
24391
|
+
this_.querysShow = true;
|
|
24392
|
+
}
|
|
24393
|
+
this_.quickSearch = '请输入' + this.quickSearch + '查询';
|
|
24394
|
+
this_.style = 'height:' + customDialog.height + 'px';
|
|
24395
|
+
if (window.screen.height && window.screen.height <= 900) {
|
|
24396
|
+
this.style = 'height:440px';
|
|
24397
|
+
}
|
|
24398
|
+
if (customDialog.style == 0 || customDialog.style == 2) {
|
|
24399
|
+
//列表
|
|
24400
|
+
setTimeout(() => {
|
|
24401
|
+
this_.customDialogShow({
|
|
24249
24402
|
alias: alias,
|
|
24250
24403
|
customDialog: customDialog
|
|
24251
|
-
};
|
|
24252
|
-
|
|
24253
|
-
|
|
24254
|
-
|
|
24255
|
-
|
|
24256
|
-
|
|
24257
|
-
|
|
24258
|
-
|
|
24259
|
-
|
|
24260
|
-
|
|
24261
|
-
|
|
24262
|
-
|
|
24263
|
-
|
|
24404
|
+
}, isMounted);
|
|
24405
|
+
}, 100);
|
|
24406
|
+
} else if (customDialog.style == 1) {
|
|
24407
|
+
//树形
|
|
24408
|
+
this_.pageParam = {
|
|
24409
|
+
alias: alias,
|
|
24410
|
+
customDialog: customDialog
|
|
24411
|
+
};
|
|
24412
|
+
this_.customDialog = customDialog;
|
|
24413
|
+
let param = {};
|
|
24414
|
+
this_.conditionfieldTree = [];
|
|
24415
|
+
//判断是否存在条件
|
|
24416
|
+
if (customDialog.conditionfield) {
|
|
24417
|
+
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
24418
|
+
if (this_.conditionfieldTree.length > 0) {
|
|
24419
|
+
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
24420
|
+
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
24421
|
+
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
24422
|
+
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
24264
24423
|
}
|
|
24265
24424
|
}
|
|
24266
24425
|
}
|
|
24267
|
-
|
|
24268
|
-
|
|
24269
|
-
|
|
24270
|
-
|
|
24271
|
-
|
|
24272
|
-
|
|
24273
|
-
|
|
24274
|
-
|
|
24426
|
+
}
|
|
24427
|
+
//有动态传入的字段
|
|
24428
|
+
if (!isMounted) {
|
|
24429
|
+
if (JSON.stringify(param) != '{}') {
|
|
24430
|
+
this_.dialogVisible = true;
|
|
24431
|
+
} else {
|
|
24432
|
+
//无动态传入的字段
|
|
24433
|
+
this_.customDialogTreeShow(this_.pageParam);
|
|
24275
24434
|
}
|
|
24276
24435
|
}
|
|
24277
|
-
}
|
|
24436
|
+
}
|
|
24278
24437
|
},
|
|
24279
24438
|
initTableHeight() {
|
|
24280
24439
|
this.$nextTick(() => {
|
|
@@ -24403,13 +24562,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24403
24562
|
}
|
|
24404
24563
|
// 添加用户id 岗位id 组织id
|
|
24405
24564
|
try {
|
|
24406
|
-
if (this.$requestConfig.getUserId()) {
|
|
24565
|
+
if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
|
|
24407
24566
|
ctx.userId = this.$requestConfig.getUserId();
|
|
24408
24567
|
}
|
|
24409
|
-
if (this.$requestConfig.getOrgId()) {
|
|
24568
|
+
if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
|
|
24410
24569
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
24411
24570
|
}
|
|
24412
|
-
if (this.$requestConfig.getPostId()) {
|
|
24571
|
+
if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
|
|
24413
24572
|
ctx.postId = this.$requestConfig.getPostId();
|
|
24414
24573
|
}
|
|
24415
24574
|
} catch (e) {
|
|
@@ -24494,8 +24653,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24494
24653
|
this.selectOrgs = this.convertComment2Field(str, field);
|
|
24495
24654
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
24496
24655
|
var val = '';
|
|
24497
|
-
str.forEach(item => {
|
|
24498
|
-
|
|
24656
|
+
str.forEach((item, index) => {
|
|
24657
|
+
// 此处添加url跳转参数保存逻辑
|
|
24658
|
+
if (this.jumpParamKey && this.isHaveJumpUrl && this.modelName == 'data.' + con['target'][0]) {
|
|
24659
|
+
val += `${item[con.from]}¯${this.jumpParamKey}:${this.selectOrgs[index][this.jumpParamKey]},`;
|
|
24660
|
+
} else {
|
|
24661
|
+
val += item[con.from] + ',';
|
|
24662
|
+
}
|
|
24499
24663
|
});
|
|
24500
24664
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
24501
24665
|
utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
|
|
@@ -24566,19 +24730,36 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24566
24730
|
};
|
|
24567
24731
|
}
|
|
24568
24732
|
//用户输入的
|
|
24733
|
+
let flag = false;
|
|
24569
24734
|
if (this.queryParams.length != 0 && this.queryParams[0] != '') {
|
|
24570
24735
|
this.conditionBind.forEach((item, index) => {
|
|
24736
|
+
// 日期范围特殊处理
|
|
24737
|
+
if (item.dbType == 'date' && item.condition == 'BETWEEN') {
|
|
24738
|
+
if (this.queryParams[index].startDate && !this.queryParams[index].endDate || !this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
24739
|
+
flag = true;
|
|
24740
|
+
this.$message.info('日期范围未填写完整!');
|
|
24741
|
+
return;
|
|
24742
|
+
}
|
|
24743
|
+
if (this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
24744
|
+
this.queryParams[index][item.field] = `${this.queryParams[index].startDate},${this.queryParams[index].endDate}`;
|
|
24745
|
+
} else {
|
|
24746
|
+
this.queryParams[index][item.field] = '';
|
|
24747
|
+
}
|
|
24748
|
+
}
|
|
24571
24749
|
if (this.queryParams[index][item.field]) {
|
|
24572
24750
|
querys.push({
|
|
24573
24751
|
property: item.field,
|
|
24574
24752
|
value: this.queryParams[index][item.field],
|
|
24575
24753
|
group: 'main',
|
|
24576
|
-
operation:
|
|
24754
|
+
operation: item.condition,
|
|
24577
24755
|
relation: 'AND'
|
|
24578
24756
|
});
|
|
24579
24757
|
}
|
|
24580
24758
|
});
|
|
24581
24759
|
}
|
|
24760
|
+
if (flag) {
|
|
24761
|
+
return;
|
|
24762
|
+
}
|
|
24582
24763
|
//参数传入的查询拼接
|
|
24583
24764
|
if (this.param) {
|
|
24584
24765
|
this.param.forEach(item => {
|
|
@@ -24617,13 +24798,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24617
24798
|
queryParamMap.total = pageBean.pageBean.total;
|
|
24618
24799
|
// 添加用户id 岗位id 组织id
|
|
24619
24800
|
try {
|
|
24620
|
-
if (this.$requestConfig.getUserId()) {
|
|
24801
|
+
if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
|
|
24621
24802
|
ctx.userId = this.$requestConfig.getUserId();
|
|
24622
24803
|
}
|
|
24623
|
-
if (this.$requestConfig.getOrgId()) {
|
|
24804
|
+
if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
|
|
24624
24805
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
24625
24806
|
}
|
|
24626
|
-
if (this.$requestConfig.getPostId()) {
|
|
24807
|
+
if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
|
|
24627
24808
|
ctx.postId = this.$requestConfig.getPostId();
|
|
24628
24809
|
}
|
|
24629
24810
|
} catch (e) {
|
|
@@ -24644,12 +24825,14 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24644
24825
|
value: queryParamMap[bindKey] || ctx[bindKey] || ''
|
|
24645
24826
|
};
|
|
24646
24827
|
});
|
|
24647
|
-
param.querys = queryList;
|
|
24828
|
+
param.querys = queryList || [];
|
|
24648
24829
|
if (this.customDialog.needPage) {
|
|
24649
24830
|
param.pageBean = obj;
|
|
24650
24831
|
} else {
|
|
24651
24832
|
param.pageBean.pageSize = -1;
|
|
24652
24833
|
}
|
|
24834
|
+
// 日期格式的 改成数组
|
|
24835
|
+
// this.changeDateFormat(param)
|
|
24653
24836
|
//构造请求的参数
|
|
24654
24837
|
let requestParam = {
|
|
24655
24838
|
pageBean: param,
|
|
@@ -24689,6 +24872,15 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24689
24872
|
}
|
|
24690
24873
|
this.tableRadioVal = '';
|
|
24691
24874
|
},
|
|
24875
|
+
changeDateFormat(param) {
|
|
24876
|
+
let dateValidate1 = /^\d{4}\-\d{2}\-\d{2}$/;
|
|
24877
|
+
let dateValidate2 = /^([1-2][0-9][0-9][0-9]-[0-1]{0,1}[0-9]-[0-3]{0,1}[0-9])\s(20|21|22|23|[0-1]\d):[0-5]\d:[0-5]\d$/;
|
|
24878
|
+
Object.keys(param).forEach(key => {
|
|
24879
|
+
if (param[key] && typeof param[key] == 'string' && param[key].includes(',') && (dateValidate1.test(param[key].split(',')[0]) || dateValidate2.test(param[key].split(',')[0]))) {
|
|
24880
|
+
param[key] = param[key].split(',');
|
|
24881
|
+
}
|
|
24882
|
+
});
|
|
24883
|
+
},
|
|
24692
24884
|
getSearchValueByKey() {
|
|
24693
24885
|
let queryParamsObj = {};
|
|
24694
24886
|
if (this.queryParams.length > 0) {
|
|
@@ -24914,6 +25106,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24914
25106
|
},
|
|
24915
25107
|
// 同步选择结果
|
|
24916
25108
|
syncInputValue() {
|
|
25109
|
+
// 对话框跳转url需要两个参数 1当前控件绑定的对象参数modelName 2对话框配置中配置的key名称
|
|
25110
|
+
// 同步值时,如果有绑定url跳转参数,值格式为 名称¯跳转key:跳转value
|
|
24917
25111
|
let thisIndex = null; //当前数据所在下标
|
|
24918
25112
|
let parentIndex = null; //父节点所在下标
|
|
24919
25113
|
if (this.$parent.$el) {
|
|
@@ -24987,13 +25181,27 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24987
25181
|
}
|
|
24988
25182
|
}
|
|
24989
25183
|
}
|
|
25184
|
+
// 如果是查询中使用的对话框
|
|
25185
|
+
if (this.dialogType == 'search') {
|
|
25186
|
+
let returnVal = [];
|
|
25187
|
+
str.forEach(item => {
|
|
25188
|
+
returnVal.push(decodeURIComponent(item[this.modelName]));
|
|
25189
|
+
});
|
|
25190
|
+
this.$emit('updateInput', returnVal.join(','));
|
|
25191
|
+
return;
|
|
25192
|
+
}
|
|
24990
25193
|
const pInst = utils["a" /* default */].getOnlineFormInstance(this);
|
|
24991
25194
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
24992
25195
|
var val = '';
|
|
24993
25196
|
var from = con.from.toLowerCase();
|
|
24994
25197
|
str.forEach(item => {
|
|
25198
|
+
// 如果有绑定url跳转参数 需获取跳转参数的key
|
|
24995
25199
|
if (item) {
|
|
24996
|
-
|
|
25200
|
+
if (this.jumpParamKey && this.isHaveJumpUrl && this.modelName == 'data.' + con['target'][0]) {
|
|
25201
|
+
val += `${decodeURIComponent(item[from])}¯${this.jumpParamKey}:${item[this.jumpParamKey]},`;
|
|
25202
|
+
} else {
|
|
25203
|
+
val += decodeURIComponent(item[from]) + ',';
|
|
25204
|
+
}
|
|
24997
25205
|
}
|
|
24998
25206
|
});
|
|
24999
25207
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
@@ -25012,7 +25220,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25012
25220
|
const _val = val.substring(0, val.length - 1);
|
|
25013
25221
|
if (path) {
|
|
25014
25222
|
if (this.modelName && this.modelName.endsWith(path)) {
|
|
25015
|
-
// this.$emit('input', _val)
|
|
25016
25223
|
this.$emit('updateInput', _val);
|
|
25017
25224
|
}
|
|
25018
25225
|
utils["a" /* default */].setValueByPath(pInst, `${pInst.data ? 'data.' : 'model.'}${path}`, _val, thisIndex);
|
|
@@ -25244,8 +25451,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25244
25451
|
});
|
|
25245
25452
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=script&lang=js&
|
|
25246
25453
|
/* harmony default export */ var src_customDialogvue_type_script_lang_js_ = (customDialogvue_type_script_lang_js_);
|
|
25247
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=
|
|
25248
|
-
var
|
|
25454
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=f66484a2&prod&lang=scss&scoped=true&
|
|
25455
|
+
var customDialogvue_type_style_index_0_id_f66484a2_prod_lang_scss_scoped_true_ = __webpack_require__("3de0");
|
|
25249
25456
|
|
|
25250
25457
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue
|
|
25251
25458
|
|
|
@@ -25258,31 +25465,47 @@ var customDialogvue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true_ =
|
|
|
25258
25465
|
|
|
25259
25466
|
var customDialog_component = normalizeComponent(
|
|
25260
25467
|
src_customDialogvue_type_script_lang_js_,
|
|
25261
|
-
|
|
25262
|
-
|
|
25468
|
+
customDialogvue_type_template_id_f66484a2_scoped_true_render,
|
|
25469
|
+
customDialogvue_type_template_id_f66484a2_scoped_true_staticRenderFns,
|
|
25263
25470
|
false,
|
|
25264
25471
|
null,
|
|
25265
|
-
"
|
|
25472
|
+
"f66484a2",
|
|
25266
25473
|
null
|
|
25267
25474
|
|
|
25268
25475
|
)
|
|
25269
25476
|
|
|
25270
25477
|
/* harmony default export */ var CustomDialog_src_customDialog = (customDialog_component.exports);
|
|
25271
|
-
// 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=
|
|
25272
|
-
var
|
|
25273
|
-
|
|
25274
|
-
|
|
25275
|
-
|
|
25276
|
-
|
|
25277
|
-
|
|
25278
|
-
|
|
25279
|
-
|
|
25478
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=691dcad9&scoped=true&
|
|
25479
|
+
var customMobileDialogvue_type_template_id_691dcad9_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('van-action-sheet',{staticClass:"mobile-van-action min-height-action",attrs:{"cancel-text":_vm.sureButtonText,"get-container":"body"},on:{"cancel":_vm.handleDialogSure,"click-overlay":_vm.dialogCancel,"opened":_vm.afterOpen},scopedSlots:_vm._u([{key:"description",fn:function(){return [_c('span',{staticClass:"dialog-mobile__title"},[_vm._v(_vm._s(_vm.customDialog.name))]),_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":_vm.dialogCancel}})]},proxy:true}]),model:{value:(_vm.customDialogShowList),callback:function ($$v) {_vm.customDialogShowList=$$v},expression:"customDialogShowList"}},[[_c('div',{staticClass:"search-box"},[_c('ht-icon',{staticClass:"unfold-icon",attrs:{"scale":"1.2","name":_vm.isShowMoreSearch ? 'upFold' : 'downUnfold'},on:{"click":function($event){_vm.isShowMoreSearch = !_vm.isShowMoreSearch}}}),_vm._l((_vm.conditionBind),function(condition,index){return _c('div',{directives:[{name:"show",rawName:"v-show",value:(index === 0 || (index > 0 && _vm.isShowMoreSearch)),expression:"index === 0 || (index > 0 && isShowMoreSearch)"}],key:index,staticClass:"search-item"},[_c('p',[_vm._v(_vm._s(condition.comment)+":")]),(condition.controllerType == '1')?_c('div',[_c('el-input',{attrs:{"size":"small","clearable":"","placeholder":_vm.placeholders[index]},on:{"change":_vm.searchInputChange},nativeOn:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.hideSearch($event)}},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '2')?_c('div',_vm._l((condition.config.options),function(itemR,$index1){return _c('el-radio',{key:$index1,attrs:{"label":itemR.key},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}},[_vm._v("\n "+_vm._s(itemR.value)+"\n ")])}),1):_vm._e(),(condition.controllerType == '3')?_c('div',[(condition.config.choiceType == 'static')?_c('ht-select',{attrs:{"multiple":condition.config.multiple,"options":condition.config.options,"popper-class":"dialog-select"},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}}):_c('ht-dictionary',{attrs:{"dickey":condition.config.dic,"filterable":condition.config.filterable,"popper-class":"dialog-select"},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '4')?_c('div',[_c('eip-tag',{attrs:{"tag-key":condition.config.tag,"filterable":condition.config.filterable,"expand":condition.config.expand},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '6')?_c('div',[(condition.condition == 'BETWEEN')?_c('div',{staticStyle:{"display":"flex","align-items":"center"}},[_c('ht-input',{attrs:{"placeholder":"开始日期","readonly":""},nativeOn:{"click":function($event){return _vm.showDate(index, 'startDate')}},model:{value:(_vm.queryParams[index].startDate),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "startDate", $$v)},expression:"queryParams[index].startDate"}}),_c('span',{staticStyle:{"margin":"0 10px"}},[_vm._v("至")]),_c('ht-input',{attrs:{"placeholder":"结束日期","readonly":""},nativeOn:{"click":function($event){return _vm.showDate(index, 'endDate')}},model:{value:(_vm.queryParams[index].endDate),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "endDate", $$v)},expression:"queryParams[index].endDate"}})],1):_c('ht-input',{attrs:{"readonly":""},nativeOn:{"click":function($event){return _vm.showDate(index, condition.field)}},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '7')?_c('div',[(condition.config.alias == 'user')?_c('ht-user-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25480
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25481
|
+
}},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e(),(condition.config.alias == 'org')?_c('ht-org-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25482
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25483
|
+
}},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e(),(condition.config.alias == 'role')?_c('ht-role-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25484
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25485
|
+
}},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e(),(condition.config.alias == 'job')?_c('ht-job-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25486
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25487
|
+
}},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e(),(condition.config.alias == 'post')?_c('ht-post-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25488
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25489
|
+
}},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e(),(condition.config.alias == 'dimension')?_c('ht-dimension-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25490
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25491
|
+
}},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e()],1):_vm._e(),(condition.controllerType == '5')?_c('div',[_c('ht-custom-dialog',{attrs:{"model-name":condition.config.keyBind,"dialogType":"search","custdialog":{
|
|
25492
|
+
name: '请选择',
|
|
25493
|
+
icon: '',
|
|
25494
|
+
custDialog: {
|
|
25495
|
+
selectNum: 1,
|
|
25496
|
+
conditions: [],
|
|
25497
|
+
mappingConf: [],
|
|
25498
|
+
custQueryJson: [],
|
|
25499
|
+
alias: condition.config.alias,
|
|
25500
|
+
type: 'custDialog',
|
|
25501
|
+
},
|
|
25502
|
+
}},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e()])}),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isShowMoreSearch),expression:"isShowMoreSearch"}],staticClass:"search-btns"},[_c('el-button',{staticStyle:{"margin-left":"20px"},attrs:{"size":"small","type":"primary"},on:{"click":_vm.hideSearch}},[_vm._v("\n 搜索\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.reset}},[_vm._v("重置")])],1)],2)],(_vm.customDialog.style == 2)?_c('van-popover',{staticClass:"custom-dialog-popover",attrs:{"trigger":"click"},scopedSlots:_vm._u([{key:"reference",fn:function(){return [_c('div',{staticClass:"mobile-tree-select"},[(_vm.treeSelectText)?_c('span',{staticClass:"active-text"},[_vm._v("\n "+_vm._s(_vm.treeSelectText)+"\n ")]):_c('span',[_vm._v("请选择"+_vm._s(_vm.leftTreeTitle))]),(_vm.treeSelectText)?_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":function($event){$event.stopPropagation();return _vm.clearTreeSelect($event)}}}):_vm._e()],1)]},proxy:true}],null,false,3189508719),model:{value:(_vm.isSelectTreeShow),callback:function ($$v) {_vm.isSelectTreeShow=$$v},expression:"isSelectTreeShow"}},[_c('div',{staticClass:"custom-dialog-popover_content"},[_c('el-tree',{ref:"combinationTree",attrs:{"data":_vm.combinationTreeData,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","check-on-click-node":true},on:{"node-click":_vm.combiTreeClick}})],1)]):_vm._e(),_c('van-pull-refresh',{on:{"refresh":_vm.onRefresh},model:{value:(_vm.isDownLoading),callback:function ($$v) {_vm.isDownLoading=$$v},expression:"isDownLoading"}},[_c('van-list',{attrs:{"finished":_vm.finished,"finished-text":"没有更多了","offset":20,"immediate-check":false},on:{"load":_vm.loadMore},model:{value:(_vm.isPullLoading),callback:function ($$v) {_vm.isPullLoading=$$v},expression:"isPullLoading"}},_vm._l((_vm.dialogData),function(item,index){return _c('van-cell',{key:index,attrs:{"clickable":""},scopedSlots:_vm._u([{key:"icon",fn:function(){return [_c('van-checkbox',{attrs:{"value":_vm.indexArray(_vm.selectIds, item) > -1,"shape":_vm.customDialog.selectNum === 1 ? 'round' : 'square'},on:{"click":function($event){return _vm.checkboxChange(item)}}})]},proxy:true}],null,true)},[_c('div',{staticClass:"custom-mobile_box"},_vm._l((_vm.sortDisplayfield),function(field){return _c('div',{key:field.field,staticClass:"custom-mobile_box_item"},[_c('label',[_vm._v(_vm._s(field.comment)+":")]),_c('div',[_vm._v(_vm._s(item[field.field]))])])}),0)])}),1)],1)],2),_c('van-action-sheet',{staticClass:"mobile-van-action",attrs:{"cancel-text":_vm.sureButtonText,"get-container":"body"},on:{"cancel":_vm.handleSave},scopedSlots:_vm._u([{key:"description",fn:function(){return [_c('span',{staticClass:"dialog-mobile__title"},[_vm._v("动态传入参数查询")]),_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":function($event){_vm.dialogVisible = false}}})]},proxy:true}]),model:{value:(_vm.dialogVisible),callback:function ($$v) {_vm.dialogVisible=$$v},expression:"dialogVisible"}},[_c('van-cell-group',_vm._l((_vm.conditionfieldTree.filter(
|
|
25280
25503
|
function (k) { return k.defaultType == '4'; }
|
|
25281
|
-
)),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)}
|
|
25282
|
-
var
|
|
25504
|
+
)),function(item,$index){return _c('div',{key:$index},[(item.type != 'date')?_c('van-field',{attrs:{"label":item.comment,"placeholder":'请输入' + item.comment},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e(),(item.type == 'date')?_c('ht-date',{staticStyle:{"width":"100%"},attrs:{"placeholder":'请选择' + item.comment,"format":"yyyy-MM-dd"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e()],1)}),0)],1),_c('van-action-sheet',{staticClass:"mobile-van-action",attrs:{"cancel-text":_vm.sureButtonText,"get-container":"body"},on:{"cancel":_vm.dialogTreeConfirm},scopedSlots:_vm._u([{key:"description",fn:function(){return [_c('span',{staticClass:"dialog-mobile__title"},[_vm._v(_vm._s(_vm.customDialog.name))]),_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":_vm.dialogCancelTree}})]},proxy:true}]),model:{value:(_vm.customDialogShowTree),callback:function ($$v) {_vm.customDialogShowTree=$$v},expression:"customDialogShowTree"}},[_c('el-tree',{ref:"tree",staticStyle:{"width":"100%"},attrs:{"data":_vm.props1,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","show-checkbox":_vm.customDialog.selectNum === -1,"check-on-click-node":true,"check-strictly":false,"lazy":"","load":_vm.loadTree,"default-expanded-keys":_vm.defaultExpandedKeys},on:{"node-click":_vm.treeClick,"check-change":_vm.getChecked}})],1),(_vm.isShowDatePop)?_c('van-popup',{attrs:{"position":"bottom","round":""},model:{value:(_vm.isShowDatePop),callback:function ($$v) {_vm.isShowDatePop=$$v},expression:"isShowDatePop"}},[_c('van-datetime-picker',{attrs:{"type":_vm.dateType,"title":"选择日期","show-toolbar":true},on:{"cancel":function($event){_vm.isShowDatePop = false},"confirm":_vm.confirmFn},model:{value:(_vm.currentDate),callback:function ($$v) {_vm.currentDate=$$v},expression:"currentDate"}})],1):_vm._e()],1)}
|
|
25505
|
+
var customMobileDialogvue_type_template_id_691dcad9_scoped_true_staticRenderFns = []
|
|
25283
25506
|
|
|
25284
25507
|
|
|
25285
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=
|
|
25508
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=691dcad9&scoped=true&
|
|
25286
25509
|
|
|
25287
25510
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/customMobileDialog.vue?vue&type=script&lang=js&
|
|
25288
25511
|
//
|
|
@@ -25543,6 +25766,122 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25543
25766
|
//
|
|
25544
25767
|
//
|
|
25545
25768
|
//
|
|
25769
|
+
//
|
|
25770
|
+
//
|
|
25771
|
+
//
|
|
25772
|
+
//
|
|
25773
|
+
//
|
|
25774
|
+
//
|
|
25775
|
+
//
|
|
25776
|
+
//
|
|
25777
|
+
//
|
|
25778
|
+
//
|
|
25779
|
+
//
|
|
25780
|
+
//
|
|
25781
|
+
//
|
|
25782
|
+
//
|
|
25783
|
+
//
|
|
25784
|
+
//
|
|
25785
|
+
//
|
|
25786
|
+
//
|
|
25787
|
+
//
|
|
25788
|
+
//
|
|
25789
|
+
//
|
|
25790
|
+
//
|
|
25791
|
+
//
|
|
25792
|
+
//
|
|
25793
|
+
//
|
|
25794
|
+
//
|
|
25795
|
+
//
|
|
25796
|
+
//
|
|
25797
|
+
//
|
|
25798
|
+
//
|
|
25799
|
+
//
|
|
25800
|
+
//
|
|
25801
|
+
//
|
|
25802
|
+
//
|
|
25803
|
+
//
|
|
25804
|
+
//
|
|
25805
|
+
//
|
|
25806
|
+
//
|
|
25807
|
+
//
|
|
25808
|
+
//
|
|
25809
|
+
//
|
|
25810
|
+
//
|
|
25811
|
+
//
|
|
25812
|
+
//
|
|
25813
|
+
//
|
|
25814
|
+
//
|
|
25815
|
+
//
|
|
25816
|
+
//
|
|
25817
|
+
//
|
|
25818
|
+
//
|
|
25819
|
+
//
|
|
25820
|
+
//
|
|
25821
|
+
//
|
|
25822
|
+
//
|
|
25823
|
+
//
|
|
25824
|
+
//
|
|
25825
|
+
//
|
|
25826
|
+
//
|
|
25827
|
+
//
|
|
25828
|
+
//
|
|
25829
|
+
//
|
|
25830
|
+
//
|
|
25831
|
+
//
|
|
25832
|
+
//
|
|
25833
|
+
//
|
|
25834
|
+
//
|
|
25835
|
+
//
|
|
25836
|
+
//
|
|
25837
|
+
//
|
|
25838
|
+
//
|
|
25839
|
+
//
|
|
25840
|
+
//
|
|
25841
|
+
//
|
|
25842
|
+
//
|
|
25843
|
+
//
|
|
25844
|
+
//
|
|
25845
|
+
//
|
|
25846
|
+
//
|
|
25847
|
+
//
|
|
25848
|
+
//
|
|
25849
|
+
//
|
|
25850
|
+
//
|
|
25851
|
+
//
|
|
25852
|
+
//
|
|
25853
|
+
//
|
|
25854
|
+
//
|
|
25855
|
+
//
|
|
25856
|
+
//
|
|
25857
|
+
//
|
|
25858
|
+
//
|
|
25859
|
+
//
|
|
25860
|
+
//
|
|
25861
|
+
//
|
|
25862
|
+
//
|
|
25863
|
+
//
|
|
25864
|
+
//
|
|
25865
|
+
//
|
|
25866
|
+
//
|
|
25867
|
+
//
|
|
25868
|
+
//
|
|
25869
|
+
//
|
|
25870
|
+
//
|
|
25871
|
+
//
|
|
25872
|
+
//
|
|
25873
|
+
//
|
|
25874
|
+
//
|
|
25875
|
+
//
|
|
25876
|
+
//
|
|
25877
|
+
//
|
|
25878
|
+
//
|
|
25879
|
+
//
|
|
25880
|
+
//
|
|
25881
|
+
//
|
|
25882
|
+
//
|
|
25883
|
+
//
|
|
25884
|
+
//
|
|
25546
25885
|
|
|
25547
25886
|
|
|
25548
25887
|
|
|
@@ -25564,10 +25903,17 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25564
25903
|
subIndex: Number,
|
|
25565
25904
|
sunIndex: Number,
|
|
25566
25905
|
subPath: String,
|
|
25567
|
-
currentSubData: Array
|
|
25906
|
+
currentSubData: Array,
|
|
25907
|
+
dialogConfig: Object,
|
|
25908
|
+
dialogType: String
|
|
25568
25909
|
},
|
|
25569
25910
|
data() {
|
|
25570
25911
|
return {
|
|
25912
|
+
dateType: 'date',
|
|
25913
|
+
currentDate: '',
|
|
25914
|
+
// 当前日期
|
|
25915
|
+
isShowDatePop: false,
|
|
25916
|
+
// 是否显示日期选择控件
|
|
25571
25917
|
isShowMoreSearch: false,
|
|
25572
25918
|
treeSelectText: '',
|
|
25573
25919
|
// 组合树时选中的查询条件
|
|
@@ -25647,9 +25993,47 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25647
25993
|
sureButtonText() {
|
|
25648
25994
|
const selectedText = this.selectIds.length > 0 ? `(${this.selectIds.length})` : '';
|
|
25649
25995
|
return `${this.$t('ht.common.confirm')}${selectedText}`;
|
|
25996
|
+
},
|
|
25997
|
+
jumpParamKey() {
|
|
25998
|
+
return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
|
|
25999
|
+
},
|
|
26000
|
+
// 是否保存成跳转url参数
|
|
26001
|
+
isHaveJumpUrl() {
|
|
26002
|
+
return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
26003
|
+
},
|
|
26004
|
+
sortDisplayfield() {
|
|
26005
|
+
return this.displayfield.sort((a, b) => {
|
|
26006
|
+
return a.sort > b.sort ? 1 : -1;
|
|
26007
|
+
});
|
|
25650
26008
|
}
|
|
25651
26009
|
},
|
|
25652
26010
|
methods: {
|
|
26011
|
+
// 获取已选择的选择器数据id
|
|
26012
|
+
getSelectId(data) {
|
|
26013
|
+
if (!data || !data.length) {
|
|
26014
|
+
return '';
|
|
26015
|
+
}
|
|
26016
|
+
let ids = [];
|
|
26017
|
+
data.forEach(item => {
|
|
26018
|
+
ids.push(item.id);
|
|
26019
|
+
});
|
|
26020
|
+
return ids.join(',');
|
|
26021
|
+
},
|
|
26022
|
+
showDate(index, key) {
|
|
26023
|
+
this.dateType = this.conditionBind[index].config.inputFormat.includes('mm:') ? 'datetime' : 'date';
|
|
26024
|
+
this.currentDateData = {
|
|
26025
|
+
index,
|
|
26026
|
+
key
|
|
26027
|
+
};
|
|
26028
|
+
this.currentDate = this.queryParams[index][key] ? new Date(this.queryParams[index][key].replace(/-/g, '/')) : new Date();
|
|
26029
|
+
this.isShowDatePop = true;
|
|
26030
|
+
},
|
|
26031
|
+
// 日期确认
|
|
26032
|
+
confirmFn() {
|
|
26033
|
+
let currentConfig = this.conditionBind[this.currentDateData.index];
|
|
26034
|
+
this.queryParams[this.currentDateData.index][this.currentDateData.key] = this.currentDate.format(currentConfig.config.inputFormat);
|
|
26035
|
+
this.isShowDatePop = false;
|
|
26036
|
+
},
|
|
25653
26037
|
searchInputChange() {
|
|
25654
26038
|
if (!this.isShowMoreSearch) {
|
|
25655
26039
|
this.search(true);
|
|
@@ -25695,112 +26079,121 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25695
26079
|
this.search(true);
|
|
25696
26080
|
},
|
|
25697
26081
|
showDialog() {
|
|
25698
|
-
const this_ = this;
|
|
25699
26082
|
this.fixedParams = {};
|
|
26083
|
+
// 如果已存在配置信息就不去请求配置信息 直接初始化数据
|
|
26084
|
+
if (this.dialogConfig) {
|
|
26085
|
+
this.initDialog(this.dialogConfig);
|
|
26086
|
+
return;
|
|
26087
|
+
}
|
|
25700
26088
|
var alias = this.custdialog.custDialog.alias;
|
|
25701
26089
|
this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
|
|
25702
|
-
|
|
25703
|
-
|
|
25704
|
-
|
|
25705
|
-
|
|
25706
|
-
|
|
25707
|
-
|
|
25708
|
-
|
|
25709
|
-
|
|
25710
|
-
|
|
25711
|
-
|
|
25712
|
-
|
|
25713
|
-
|
|
25714
|
-
|
|
25715
|
-
|
|
25716
|
-
|
|
25717
|
-
|
|
25718
|
-
|
|
25719
|
-
|
|
25720
|
-
|
|
25721
|
-
|
|
25722
|
-
|
|
26090
|
+
this.initDialog(customDialog);
|
|
26091
|
+
});
|
|
26092
|
+
},
|
|
26093
|
+
initDialog(customDialog) {
|
|
26094
|
+
let alias = this.custdialog.custDialog.alias;
|
|
26095
|
+
const this_ = this;
|
|
26096
|
+
if (!customDialog || !customDialog.alias) {
|
|
26097
|
+
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
26098
|
+
return;
|
|
26099
|
+
}
|
|
26100
|
+
if (customDialog.style == 1) {
|
|
26101
|
+
var displaylist = JSON.parse(customDialog.displayfield);
|
|
26102
|
+
this_.nodeKey = displaylist.id;
|
|
26103
|
+
}
|
|
26104
|
+
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
26105
|
+
let obj = {};
|
|
26106
|
+
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
26107
|
+
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
26108
|
+
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
26109
|
+
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
26110
|
+
if (exp) {
|
|
26111
|
+
const params = JSON.parse(exp);
|
|
26112
|
+
if (params.pageBean) {
|
|
26113
|
+
this.pagination = {
|
|
26114
|
+
...params.pageBean
|
|
26115
|
+
};
|
|
25723
26116
|
}
|
|
25724
26117
|
}
|
|
25725
|
-
|
|
25726
|
-
|
|
25727
|
-
|
|
25728
|
-
|
|
25729
|
-
|
|
25730
|
-
|
|
25731
|
-
|
|
25732
|
-
|
|
25733
|
-
|
|
25734
|
-
|
|
25735
|
-
|
|
25736
|
-
|
|
25737
|
-
|
|
25738
|
-
|
|
25739
|
-
|
|
25740
|
-
|
|
25741
|
-
|
|
25742
|
-
}
|
|
25743
|
-
}
|
|
26118
|
+
}
|
|
26119
|
+
//对话框按表单字段查询(参数传入的)
|
|
26120
|
+
let bindList = this_.custdialog.custDialog.conditions;
|
|
26121
|
+
this_.param = []; //绑定的表单字段
|
|
26122
|
+
if (bindList.length > 0) {
|
|
26123
|
+
bindList.forEach(ele => {
|
|
26124
|
+
//绑定表单字段
|
|
26125
|
+
if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
|
|
26126
|
+
let obj = {};
|
|
26127
|
+
obj.field = ele.field;
|
|
26128
|
+
obj.bind = ele.bind;
|
|
26129
|
+
obj.bindType = ele.bindType;
|
|
26130
|
+
this_.param.push(obj);
|
|
26131
|
+
}
|
|
26132
|
+
// bindType 1 表单字段 2固定 3脚本
|
|
26133
|
+
if (ele.defaultType == '3' && ele.bindType === 2) {
|
|
26134
|
+
this_.fixedParams[ele.field] = ele.bind || '';
|
|
26135
|
+
}
|
|
26136
|
+
});
|
|
26137
|
+
}
|
|
25744
26138
|
|
|
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
|
-
|
|
25781
|
-
|
|
25782
|
-
|
|
25783
|
-
|
|
25784
|
-
|
|
25785
|
-
|
|
25786
|
-
|
|
25787
|
-
|
|
25788
|
-
|
|
25789
|
-
|
|
25790
|
-
|
|
25791
|
-
}
|
|
26139
|
+
//判断对话框查询是否有条件
|
|
26140
|
+
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
26141
|
+
this_.conditionBind = [];
|
|
26142
|
+
let queryParams = [];
|
|
26143
|
+
let placeholders = [];
|
|
26144
|
+
if (userInputList.length > 0) {
|
|
26145
|
+
userInputList.forEach(ele => {
|
|
26146
|
+
var obj = {};
|
|
26147
|
+
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
26148
|
+
if (ele.defaultType == '1') {
|
|
26149
|
+
obj[ele.field] = '';
|
|
26150
|
+
queryParams.push(obj);
|
|
26151
|
+
// queryParams[ele.field] = "";
|
|
26152
|
+
this_.conditionBind.push(ele);
|
|
26153
|
+
placeholders.push('请输入' + ele.comment);
|
|
26154
|
+
}
|
|
26155
|
+
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
26156
|
+
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
26157
|
+
}
|
|
26158
|
+
});
|
|
26159
|
+
this.$set(this, 'queryParams', queryParams);
|
|
26160
|
+
this.$set(this, 'placeholders', placeholders);
|
|
26161
|
+
}
|
|
26162
|
+
if (customDialog.style == 0 || customDialog.style == 2) {
|
|
26163
|
+
//列表
|
|
26164
|
+
this_.customDialogShow({
|
|
26165
|
+
alias: alias,
|
|
26166
|
+
customDialog: customDialog
|
|
26167
|
+
});
|
|
26168
|
+
} else if (customDialog.style == 1) {
|
|
26169
|
+
//树形
|
|
26170
|
+
this_.pageParam = {
|
|
26171
|
+
alias: alias,
|
|
26172
|
+
customDialog: customDialog
|
|
26173
|
+
};
|
|
26174
|
+
this_.customDialog = customDialog;
|
|
26175
|
+
let param = {};
|
|
26176
|
+
this_.conditionfieldTree = [];
|
|
26177
|
+
//判断是否存在条件
|
|
26178
|
+
if (customDialog.conditionfield) {
|
|
26179
|
+
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
26180
|
+
if (this_.conditionfieldTree.length > 0) {
|
|
26181
|
+
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
26182
|
+
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
26183
|
+
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
26184
|
+
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
25792
26185
|
}
|
|
25793
26186
|
}
|
|
25794
26187
|
}
|
|
25795
|
-
//有动态传入的字段
|
|
25796
|
-
if (JSON.stringify(param) != '{}') {
|
|
25797
|
-
this_.dialogVisible = true;
|
|
25798
|
-
} else {
|
|
25799
|
-
//无动态传入的字段
|
|
25800
|
-
this_.customDialogTreeShow(this_.pageParam);
|
|
25801
|
-
}
|
|
25802
26188
|
}
|
|
25803
|
-
|
|
26189
|
+
//有动态传入的字段
|
|
26190
|
+
if (JSON.stringify(param) != '{}') {
|
|
26191
|
+
this_.dialogVisible = true;
|
|
26192
|
+
} else {
|
|
26193
|
+
//无动态传入的字段
|
|
26194
|
+
this_.customDialogTreeShow(this_.pageParam);
|
|
26195
|
+
}
|
|
26196
|
+
}
|
|
25804
26197
|
},
|
|
25805
26198
|
treeClick(data) {
|
|
25806
26199
|
// 单选
|
|
@@ -25918,13 +26311,13 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25918
26311
|
}
|
|
25919
26312
|
// 添加用户id 岗位id 组织id
|
|
25920
26313
|
try {
|
|
25921
|
-
if (this.$requestConfig.getUserId()) {
|
|
26314
|
+
if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
|
|
25922
26315
|
ctx.userId = this.$requestConfig.getUserId();
|
|
25923
26316
|
}
|
|
25924
|
-
if (this.$requestConfig.getOrgId()) {
|
|
26317
|
+
if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
|
|
25925
26318
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
25926
26319
|
}
|
|
25927
|
-
if (this.$requestConfig.getPostId()) {
|
|
26320
|
+
if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
|
|
25928
26321
|
ctx.postId = this.$requestConfig.getPostId();
|
|
25929
26322
|
}
|
|
25930
26323
|
} catch (e) {
|
|
@@ -26009,8 +26402,13 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26009
26402
|
this.selectOrgs = this.convertComment2Field(str, field);
|
|
26010
26403
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
26011
26404
|
var val = '';
|
|
26012
|
-
str.forEach(item => {
|
|
26013
|
-
|
|
26405
|
+
str.forEach((item, index) => {
|
|
26406
|
+
// 此处添加url跳转参数保存逻辑
|
|
26407
|
+
if (this.jumpParamKey && this.isHaveJumpUrl && this.modelName == 'data.' + con['target'][0]) {
|
|
26408
|
+
val += `${item[con.from]}¯${this.jumpParamKey}:${this.selectOrgs[index][this.jumpParamKey]},`;
|
|
26409
|
+
} else {
|
|
26410
|
+
val += item[con.from] + ',';
|
|
26411
|
+
}
|
|
26014
26412
|
});
|
|
26015
26413
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
26016
26414
|
utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
|
|
@@ -26083,6 +26481,19 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26083
26481
|
//用户输入的
|
|
26084
26482
|
if (this.queryParams.length != 0 && this.queryParams[0] != '') {
|
|
26085
26483
|
this.conditionBind.forEach((item, index) => {
|
|
26484
|
+
// 日期范围特殊处理
|
|
26485
|
+
if (item.dbType == 'date' && item.condition == 'BETWEEN') {
|
|
26486
|
+
if (this.queryParams[index].startDate && !this.queryParams[index].endDate || !this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
26487
|
+
flag = true;
|
|
26488
|
+
this.$message.info('日期范围未填写完整!');
|
|
26489
|
+
return;
|
|
26490
|
+
}
|
|
26491
|
+
if (this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
26492
|
+
this.queryParams[index][item.field] = `${this.queryParams[index].startDate},${this.queryParams[index].endDate}`;
|
|
26493
|
+
} else {
|
|
26494
|
+
this.queryParams[index][item.field] = '';
|
|
26495
|
+
}
|
|
26496
|
+
}
|
|
26086
26497
|
if (this.queryParams[index][item.field]) {
|
|
26087
26498
|
querys.push({
|
|
26088
26499
|
property: item.field,
|
|
@@ -26131,13 +26542,13 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26131
26542
|
ctx.total = pageBean.pageBean.total;
|
|
26132
26543
|
// 添加用户id 岗位id 组织id
|
|
26133
26544
|
try {
|
|
26134
|
-
if (this.$requestConfig.getUserId()) {
|
|
26545
|
+
if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
|
|
26135
26546
|
ctx.userId = this.$requestConfig.getUserId();
|
|
26136
26547
|
}
|
|
26137
|
-
if (this.$requestConfig.getOrgId()) {
|
|
26548
|
+
if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
|
|
26138
26549
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
26139
26550
|
}
|
|
26140
|
-
if (this.$requestConfig.getPostId()) {
|
|
26551
|
+
if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
|
|
26141
26552
|
ctx.postId = this.$requestConfig.getPostId();
|
|
26142
26553
|
}
|
|
26143
26554
|
} catch (e) {
|
|
@@ -26165,6 +26576,8 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26165
26576
|
} else {
|
|
26166
26577
|
param.pageBean.pageSize = -1;
|
|
26167
26578
|
}
|
|
26579
|
+
// 日期格式的 改成数组
|
|
26580
|
+
// this.changeDateFormat(param)
|
|
26168
26581
|
//构造请求的参数
|
|
26169
26582
|
let requestParam = {
|
|
26170
26583
|
pageBean: param,
|
|
@@ -26200,6 +26613,15 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26200
26613
|
}
|
|
26201
26614
|
}
|
|
26202
26615
|
},
|
|
26616
|
+
changeDateFormat(param) {
|
|
26617
|
+
let dateValidate1 = /^\d{4}\-\d{2}\-\d{2}$/;
|
|
26618
|
+
let dateValidate2 = /^([1-2][0-9][0-9][0-9]-[0-1]{0,1}[0-9]-[0-3]{0,1}[0-9])\s(20|21|22|23|[0-1]\d):[0-5]\d:[0-5]\d$/;
|
|
26619
|
+
Object.keys(param).forEach(key => {
|
|
26620
|
+
if (param[key] && typeof param[key] == 'string' && param[key].includes(',') && (dateValidate1.test(param[key].split(',')[0]) || dateValidate2.test(param[key].split(',')[0]))) {
|
|
26621
|
+
param[key] = param[key].split(',');
|
|
26622
|
+
}
|
|
26623
|
+
});
|
|
26624
|
+
},
|
|
26203
26625
|
getSearchValueByKey() {
|
|
26204
26626
|
let queryParamsObj = {};
|
|
26205
26627
|
if (this.queryParams.length > 0) {
|
|
@@ -26398,13 +26820,26 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26398
26820
|
}
|
|
26399
26821
|
}
|
|
26400
26822
|
}
|
|
26823
|
+
// 如果是查询中使用的对话框
|
|
26824
|
+
if (this.dialogType == 'search') {
|
|
26825
|
+
let returnVal = [];
|
|
26826
|
+
str.forEach(item => {
|
|
26827
|
+
returnVal.push(decodeURIComponent(item[this.modelName]));
|
|
26828
|
+
});
|
|
26829
|
+
this.$emit('updateInput', returnVal.join(','));
|
|
26830
|
+
return;
|
|
26831
|
+
}
|
|
26401
26832
|
const pInst = utils["a" /* default */].getOnlineFormInstance(this);
|
|
26402
26833
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
26403
26834
|
var val = '';
|
|
26404
26835
|
var from = con.from.toLowerCase();
|
|
26405
26836
|
str.forEach(item => {
|
|
26406
26837
|
if (item) {
|
|
26407
|
-
|
|
26838
|
+
if (this.jumpParamKey && this.isHaveJumpUrl && this.modelName == 'data.' + con['target'][0]) {
|
|
26839
|
+
val += `${decodeURIComponent(item[from])}¯${this.jumpParamKey}:${item[this.jumpParamKey]},`;
|
|
26840
|
+
} else {
|
|
26841
|
+
val += decodeURIComponent(item[from]) + ',';
|
|
26842
|
+
}
|
|
26408
26843
|
}
|
|
26409
26844
|
});
|
|
26410
26845
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
@@ -26441,20 +26876,6 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26441
26876
|
}
|
|
26442
26877
|
}
|
|
26443
26878
|
},
|
|
26444
|
-
// getSelected() {
|
|
26445
|
-
// let arr = []
|
|
26446
|
-
// this.selectIds.forEach((item) => {
|
|
26447
|
-
// debugger
|
|
26448
|
-
// let obj = this.dialogData.find((sub) => {
|
|
26449
|
-
// return sub.id_ === item
|
|
26450
|
-
// })
|
|
26451
|
-
// if (obj) {
|
|
26452
|
-
// arr.push(obj)
|
|
26453
|
-
// }
|
|
26454
|
-
// })
|
|
26455
|
-
|
|
26456
|
-
// return arr
|
|
26457
|
-
// },
|
|
26458
26879
|
calacInputSuffixHeight() {
|
|
26459
26880
|
this.$emit('calacInputSuffixHeight');
|
|
26460
26881
|
},
|
|
@@ -26656,11 +27077,11 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26656
27077
|
});
|
|
26657
27078
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=script&lang=js&
|
|
26658
27079
|
/* harmony default export */ var src_customMobileDialogvue_type_script_lang_js_ = (customMobileDialogvue_type_script_lang_js_);
|
|
26659
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=
|
|
26660
|
-
var
|
|
27080
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=691dcad9&prod&lang=scss&scoped=true&
|
|
27081
|
+
var customMobileDialogvue_type_style_index_0_id_691dcad9_prod_lang_scss_scoped_true_ = __webpack_require__("212d");
|
|
26661
27082
|
|
|
26662
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=
|
|
26663
|
-
var
|
|
27083
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=691dcad9&prod&lang=scss&
|
|
27084
|
+
var customMobileDialogvue_type_style_index_1_id_691dcad9_prod_lang_scss_ = __webpack_require__("d058");
|
|
26664
27085
|
|
|
26665
27086
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue
|
|
26666
27087
|
|
|
@@ -26674,11 +27095,11 @@ var customMobileDialogvue_type_style_index_1_id_1661eebb_prod_lang_scss_ = __web
|
|
|
26674
27095
|
|
|
26675
27096
|
var customMobileDialog_component = normalizeComponent(
|
|
26676
27097
|
src_customMobileDialogvue_type_script_lang_js_,
|
|
26677
|
-
|
|
26678
|
-
|
|
27098
|
+
customMobileDialogvue_type_template_id_691dcad9_scoped_true_render,
|
|
27099
|
+
customMobileDialogvue_type_template_id_691dcad9_scoped_true_staticRenderFns,
|
|
26679
27100
|
false,
|
|
26680
27101
|
null,
|
|
26681
|
-
"
|
|
27102
|
+
"691dcad9",
|
|
26682
27103
|
null
|
|
26683
27104
|
|
|
26684
27105
|
)
|
|
@@ -26818,6 +27239,17 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26818
27239
|
//
|
|
26819
27240
|
//
|
|
26820
27241
|
//
|
|
27242
|
+
//
|
|
27243
|
+
//
|
|
27244
|
+
//
|
|
27245
|
+
//
|
|
27246
|
+
//
|
|
27247
|
+
//
|
|
27248
|
+
//
|
|
27249
|
+
//
|
|
27250
|
+
//
|
|
27251
|
+
//
|
|
27252
|
+
//
|
|
26821
27253
|
|
|
26822
27254
|
|
|
26823
27255
|
|
|
@@ -26849,10 +27281,17 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26849
27281
|
subIndex: Number,
|
|
26850
27282
|
sunIndex: Number,
|
|
26851
27283
|
subPath: String,
|
|
26852
|
-
currentSubData: Array
|
|
27284
|
+
currentSubData: Array,
|
|
27285
|
+
dialogType: {
|
|
27286
|
+
// search表示在查询条件使用 form表示在表单中使用
|
|
27287
|
+
type: String,
|
|
27288
|
+
default: 'form'
|
|
27289
|
+
}
|
|
26853
27290
|
},
|
|
26854
27291
|
data() {
|
|
26855
27292
|
return {
|
|
27293
|
+
dialogConfig: null,
|
|
27294
|
+
// 对话框配置信息
|
|
26856
27295
|
isEditInputShow: false,
|
|
26857
27296
|
customValue: '',
|
|
26858
27297
|
defualtTooltipplacement: 'bottom',
|
|
@@ -26901,9 +27340,21 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26901
27340
|
}
|
|
26902
27341
|
let result = [];
|
|
26903
27342
|
nameAry.forEach(m => {
|
|
26904
|
-
|
|
26905
|
-
|
|
26906
|
-
|
|
27343
|
+
// 带url跳转参数的 使用上横杆区分参数 值格式为 名称¯跳转key:跳转value
|
|
27344
|
+
let n = {};
|
|
27345
|
+
if (m.includes('¯') && m.split('¯')[1]) {
|
|
27346
|
+
n.value = m.split('¯')[0];
|
|
27347
|
+
let jumpParamStr = m.split('¯')[1];
|
|
27348
|
+
if (jumpParamStr) {
|
|
27349
|
+
let jumpParam = jumpParamStr.split(':');
|
|
27350
|
+
n.jumpParamKey = jumpParam[0];
|
|
27351
|
+
n.jumpParamValue = jumpParam[1];
|
|
27352
|
+
}
|
|
27353
|
+
} else {
|
|
27354
|
+
n = {
|
|
27355
|
+
value: m
|
|
27356
|
+
};
|
|
27357
|
+
}
|
|
26907
27358
|
result.push(n);
|
|
26908
27359
|
});
|
|
26909
27360
|
return result;
|
|
@@ -26911,8 +27362,16 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26911
27362
|
},
|
|
26912
27363
|
isAllowCustom() {
|
|
26913
27364
|
return this.custdialog && this.custdialog.allowInput;
|
|
27365
|
+
},
|
|
27366
|
+
// 是否展示可跳转颜色
|
|
27367
|
+
isSrcColor() {
|
|
27368
|
+
return this.dialogConfig && this.dialogType !== 'search' && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
26914
27369
|
}
|
|
26915
27370
|
},
|
|
27371
|
+
created() {
|
|
27372
|
+
// 获取对话框配置,看是否有配置url跳转
|
|
27373
|
+
this.getDialogConfig();
|
|
27374
|
+
},
|
|
26916
27375
|
mounted() {
|
|
26917
27376
|
const {
|
|
26918
27377
|
subScopeEl
|
|
@@ -26931,6 +27390,63 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26931
27390
|
this.calacInputSuffixWidth();
|
|
26932
27391
|
},
|
|
26933
27392
|
methods: {
|
|
27393
|
+
// 跳转url页面
|
|
27394
|
+
jumpUrl(item) {
|
|
27395
|
+
if (!this.isSrcColor) {
|
|
27396
|
+
if (this.inputWriteable) {
|
|
27397
|
+
this.showEditInput();
|
|
27398
|
+
}
|
|
27399
|
+
return;
|
|
27400
|
+
}
|
|
27401
|
+
let url = this.isMobile ? this.dialogConfig.mobileUrl : this.dialogConfig.pcUrl;
|
|
27402
|
+
// 获取通用token 和 url翻译
|
|
27403
|
+
Promise.all([this.$requestConfig.getThreeTreeToken(), this.transformUrl(url)]).then(res => {
|
|
27404
|
+
if (res[0] && res[0].code == 200) {
|
|
27405
|
+
let token = res[0].value;
|
|
27406
|
+
let endUrl = res[1];
|
|
27407
|
+
// 拼接参数 token和参数
|
|
27408
|
+
if (endUrl.indexOf('?') == -1) {
|
|
27409
|
+
endUrl += `?bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
|
|
27410
|
+
} else {
|
|
27411
|
+
endUrl += `&bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
|
|
27412
|
+
}
|
|
27413
|
+
window.open(endUrl);
|
|
27414
|
+
} else {
|
|
27415
|
+
this.$message.info(res.message || '获取token失败!');
|
|
27416
|
+
}
|
|
27417
|
+
});
|
|
27418
|
+
},
|
|
27419
|
+
// 替换url中域名通配符 需要发送接口
|
|
27420
|
+
transformUrl(url) {
|
|
27421
|
+
return new Promise(resolve => {
|
|
27422
|
+
var reg = /(\$\{(\w+)\})/;
|
|
27423
|
+
var match = reg.exec(url);
|
|
27424
|
+
if (match) {
|
|
27425
|
+
let alias = match[2];
|
|
27426
|
+
if (alias) {
|
|
27427
|
+
this.$requestConfig.getHostByAlias(alias).then(res => {
|
|
27428
|
+
if (res && res.value && res.value.rootAddress) {
|
|
27429
|
+
resolve(url.replace(match[1], res.value.rootAddress));
|
|
27430
|
+
} else {
|
|
27431
|
+
resolve(url);
|
|
27432
|
+
}
|
|
27433
|
+
});
|
|
27434
|
+
} else {
|
|
27435
|
+
resolve(url);
|
|
27436
|
+
}
|
|
27437
|
+
} else {
|
|
27438
|
+
resolve(url);
|
|
27439
|
+
}
|
|
27440
|
+
});
|
|
27441
|
+
},
|
|
27442
|
+
// 获取对话框配置
|
|
27443
|
+
getDialogConfig() {
|
|
27444
|
+
if (this.custdialog && this.custdialog.custDialog && this.custdialog.custDialog.alias) this.$requestConfig.getCustomDialogByAlias(this.custdialog.custDialog.alias).then(response => {
|
|
27445
|
+
if (response) {
|
|
27446
|
+
this.dialogConfig = response;
|
|
27447
|
+
}
|
|
27448
|
+
});
|
|
27449
|
+
},
|
|
26934
27450
|
editInputBlur() {
|
|
26935
27451
|
this.$emit('input', this.customValue);
|
|
26936
27452
|
this.isEditInputShow = false;
|
|
@@ -27005,8 +27521,8 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27005
27521
|
});
|
|
27006
27522
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=script&lang=js&
|
|
27007
27523
|
/* harmony default export */ var packages_CustomDialog_src_mainvue_type_script_lang_js_ = (CustomDialog_src_mainvue_type_script_lang_js_);
|
|
27008
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=
|
|
27009
|
-
var
|
|
27524
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=7a0ef38c&prod&lang=scss&scoped=true&
|
|
27525
|
+
var mainvue_type_style_index_0_id_7a0ef38c_prod_lang_scss_scoped_true_ = __webpack_require__("8502");
|
|
27010
27526
|
|
|
27011
27527
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue
|
|
27012
27528
|
|
|
@@ -27019,11 +27535,11 @@ var mainvue_type_style_index_0_id_37fe7c68_prod_lang_scss_scoped_true_ = __webpa
|
|
|
27019
27535
|
|
|
27020
27536
|
var CustomDialog_src_main_component = normalizeComponent(
|
|
27021
27537
|
packages_CustomDialog_src_mainvue_type_script_lang_js_,
|
|
27022
|
-
|
|
27023
|
-
|
|
27538
|
+
mainvue_type_template_id_7a0ef38c_scoped_true_render,
|
|
27539
|
+
mainvue_type_template_id_7a0ef38c_scoped_true_staticRenderFns,
|
|
27024
27540
|
false,
|
|
27025
27541
|
null,
|
|
27026
|
-
"
|
|
27542
|
+
"7a0ef38c",
|
|
27027
27543
|
null
|
|
27028
27544
|
|
|
27029
27545
|
)
|
|
@@ -48969,6 +49485,13 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
48969
49485
|
|
|
48970
49486
|
/***/ }),
|
|
48971
49487
|
|
|
49488
|
+
/***/ "fcc0":
|
|
49489
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
49490
|
+
|
|
49491
|
+
// extracted by mini-css-extract-plugin
|
|
49492
|
+
|
|
49493
|
+
/***/ }),
|
|
49494
|
+
|
|
48972
49495
|
/***/ "fd6a":
|
|
48973
49496
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
48974
49497
|
|