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
|
@@ -1861,13 +1861,6 @@ const SubPagination = {
|
|
|
1861
1861
|
/* unused harmony reexport * */
|
|
1862
1862
|
|
|
1863
1863
|
|
|
1864
|
-
/***/ }),
|
|
1865
|
-
|
|
1866
|
-
/***/ "1737":
|
|
1867
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1868
|
-
|
|
1869
|
-
// extracted by mini-css-extract-plugin
|
|
1870
|
-
|
|
1871
1864
|
/***/ }),
|
|
1872
1865
|
|
|
1873
1866
|
/***/ "17b6":
|
|
@@ -1911,6 +1904,13 @@ const SubPagination = {
|
|
|
1911
1904
|
/* unused harmony reexport * */
|
|
1912
1905
|
|
|
1913
1906
|
|
|
1907
|
+
/***/ }),
|
|
1908
|
+
|
|
1909
|
+
/***/ "1c11":
|
|
1910
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1911
|
+
|
|
1912
|
+
// extracted by mini-css-extract-plugin
|
|
1913
|
+
|
|
1914
1914
|
/***/ }),
|
|
1915
1915
|
|
|
1916
1916
|
/***/ "1ccc":
|
|
@@ -2065,17 +2065,6 @@ module.exports = require("vuedraggable");
|
|
|
2065
2065
|
/* unused harmony reexport * */
|
|
2066
2066
|
|
|
2067
2067
|
|
|
2068
|
-
/***/ }),
|
|
2069
|
-
|
|
2070
|
-
/***/ "2f41":
|
|
2071
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2072
|
-
|
|
2073
|
-
"use strict";
|
|
2074
|
-
/* 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");
|
|
2075
|
-
/* 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__);
|
|
2076
|
-
/* unused harmony reexport * */
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
2068
|
/***/ }),
|
|
2080
2069
|
|
|
2081
2070
|
/***/ "2fee":
|
|
@@ -2940,6 +2929,17 @@ Formulas.install = Vue => {
|
|
|
2940
2929
|
|
|
2941
2930
|
// extracted by mini-css-extract-plugin
|
|
2942
2931
|
|
|
2932
|
+
/***/ }),
|
|
2933
|
+
|
|
2934
|
+
/***/ "49f9":
|
|
2935
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2936
|
+
|
|
2937
|
+
"use strict";
|
|
2938
|
+
/* 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");
|
|
2939
|
+
/* 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__);
|
|
2940
|
+
/* unused harmony reexport * */
|
|
2941
|
+
|
|
2942
|
+
|
|
2943
2943
|
/***/ }),
|
|
2944
2944
|
|
|
2945
2945
|
/***/ "4a17":
|
|
@@ -2965,17 +2965,6 @@ Formulas.install = Vue => {
|
|
|
2965
2965
|
|
|
2966
2966
|
// extracted by mini-css-extract-plugin
|
|
2967
2967
|
|
|
2968
|
-
/***/ }),
|
|
2969
|
-
|
|
2970
|
-
/***/ "4dad":
|
|
2971
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2972
|
-
|
|
2973
|
-
"use strict";
|
|
2974
|
-
/* 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");
|
|
2975
|
-
/* 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__);
|
|
2976
|
-
/* unused harmony reexport * */
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
2968
|
/***/ }),
|
|
2980
2969
|
|
|
2981
2970
|
/***/ "503b":
|
|
@@ -3459,17 +3448,6 @@ module.exports = require("element-ui");
|
|
|
3459
3448
|
|
|
3460
3449
|
module.exports = require("element-resize-detector");
|
|
3461
3450
|
|
|
3462
|
-
/***/ }),
|
|
3463
|
-
|
|
3464
|
-
/***/ "5fdd":
|
|
3465
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3466
|
-
|
|
3467
|
-
"use strict";
|
|
3468
|
-
/* 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");
|
|
3469
|
-
/* 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__);
|
|
3470
|
-
/* unused harmony reexport * */
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
3451
|
/***/ }),
|
|
3474
3452
|
|
|
3475
3453
|
/***/ "60bb":
|
|
@@ -3862,13 +3840,6 @@ const {
|
|
|
3862
3840
|
|
|
3863
3841
|
/***/ }),
|
|
3864
3842
|
|
|
3865
|
-
/***/ "67de":
|
|
3866
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
3867
|
-
|
|
3868
|
-
// extracted by mini-css-extract-plugin
|
|
3869
|
-
|
|
3870
|
-
/***/ }),
|
|
3871
|
-
|
|
3872
3843
|
/***/ "68cf":
|
|
3873
3844
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3874
3845
|
|
|
@@ -4286,6 +4257,13 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4286
4257
|
|
|
4287
4258
|
/***/ }),
|
|
4288
4259
|
|
|
4260
|
+
/***/ "7c6e":
|
|
4261
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4262
|
+
|
|
4263
|
+
// extracted by mini-css-extract-plugin
|
|
4264
|
+
|
|
4265
|
+
/***/ }),
|
|
4266
|
+
|
|
4289
4267
|
/***/ "7d0a":
|
|
4290
4268
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4291
4269
|
|
|
@@ -4313,6 +4291,17 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4313
4291
|
|
|
4314
4292
|
// extracted by mini-css-extract-plugin
|
|
4315
4293
|
|
|
4294
|
+
/***/ }),
|
|
4295
|
+
|
|
4296
|
+
/***/ "8050":
|
|
4297
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4298
|
+
|
|
4299
|
+
"use strict";
|
|
4300
|
+
/* 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");
|
|
4301
|
+
/* 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__);
|
|
4302
|
+
/* unused harmony reexport * */
|
|
4303
|
+
|
|
4304
|
+
|
|
4316
4305
|
/***/ }),
|
|
4317
4306
|
|
|
4318
4307
|
/***/ "81f7":
|
|
@@ -4762,7 +4751,14 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
4762
4751
|
/***/ "9224":
|
|
4763
4752
|
/***/ (function(module) {
|
|
4764
4753
|
|
|
4765
|
-
module.exports = JSON.parse("{\"a\":\"1.0.
|
|
4754
|
+
module.exports = JSON.parse("{\"a\":\"1.0.3\"}");
|
|
4755
|
+
|
|
4756
|
+
/***/ }),
|
|
4757
|
+
|
|
4758
|
+
/***/ "923d":
|
|
4759
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4760
|
+
|
|
4761
|
+
// extracted by mini-css-extract-plugin
|
|
4766
4762
|
|
|
4767
4763
|
/***/ }),
|
|
4768
4764
|
|
|
@@ -4878,17 +4874,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHoAAABMCAYAAACi
|
|
|
4878
4874
|
/* unused harmony reexport * */
|
|
4879
4875
|
|
|
4880
4876
|
|
|
4881
|
-
/***/ }),
|
|
4882
|
-
|
|
4883
|
-
/***/ "a59b":
|
|
4884
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4885
|
-
|
|
4886
|
-
"use strict";
|
|
4887
|
-
/* 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");
|
|
4888
|
-
/* 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__);
|
|
4889
|
-
/* unused harmony reexport * */
|
|
4890
|
-
|
|
4891
|
-
|
|
4892
4877
|
/***/ }),
|
|
4893
4878
|
|
|
4894
4879
|
/***/ "a6f4":
|
|
@@ -4909,7 +4894,7 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHoAAABMCAYAAACi
|
|
|
4909
4894
|
|
|
4910
4895
|
/***/ }),
|
|
4911
4896
|
|
|
4912
|
-
/***/ "
|
|
4897
|
+
/***/ "a91e":
|
|
4913
4898
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4914
4899
|
|
|
4915
4900
|
// extracted by mini-css-extract-plugin
|
|
@@ -6471,6 +6456,17 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
|
|
|
6471
6456
|
|
|
6472
6457
|
// extracted by mini-css-extract-plugin
|
|
6473
6458
|
|
|
6459
|
+
/***/ }),
|
|
6460
|
+
|
|
6461
|
+
/***/ "bf72":
|
|
6462
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6463
|
+
|
|
6464
|
+
"use strict";
|
|
6465
|
+
/* 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");
|
|
6466
|
+
/* 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__);
|
|
6467
|
+
/* unused harmony reexport * */
|
|
6468
|
+
|
|
6469
|
+
|
|
6474
6470
|
/***/ }),
|
|
6475
6471
|
|
|
6476
6472
|
/***/ "c0a9":
|
|
@@ -6594,13 +6590,6 @@ module.exports = require("jquery");
|
|
|
6594
6590
|
/* unused harmony reexport * */
|
|
6595
6591
|
|
|
6596
6592
|
|
|
6597
|
-
/***/ }),
|
|
6598
|
-
|
|
6599
|
-
/***/ "c82d":
|
|
6600
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
6601
|
-
|
|
6602
|
-
// extracted by mini-css-extract-plugin
|
|
6603
|
-
|
|
6604
6593
|
/***/ }),
|
|
6605
6594
|
|
|
6606
6595
|
/***/ "c8ba":
|
|
@@ -7193,6 +7182,17 @@ module.exports = require("deepmerge");
|
|
|
7193
7182
|
/* unused harmony reexport * */
|
|
7194
7183
|
|
|
7195
7184
|
|
|
7185
|
+
/***/ }),
|
|
7186
|
+
|
|
7187
|
+
/***/ "de6a":
|
|
7188
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7189
|
+
|
|
7190
|
+
"use strict";
|
|
7191
|
+
/* 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");
|
|
7192
|
+
/* 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__);
|
|
7193
|
+
/* unused harmony reexport * */
|
|
7194
|
+
|
|
7195
|
+
|
|
7196
7196
|
/***/ }),
|
|
7197
7197
|
|
|
7198
7198
|
/***/ "de9c":
|
|
@@ -23538,8 +23538,8 @@ Dialog_src_main.install = function (Vue) {
|
|
|
23538
23538
|
Vue.component(Dialog_src_main.name, Dialog_src_main);
|
|
23539
23539
|
};
|
|
23540
23540
|
/* harmony default export */ var Dialog = (Dialog_src_main);
|
|
23541
|
-
// 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=
|
|
23542
|
-
var
|
|
23541
|
+
// 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&
|
|
23542
|
+
var mainvue_type_template_id_37fe7c68_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"inputs"},[_c('el-tooltip',{attrs:{"placement":_vm.tooltipplacement || _vm.defualtTooltipplacement,"disabled":_vm.inputWriteable && !_vm.errors.has('custom-form.' + _vm.inputName)}},[_c('div',{attrs:{"slot":"content"},slot:"content"},[_vm._v(_vm._s(_vm.errors.first('custom-form.' + _vm.inputName)))]),(_vm.inputWriteable)?_c('div',{staticClass:"el-select",class:{ 'has-value': _vm.value },staticStyle:{"width":"100%"}},[_c('div',{ref:"tagSpans",staticClass:"el-select__tags",style:({ width: 'calc(100% - 10px - ' + _vm.inputSuffixWidth + 'px)' }),on:{"click":_vm.showEditInput}},[_c('span',{staticClass:"tag-wrap"},_vm._l((_vm.inputVal),function(item,index){return _c('span',{key:item.value,staticClass:"el-tag el-tag--info el-tag--small",on:{"click":_vm.showEditInput}},[_c('span',{staticClass:"el-select__tags-text"},[_vm._v(_vm._s(item.value))]),_c('i',{staticClass:"el-tag__close el-icon-close",on:{"click":function($event){$event.stopPropagation();return _vm.removeSelectOrg(index)}}})])}),0)]),_c('div',{staticClass:"el-input el-input--suffix"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.inputVal),expression:"inputVal"},{name:"validate",rawName:"v-validate",value:(_vm.inputValidate),expression:"inputValidate"}],staticClass:"el-input__inner",style:({ height: _vm.inputSuffixHeight + 'px' }),attrs:{"type":"text","readonly":"readonly","name":_vm.inputName,"autocomplete":"off","placeholder":_vm.placeholder},domProps:{"value":(_vm.inputVal)},on:{"click":_vm.showEditInput,"input":function($event){if($event.target.composing){ return; }_vm.inputVal=$event.target.value}}}),(_vm.isAllowCustom && _vm.isEditInputShow)?_c('el-input',{ref:"editInputRef",staticClass:"edit-input",style:({
|
|
23543
23543
|
right: _vm.inputSuffixWidth - 1 + 'px',
|
|
23544
23544
|
width: 'auto!important',
|
|
23545
23545
|
height: _vm.inputSuffixHeight - 4 + 'px',
|
|
@@ -23548,11 +23548,11 @@ var mainvue_type_template_id_20c83109_scoped_true_render = function () {var _vm=
|
|
|
23548
23548
|
: 'el-input__icon icon-duihuakuang',style:({
|
|
23549
23549
|
fontSize: '17px',
|
|
23550
23550
|
lineHeight: _vm.inputSuffixHeight + 'px',
|
|
23551
|
-
})}),_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();
|
|
23552
|
-
var
|
|
23551
|
+
})}),_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)}
|
|
23552
|
+
var mainvue_type_template_id_37fe7c68_scoped_true_staticRenderFns = []
|
|
23553
23553
|
|
|
23554
23554
|
|
|
23555
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=
|
|
23555
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=37fe7c68&scoped=true&
|
|
23556
23556
|
|
|
23557
23557
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.js
|
|
23558
23558
|
|
|
@@ -23674,8 +23674,8 @@ var mainvue_type_template_id_20c83109_scoped_true_staticRenderFns = []
|
|
|
23674
23674
|
}
|
|
23675
23675
|
}
|
|
23676
23676
|
});
|
|
23677
|
-
// 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=
|
|
23678
|
-
var
|
|
23677
|
+
// 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&
|
|
23678
|
+
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":{
|
|
23679
23679
|
alias: condition.config.customQuery.alias,
|
|
23680
23680
|
valueBind: condition.config.customQuery.valueBind,
|
|
23681
23681
|
noInit: '',
|
|
@@ -23683,10 +23683,10 @@ var customDialogvue_type_template_id_4d56e14d_scoped_true_render = function () {
|
|
|
23683
23683
|
gangedBind: '{}',
|
|
23684
23684
|
bind: condition.config.bind,
|
|
23685
23685
|
},"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)}
|
|
23686
|
-
var
|
|
23686
|
+
var customDialogvue_type_template_id_e7412952_scoped_true_staticRenderFns = []
|
|
23687
23687
|
|
|
23688
23688
|
|
|
23689
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=
|
|
23689
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=e7412952&scoped=true&
|
|
23690
23690
|
|
|
23691
23691
|
// EXTERNAL MODULE: external "jquery"
|
|
23692
23692
|
var external_jquery_ = __webpack_require__("c5e1");
|
|
@@ -24022,8 +24022,7 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24022
24022
|
isReadOnly: {
|
|
24023
24023
|
type: Boolean,
|
|
24024
24024
|
default: false
|
|
24025
|
-
}
|
|
24026
|
-
dialogConfig: Object
|
|
24025
|
+
}
|
|
24027
24026
|
},
|
|
24028
24027
|
data() {
|
|
24029
24028
|
return {
|
|
@@ -24107,13 +24106,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24107
24106
|
return [this.props1[0][this.nodeKey]];
|
|
24108
24107
|
}
|
|
24109
24108
|
return [];
|
|
24110
|
-
},
|
|
24111
|
-
jumpParamKey() {
|
|
24112
|
-
return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
|
|
24113
|
-
},
|
|
24114
|
-
// 是否保存成跳转url参数
|
|
24115
|
-
isHaveJumpUrl() {
|
|
24116
|
-
return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
24117
24109
|
}
|
|
24118
24110
|
},
|
|
24119
24111
|
watch: {
|
|
@@ -24152,138 +24144,129 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24152
24144
|
methods: {
|
|
24153
24145
|
showDialog() {
|
|
24154
24146
|
let isMounted = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
24147
|
+
const this_ = this;
|
|
24155
24148
|
this.fixedParams = {};
|
|
24156
|
-
// 如果已存在配置信息就不去请求配置信息 直接初始化数据
|
|
24157
|
-
if (this.dialogConfig) {
|
|
24158
|
-
this.initDialog(this.dialogConfig, isMounted);
|
|
24159
|
-
return;
|
|
24160
|
-
}
|
|
24161
24149
|
var alias = this.custdialog.custDialog.alias;
|
|
24162
24150
|
this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
|
|
24163
|
-
|
|
24164
|
-
|
|
24165
|
-
|
|
24166
|
-
initDialog(customDialog, isMounted) {
|
|
24167
|
-
let alias = this.custdialog.custDialog.alias;
|
|
24168
|
-
const this_ = this;
|
|
24169
|
-
if (!customDialog || !customDialog.alias) {
|
|
24170
|
-
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
24171
|
-
return;
|
|
24172
|
-
}
|
|
24173
|
-
if (customDialog.style == 1) {
|
|
24174
|
-
var displaylist = JSON.parse(customDialog.displayfield);
|
|
24175
|
-
this_.nodeKey = displaylist.id;
|
|
24176
|
-
}
|
|
24177
|
-
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
24178
|
-
let obj = {};
|
|
24179
|
-
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
24180
|
-
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
24181
|
-
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
24182
|
-
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
24183
|
-
if (exp) {
|
|
24184
|
-
const params = JSON.parse(exp);
|
|
24185
|
-
if (params.pageBean) {
|
|
24186
|
-
this.pagination = {
|
|
24187
|
-
...params.pageBean
|
|
24188
|
-
};
|
|
24189
|
-
}
|
|
24151
|
+
if (!customDialog || !customDialog.alias) {
|
|
24152
|
+
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
24153
|
+
return;
|
|
24190
24154
|
}
|
|
24191
|
-
|
|
24192
|
-
|
|
24193
|
-
|
|
24194
|
-
|
|
24195
|
-
|
|
24196
|
-
|
|
24197
|
-
|
|
24198
|
-
|
|
24199
|
-
|
|
24200
|
-
|
|
24201
|
-
|
|
24202
|
-
|
|
24203
|
-
|
|
24204
|
-
|
|
24205
|
-
|
|
24206
|
-
|
|
24207
|
-
|
|
24208
|
-
this_.executeScriptResult = res && res.value;
|
|
24209
|
-
});
|
|
24210
|
-
}
|
|
24211
|
-
});
|
|
24212
|
-
}
|
|
24213
|
-
//判断对话框查询是否有条件
|
|
24214
|
-
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
24215
|
-
this_.quickSearch = ''; //填写提示 placeholder
|
|
24216
|
-
this_.conditionBind = [];
|
|
24217
|
-
let queryParams = [];
|
|
24218
|
-
let placeholders = [];
|
|
24219
|
-
if (userInputList.length > 0) {
|
|
24220
|
-
userInputList.forEach(ele => {
|
|
24221
|
-
var obj = {};
|
|
24222
|
-
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
24223
|
-
if (ele.defaultType == '1') {
|
|
24224
|
-
obj[ele.field] = '';
|
|
24225
|
-
queryParams.push(obj);
|
|
24226
|
-
// queryParams[ele.field] = "";
|
|
24227
|
-
this_.conditionBind.push(ele);
|
|
24228
|
-
placeholders.push('请输入' + ele.comment);
|
|
24229
|
-
}
|
|
24230
|
-
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
24231
|
-
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
24155
|
+
if (customDialog.style == 1) {
|
|
24156
|
+
var displaylist = JSON.parse(customDialog.displayfield);
|
|
24157
|
+
this_.nodeKey = displaylist.id;
|
|
24158
|
+
}
|
|
24159
|
+
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
24160
|
+
let obj = {};
|
|
24161
|
+
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
24162
|
+
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
24163
|
+
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
24164
|
+
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
24165
|
+
if (exp) {
|
|
24166
|
+
const params = JSON.parse(exp);
|
|
24167
|
+
if (params.pageBean) {
|
|
24168
|
+
this.pagination = {
|
|
24169
|
+
...params.pageBean
|
|
24170
|
+
};
|
|
24171
|
+
}
|
|
24232
24172
|
}
|
|
24233
|
-
}
|
|
24234
|
-
|
|
24235
|
-
|
|
24236
|
-
|
|
24237
|
-
|
|
24238
|
-
|
|
24239
|
-
|
|
24240
|
-
|
|
24241
|
-
|
|
24242
|
-
|
|
24243
|
-
|
|
24244
|
-
|
|
24245
|
-
|
|
24246
|
-
|
|
24247
|
-
|
|
24248
|
-
|
|
24249
|
-
|
|
24250
|
-
|
|
24251
|
-
|
|
24173
|
+
}
|
|
24174
|
+
//对话框按表单字段查询(参数传入的)
|
|
24175
|
+
let bindList = this_.custdialog.custDialog.conditions;
|
|
24176
|
+
this_.param = []; //绑定的表单字段
|
|
24177
|
+
if (bindList.length > 0) {
|
|
24178
|
+
bindList.forEach(ele => {
|
|
24179
|
+
//绑定表单字段
|
|
24180
|
+
if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
|
|
24181
|
+
let obj = {};
|
|
24182
|
+
obj.field = ele.field;
|
|
24183
|
+
obj.bind = ele.bind;
|
|
24184
|
+
obj.bindType = ele.bindType;
|
|
24185
|
+
this_.param.push(obj);
|
|
24186
|
+
}
|
|
24187
|
+
//取值对象为脚本时获取value
|
|
24188
|
+
if (ele.bindType === 3) {
|
|
24189
|
+
this_.$requestConfig.executeScript(ele.bind).then(res => {
|
|
24190
|
+
this_.executeScriptResult = res && res.value;
|
|
24191
|
+
});
|
|
24192
|
+
}
|
|
24193
|
+
});
|
|
24194
|
+
}
|
|
24195
|
+
//判断对话框查询是否有条件
|
|
24196
|
+
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
24197
|
+
this_.quickSearch = ''; //填写提示 placeholder
|
|
24198
|
+
this_.conditionBind = [];
|
|
24199
|
+
let queryParams = [];
|
|
24200
|
+
let placeholders = [];
|
|
24201
|
+
if (userInputList.length > 0) {
|
|
24202
|
+
userInputList.forEach(ele => {
|
|
24203
|
+
var obj = {};
|
|
24204
|
+
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
24205
|
+
if (ele.defaultType == '1') {
|
|
24206
|
+
obj[ele.field] = '';
|
|
24207
|
+
queryParams.push(obj);
|
|
24208
|
+
// queryParams[ele.field] = "";
|
|
24209
|
+
this_.conditionBind.push(ele);
|
|
24210
|
+
placeholders.push('请输入' + ele.comment);
|
|
24211
|
+
}
|
|
24212
|
+
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
24213
|
+
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
24214
|
+
}
|
|
24215
|
+
});
|
|
24216
|
+
this.$set(this, 'queryParams', queryParams);
|
|
24217
|
+
this.$set(this, 'placeholders', placeholders);
|
|
24218
|
+
}
|
|
24219
|
+
//判断是否显示条件查询输入框
|
|
24220
|
+
if (this_.quickSearch != '') {
|
|
24221
|
+
this_.querysShow = true;
|
|
24222
|
+
} else {
|
|
24223
|
+
this_.querysShow = true;
|
|
24224
|
+
}
|
|
24225
|
+
this_.quickSearch = '请输入' + this.quickSearch + '查询';
|
|
24226
|
+
this_.style = 'height:' + customDialog.height + 'px';
|
|
24227
|
+
if (window.screen.height && window.screen.height <= 900) {
|
|
24228
|
+
this.style = 'height:440px';
|
|
24229
|
+
}
|
|
24230
|
+
if (customDialog.style == 0 || customDialog.style == 2) {
|
|
24231
|
+
//列表
|
|
24232
|
+
setTimeout(() => {
|
|
24233
|
+
this_.customDialogShow({
|
|
24234
|
+
alias: alias,
|
|
24235
|
+
customDialog: customDialog
|
|
24236
|
+
}, isMounted);
|
|
24237
|
+
}, 100);
|
|
24238
|
+
} else if (customDialog.style == 1) {
|
|
24239
|
+
//树形
|
|
24240
|
+
this_.pageParam = {
|
|
24252
24241
|
alias: alias,
|
|
24253
24242
|
customDialog: customDialog
|
|
24254
|
-
}
|
|
24255
|
-
|
|
24256
|
-
|
|
24257
|
-
|
|
24258
|
-
|
|
24259
|
-
|
|
24260
|
-
|
|
24261
|
-
|
|
24262
|
-
|
|
24263
|
-
|
|
24264
|
-
|
|
24265
|
-
|
|
24266
|
-
|
|
24267
|
-
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
24268
|
-
if (this_.conditionfieldTree.length > 0) {
|
|
24269
|
-
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
24270
|
-
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
24271
|
-
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
24272
|
-
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
24243
|
+
};
|
|
24244
|
+
this_.customDialog = customDialog;
|
|
24245
|
+
let param = {};
|
|
24246
|
+
this_.conditionfieldTree = [];
|
|
24247
|
+
//判断是否存在条件
|
|
24248
|
+
if (customDialog.conditionfield) {
|
|
24249
|
+
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
24250
|
+
if (this_.conditionfieldTree.length > 0) {
|
|
24251
|
+
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
24252
|
+
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
24253
|
+
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
24254
|
+
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
24255
|
+
}
|
|
24273
24256
|
}
|
|
24274
24257
|
}
|
|
24275
24258
|
}
|
|
24276
|
-
|
|
24277
|
-
|
|
24278
|
-
|
|
24279
|
-
|
|
24280
|
-
|
|
24281
|
-
|
|
24282
|
-
|
|
24283
|
-
|
|
24259
|
+
//有动态传入的字段
|
|
24260
|
+
if (!isMounted) {
|
|
24261
|
+
if (JSON.stringify(param) != '{}') {
|
|
24262
|
+
this_.dialogVisible = true;
|
|
24263
|
+
} else {
|
|
24264
|
+
//无动态传入的字段
|
|
24265
|
+
this_.customDialogTreeShow(this_.pageParam);
|
|
24266
|
+
}
|
|
24284
24267
|
}
|
|
24285
24268
|
}
|
|
24286
|
-
}
|
|
24269
|
+
});
|
|
24287
24270
|
},
|
|
24288
24271
|
initTableHeight() {
|
|
24289
24272
|
this.$nextTick(() => {
|
|
@@ -24412,13 +24395,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24412
24395
|
}
|
|
24413
24396
|
// 添加用户id 岗位id 组织id
|
|
24414
24397
|
try {
|
|
24415
|
-
if (this.$requestConfig.getUserId
|
|
24398
|
+
if (this.$requestConfig.getUserId()) {
|
|
24416
24399
|
ctx.userId = this.$requestConfig.getUserId();
|
|
24417
24400
|
}
|
|
24418
|
-
if (this.$requestConfig.getOrgId
|
|
24401
|
+
if (this.$requestConfig.getOrgId()) {
|
|
24419
24402
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
24420
24403
|
}
|
|
24421
|
-
if (this.$requestConfig.getPostId
|
|
24404
|
+
if (this.$requestConfig.getPostId()) {
|
|
24422
24405
|
ctx.postId = this.$requestConfig.getPostId();
|
|
24423
24406
|
}
|
|
24424
24407
|
} catch (e) {
|
|
@@ -24479,7 +24462,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24479
24462
|
if (this.customDialog.selectNum === 1) {
|
|
24480
24463
|
nodes = this.propsData[0];
|
|
24481
24464
|
var temp = '';
|
|
24482
|
-
debugger;
|
|
24483
24465
|
for (var j = 0; j < comment.length; j++) {
|
|
24484
24466
|
temp += '"' + comment[j] + '":"' + nodes[field[j]] + '",';
|
|
24485
24467
|
}
|
|
@@ -24502,15 +24484,10 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24502
24484
|
}
|
|
24503
24485
|
const pInst = utils["a" /* default */].getOnlineFormInstance(this);
|
|
24504
24486
|
this.selectOrgs = this.convertComment2Field(str, field);
|
|
24505
|
-
this.custdialog.custDialog.mappingConf.forEach(
|
|
24487
|
+
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
24506
24488
|
var val = '';
|
|
24507
24489
|
str.forEach(item => {
|
|
24508
|
-
|
|
24509
|
-
if (this.jumpParamKey && this.isHaveJumpUrl && this.modelName == 'data.' + con['target'][0]) {
|
|
24510
|
-
val += `${item[con.from]}¯${this.jumpParamKey}:${this.selectOrgs[index][this.jumpParamKey]},`;
|
|
24511
|
-
} else {
|
|
24512
|
-
val += item[con.from] + ',';
|
|
24513
|
-
}
|
|
24490
|
+
val += item[con.from] + ',';
|
|
24514
24491
|
});
|
|
24515
24492
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
24516
24493
|
utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
|
|
@@ -24632,13 +24609,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24632
24609
|
queryParamMap.total = pageBean.pageBean.total;
|
|
24633
24610
|
// 添加用户id 岗位id 组织id
|
|
24634
24611
|
try {
|
|
24635
|
-
if (this.$requestConfig.getUserId
|
|
24612
|
+
if (this.$requestConfig.getUserId()) {
|
|
24636
24613
|
ctx.userId = this.$requestConfig.getUserId();
|
|
24637
24614
|
}
|
|
24638
|
-
if (this.$requestConfig.getOrgId
|
|
24615
|
+
if (this.$requestConfig.getOrgId()) {
|
|
24639
24616
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
24640
24617
|
}
|
|
24641
|
-
if (this.$requestConfig.getPostId
|
|
24618
|
+
if (this.$requestConfig.getPostId()) {
|
|
24642
24619
|
ctx.postId = this.$requestConfig.getPostId();
|
|
24643
24620
|
}
|
|
24644
24621
|
} catch (e) {
|
|
@@ -24659,7 +24636,7 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24659
24636
|
value: queryParamMap[bindKey] || ctx[bindKey] || ''
|
|
24660
24637
|
};
|
|
24661
24638
|
});
|
|
24662
|
-
param.querys = queryList
|
|
24639
|
+
param.querys = queryList;
|
|
24663
24640
|
if (this.customDialog.needPage) {
|
|
24664
24641
|
param.pageBean = obj;
|
|
24665
24642
|
} else {
|
|
@@ -24926,8 +24903,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24926
24903
|
},
|
|
24927
24904
|
// 同步选择结果
|
|
24928
24905
|
syncInputValue() {
|
|
24929
|
-
// 对话框跳转url需要两个参数 1当前控件绑定的对象参数modelName 2对话框配置中配置的key名称
|
|
24930
|
-
// 同步值时,如果有绑定url跳转参数,值格式为 名称¯跳转key:跳转value
|
|
24931
24906
|
let thisIndex = null; //当前数据所在下标
|
|
24932
24907
|
let parentIndex = null; //父节点所在下标
|
|
24933
24908
|
if (this.$parent.$el) {
|
|
@@ -25006,13 +24981,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25006
24981
|
var val = '';
|
|
25007
24982
|
var from = con.from.toLowerCase();
|
|
25008
24983
|
str.forEach(item => {
|
|
25009
|
-
// 如果有绑定url跳转参数 需获取跳转参数的key
|
|
25010
24984
|
if (item) {
|
|
25011
|
-
|
|
25012
|
-
val += `${decodeURIComponent(item[from])}¯${this.jumpParamKey}:${item[this.jumpParamKey]},`;
|
|
25013
|
-
} else {
|
|
25014
|
-
val += decodeURIComponent(item[from]) + ',';
|
|
25015
|
-
}
|
|
24985
|
+
val += decodeURIComponent(item[from]) + ',';
|
|
25016
24986
|
}
|
|
25017
24987
|
});
|
|
25018
24988
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
@@ -25263,8 +25233,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25263
25233
|
});
|
|
25264
25234
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=script&lang=js&
|
|
25265
25235
|
/* harmony default export */ var src_customDialogvue_type_script_lang_js_ = (customDialogvue_type_script_lang_js_);
|
|
25266
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=
|
|
25267
|
-
var
|
|
25236
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=e7412952&prod&lang=scss&scoped=true&
|
|
25237
|
+
var customDialogvue_type_style_index_0_id_e7412952_prod_lang_scss_scoped_true_ = __webpack_require__("8050");
|
|
25268
25238
|
|
|
25269
25239
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue
|
|
25270
25240
|
|
|
@@ -25277,18 +25247,18 @@ var customDialogvue_type_style_index_0_id_4d56e14d_prod_lang_scss_scoped_true_ =
|
|
|
25277
25247
|
|
|
25278
25248
|
var customDialog_component = normalizeComponent(
|
|
25279
25249
|
src_customDialogvue_type_script_lang_js_,
|
|
25280
|
-
|
|
25281
|
-
|
|
25250
|
+
customDialogvue_type_template_id_e7412952_scoped_true_render,
|
|
25251
|
+
customDialogvue_type_template_id_e7412952_scoped_true_staticRenderFns,
|
|
25282
25252
|
false,
|
|
25283
25253
|
null,
|
|
25284
|
-
"
|
|
25254
|
+
"e7412952",
|
|
25285
25255
|
null
|
|
25286
25256
|
|
|
25287
25257
|
)
|
|
25288
25258
|
|
|
25289
25259
|
/* harmony default export */ var CustomDialog_src_customDialog = (customDialog_component.exports);
|
|
25290
|
-
// 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=
|
|
25291
|
-
var
|
|
25260
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=1661eebb&scoped=true&
|
|
25261
|
+
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":{
|
|
25292
25262
|
alias: condition.config.customQuery.alias,
|
|
25293
25263
|
valueBind: condition.config.customQuery.valueBind,
|
|
25294
25264
|
noInit: '',
|
|
@@ -25298,10 +25268,10 @@ var customMobileDialogvue_type_template_id_0c95bb92_scoped_true_render = functio
|
|
|
25298
25268
|
},"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(
|
|
25299
25269
|
function (k) { return k.defaultType == '4'; }
|
|
25300
25270
|
)),function(item,$index){return _c('div',{key:$index},[(item.type != 'date')?_c('van-field',{attrs:{"label":item.comment,"placeholder":'请输入' + item.comment},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e(),(item.type == 'date')?_c('ht-date',{staticStyle:{"width":"100%"},attrs:{"placeholder":'请选择' + item.comment,"format":"yyyy-MM-dd"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e()],1)}),0)],1),_c('van-action-sheet',{staticClass:"mobile-van-action",attrs:{"cancel-text":_vm.sureButtonText,"get-container":"body"},on:{"cancel":_vm.dialogTreeConfirm},scopedSlots:_vm._u([{key:"description",fn:function(){return [_c('span',{staticClass:"dialog-mobile__title"},[_vm._v(_vm._s(_vm.customDialog.name))]),_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":_vm.dialogCancelTree}})]},proxy:true}]),model:{value:(_vm.customDialogShowTree),callback:function ($$v) {_vm.customDialogShowTree=$$v},expression:"customDialogShowTree"}},[_c('el-tree',{ref:"tree",staticStyle:{"width":"100%"},attrs:{"data":_vm.props1,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","show-checkbox":_vm.customDialog.selectNum === -1,"check-on-click-node":true,"check-strictly":false,"lazy":"","load":_vm.loadTree,"default-expanded-keys":_vm.defaultExpandedKeys},on:{"node-click":_vm.treeClick,"check-change":_vm.getChecked}})],1)],1)}
|
|
25301
|
-
var
|
|
25271
|
+
var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns = []
|
|
25302
25272
|
|
|
25303
25273
|
|
|
25304
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=
|
|
25274
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=1661eebb&scoped=true&
|
|
25305
25275
|
|
|
25306
25276
|
// 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&
|
|
25307
25277
|
//
|
|
@@ -25583,8 +25553,7 @@ var customMobileDialogvue_type_template_id_0c95bb92_scoped_true_staticRenderFns
|
|
|
25583
25553
|
subIndex: Number,
|
|
25584
25554
|
sunIndex: Number,
|
|
25585
25555
|
subPath: String,
|
|
25586
|
-
currentSubData: Array
|
|
25587
|
-
dialogConfig: Object
|
|
25556
|
+
currentSubData: Array
|
|
25588
25557
|
},
|
|
25589
25558
|
data() {
|
|
25590
25559
|
return {
|
|
@@ -25667,13 +25636,6 @@ var customMobileDialogvue_type_template_id_0c95bb92_scoped_true_staticRenderFns
|
|
|
25667
25636
|
sureButtonText() {
|
|
25668
25637
|
const selectedText = this.selectIds.length > 0 ? `(${this.selectIds.length})` : '';
|
|
25669
25638
|
return `${this.$t('ht.common.confirm')}${selectedText}`;
|
|
25670
|
-
},
|
|
25671
|
-
jumpParamKey() {
|
|
25672
|
-
return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
|
|
25673
|
-
},
|
|
25674
|
-
// 是否保存成跳转url参数
|
|
25675
|
-
isHaveJumpUrl() {
|
|
25676
|
-
return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
25677
25639
|
}
|
|
25678
25640
|
},
|
|
25679
25641
|
methods: {
|
|
@@ -25722,121 +25684,112 @@ var customMobileDialogvue_type_template_id_0c95bb92_scoped_true_staticRenderFns
|
|
|
25722
25684
|
this.search(true);
|
|
25723
25685
|
},
|
|
25724
25686
|
showDialog() {
|
|
25687
|
+
const this_ = this;
|
|
25725
25688
|
this.fixedParams = {};
|
|
25726
|
-
// 如果已存在配置信息就不去请求配置信息 直接初始化数据
|
|
25727
|
-
if (this.dialogConfig) {
|
|
25728
|
-
this.initDialog(this.dialogConfig);
|
|
25729
|
-
return;
|
|
25730
|
-
}
|
|
25731
25689
|
var alias = this.custdialog.custDialog.alias;
|
|
25732
25690
|
this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
|
|
25733
|
-
|
|
25734
|
-
|
|
25735
|
-
|
|
25736
|
-
initDialog(customDialog) {
|
|
25737
|
-
let alias = this.custdialog.custDialog.alias;
|
|
25738
|
-
const this_ = this;
|
|
25739
|
-
if (!customDialog || !customDialog.alias) {
|
|
25740
|
-
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
25741
|
-
return;
|
|
25742
|
-
}
|
|
25743
|
-
if (customDialog.style == 1) {
|
|
25744
|
-
var displaylist = JSON.parse(customDialog.displayfield);
|
|
25745
|
-
this_.nodeKey = displaylist.id;
|
|
25746
|
-
}
|
|
25747
|
-
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
25748
|
-
let obj = {};
|
|
25749
|
-
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
25750
|
-
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
25751
|
-
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
25752
|
-
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
25753
|
-
if (exp) {
|
|
25754
|
-
const params = JSON.parse(exp);
|
|
25755
|
-
if (params.pageBean) {
|
|
25756
|
-
this.pagination = {
|
|
25757
|
-
...params.pageBean
|
|
25758
|
-
};
|
|
25759
|
-
}
|
|
25691
|
+
if (!customDialog || !customDialog.alias) {
|
|
25692
|
+
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
25693
|
+
return;
|
|
25760
25694
|
}
|
|
25761
|
-
|
|
25762
|
-
|
|
25763
|
-
|
|
25764
|
-
|
|
25765
|
-
|
|
25766
|
-
|
|
25767
|
-
|
|
25768
|
-
|
|
25769
|
-
|
|
25770
|
-
|
|
25771
|
-
|
|
25772
|
-
|
|
25773
|
-
|
|
25774
|
-
|
|
25775
|
-
|
|
25776
|
-
|
|
25777
|
-
|
|
25695
|
+
if (customDialog.style == 1) {
|
|
25696
|
+
var displaylist = JSON.parse(customDialog.displayfield);
|
|
25697
|
+
this_.nodeKey = displaylist.id;
|
|
25698
|
+
}
|
|
25699
|
+
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
25700
|
+
let obj = {};
|
|
25701
|
+
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
25702
|
+
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
25703
|
+
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
25704
|
+
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
25705
|
+
if (exp) {
|
|
25706
|
+
const params = JSON.parse(exp);
|
|
25707
|
+
if (params.pageBean) {
|
|
25708
|
+
this.pagination = {
|
|
25709
|
+
...params.pageBean
|
|
25710
|
+
};
|
|
25711
|
+
}
|
|
25778
25712
|
}
|
|
25779
|
-
}
|
|
25780
|
-
|
|
25713
|
+
}
|
|
25714
|
+
//对话框按表单字段查询(参数传入的)
|
|
25715
|
+
let bindList = this_.custdialog.custDialog.conditions;
|
|
25716
|
+
this_.param = []; //绑定的表单字段
|
|
25717
|
+
if (bindList.length > 0) {
|
|
25718
|
+
bindList.forEach(ele => {
|
|
25719
|
+
//绑定表单字段
|
|
25720
|
+
if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
|
|
25721
|
+
let obj = {};
|
|
25722
|
+
obj.field = ele.field;
|
|
25723
|
+
obj.bind = ele.bind;
|
|
25724
|
+
obj.bindType = ele.bindType;
|
|
25725
|
+
this_.param.push(obj);
|
|
25726
|
+
}
|
|
25727
|
+
// bindType 1 表单字段 2固定 3脚本
|
|
25728
|
+
if (ele.defaultType == '3' && ele.bindType === 2) {
|
|
25729
|
+
this_.fixedParams[ele.field] = ele.bind || '';
|
|
25730
|
+
}
|
|
25731
|
+
});
|
|
25732
|
+
}
|
|
25781
25733
|
|
|
25782
|
-
|
|
25783
|
-
|
|
25784
|
-
|
|
25785
|
-
|
|
25786
|
-
|
|
25787
|
-
|
|
25788
|
-
|
|
25789
|
-
|
|
25790
|
-
|
|
25791
|
-
|
|
25792
|
-
|
|
25793
|
-
|
|
25794
|
-
|
|
25795
|
-
|
|
25796
|
-
|
|
25797
|
-
|
|
25798
|
-
|
|
25799
|
-
|
|
25800
|
-
|
|
25801
|
-
|
|
25802
|
-
|
|
25803
|
-
|
|
25804
|
-
|
|
25805
|
-
|
|
25806
|
-
|
|
25807
|
-
|
|
25808
|
-
|
|
25809
|
-
|
|
25810
|
-
|
|
25811
|
-
|
|
25812
|
-
|
|
25813
|
-
|
|
25814
|
-
|
|
25815
|
-
|
|
25816
|
-
|
|
25817
|
-
|
|
25818
|
-
|
|
25819
|
-
|
|
25820
|
-
|
|
25821
|
-
|
|
25822
|
-
|
|
25823
|
-
|
|
25824
|
-
|
|
25825
|
-
|
|
25826
|
-
|
|
25827
|
-
|
|
25734
|
+
//判断对话框查询是否有条件
|
|
25735
|
+
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
25736
|
+
this_.conditionBind = [];
|
|
25737
|
+
let queryParams = [];
|
|
25738
|
+
let placeholders = [];
|
|
25739
|
+
if (userInputList.length > 0) {
|
|
25740
|
+
userInputList.forEach(ele => {
|
|
25741
|
+
var obj = {};
|
|
25742
|
+
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
25743
|
+
if (ele.defaultType == '1') {
|
|
25744
|
+
obj[ele.field] = '';
|
|
25745
|
+
queryParams.push(obj);
|
|
25746
|
+
// queryParams[ele.field] = "";
|
|
25747
|
+
this_.conditionBind.push(ele);
|
|
25748
|
+
placeholders.push('请输入' + ele.comment);
|
|
25749
|
+
}
|
|
25750
|
+
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
25751
|
+
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
25752
|
+
}
|
|
25753
|
+
});
|
|
25754
|
+
this.$set(this, 'queryParams', queryParams);
|
|
25755
|
+
this.$set(this, 'placeholders', placeholders);
|
|
25756
|
+
}
|
|
25757
|
+
if (customDialog.style == 0 || customDialog.style == 2) {
|
|
25758
|
+
//列表
|
|
25759
|
+
this_.customDialogShow({
|
|
25760
|
+
alias: alias,
|
|
25761
|
+
customDialog: customDialog
|
|
25762
|
+
});
|
|
25763
|
+
} else if (customDialog.style == 1) {
|
|
25764
|
+
//树形
|
|
25765
|
+
this_.pageParam = {
|
|
25766
|
+
alias: alias,
|
|
25767
|
+
customDialog: customDialog
|
|
25768
|
+
};
|
|
25769
|
+
this_.customDialog = customDialog;
|
|
25770
|
+
let param = {};
|
|
25771
|
+
this_.conditionfieldTree = [];
|
|
25772
|
+
//判断是否存在条件
|
|
25773
|
+
if (customDialog.conditionfield) {
|
|
25774
|
+
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
25775
|
+
if (this_.conditionfieldTree.length > 0) {
|
|
25776
|
+
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
25777
|
+
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
25778
|
+
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
25779
|
+
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
25780
|
+
}
|
|
25828
25781
|
}
|
|
25829
25782
|
}
|
|
25830
25783
|
}
|
|
25784
|
+
//有动态传入的字段
|
|
25785
|
+
if (JSON.stringify(param) != '{}') {
|
|
25786
|
+
this_.dialogVisible = true;
|
|
25787
|
+
} else {
|
|
25788
|
+
//无动态传入的字段
|
|
25789
|
+
this_.customDialogTreeShow(this_.pageParam);
|
|
25790
|
+
}
|
|
25831
25791
|
}
|
|
25832
|
-
|
|
25833
|
-
if (JSON.stringify(param) != '{}') {
|
|
25834
|
-
this_.dialogVisible = true;
|
|
25835
|
-
} else {
|
|
25836
|
-
//无动态传入的字段
|
|
25837
|
-
this_.customDialogTreeShow(this_.pageParam);
|
|
25838
|
-
}
|
|
25839
|
-
}
|
|
25792
|
+
});
|
|
25840
25793
|
},
|
|
25841
25794
|
treeClick(data) {
|
|
25842
25795
|
// 单选
|
|
@@ -25954,13 +25907,13 @@ var customMobileDialogvue_type_template_id_0c95bb92_scoped_true_staticRenderFns
|
|
|
25954
25907
|
}
|
|
25955
25908
|
// 添加用户id 岗位id 组织id
|
|
25956
25909
|
try {
|
|
25957
|
-
if (this.$requestConfig.getUserId
|
|
25910
|
+
if (this.$requestConfig.getUserId()) {
|
|
25958
25911
|
ctx.userId = this.$requestConfig.getUserId();
|
|
25959
25912
|
}
|
|
25960
|
-
if (this.$requestConfig.getOrgId
|
|
25913
|
+
if (this.$requestConfig.getOrgId()) {
|
|
25961
25914
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
25962
25915
|
}
|
|
25963
|
-
if (this.$requestConfig.getPostId
|
|
25916
|
+
if (this.$requestConfig.getPostId()) {
|
|
25964
25917
|
ctx.postId = this.$requestConfig.getPostId();
|
|
25965
25918
|
}
|
|
25966
25919
|
} catch (e) {
|
|
@@ -26045,13 +25998,8 @@ var customMobileDialogvue_type_template_id_0c95bb92_scoped_true_staticRenderFns
|
|
|
26045
25998
|
this.selectOrgs = this.convertComment2Field(str, field);
|
|
26046
25999
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
26047
26000
|
var val = '';
|
|
26048
|
-
str.forEach(
|
|
26049
|
-
|
|
26050
|
-
if (this.jumpParamKey && this.isHaveJumpUrl && this.modelName == 'data.' + con['target'][0]) {
|
|
26051
|
-
val += `${item[con.from]}¯${this.jumpParamKey}:${this.selectOrgs[index][this.jumpParamKey]},`;
|
|
26052
|
-
} else {
|
|
26053
|
-
val += item[con.from] + ',';
|
|
26054
|
-
}
|
|
26001
|
+
str.forEach(item => {
|
|
26002
|
+
val += item[con.from] + ',';
|
|
26055
26003
|
});
|
|
26056
26004
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
26057
26005
|
utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
|
|
@@ -26172,13 +26120,13 @@ var customMobileDialogvue_type_template_id_0c95bb92_scoped_true_staticRenderFns
|
|
|
26172
26120
|
ctx.total = pageBean.pageBean.total;
|
|
26173
26121
|
// 添加用户id 岗位id 组织id
|
|
26174
26122
|
try {
|
|
26175
|
-
if (this.$requestConfig.getUserId
|
|
26123
|
+
if (this.$requestConfig.getUserId()) {
|
|
26176
26124
|
ctx.userId = this.$requestConfig.getUserId();
|
|
26177
26125
|
}
|
|
26178
|
-
if (this.$requestConfig.getOrgId
|
|
26126
|
+
if (this.$requestConfig.getOrgId()) {
|
|
26179
26127
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
26180
26128
|
}
|
|
26181
|
-
if (this.$requestConfig.getPostId
|
|
26129
|
+
if (this.$requestConfig.getPostId()) {
|
|
26182
26130
|
ctx.postId = this.$requestConfig.getPostId();
|
|
26183
26131
|
}
|
|
26184
26132
|
} catch (e) {
|
|
@@ -26445,11 +26393,7 @@ var customMobileDialogvue_type_template_id_0c95bb92_scoped_true_staticRenderFns
|
|
|
26445
26393
|
var from = con.from.toLowerCase();
|
|
26446
26394
|
str.forEach(item => {
|
|
26447
26395
|
if (item) {
|
|
26448
|
-
|
|
26449
|
-
val += `${decodeURIComponent(item[from])}¯${this.jumpParamKey}:${item[this.jumpParamKey]},`;
|
|
26450
|
-
} else {
|
|
26451
|
-
val += decodeURIComponent(item[from]) + ',';
|
|
26452
|
-
}
|
|
26396
|
+
val += decodeURIComponent(item[from]) + ',';
|
|
26453
26397
|
}
|
|
26454
26398
|
});
|
|
26455
26399
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
@@ -26701,11 +26645,11 @@ var customMobileDialogvue_type_template_id_0c95bb92_scoped_true_staticRenderFns
|
|
|
26701
26645
|
});
|
|
26702
26646
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=script&lang=js&
|
|
26703
26647
|
/* harmony default export */ var src_customMobileDialogvue_type_script_lang_js_ = (customMobileDialogvue_type_script_lang_js_);
|
|
26704
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=
|
|
26705
|
-
var
|
|
26648
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=1661eebb&prod&lang=scss&scoped=true&
|
|
26649
|
+
var customMobileDialogvue_type_style_index_0_id_1661eebb_prod_lang_scss_scoped_true_ = __webpack_require__("de6a");
|
|
26706
26650
|
|
|
26707
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=
|
|
26708
|
-
var
|
|
26651
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=1661eebb&prod&lang=scss&
|
|
26652
|
+
var customMobileDialogvue_type_style_index_1_id_1661eebb_prod_lang_scss_ = __webpack_require__("49f9");
|
|
26709
26653
|
|
|
26710
26654
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue
|
|
26711
26655
|
|
|
@@ -26719,11 +26663,11 @@ var customMobileDialogvue_type_style_index_1_id_0c95bb92_prod_lang_scss_ = __web
|
|
|
26719
26663
|
|
|
26720
26664
|
var customMobileDialog_component = normalizeComponent(
|
|
26721
26665
|
src_customMobileDialogvue_type_script_lang_js_,
|
|
26722
|
-
|
|
26723
|
-
|
|
26666
|
+
customMobileDialogvue_type_template_id_1661eebb_scoped_true_render,
|
|
26667
|
+
customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns,
|
|
26724
26668
|
false,
|
|
26725
26669
|
null,
|
|
26726
|
-
"
|
|
26670
|
+
"1661eebb",
|
|
26727
26671
|
null
|
|
26728
26672
|
|
|
26729
26673
|
)
|
|
@@ -26863,15 +26807,6 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26863
26807
|
//
|
|
26864
26808
|
//
|
|
26865
26809
|
//
|
|
26866
|
-
//
|
|
26867
|
-
//
|
|
26868
|
-
//
|
|
26869
|
-
//
|
|
26870
|
-
//
|
|
26871
|
-
//
|
|
26872
|
-
//
|
|
26873
|
-
//
|
|
26874
|
-
//
|
|
26875
26810
|
|
|
26876
26811
|
|
|
26877
26812
|
|
|
@@ -26907,8 +26842,6 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26907
26842
|
},
|
|
26908
26843
|
data() {
|
|
26909
26844
|
return {
|
|
26910
|
-
dialogConfig: null,
|
|
26911
|
-
// 对话框配置信息
|
|
26912
26845
|
isEditInputShow: false,
|
|
26913
26846
|
customValue: '',
|
|
26914
26847
|
defualtTooltipplacement: 'bottom',
|
|
@@ -26957,21 +26890,9 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26957
26890
|
}
|
|
26958
26891
|
let result = [];
|
|
26959
26892
|
nameAry.forEach(m => {
|
|
26960
|
-
|
|
26961
|
-
|
|
26962
|
-
|
|
26963
|
-
n.value = m.split('¯')[0];
|
|
26964
|
-
let jumpParamStr = m.split('¯')[1];
|
|
26965
|
-
if (jumpParamStr) {
|
|
26966
|
-
let jumpParam = jumpParamStr.split(':');
|
|
26967
|
-
n.jumpParamKey = jumpParam[0];
|
|
26968
|
-
n.jumpParamValue = jumpParam[1];
|
|
26969
|
-
}
|
|
26970
|
-
} else {
|
|
26971
|
-
n = {
|
|
26972
|
-
value: m
|
|
26973
|
-
};
|
|
26974
|
-
}
|
|
26893
|
+
let n = {
|
|
26894
|
+
value: m
|
|
26895
|
+
};
|
|
26975
26896
|
result.push(n);
|
|
26976
26897
|
});
|
|
26977
26898
|
return result;
|
|
@@ -26979,16 +26900,8 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26979
26900
|
},
|
|
26980
26901
|
isAllowCustom() {
|
|
26981
26902
|
return this.custdialog && this.custdialog.allowInput;
|
|
26982
|
-
},
|
|
26983
|
-
// 是否展示可跳转颜色
|
|
26984
|
-
isSrcColor() {
|
|
26985
|
-
return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
26986
26903
|
}
|
|
26987
26904
|
},
|
|
26988
|
-
created() {
|
|
26989
|
-
// 获取对话框配置,看是否有配置url跳转
|
|
26990
|
-
this.getDialogConfig();
|
|
26991
|
-
},
|
|
26992
26905
|
mounted() {
|
|
26993
26906
|
const {
|
|
26994
26907
|
subScopeEl
|
|
@@ -27007,60 +26920,6 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27007
26920
|
this.calacInputSuffixWidth();
|
|
27008
26921
|
},
|
|
27009
26922
|
methods: {
|
|
27010
|
-
// 跳转url页面
|
|
27011
|
-
jumpUrl(item) {
|
|
27012
|
-
if (!this.dialogConfig || !this.dialogConfig.pcUrl) {
|
|
27013
|
-
return;
|
|
27014
|
-
}
|
|
27015
|
-
let url = this.isMobile ? this.dialogConfig.mobileUrl : this.dialogConfig.pcUrl;
|
|
27016
|
-
// 获取通用token 和 url翻译
|
|
27017
|
-
Promise.all([this.$requestConfig.getThreeTreeToken(), this.transformUrl(url)]).then(res => {
|
|
27018
|
-
if (res[0] && res[0].code == 200) {
|
|
27019
|
-
let token = res[0].value;
|
|
27020
|
-
let endUrl = res[1];
|
|
27021
|
-
// 拼接参数 token和参数
|
|
27022
|
-
if (endUrl.indexOf('?') == -1) {
|
|
27023
|
-
endUrl += `?bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
|
|
27024
|
-
} else {
|
|
27025
|
-
endUrl += `&bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
|
|
27026
|
-
}
|
|
27027
|
-
window.open(endUrl);
|
|
27028
|
-
} else {
|
|
27029
|
-
this.$message.info(res.message || '获取token失败!');
|
|
27030
|
-
}
|
|
27031
|
-
});
|
|
27032
|
-
},
|
|
27033
|
-
// 替换url中域名通配符 需要发送接口
|
|
27034
|
-
transformUrl(url) {
|
|
27035
|
-
return new Promise(resolve => {
|
|
27036
|
-
var reg = /(\$\{(\w+)\})/;
|
|
27037
|
-
var match = reg.exec(url);
|
|
27038
|
-
if (match) {
|
|
27039
|
-
let alias = match[2];
|
|
27040
|
-
if (alias) {
|
|
27041
|
-
this.$requestConfig.getHostByAlias(alias).then(res => {
|
|
27042
|
-
if (res && res.value && res.value.rootAddress) {
|
|
27043
|
-
resolve(url.replace(match[1], res.value.rootAddress));
|
|
27044
|
-
} else {
|
|
27045
|
-
resolve(url);
|
|
27046
|
-
}
|
|
27047
|
-
});
|
|
27048
|
-
} else {
|
|
27049
|
-
resolve(url);
|
|
27050
|
-
}
|
|
27051
|
-
} else {
|
|
27052
|
-
resolve(url);
|
|
27053
|
-
}
|
|
27054
|
-
});
|
|
27055
|
-
},
|
|
27056
|
-
// 获取对话框配置
|
|
27057
|
-
getDialogConfig() {
|
|
27058
|
-
if (this.custdialog && this.custdialog.custDialog && this.custdialog.custDialog.alias) this.$requestConfig.getCustomDialogByAlias(this.custdialog.custDialog.alias).then(response => {
|
|
27059
|
-
if (response) {
|
|
27060
|
-
this.dialogConfig = response;
|
|
27061
|
-
}
|
|
27062
|
-
});
|
|
27063
|
-
},
|
|
27064
26923
|
editInputBlur() {
|
|
27065
26924
|
this.$emit('input', this.customValue);
|
|
27066
26925
|
this.isEditInputShow = false;
|
|
@@ -27135,8 +26994,8 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27135
26994
|
});
|
|
27136
26995
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=script&lang=js&
|
|
27137
26996
|
/* harmony default export */ var packages_CustomDialog_src_mainvue_type_script_lang_js_ = (CustomDialog_src_mainvue_type_script_lang_js_);
|
|
27138
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=
|
|
27139
|
-
var
|
|
26997
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=37fe7c68&prod&lang=scss&scoped=true&
|
|
26998
|
+
var mainvue_type_style_index_0_id_37fe7c68_prod_lang_scss_scoped_true_ = __webpack_require__("bf72");
|
|
27140
26999
|
|
|
27141
27000
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue
|
|
27142
27001
|
|
|
@@ -27149,11 +27008,11 @@ var mainvue_type_style_index_0_id_20c83109_prod_lang_scss_scoped_true_ = __webpa
|
|
|
27149
27008
|
|
|
27150
27009
|
var CustomDialog_src_main_component = normalizeComponent(
|
|
27151
27010
|
packages_CustomDialog_src_mainvue_type_script_lang_js_,
|
|
27152
|
-
|
|
27153
|
-
|
|
27011
|
+
mainvue_type_template_id_37fe7c68_scoped_true_render,
|
|
27012
|
+
mainvue_type_template_id_37fe7c68_scoped_true_staticRenderFns,
|
|
27154
27013
|
false,
|
|
27155
27014
|
null,
|
|
27156
|
-
"
|
|
27015
|
+
"37fe7c68",
|
|
27157
27016
|
null
|
|
27158
27017
|
|
|
27159
27018
|
)
|
|
@@ -45668,6 +45527,12 @@ const req = function (url) {
|
|
|
45668
45527
|
if (this.templateInfo.summaryRegionHtml) {
|
|
45669
45528
|
this.loadCompiledCustomSummary();
|
|
45670
45529
|
}
|
|
45530
|
+
// 修复初始化时 有的表格滚动不到底部的bug
|
|
45531
|
+
this.$nextTick(() => {
|
|
45532
|
+
if (this.pagination.page == 1) {
|
|
45533
|
+
this.$refs.multipleTemplateTable && this.$refs.multipleTemplateTable.calcTableHeight(300);
|
|
45534
|
+
}
|
|
45535
|
+
});
|
|
45671
45536
|
}).finally(() => {
|
|
45672
45537
|
this.multipleTemplateTableloading = false;
|
|
45673
45538
|
cb1 && cb1();
|