three-trees-ui 1.0.1 → 1.0.2
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 +469 -328
- package/lib/three-trees-ui.css +1 -1
- package/lib/three-trees-ui.umd.js +469 -328
- package/lib/three-trees-ui.umd.min.js +1 -1
- package/package.json +1 -1
- package/packages/CustomDialog/src/customDialog.vue +190 -131
- package/packages/CustomDialog/src/customMobileDialog.vue +166 -111
- package/packages/CustomDialog/src/main.vue +109 -5
|
@@ -1861,6 +1861,13 @@ 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
|
+
|
|
1864
1871
|
/***/ }),
|
|
1865
1872
|
|
|
1866
1873
|
/***/ "17b6":
|
|
@@ -1904,13 +1911,6 @@ const SubPagination = {
|
|
|
1904
1911
|
/* unused harmony reexport * */
|
|
1905
1912
|
|
|
1906
1913
|
|
|
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,6 +2065,17 @@ 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
|
+
|
|
2068
2079
|
/***/ }),
|
|
2069
2080
|
|
|
2070
2081
|
/***/ "2fee":
|
|
@@ -2929,17 +2940,6 @@ Formulas.install = Vue => {
|
|
|
2929
2940
|
|
|
2930
2941
|
// extracted by mini-css-extract-plugin
|
|
2931
2942
|
|
|
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,6 +2965,17 @@ 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
|
+
|
|
2968
2979
|
/***/ }),
|
|
2969
2980
|
|
|
2970
2981
|
/***/ "503b":
|
|
@@ -3448,6 +3459,17 @@ module.exports = require("element-ui");
|
|
|
3448
3459
|
|
|
3449
3460
|
module.exports = require("element-resize-detector");
|
|
3450
3461
|
|
|
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
|
+
|
|
3451
3473
|
/***/ }),
|
|
3452
3474
|
|
|
3453
3475
|
/***/ "60bb":
|
|
@@ -3840,6 +3862,13 @@ const {
|
|
|
3840
3862
|
|
|
3841
3863
|
/***/ }),
|
|
3842
3864
|
|
|
3865
|
+
/***/ "67de":
|
|
3866
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3867
|
+
|
|
3868
|
+
// extracted by mini-css-extract-plugin
|
|
3869
|
+
|
|
3870
|
+
/***/ }),
|
|
3871
|
+
|
|
3843
3872
|
/***/ "68cf":
|
|
3844
3873
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3845
3874
|
|
|
@@ -4257,13 +4286,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4257
4286
|
|
|
4258
4287
|
/***/ }),
|
|
4259
4288
|
|
|
4260
|
-
/***/ "7c6e":
|
|
4261
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4262
|
-
|
|
4263
|
-
// extracted by mini-css-extract-plugin
|
|
4264
|
-
|
|
4265
|
-
/***/ }),
|
|
4266
|
-
|
|
4267
4289
|
/***/ "7d0a":
|
|
4268
4290
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4269
4291
|
|
|
@@ -4291,17 +4313,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4291
4313
|
|
|
4292
4314
|
// extracted by mini-css-extract-plugin
|
|
4293
4315
|
|
|
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
|
-
|
|
4305
4316
|
/***/ }),
|
|
4306
4317
|
|
|
4307
4318
|
/***/ "81f7":
|
|
@@ -4751,14 +4762,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
4751
4762
|
/***/ "9224":
|
|
4752
4763
|
/***/ (function(module) {
|
|
4753
4764
|
|
|
4754
|
-
module.exports = JSON.parse("{\"a\":\"1.0.
|
|
4755
|
-
|
|
4756
|
-
/***/ }),
|
|
4757
|
-
|
|
4758
|
-
/***/ "923d":
|
|
4759
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4760
|
-
|
|
4761
|
-
// extracted by mini-css-extract-plugin
|
|
4765
|
+
module.exports = JSON.parse("{\"a\":\"1.0.2\"}");
|
|
4762
4766
|
|
|
4763
4767
|
/***/ }),
|
|
4764
4768
|
|
|
@@ -4874,6 +4878,17 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHoAAABMCAYAAACi
|
|
|
4874
4878
|
/* unused harmony reexport * */
|
|
4875
4879
|
|
|
4876
4880
|
|
|
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
|
+
|
|
4877
4892
|
/***/ }),
|
|
4878
4893
|
|
|
4879
4894
|
/***/ "a6f4":
|
|
@@ -4894,7 +4909,7 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHoAAABMCAYAAACi
|
|
|
4894
4909
|
|
|
4895
4910
|
/***/ }),
|
|
4896
4911
|
|
|
4897
|
-
/***/ "
|
|
4912
|
+
/***/ "a7e3":
|
|
4898
4913
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4899
4914
|
|
|
4900
4915
|
// extracted by mini-css-extract-plugin
|
|
@@ -6456,17 +6471,6 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
|
|
|
6456
6471
|
|
|
6457
6472
|
// extracted by mini-css-extract-plugin
|
|
6458
6473
|
|
|
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
|
-
|
|
6470
6474
|
/***/ }),
|
|
6471
6475
|
|
|
6472
6476
|
/***/ "c0a9":
|
|
@@ -6590,6 +6594,13 @@ module.exports = require("jquery");
|
|
|
6590
6594
|
/* unused harmony reexport * */
|
|
6591
6595
|
|
|
6592
6596
|
|
|
6597
|
+
/***/ }),
|
|
6598
|
+
|
|
6599
|
+
/***/ "c82d":
|
|
6600
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
6601
|
+
|
|
6602
|
+
// extracted by mini-css-extract-plugin
|
|
6603
|
+
|
|
6593
6604
|
/***/ }),
|
|
6594
6605
|
|
|
6595
6606
|
/***/ "c8ba":
|
|
@@ -7182,17 +7193,6 @@ module.exports = require("deepmerge");
|
|
|
7182
7193
|
/* unused harmony reexport * */
|
|
7183
7194
|
|
|
7184
7195
|
|
|
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=20c83109&scoped=true&
|
|
23542
|
+
var mainvue_type_template_id_20c83109_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"inputs"},[_c('el-tooltip',{attrs:{"placement":_vm.tooltipplacement || _vm.defualtTooltipplacement,"disabled":_vm.inputWriteable && !_vm.errors.has('custom-form.' + _vm.inputName)}},[_c('div',{attrs:{"slot":"content"},slot:"content"},[_vm._v(_vm._s(_vm.errors.first('custom-form.' + _vm.inputName)))]),(_vm.inputWriteable)?_c('div',{staticClass:"el-select",class:{ 'has-value': _vm.value },staticStyle:{"width":"100%"}},[_c('div',{ref:"tagSpans",staticClass:"el-select__tags",style:({ width: 'calc(100% - 10px - ' + _vm.inputSuffixWidth + 'px)' }),on:{"click":_vm.showEditInput}},[_c('span',{staticClass:"tag-wrap"},_vm._l((_vm.inputVal),function(item,index){return _c('span',{key:item.value,staticClass:"el-tag el-tag--info el-tag--small",on:{"click":function($event){$event.stopPropagation();return _vm.jumpUrl(item)}}},[_c('span',{staticClass:"el-select__tags-text",class:{ 'src-color': _vm.isSrcColor }},[_vm._v("\n "+_vm._s(item.value)+"\n ")]),_c('i',{staticClass:"el-tag__close el-icon-close",on:{"click":function($event){$event.stopPropagation();return _vm.removeSelectOrg(index)}}})])}),0)]),_c('div',{staticClass:"el-input el-input--suffix"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.inputVal),expression:"inputVal"},{name:"validate",rawName:"v-validate",value:(_vm.inputValidate),expression:"inputValidate"}],staticClass:"el-input__inner",style:({ height: _vm.inputSuffixHeight + 'px' }),attrs:{"type":"text","readonly":"readonly","name":_vm.inputName,"autocomplete":"off","placeholder":_vm.placeholder},domProps:{"value":(_vm.inputVal)},on:{"click":_vm.showEditInput,"input":function($event){if($event.target.composing){ return; }_vm.inputVal=$event.target.value}}}),(_vm.isAllowCustom && _vm.isEditInputShow)?_c('el-input',{ref:"editInputRef",staticClass:"edit-input",style:({
|
|
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_37fe7c68_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();}}},[_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
|
|
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();return _vm.jumpUrl(item)}}},[_c('span',{staticClass:"el-select__tags-text",class:{ 'src-color': _vm.isSrcColor }},[_vm._v("\n "+_vm._s(item.value)+"\n ")])])}),0):_vm._e(),(_vm.isMobile)?_c('custom-mobile-dialog',{ref:"customMobileDialogRef",attrs:{"model-name":_vm.modelName,"custdialog":_vm.custdialog,"sub-index":_vm.subIndex,"sun-index":_vm.sunIndex,"sub-path":_vm.subPath,"current-sub-data":_vm.currentSubData,"dialog-config":_vm.dialogConfig},on:{"calacInputSuffixHeight":_vm.calacInputSuffixHeight,"updateInput":_vm.updateInput}}):_c('custom-dialog',{ref:"customDialogRef",attrs:{"model-name":_vm.modelName,"custdialog":_vm.custdialog,"sub-index":_vm.subIndex,"sun-index":_vm.sunIndex,"sub-path":_vm.subPath,"current-sub-data":_vm.currentSubData,"is-read-only":!_vm.inputWriteable,"dialog-config":_vm.dialogConfig},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_20c83109_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=20c83109&scoped=true&
|
|
23556
23556
|
|
|
23557
23557
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.js
|
|
23558
23558
|
|
|
@@ -23674,8 +23674,8 @@ var mainvue_type_template_id_37fe7c68_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=4d56e14d&scoped=true&
|
|
23678
|
+
var customDialogvue_type_template_id_4d56e14d_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_e7412952_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_4d56e14d_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=4d56e14d&scoped=true&
|
|
23690
23690
|
|
|
23691
23691
|
// EXTERNAL MODULE: external "jquery"
|
|
23692
23692
|
var external_jquery_ = __webpack_require__("c5e1");
|
|
@@ -24022,7 +24022,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24022
24022
|
isReadOnly: {
|
|
24023
24023
|
type: Boolean,
|
|
24024
24024
|
default: false
|
|
24025
|
-
}
|
|
24025
|
+
},
|
|
24026
|
+
dialogConfig: Object
|
|
24026
24027
|
},
|
|
24027
24028
|
data() {
|
|
24028
24029
|
return {
|
|
@@ -24106,6 +24107,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24106
24107
|
return [this.props1[0][this.nodeKey]];
|
|
24107
24108
|
}
|
|
24108
24109
|
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);
|
|
24109
24117
|
}
|
|
24110
24118
|
},
|
|
24111
24119
|
watch: {
|
|
@@ -24144,129 +24152,138 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24144
24152
|
methods: {
|
|
24145
24153
|
showDialog() {
|
|
24146
24154
|
let isMounted = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
24147
|
-
const this_ = this;
|
|
24148
24155
|
this.fixedParams = {};
|
|
24156
|
+
// 如果已存在配置信息就不去请求配置信息 直接初始化数据
|
|
24157
|
+
if (this.dialogConfig) {
|
|
24158
|
+
this.initDialog(this.dialogConfig, isMounted);
|
|
24159
|
+
return;
|
|
24160
|
+
}
|
|
24149
24161
|
var alias = this.custdialog.custDialog.alias;
|
|
24150
24162
|
this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
|
|
24151
|
-
|
|
24152
|
-
|
|
24153
|
-
|
|
24154
|
-
|
|
24155
|
-
|
|
24156
|
-
|
|
24157
|
-
|
|
24158
|
-
|
|
24159
|
-
|
|
24160
|
-
|
|
24161
|
-
|
|
24162
|
-
|
|
24163
|
-
|
|
24164
|
-
|
|
24165
|
-
|
|
24166
|
-
|
|
24167
|
-
|
|
24168
|
-
|
|
24169
|
-
|
|
24170
|
-
|
|
24171
|
-
|
|
24163
|
+
this.initDialog(customDialog, isMounted);
|
|
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
|
+
};
|
|
24172
24189
|
}
|
|
24173
24190
|
}
|
|
24174
|
-
|
|
24175
|
-
|
|
24176
|
-
|
|
24177
|
-
|
|
24178
|
-
|
|
24179
|
-
|
|
24180
|
-
|
|
24181
|
-
|
|
24182
|
-
|
|
24183
|
-
|
|
24184
|
-
|
|
24185
|
-
|
|
24186
|
-
|
|
24187
|
-
|
|
24188
|
-
|
|
24189
|
-
|
|
24190
|
-
|
|
24191
|
-
|
|
24192
|
-
}
|
|
24193
|
-
}
|
|
24194
|
-
}
|
|
24195
|
-
|
|
24196
|
-
|
|
24197
|
-
|
|
24198
|
-
|
|
24199
|
-
|
|
24200
|
-
|
|
24201
|
-
|
|
24202
|
-
|
|
24203
|
-
|
|
24204
|
-
|
|
24205
|
-
|
|
24206
|
-
|
|
24207
|
-
|
|
24208
|
-
|
|
24209
|
-
|
|
24210
|
-
|
|
24211
|
-
|
|
24212
|
-
|
|
24213
|
-
|
|
24214
|
-
|
|
24215
|
-
}
|
|
24216
|
-
|
|
24217
|
-
|
|
24218
|
-
|
|
24219
|
-
|
|
24220
|
-
|
|
24221
|
-
|
|
24222
|
-
|
|
24223
|
-
|
|
24224
|
-
|
|
24225
|
-
|
|
24226
|
-
|
|
24227
|
-
|
|
24228
|
-
|
|
24229
|
-
|
|
24230
|
-
|
|
24231
|
-
|
|
24232
|
-
|
|
24233
|
-
|
|
24234
|
-
|
|
24235
|
-
customDialog: customDialog
|
|
24236
|
-
}, isMounted);
|
|
24237
|
-
}, 100);
|
|
24238
|
-
} else if (customDialog.style == 1) {
|
|
24239
|
-
//树形
|
|
24240
|
-
this_.pageParam = {
|
|
24191
|
+
}
|
|
24192
|
+
//对话框按表单字段查询(参数传入的)
|
|
24193
|
+
let bindList = this_.custdialog.custDialog.conditions;
|
|
24194
|
+
this_.param = []; //绑定的表单字段
|
|
24195
|
+
if (bindList.length > 0) {
|
|
24196
|
+
bindList.forEach(ele => {
|
|
24197
|
+
//绑定表单字段
|
|
24198
|
+
if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
|
|
24199
|
+
let obj = {};
|
|
24200
|
+
obj.field = ele.field;
|
|
24201
|
+
obj.bind = ele.bind;
|
|
24202
|
+
obj.bindType = ele.bindType;
|
|
24203
|
+
this_.param.push(obj);
|
|
24204
|
+
}
|
|
24205
|
+
//取值对象为脚本时获取value
|
|
24206
|
+
if (ele.bindType === 3) {
|
|
24207
|
+
this_.$requestConfig.executeScript(ele.bind).then(res => {
|
|
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;
|
|
24232
|
+
}
|
|
24233
|
+
});
|
|
24234
|
+
this.$set(this, 'queryParams', queryParams);
|
|
24235
|
+
this.$set(this, 'placeholders', placeholders);
|
|
24236
|
+
}
|
|
24237
|
+
//判断是否显示条件查询输入框
|
|
24238
|
+
if (this_.quickSearch != '') {
|
|
24239
|
+
this_.querysShow = true;
|
|
24240
|
+
} else {
|
|
24241
|
+
this_.querysShow = true;
|
|
24242
|
+
}
|
|
24243
|
+
this_.quickSearch = '请输入' + this.quickSearch + '查询';
|
|
24244
|
+
this_.style = 'height:' + customDialog.height + 'px';
|
|
24245
|
+
if (window.screen.height && window.screen.height <= 900) {
|
|
24246
|
+
this.style = 'height:440px';
|
|
24247
|
+
}
|
|
24248
|
+
if (customDialog.style == 0 || customDialog.style == 2) {
|
|
24249
|
+
//列表
|
|
24250
|
+
setTimeout(() => {
|
|
24251
|
+
this_.customDialogShow({
|
|
24241
24252
|
alias: alias,
|
|
24242
24253
|
customDialog: customDialog
|
|
24243
|
-
};
|
|
24244
|
-
|
|
24245
|
-
|
|
24246
|
-
|
|
24247
|
-
|
|
24248
|
-
|
|
24249
|
-
|
|
24250
|
-
|
|
24251
|
-
|
|
24252
|
-
|
|
24253
|
-
|
|
24254
|
-
|
|
24255
|
-
|
|
24254
|
+
}, isMounted);
|
|
24255
|
+
}, 100);
|
|
24256
|
+
} else if (customDialog.style == 1) {
|
|
24257
|
+
//树形
|
|
24258
|
+
this_.pageParam = {
|
|
24259
|
+
alias: alias,
|
|
24260
|
+
customDialog: customDialog
|
|
24261
|
+
};
|
|
24262
|
+
this_.customDialog = customDialog;
|
|
24263
|
+
let param = {};
|
|
24264
|
+
this_.conditionfieldTree = [];
|
|
24265
|
+
//判断是否存在条件
|
|
24266
|
+
if (customDialog.conditionfield) {
|
|
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;
|
|
24256
24273
|
}
|
|
24257
24274
|
}
|
|
24258
24275
|
}
|
|
24259
|
-
|
|
24260
|
-
|
|
24261
|
-
|
|
24262
|
-
|
|
24263
|
-
|
|
24264
|
-
|
|
24265
|
-
|
|
24266
|
-
|
|
24276
|
+
}
|
|
24277
|
+
//有动态传入的字段
|
|
24278
|
+
if (!isMounted) {
|
|
24279
|
+
if (JSON.stringify(param) != '{}') {
|
|
24280
|
+
this_.dialogVisible = true;
|
|
24281
|
+
} else {
|
|
24282
|
+
//无动态传入的字段
|
|
24283
|
+
this_.customDialogTreeShow(this_.pageParam);
|
|
24267
24284
|
}
|
|
24268
24285
|
}
|
|
24269
|
-
}
|
|
24286
|
+
}
|
|
24270
24287
|
},
|
|
24271
24288
|
initTableHeight() {
|
|
24272
24289
|
this.$nextTick(() => {
|
|
@@ -24395,13 +24412,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24395
24412
|
}
|
|
24396
24413
|
// 添加用户id 岗位id 组织id
|
|
24397
24414
|
try {
|
|
24398
|
-
if (this.$requestConfig.getUserId()) {
|
|
24415
|
+
if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
|
|
24399
24416
|
ctx.userId = this.$requestConfig.getUserId();
|
|
24400
24417
|
}
|
|
24401
|
-
if (this.$requestConfig.getOrgId()) {
|
|
24418
|
+
if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
|
|
24402
24419
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
24403
24420
|
}
|
|
24404
|
-
if (this.$requestConfig.getPostId()) {
|
|
24421
|
+
if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
|
|
24405
24422
|
ctx.postId = this.$requestConfig.getPostId();
|
|
24406
24423
|
}
|
|
24407
24424
|
} catch (e) {
|
|
@@ -24462,6 +24479,7 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24462
24479
|
if (this.customDialog.selectNum === 1) {
|
|
24463
24480
|
nodes = this.propsData[0];
|
|
24464
24481
|
var temp = '';
|
|
24482
|
+
debugger;
|
|
24465
24483
|
for (var j = 0; j < comment.length; j++) {
|
|
24466
24484
|
temp += '"' + comment[j] + '":"' + nodes[field[j]] + '",';
|
|
24467
24485
|
}
|
|
@@ -24484,10 +24502,15 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24484
24502
|
}
|
|
24485
24503
|
const pInst = utils["a" /* default */].getOnlineFormInstance(this);
|
|
24486
24504
|
this.selectOrgs = this.convertComment2Field(str, field);
|
|
24487
|
-
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
24505
|
+
this.custdialog.custDialog.mappingConf.forEach((con, index) => {
|
|
24488
24506
|
var val = '';
|
|
24489
24507
|
str.forEach(item => {
|
|
24490
|
-
|
|
24508
|
+
// 此处添加url跳转参数保存逻辑
|
|
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
|
+
}
|
|
24491
24514
|
});
|
|
24492
24515
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
24493
24516
|
utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
|
|
@@ -24609,13 +24632,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24609
24632
|
queryParamMap.total = pageBean.pageBean.total;
|
|
24610
24633
|
// 添加用户id 岗位id 组织id
|
|
24611
24634
|
try {
|
|
24612
|
-
if (this.$requestConfig.getUserId()) {
|
|
24635
|
+
if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
|
|
24613
24636
|
ctx.userId = this.$requestConfig.getUserId();
|
|
24614
24637
|
}
|
|
24615
|
-
if (this.$requestConfig.getOrgId()) {
|
|
24638
|
+
if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
|
|
24616
24639
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
24617
24640
|
}
|
|
24618
|
-
if (this.$requestConfig.getPostId()) {
|
|
24641
|
+
if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
|
|
24619
24642
|
ctx.postId = this.$requestConfig.getPostId();
|
|
24620
24643
|
}
|
|
24621
24644
|
} catch (e) {
|
|
@@ -24636,7 +24659,7 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24636
24659
|
value: queryParamMap[bindKey] || ctx[bindKey] || ''
|
|
24637
24660
|
};
|
|
24638
24661
|
});
|
|
24639
|
-
param.querys = queryList;
|
|
24662
|
+
param.querys = queryList || [];
|
|
24640
24663
|
if (this.customDialog.needPage) {
|
|
24641
24664
|
param.pageBean = obj;
|
|
24642
24665
|
} else {
|
|
@@ -24903,6 +24926,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24903
24926
|
},
|
|
24904
24927
|
// 同步选择结果
|
|
24905
24928
|
syncInputValue() {
|
|
24929
|
+
// 对话框跳转url需要两个参数 1当前控件绑定的对象参数modelName 2对话框配置中配置的key名称
|
|
24930
|
+
// 同步值时,如果有绑定url跳转参数,值格式为 名称¯跳转key:跳转value
|
|
24906
24931
|
let thisIndex = null; //当前数据所在下标
|
|
24907
24932
|
let parentIndex = null; //父节点所在下标
|
|
24908
24933
|
if (this.$parent.$el) {
|
|
@@ -24981,8 +25006,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24981
25006
|
var val = '';
|
|
24982
25007
|
var from = con.from.toLowerCase();
|
|
24983
25008
|
str.forEach(item => {
|
|
25009
|
+
// 如果有绑定url跳转参数 需获取跳转参数的key
|
|
24984
25010
|
if (item) {
|
|
24985
|
-
|
|
25011
|
+
if (this.jumpParamKey && this.isHaveJumpUrl && this.modelName == 'data.' + con['target'][0]) {
|
|
25012
|
+
val += `${decodeURIComponent(item[from])}¯${this.jumpParamKey}:${item[this.jumpParamKey]},`;
|
|
25013
|
+
} else {
|
|
25014
|
+
val += decodeURIComponent(item[from]) + ',';
|
|
25015
|
+
}
|
|
24986
25016
|
}
|
|
24987
25017
|
});
|
|
24988
25018
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
@@ -25233,8 +25263,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25233
25263
|
});
|
|
25234
25264
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=script&lang=js&
|
|
25235
25265
|
/* harmony default export */ var src_customDialogvue_type_script_lang_js_ = (customDialogvue_type_script_lang_js_);
|
|
25236
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=
|
|
25237
|
-
var
|
|
25266
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=4d56e14d&prod&lang=scss&scoped=true&
|
|
25267
|
+
var customDialogvue_type_style_index_0_id_4d56e14d_prod_lang_scss_scoped_true_ = __webpack_require__("5fdd");
|
|
25238
25268
|
|
|
25239
25269
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue
|
|
25240
25270
|
|
|
@@ -25247,18 +25277,18 @@ var customDialogvue_type_style_index_0_id_e7412952_prod_lang_scss_scoped_true_ =
|
|
|
25247
25277
|
|
|
25248
25278
|
var customDialog_component = normalizeComponent(
|
|
25249
25279
|
src_customDialogvue_type_script_lang_js_,
|
|
25250
|
-
|
|
25251
|
-
|
|
25280
|
+
customDialogvue_type_template_id_4d56e14d_scoped_true_render,
|
|
25281
|
+
customDialogvue_type_template_id_4d56e14d_scoped_true_staticRenderFns,
|
|
25252
25282
|
false,
|
|
25253
25283
|
null,
|
|
25254
|
-
"
|
|
25284
|
+
"4d56e14d",
|
|
25255
25285
|
null
|
|
25256
25286
|
|
|
25257
25287
|
)
|
|
25258
25288
|
|
|
25259
25289
|
/* harmony default export */ var CustomDialog_src_customDialog = (customDialog_component.exports);
|
|
25260
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=
|
|
25261
|
-
var
|
|
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=0c95bb92&scoped=true&
|
|
25291
|
+
var customMobileDialogvue_type_template_id_0c95bb92_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":{
|
|
25262
25292
|
alias: condition.config.customQuery.alias,
|
|
25263
25293
|
valueBind: condition.config.customQuery.valueBind,
|
|
25264
25294
|
noInit: '',
|
|
@@ -25268,10 +25298,10 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_render = functio
|
|
|
25268
25298
|
},"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(
|
|
25269
25299
|
function (k) { return k.defaultType == '4'; }
|
|
25270
25300
|
)),function(item,$index){return _c('div',{key:$index},[(item.type != 'date')?_c('van-field',{attrs:{"label":item.comment,"placeholder":'请输入' + item.comment},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e(),(item.type == 'date')?_c('ht-date',{staticStyle:{"width":"100%"},attrs:{"placeholder":'请选择' + item.comment,"format":"yyyy-MM-dd"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e()],1)}),0)],1),_c('van-action-sheet',{staticClass:"mobile-van-action",attrs:{"cancel-text":_vm.sureButtonText,"get-container":"body"},on:{"cancel":_vm.dialogTreeConfirm},scopedSlots:_vm._u([{key:"description",fn:function(){return [_c('span',{staticClass:"dialog-mobile__title"},[_vm._v(_vm._s(_vm.customDialog.name))]),_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":_vm.dialogCancelTree}})]},proxy:true}]),model:{value:(_vm.customDialogShowTree),callback:function ($$v) {_vm.customDialogShowTree=$$v},expression:"customDialogShowTree"}},[_c('el-tree',{ref:"tree",staticStyle:{"width":"100%"},attrs:{"data":_vm.props1,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","show-checkbox":_vm.customDialog.selectNum === -1,"check-on-click-node":true,"check-strictly":false,"lazy":"","load":_vm.loadTree,"default-expanded-keys":_vm.defaultExpandedKeys},on:{"node-click":_vm.treeClick,"check-change":_vm.getChecked}})],1)],1)}
|
|
25271
|
-
var
|
|
25301
|
+
var customMobileDialogvue_type_template_id_0c95bb92_scoped_true_staticRenderFns = []
|
|
25272
25302
|
|
|
25273
25303
|
|
|
25274
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=
|
|
25304
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=0c95bb92&scoped=true&
|
|
25275
25305
|
|
|
25276
25306
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/customMobileDialog.vue?vue&type=script&lang=js&
|
|
25277
25307
|
//
|
|
@@ -25553,7 +25583,8 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25553
25583
|
subIndex: Number,
|
|
25554
25584
|
sunIndex: Number,
|
|
25555
25585
|
subPath: String,
|
|
25556
|
-
currentSubData: Array
|
|
25586
|
+
currentSubData: Array,
|
|
25587
|
+
dialogConfig: Object
|
|
25557
25588
|
},
|
|
25558
25589
|
data() {
|
|
25559
25590
|
return {
|
|
@@ -25636,6 +25667,13 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25636
25667
|
sureButtonText() {
|
|
25637
25668
|
const selectedText = this.selectIds.length > 0 ? `(${this.selectIds.length})` : '';
|
|
25638
25669
|
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);
|
|
25639
25677
|
}
|
|
25640
25678
|
},
|
|
25641
25679
|
methods: {
|
|
@@ -25684,112 +25722,121 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25684
25722
|
this.search(true);
|
|
25685
25723
|
},
|
|
25686
25724
|
showDialog() {
|
|
25687
|
-
const this_ = this;
|
|
25688
25725
|
this.fixedParams = {};
|
|
25726
|
+
// 如果已存在配置信息就不去请求配置信息 直接初始化数据
|
|
25727
|
+
if (this.dialogConfig) {
|
|
25728
|
+
this.initDialog(this.dialogConfig);
|
|
25729
|
+
return;
|
|
25730
|
+
}
|
|
25689
25731
|
var alias = this.custdialog.custDialog.alias;
|
|
25690
25732
|
this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
|
|
25691
|
-
|
|
25692
|
-
|
|
25693
|
-
|
|
25694
|
-
|
|
25695
|
-
|
|
25696
|
-
|
|
25697
|
-
|
|
25698
|
-
|
|
25699
|
-
|
|
25700
|
-
|
|
25701
|
-
|
|
25702
|
-
|
|
25703
|
-
|
|
25704
|
-
|
|
25705
|
-
|
|
25706
|
-
|
|
25707
|
-
|
|
25708
|
-
|
|
25709
|
-
|
|
25710
|
-
|
|
25711
|
-
|
|
25733
|
+
this.initDialog(customDialog);
|
|
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
|
+
};
|
|
25712
25759
|
}
|
|
25713
25760
|
}
|
|
25714
|
-
|
|
25715
|
-
|
|
25716
|
-
|
|
25717
|
-
|
|
25718
|
-
|
|
25719
|
-
|
|
25720
|
-
|
|
25721
|
-
|
|
25722
|
-
|
|
25723
|
-
|
|
25724
|
-
|
|
25725
|
-
|
|
25726
|
-
|
|
25727
|
-
|
|
25728
|
-
|
|
25729
|
-
|
|
25730
|
-
|
|
25731
|
-
}
|
|
25732
|
-
}
|
|
25761
|
+
}
|
|
25762
|
+
//对话框按表单字段查询(参数传入的)
|
|
25763
|
+
let bindList = this_.custdialog.custDialog.conditions;
|
|
25764
|
+
this_.param = []; //绑定的表单字段
|
|
25765
|
+
if (bindList.length > 0) {
|
|
25766
|
+
bindList.forEach(ele => {
|
|
25767
|
+
//绑定表单字段
|
|
25768
|
+
if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
|
|
25769
|
+
let obj = {};
|
|
25770
|
+
obj.field = ele.field;
|
|
25771
|
+
obj.bind = ele.bind;
|
|
25772
|
+
obj.bindType = ele.bindType;
|
|
25773
|
+
this_.param.push(obj);
|
|
25774
|
+
}
|
|
25775
|
+
// bindType 1 表单字段 2固定 3脚本
|
|
25776
|
+
if (ele.defaultType == '3' && ele.bindType === 2) {
|
|
25777
|
+
this_.fixedParams[ele.field] = ele.bind || '';
|
|
25778
|
+
}
|
|
25779
|
+
});
|
|
25780
|
+
}
|
|
25733
25781
|
|
|
25734
|
-
|
|
25735
|
-
|
|
25736
|
-
|
|
25737
|
-
|
|
25738
|
-
|
|
25739
|
-
|
|
25740
|
-
|
|
25741
|
-
|
|
25742
|
-
|
|
25743
|
-
|
|
25744
|
-
|
|
25745
|
-
|
|
25746
|
-
|
|
25747
|
-
|
|
25748
|
-
|
|
25749
|
-
|
|
25750
|
-
|
|
25751
|
-
|
|
25752
|
-
|
|
25753
|
-
|
|
25754
|
-
|
|
25755
|
-
|
|
25756
|
-
|
|
25757
|
-
|
|
25758
|
-
|
|
25759
|
-
|
|
25760
|
-
|
|
25761
|
-
|
|
25762
|
-
|
|
25763
|
-
|
|
25764
|
-
|
|
25765
|
-
|
|
25766
|
-
|
|
25767
|
-
|
|
25768
|
-
|
|
25769
|
-
|
|
25770
|
-
|
|
25771
|
-
|
|
25772
|
-
|
|
25773
|
-
|
|
25774
|
-
|
|
25775
|
-
|
|
25776
|
-
|
|
25777
|
-
|
|
25778
|
-
|
|
25779
|
-
|
|
25780
|
-
}
|
|
25782
|
+
//判断对话框查询是否有条件
|
|
25783
|
+
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
25784
|
+
this_.conditionBind = [];
|
|
25785
|
+
let queryParams = [];
|
|
25786
|
+
let placeholders = [];
|
|
25787
|
+
if (userInputList.length > 0) {
|
|
25788
|
+
userInputList.forEach(ele => {
|
|
25789
|
+
var obj = {};
|
|
25790
|
+
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
25791
|
+
if (ele.defaultType == '1') {
|
|
25792
|
+
obj[ele.field] = '';
|
|
25793
|
+
queryParams.push(obj);
|
|
25794
|
+
// queryParams[ele.field] = "";
|
|
25795
|
+
this_.conditionBind.push(ele);
|
|
25796
|
+
placeholders.push('请输入' + ele.comment);
|
|
25797
|
+
}
|
|
25798
|
+
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
25799
|
+
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
25800
|
+
}
|
|
25801
|
+
});
|
|
25802
|
+
this.$set(this, 'queryParams', queryParams);
|
|
25803
|
+
this.$set(this, 'placeholders', placeholders);
|
|
25804
|
+
}
|
|
25805
|
+
if (customDialog.style == 0 || customDialog.style == 2) {
|
|
25806
|
+
//列表
|
|
25807
|
+
this_.customDialogShow({
|
|
25808
|
+
alias: alias,
|
|
25809
|
+
customDialog: customDialog
|
|
25810
|
+
});
|
|
25811
|
+
} else if (customDialog.style == 1) {
|
|
25812
|
+
//树形
|
|
25813
|
+
this_.pageParam = {
|
|
25814
|
+
alias: alias,
|
|
25815
|
+
customDialog: customDialog
|
|
25816
|
+
};
|
|
25817
|
+
this_.customDialog = customDialog;
|
|
25818
|
+
let param = {};
|
|
25819
|
+
this_.conditionfieldTree = [];
|
|
25820
|
+
//判断是否存在条件
|
|
25821
|
+
if (customDialog.conditionfield) {
|
|
25822
|
+
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
25823
|
+
if (this_.conditionfieldTree.length > 0) {
|
|
25824
|
+
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
25825
|
+
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
25826
|
+
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
25827
|
+
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
25781
25828
|
}
|
|
25782
25829
|
}
|
|
25783
25830
|
}
|
|
25784
|
-
//有动态传入的字段
|
|
25785
|
-
if (JSON.stringify(param) != '{}') {
|
|
25786
|
-
this_.dialogVisible = true;
|
|
25787
|
-
} else {
|
|
25788
|
-
//无动态传入的字段
|
|
25789
|
-
this_.customDialogTreeShow(this_.pageParam);
|
|
25790
|
-
}
|
|
25791
25831
|
}
|
|
25792
|
-
|
|
25832
|
+
//有动态传入的字段
|
|
25833
|
+
if (JSON.stringify(param) != '{}') {
|
|
25834
|
+
this_.dialogVisible = true;
|
|
25835
|
+
} else {
|
|
25836
|
+
//无动态传入的字段
|
|
25837
|
+
this_.customDialogTreeShow(this_.pageParam);
|
|
25838
|
+
}
|
|
25839
|
+
}
|
|
25793
25840
|
},
|
|
25794
25841
|
treeClick(data) {
|
|
25795
25842
|
// 单选
|
|
@@ -25907,13 +25954,13 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25907
25954
|
}
|
|
25908
25955
|
// 添加用户id 岗位id 组织id
|
|
25909
25956
|
try {
|
|
25910
|
-
if (this.$requestConfig.getUserId()) {
|
|
25957
|
+
if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
|
|
25911
25958
|
ctx.userId = this.$requestConfig.getUserId();
|
|
25912
25959
|
}
|
|
25913
|
-
if (this.$requestConfig.getOrgId()) {
|
|
25960
|
+
if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
|
|
25914
25961
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
25915
25962
|
}
|
|
25916
|
-
if (this.$requestConfig.getPostId()) {
|
|
25963
|
+
if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
|
|
25917
25964
|
ctx.postId = this.$requestConfig.getPostId();
|
|
25918
25965
|
}
|
|
25919
25966
|
} catch (e) {
|
|
@@ -25998,8 +26045,13 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25998
26045
|
this.selectOrgs = this.convertComment2Field(str, field);
|
|
25999
26046
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
26000
26047
|
var val = '';
|
|
26001
|
-
str.forEach(item => {
|
|
26002
|
-
|
|
26048
|
+
str.forEach((item, index) => {
|
|
26049
|
+
// 此处添加url跳转参数保存逻辑
|
|
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
|
+
}
|
|
26003
26055
|
});
|
|
26004
26056
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
26005
26057
|
utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
|
|
@@ -26120,13 +26172,13 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26120
26172
|
ctx.total = pageBean.pageBean.total;
|
|
26121
26173
|
// 添加用户id 岗位id 组织id
|
|
26122
26174
|
try {
|
|
26123
|
-
if (this.$requestConfig.getUserId()) {
|
|
26175
|
+
if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
|
|
26124
26176
|
ctx.userId = this.$requestConfig.getUserId();
|
|
26125
26177
|
}
|
|
26126
|
-
if (this.$requestConfig.getOrgId()) {
|
|
26178
|
+
if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
|
|
26127
26179
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
26128
26180
|
}
|
|
26129
|
-
if (this.$requestConfig.getPostId()) {
|
|
26181
|
+
if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
|
|
26130
26182
|
ctx.postId = this.$requestConfig.getPostId();
|
|
26131
26183
|
}
|
|
26132
26184
|
} catch (e) {
|
|
@@ -26393,7 +26445,11 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26393
26445
|
var from = con.from.toLowerCase();
|
|
26394
26446
|
str.forEach(item => {
|
|
26395
26447
|
if (item) {
|
|
26396
|
-
|
|
26448
|
+
if (this.jumpParamKey && this.isHaveJumpUrl && this.modelName == 'data.' + con['target'][0]) {
|
|
26449
|
+
val += `${decodeURIComponent(item[from])}¯${this.jumpParamKey}:${item[this.jumpParamKey]},`;
|
|
26450
|
+
} else {
|
|
26451
|
+
val += decodeURIComponent(item[from]) + ',';
|
|
26452
|
+
}
|
|
26397
26453
|
}
|
|
26398
26454
|
});
|
|
26399
26455
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
@@ -26645,11 +26701,11 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26645
26701
|
});
|
|
26646
26702
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=script&lang=js&
|
|
26647
26703
|
/* harmony default export */ var src_customMobileDialogvue_type_script_lang_js_ = (customMobileDialogvue_type_script_lang_js_);
|
|
26648
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=
|
|
26649
|
-
var
|
|
26704
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=0c95bb92&prod&lang=scss&scoped=true&
|
|
26705
|
+
var customMobileDialogvue_type_style_index_0_id_0c95bb92_prod_lang_scss_scoped_true_ = __webpack_require__("2f41");
|
|
26650
26706
|
|
|
26651
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=
|
|
26652
|
-
var
|
|
26707
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=0c95bb92&prod&lang=scss&
|
|
26708
|
+
var customMobileDialogvue_type_style_index_1_id_0c95bb92_prod_lang_scss_ = __webpack_require__("4dad");
|
|
26653
26709
|
|
|
26654
26710
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue
|
|
26655
26711
|
|
|
@@ -26663,11 +26719,11 @@ var customMobileDialogvue_type_style_index_1_id_1661eebb_prod_lang_scss_ = __web
|
|
|
26663
26719
|
|
|
26664
26720
|
var customMobileDialog_component = normalizeComponent(
|
|
26665
26721
|
src_customMobileDialogvue_type_script_lang_js_,
|
|
26666
|
-
|
|
26667
|
-
|
|
26722
|
+
customMobileDialogvue_type_template_id_0c95bb92_scoped_true_render,
|
|
26723
|
+
customMobileDialogvue_type_template_id_0c95bb92_scoped_true_staticRenderFns,
|
|
26668
26724
|
false,
|
|
26669
26725
|
null,
|
|
26670
|
-
"
|
|
26726
|
+
"0c95bb92",
|
|
26671
26727
|
null
|
|
26672
26728
|
|
|
26673
26729
|
)
|
|
@@ -26807,6 +26863,15 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26807
26863
|
//
|
|
26808
26864
|
//
|
|
26809
26865
|
//
|
|
26866
|
+
//
|
|
26867
|
+
//
|
|
26868
|
+
//
|
|
26869
|
+
//
|
|
26870
|
+
//
|
|
26871
|
+
//
|
|
26872
|
+
//
|
|
26873
|
+
//
|
|
26874
|
+
//
|
|
26810
26875
|
|
|
26811
26876
|
|
|
26812
26877
|
|
|
@@ -26842,6 +26907,8 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26842
26907
|
},
|
|
26843
26908
|
data() {
|
|
26844
26909
|
return {
|
|
26910
|
+
dialogConfig: null,
|
|
26911
|
+
// 对话框配置信息
|
|
26845
26912
|
isEditInputShow: false,
|
|
26846
26913
|
customValue: '',
|
|
26847
26914
|
defualtTooltipplacement: 'bottom',
|
|
@@ -26890,9 +26957,21 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26890
26957
|
}
|
|
26891
26958
|
let result = [];
|
|
26892
26959
|
nameAry.forEach(m => {
|
|
26893
|
-
|
|
26894
|
-
|
|
26895
|
-
|
|
26960
|
+
// 带url跳转参数的 使用上横杆区分参数 值格式为 名称¯跳转key:跳转value
|
|
26961
|
+
let n = {};
|
|
26962
|
+
if (m.includes('¯') && m.split('¯')[1]) {
|
|
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
|
+
}
|
|
26896
26975
|
result.push(n);
|
|
26897
26976
|
});
|
|
26898
26977
|
return result;
|
|
@@ -26900,8 +26979,16 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26900
26979
|
},
|
|
26901
26980
|
isAllowCustom() {
|
|
26902
26981
|
return this.custdialog && this.custdialog.allowInput;
|
|
26982
|
+
},
|
|
26983
|
+
// 是否展示可跳转颜色
|
|
26984
|
+
isSrcColor() {
|
|
26985
|
+
return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
26903
26986
|
}
|
|
26904
26987
|
},
|
|
26988
|
+
created() {
|
|
26989
|
+
// 获取对话框配置,看是否有配置url跳转
|
|
26990
|
+
this.getDialogConfig();
|
|
26991
|
+
},
|
|
26905
26992
|
mounted() {
|
|
26906
26993
|
const {
|
|
26907
26994
|
subScopeEl
|
|
@@ -26920,6 +27007,60 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26920
27007
|
this.calacInputSuffixWidth();
|
|
26921
27008
|
},
|
|
26922
27009
|
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
|
+
},
|
|
26923
27064
|
editInputBlur() {
|
|
26924
27065
|
this.$emit('input', this.customValue);
|
|
26925
27066
|
this.isEditInputShow = false;
|
|
@@ -26994,8 +27135,8 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26994
27135
|
});
|
|
26995
27136
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=script&lang=js&
|
|
26996
27137
|
/* harmony default export */ var packages_CustomDialog_src_mainvue_type_script_lang_js_ = (CustomDialog_src_mainvue_type_script_lang_js_);
|
|
26997
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=
|
|
26998
|
-
var
|
|
27138
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=20c83109&prod&lang=scss&scoped=true&
|
|
27139
|
+
var mainvue_type_style_index_0_id_20c83109_prod_lang_scss_scoped_true_ = __webpack_require__("a59b");
|
|
26999
27140
|
|
|
27000
27141
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue
|
|
27001
27142
|
|
|
@@ -27008,11 +27149,11 @@ var mainvue_type_style_index_0_id_37fe7c68_prod_lang_scss_scoped_true_ = __webpa
|
|
|
27008
27149
|
|
|
27009
27150
|
var CustomDialog_src_main_component = normalizeComponent(
|
|
27010
27151
|
packages_CustomDialog_src_mainvue_type_script_lang_js_,
|
|
27011
|
-
|
|
27012
|
-
|
|
27152
|
+
mainvue_type_template_id_20c83109_scoped_true_render,
|
|
27153
|
+
mainvue_type_template_id_20c83109_scoped_true_staticRenderFns,
|
|
27013
27154
|
false,
|
|
27014
27155
|
null,
|
|
27015
|
-
"
|
|
27156
|
+
"20c83109",
|
|
27016
27157
|
null
|
|
27017
27158
|
|
|
27018
27159
|
)
|