three-trees-ui 1.0.2 → 1.0.3
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 +334 -469
- package/lib/three-trees-ui.css +1 -1
- package/lib/three-trees-ui.umd.js +334 -469
- package/lib/three-trees-ui.umd.min.js +1 -1
- package/package.json +1 -1
- package/packages/CustomDialog/src/customDialog.vue +131 -190
- 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":
|
|
@@ -2949,6 +2938,17 @@ Formulas.install = Vue => {
|
|
|
2949
2938
|
|
|
2950
2939
|
// extracted by mini-css-extract-plugin
|
|
2951
2940
|
|
|
2941
|
+
/***/ }),
|
|
2942
|
+
|
|
2943
|
+
/***/ "49f9":
|
|
2944
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2945
|
+
|
|
2946
|
+
"use strict";
|
|
2947
|
+
/* 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");
|
|
2948
|
+
/* 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__);
|
|
2949
|
+
/* unused harmony reexport * */
|
|
2950
|
+
|
|
2951
|
+
|
|
2952
2952
|
/***/ }),
|
|
2953
2953
|
|
|
2954
2954
|
/***/ "4a17":
|
|
@@ -2974,17 +2974,6 @@ Formulas.install = Vue => {
|
|
|
2974
2974
|
|
|
2975
2975
|
// extracted by mini-css-extract-plugin
|
|
2976
2976
|
|
|
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
2977
|
/***/ }),
|
|
2989
2978
|
|
|
2990
2979
|
/***/ "503b":
|
|
@@ -3468,17 +3457,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__5f72__;
|
|
|
3468
3457
|
|
|
3469
3458
|
module.exports = require("element-resize-detector");
|
|
3470
3459
|
|
|
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
3460
|
/***/ }),
|
|
3483
3461
|
|
|
3484
3462
|
/***/ "60bb":
|
|
@@ -3871,13 +3849,6 @@ const {
|
|
|
3871
3849
|
|
|
3872
3850
|
/***/ }),
|
|
3873
3851
|
|
|
3874
|
-
/***/ "67de":
|
|
3875
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
3876
|
-
|
|
3877
|
-
// extracted by mini-css-extract-plugin
|
|
3878
|
-
|
|
3879
|
-
/***/ }),
|
|
3880
|
-
|
|
3881
3852
|
/***/ "68cf":
|
|
3882
3853
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3883
3854
|
|
|
@@ -4295,6 +4266,13 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4295
4266
|
|
|
4296
4267
|
/***/ }),
|
|
4297
4268
|
|
|
4269
|
+
/***/ "7c6e":
|
|
4270
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4271
|
+
|
|
4272
|
+
// extracted by mini-css-extract-plugin
|
|
4273
|
+
|
|
4274
|
+
/***/ }),
|
|
4275
|
+
|
|
4298
4276
|
/***/ "7d0a":
|
|
4299
4277
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4300
4278
|
|
|
@@ -4322,6 +4300,17 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4322
4300
|
|
|
4323
4301
|
// extracted by mini-css-extract-plugin
|
|
4324
4302
|
|
|
4303
|
+
/***/ }),
|
|
4304
|
+
|
|
4305
|
+
/***/ "8050":
|
|
4306
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4307
|
+
|
|
4308
|
+
"use strict";
|
|
4309
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customDialog_vue_vue_type_style_index_0_id_e7412952_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a91e");
|
|
4310
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customDialog_vue_vue_type_style_index_0_id_e7412952_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customDialog_vue_vue_type_style_index_0_id_e7412952_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
4311
|
+
/* unused harmony reexport * */
|
|
4312
|
+
|
|
4313
|
+
|
|
4325
4314
|
/***/ }),
|
|
4326
4315
|
|
|
4327
4316
|
/***/ "81f7":
|
|
@@ -4771,7 +4760,14 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
4771
4760
|
/***/ "9224":
|
|
4772
4761
|
/***/ (function(module) {
|
|
4773
4762
|
|
|
4774
|
-
module.exports = JSON.parse("{\"a\":\"1.0.
|
|
4763
|
+
module.exports = JSON.parse("{\"a\":\"1.0.3\"}");
|
|
4764
|
+
|
|
4765
|
+
/***/ }),
|
|
4766
|
+
|
|
4767
|
+
/***/ "923d":
|
|
4768
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4769
|
+
|
|
4770
|
+
// extracted by mini-css-extract-plugin
|
|
4775
4771
|
|
|
4776
4772
|
/***/ }),
|
|
4777
4773
|
|
|
@@ -4887,17 +4883,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHoAAABMCAYAAACi
|
|
|
4887
4883
|
/* unused harmony reexport * */
|
|
4888
4884
|
|
|
4889
4885
|
|
|
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
4886
|
/***/ }),
|
|
4902
4887
|
|
|
4903
4888
|
/***/ "a6f4":
|
|
@@ -4918,7 +4903,7 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHoAAABMCAYAAACi
|
|
|
4918
4903
|
|
|
4919
4904
|
/***/ }),
|
|
4920
4905
|
|
|
4921
|
-
/***/ "
|
|
4906
|
+
/***/ "a91e":
|
|
4922
4907
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4923
4908
|
|
|
4924
4909
|
// extracted by mini-css-extract-plugin
|
|
@@ -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,8 +23683,8 @@ 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=e7412952&scoped=true&
|
|
23687
|
+
var customDialogvue_type_template_id_e7412952_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-dialog',{attrs:{"visible":_vm.customDialogShowList,"title":_vm.customDialog.name,"close-on-click-modal":false,"before-close":_vm.dialogCancel,"append-to-body":"","top":"6vh","width":"60%"},on:{"update:visible":function($event){_vm.customDialogShowList=$event},"opened":_vm.afterOpen}},[_c('el-container',{staticStyle:{"overflow":"auto"},style:(_vm.style)},[(_vm.customDialog.style == 2)?_c('el-aside',{directives:[{name:"show",rawName:"v-show",value:(_vm.treeShow),expression:"treeShow"}],staticStyle:{"width":"23%"}},[_c('el-card',[_c('div',{staticClass:"clearfix",attrs:{"slot":"header"},slot:"header"},[_c('span',{staticStyle:{"font-size":"16px"}},[_vm._v(_vm._s(_vm.leftTreeTitle))])]),_c('el-tree',{ref:"combinationTree",attrs:{"data":_vm.combinationTreeData,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","check-on-click-node":true,"lazy":"","load":_vm.loadTree},on:{"node-click":_vm.combiTreeClick}})],1)],1):_vm._e(),(_vm.customDialog.style == 2)?_c('el-divider',{attrs:{"direction":"vertical"}}):_vm._e(),_c('el-container',[(_vm.querysShow)?_c('el-header',{staticClass:"middle-header"},[_vm._l((_vm.conditionBind),function(condition,index){return _c('div',{key:index,staticClass:"search-item"},[_c('p',{staticStyle:{"font-size":"14px"}},[_vm._v(_vm._s(condition.comment)+":")]),(condition.controllerType == '1')?_c('div',[_c('el-input',{staticStyle:{"width":"180px","padding":"10px 0","margin":"0 5px 0 5px"},attrs:{"size":"small","clearable":"","placeholder":_vm.placeholders[index],"prefix-icon":"el-icon-search"},nativeOn:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.searchEnterFun($event)}},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '2')?_c('div',{staticStyle:{"margin-right":"10px"}},_vm._l((condition.config.options),function(itemR,$index1){return _c('el-radio',{key:$index1,attrs:{"label":itemR.key},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}},[_vm._v("\n "+_vm._s(itemR.value)+"\n ")])}),1):_vm._e(),(condition.controllerType == '3')?_c('div',{staticStyle:{"margin-right":"10px"}},[(condition.config.choiceType == 'static')?_c('ht-select',{attrs:{"placeholder":_vm.quickSearch,"options":condition.config.options},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}}):_c('eip-select-dia',{attrs:{"placeholder":_vm.quickSearch,"ganged":{
|
|
23688
23688
|
alias: condition.config.customQuery.alias,
|
|
23689
23689
|
valueBind: condition.config.customQuery.valueBind,
|
|
23690
23690
|
noInit: '',
|
|
@@ -23692,10 +23692,10 @@ var customDialogvue_type_template_id_4d56e14d_scoped_true_render = function () {
|
|
|
23692
23692
|
gangedBind: '{}',
|
|
23693
23693
|
bind: condition.config.bind,
|
|
23694
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
|
|
23695
|
+
var customDialogvue_type_template_id_e7412952_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=e7412952&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: {
|
|
@@ -24161,138 +24153,129 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24161
24153
|
methods: {
|
|
24162
24154
|
showDialog() {
|
|
24163
24155
|
let isMounted = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
24156
|
+
const this_ = this;
|
|
24164
24157
|
this.fixedParams = {};
|
|
24165
|
-
// 如果已存在配置信息就不去请求配置信息 直接初始化数据
|
|
24166
|
-
if (this.dialogConfig) {
|
|
24167
|
-
this.initDialog(this.dialogConfig, isMounted);
|
|
24168
|
-
return;
|
|
24169
|
-
}
|
|
24170
24158
|
var alias = this.custdialog.custDialog.alias;
|
|
24171
24159
|
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
|
-
}
|
|
24160
|
+
if (!customDialog || !customDialog.alias) {
|
|
24161
|
+
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
24162
|
+
return;
|
|
24199
24163
|
}
|
|
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;
|
|
24164
|
+
if (customDialog.style == 1) {
|
|
24165
|
+
var displaylist = JSON.parse(customDialog.displayfield);
|
|
24166
|
+
this_.nodeKey = displaylist.id;
|
|
24167
|
+
}
|
|
24168
|
+
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
24169
|
+
let obj = {};
|
|
24170
|
+
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
24171
|
+
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
24172
|
+
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
24173
|
+
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
24174
|
+
if (exp) {
|
|
24175
|
+
const params = JSON.parse(exp);
|
|
24176
|
+
if (params.pageBean) {
|
|
24177
|
+
this.pagination = {
|
|
24178
|
+
...params.pageBean
|
|
24179
|
+
};
|
|
24180
|
+
}
|
|
24241
24181
|
}
|
|
24242
|
-
}
|
|
24243
|
-
|
|
24244
|
-
|
|
24245
|
-
|
|
24246
|
-
|
|
24247
|
-
|
|
24248
|
-
|
|
24249
|
-
|
|
24250
|
-
|
|
24251
|
-
|
|
24252
|
-
|
|
24253
|
-
|
|
24254
|
-
|
|
24255
|
-
|
|
24256
|
-
|
|
24257
|
-
|
|
24258
|
-
|
|
24259
|
-
|
|
24260
|
-
|
|
24182
|
+
}
|
|
24183
|
+
//对话框按表单字段查询(参数传入的)
|
|
24184
|
+
let bindList = this_.custdialog.custDialog.conditions;
|
|
24185
|
+
this_.param = []; //绑定的表单字段
|
|
24186
|
+
if (bindList.length > 0) {
|
|
24187
|
+
bindList.forEach(ele => {
|
|
24188
|
+
//绑定表单字段
|
|
24189
|
+
if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
|
|
24190
|
+
let obj = {};
|
|
24191
|
+
obj.field = ele.field;
|
|
24192
|
+
obj.bind = ele.bind;
|
|
24193
|
+
obj.bindType = ele.bindType;
|
|
24194
|
+
this_.param.push(obj);
|
|
24195
|
+
}
|
|
24196
|
+
//取值对象为脚本时获取value
|
|
24197
|
+
if (ele.bindType === 3) {
|
|
24198
|
+
this_.$requestConfig.executeScript(ele.bind).then(res => {
|
|
24199
|
+
this_.executeScriptResult = res && res.value;
|
|
24200
|
+
});
|
|
24201
|
+
}
|
|
24202
|
+
});
|
|
24203
|
+
}
|
|
24204
|
+
//判断对话框查询是否有条件
|
|
24205
|
+
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
24206
|
+
this_.quickSearch = ''; //填写提示 placeholder
|
|
24207
|
+
this_.conditionBind = [];
|
|
24208
|
+
let queryParams = [];
|
|
24209
|
+
let placeholders = [];
|
|
24210
|
+
if (userInputList.length > 0) {
|
|
24211
|
+
userInputList.forEach(ele => {
|
|
24212
|
+
var obj = {};
|
|
24213
|
+
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
24214
|
+
if (ele.defaultType == '1') {
|
|
24215
|
+
obj[ele.field] = '';
|
|
24216
|
+
queryParams.push(obj);
|
|
24217
|
+
// queryParams[ele.field] = "";
|
|
24218
|
+
this_.conditionBind.push(ele);
|
|
24219
|
+
placeholders.push('请输入' + ele.comment);
|
|
24220
|
+
}
|
|
24221
|
+
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
24222
|
+
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
24223
|
+
}
|
|
24224
|
+
});
|
|
24225
|
+
this.$set(this, 'queryParams', queryParams);
|
|
24226
|
+
this.$set(this, 'placeholders', placeholders);
|
|
24227
|
+
}
|
|
24228
|
+
//判断是否显示条件查询输入框
|
|
24229
|
+
if (this_.quickSearch != '') {
|
|
24230
|
+
this_.querysShow = true;
|
|
24231
|
+
} else {
|
|
24232
|
+
this_.querysShow = true;
|
|
24233
|
+
}
|
|
24234
|
+
this_.quickSearch = '请输入' + this.quickSearch + '查询';
|
|
24235
|
+
this_.style = 'height:' + customDialog.height + 'px';
|
|
24236
|
+
if (window.screen.height && window.screen.height <= 900) {
|
|
24237
|
+
this.style = 'height:440px';
|
|
24238
|
+
}
|
|
24239
|
+
if (customDialog.style == 0 || customDialog.style == 2) {
|
|
24240
|
+
//列表
|
|
24241
|
+
setTimeout(() => {
|
|
24242
|
+
this_.customDialogShow({
|
|
24243
|
+
alias: alias,
|
|
24244
|
+
customDialog: customDialog
|
|
24245
|
+
}, isMounted);
|
|
24246
|
+
}, 100);
|
|
24247
|
+
} else if (customDialog.style == 1) {
|
|
24248
|
+
//树形
|
|
24249
|
+
this_.pageParam = {
|
|
24261
24250
|
alias: alias,
|
|
24262
24251
|
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;
|
|
24252
|
+
};
|
|
24253
|
+
this_.customDialog = customDialog;
|
|
24254
|
+
let param = {};
|
|
24255
|
+
this_.conditionfieldTree = [];
|
|
24256
|
+
//判断是否存在条件
|
|
24257
|
+
if (customDialog.conditionfield) {
|
|
24258
|
+
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
24259
|
+
if (this_.conditionfieldTree.length > 0) {
|
|
24260
|
+
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
24261
|
+
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
24262
|
+
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
24263
|
+
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
24264
|
+
}
|
|
24282
24265
|
}
|
|
24283
24266
|
}
|
|
24284
24267
|
}
|
|
24285
|
-
|
|
24286
|
-
|
|
24287
|
-
|
|
24288
|
-
|
|
24289
|
-
|
|
24290
|
-
|
|
24291
|
-
|
|
24292
|
-
|
|
24268
|
+
//有动态传入的字段
|
|
24269
|
+
if (!isMounted) {
|
|
24270
|
+
if (JSON.stringify(param) != '{}') {
|
|
24271
|
+
this_.dialogVisible = true;
|
|
24272
|
+
} else {
|
|
24273
|
+
//无动态传入的字段
|
|
24274
|
+
this_.customDialogTreeShow(this_.pageParam);
|
|
24275
|
+
}
|
|
24293
24276
|
}
|
|
24294
24277
|
}
|
|
24295
|
-
}
|
|
24278
|
+
});
|
|
24296
24279
|
},
|
|
24297
24280
|
initTableHeight() {
|
|
24298
24281
|
this.$nextTick(() => {
|
|
@@ -24421,13 +24404,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24421
24404
|
}
|
|
24422
24405
|
// 添加用户id 岗位id 组织id
|
|
24423
24406
|
try {
|
|
24424
|
-
if (this.$requestConfig.getUserId
|
|
24407
|
+
if (this.$requestConfig.getUserId()) {
|
|
24425
24408
|
ctx.userId = this.$requestConfig.getUserId();
|
|
24426
24409
|
}
|
|
24427
|
-
if (this.$requestConfig.getOrgId
|
|
24410
|
+
if (this.$requestConfig.getOrgId()) {
|
|
24428
24411
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
24429
24412
|
}
|
|
24430
|
-
if (this.$requestConfig.getPostId
|
|
24413
|
+
if (this.$requestConfig.getPostId()) {
|
|
24431
24414
|
ctx.postId = this.$requestConfig.getPostId();
|
|
24432
24415
|
}
|
|
24433
24416
|
} catch (e) {
|
|
@@ -24488,7 +24471,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24488
24471
|
if (this.customDialog.selectNum === 1) {
|
|
24489
24472
|
nodes = this.propsData[0];
|
|
24490
24473
|
var temp = '';
|
|
24491
|
-
debugger;
|
|
24492
24474
|
for (var j = 0; j < comment.length; j++) {
|
|
24493
24475
|
temp += '"' + comment[j] + '":"' + nodes[field[j]] + '",';
|
|
24494
24476
|
}
|
|
@@ -24511,15 +24493,10 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24511
24493
|
}
|
|
24512
24494
|
const pInst = utils["a" /* default */].getOnlineFormInstance(this);
|
|
24513
24495
|
this.selectOrgs = this.convertComment2Field(str, field);
|
|
24514
|
-
this.custdialog.custDialog.mappingConf.forEach(
|
|
24496
|
+
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
24515
24497
|
var val = '';
|
|
24516
24498
|
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
|
-
}
|
|
24499
|
+
val += item[con.from] + ',';
|
|
24523
24500
|
});
|
|
24524
24501
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
24525
24502
|
utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
|
|
@@ -24641,13 +24618,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24641
24618
|
queryParamMap.total = pageBean.pageBean.total;
|
|
24642
24619
|
// 添加用户id 岗位id 组织id
|
|
24643
24620
|
try {
|
|
24644
|
-
if (this.$requestConfig.getUserId
|
|
24621
|
+
if (this.$requestConfig.getUserId()) {
|
|
24645
24622
|
ctx.userId = this.$requestConfig.getUserId();
|
|
24646
24623
|
}
|
|
24647
|
-
if (this.$requestConfig.getOrgId
|
|
24624
|
+
if (this.$requestConfig.getOrgId()) {
|
|
24648
24625
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
24649
24626
|
}
|
|
24650
|
-
if (this.$requestConfig.getPostId
|
|
24627
|
+
if (this.$requestConfig.getPostId()) {
|
|
24651
24628
|
ctx.postId = this.$requestConfig.getPostId();
|
|
24652
24629
|
}
|
|
24653
24630
|
} catch (e) {
|
|
@@ -24668,7 +24645,7 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24668
24645
|
value: queryParamMap[bindKey] || ctx[bindKey] || ''
|
|
24669
24646
|
};
|
|
24670
24647
|
});
|
|
24671
|
-
param.querys = queryList
|
|
24648
|
+
param.querys = queryList;
|
|
24672
24649
|
if (this.customDialog.needPage) {
|
|
24673
24650
|
param.pageBean = obj;
|
|
24674
24651
|
} else {
|
|
@@ -24935,8 +24912,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24935
24912
|
},
|
|
24936
24913
|
// 同步选择结果
|
|
24937
24914
|
syncInputValue() {
|
|
24938
|
-
// 对话框跳转url需要两个参数 1当前控件绑定的对象参数modelName 2对话框配置中配置的key名称
|
|
24939
|
-
// 同步值时,如果有绑定url跳转参数,值格式为 名称¯跳转key:跳转value
|
|
24940
24915
|
let thisIndex = null; //当前数据所在下标
|
|
24941
24916
|
let parentIndex = null; //父节点所在下标
|
|
24942
24917
|
if (this.$parent.$el) {
|
|
@@ -25015,13 +24990,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25015
24990
|
var val = '';
|
|
25016
24991
|
var from = con.from.toLowerCase();
|
|
25017
24992
|
str.forEach(item => {
|
|
25018
|
-
// 如果有绑定url跳转参数 需获取跳转参数的key
|
|
25019
24993
|
if (item) {
|
|
25020
|
-
|
|
25021
|
-
val += `${decodeURIComponent(item[from])}¯${this.jumpParamKey}:${item[this.jumpParamKey]},`;
|
|
25022
|
-
} else {
|
|
25023
|
-
val += decodeURIComponent(item[from]) + ',';
|
|
25024
|
-
}
|
|
24994
|
+
val += decodeURIComponent(item[from]) + ',';
|
|
25025
24995
|
}
|
|
25026
24996
|
});
|
|
25027
24997
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
@@ -25272,8 +25242,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25272
25242
|
});
|
|
25273
25243
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=script&lang=js&
|
|
25274
25244
|
/* 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
|
|
25245
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=e7412952&prod&lang=scss&scoped=true&
|
|
25246
|
+
var customDialogvue_type_style_index_0_id_e7412952_prod_lang_scss_scoped_true_ = __webpack_require__("8050");
|
|
25277
25247
|
|
|
25278
25248
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue
|
|
25279
25249
|
|
|
@@ -25286,18 +25256,18 @@ var customDialogvue_type_style_index_0_id_4d56e14d_prod_lang_scss_scoped_true_ =
|
|
|
25286
25256
|
|
|
25287
25257
|
var customDialog_component = normalizeComponent(
|
|
25288
25258
|
src_customDialogvue_type_script_lang_js_,
|
|
25289
|
-
|
|
25290
|
-
|
|
25259
|
+
customDialogvue_type_template_id_e7412952_scoped_true_render,
|
|
25260
|
+
customDialogvue_type_template_id_e7412952_scoped_true_staticRenderFns,
|
|
25291
25261
|
false,
|
|
25292
25262
|
null,
|
|
25293
|
-
"
|
|
25263
|
+
"e7412952",
|
|
25294
25264
|
null
|
|
25295
25265
|
|
|
25296
25266
|
)
|
|
25297
25267
|
|
|
25298
25268
|
/* 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
|
|
25269
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=1661eebb&scoped=true&
|
|
25270
|
+
var customMobileDialogvue_type_template_id_1661eebb_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('van-action-sheet',{staticClass:"mobile-van-action min-height-action",attrs:{"cancel-text":_vm.sureButtonText,"get-container":"body"},on:{"cancel":_vm.handleDialogSure,"click-overlay":_vm.dialogCancel,"opened":_vm.afterOpen},scopedSlots:_vm._u([{key:"description",fn:function(){return [_c('span',{staticClass:"dialog-mobile__title"},[_vm._v(_vm._s(_vm.customDialog.name))]),_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":_vm.dialogCancel}})]},proxy:true}]),model:{value:(_vm.customDialogShowList),callback:function ($$v) {_vm.customDialogShowList=$$v},expression:"customDialogShowList"}},[[_c('div',{staticClass:"search-box"},[_c('ht-icon',{staticClass:"unfold-icon",attrs:{"scale":"1.2","name":_vm.isShowMoreSearch ? 'upFold' : 'downUnfold'},on:{"click":function($event){_vm.isShowMoreSearch = !_vm.isShowMoreSearch}}}),_vm._l((_vm.conditionBind),function(condition,index){return _c('div',{directives:[{name:"show",rawName:"v-show",value:(index === 0 || (index > 0 && _vm.isShowMoreSearch)),expression:"index === 0 || (index > 0 && isShowMoreSearch)"}],key:index,staticClass:"search-item"},[_c('p',[_vm._v(_vm._s(condition.comment)+":")]),(condition.controllerType == '1')?_c('div',[_c('el-input',{attrs:{"size":"small","clearable":"","placeholder":_vm.placeholders[index]},on:{"change":_vm.searchInputChange},nativeOn:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.hideSearch($event)}},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '2')?_c('div',{staticStyle:{"margin-right":"10px"}},_vm._l((condition.config.options),function(itemR,$index1){return _c('el-radio',{key:$index1,attrs:{"label":itemR.key},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}},[_vm._v("\n "+_vm._s(itemR.value)+"\n ")])}),1):_vm._e(),(condition.controllerType == '3')?_c('div',{staticStyle:{"margin-right":"10px"}},[(condition.config.choiceType == 'static')?_c('ht-select',{attrs:{"options":condition.config.options},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}}):_c('eip-select-dia',{attrs:{"ganged":{
|
|
25301
25271
|
alias: condition.config.customQuery.alias,
|
|
25302
25272
|
valueBind: condition.config.customQuery.valueBind,
|
|
25303
25273
|
noInit: '',
|
|
@@ -25307,10 +25277,10 @@ var customMobileDialogvue_type_template_id_0c95bb92_scoped_true_render = functio
|
|
|
25307
25277
|
},"multiple":false,"filterable":false,"allow-create":false,"selectlist":[],"query-params":_vm.queryParams},model:{value:(_vm.queryParams[condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams, condition.field, $$v)},expression:"queryParams[condition.field]"}})],1):_vm._e(),(condition.controllerType == '4')?_c('div',{staticStyle:{"margin-right":"10px"}},[_c('eip-tag',{attrs:{"tag-key":condition.config.tag,"placeholder":_vm.quickSearch,"filterable":condition.config.filterable,"expand":condition.config.expand},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e()])}),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isShowMoreSearch),expression:"isShowMoreSearch"}],staticClass:"search-btns"},[_c('el-button',{staticStyle:{"margin-left":"20px"},attrs:{"size":"small","type":"primary"},on:{"click":_vm.hideSearch}},[_vm._v("\n 搜索\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.reset}},[_vm._v("重置")])],1)],2)],(_vm.customDialog.style == 2)?_c('van-popover',{staticClass:"custom-dialog-popover",attrs:{"trigger":"click"},scopedSlots:_vm._u([{key:"reference",fn:function(){return [_c('div',{staticClass:"mobile-tree-select"},[(_vm.treeSelectText)?_c('span',{staticClass:"active-text"},[_vm._v("\n "+_vm._s(_vm.treeSelectText)+"\n ")]):_c('span',[_vm._v("请选择"+_vm._s(_vm.leftTreeTitle))]),(_vm.treeSelectText)?_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":function($event){$event.stopPropagation();return _vm.clearTreeSelect($event)}}}):_vm._e()],1)]},proxy:true}],null,false,3189508719),model:{value:(_vm.isSelectTreeShow),callback:function ($$v) {_vm.isSelectTreeShow=$$v},expression:"isSelectTreeShow"}},[_c('div',{staticClass:"custom-dialog-popover_content"},[_c('el-tree',{ref:"combinationTree",attrs:{"data":_vm.combinationTreeData,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","check-on-click-node":true},on:{"node-click":_vm.combiTreeClick}})],1)]):_vm._e(),_c('van-pull-refresh',{on:{"refresh":_vm.onRefresh},model:{value:(_vm.isDownLoading),callback:function ($$v) {_vm.isDownLoading=$$v},expression:"isDownLoading"}},[_c('van-list',{attrs:{"finished":_vm.finished,"finished-text":"没有更多了","offset":20,"immediate-check":false},on:{"load":_vm.loadMore},model:{value:(_vm.isPullLoading),callback:function ($$v) {_vm.isPullLoading=$$v},expression:"isPullLoading"}},_vm._l((_vm.dialogData),function(item,index){return _c('van-cell',{key:index,attrs:{"clickable":""},scopedSlots:_vm._u([{key:"icon",fn:function(){return [_c('van-checkbox',{attrs:{"value":_vm.indexArray(_vm.selectIds, item) > -1,"shape":_vm.customDialog.selectNum === 1 ? 'round' : 'square'},on:{"click":function($event){return _vm.checkboxChange(item)}}})]},proxy:true}],null,true)},[_c('div',{staticClass:"custom-mobile_box"},_vm._l((_vm.displayfield),function(field){return _c('div',{key:field.field,staticClass:"custom-mobile_box_item"},[_c('label',[_vm._v(_vm._s(field.comment)+":")]),_c('div',[_vm._v(_vm._s(item[field.field]))])])}),0)])}),1)],1)],2),_c('van-action-sheet',{staticClass:"mobile-van-action",attrs:{"cancel-text":_vm.sureButtonText,"get-container":"body"},on:{"cancel":_vm.handleSave},scopedSlots:_vm._u([{key:"description",fn:function(){return [_c('span',{staticClass:"dialog-mobile__title"},[_vm._v("动态传入参数查询")]),_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":function($event){_vm.dialogVisible = false}}})]},proxy:true}]),model:{value:(_vm.dialogVisible),callback:function ($$v) {_vm.dialogVisible=$$v},expression:"dialogVisible"}},[_c('van-cell-group',_vm._l((_vm.conditionfieldTree.filter(
|
|
25308
25278
|
function (k) { return k.defaultType == '4'; }
|
|
25309
25279
|
)),function(item,$index){return _c('div',{key:$index},[(item.type != 'date')?_c('van-field',{attrs:{"label":item.comment,"placeholder":'请输入' + item.comment},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e(),(item.type == 'date')?_c('ht-date',{staticStyle:{"width":"100%"},attrs:{"placeholder":'请选择' + item.comment,"format":"yyyy-MM-dd"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e()],1)}),0)],1),_c('van-action-sheet',{staticClass:"mobile-van-action",attrs:{"cancel-text":_vm.sureButtonText,"get-container":"body"},on:{"cancel":_vm.dialogTreeConfirm},scopedSlots:_vm._u([{key:"description",fn:function(){return [_c('span',{staticClass:"dialog-mobile__title"},[_vm._v(_vm._s(_vm.customDialog.name))]),_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":_vm.dialogCancelTree}})]},proxy:true}]),model:{value:(_vm.customDialogShowTree),callback:function ($$v) {_vm.customDialogShowTree=$$v},expression:"customDialogShowTree"}},[_c('el-tree',{ref:"tree",staticStyle:{"width":"100%"},attrs:{"data":_vm.props1,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","show-checkbox":_vm.customDialog.selectNum === -1,"check-on-click-node":true,"check-strictly":false,"lazy":"","load":_vm.loadTree,"default-expanded-keys":_vm.defaultExpandedKeys},on:{"node-click":_vm.treeClick,"check-change":_vm.getChecked}})],1)],1)}
|
|
25310
|
-
var
|
|
25280
|
+
var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns = []
|
|
25311
25281
|
|
|
25312
25282
|
|
|
25313
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=
|
|
25283
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=1661eebb&scoped=true&
|
|
25314
25284
|
|
|
25315
25285
|
// 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
25286
|
//
|
|
@@ -25592,8 +25562,7 @@ var customMobileDialogvue_type_template_id_0c95bb92_scoped_true_staticRenderFns
|
|
|
25592
25562
|
subIndex: Number,
|
|
25593
25563
|
sunIndex: Number,
|
|
25594
25564
|
subPath: String,
|
|
25595
|
-
currentSubData: Array
|
|
25596
|
-
dialogConfig: Object
|
|
25565
|
+
currentSubData: Array
|
|
25597
25566
|
},
|
|
25598
25567
|
data() {
|
|
25599
25568
|
return {
|
|
@@ -25676,13 +25645,6 @@ var customMobileDialogvue_type_template_id_0c95bb92_scoped_true_staticRenderFns
|
|
|
25676
25645
|
sureButtonText() {
|
|
25677
25646
|
const selectedText = this.selectIds.length > 0 ? `(${this.selectIds.length})` : '';
|
|
25678
25647
|
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
25648
|
}
|
|
25687
25649
|
},
|
|
25688
25650
|
methods: {
|
|
@@ -25731,121 +25693,112 @@ var customMobileDialogvue_type_template_id_0c95bb92_scoped_true_staticRenderFns
|
|
|
25731
25693
|
this.search(true);
|
|
25732
25694
|
},
|
|
25733
25695
|
showDialog() {
|
|
25696
|
+
const this_ = this;
|
|
25734
25697
|
this.fixedParams = {};
|
|
25735
|
-
// 如果已存在配置信息就不去请求配置信息 直接初始化数据
|
|
25736
|
-
if (this.dialogConfig) {
|
|
25737
|
-
this.initDialog(this.dialogConfig);
|
|
25738
|
-
return;
|
|
25739
|
-
}
|
|
25740
25698
|
var alias = this.custdialog.custDialog.alias;
|
|
25741
25699
|
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
|
-
}
|
|
25700
|
+
if (!customDialog || !customDialog.alias) {
|
|
25701
|
+
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
25702
|
+
return;
|
|
25769
25703
|
}
|
|
25770
|
-
|
|
25771
|
-
|
|
25772
|
-
|
|
25773
|
-
|
|
25774
|
-
|
|
25775
|
-
|
|
25776
|
-
|
|
25777
|
-
|
|
25778
|
-
|
|
25779
|
-
|
|
25780
|
-
|
|
25781
|
-
|
|
25782
|
-
|
|
25783
|
-
|
|
25784
|
-
|
|
25785
|
-
|
|
25786
|
-
|
|
25704
|
+
if (customDialog.style == 1) {
|
|
25705
|
+
var displaylist = JSON.parse(customDialog.displayfield);
|
|
25706
|
+
this_.nodeKey = displaylist.id;
|
|
25707
|
+
}
|
|
25708
|
+
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
25709
|
+
let obj = {};
|
|
25710
|
+
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
25711
|
+
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
25712
|
+
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
25713
|
+
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
25714
|
+
if (exp) {
|
|
25715
|
+
const params = JSON.parse(exp);
|
|
25716
|
+
if (params.pageBean) {
|
|
25717
|
+
this.pagination = {
|
|
25718
|
+
...params.pageBean
|
|
25719
|
+
};
|
|
25720
|
+
}
|
|
25787
25721
|
}
|
|
25788
|
-
}
|
|
25789
|
-
|
|
25722
|
+
}
|
|
25723
|
+
//对话框按表单字段查询(参数传入的)
|
|
25724
|
+
let bindList = this_.custdialog.custDialog.conditions;
|
|
25725
|
+
this_.param = []; //绑定的表单字段
|
|
25726
|
+
if (bindList.length > 0) {
|
|
25727
|
+
bindList.forEach(ele => {
|
|
25728
|
+
//绑定表单字段
|
|
25729
|
+
if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
|
|
25730
|
+
let obj = {};
|
|
25731
|
+
obj.field = ele.field;
|
|
25732
|
+
obj.bind = ele.bind;
|
|
25733
|
+
obj.bindType = ele.bindType;
|
|
25734
|
+
this_.param.push(obj);
|
|
25735
|
+
}
|
|
25736
|
+
// bindType 1 表单字段 2固定 3脚本
|
|
25737
|
+
if (ele.defaultType == '3' && ele.bindType === 2) {
|
|
25738
|
+
this_.fixedParams[ele.field] = ele.bind || '';
|
|
25739
|
+
}
|
|
25740
|
+
});
|
|
25741
|
+
}
|
|
25790
25742
|
|
|
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
|
-
|
|
25743
|
+
//判断对话框查询是否有条件
|
|
25744
|
+
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
25745
|
+
this_.conditionBind = [];
|
|
25746
|
+
let queryParams = [];
|
|
25747
|
+
let placeholders = [];
|
|
25748
|
+
if (userInputList.length > 0) {
|
|
25749
|
+
userInputList.forEach(ele => {
|
|
25750
|
+
var obj = {};
|
|
25751
|
+
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
25752
|
+
if (ele.defaultType == '1') {
|
|
25753
|
+
obj[ele.field] = '';
|
|
25754
|
+
queryParams.push(obj);
|
|
25755
|
+
// queryParams[ele.field] = "";
|
|
25756
|
+
this_.conditionBind.push(ele);
|
|
25757
|
+
placeholders.push('请输入' + ele.comment);
|
|
25758
|
+
}
|
|
25759
|
+
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
25760
|
+
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
25761
|
+
}
|
|
25762
|
+
});
|
|
25763
|
+
this.$set(this, 'queryParams', queryParams);
|
|
25764
|
+
this.$set(this, 'placeholders', placeholders);
|
|
25765
|
+
}
|
|
25766
|
+
if (customDialog.style == 0 || customDialog.style == 2) {
|
|
25767
|
+
//列表
|
|
25768
|
+
this_.customDialogShow({
|
|
25769
|
+
alias: alias,
|
|
25770
|
+
customDialog: customDialog
|
|
25771
|
+
});
|
|
25772
|
+
} else if (customDialog.style == 1) {
|
|
25773
|
+
//树形
|
|
25774
|
+
this_.pageParam = {
|
|
25775
|
+
alias: alias,
|
|
25776
|
+
customDialog: customDialog
|
|
25777
|
+
};
|
|
25778
|
+
this_.customDialog = customDialog;
|
|
25779
|
+
let param = {};
|
|
25780
|
+
this_.conditionfieldTree = [];
|
|
25781
|
+
//判断是否存在条件
|
|
25782
|
+
if (customDialog.conditionfield) {
|
|
25783
|
+
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
25784
|
+
if (this_.conditionfieldTree.length > 0) {
|
|
25785
|
+
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
25786
|
+
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
25787
|
+
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
25788
|
+
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
25789
|
+
}
|
|
25837
25790
|
}
|
|
25838
25791
|
}
|
|
25839
25792
|
}
|
|
25793
|
+
//有动态传入的字段
|
|
25794
|
+
if (JSON.stringify(param) != '{}') {
|
|
25795
|
+
this_.dialogVisible = true;
|
|
25796
|
+
} else {
|
|
25797
|
+
//无动态传入的字段
|
|
25798
|
+
this_.customDialogTreeShow(this_.pageParam);
|
|
25799
|
+
}
|
|
25840
25800
|
}
|
|
25841
|
-
|
|
25842
|
-
if (JSON.stringify(param) != '{}') {
|
|
25843
|
-
this_.dialogVisible = true;
|
|
25844
|
-
} else {
|
|
25845
|
-
//无动态传入的字段
|
|
25846
|
-
this_.customDialogTreeShow(this_.pageParam);
|
|
25847
|
-
}
|
|
25848
|
-
}
|
|
25801
|
+
});
|
|
25849
25802
|
},
|
|
25850
25803
|
treeClick(data) {
|
|
25851
25804
|
// 单选
|
|
@@ -25963,13 +25916,13 @@ var customMobileDialogvue_type_template_id_0c95bb92_scoped_true_staticRenderFns
|
|
|
25963
25916
|
}
|
|
25964
25917
|
// 添加用户id 岗位id 组织id
|
|
25965
25918
|
try {
|
|
25966
|
-
if (this.$requestConfig.getUserId
|
|
25919
|
+
if (this.$requestConfig.getUserId()) {
|
|
25967
25920
|
ctx.userId = this.$requestConfig.getUserId();
|
|
25968
25921
|
}
|
|
25969
|
-
if (this.$requestConfig.getOrgId
|
|
25922
|
+
if (this.$requestConfig.getOrgId()) {
|
|
25970
25923
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
25971
25924
|
}
|
|
25972
|
-
if (this.$requestConfig.getPostId
|
|
25925
|
+
if (this.$requestConfig.getPostId()) {
|
|
25973
25926
|
ctx.postId = this.$requestConfig.getPostId();
|
|
25974
25927
|
}
|
|
25975
25928
|
} catch (e) {
|
|
@@ -26054,13 +26007,8 @@ var customMobileDialogvue_type_template_id_0c95bb92_scoped_true_staticRenderFns
|
|
|
26054
26007
|
this.selectOrgs = this.convertComment2Field(str, field);
|
|
26055
26008
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
26056
26009
|
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
|
-
}
|
|
26010
|
+
str.forEach(item => {
|
|
26011
|
+
val += item[con.from] + ',';
|
|
26064
26012
|
});
|
|
26065
26013
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
26066
26014
|
utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
|
|
@@ -26181,13 +26129,13 @@ var customMobileDialogvue_type_template_id_0c95bb92_scoped_true_staticRenderFns
|
|
|
26181
26129
|
ctx.total = pageBean.pageBean.total;
|
|
26182
26130
|
// 添加用户id 岗位id 组织id
|
|
26183
26131
|
try {
|
|
26184
|
-
if (this.$requestConfig.getUserId
|
|
26132
|
+
if (this.$requestConfig.getUserId()) {
|
|
26185
26133
|
ctx.userId = this.$requestConfig.getUserId();
|
|
26186
26134
|
}
|
|
26187
|
-
if (this.$requestConfig.getOrgId
|
|
26135
|
+
if (this.$requestConfig.getOrgId()) {
|
|
26188
26136
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
26189
26137
|
}
|
|
26190
|
-
if (this.$requestConfig.getPostId
|
|
26138
|
+
if (this.$requestConfig.getPostId()) {
|
|
26191
26139
|
ctx.postId = this.$requestConfig.getPostId();
|
|
26192
26140
|
}
|
|
26193
26141
|
} catch (e) {
|
|
@@ -26454,11 +26402,7 @@ var customMobileDialogvue_type_template_id_0c95bb92_scoped_true_staticRenderFns
|
|
|
26454
26402
|
var from = con.from.toLowerCase();
|
|
26455
26403
|
str.forEach(item => {
|
|
26456
26404
|
if (item) {
|
|
26457
|
-
|
|
26458
|
-
val += `${decodeURIComponent(item[from])}¯${this.jumpParamKey}:${item[this.jumpParamKey]},`;
|
|
26459
|
-
} else {
|
|
26460
|
-
val += decodeURIComponent(item[from]) + ',';
|
|
26461
|
-
}
|
|
26405
|
+
val += decodeURIComponent(item[from]) + ',';
|
|
26462
26406
|
}
|
|
26463
26407
|
});
|
|
26464
26408
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
@@ -26710,11 +26654,11 @@ var customMobileDialogvue_type_template_id_0c95bb92_scoped_true_staticRenderFns
|
|
|
26710
26654
|
});
|
|
26711
26655
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=script&lang=js&
|
|
26712
26656
|
/* 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
|
|
26657
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=1661eebb&prod&lang=scss&scoped=true&
|
|
26658
|
+
var customMobileDialogvue_type_style_index_0_id_1661eebb_prod_lang_scss_scoped_true_ = __webpack_require__("de6a");
|
|
26715
26659
|
|
|
26716
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=
|
|
26717
|
-
var
|
|
26660
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=1661eebb&prod&lang=scss&
|
|
26661
|
+
var customMobileDialogvue_type_style_index_1_id_1661eebb_prod_lang_scss_ = __webpack_require__("49f9");
|
|
26718
26662
|
|
|
26719
26663
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue
|
|
26720
26664
|
|
|
@@ -26728,11 +26672,11 @@ var customMobileDialogvue_type_style_index_1_id_0c95bb92_prod_lang_scss_ = __web
|
|
|
26728
26672
|
|
|
26729
26673
|
var customMobileDialog_component = normalizeComponent(
|
|
26730
26674
|
src_customMobileDialogvue_type_script_lang_js_,
|
|
26731
|
-
|
|
26732
|
-
|
|
26675
|
+
customMobileDialogvue_type_template_id_1661eebb_scoped_true_render,
|
|
26676
|
+
customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns,
|
|
26733
26677
|
false,
|
|
26734
26678
|
null,
|
|
26735
|
-
"
|
|
26679
|
+
"1661eebb",
|
|
26736
26680
|
null
|
|
26737
26681
|
|
|
26738
26682
|
)
|
|
@@ -26872,15 +26816,6 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26872
26816
|
//
|
|
26873
26817
|
//
|
|
26874
26818
|
//
|
|
26875
|
-
//
|
|
26876
|
-
//
|
|
26877
|
-
//
|
|
26878
|
-
//
|
|
26879
|
-
//
|
|
26880
|
-
//
|
|
26881
|
-
//
|
|
26882
|
-
//
|
|
26883
|
-
//
|
|
26884
26819
|
|
|
26885
26820
|
|
|
26886
26821
|
|
|
@@ -26916,8 +26851,6 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26916
26851
|
},
|
|
26917
26852
|
data() {
|
|
26918
26853
|
return {
|
|
26919
|
-
dialogConfig: null,
|
|
26920
|
-
// 对话框配置信息
|
|
26921
26854
|
isEditInputShow: false,
|
|
26922
26855
|
customValue: '',
|
|
26923
26856
|
defualtTooltipplacement: 'bottom',
|
|
@@ -26966,21 +26899,9 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26966
26899
|
}
|
|
26967
26900
|
let result = [];
|
|
26968
26901
|
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
|
-
}
|
|
26902
|
+
let n = {
|
|
26903
|
+
value: m
|
|
26904
|
+
};
|
|
26984
26905
|
result.push(n);
|
|
26985
26906
|
});
|
|
26986
26907
|
return result;
|
|
@@ -26988,16 +26909,8 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26988
26909
|
},
|
|
26989
26910
|
isAllowCustom() {
|
|
26990
26911
|
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
26912
|
}
|
|
26996
26913
|
},
|
|
26997
|
-
created() {
|
|
26998
|
-
// 获取对话框配置,看是否有配置url跳转
|
|
26999
|
-
this.getDialogConfig();
|
|
27000
|
-
},
|
|
27001
26914
|
mounted() {
|
|
27002
26915
|
const {
|
|
27003
26916
|
subScopeEl
|
|
@@ -27016,60 +26929,6 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27016
26929
|
this.calacInputSuffixWidth();
|
|
27017
26930
|
},
|
|
27018
26931
|
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
26932
|
editInputBlur() {
|
|
27074
26933
|
this.$emit('input', this.customValue);
|
|
27075
26934
|
this.isEditInputShow = false;
|
|
@@ -27144,8 +27003,8 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27144
27003
|
});
|
|
27145
27004
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=script&lang=js&
|
|
27146
27005
|
/* 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
|
|
27006
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=37fe7c68&prod&lang=scss&scoped=true&
|
|
27007
|
+
var mainvue_type_style_index_0_id_37fe7c68_prod_lang_scss_scoped_true_ = __webpack_require__("bf72");
|
|
27149
27008
|
|
|
27150
27009
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue
|
|
27151
27010
|
|
|
@@ -27158,11 +27017,11 @@ var mainvue_type_style_index_0_id_20c83109_prod_lang_scss_scoped_true_ = __webpa
|
|
|
27158
27017
|
|
|
27159
27018
|
var CustomDialog_src_main_component = normalizeComponent(
|
|
27160
27019
|
packages_CustomDialog_src_mainvue_type_script_lang_js_,
|
|
27161
|
-
|
|
27162
|
-
|
|
27020
|
+
mainvue_type_template_id_37fe7c68_scoped_true_render,
|
|
27021
|
+
mainvue_type_template_id_37fe7c68_scoped_true_staticRenderFns,
|
|
27163
27022
|
false,
|
|
27164
27023
|
null,
|
|
27165
|
-
"
|
|
27024
|
+
"37fe7c68",
|
|
27166
27025
|
null
|
|
27167
27026
|
|
|
27168
27027
|
)
|
|
@@ -45677,6 +45536,12 @@ const req = function (url) {
|
|
|
45677
45536
|
if (this.templateInfo.summaryRegionHtml) {
|
|
45678
45537
|
this.loadCompiledCustomSummary();
|
|
45679
45538
|
}
|
|
45539
|
+
// 修复初始化时 有的表格滚动不到底部的bug
|
|
45540
|
+
this.$nextTick(() => {
|
|
45541
|
+
if (this.pagination.page == 1) {
|
|
45542
|
+
this.$refs.multipleTemplateTable && this.$refs.multipleTemplateTable.calcTableHeight(300);
|
|
45543
|
+
}
|
|
45544
|
+
});
|
|
45680
45545
|
}).finally(() => {
|
|
45681
45546
|
this.multipleTemplateTableloading = false;
|
|
45682
45547
|
cb1 && cb1();
|