three-trees-ui 1.0.2 → 1.0.4
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 +347 -480
- package/lib/three-trees-ui.css +1 -1
- package/lib/three-trees-ui.umd.js +347 -480
- package/lib/three-trees-ui.umd.min.js +1 -1
- package/package.json +1 -1
- package/packages/CustomDialog/src/customDialog.vue +142 -195
- package/packages/CustomDialog/src/customMobileDialog.vue +111 -166
- package/packages/CustomDialog/src/main.vue +5 -109
- package/src/mixins/templatePreview.js +60 -29
|
@@ -1870,13 +1870,6 @@ const SubPagination = {
|
|
|
1870
1870
|
/* unused harmony reexport * */
|
|
1871
1871
|
|
|
1872
1872
|
|
|
1873
|
-
/***/ }),
|
|
1874
|
-
|
|
1875
|
-
/***/ "1737":
|
|
1876
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1877
|
-
|
|
1878
|
-
// extracted by mini-css-extract-plugin
|
|
1879
|
-
|
|
1880
1873
|
/***/ }),
|
|
1881
1874
|
|
|
1882
1875
|
/***/ "17b6":
|
|
@@ -1920,6 +1913,13 @@ const SubPagination = {
|
|
|
1920
1913
|
/* unused harmony reexport * */
|
|
1921
1914
|
|
|
1922
1915
|
|
|
1916
|
+
/***/ }),
|
|
1917
|
+
|
|
1918
|
+
/***/ "1c11":
|
|
1919
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1920
|
+
|
|
1921
|
+
// extracted by mini-css-extract-plugin
|
|
1922
|
+
|
|
1923
1923
|
/***/ }),
|
|
1924
1924
|
|
|
1925
1925
|
/***/ "1ccc":
|
|
@@ -2074,17 +2074,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__289a__;
|
|
|
2074
2074
|
/* unused harmony reexport * */
|
|
2075
2075
|
|
|
2076
2076
|
|
|
2077
|
-
/***/ }),
|
|
2078
|
-
|
|
2079
|
-
/***/ "2f41":
|
|
2080
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2081
|
-
|
|
2082
|
-
"use strict";
|
|
2083
|
-
/* 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_0c95bb92_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("c82d");
|
|
2084
|
-
/* 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_0c95bb92_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_0c95bb92_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
2085
|
-
/* unused harmony reexport * */
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
2077
|
/***/ }),
|
|
2089
2078
|
|
|
2090
2079
|
/***/ "2fee":
|
|
@@ -2112,6 +2101,13 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__289a__;
|
|
|
2112
2101
|
|
|
2113
2102
|
/***/ }),
|
|
2114
2103
|
|
|
2104
|
+
/***/ "333d":
|
|
2105
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2106
|
+
|
|
2107
|
+
// extracted by mini-css-extract-plugin
|
|
2108
|
+
|
|
2109
|
+
/***/ }),
|
|
2110
|
+
|
|
2115
2111
|
/***/ "33ce":
|
|
2116
2112
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2117
2113
|
|
|
@@ -2949,6 +2945,17 @@ Formulas.install = Vue => {
|
|
|
2949
2945
|
|
|
2950
2946
|
// extracted by mini-css-extract-plugin
|
|
2951
2947
|
|
|
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
|
+
|
|
2952
2959
|
/***/ }),
|
|
2953
2960
|
|
|
2954
2961
|
/***/ "4a17":
|
|
@@ -2974,17 +2981,6 @@ Formulas.install = Vue => {
|
|
|
2974
2981
|
|
|
2975
2982
|
// extracted by mini-css-extract-plugin
|
|
2976
2983
|
|
|
2977
|
-
/***/ }),
|
|
2978
|
-
|
|
2979
|
-
/***/ "4dad":
|
|
2980
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2981
|
-
|
|
2982
|
-
"use strict";
|
|
2983
|
-
/* 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_0c95bb92_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1737");
|
|
2984
|
-
/* 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_0c95bb92_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_0c95bb92_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
2985
|
-
/* unused harmony reexport * */
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
2984
|
/***/ }),
|
|
2989
2985
|
|
|
2990
2986
|
/***/ "503b":
|
|
@@ -3468,17 +3464,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__5f72__;
|
|
|
3468
3464
|
|
|
3469
3465
|
module.exports = require("element-resize-detector");
|
|
3470
3466
|
|
|
3471
|
-
/***/ }),
|
|
3472
|
-
|
|
3473
|
-
/***/ "5fdd":
|
|
3474
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3475
|
-
|
|
3476
|
-
"use strict";
|
|
3477
|
-
/* 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_4d56e14d_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a7e3");
|
|
3478
|
-
/* 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_4d56e14d_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_4d56e14d_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
3479
|
-
/* unused harmony reexport * */
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
3467
|
/***/ }),
|
|
3483
3468
|
|
|
3484
3469
|
/***/ "60bb":
|
|
@@ -3871,13 +3856,6 @@ const {
|
|
|
3871
3856
|
|
|
3872
3857
|
/***/ }),
|
|
3873
3858
|
|
|
3874
|
-
/***/ "67de":
|
|
3875
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
3876
|
-
|
|
3877
|
-
// extracted by mini-css-extract-plugin
|
|
3878
|
-
|
|
3879
|
-
/***/ }),
|
|
3880
|
-
|
|
3881
3859
|
/***/ "68cf":
|
|
3882
3860
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3883
3861
|
|
|
@@ -4295,6 +4273,13 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4295
4273
|
|
|
4296
4274
|
/***/ }),
|
|
4297
4275
|
|
|
4276
|
+
/***/ "7c6e":
|
|
4277
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4278
|
+
|
|
4279
|
+
// extracted by mini-css-extract-plugin
|
|
4280
|
+
|
|
4281
|
+
/***/ }),
|
|
4282
|
+
|
|
4298
4283
|
/***/ "7d0a":
|
|
4299
4284
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4300
4285
|
|
|
@@ -4322,6 +4307,17 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4322
4307
|
|
|
4323
4308
|
// extracted by mini-css-extract-plugin
|
|
4324
4309
|
|
|
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
|
+
|
|
4325
4321
|
/***/ }),
|
|
4326
4322
|
|
|
4327
4323
|
/***/ "81f7":
|
|
@@ -4771,7 +4767,14 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
4771
4767
|
/***/ "9224":
|
|
4772
4768
|
/***/ (function(module) {
|
|
4773
4769
|
|
|
4774
|
-
module.exports = JSON.parse("{\"a\":\"1.0.
|
|
4770
|
+
module.exports = JSON.parse("{\"a\":\"1.0.4\"}");
|
|
4771
|
+
|
|
4772
|
+
/***/ }),
|
|
4773
|
+
|
|
4774
|
+
/***/ "923d":
|
|
4775
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4776
|
+
|
|
4777
|
+
// extracted by mini-css-extract-plugin
|
|
4775
4778
|
|
|
4776
4779
|
/***/ }),
|
|
4777
4780
|
|
|
@@ -4887,17 +4890,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHoAAABMCAYAAACi
|
|
|
4887
4890
|
/* unused harmony reexport * */
|
|
4888
4891
|
|
|
4889
4892
|
|
|
4890
|
-
/***/ }),
|
|
4891
|
-
|
|
4892
|
-
/***/ "a59b":
|
|
4893
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4894
|
-
|
|
4895
|
-
"use strict";
|
|
4896
|
-
/* 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_20c83109_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("67de");
|
|
4897
|
-
/* 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_20c83109_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_20c83109_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
4898
|
-
/* unused harmony reexport * */
|
|
4899
|
-
|
|
4900
|
-
|
|
4901
4893
|
/***/ }),
|
|
4902
4894
|
|
|
4903
4895
|
/***/ "a6f4":
|
|
@@ -4916,13 +4908,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHoAAABMCAYAAACi
|
|
|
4916
4908
|
/* unused harmony reexport * */
|
|
4917
4909
|
|
|
4918
4910
|
|
|
4919
|
-
/***/ }),
|
|
4920
|
-
|
|
4921
|
-
/***/ "a7e3":
|
|
4922
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4923
|
-
|
|
4924
|
-
// extracted by mini-css-extract-plugin
|
|
4925
|
-
|
|
4926
4911
|
/***/ }),
|
|
4927
4912
|
|
|
4928
4913
|
/***/ "a96c":
|
|
@@ -6480,6 +6465,17 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
|
|
|
6480
6465
|
|
|
6481
6466
|
// extracted by mini-css-extract-plugin
|
|
6482
6467
|
|
|
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
|
+
|
|
6483
6479
|
/***/ }),
|
|
6484
6480
|
|
|
6485
6481
|
/***/ "c0a9":
|
|
@@ -6603,13 +6599,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE_c5e1__;
|
|
|
6603
6599
|
/* unused harmony reexport * */
|
|
6604
6600
|
|
|
6605
6601
|
|
|
6606
|
-
/***/ }),
|
|
6607
|
-
|
|
6608
|
-
/***/ "c82d":
|
|
6609
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
6610
|
-
|
|
6611
|
-
// extracted by mini-css-extract-plugin
|
|
6612
|
-
|
|
6613
6602
|
/***/ }),
|
|
6614
6603
|
|
|
6615
6604
|
/***/ "c8ba":
|
|
@@ -7202,6 +7191,17 @@ module.exports = require("deepmerge");
|
|
|
7202
7191
|
/* unused harmony reexport * */
|
|
7203
7192
|
|
|
7204
7193
|
|
|
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
7205
|
/***/ }),
|
|
7206
7206
|
|
|
7207
7207
|
/***/ "de9c":
|
|
@@ -23547,8 +23547,8 @@ Dialog_src_main.install = function (Vue) {
|
|
|
23547
23547
|
Vue.component(Dialog_src_main.name, Dialog_src_main);
|
|
23548
23548
|
};
|
|
23549
23549
|
/* 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
|
|
23550
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/main.vue?vue&type=template&id=37fe7c68&scoped=true&
|
|
23551
|
+
var mainvue_type_template_id_37fe7c68_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"inputs"},[_c('el-tooltip',{attrs:{"placement":_vm.tooltipplacement || _vm.defualtTooltipplacement,"disabled":_vm.inputWriteable && !_vm.errors.has('custom-form.' + _vm.inputName)}},[_c('div',{attrs:{"slot":"content"},slot:"content"},[_vm._v(_vm._s(_vm.errors.first('custom-form.' + _vm.inputName)))]),(_vm.inputWriteable)?_c('div',{staticClass:"el-select",class:{ 'has-value': _vm.value },staticStyle:{"width":"100%"}},[_c('div',{ref:"tagSpans",staticClass:"el-select__tags",style:({ width: 'calc(100% - 10px - ' + _vm.inputSuffixWidth + 'px)' }),on:{"click":_vm.showEditInput}},[_c('span',{staticClass:"tag-wrap"},_vm._l((_vm.inputVal),function(item,index){return _c('span',{key:item.value,staticClass:"el-tag el-tag--info el-tag--small",on:{"click":_vm.showEditInput}},[_c('span',{staticClass:"el-select__tags-text"},[_vm._v(_vm._s(item.value))]),_c('i',{staticClass:"el-tag__close el-icon-close",on:{"click":function($event){$event.stopPropagation();return _vm.removeSelectOrg(index)}}})])}),0)]),_c('div',{staticClass:"el-input el-input--suffix"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.inputVal),expression:"inputVal"},{name:"validate",rawName:"v-validate",value:(_vm.inputValidate),expression:"inputValidate"}],staticClass:"el-input__inner",style:({ height: _vm.inputSuffixHeight + 'px' }),attrs:{"type":"text","readonly":"readonly","name":_vm.inputName,"autocomplete":"off","placeholder":_vm.placeholder},domProps:{"value":(_vm.inputVal)},on:{"click":_vm.showEditInput,"input":function($event){if($event.target.composing){ return; }_vm.inputVal=$event.target.value}}}),(_vm.isAllowCustom && _vm.isEditInputShow)?_c('el-input',{ref:"editInputRef",staticClass:"edit-input",style:({
|
|
23552
23552
|
right: _vm.inputSuffixWidth - 1 + 'px',
|
|
23553
23553
|
width: 'auto!important',
|
|
23554
23554
|
height: _vm.inputSuffixHeight - 4 + 'px',
|
|
@@ -23557,11 +23557,11 @@ var mainvue_type_template_id_20c83109_scoped_true_render = function () {var _vm=
|
|
|
23557
23557
|
: 'el-input__icon icon-duihuakuang',style:({
|
|
23558
23558
|
fontSize: '17px',
|
|
23559
23559
|
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();
|
|
23561
|
-
var
|
|
23560
|
+
})}),_vm._v("\n "+_vm._s(_vm.custdialog.name)+"\n ")])],1)])],1)]):_vm._e()]),(!_vm.inputWriteable)?_c('span',_vm._l((_vm.inputVal),function(item){return _c('span',{key:item.value,staticClass:"el-tag el-tag--info el-tag--small",staticStyle:{"margin-right":"8px"},on:{"click":function($event){$event.stopPropagation();}}},[_c('span',{staticClass:"el-select__tags-text"},[_vm._v(_vm._s(item.value))])])}),0):_vm._e(),(_vm.isMobile)?_c('custom-mobile-dialog',{ref:"customMobileDialogRef",attrs:{"model-name":_vm.modelName,"custdialog":_vm.custdialog,"sub-index":_vm.subIndex,"sun-index":_vm.sunIndex,"sub-path":_vm.subPath,"current-sub-data":_vm.currentSubData},on:{"calacInputSuffixHeight":_vm.calacInputSuffixHeight,"updateInput":_vm.updateInput}}):_c('custom-dialog',{ref:"customDialogRef",attrs:{"model-name":_vm.modelName,"custdialog":_vm.custdialog,"sub-index":_vm.subIndex,"sun-index":_vm.sunIndex,"sub-path":_vm.subPath,"current-sub-data":_vm.currentSubData,"is-read-only":!_vm.inputWriteable},on:{"calacInputSuffixHeight":_vm.calacInputSuffixHeight,"updateInput":_vm.updateInput},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v},expression:"value"}}),_c('span',{directives:[{name:"validate",rawName:"v-validate"}],staticStyle:{"display":"none"}},[_vm._t("labeldesc",[_vm._v(_vm._s(_vm.inputName))])],2),_c('ht-field-tail',{attrs:{"field-name":_vm.inputName,"input-value":_vm.value}})],1)}
|
|
23561
|
+
var mainvue_type_template_id_37fe7c68_scoped_true_staticRenderFns = []
|
|
23562
23562
|
|
|
23563
23563
|
|
|
23564
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=
|
|
23564
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=37fe7c68&scoped=true&
|
|
23565
23565
|
|
|
23566
23566
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.js
|
|
23567
23567
|
|
|
@@ -23683,19 +23683,19 @@ var mainvue_type_template_id_20c83109_scoped_true_staticRenderFns = []
|
|
|
23683
23683
|
}
|
|
23684
23684
|
}
|
|
23685
23685
|
});
|
|
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
|
|
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=3a57945e&scoped=true&
|
|
23687
|
+
var customDialogvue_type_template_id_3a57945e_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-dialog',{attrs:{"visible":_vm.customDialogShowList,"title":_vm.customDialog.name,"close-on-click-modal":false,"before-close":_vm.dialogCancel,"append-to-body":"","top":"6vh","width":"60%"},on:{"update:visible":function($event){_vm.customDialogShowList=$event},"opened":_vm.afterOpen}},[_c('el-container',{staticStyle:{"overflow":"auto"},style:(_vm.style)},[(_vm.customDialog.style == 2)?_c('el-aside',{directives:[{name:"show",rawName:"v-show",value:(_vm.treeShow),expression:"treeShow"}],staticStyle:{"width":"23%"}},[_c('el-card',[_c('div',{staticClass:"clearfix",attrs:{"slot":"header"},slot:"header"},[_c('span',{staticStyle:{"font-size":"16px"}},[_vm._v(_vm._s(_vm.leftTreeTitle))])]),_c('el-tree',{ref:"combinationTree",attrs:{"data":_vm.combinationTreeData,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","check-on-click-node":true,"lazy":"","load":_vm.loadTree},on:{"node-click":_vm.combiTreeClick}})],1)],1):_vm._e(),(_vm.customDialog.style == 2)?_c('el-divider',{attrs:{"direction":"vertical"}}):_vm._e(),_c('el-container',[(_vm.querysShow)?_c('el-header',{staticClass:"middle-header"},[_vm._l((_vm.conditionBind),function(condition,index){return _c('div',{key:index,staticClass:"search-item"},[_c('p',{staticStyle:{"font-size":"14px"}},[_vm._v(_vm._s(condition.comment)+":")]),(condition.controllerType == '1')?_c('div',[_c('el-input',{staticStyle:{"width":"180px","padding":"10px 0","margin":"0 5px 0 5px"},attrs:{"size":"small","clearable":"","placeholder":_vm.placeholders[index],"prefix-icon":"el-icon-search"},nativeOn:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.searchEnterFun($event)}},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '2')?_c('div',{staticStyle:{"margin-right":"10px"}},_vm._l((condition.config.options),function(itemR,$index1){return _c('el-radio',{key:$index1,attrs:{"label":itemR.key},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}},[_vm._v("\n "+_vm._s(itemR.value)+"\n ")])}),1):_vm._e(),(condition.controllerType == '3')?_c('div',{staticStyle:{"margin-right":"10px"}},[(condition.config.choiceType == 'static')?_c('ht-select',{attrs:{"placeholder":_vm.quickSearch,"options":condition.config.options},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}}):_c('eip-select-dia',{attrs:{"placeholder":_vm.quickSearch,"ganged":{
|
|
23688
23688
|
alias: condition.config.customQuery.alias,
|
|
23689
23689
|
valueBind: condition.config.customQuery.valueBind,
|
|
23690
23690
|
noInit: '',
|
|
23691
23691
|
labelBind: condition.config.customQuery.labelBind,
|
|
23692
23692
|
gangedBind: '{}',
|
|
23693
23693
|
bind: condition.config.bind,
|
|
23694
|
-
},"multiple":false,"filterable":false,"allow-create":false,"selectlist":[],"query-params":_vm.queryParams},model:{value:(_vm.queryParams[condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams, condition.field, $$v)},expression:"queryParams[condition.field]"}})],1):_vm._e(),(condition.controllerType == '4')?_c('div',{staticStyle:{"margin-right":"10px"}},[_c('eip-tag',{attrs:{"tag-key":condition.config.tag,"placeholder":_vm.quickSearch,"filterable":condition.config.filterable,"expand":condition.config.expand},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e()])}),(_vm.conditionBind && _vm.conditionBind.length > 0)?_c('div',{staticClass:"btn-wrap"},[_c('el-button',{staticStyle:{"margin-left":"20px"},attrs:{"size":"small","type":"primary","icon":"el-icon-search"},on:{"click":function($event){return _vm.search(true)}}},[_vm._v("\n 查询\n ")]),_c('el-button',{attrs:{"size":"small","icon":"el-icon-refresh"},on:{"click":_vm.reset}},[_vm._v("\n 重置\n ")])],1):_vm._e()],2):_vm._e(),_c('el-main',{staticClass:"custom-dialog_main"},[_c('el-table',{ref:"orgTable",staticClass:"org-table",staticStyle:{"width":"100%"},attrs:{"data":_vm.dialogData,"stripe":"","border":"","size":"medium","height":_vm.tableHeight},on:{"row-click":_vm.orgRowClick,"selection-change":_vm.orgTableSelection,"select":_vm.onTableSelect,"select-all":_vm.selectAll}},[(_vm.customDialog.selectNum != 1)?_c('el-table-column',{attrs:{"type":"selection","align":"center","width":"55"}}):_vm._e(),(_vm.customDialog.selectNum === 1)?_c('el-table-column',{attrs:{"align":"center","width":"55"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-radio',{staticClass:"textRadio",attrs:{"label":scope.$index},on:{"selection-change":_vm.orgTableSelection},model:{value:(_vm.tableRadioVal),callback:function ($$v) {_vm.tableRadioVal=$$v},expression:"tableRadioVal"}},[_vm._v("\n \n ")])]}}],null,false,918943478)}):_vm._e(),_c('el-table-column',{attrs:{"type":"index","width":"50","align":"center","label":"序号"}}),_vm._l((_vm.displayfield),function(field){return _c('el-table-column',{key:field.field,staticStyle:{"width":"100%"},attrs:{"show-overflow-tooltip":true,"prop":field.field,"label":field.comment}})})],2)],1),_c('el-footer',[(_vm.customDialog.needPage)?_c('el-row',{staticStyle:{"padding-top":"15px","justify-content":"space-between"},attrs:{"type":"flex","justify":"end"}},[(_vm.customDialog.style == 2)?_c('el-button',{attrs:{"icon":_vm.toggleBtn,"size":"mini","type":"default"},on:{"click":_vm.toggleTree}}):_vm._e(),_c('el-pagination',{attrs:{"small":"","current-page":_vm.pagination.page,"page-sizes":[10, 20, 50, 100],"page-size":_vm.pagination.pageSize,"layout":"total, sizes, prev, pager, next, jumper","total":_vm.total},on:{"size-change":_vm.handleSizeChange,"current-change":_vm.handleCurrentChange}})],1):_vm._e()],1)],1)],1),_c('span',{staticClass:"dialog-footer",staticStyle:{"text-align":"center"},attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.dialogConfirm}},[_vm._v("\n 确认\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.dialogCancel}},[_vm._v("取 消")])],1)],1),_c('el-dialog',{attrs:{"title":"动态传入参数查询","width":"500px","visible":_vm.dialogVisible,"before-close":_vm.handleClose,"close-on-click-modal":false,"top":"6vh"},on:{"update:visible":function($event){_vm.dialogVisible=$event}}},[_c('table',{staticClass:"form-table",staticStyle:{"margin-left":"20px","width":"90%"},attrs:{"cellspacing":"0","cellpadding":"0","border":"0"}},_vm._l((_vm.conditionfieldTree),function(item,$index){return _c('tbody',{key:$index},[(item.defaultType == '4')?_c('tr',[_c('th',{attrs:{"width":"130px"}},[_vm._v(_vm._s(item.comment)+":")]),_c('td',[(item.type != 'date')?_c('ht-input',{staticStyle:{"width":"100%"},attrs:{"type":"text","placeholder":'请输入' + item.comment,"autocomplete":"off"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e(),(item.type == 'date')?_c('ht-date',{staticStyle:{"width":"100%"},attrs:{"placeholder":'请输入' + item.comment,"format":"yyyy-MM-dd"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e()],1)]):_vm._e()])}),0),_c('div',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"type":"primary"},on:{"click":_vm.handleSave}},[_vm._v("确 定")]),_c('el-button',{on:{"click":_vm.handleClose}},[_vm._v("取 消")])],1)]),_c('el-dialog',{attrs:{"visible":_vm.customDialogShowTree,"title":_vm.customDialog.name,"close-on-click-modal":false,"before-close":_vm.dialogCancelTree,"append-to-body":"","top":"6vh","width":"500px"},on:{"update:visible":function($event){_vm.customDialogShowTree=$event}}},[_c('el-container',{staticStyle:{"overflow":"auto"},style:(_vm.style)},[_c('el-tree',{ref:"tree",staticStyle:{"width":"100%"},attrs:{"data":_vm.props1,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","show-checkbox":_vm.customDialog.selectNum === -1,"check-on-click-node":true,"check-strictly":false,"lazy":"","load":_vm.loadTree,"default-expanded-keys":_vm.defaultExpandedKeys},on:{"node-click":_vm.treeClick,"check-change":_vm.getChecked}})],1),_c('span',{staticClass:"dialog-footer",staticStyle:{"text-align":"center"},attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.dialogTreeConfirm}},[_vm._v("\n 确认\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.dialogCancelTree}},[_vm._v("取 消")])],1)],1)],1)}
|
|
23695
|
-
var
|
|
23694
|
+
},"multiple":false,"filterable":false,"allow-create":false,"selectlist":[],"query-params":_vm.queryParams},model:{value:(_vm.queryParams[condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams, condition.field, $$v)},expression:"queryParams[condition.field]"}})],1):_vm._e(),(condition.controllerType == '4')?_c('div',{staticStyle:{"margin-right":"10px"}},[_c('eip-tag',{attrs:{"tag-key":condition.config.tag,"placeholder":_vm.quickSearch,"filterable":condition.config.filterable,"expand":condition.config.expand},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e()])}),(_vm.conditionBind && _vm.conditionBind.length > 0)?_c('div',{staticClass:"btn-wrap"},[_c('el-button',{staticStyle:{"margin-left":"20px"},attrs:{"size":"small","type":"primary","icon":"el-icon-search"},on:{"click":function($event){return _vm.search(true)}}},[_vm._v("\n 查询\n ")]),_c('el-button',{attrs:{"size":"small","icon":"el-icon-refresh"},on:{"click":_vm.reset}},[_vm._v("\n 重置\n ")])],1):_vm._e()],2):_vm._e(),_c('el-main',{ref:"customTableRef",staticClass:"custom-dialog_main"},[_c('el-table',{ref:"orgTable",staticClass:"org-table",staticStyle:{"width":"100%"},attrs:{"data":_vm.dialogData,"stripe":"","border":"","size":"medium","height":_vm.tableHeight},on:{"row-click":_vm.orgRowClick,"selection-change":_vm.orgTableSelection,"select":_vm.onTableSelect,"select-all":_vm.selectAll}},[(_vm.customDialog.selectNum != 1)?_c('el-table-column',{attrs:{"type":"selection","align":"center","width":"55"}}):_vm._e(),(_vm.customDialog.selectNum === 1)?_c('el-table-column',{attrs:{"align":"center","width":"55"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-radio',{staticClass:"textRadio",attrs:{"label":scope.$index},on:{"selection-change":_vm.orgTableSelection},model:{value:(_vm.tableRadioVal),callback:function ($$v) {_vm.tableRadioVal=$$v},expression:"tableRadioVal"}},[_vm._v("\n \n ")])]}}],null,false,918943478)}):_vm._e(),_c('el-table-column',{attrs:{"type":"index","width":"50","align":"center","label":"序号"}}),_vm._l((_vm.displayfield),function(field){return _c('el-table-column',{key:field.field,staticStyle:{"width":"100%"},attrs:{"show-overflow-tooltip":true,"prop":field.field,"label":field.comment}})})],2)],1),_c('el-footer',[(_vm.customDialog.needPage)?_c('el-row',{staticStyle:{"padding-top":"15px","justify-content":"space-between"},attrs:{"type":"flex","justify":"end"}},[(_vm.customDialog.style == 2)?_c('el-button',{attrs:{"icon":_vm.toggleBtn,"size":"mini","type":"default"},on:{"click":_vm.toggleTree}}):_vm._e(),_c('el-pagination',{attrs:{"small":"","current-page":_vm.pagination.page,"page-sizes":[10, 20, 50, 100],"page-size":_vm.pagination.pageSize,"layout":"total, sizes, prev, pager, next, jumper","total":_vm.total},on:{"size-change":_vm.handleSizeChange,"current-change":_vm.handleCurrentChange}})],1):_vm._e()],1)],1)],1),_c('span',{staticClass:"dialog-footer",staticStyle:{"text-align":"center"},attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.dialogConfirm}},[_vm._v("\n 确认\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.dialogCancel}},[_vm._v("取 消")])],1)],1),_c('el-dialog',{attrs:{"title":"动态传入参数查询","width":"500px","visible":_vm.dialogVisible,"before-close":_vm.handleClose,"close-on-click-modal":false,"top":"6vh"},on:{"update:visible":function($event){_vm.dialogVisible=$event}}},[_c('table',{staticClass:"form-table",staticStyle:{"margin-left":"20px","width":"90%"},attrs:{"cellspacing":"0","cellpadding":"0","border":"0"}},_vm._l((_vm.conditionfieldTree),function(item,$index){return _c('tbody',{key:$index},[(item.defaultType == '4')?_c('tr',[_c('th',{attrs:{"width":"130px"}},[_vm._v(_vm._s(item.comment)+":")]),_c('td',[(item.type != 'date')?_c('ht-input',{staticStyle:{"width":"100%"},attrs:{"type":"text","placeholder":'请输入' + item.comment,"autocomplete":"off"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e(),(item.type == 'date')?_c('ht-date',{staticStyle:{"width":"100%"},attrs:{"placeholder":'请输入' + item.comment,"format":"yyyy-MM-dd"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e()],1)]):_vm._e()])}),0),_c('div',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"type":"primary"},on:{"click":_vm.handleSave}},[_vm._v("确 定")]),_c('el-button',{on:{"click":_vm.handleClose}},[_vm._v("取 消")])],1)]),_c('el-dialog',{attrs:{"visible":_vm.customDialogShowTree,"title":_vm.customDialog.name,"close-on-click-modal":false,"before-close":_vm.dialogCancelTree,"append-to-body":"","top":"6vh","width":"500px"},on:{"update:visible":function($event){_vm.customDialogShowTree=$event}}},[_c('el-container',{staticStyle:{"overflow":"auto"},style:(_vm.style)},[_c('el-tree',{ref:"tree",staticStyle:{"width":"100%"},attrs:{"data":_vm.props1,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","show-checkbox":_vm.customDialog.selectNum === -1,"check-on-click-node":true,"check-strictly":false,"lazy":"","load":_vm.loadTree,"default-expanded-keys":_vm.defaultExpandedKeys},on:{"node-click":_vm.treeClick,"check-change":_vm.getChecked}})],1),_c('span',{staticClass:"dialog-footer",staticStyle:{"text-align":"center"},attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.dialogTreeConfirm}},[_vm._v("\n 确认\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.dialogCancelTree}},[_vm._v("取 消")])],1)],1)],1)}
|
|
23695
|
+
var customDialogvue_type_template_id_3a57945e_scoped_true_staticRenderFns = []
|
|
23696
23696
|
|
|
23697
23697
|
|
|
23698
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=
|
|
23698
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=3a57945e&scoped=true&
|
|
23699
23699
|
|
|
23700
23700
|
// EXTERNAL MODULE: external "jquery"
|
|
23701
23701
|
var external_jquery_ = __webpack_require__("c5e1");
|
|
@@ -24031,8 +24031,7 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24031
24031
|
isReadOnly: {
|
|
24032
24032
|
type: Boolean,
|
|
24033
24033
|
default: false
|
|
24034
|
-
}
|
|
24035
|
-
dialogConfig: Object
|
|
24034
|
+
}
|
|
24036
24035
|
},
|
|
24037
24036
|
data() {
|
|
24038
24037
|
return {
|
|
@@ -24116,13 +24115,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24116
24115
|
return [this.props1[0][this.nodeKey]];
|
|
24117
24116
|
}
|
|
24118
24117
|
return [];
|
|
24119
|
-
},
|
|
24120
|
-
jumpParamKey() {
|
|
24121
|
-
return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
|
|
24122
|
-
},
|
|
24123
|
-
// 是否保存成跳转url参数
|
|
24124
|
-
isHaveJumpUrl() {
|
|
24125
|
-
return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
24126
24118
|
}
|
|
24127
24119
|
},
|
|
24128
24120
|
watch: {
|
|
@@ -24142,7 +24134,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24142
24134
|
});
|
|
24143
24135
|
}
|
|
24144
24136
|
}
|
|
24145
|
-
this.initTableHeight();
|
|
24146
24137
|
},
|
|
24147
24138
|
immediate: true,
|
|
24148
24139
|
deep: true
|
|
@@ -24161,144 +24152,135 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24161
24152
|
methods: {
|
|
24162
24153
|
showDialog() {
|
|
24163
24154
|
let isMounted = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
24155
|
+
const this_ = this;
|
|
24164
24156
|
this.fixedParams = {};
|
|
24165
|
-
// 如果已存在配置信息就不去请求配置信息 直接初始化数据
|
|
24166
|
-
if (this.dialogConfig) {
|
|
24167
|
-
this.initDialog(this.dialogConfig, isMounted);
|
|
24168
|
-
return;
|
|
24169
|
-
}
|
|
24170
24157
|
var alias = this.custdialog.custDialog.alias;
|
|
24171
24158
|
this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
|
|
24172
|
-
|
|
24173
|
-
|
|
24174
|
-
|
|
24175
|
-
initDialog(customDialog, isMounted) {
|
|
24176
|
-
let alias = this.custdialog.custDialog.alias;
|
|
24177
|
-
const this_ = this;
|
|
24178
|
-
if (!customDialog || !customDialog.alias) {
|
|
24179
|
-
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
24180
|
-
return;
|
|
24181
|
-
}
|
|
24182
|
-
if (customDialog.style == 1) {
|
|
24183
|
-
var displaylist = JSON.parse(customDialog.displayfield);
|
|
24184
|
-
this_.nodeKey = displaylist.id;
|
|
24185
|
-
}
|
|
24186
|
-
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
24187
|
-
let obj = {};
|
|
24188
|
-
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
24189
|
-
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
24190
|
-
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
24191
|
-
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
24192
|
-
if (exp) {
|
|
24193
|
-
const params = JSON.parse(exp);
|
|
24194
|
-
if (params.pageBean) {
|
|
24195
|
-
this.pagination = {
|
|
24196
|
-
...params.pageBean
|
|
24197
|
-
};
|
|
24198
|
-
}
|
|
24159
|
+
if (!customDialog || !customDialog.alias) {
|
|
24160
|
+
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
24161
|
+
return;
|
|
24199
24162
|
}
|
|
24200
|
-
|
|
24201
|
-
|
|
24202
|
-
|
|
24203
|
-
|
|
24204
|
-
|
|
24205
|
-
|
|
24206
|
-
|
|
24207
|
-
|
|
24208
|
-
|
|
24209
|
-
|
|
24210
|
-
|
|
24211
|
-
|
|
24212
|
-
|
|
24213
|
-
|
|
24214
|
-
|
|
24215
|
-
|
|
24216
|
-
|
|
24217
|
-
this_.executeScriptResult = res && res.value;
|
|
24218
|
-
});
|
|
24219
|
-
}
|
|
24220
|
-
});
|
|
24221
|
-
}
|
|
24222
|
-
//判断对话框查询是否有条件
|
|
24223
|
-
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
24224
|
-
this_.quickSearch = ''; //填写提示 placeholder
|
|
24225
|
-
this_.conditionBind = [];
|
|
24226
|
-
let queryParams = [];
|
|
24227
|
-
let placeholders = [];
|
|
24228
|
-
if (userInputList.length > 0) {
|
|
24229
|
-
userInputList.forEach(ele => {
|
|
24230
|
-
var obj = {};
|
|
24231
|
-
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
24232
|
-
if (ele.defaultType == '1') {
|
|
24233
|
-
obj[ele.field] = '';
|
|
24234
|
-
queryParams.push(obj);
|
|
24235
|
-
// queryParams[ele.field] = "";
|
|
24236
|
-
this_.conditionBind.push(ele);
|
|
24237
|
-
placeholders.push('请输入' + ele.comment);
|
|
24238
|
-
}
|
|
24239
|
-
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
24240
|
-
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
24163
|
+
if (customDialog.style == 1) {
|
|
24164
|
+
var displaylist = JSON.parse(customDialog.displayfield);
|
|
24165
|
+
this_.nodeKey = displaylist.id;
|
|
24166
|
+
}
|
|
24167
|
+
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
24168
|
+
let obj = {};
|
|
24169
|
+
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
24170
|
+
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
24171
|
+
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
24172
|
+
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
24173
|
+
if (exp) {
|
|
24174
|
+
const params = JSON.parse(exp);
|
|
24175
|
+
if (params.pageBean) {
|
|
24176
|
+
this.pagination = {
|
|
24177
|
+
...params.pageBean
|
|
24178
|
+
};
|
|
24179
|
+
}
|
|
24241
24180
|
}
|
|
24242
|
-
}
|
|
24243
|
-
|
|
24244
|
-
|
|
24245
|
-
|
|
24246
|
-
|
|
24247
|
-
|
|
24248
|
-
|
|
24249
|
-
|
|
24250
|
-
|
|
24251
|
-
|
|
24252
|
-
|
|
24253
|
-
|
|
24254
|
-
|
|
24255
|
-
|
|
24256
|
-
|
|
24257
|
-
|
|
24258
|
-
|
|
24259
|
-
|
|
24260
|
-
|
|
24181
|
+
}
|
|
24182
|
+
//对话框按表单字段查询(参数传入的)
|
|
24183
|
+
let bindList = this_.custdialog.custDialog.conditions;
|
|
24184
|
+
this_.param = []; //绑定的表单字段
|
|
24185
|
+
if (bindList.length > 0) {
|
|
24186
|
+
bindList.forEach(ele => {
|
|
24187
|
+
//绑定表单字段
|
|
24188
|
+
if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
|
|
24189
|
+
let obj = {};
|
|
24190
|
+
obj.field = ele.field;
|
|
24191
|
+
obj.bind = ele.bind;
|
|
24192
|
+
obj.bindType = ele.bindType;
|
|
24193
|
+
this_.param.push(obj);
|
|
24194
|
+
}
|
|
24195
|
+
//取值对象为脚本时获取value
|
|
24196
|
+
if (ele.bindType === 3) {
|
|
24197
|
+
this_.$requestConfig.executeScript(ele.bind).then(res => {
|
|
24198
|
+
this_.executeScriptResult = res && res.value;
|
|
24199
|
+
});
|
|
24200
|
+
}
|
|
24201
|
+
});
|
|
24202
|
+
}
|
|
24203
|
+
//判断对话框查询是否有条件
|
|
24204
|
+
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
24205
|
+
this_.quickSearch = ''; //填写提示 placeholder
|
|
24206
|
+
this_.conditionBind = [];
|
|
24207
|
+
let queryParams = [];
|
|
24208
|
+
let placeholders = [];
|
|
24209
|
+
if (userInputList.length > 0) {
|
|
24210
|
+
userInputList.forEach(ele => {
|
|
24211
|
+
var obj = {};
|
|
24212
|
+
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
24213
|
+
if (ele.defaultType == '1') {
|
|
24214
|
+
obj[ele.field] = '';
|
|
24215
|
+
queryParams.push(obj);
|
|
24216
|
+
// queryParams[ele.field] = "";
|
|
24217
|
+
this_.conditionBind.push(ele);
|
|
24218
|
+
placeholders.push('请输入' + ele.comment);
|
|
24219
|
+
}
|
|
24220
|
+
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
24221
|
+
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
24222
|
+
}
|
|
24223
|
+
});
|
|
24224
|
+
this.$set(this, 'queryParams', queryParams);
|
|
24225
|
+
this.$set(this, 'placeholders', placeholders);
|
|
24226
|
+
}
|
|
24227
|
+
//判断是否显示条件查询输入框
|
|
24228
|
+
if (this_.quickSearch != '') {
|
|
24229
|
+
this_.querysShow = true;
|
|
24230
|
+
} else {
|
|
24231
|
+
this_.querysShow = true;
|
|
24232
|
+
}
|
|
24233
|
+
this_.quickSearch = '请输入' + this.quickSearch + '查询';
|
|
24234
|
+
this_.style = 'height:' + customDialog.height + 'px';
|
|
24235
|
+
if (window.screen.height && window.screen.height <= 900) {
|
|
24236
|
+
this.style = 'height:440px';
|
|
24237
|
+
}
|
|
24238
|
+
if (customDialog.style == 0 || customDialog.style == 2) {
|
|
24239
|
+
//列表
|
|
24240
|
+
setTimeout(() => {
|
|
24241
|
+
this_.customDialogShow({
|
|
24242
|
+
alias: alias,
|
|
24243
|
+
customDialog: customDialog
|
|
24244
|
+
}, isMounted);
|
|
24245
|
+
}, 100);
|
|
24246
|
+
} else if (customDialog.style == 1) {
|
|
24247
|
+
//树形
|
|
24248
|
+
this_.pageParam = {
|
|
24261
24249
|
alias: alias,
|
|
24262
24250
|
customDialog: customDialog
|
|
24263
|
-
}
|
|
24264
|
-
|
|
24265
|
-
|
|
24266
|
-
|
|
24267
|
-
|
|
24268
|
-
|
|
24269
|
-
|
|
24270
|
-
|
|
24271
|
-
|
|
24272
|
-
|
|
24273
|
-
|
|
24274
|
-
|
|
24275
|
-
|
|
24276
|
-
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
24277
|
-
if (this_.conditionfieldTree.length > 0) {
|
|
24278
|
-
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
24279
|
-
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
24280
|
-
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
24281
|
-
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
24251
|
+
};
|
|
24252
|
+
this_.customDialog = customDialog;
|
|
24253
|
+
let param = {};
|
|
24254
|
+
this_.conditionfieldTree = [];
|
|
24255
|
+
//判断是否存在条件
|
|
24256
|
+
if (customDialog.conditionfield) {
|
|
24257
|
+
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
24258
|
+
if (this_.conditionfieldTree.length > 0) {
|
|
24259
|
+
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
24260
|
+
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
24261
|
+
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
24262
|
+
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
24263
|
+
}
|
|
24282
24264
|
}
|
|
24283
24265
|
}
|
|
24284
24266
|
}
|
|
24285
|
-
|
|
24286
|
-
|
|
24287
|
-
|
|
24288
|
-
|
|
24289
|
-
|
|
24290
|
-
|
|
24291
|
-
|
|
24292
|
-
|
|
24267
|
+
//有动态传入的字段
|
|
24268
|
+
if (!isMounted) {
|
|
24269
|
+
if (JSON.stringify(param) != '{}') {
|
|
24270
|
+
this_.dialogVisible = true;
|
|
24271
|
+
} else {
|
|
24272
|
+
//无动态传入的字段
|
|
24273
|
+
this_.customDialogTreeShow(this_.pageParam);
|
|
24274
|
+
}
|
|
24293
24275
|
}
|
|
24294
24276
|
}
|
|
24295
|
-
}
|
|
24277
|
+
});
|
|
24296
24278
|
},
|
|
24297
24279
|
initTableHeight() {
|
|
24298
24280
|
this.$nextTick(() => {
|
|
24299
|
-
let mainEl =
|
|
24300
|
-
if (mainEl
|
|
24301
|
-
this.tableHeight = mainEl
|
|
24281
|
+
let mainEl = this.$refs.customTableRef;
|
|
24282
|
+
if (mainEl) {
|
|
24283
|
+
this.tableHeight = mainEl.$el.clientHeight - 2 > 350 ? mainEl.$el.clientHeight - 2 : 350;
|
|
24302
24284
|
}
|
|
24303
24285
|
});
|
|
24304
24286
|
},
|
|
@@ -24421,13 +24403,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24421
24403
|
}
|
|
24422
24404
|
// 添加用户id 岗位id 组织id
|
|
24423
24405
|
try {
|
|
24424
|
-
if (this.$requestConfig.getUserId
|
|
24406
|
+
if (this.$requestConfig.getUserId()) {
|
|
24425
24407
|
ctx.userId = this.$requestConfig.getUserId();
|
|
24426
24408
|
}
|
|
24427
|
-
if (this.$requestConfig.getOrgId
|
|
24409
|
+
if (this.$requestConfig.getOrgId()) {
|
|
24428
24410
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
24429
24411
|
}
|
|
24430
|
-
if (this.$requestConfig.getPostId
|
|
24412
|
+
if (this.$requestConfig.getPostId()) {
|
|
24431
24413
|
ctx.postId = this.$requestConfig.getPostId();
|
|
24432
24414
|
}
|
|
24433
24415
|
} catch (e) {
|
|
@@ -24488,7 +24470,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24488
24470
|
if (this.customDialog.selectNum === 1) {
|
|
24489
24471
|
nodes = this.propsData[0];
|
|
24490
24472
|
var temp = '';
|
|
24491
|
-
debugger;
|
|
24492
24473
|
for (var j = 0; j < comment.length; j++) {
|
|
24493
24474
|
temp += '"' + comment[j] + '":"' + nodes[field[j]] + '",';
|
|
24494
24475
|
}
|
|
@@ -24511,15 +24492,10 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24511
24492
|
}
|
|
24512
24493
|
const pInst = utils["a" /* default */].getOnlineFormInstance(this);
|
|
24513
24494
|
this.selectOrgs = this.convertComment2Field(str, field);
|
|
24514
|
-
this.custdialog.custDialog.mappingConf.forEach(
|
|
24495
|
+
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
24515
24496
|
var val = '';
|
|
24516
24497
|
str.forEach(item => {
|
|
24517
|
-
|
|
24518
|
-
if (this.jumpParamKey && this.isHaveJumpUrl && this.modelName == 'data.' + con['target'][0]) {
|
|
24519
|
-
val += `${item[con.from]}¯${this.jumpParamKey}:${this.selectOrgs[index][this.jumpParamKey]},`;
|
|
24520
|
-
} else {
|
|
24521
|
-
val += item[con.from] + ',';
|
|
24522
|
-
}
|
|
24498
|
+
val += item[con.from] + ',';
|
|
24523
24499
|
});
|
|
24524
24500
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
24525
24501
|
utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
|
|
@@ -24641,13 +24617,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24641
24617
|
queryParamMap.total = pageBean.pageBean.total;
|
|
24642
24618
|
// 添加用户id 岗位id 组织id
|
|
24643
24619
|
try {
|
|
24644
|
-
if (this.$requestConfig.getUserId
|
|
24620
|
+
if (this.$requestConfig.getUserId()) {
|
|
24645
24621
|
ctx.userId = this.$requestConfig.getUserId();
|
|
24646
24622
|
}
|
|
24647
|
-
if (this.$requestConfig.getOrgId
|
|
24623
|
+
if (this.$requestConfig.getOrgId()) {
|
|
24648
24624
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
24649
24625
|
}
|
|
24650
|
-
if (this.$requestConfig.getPostId
|
|
24626
|
+
if (this.$requestConfig.getPostId()) {
|
|
24651
24627
|
ctx.postId = this.$requestConfig.getPostId();
|
|
24652
24628
|
}
|
|
24653
24629
|
} catch (e) {
|
|
@@ -24668,7 +24644,7 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24668
24644
|
value: queryParamMap[bindKey] || ctx[bindKey] || ''
|
|
24669
24645
|
};
|
|
24670
24646
|
});
|
|
24671
|
-
param.querys = queryList
|
|
24647
|
+
param.querys = queryList;
|
|
24672
24648
|
if (this.customDialog.needPage) {
|
|
24673
24649
|
param.pageBean = obj;
|
|
24674
24650
|
} else {
|
|
@@ -24686,6 +24662,7 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24686
24662
|
totalKey: this.customDialog.totalKey
|
|
24687
24663
|
};
|
|
24688
24664
|
this.getDialoglistJson(requestParam).then(() => {
|
|
24665
|
+
this.initTableHeight();
|
|
24689
24666
|
this.checkList();
|
|
24690
24667
|
});
|
|
24691
24668
|
} catch (e) {
|
|
@@ -24699,11 +24676,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24699
24676
|
});
|
|
24700
24677
|
this.customDialog.pageBean = queryFilter;
|
|
24701
24678
|
this.getDialoglistJson(this.customDialog).then(() => {
|
|
24679
|
+
this.initTableHeight();
|
|
24702
24680
|
this.checkList();
|
|
24703
24681
|
});
|
|
24704
24682
|
} else {
|
|
24705
24683
|
this.customDialog.pageBean = pageBean;
|
|
24706
24684
|
this.getDialoglistJson(this.customDialog).then(() => {
|
|
24685
|
+
this.initTableHeight();
|
|
24707
24686
|
this.checkList();
|
|
24708
24687
|
});
|
|
24709
24688
|
}
|
|
@@ -24935,8 +24914,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24935
24914
|
},
|
|
24936
24915
|
// 同步选择结果
|
|
24937
24916
|
syncInputValue() {
|
|
24938
|
-
// 对话框跳转url需要两个参数 1当前控件绑定的对象参数modelName 2对话框配置中配置的key名称
|
|
24939
|
-
// 同步值时,如果有绑定url跳转参数,值格式为 名称¯跳转key:跳转value
|
|
24940
24917
|
let thisIndex = null; //当前数据所在下标
|
|
24941
24918
|
let parentIndex = null; //父节点所在下标
|
|
24942
24919
|
if (this.$parent.$el) {
|
|
@@ -25015,13 +24992,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25015
24992
|
var val = '';
|
|
25016
24993
|
var from = con.from.toLowerCase();
|
|
25017
24994
|
str.forEach(item => {
|
|
25018
|
-
// 如果有绑定url跳转参数 需获取跳转参数的key
|
|
25019
24995
|
if (item) {
|
|
25020
|
-
|
|
25021
|
-
val += `${decodeURIComponent(item[from])}¯${this.jumpParamKey}:${item[this.jumpParamKey]},`;
|
|
25022
|
-
} else {
|
|
25023
|
-
val += decodeURIComponent(item[from]) + ',';
|
|
25024
|
-
}
|
|
24996
|
+
val += decodeURIComponent(item[from]) + ',';
|
|
25025
24997
|
}
|
|
25026
24998
|
});
|
|
25027
24999
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
@@ -25272,8 +25244,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25272
25244
|
});
|
|
25273
25245
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=script&lang=js&
|
|
25274
25246
|
/* harmony default export */ var src_customDialogvue_type_script_lang_js_ = (customDialogvue_type_script_lang_js_);
|
|
25275
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=
|
|
25276
|
-
var
|
|
25247
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=3a57945e&prod&lang=scss&scoped=true&
|
|
25248
|
+
var customDialogvue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true_ = __webpack_require__("7ff9");
|
|
25277
25249
|
|
|
25278
25250
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue
|
|
25279
25251
|
|
|
@@ -25286,18 +25258,18 @@ var customDialogvue_type_style_index_0_id_4d56e14d_prod_lang_scss_scoped_true_ =
|
|
|
25286
25258
|
|
|
25287
25259
|
var customDialog_component = normalizeComponent(
|
|
25288
25260
|
src_customDialogvue_type_script_lang_js_,
|
|
25289
|
-
|
|
25290
|
-
|
|
25261
|
+
customDialogvue_type_template_id_3a57945e_scoped_true_render,
|
|
25262
|
+
customDialogvue_type_template_id_3a57945e_scoped_true_staticRenderFns,
|
|
25291
25263
|
false,
|
|
25292
25264
|
null,
|
|
25293
|
-
"
|
|
25265
|
+
"3a57945e",
|
|
25294
25266
|
null
|
|
25295
25267
|
|
|
25296
25268
|
)
|
|
25297
25269
|
|
|
25298
25270
|
/* harmony default export */ var CustomDialog_src_customDialog = (customDialog_component.exports);
|
|
25299
|
-
// 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=
|
|
25300
|
-
var
|
|
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=1661eebb&scoped=true&
|
|
25272
|
+
var customMobileDialogvue_type_template_id_1661eebb_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('van-action-sheet',{staticClass:"mobile-van-action min-height-action",attrs:{"cancel-text":_vm.sureButtonText,"get-container":"body"},on:{"cancel":_vm.handleDialogSure,"click-overlay":_vm.dialogCancel,"opened":_vm.afterOpen},scopedSlots:_vm._u([{key:"description",fn:function(){return [_c('span',{staticClass:"dialog-mobile__title"},[_vm._v(_vm._s(_vm.customDialog.name))]),_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":_vm.dialogCancel}})]},proxy:true}]),model:{value:(_vm.customDialogShowList),callback:function ($$v) {_vm.customDialogShowList=$$v},expression:"customDialogShowList"}},[[_c('div',{staticClass:"search-box"},[_c('ht-icon',{staticClass:"unfold-icon",attrs:{"scale":"1.2","name":_vm.isShowMoreSearch ? 'upFold' : 'downUnfold'},on:{"click":function($event){_vm.isShowMoreSearch = !_vm.isShowMoreSearch}}}),_vm._l((_vm.conditionBind),function(condition,index){return _c('div',{directives:[{name:"show",rawName:"v-show",value:(index === 0 || (index > 0 && _vm.isShowMoreSearch)),expression:"index === 0 || (index > 0 && isShowMoreSearch)"}],key:index,staticClass:"search-item"},[_c('p',[_vm._v(_vm._s(condition.comment)+":")]),(condition.controllerType == '1')?_c('div',[_c('el-input',{attrs:{"size":"small","clearable":"","placeholder":_vm.placeholders[index]},on:{"change":_vm.searchInputChange},nativeOn:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.hideSearch($event)}},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '2')?_c('div',{staticStyle:{"margin-right":"10px"}},_vm._l((condition.config.options),function(itemR,$index1){return _c('el-radio',{key:$index1,attrs:{"label":itemR.key},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}},[_vm._v("\n "+_vm._s(itemR.value)+"\n ")])}),1):_vm._e(),(condition.controllerType == '3')?_c('div',{staticStyle:{"margin-right":"10px"}},[(condition.config.choiceType == 'static')?_c('ht-select',{attrs:{"options":condition.config.options},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}}):_c('eip-select-dia',{attrs:{"ganged":{
|
|
25301
25273
|
alias: condition.config.customQuery.alias,
|
|
25302
25274
|
valueBind: condition.config.customQuery.valueBind,
|
|
25303
25275
|
noInit: '',
|
|
@@ -25307,10 +25279,10 @@ var customMobileDialogvue_type_template_id_0c95bb92_scoped_true_render = functio
|
|
|
25307
25279
|
},"multiple":false,"filterable":false,"allow-create":false,"selectlist":[],"query-params":_vm.queryParams},model:{value:(_vm.queryParams[condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams, condition.field, $$v)},expression:"queryParams[condition.field]"}})],1):_vm._e(),(condition.controllerType == '4')?_c('div',{staticStyle:{"margin-right":"10px"}},[_c('eip-tag',{attrs:{"tag-key":condition.config.tag,"placeholder":_vm.quickSearch,"filterable":condition.config.filterable,"expand":condition.config.expand},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e()])}),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isShowMoreSearch),expression:"isShowMoreSearch"}],staticClass:"search-btns"},[_c('el-button',{staticStyle:{"margin-left":"20px"},attrs:{"size":"small","type":"primary"},on:{"click":_vm.hideSearch}},[_vm._v("\n 搜索\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.reset}},[_vm._v("重置")])],1)],2)],(_vm.customDialog.style == 2)?_c('van-popover',{staticClass:"custom-dialog-popover",attrs:{"trigger":"click"},scopedSlots:_vm._u([{key:"reference",fn:function(){return [_c('div',{staticClass:"mobile-tree-select"},[(_vm.treeSelectText)?_c('span',{staticClass:"active-text"},[_vm._v("\n "+_vm._s(_vm.treeSelectText)+"\n ")]):_c('span',[_vm._v("请选择"+_vm._s(_vm.leftTreeTitle))]),(_vm.treeSelectText)?_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":function($event){$event.stopPropagation();return _vm.clearTreeSelect($event)}}}):_vm._e()],1)]},proxy:true}],null,false,3189508719),model:{value:(_vm.isSelectTreeShow),callback:function ($$v) {_vm.isSelectTreeShow=$$v},expression:"isSelectTreeShow"}},[_c('div',{staticClass:"custom-dialog-popover_content"},[_c('el-tree',{ref:"combinationTree",attrs:{"data":_vm.combinationTreeData,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","check-on-click-node":true},on:{"node-click":_vm.combiTreeClick}})],1)]):_vm._e(),_c('van-pull-refresh',{on:{"refresh":_vm.onRefresh},model:{value:(_vm.isDownLoading),callback:function ($$v) {_vm.isDownLoading=$$v},expression:"isDownLoading"}},[_c('van-list',{attrs:{"finished":_vm.finished,"finished-text":"没有更多了","offset":20,"immediate-check":false},on:{"load":_vm.loadMore},model:{value:(_vm.isPullLoading),callback:function ($$v) {_vm.isPullLoading=$$v},expression:"isPullLoading"}},_vm._l((_vm.dialogData),function(item,index){return _c('van-cell',{key:index,attrs:{"clickable":""},scopedSlots:_vm._u([{key:"icon",fn:function(){return [_c('van-checkbox',{attrs:{"value":_vm.indexArray(_vm.selectIds, item) > -1,"shape":_vm.customDialog.selectNum === 1 ? 'round' : 'square'},on:{"click":function($event){return _vm.checkboxChange(item)}}})]},proxy:true}],null,true)},[_c('div',{staticClass:"custom-mobile_box"},_vm._l((_vm.displayfield),function(field){return _c('div',{key:field.field,staticClass:"custom-mobile_box_item"},[_c('label',[_vm._v(_vm._s(field.comment)+":")]),_c('div',[_vm._v(_vm._s(item[field.field]))])])}),0)])}),1)],1)],2),_c('van-action-sheet',{staticClass:"mobile-van-action",attrs:{"cancel-text":_vm.sureButtonText,"get-container":"body"},on:{"cancel":_vm.handleSave},scopedSlots:_vm._u([{key:"description",fn:function(){return [_c('span',{staticClass:"dialog-mobile__title"},[_vm._v("动态传入参数查询")]),_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":function($event){_vm.dialogVisible = false}}})]},proxy:true}]),model:{value:(_vm.dialogVisible),callback:function ($$v) {_vm.dialogVisible=$$v},expression:"dialogVisible"}},[_c('van-cell-group',_vm._l((_vm.conditionfieldTree.filter(
|
|
25308
25280
|
function (k) { return k.defaultType == '4'; }
|
|
25309
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)}
|
|
25310
|
-
var
|
|
25282
|
+
var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns = []
|
|
25311
25283
|
|
|
25312
25284
|
|
|
25313
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=
|
|
25285
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=1661eebb&scoped=true&
|
|
25314
25286
|
|
|
25315
25287
|
// 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&
|
|
25316
25288
|
//
|
|
@@ -25592,8 +25564,7 @@ var customMobileDialogvue_type_template_id_0c95bb92_scoped_true_staticRenderFns
|
|
|
25592
25564
|
subIndex: Number,
|
|
25593
25565
|
sunIndex: Number,
|
|
25594
25566
|
subPath: String,
|
|
25595
|
-
currentSubData: Array
|
|
25596
|
-
dialogConfig: Object
|
|
25567
|
+
currentSubData: Array
|
|
25597
25568
|
},
|
|
25598
25569
|
data() {
|
|
25599
25570
|
return {
|
|
@@ -25676,13 +25647,6 @@ var customMobileDialogvue_type_template_id_0c95bb92_scoped_true_staticRenderFns
|
|
|
25676
25647
|
sureButtonText() {
|
|
25677
25648
|
const selectedText = this.selectIds.length > 0 ? `(${this.selectIds.length})` : '';
|
|
25678
25649
|
return `${this.$t('ht.common.confirm')}${selectedText}`;
|
|
25679
|
-
},
|
|
25680
|
-
jumpParamKey() {
|
|
25681
|
-
return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
|
|
25682
|
-
},
|
|
25683
|
-
// 是否保存成跳转url参数
|
|
25684
|
-
isHaveJumpUrl() {
|
|
25685
|
-
return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
25686
25650
|
}
|
|
25687
25651
|
},
|
|
25688
25652
|
methods: {
|
|
@@ -25731,121 +25695,112 @@ var customMobileDialogvue_type_template_id_0c95bb92_scoped_true_staticRenderFns
|
|
|
25731
25695
|
this.search(true);
|
|
25732
25696
|
},
|
|
25733
25697
|
showDialog() {
|
|
25698
|
+
const this_ = this;
|
|
25734
25699
|
this.fixedParams = {};
|
|
25735
|
-
// 如果已存在配置信息就不去请求配置信息 直接初始化数据
|
|
25736
|
-
if (this.dialogConfig) {
|
|
25737
|
-
this.initDialog(this.dialogConfig);
|
|
25738
|
-
return;
|
|
25739
|
-
}
|
|
25740
25700
|
var alias = this.custdialog.custDialog.alias;
|
|
25741
25701
|
this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
|
|
25742
|
-
|
|
25743
|
-
|
|
25744
|
-
|
|
25745
|
-
initDialog(customDialog) {
|
|
25746
|
-
let alias = this.custdialog.custDialog.alias;
|
|
25747
|
-
const this_ = this;
|
|
25748
|
-
if (!customDialog || !customDialog.alias) {
|
|
25749
|
-
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
25750
|
-
return;
|
|
25751
|
-
}
|
|
25752
|
-
if (customDialog.style == 1) {
|
|
25753
|
-
var displaylist = JSON.parse(customDialog.displayfield);
|
|
25754
|
-
this_.nodeKey = displaylist.id;
|
|
25755
|
-
}
|
|
25756
|
-
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
25757
|
-
let obj = {};
|
|
25758
|
-
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
25759
|
-
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
25760
|
-
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
25761
|
-
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
25762
|
-
if (exp) {
|
|
25763
|
-
const params = JSON.parse(exp);
|
|
25764
|
-
if (params.pageBean) {
|
|
25765
|
-
this.pagination = {
|
|
25766
|
-
...params.pageBean
|
|
25767
|
-
};
|
|
25768
|
-
}
|
|
25702
|
+
if (!customDialog || !customDialog.alias) {
|
|
25703
|
+
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
25704
|
+
return;
|
|
25769
25705
|
}
|
|
25770
|
-
|
|
25771
|
-
|
|
25772
|
-
|
|
25773
|
-
|
|
25774
|
-
|
|
25775
|
-
|
|
25776
|
-
|
|
25777
|
-
|
|
25778
|
-
|
|
25779
|
-
|
|
25780
|
-
|
|
25781
|
-
|
|
25782
|
-
|
|
25783
|
-
|
|
25784
|
-
|
|
25785
|
-
|
|
25786
|
-
|
|
25706
|
+
if (customDialog.style == 1) {
|
|
25707
|
+
var displaylist = JSON.parse(customDialog.displayfield);
|
|
25708
|
+
this_.nodeKey = displaylist.id;
|
|
25709
|
+
}
|
|
25710
|
+
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
25711
|
+
let obj = {};
|
|
25712
|
+
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
25713
|
+
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
25714
|
+
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
25715
|
+
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
25716
|
+
if (exp) {
|
|
25717
|
+
const params = JSON.parse(exp);
|
|
25718
|
+
if (params.pageBean) {
|
|
25719
|
+
this.pagination = {
|
|
25720
|
+
...params.pageBean
|
|
25721
|
+
};
|
|
25722
|
+
}
|
|
25787
25723
|
}
|
|
25788
|
-
}
|
|
25789
|
-
|
|
25724
|
+
}
|
|
25725
|
+
//对话框按表单字段查询(参数传入的)
|
|
25726
|
+
let bindList = this_.custdialog.custDialog.conditions;
|
|
25727
|
+
this_.param = []; //绑定的表单字段
|
|
25728
|
+
if (bindList.length > 0) {
|
|
25729
|
+
bindList.forEach(ele => {
|
|
25730
|
+
//绑定表单字段
|
|
25731
|
+
if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
|
|
25732
|
+
let obj = {};
|
|
25733
|
+
obj.field = ele.field;
|
|
25734
|
+
obj.bind = ele.bind;
|
|
25735
|
+
obj.bindType = ele.bindType;
|
|
25736
|
+
this_.param.push(obj);
|
|
25737
|
+
}
|
|
25738
|
+
// bindType 1 表单字段 2固定 3脚本
|
|
25739
|
+
if (ele.defaultType == '3' && ele.bindType === 2) {
|
|
25740
|
+
this_.fixedParams[ele.field] = ele.bind || '';
|
|
25741
|
+
}
|
|
25742
|
+
});
|
|
25743
|
+
}
|
|
25790
25744
|
|
|
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
|
-
|
|
25745
|
+
//判断对话框查询是否有条件
|
|
25746
|
+
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
25747
|
+
this_.conditionBind = [];
|
|
25748
|
+
let queryParams = [];
|
|
25749
|
+
let placeholders = [];
|
|
25750
|
+
if (userInputList.length > 0) {
|
|
25751
|
+
userInputList.forEach(ele => {
|
|
25752
|
+
var obj = {};
|
|
25753
|
+
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
25754
|
+
if (ele.defaultType == '1') {
|
|
25755
|
+
obj[ele.field] = '';
|
|
25756
|
+
queryParams.push(obj);
|
|
25757
|
+
// queryParams[ele.field] = "";
|
|
25758
|
+
this_.conditionBind.push(ele);
|
|
25759
|
+
placeholders.push('请输入' + ele.comment);
|
|
25760
|
+
}
|
|
25761
|
+
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
25762
|
+
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
25763
|
+
}
|
|
25764
|
+
});
|
|
25765
|
+
this.$set(this, 'queryParams', queryParams);
|
|
25766
|
+
this.$set(this, 'placeholders', placeholders);
|
|
25767
|
+
}
|
|
25768
|
+
if (customDialog.style == 0 || customDialog.style == 2) {
|
|
25769
|
+
//列表
|
|
25770
|
+
this_.customDialogShow({
|
|
25771
|
+
alias: alias,
|
|
25772
|
+
customDialog: customDialog
|
|
25773
|
+
});
|
|
25774
|
+
} else if (customDialog.style == 1) {
|
|
25775
|
+
//树形
|
|
25776
|
+
this_.pageParam = {
|
|
25777
|
+
alias: alias,
|
|
25778
|
+
customDialog: customDialog
|
|
25779
|
+
};
|
|
25780
|
+
this_.customDialog = customDialog;
|
|
25781
|
+
let param = {};
|
|
25782
|
+
this_.conditionfieldTree = [];
|
|
25783
|
+
//判断是否存在条件
|
|
25784
|
+
if (customDialog.conditionfield) {
|
|
25785
|
+
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
25786
|
+
if (this_.conditionfieldTree.length > 0) {
|
|
25787
|
+
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
25788
|
+
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
25789
|
+
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
25790
|
+
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
25791
|
+
}
|
|
25837
25792
|
}
|
|
25838
25793
|
}
|
|
25839
25794
|
}
|
|
25795
|
+
//有动态传入的字段
|
|
25796
|
+
if (JSON.stringify(param) != '{}') {
|
|
25797
|
+
this_.dialogVisible = true;
|
|
25798
|
+
} else {
|
|
25799
|
+
//无动态传入的字段
|
|
25800
|
+
this_.customDialogTreeShow(this_.pageParam);
|
|
25801
|
+
}
|
|
25840
25802
|
}
|
|
25841
|
-
|
|
25842
|
-
if (JSON.stringify(param) != '{}') {
|
|
25843
|
-
this_.dialogVisible = true;
|
|
25844
|
-
} else {
|
|
25845
|
-
//无动态传入的字段
|
|
25846
|
-
this_.customDialogTreeShow(this_.pageParam);
|
|
25847
|
-
}
|
|
25848
|
-
}
|
|
25803
|
+
});
|
|
25849
25804
|
},
|
|
25850
25805
|
treeClick(data) {
|
|
25851
25806
|
// 单选
|
|
@@ -25963,13 +25918,13 @@ var customMobileDialogvue_type_template_id_0c95bb92_scoped_true_staticRenderFns
|
|
|
25963
25918
|
}
|
|
25964
25919
|
// 添加用户id 岗位id 组织id
|
|
25965
25920
|
try {
|
|
25966
|
-
if (this.$requestConfig.getUserId
|
|
25921
|
+
if (this.$requestConfig.getUserId()) {
|
|
25967
25922
|
ctx.userId = this.$requestConfig.getUserId();
|
|
25968
25923
|
}
|
|
25969
|
-
if (this.$requestConfig.getOrgId
|
|
25924
|
+
if (this.$requestConfig.getOrgId()) {
|
|
25970
25925
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
25971
25926
|
}
|
|
25972
|
-
if (this.$requestConfig.getPostId
|
|
25927
|
+
if (this.$requestConfig.getPostId()) {
|
|
25973
25928
|
ctx.postId = this.$requestConfig.getPostId();
|
|
25974
25929
|
}
|
|
25975
25930
|
} catch (e) {
|
|
@@ -26054,13 +26009,8 @@ var customMobileDialogvue_type_template_id_0c95bb92_scoped_true_staticRenderFns
|
|
|
26054
26009
|
this.selectOrgs = this.convertComment2Field(str, field);
|
|
26055
26010
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
26056
26011
|
var val = '';
|
|
26057
|
-
str.forEach(
|
|
26058
|
-
|
|
26059
|
-
if (this.jumpParamKey && this.isHaveJumpUrl && this.modelName == 'data.' + con['target'][0]) {
|
|
26060
|
-
val += `${item[con.from]}¯${this.jumpParamKey}:${this.selectOrgs[index][this.jumpParamKey]},`;
|
|
26061
|
-
} else {
|
|
26062
|
-
val += item[con.from] + ',';
|
|
26063
|
-
}
|
|
26012
|
+
str.forEach(item => {
|
|
26013
|
+
val += item[con.from] + ',';
|
|
26064
26014
|
});
|
|
26065
26015
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
26066
26016
|
utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
|
|
@@ -26181,13 +26131,13 @@ var customMobileDialogvue_type_template_id_0c95bb92_scoped_true_staticRenderFns
|
|
|
26181
26131
|
ctx.total = pageBean.pageBean.total;
|
|
26182
26132
|
// 添加用户id 岗位id 组织id
|
|
26183
26133
|
try {
|
|
26184
|
-
if (this.$requestConfig.getUserId
|
|
26134
|
+
if (this.$requestConfig.getUserId()) {
|
|
26185
26135
|
ctx.userId = this.$requestConfig.getUserId();
|
|
26186
26136
|
}
|
|
26187
|
-
if (this.$requestConfig.getOrgId
|
|
26137
|
+
if (this.$requestConfig.getOrgId()) {
|
|
26188
26138
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
26189
26139
|
}
|
|
26190
|
-
if (this.$requestConfig.getPostId
|
|
26140
|
+
if (this.$requestConfig.getPostId()) {
|
|
26191
26141
|
ctx.postId = this.$requestConfig.getPostId();
|
|
26192
26142
|
}
|
|
26193
26143
|
} catch (e) {
|
|
@@ -26454,11 +26404,7 @@ var customMobileDialogvue_type_template_id_0c95bb92_scoped_true_staticRenderFns
|
|
|
26454
26404
|
var from = con.from.toLowerCase();
|
|
26455
26405
|
str.forEach(item => {
|
|
26456
26406
|
if (item) {
|
|
26457
|
-
|
|
26458
|
-
val += `${decodeURIComponent(item[from])}¯${this.jumpParamKey}:${item[this.jumpParamKey]},`;
|
|
26459
|
-
} else {
|
|
26460
|
-
val += decodeURIComponent(item[from]) + ',';
|
|
26461
|
-
}
|
|
26407
|
+
val += decodeURIComponent(item[from]) + ',';
|
|
26462
26408
|
}
|
|
26463
26409
|
});
|
|
26464
26410
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
@@ -26710,11 +26656,11 @@ var customMobileDialogvue_type_template_id_0c95bb92_scoped_true_staticRenderFns
|
|
|
26710
26656
|
});
|
|
26711
26657
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=script&lang=js&
|
|
26712
26658
|
/* harmony default export */ var src_customMobileDialogvue_type_script_lang_js_ = (customMobileDialogvue_type_script_lang_js_);
|
|
26713
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=
|
|
26714
|
-
var
|
|
26659
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=1661eebb&prod&lang=scss&scoped=true&
|
|
26660
|
+
var customMobileDialogvue_type_style_index_0_id_1661eebb_prod_lang_scss_scoped_true_ = __webpack_require__("de6a");
|
|
26715
26661
|
|
|
26716
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=
|
|
26717
|
-
var
|
|
26662
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=1661eebb&prod&lang=scss&
|
|
26663
|
+
var customMobileDialogvue_type_style_index_1_id_1661eebb_prod_lang_scss_ = __webpack_require__("49f9");
|
|
26718
26664
|
|
|
26719
26665
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue
|
|
26720
26666
|
|
|
@@ -26728,11 +26674,11 @@ var customMobileDialogvue_type_style_index_1_id_0c95bb92_prod_lang_scss_ = __web
|
|
|
26728
26674
|
|
|
26729
26675
|
var customMobileDialog_component = normalizeComponent(
|
|
26730
26676
|
src_customMobileDialogvue_type_script_lang_js_,
|
|
26731
|
-
|
|
26732
|
-
|
|
26677
|
+
customMobileDialogvue_type_template_id_1661eebb_scoped_true_render,
|
|
26678
|
+
customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns,
|
|
26733
26679
|
false,
|
|
26734
26680
|
null,
|
|
26735
|
-
"
|
|
26681
|
+
"1661eebb",
|
|
26736
26682
|
null
|
|
26737
26683
|
|
|
26738
26684
|
)
|
|
@@ -26872,15 +26818,6 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26872
26818
|
//
|
|
26873
26819
|
//
|
|
26874
26820
|
//
|
|
26875
|
-
//
|
|
26876
|
-
//
|
|
26877
|
-
//
|
|
26878
|
-
//
|
|
26879
|
-
//
|
|
26880
|
-
//
|
|
26881
|
-
//
|
|
26882
|
-
//
|
|
26883
|
-
//
|
|
26884
26821
|
|
|
26885
26822
|
|
|
26886
26823
|
|
|
@@ -26916,8 +26853,6 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26916
26853
|
},
|
|
26917
26854
|
data() {
|
|
26918
26855
|
return {
|
|
26919
|
-
dialogConfig: null,
|
|
26920
|
-
// 对话框配置信息
|
|
26921
26856
|
isEditInputShow: false,
|
|
26922
26857
|
customValue: '',
|
|
26923
26858
|
defualtTooltipplacement: 'bottom',
|
|
@@ -26966,21 +26901,9 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26966
26901
|
}
|
|
26967
26902
|
let result = [];
|
|
26968
26903
|
nameAry.forEach(m => {
|
|
26969
|
-
|
|
26970
|
-
|
|
26971
|
-
|
|
26972
|
-
n.value = m.split('¯')[0];
|
|
26973
|
-
let jumpParamStr = m.split('¯')[1];
|
|
26974
|
-
if (jumpParamStr) {
|
|
26975
|
-
let jumpParam = jumpParamStr.split(':');
|
|
26976
|
-
n.jumpParamKey = jumpParam[0];
|
|
26977
|
-
n.jumpParamValue = jumpParam[1];
|
|
26978
|
-
}
|
|
26979
|
-
} else {
|
|
26980
|
-
n = {
|
|
26981
|
-
value: m
|
|
26982
|
-
};
|
|
26983
|
-
}
|
|
26904
|
+
let n = {
|
|
26905
|
+
value: m
|
|
26906
|
+
};
|
|
26984
26907
|
result.push(n);
|
|
26985
26908
|
});
|
|
26986
26909
|
return result;
|
|
@@ -26988,16 +26911,8 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26988
26911
|
},
|
|
26989
26912
|
isAllowCustom() {
|
|
26990
26913
|
return this.custdialog && this.custdialog.allowInput;
|
|
26991
|
-
},
|
|
26992
|
-
// 是否展示可跳转颜色
|
|
26993
|
-
isSrcColor() {
|
|
26994
|
-
return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
26995
26914
|
}
|
|
26996
26915
|
},
|
|
26997
|
-
created() {
|
|
26998
|
-
// 获取对话框配置,看是否有配置url跳转
|
|
26999
|
-
this.getDialogConfig();
|
|
27000
|
-
},
|
|
27001
26916
|
mounted() {
|
|
27002
26917
|
const {
|
|
27003
26918
|
subScopeEl
|
|
@@ -27016,60 +26931,6 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27016
26931
|
this.calacInputSuffixWidth();
|
|
27017
26932
|
},
|
|
27018
26933
|
methods: {
|
|
27019
|
-
// 跳转url页面
|
|
27020
|
-
jumpUrl(item) {
|
|
27021
|
-
if (!this.dialogConfig || !this.dialogConfig.pcUrl) {
|
|
27022
|
-
return;
|
|
27023
|
-
}
|
|
27024
|
-
let url = this.isMobile ? this.dialogConfig.mobileUrl : this.dialogConfig.pcUrl;
|
|
27025
|
-
// 获取通用token 和 url翻译
|
|
27026
|
-
Promise.all([this.$requestConfig.getThreeTreeToken(), this.transformUrl(url)]).then(res => {
|
|
27027
|
-
if (res[0] && res[0].code == 200) {
|
|
27028
|
-
let token = res[0].value;
|
|
27029
|
-
let endUrl = res[1];
|
|
27030
|
-
// 拼接参数 token和参数
|
|
27031
|
-
if (endUrl.indexOf('?') == -1) {
|
|
27032
|
-
endUrl += `?bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
|
|
27033
|
-
} else {
|
|
27034
|
-
endUrl += `&bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
|
|
27035
|
-
}
|
|
27036
|
-
window.open(endUrl);
|
|
27037
|
-
} else {
|
|
27038
|
-
this.$message.info(res.message || '获取token失败!');
|
|
27039
|
-
}
|
|
27040
|
-
});
|
|
27041
|
-
},
|
|
27042
|
-
// 替换url中域名通配符 需要发送接口
|
|
27043
|
-
transformUrl(url) {
|
|
27044
|
-
return new Promise(resolve => {
|
|
27045
|
-
var reg = /(\$\{(\w+)\})/;
|
|
27046
|
-
var match = reg.exec(url);
|
|
27047
|
-
if (match) {
|
|
27048
|
-
let alias = match[2];
|
|
27049
|
-
if (alias) {
|
|
27050
|
-
this.$requestConfig.getHostByAlias(alias).then(res => {
|
|
27051
|
-
if (res && res.value && res.value.rootAddress) {
|
|
27052
|
-
resolve(url.replace(match[1], res.value.rootAddress));
|
|
27053
|
-
} else {
|
|
27054
|
-
resolve(url);
|
|
27055
|
-
}
|
|
27056
|
-
});
|
|
27057
|
-
} else {
|
|
27058
|
-
resolve(url);
|
|
27059
|
-
}
|
|
27060
|
-
} else {
|
|
27061
|
-
resolve(url);
|
|
27062
|
-
}
|
|
27063
|
-
});
|
|
27064
|
-
},
|
|
27065
|
-
// 获取对话框配置
|
|
27066
|
-
getDialogConfig() {
|
|
27067
|
-
if (this.custdialog && this.custdialog.custDialog && this.custdialog.custDialog.alias) this.$requestConfig.getCustomDialogByAlias(this.custdialog.custDialog.alias).then(response => {
|
|
27068
|
-
if (response) {
|
|
27069
|
-
this.dialogConfig = response;
|
|
27070
|
-
}
|
|
27071
|
-
});
|
|
27072
|
-
},
|
|
27073
26934
|
editInputBlur() {
|
|
27074
26935
|
this.$emit('input', this.customValue);
|
|
27075
26936
|
this.isEditInputShow = false;
|
|
@@ -27144,8 +27005,8 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27144
27005
|
});
|
|
27145
27006
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=script&lang=js&
|
|
27146
27007
|
/* harmony default export */ var packages_CustomDialog_src_mainvue_type_script_lang_js_ = (CustomDialog_src_mainvue_type_script_lang_js_);
|
|
27147
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=
|
|
27148
|
-
var
|
|
27008
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=37fe7c68&prod&lang=scss&scoped=true&
|
|
27009
|
+
var mainvue_type_style_index_0_id_37fe7c68_prod_lang_scss_scoped_true_ = __webpack_require__("bf72");
|
|
27149
27010
|
|
|
27150
27011
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue
|
|
27151
27012
|
|
|
@@ -27158,11 +27019,11 @@ var mainvue_type_style_index_0_id_20c83109_prod_lang_scss_scoped_true_ = __webpa
|
|
|
27158
27019
|
|
|
27159
27020
|
var CustomDialog_src_main_component = normalizeComponent(
|
|
27160
27021
|
packages_CustomDialog_src_mainvue_type_script_lang_js_,
|
|
27161
|
-
|
|
27162
|
-
|
|
27022
|
+
mainvue_type_template_id_37fe7c68_scoped_true_render,
|
|
27023
|
+
mainvue_type_template_id_37fe7c68_scoped_true_staticRenderFns,
|
|
27163
27024
|
false,
|
|
27164
27025
|
null,
|
|
27165
|
-
"
|
|
27026
|
+
"37fe7c68",
|
|
27166
27027
|
null
|
|
27167
27028
|
|
|
27168
27029
|
)
|
|
@@ -45677,6 +45538,12 @@ const req = function (url) {
|
|
|
45677
45538
|
if (this.templateInfo.summaryRegionHtml) {
|
|
45678
45539
|
this.loadCompiledCustomSummary();
|
|
45679
45540
|
}
|
|
45541
|
+
// 修复初始化时 有的表格滚动不到底部的bug
|
|
45542
|
+
this.$nextTick(() => {
|
|
45543
|
+
if (this.pagination.page == 1) {
|
|
45544
|
+
this.$refs.multipleTemplateTable && this.$refs.multipleTemplateTable.calcTableHeight(300);
|
|
45545
|
+
}
|
|
45546
|
+
});
|
|
45680
45547
|
}).finally(() => {
|
|
45681
45548
|
this.multipleTemplateTableloading = false;
|
|
45682
45549
|
cb1 && cb1();
|