three-trees-ui 1.0.17 → 1.0.18
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 +1054 -422
- package/lib/three-trees-ui.css +1 -1
- package/lib/three-trees-ui.umd.js +1054 -422
- package/lib/three-trees-ui.umd.min.js +1 -1
- package/package.json +1 -1
- package/packages/CustomDialog/src/customDialog.vue +488 -165
- package/packages/CustomDialog/src/customMobileDialog.vue +466 -155
- package/packages/CustomDialog/src/main.vue +203 -11
- package/packages/DimensionSelector/src/main.vue +2 -0
- package/packages/Global/src/GlobalQuery.vue +0 -1
- package/packages/Tree/src/main.vue +7 -2
|
@@ -1666,24 +1666,28 @@ const btnList = [{
|
|
|
1666
1666
|
|
|
1667
1667
|
/***/ }),
|
|
1668
1668
|
|
|
1669
|
-
/***/ "
|
|
1669
|
+
/***/ "0edb":
|
|
1670
1670
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1671
1671
|
|
|
1672
1672
|
// extracted by mini-css-extract-plugin
|
|
1673
1673
|
|
|
1674
1674
|
/***/ }),
|
|
1675
1675
|
|
|
1676
|
-
/***/ "
|
|
1676
|
+
/***/ "0f2d":
|
|
1677
1677
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1678
1678
|
|
|
1679
1679
|
// extracted by mini-css-extract-plugin
|
|
1680
1680
|
|
|
1681
1681
|
/***/ }),
|
|
1682
1682
|
|
|
1683
|
-
/***/ "
|
|
1684
|
-
/***/ (function(module,
|
|
1683
|
+
/***/ "12ce":
|
|
1684
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1685
|
+
|
|
1686
|
+
"use strict";
|
|
1687
|
+
/* 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_117acabc_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("78e9");
|
|
1688
|
+
/* 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_117acabc_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_117acabc_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
1689
|
+
/* unused harmony reexport * */
|
|
1685
1690
|
|
|
1686
|
-
// extracted by mini-css-extract-plugin
|
|
1687
1691
|
|
|
1688
1692
|
/***/ }),
|
|
1689
1693
|
|
|
@@ -1898,13 +1902,6 @@ const SubPagination = {
|
|
|
1898
1902
|
/* unused harmony reexport * */
|
|
1899
1903
|
|
|
1900
1904
|
|
|
1901
|
-
/***/ }),
|
|
1902
|
-
|
|
1903
|
-
/***/ "1ccc":
|
|
1904
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1905
|
-
|
|
1906
|
-
// extracted by mini-css-extract-plugin
|
|
1907
|
-
|
|
1908
1905
|
/***/ }),
|
|
1909
1906
|
|
|
1910
1907
|
/***/ "200a":
|
|
@@ -2068,13 +2065,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__289a__;
|
|
|
2068
2065
|
|
|
2069
2066
|
/***/ }),
|
|
2070
2067
|
|
|
2071
|
-
/***/ "333d":
|
|
2072
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2073
|
-
|
|
2074
|
-
// extracted by mini-css-extract-plugin
|
|
2075
|
-
|
|
2076
|
-
/***/ }),
|
|
2077
|
-
|
|
2078
2068
|
/***/ "33ce":
|
|
2079
2069
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2080
2070
|
|
|
@@ -2805,6 +2795,17 @@ Formulas.install = Vue => {
|
|
|
2805
2795
|
/* unused harmony reexport * */
|
|
2806
2796
|
|
|
2807
2797
|
|
|
2798
|
+
/***/ }),
|
|
2799
|
+
|
|
2800
|
+
/***/ "3a4c":
|
|
2801
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2802
|
+
|
|
2803
|
+
"use strict";
|
|
2804
|
+
/* 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_edd3e5bc_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("faf3");
|
|
2805
|
+
/* 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_edd3e5bc_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_edd3e5bc_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
2806
|
+
/* unused harmony reexport * */
|
|
2807
|
+
|
|
2808
|
+
|
|
2808
2809
|
/***/ }),
|
|
2809
2810
|
|
|
2810
2811
|
/***/ "3b03":
|
|
@@ -2859,17 +2860,6 @@ Formulas.install = Vue => {
|
|
|
2859
2860
|
/* unused harmony reexport * */
|
|
2860
2861
|
|
|
2861
2862
|
|
|
2862
|
-
/***/ }),
|
|
2863
|
-
|
|
2864
|
-
/***/ "48f7":
|
|
2865
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2866
|
-
|
|
2867
|
-
"use strict";
|
|
2868
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_5731e345_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1ccc");
|
|
2869
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_5731e345_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_5731e345_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
2870
|
-
/* unused harmony reexport * */
|
|
2871
|
-
|
|
2872
|
-
|
|
2873
2863
|
/***/ }),
|
|
2874
2864
|
|
|
2875
2865
|
/***/ "4919":
|
|
@@ -2902,17 +2892,6 @@ Formulas.install = Vue => {
|
|
|
2902
2892
|
|
|
2903
2893
|
// extracted by mini-css-extract-plugin
|
|
2904
2894
|
|
|
2905
|
-
/***/ }),
|
|
2906
|
-
|
|
2907
|
-
/***/ "49f9":
|
|
2908
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2909
|
-
|
|
2910
|
-
"use strict";
|
|
2911
|
-
/* 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");
|
|
2912
|
-
/* 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__);
|
|
2913
|
-
/* unused harmony reexport * */
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
2895
|
/***/ }),
|
|
2917
2896
|
|
|
2918
2897
|
/***/ "4b7c":
|
|
@@ -2942,6 +2921,13 @@ Formulas.install = Vue => {
|
|
|
2942
2921
|
/* unused harmony reexport * */
|
|
2943
2922
|
|
|
2944
2923
|
|
|
2924
|
+
/***/ }),
|
|
2925
|
+
|
|
2926
|
+
/***/ "4f44":
|
|
2927
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2928
|
+
|
|
2929
|
+
// extracted by mini-css-extract-plugin
|
|
2930
|
+
|
|
2945
2931
|
/***/ }),
|
|
2946
2932
|
|
|
2947
2933
|
/***/ "503b":
|
|
@@ -3044,6 +3030,13 @@ exports.clearImmediate = (typeof self !== "undefined" && self.clearImmediate) ||
|
|
|
3044
3030
|
|
|
3045
3031
|
/***/ }),
|
|
3046
3032
|
|
|
3033
|
+
/***/ "569e":
|
|
3034
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3035
|
+
|
|
3036
|
+
// extracted by mini-css-extract-plugin
|
|
3037
|
+
|
|
3038
|
+
/***/ }),
|
|
3039
|
+
|
|
3047
3040
|
/***/ "5877":
|
|
3048
3041
|
/***/ (function(module, exports) {
|
|
3049
3042
|
|
|
@@ -3683,6 +3676,17 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__60bb__;
|
|
|
3683
3676
|
}
|
|
3684
3677
|
});
|
|
3685
3678
|
|
|
3679
|
+
/***/ }),
|
|
3680
|
+
|
|
3681
|
+
/***/ "64374":
|
|
3682
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3683
|
+
|
|
3684
|
+
"use strict";
|
|
3685
|
+
/* 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_9d63590a_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("4f44");
|
|
3686
|
+
/* 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_9d63590a_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_9d63590a_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
3687
|
+
/* unused harmony reexport * */
|
|
3688
|
+
|
|
3689
|
+
|
|
3686
3690
|
/***/ }),
|
|
3687
3691
|
|
|
3688
3692
|
/***/ "64ca":
|
|
@@ -4134,6 +4138,13 @@ const dict = {
|
|
|
4134
4138
|
|
|
4135
4139
|
/***/ }),
|
|
4136
4140
|
|
|
4141
|
+
/***/ "6ebe":
|
|
4142
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4143
|
+
|
|
4144
|
+
// extracted by mini-css-extract-plugin
|
|
4145
|
+
|
|
4146
|
+
/***/ }),
|
|
4147
|
+
|
|
4137
4148
|
/***/ "6f28":
|
|
4138
4149
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4139
4150
|
|
|
@@ -4200,6 +4211,13 @@ const dict = {
|
|
|
4200
4211
|
/* unused harmony reexport * */
|
|
4201
4212
|
|
|
4202
4213
|
|
|
4214
|
+
/***/ }),
|
|
4215
|
+
|
|
4216
|
+
/***/ "741c":
|
|
4217
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4218
|
+
|
|
4219
|
+
// extracted by mini-css-extract-plugin
|
|
4220
|
+
|
|
4203
4221
|
/***/ }),
|
|
4204
4222
|
|
|
4205
4223
|
/***/ "768a":
|
|
@@ -4223,6 +4241,13 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4223
4241
|
|
|
4224
4242
|
/***/ }),
|
|
4225
4243
|
|
|
4244
|
+
/***/ "78e9":
|
|
4245
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4246
|
+
|
|
4247
|
+
// extracted by mini-css-extract-plugin
|
|
4248
|
+
|
|
4249
|
+
/***/ }),
|
|
4250
|
+
|
|
4226
4251
|
/***/ "7b0c":
|
|
4227
4252
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4228
4253
|
|
|
@@ -4241,13 +4266,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4241
4266
|
|
|
4242
4267
|
/***/ }),
|
|
4243
4268
|
|
|
4244
|
-
/***/ "7c6e":
|
|
4245
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4246
|
-
|
|
4247
|
-
// extracted by mini-css-extract-plugin
|
|
4248
|
-
|
|
4249
|
-
/***/ }),
|
|
4250
|
-
|
|
4251
4269
|
/***/ "7d0a":
|
|
4252
4270
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4253
4271
|
|
|
@@ -4275,17 +4293,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4275
4293
|
|
|
4276
4294
|
// extracted by mini-css-extract-plugin
|
|
4277
4295
|
|
|
4278
|
-
/***/ }),
|
|
4279
|
-
|
|
4280
|
-
/***/ "7ff9":
|
|
4281
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4282
|
-
|
|
4283
|
-
"use strict";
|
|
4284
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customDialog_vue_vue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("333d");
|
|
4285
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customDialog_vue_vue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customDialog_vue_vue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
4286
|
-
/* unused harmony reexport * */
|
|
4287
|
-
|
|
4288
|
-
|
|
4289
4296
|
/***/ }),
|
|
4290
4297
|
|
|
4291
4298
|
/***/ "8262":
|
|
@@ -4340,6 +4347,17 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4340
4347
|
|
|
4341
4348
|
// extracted by mini-css-extract-plugin
|
|
4342
4349
|
|
|
4350
|
+
/***/ }),
|
|
4351
|
+
|
|
4352
|
+
/***/ "87f5":
|
|
4353
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4354
|
+
|
|
4355
|
+
"use strict";
|
|
4356
|
+
/* 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_edd3e5bc_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("741c");
|
|
4357
|
+
/* 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_edd3e5bc_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_edd3e5bc_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
4358
|
+
/* unused harmony reexport * */
|
|
4359
|
+
|
|
4360
|
+
|
|
4343
4361
|
/***/ }),
|
|
4344
4362
|
|
|
4345
4363
|
/***/ "889a":
|
|
@@ -4721,14 +4739,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
4721
4739
|
/***/ "9224":
|
|
4722
4740
|
/***/ (function(module) {
|
|
4723
4741
|
|
|
4724
|
-
module.exports = JSON.parse("{\"a\":\"1.0.
|
|
4725
|
-
|
|
4726
|
-
/***/ }),
|
|
4727
|
-
|
|
4728
|
-
/***/ "923d":
|
|
4729
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4730
|
-
|
|
4731
|
-
// extracted by mini-css-extract-plugin
|
|
4742
|
+
module.exports = JSON.parse("{\"a\":\"1.0.18\"}");
|
|
4732
4743
|
|
|
4733
4744
|
/***/ }),
|
|
4734
4745
|
|
|
@@ -4853,13 +4864,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHoAAABMCAYAAACi
|
|
|
4853
4864
|
|
|
4854
4865
|
/***/ }),
|
|
4855
4866
|
|
|
4856
|
-
/***/ "a707":
|
|
4857
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4858
|
-
|
|
4859
|
-
// extracted by mini-css-extract-plugin
|
|
4860
|
-
|
|
4861
|
-
/***/ }),
|
|
4862
|
-
|
|
4863
4867
|
/***/ "a751":
|
|
4864
4868
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4865
4869
|
|
|
@@ -6437,17 +6441,6 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
|
|
|
6437
6441
|
|
|
6438
6442
|
// extracted by mini-css-extract-plugin
|
|
6439
6443
|
|
|
6440
|
-
/***/ }),
|
|
6441
|
-
|
|
6442
|
-
/***/ "be12":
|
|
6443
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6444
|
-
|
|
6445
|
-
"use strict";
|
|
6446
|
-
/* 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_0b5eb5e6_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("0ca0");
|
|
6447
|
-
/* 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_0b5eb5e6_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_0b5eb5e6_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
6448
|
-
/* unused harmony reexport * */
|
|
6449
|
-
|
|
6450
|
-
|
|
6451
6444
|
/***/ }),
|
|
6452
6445
|
|
|
6453
6446
|
/***/ "c0a9":
|
|
@@ -6466,17 +6459,6 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
|
|
|
6466
6459
|
|
|
6467
6460
|
module.exports = require("moment");
|
|
6468
6461
|
|
|
6469
|
-
/***/ }),
|
|
6470
|
-
|
|
6471
|
-
/***/ "c33b":
|
|
6472
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6473
|
-
|
|
6474
|
-
"use strict";
|
|
6475
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a707");
|
|
6476
|
-
/* 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_10681225_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_10681225_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
6477
|
-
/* unused harmony reexport * */
|
|
6478
|
-
|
|
6479
|
-
|
|
6480
6462
|
/***/ }),
|
|
6481
6463
|
|
|
6482
6464
|
/***/ "c429":
|
|
@@ -6609,6 +6591,17 @@ module.exports = g;
|
|
|
6609
6591
|
/* unused harmony reexport * */
|
|
6610
6592
|
|
|
6611
6593
|
|
|
6594
|
+
/***/ }),
|
|
6595
|
+
|
|
6596
|
+
/***/ "cc2b":
|
|
6597
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6598
|
+
|
|
6599
|
+
"use strict";
|
|
6600
|
+
/* 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_10f71c00_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("569e");
|
|
6601
|
+
/* 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_10f71c00_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_10f71c00_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
6602
|
+
/* unused harmony reexport * */
|
|
6603
|
+
|
|
6604
|
+
|
|
6612
6605
|
/***/ }),
|
|
6613
6606
|
|
|
6614
6607
|
/***/ "cd87":
|
|
@@ -7167,23 +7160,23 @@ module.exports = require("deepmerge");
|
|
|
7167
7160
|
|
|
7168
7161
|
/***/ }),
|
|
7169
7162
|
|
|
7170
|
-
/***/ "
|
|
7163
|
+
/***/ "dc81":
|
|
7171
7164
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7172
7165
|
|
|
7173
7166
|
"use strict";
|
|
7174
|
-
/* harmony import */ var
|
|
7175
|
-
/* harmony import */ var
|
|
7167
|
+
/* 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_8015cf1e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("6ebe");
|
|
7168
|
+
/* 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_8015cf1e_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_8015cf1e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
7176
7169
|
/* unused harmony reexport * */
|
|
7177
7170
|
|
|
7178
7171
|
|
|
7179
7172
|
/***/ }),
|
|
7180
7173
|
|
|
7181
|
-
/***/ "
|
|
7174
|
+
/***/ "dccc":
|
|
7182
7175
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7183
7176
|
|
|
7184
7177
|
"use strict";
|
|
7185
|
-
/* harmony import */ var
|
|
7186
|
-
/* harmony import */ var
|
|
7178
|
+
/* 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_68e2d4a1_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("8728");
|
|
7179
|
+
/* 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_68e2d4a1_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_68e2d4a1_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
7187
7180
|
/* unused harmony reexport * */
|
|
7188
7181
|
|
|
7189
7182
|
|
|
@@ -7658,6 +7651,13 @@ module.exports = __WEBPACK_EXTERNAL_MODULE_f43e__;
|
|
|
7658
7651
|
/* unused harmony reexport * */
|
|
7659
7652
|
|
|
7660
7653
|
|
|
7654
|
+
/***/ }),
|
|
7655
|
+
|
|
7656
|
+
/***/ "faf3":
|
|
7657
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
7658
|
+
|
|
7659
|
+
// extracted by mini-css-extract-plugin
|
|
7660
|
+
|
|
7661
7661
|
/***/ }),
|
|
7662
7662
|
|
|
7663
7663
|
/***/ "fb15":
|
|
@@ -15630,17 +15630,17 @@ Demension_src_main.install = function (Vue) {
|
|
|
15630
15630
|
Vue.component(Demension_src_main.name, Demension_src_main);
|
|
15631
15631
|
};
|
|
15632
15632
|
/* harmony default export */ var Demension = (Demension_src_main);
|
|
15633
|
-
// 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/Tree/src/main.vue?vue&type=template&id=
|
|
15634
|
-
var
|
|
15633
|
+
// 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/Tree/src/main.vue?vue&type=template&id=10f71c00&scoped=true&
|
|
15634
|
+
var mainvue_type_template_id_10f71c00_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{style:(_vm.containerStyle)},[(_vm.supportFilter)?_c('div',{staticClass:"tree-header flex"},[_vm._t("custom-prefix"),_c('el-input',{attrs:{"placeholder":_vm.t('ht.tree.filterText'),"clearable":""},model:{value:(_vm.filterText),callback:function ($$v) {_vm.filterText=$$v},expression:"filterText"}},[_c('i',{staticClass:"el-input__icon el-icon-search",attrs:{"slot":"prefix"},slot:"prefix"})]),_c('div',{class:_vm.isIeExplorer
|
|
15635
15635
|
? 'tree-button-group is-ie-explorer flex'
|
|
15636
15636
|
: 'tree-button-group flex'},[_vm._t("custom-button"),_c('ht-icon',{staticClass:"tree-icon",attrs:{"name":_vm.isExpand ? 'simple-collapse' : 'simple-expand',"title":_vm.isExpand ? '收起' : '展开',"scale":"1.2"},on:{"click":_vm.handleExpandCollapse}}),_c('ht-icon',{staticClass:"tree-icon refresh",attrs:{"name":"refresh","pulse":_vm.loading,"scale":"1.1","title":"刷新"},on:{"click":_vm.refresh}})],2)],2):_vm._e(),(_vm.isShowEmpty)?_c('el-empty',{attrs:{"image":_vm.treeNoDataImg,"image-size":_vm.imageSize}}):_c('el-tree',{ref:"elTree",staticClass:"el-tree__wrapper",style:(_vm.elTreeStyle),attrs:{"data":_vm.data ? _vm.data : _vm.treeData,"props":_vm.props,"empty-text":_vm.emptyText,"default-expand-all":_vm.defaultExpandAll,"filter-node-method":_vm.filterNode,"load":_vm.load,"lazy":_vm.lazy,"show-checkbox":_vm.showCheckbox,"accordion":_vm.accordion,"node-key":_vm.nodeKey,"default-expanded-keys":_vm.defaultExpandedKeys,"highlight-current":_vm.highlightCurrent,"render-after-expand":_vm.renderAfterExpand,"render-content":_vm.renderContent,"check-on-click-node":_vm.checkOnClickNode,"auto-expand-parent":_vm.autoExpandParent,"check-strictly":_vm.checkStrictly,"current-node-key":_vm.currentNodeKey,"indent":_vm.indent,"icon-class":_vm.iconClass,"draggable":_vm.draggable,"allow-drag":_vm.allowDrag,"allow-drop":_vm.allowDrop,"expand-on-click-node":_vm.expandOnClickNode,"default-checked-keys":_vm.defaultCheckedKeys},on:{"node-click":_vm.handleNodeClick,"node-contextmenu":_vm.nodeContextmenu,"check-change":_vm.checkChange,"check":_vm.check,"current-change":_vm.currentChange,"node-expand":_vm.nodeExpand,"node-collapse":_vm.nodeCollapse,"node-drag-start":_vm.nodeDragStart,"node-drag-enter":_vm.nodeDragEnter,"node-drag-leave":_vm.nodeDragLeave,"node-drag-over":_vm.nodeDragOver,"node-drag-end":_vm.nodeDragEnd,"node-drop":_vm.nodeDrop},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
15637
15637
|
var node = ref.node;
|
|
15638
15638
|
var subData = ref.data;
|
|
15639
15639
|
return (_vm.$scopedSlots['default'])?_vm._t("default",null,{"node":node,"data":subData}):[_c('span',{staticClass:"el-tree-node__label show-ellipsis",class:{ 'full-width': !_vm.showMoreButton },attrs:{"title":node.label}},[_vm._v("\n "+_vm._s(node.label)+"\n ")])]}}],null,true)})],1)}
|
|
15640
|
-
var
|
|
15640
|
+
var mainvue_type_template_id_10f71c00_scoped_true_staticRenderFns = []
|
|
15641
15641
|
|
|
15642
15642
|
|
|
15643
|
-
// CONCATENATED MODULE: ./packages/Tree/src/main.vue?vue&type=template&id=
|
|
15643
|
+
// CONCATENATED MODULE: ./packages/Tree/src/main.vue?vue&type=template&id=10f71c00&scoped=true&
|
|
15644
15644
|
|
|
15645
15645
|
// 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/Tree/src/main.vue?vue&type=script&lang=js&
|
|
15646
15646
|
//
|
|
@@ -15915,7 +15915,11 @@ var mainvue_type_template_id_5731e345_scoped_true_staticRenderFns = []
|
|
|
15915
15915
|
},
|
|
15916
15916
|
watch: {
|
|
15917
15917
|
filterText(val) {
|
|
15918
|
-
this
|
|
15918
|
+
if (this.lazy) {
|
|
15919
|
+
this.$emit('loadALL', val);
|
|
15920
|
+
} else {
|
|
15921
|
+
this.$refs.elTree.filter(val);
|
|
15922
|
+
}
|
|
15919
15923
|
},
|
|
15920
15924
|
defaultCheckedKeys(val) {
|
|
15921
15925
|
this.$refs.elTree.setCheckedKeys(val);
|
|
@@ -16008,8 +16012,8 @@ var mainvue_type_template_id_5731e345_scoped_true_staticRenderFns = []
|
|
|
16008
16012
|
});
|
|
16009
16013
|
// CONCATENATED MODULE: ./packages/Tree/src/main.vue?vue&type=script&lang=js&
|
|
16010
16014
|
/* harmony default export */ var packages_Tree_src_mainvue_type_script_lang_js_ = (Tree_src_mainvue_type_script_lang_js_);
|
|
16011
|
-
// EXTERNAL MODULE: ./packages/Tree/src/main.vue?vue&type=style&index=0&id=
|
|
16012
|
-
var
|
|
16015
|
+
// EXTERNAL MODULE: ./packages/Tree/src/main.vue?vue&type=style&index=0&id=10f71c00&prod&lang=scss&scoped=true&
|
|
16016
|
+
var mainvue_type_style_index_0_id_10f71c00_prod_lang_scss_scoped_true_ = __webpack_require__("cc2b");
|
|
16013
16017
|
|
|
16014
16018
|
// CONCATENATED MODULE: ./packages/Tree/src/main.vue
|
|
16015
16019
|
|
|
@@ -16022,11 +16026,11 @@ var mainvue_type_style_index_0_id_5731e345_prod_lang_scss_scoped_true_ = __webpa
|
|
|
16022
16026
|
|
|
16023
16027
|
var Tree_src_main_component = normalizeComponent(
|
|
16024
16028
|
packages_Tree_src_mainvue_type_script_lang_js_,
|
|
16025
|
-
|
|
16026
|
-
|
|
16029
|
+
mainvue_type_template_id_10f71c00_scoped_true_render,
|
|
16030
|
+
mainvue_type_template_id_10f71c00_scoped_true_staticRenderFns,
|
|
16027
16031
|
false,
|
|
16028
16032
|
null,
|
|
16029
|
-
"
|
|
16033
|
+
"10f71c00",
|
|
16030
16034
|
null
|
|
16031
16035
|
|
|
16032
16036
|
)
|
|
@@ -22518,8 +22522,8 @@ PostSelector_src_main.install = function (Vue) {
|
|
|
22518
22522
|
Vue.component(PostSelector_src_main.name, PostSelector_src_main);
|
|
22519
22523
|
};
|
|
22520
22524
|
/* harmony default export */ var PostSelector = (PostSelector_src_main);
|
|
22521
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/DimensionSelector/src/main.vue?vue&type=template&id=
|
|
22522
|
-
var
|
|
22525
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/DimensionSelector/src/main.vue?vue&type=template&id=8015cf1e&scoped=true&
|
|
22526
|
+
var mainvue_type_template_id_8015cf1e_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.permission !== 'n')?_c('div',{class:[
|
|
22523
22527
|
'inputs',
|
|
22524
22528
|
_vm.formInputsDisplay == 'block'
|
|
22525
22529
|
? 'ht-form-inputs__block'
|
|
@@ -22534,10 +22538,10 @@ var mainvue_type_template_id_10681225_scoped_true_render = function () {var _vm=
|
|
|
22534
22538
|
return [_c('ht-icon',{staticClass:"follow-theme-color",staticStyle:{"margin-left":"15px","width":"36px","height":"36px"},attrs:{"name":"demension"}}),_c('div',{staticClass:"selector-item__detail"},[_c('div',{staticClass:"selector-detail__name"},[_c('label',[_vm._v(_vm._s(item[_vm.selectLabel]))]),_c('span',[_vm._v("("+_vm._s(item['code'])+")")])])])]}},{key:"selected",fn:function(ref){
|
|
22535
22539
|
var select = ref.select;
|
|
22536
22540
|
return [_c('ht-icon',{staticClass:"follow-theme-color",staticStyle:{"margin-left":"15px","width":"36px","height":"36px"},attrs:{"name":"demension"}}),_c('p',{staticClass:"selector-selected__label",attrs:{"title":((select[_vm.selectLabel]) + "(" + (select['code']) + ")")}},[_vm._v("\n "+_vm._s(((select[_vm.selectLabel]) + "(" + (select['code']) + ")"))+"\n ")])]}}],null,false,3344182147),model:{value:(_vm.demensions),callback:function ($$v) {_vm.demensions=$$v},expression:"demensions"}})],1),_c('div',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"type":"primary","size":"small"},on:{"click":_vm.handleDialogSure}},[_vm._v("\n 确 定\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.handleDialogCancel}},[_vm._v("取 消")])],1)])],1):_vm._e()}
|
|
22537
|
-
var
|
|
22541
|
+
var mainvue_type_template_id_8015cf1e_scoped_true_staticRenderFns = []
|
|
22538
22542
|
|
|
22539
22543
|
|
|
22540
|
-
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=template&id=
|
|
22544
|
+
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=template&id=8015cf1e&scoped=true&
|
|
22541
22545
|
|
|
22542
22546
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/DimensionSelector/src/main.vue?vue&type=script&lang=js&
|
|
22543
22547
|
//
|
|
@@ -22796,6 +22800,8 @@ var mainvue_type_template_id_10681225_scoped_true_staticRenderFns = []
|
|
|
22796
22800
|
if (this.config.hasOwnProperty('demName')) {
|
|
22797
22801
|
utils["a" /* default */].setValueByConfigKey(this, this.config, 'demName', demNameAry.join(','));
|
|
22798
22802
|
}
|
|
22803
|
+
} else {
|
|
22804
|
+
this.$emit('change', newVal);
|
|
22799
22805
|
}
|
|
22800
22806
|
// 通过valueChange事件发布值变更消息
|
|
22801
22807
|
this.$emit('valueChange', ary.join(','), newVal);
|
|
@@ -22925,8 +22931,8 @@ var mainvue_type_template_id_10681225_scoped_true_staticRenderFns = []
|
|
|
22925
22931
|
});
|
|
22926
22932
|
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=script&lang=js&
|
|
22927
22933
|
/* harmony default export */ var packages_DimensionSelector_src_mainvue_type_script_lang_js_ = (DimensionSelector_src_mainvue_type_script_lang_js_);
|
|
22928
|
-
// EXTERNAL MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=style&index=0&id=
|
|
22929
|
-
var
|
|
22934
|
+
// EXTERNAL MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=style&index=0&id=8015cf1e&prod&lang=scss&scoped=true&
|
|
22935
|
+
var mainvue_type_style_index_0_id_8015cf1e_prod_lang_scss_scoped_true_ = __webpack_require__("dc81");
|
|
22930
22936
|
|
|
22931
22937
|
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue
|
|
22932
22938
|
|
|
@@ -22939,11 +22945,11 @@ var mainvue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true_ = __webpa
|
|
|
22939
22945
|
|
|
22940
22946
|
var DimensionSelector_src_main_component = normalizeComponent(
|
|
22941
22947
|
packages_DimensionSelector_src_mainvue_type_script_lang_js_,
|
|
22942
|
-
|
|
22943
|
-
|
|
22948
|
+
mainvue_type_template_id_8015cf1e_scoped_true_render,
|
|
22949
|
+
mainvue_type_template_id_8015cf1e_scoped_true_staticRenderFns,
|
|
22944
22950
|
false,
|
|
22945
22951
|
null,
|
|
22946
|
-
"
|
|
22952
|
+
"8015cf1e",
|
|
22947
22953
|
null
|
|
22948
22954
|
|
|
22949
22955
|
)
|
|
@@ -23571,8 +23577,8 @@ Dialog_src_main.install = function (Vue) {
|
|
|
23571
23577
|
Vue.component(Dialog_src_main.name, Dialog_src_main);
|
|
23572
23578
|
};
|
|
23573
23579
|
/* harmony default export */ var Dialog = (Dialog_src_main);
|
|
23574
|
-
// 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=
|
|
23575
|
-
var
|
|
23580
|
+
// 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=117acabc&scoped=true&
|
|
23581
|
+
var mainvue_type_template_id_117acabc_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 && !_vm.errors.has('custom-form.' + _vm.inputName)}},[(_vm.errors && _vm.errors.first)?_c('div',{attrs:{"slot":"content"},slot:"content"},[_vm._v("\n "+_vm._s(_vm.errors.first('custom-form.' + _vm.inputName))+"\n ")]):_vm._e(),(_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 no-background",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:({
|
|
23576
23582
|
right: _vm.inputSuffixWidth - 1 + 'px',
|
|
23577
23583
|
width: 'auto!important',
|
|
23578
23584
|
height: _vm.inputSuffixHeight - 4 + 'px',
|
|
@@ -23581,11 +23587,11 @@ var mainvue_type_template_id_0b5eb5e6_scoped_true_render = function () {var _vm=
|
|
|
23581
23587
|
: 'el-input__icon icon-duihuakuang',style:({
|
|
23582
23588
|
fontSize: '17px',
|
|
23583
23589
|
lineHeight: _vm.inputSuffixHeight + 'px',
|
|
23584
|
-
})}),_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',{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)}
|
|
23585
|
-
var
|
|
23590
|
+
})}),_vm._v("\n "+_vm._s(_vm.custdialog.name)+"\n ")])],1)])],1)]):_vm._e()]),(!_vm.inputWriteable)?_c('span',{staticClass:"dialog-readonly"},_vm._l((_vm.inputVal),function(item){return _c('span',{key:item.value,staticClass:"el-tag el-tag--info el-tag--small no-background",staticStyle:{"margin-right":"8px"},on:{"click":function($event){$event.stopPropagation();return _vm.jumpUrl(item)}}},[_c('span',{staticClass:"el-select__tags-text",class:{ 'src-color': _vm.isSrcColor }},[_vm._v("\n "+_vm._s(item.value)+"\n ")])])}),0):_vm._e(),(_vm.isMobile)?_c('custom-mobile-dialog',{ref:"customMobileDialogRef",attrs:{"model-name":_vm.modelName,"custdialog":_vm.custdialog,"sub-index":_vm.subIndex,"sun-index":_vm.sunIndex,"sub-path":_vm.subPath,"current-sub-data":_vm.currentSubData,"dialog-config":_vm.dialogConfig,"dialog-type":_vm.dialogType},on:{"calacInputSuffixHeight":_vm.calacInputSuffixHeight,"updateInput":_vm.updateInput}}):_c('custom-dialog',{ref:"customDialogRef",attrs:{"model-name":_vm.modelName,"custdialog":_vm.custdialog,"sub-index":_vm.subIndex,"sun-index":_vm.sunIndex,"sub-path":_vm.subPath,"current-sub-data":_vm.currentSubData,"is-read-only":!_vm.inputWriteable,"dialog-config":_vm.dialogConfig,"dialog-type":_vm.dialogType},on:{"calacInputSuffixHeight":_vm.calacInputSuffixHeight,"updateInput":_vm.updateInput},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v},expression:"value"}}),_c('span',{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}}),(_vm.isDialogFormShow)?_c('el-dialog',{attrs:{"title":"表单详情","visible":_vm.isDialogFormShow,"width":"100%","custom-class":"custom-dialog-form","fullscreen":"","append-to-body":""},on:{"update:visible":function($event){_vm.isDialogFormShow=$event}}},[_c('div',{staticClass:"iframe-box"},[_c('iframe',{staticStyle:{"height":"100%"},attrs:{"src":_vm.mobileSrc,"width":"100%","frameborder":"0"}})]),_c('div',{staticClass:"custom-dialog-form_footer"},[_c('el-button',{attrs:{"size":"smal"},on:{"click":function($event){_vm.isDialogFormShow = false}}},[_vm._v("\n 关闭\n ")])],1)]):_vm._e()],1)}
|
|
23591
|
+
var mainvue_type_template_id_117acabc_scoped_true_staticRenderFns = []
|
|
23586
23592
|
|
|
23587
23593
|
|
|
23588
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=
|
|
23594
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=117acabc&scoped=true&
|
|
23589
23595
|
|
|
23590
23596
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.js
|
|
23591
23597
|
|
|
@@ -23707,19 +23713,47 @@ var mainvue_type_template_id_0b5eb5e6_scoped_true_staticRenderFns = []
|
|
|
23707
23713
|
}
|
|
23708
23714
|
}
|
|
23709
23715
|
});
|
|
23710
|
-
// 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=
|
|
23711
|
-
var
|
|
23712
|
-
|
|
23713
|
-
|
|
23714
|
-
|
|
23715
|
-
|
|
23716
|
-
|
|
23717
|
-
|
|
23718
|
-
|
|
23719
|
-
|
|
23720
|
-
|
|
23721
|
-
|
|
23722
|
-
|
|
23716
|
+
// 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=9d63590a&scoped=true&
|
|
23717
|
+
var customDialogvue_type_template_id_9d63590a_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":"75%"},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',{attrs:{"title":condition.comment}},[_vm._v(_vm._s(condition.comment)+":")]),(condition.controllerType == '1')?_c('div',{staticClass:"search-item_main"},[_c('el-input',{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',{staticClass:"search-item_main"},_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',{staticClass:"search-item_main"},[(condition.config.choiceType == 'static')?_c('ht-select',{attrs:{"placeholder":_vm.quickSearch,"multiple":condition.config.multiple,"options":condition.config.options},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}}):_c('ht-dictionary',{attrs:{"dickey":condition.config.dic,"filterable":condition.config.filterable},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '4')?_c('div',{staticClass:"search-item_main"},[_c('eip-tag',{attrs:{"tag-key":condition.config.tag,"placeholder":_vm.quickSearch,"filterable":condition.config.filterable,"expand":condition.config.expand},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '6')?_c('div',{staticClass:"search-item_main"},[(condition.condition == 'BETWEEN')?_c('div',{staticClass:"search-item_date"},[_c('ht-date',{attrs:{"format":condition.config.inputFormat.includes('mm:ss')
|
|
23718
|
+
? 'yyyy-MM-dd HH:mm:ss'
|
|
23719
|
+
: condition.config.inputFormat,"valueFormat":condition.config.inputFormat.includes('mm:ss')
|
|
23720
|
+
? 'yyyy-MM-dd HH:mm:ss'
|
|
23721
|
+
: condition.config.inputFormat},model:{value:(_vm.queryParams[index].startDate),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "startDate", $$v)},expression:"queryParams[index].startDate"}}),_vm._v("\n 至\n "),_c('ht-date',{attrs:{"format":condition.config.inputFormat.includes('mm:ss')
|
|
23722
|
+
? 'yyyy-MM-dd HH:mm:ss'
|
|
23723
|
+
: condition.config.inputFormat,"valueFormat":condition.config.inputFormat.includes('mm:ss')
|
|
23724
|
+
? 'yyyy-MM-dd HH:mm:ss'
|
|
23725
|
+
: condition.config.inputFormat},model:{value:(_vm.queryParams[index].endDate),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "endDate", $$v)},expression:"queryParams[index].endDate"}})],1):_c('ht-date',{attrs:{"format":condition.config.inputFormat.includes('mm:ss')
|
|
23726
|
+
? 'yyyy-MM-dd HH:mm:ss'
|
|
23727
|
+
: condition.config.inputFormat,"valueFormat":condition.config.inputFormat.includes('mm:ss')
|
|
23728
|
+
? 'yyyy-MM-dd HH:mm:ss'
|
|
23729
|
+
: condition.config.inputFormat},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '7')?_c('div',{staticClass:"search-item_main"},[(condition.config.alias == 'user')?_c('ht-user-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23730
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23731
|
+
}}}):_vm._e(),(condition.config.alias == 'org')?_c('ht-org-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23732
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23733
|
+
}}}):_vm._e(),(condition.config.alias == 'role')?_c('ht-role-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23734
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23735
|
+
}}}):_vm._e(),(condition.config.alias == 'job')?_c('ht-job-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23736
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23737
|
+
}}}):_vm._e(),(condition.config.alias == 'post')?_c('ht-post-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23738
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23739
|
+
}}}):_vm._e(),(condition.config.alias == 'dimension')?_c('ht-dimension-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23740
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23741
|
+
}}}):_vm._e()],1):_vm._e(),(condition.controllerType == '5')?_c('div',{staticClass:"search-item_main"},[_c('ht-custom-dialog',{attrs:{"model-name":condition.config.keyBind,"dialogType":"search","custdialog":{
|
|
23742
|
+
name: '请选择',
|
|
23743
|
+
icon: '',
|
|
23744
|
+
custDialog: {
|
|
23745
|
+
selectNum: 1,
|
|
23746
|
+
conditions: [],
|
|
23747
|
+
mappingConf: [],
|
|
23748
|
+
custQueryJson: [],
|
|
23749
|
+
alias: condition.config.alias,
|
|
23750
|
+
type: 'custDialog',
|
|
23751
|
+
},
|
|
23752
|
+
}},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e()])}),(_vm.conditionBind && _vm.conditionBind.length > 0)?_c('div',{staticClass:"btn-wrap"},[_c('el-button',{staticStyle:{"margin-left":"20px"},attrs:{"size":"small","type":"primary","icon":"el-icon-search"},on:{"click":function($event){return _vm.search(true)}}},[_vm._v("\n 查询\n ")]),_c('el-button',{attrs:{"size":"small","icon":"el-icon-refresh"},on:{"click":_vm.reset}},[_vm._v("\n 重置\n ")])],1):_vm._e()],2):_vm._e(),_c('el-main',{ref:"customTableRef",staticClass:"custom-dialog_main"},[_c('el-table',{ref:"orgTable",staticClass:"org-table",staticStyle:{"width":"100%"},attrs:{"data":_vm.dialogData,"stripe":"","border":"","size":"medium","height":_vm.tableHeight},on:{"row-click":_vm.orgRowClick,"selection-change":_vm.orgTableSelection,"select":_vm.onTableSelect,"select-all":_vm.selectAll}},[(_vm.customDialog.selectNum != 1)?_c('el-table-column',{attrs:{"type":"selection","align":"center","width":"55"}}):_vm._e(),(_vm.customDialog.selectNum === 1)?_c('el-table-column',{attrs:{"align":"center","width":"55"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-radio',{staticClass:"textRadio",attrs:{"label":scope.$index},on:{"selection-change":_vm.orgTableSelection},model:{value:(_vm.tableRadioVal),callback:function ($$v) {_vm.tableRadioVal=$$v},expression:"tableRadioVal"}},[_vm._v("\n \n ")])]}}],null,false,918943478)}):_vm._e(),_c('el-table-column',{attrs:{"type":"index","width":"50","align":"center","label":"序号"}}),_vm._l((_vm.sortDisplayfield),function(field){return _c('el-table-column',{key:field.field,attrs:{"prop":field.field,"label":field.comment,"width":field.width || ''}})})],2)],1),_c('el-footer',[(_vm.customDialog.needPage)?_c('el-row',{staticStyle:{"padding-top":"15px","justify-content":"space-between"},attrs:{"type":"flex","justify":"end"}},[(_vm.customDialog.style == 2)?_c('el-button',{attrs:{"icon":_vm.toggleBtn,"size":"mini","type":"default"},on:{"click":_vm.toggleTree}}):_vm._e(),_c('el-pagination',{attrs:{"small":"","current-page":_vm.pagination.page,"page-sizes":[10, 20, 50, 100],"page-size":_vm.pagination.pageSize,"layout":"total, sizes, prev, pager, next, jumper","total":_vm.total},on:{"size-change":_vm.handleSizeChange,"current-change":_vm.handleCurrentChange}})],1):_vm._e()],1)],1)],1),_c('span',{staticClass:"dialog-footer",staticStyle:{"text-align":"center"},attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.dialogConfirm}},[_vm._v("\n 确认\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.dialogCancel}},[_vm._v("取 消")])],1)],1),_c('el-dialog',{attrs:{"title":"动态传入参数查询","width":"500px","visible":_vm.dialogVisible,"before-close":_vm.handleClose,"close-on-click-modal":false,"top":"6vh"},on:{"update:visible":function($event){_vm.dialogVisible=$event}}},[_c('table',{staticClass:"form-table",staticStyle:{"margin-left":"20px","width":"90%"},attrs:{"cellspacing":"0","cellpadding":"0","border":"0"}},_vm._l((_vm.conditionfieldTree),function(item,$index){return _c('tbody',{key:$index},[(item.defaultType == '4')?_c('tr',[_c('th',{attrs:{"width":"130px"}},[_vm._v(_vm._s(item.comment)+":")]),_c('td',[(item.type != 'date')?_c('ht-input',{staticStyle:{"width":"100%"},attrs:{"type":"text","placeholder":'请输入' + item.comment,"autocomplete":"off"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e(),(item.type == 'date')?_c('ht-date',{staticStyle:{"width":"100%"},attrs:{"placeholder":'请输入' + item.comment,"format":"yyyy-MM-dd"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e()],1)]):_vm._e()])}),0),_c('div',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"type":"primary"},on:{"click":_vm.handleSave}},[_vm._v("确 定")]),_c('el-button',{on:{"click":_vm.handleClose}},[_vm._v("取 消")])],1)]),_c('el-dialog',{attrs:{"visible":_vm.customDialogShowTree,"title":_vm.customDialog.name,"close-on-click-modal":false,"before-close":_vm.dialogCancelTree,"append-to-body":"","top":"6vh","width":"500px"},on:{"update:visible":function($event){_vm.customDialogShowTree=$event}}},[_c('el-container',{staticStyle:{"overflow":"auto"},style:(_vm.style)},[_c('el-tree',{ref:"tree",staticStyle:{"width":"100%"},attrs:{"data":_vm.props1,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","show-checkbox":_vm.customDialog.selectNum === -1,"check-on-click-node":true,"check-strictly":false,"lazy":"","load":_vm.loadTree,"default-expanded-keys":_vm.defaultExpandedKeys},on:{"node-click":_vm.treeClick,"check-change":_vm.getChecked}})],1),_c('span',{staticClass:"dialog-footer",staticStyle:{"text-align":"center"},attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.dialogTreeConfirm}},[_vm._v("\n 确认\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.dialogCancelTree}},[_vm._v("取 消")])],1)],1)],1)}
|
|
23753
|
+
var customDialogvue_type_template_id_9d63590a_scoped_true_staticRenderFns = []
|
|
23754
|
+
|
|
23755
|
+
|
|
23756
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=9d63590a&scoped=true&
|
|
23723
23757
|
|
|
23724
23758
|
// EXTERNAL MODULE: external "jquery"
|
|
23725
23759
|
var external_jquery_ = __webpack_require__("c5e1");
|
|
@@ -24028,6 +24062,139 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24028
24062
|
//
|
|
24029
24063
|
//
|
|
24030
24064
|
//
|
|
24065
|
+
//
|
|
24066
|
+
//
|
|
24067
|
+
//
|
|
24068
|
+
//
|
|
24069
|
+
//
|
|
24070
|
+
//
|
|
24071
|
+
//
|
|
24072
|
+
//
|
|
24073
|
+
//
|
|
24074
|
+
//
|
|
24075
|
+
//
|
|
24076
|
+
//
|
|
24077
|
+
//
|
|
24078
|
+
//
|
|
24079
|
+
//
|
|
24080
|
+
//
|
|
24081
|
+
//
|
|
24082
|
+
//
|
|
24083
|
+
//
|
|
24084
|
+
//
|
|
24085
|
+
//
|
|
24086
|
+
//
|
|
24087
|
+
//
|
|
24088
|
+
//
|
|
24089
|
+
//
|
|
24090
|
+
//
|
|
24091
|
+
//
|
|
24092
|
+
//
|
|
24093
|
+
//
|
|
24094
|
+
//
|
|
24095
|
+
//
|
|
24096
|
+
//
|
|
24097
|
+
//
|
|
24098
|
+
//
|
|
24099
|
+
//
|
|
24100
|
+
//
|
|
24101
|
+
//
|
|
24102
|
+
//
|
|
24103
|
+
//
|
|
24104
|
+
//
|
|
24105
|
+
//
|
|
24106
|
+
//
|
|
24107
|
+
//
|
|
24108
|
+
//
|
|
24109
|
+
//
|
|
24110
|
+
//
|
|
24111
|
+
//
|
|
24112
|
+
//
|
|
24113
|
+
//
|
|
24114
|
+
//
|
|
24115
|
+
//
|
|
24116
|
+
//
|
|
24117
|
+
//
|
|
24118
|
+
//
|
|
24119
|
+
//
|
|
24120
|
+
//
|
|
24121
|
+
//
|
|
24122
|
+
//
|
|
24123
|
+
//
|
|
24124
|
+
//
|
|
24125
|
+
//
|
|
24126
|
+
//
|
|
24127
|
+
//
|
|
24128
|
+
//
|
|
24129
|
+
//
|
|
24130
|
+
//
|
|
24131
|
+
//
|
|
24132
|
+
//
|
|
24133
|
+
//
|
|
24134
|
+
//
|
|
24135
|
+
//
|
|
24136
|
+
//
|
|
24137
|
+
//
|
|
24138
|
+
//
|
|
24139
|
+
//
|
|
24140
|
+
//
|
|
24141
|
+
//
|
|
24142
|
+
//
|
|
24143
|
+
//
|
|
24144
|
+
//
|
|
24145
|
+
//
|
|
24146
|
+
//
|
|
24147
|
+
//
|
|
24148
|
+
//
|
|
24149
|
+
//
|
|
24150
|
+
//
|
|
24151
|
+
//
|
|
24152
|
+
//
|
|
24153
|
+
//
|
|
24154
|
+
//
|
|
24155
|
+
//
|
|
24156
|
+
//
|
|
24157
|
+
//
|
|
24158
|
+
//
|
|
24159
|
+
//
|
|
24160
|
+
//
|
|
24161
|
+
//
|
|
24162
|
+
//
|
|
24163
|
+
//
|
|
24164
|
+
//
|
|
24165
|
+
//
|
|
24166
|
+
//
|
|
24167
|
+
//
|
|
24168
|
+
//
|
|
24169
|
+
//
|
|
24170
|
+
//
|
|
24171
|
+
//
|
|
24172
|
+
//
|
|
24173
|
+
//
|
|
24174
|
+
//
|
|
24175
|
+
//
|
|
24176
|
+
//
|
|
24177
|
+
//
|
|
24178
|
+
//
|
|
24179
|
+
//
|
|
24180
|
+
//
|
|
24181
|
+
//
|
|
24182
|
+
//
|
|
24183
|
+
//
|
|
24184
|
+
//
|
|
24185
|
+
//
|
|
24186
|
+
//
|
|
24187
|
+
//
|
|
24188
|
+
//
|
|
24189
|
+
//
|
|
24190
|
+
//
|
|
24191
|
+
//
|
|
24192
|
+
//
|
|
24193
|
+
//
|
|
24194
|
+
//
|
|
24195
|
+
//
|
|
24196
|
+
//
|
|
24197
|
+
//
|
|
24031
24198
|
|
|
24032
24199
|
|
|
24033
24200
|
|
|
@@ -24055,10 +24222,16 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24055
24222
|
isReadOnly: {
|
|
24056
24223
|
type: Boolean,
|
|
24057
24224
|
default: false
|
|
24058
|
-
}
|
|
24225
|
+
},
|
|
24226
|
+
dialogConfig: Object,
|
|
24227
|
+
dialogType: String
|
|
24059
24228
|
},
|
|
24060
24229
|
data() {
|
|
24061
24230
|
return {
|
|
24231
|
+
startDate: '',
|
|
24232
|
+
// 日期控件
|
|
24233
|
+
endDate: '',
|
|
24234
|
+
// 日期控件
|
|
24062
24235
|
tableHeight: 350,
|
|
24063
24236
|
isEditInputShow: false,
|
|
24064
24237
|
customValue: '',
|
|
@@ -24139,6 +24312,20 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24139
24312
|
return [this.props1[0][this.nodeKey]];
|
|
24140
24313
|
}
|
|
24141
24314
|
return [];
|
|
24315
|
+
},
|
|
24316
|
+
jumpParamKey() {
|
|
24317
|
+
return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
|
|
24318
|
+
},
|
|
24319
|
+
// 是否保存成跳转url参数
|
|
24320
|
+
isHaveJumpUrl() {
|
|
24321
|
+
return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
24322
|
+
},
|
|
24323
|
+
sortDisplayfield() {
|
|
24324
|
+
let reverseArr = JSON.parse(JSON.stringify(this.displayfield));
|
|
24325
|
+
reverseArr.reverse();
|
|
24326
|
+
return reverseArr.sort((a, b) => {
|
|
24327
|
+
return a.sort > b.sort ? 1 : -1;
|
|
24328
|
+
});
|
|
24142
24329
|
}
|
|
24143
24330
|
},
|
|
24144
24331
|
watch: {
|
|
@@ -24174,131 +24361,151 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24174
24361
|
});
|
|
24175
24362
|
},
|
|
24176
24363
|
methods: {
|
|
24364
|
+
// 获取已选择的选择器数据id
|
|
24365
|
+
getSelectId(data) {
|
|
24366
|
+
if (!data || !data.length) {
|
|
24367
|
+
return '';
|
|
24368
|
+
}
|
|
24369
|
+
let ids = [];
|
|
24370
|
+
data.forEach(item => {
|
|
24371
|
+
ids.push(item.id);
|
|
24372
|
+
});
|
|
24373
|
+
return ids.join(',');
|
|
24374
|
+
},
|
|
24177
24375
|
showDialog() {
|
|
24178
24376
|
let isMounted = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
24179
|
-
const this_ = this;
|
|
24180
24377
|
this.fixedParams = {};
|
|
24378
|
+
// 如果已存在配置信息就不去请求配置信息 直接初始化数据
|
|
24379
|
+
if (this.dialogConfig) {
|
|
24380
|
+
this.initDialog(this.dialogConfig, isMounted);
|
|
24381
|
+
return;
|
|
24382
|
+
}
|
|
24181
24383
|
var alias = this.custdialog.custDialog.alias;
|
|
24182
24384
|
this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
|
|
24183
|
-
|
|
24184
|
-
|
|
24185
|
-
|
|
24186
|
-
|
|
24187
|
-
|
|
24188
|
-
|
|
24189
|
-
|
|
24190
|
-
|
|
24191
|
-
|
|
24192
|
-
|
|
24193
|
-
|
|
24194
|
-
|
|
24195
|
-
|
|
24196
|
-
|
|
24197
|
-
|
|
24198
|
-
|
|
24199
|
-
|
|
24200
|
-
|
|
24201
|
-
|
|
24202
|
-
|
|
24203
|
-
|
|
24385
|
+
this.initDialog(customDialog, isMounted);
|
|
24386
|
+
});
|
|
24387
|
+
},
|
|
24388
|
+
initDialog(customDialog, isMounted) {
|
|
24389
|
+
let alias = this.custdialog.custDialog.alias;
|
|
24390
|
+
const this_ = this;
|
|
24391
|
+
if (!customDialog || !customDialog.alias) {
|
|
24392
|
+
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
24393
|
+
return;
|
|
24394
|
+
}
|
|
24395
|
+
if (customDialog.style == 1) {
|
|
24396
|
+
var displaylist = JSON.parse(customDialog.displayfield);
|
|
24397
|
+
this_.nodeKey = displaylist.id;
|
|
24398
|
+
}
|
|
24399
|
+
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
24400
|
+
let obj = {};
|
|
24401
|
+
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
24402
|
+
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
24403
|
+
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
24404
|
+
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
24405
|
+
if (exp) {
|
|
24406
|
+
const params = JSON.parse(exp);
|
|
24407
|
+
if (params.pageBean) {
|
|
24408
|
+
this.pagination = {
|
|
24409
|
+
...params.pageBean
|
|
24410
|
+
};
|
|
24204
24411
|
}
|
|
24205
24412
|
}
|
|
24206
|
-
|
|
24207
|
-
|
|
24208
|
-
|
|
24209
|
-
|
|
24210
|
-
|
|
24211
|
-
|
|
24212
|
-
|
|
24213
|
-
|
|
24214
|
-
|
|
24215
|
-
|
|
24216
|
-
|
|
24217
|
-
|
|
24218
|
-
|
|
24219
|
-
|
|
24220
|
-
|
|
24221
|
-
|
|
24222
|
-
|
|
24223
|
-
|
|
24224
|
-
}
|
|
24225
|
-
}
|
|
24226
|
-
}
|
|
24227
|
-
|
|
24228
|
-
|
|
24229
|
-
|
|
24230
|
-
|
|
24231
|
-
|
|
24232
|
-
|
|
24233
|
-
|
|
24234
|
-
|
|
24235
|
-
|
|
24236
|
-
|
|
24237
|
-
|
|
24238
|
-
|
|
24239
|
-
|
|
24240
|
-
|
|
24241
|
-
|
|
24242
|
-
|
|
24243
|
-
|
|
24244
|
-
|
|
24245
|
-
|
|
24246
|
-
|
|
24247
|
-
}
|
|
24248
|
-
|
|
24249
|
-
|
|
24250
|
-
|
|
24251
|
-
|
|
24252
|
-
|
|
24253
|
-
|
|
24254
|
-
|
|
24255
|
-
|
|
24256
|
-
|
|
24257
|
-
|
|
24258
|
-
|
|
24259
|
-
|
|
24260
|
-
|
|
24261
|
-
|
|
24262
|
-
|
|
24263
|
-
|
|
24264
|
-
|
|
24265
|
-
|
|
24266
|
-
|
|
24267
|
-
customDialog: customDialog
|
|
24268
|
-
}, isMounted);
|
|
24269
|
-
}, 100);
|
|
24270
|
-
} else if (customDialog.style == 1) {
|
|
24271
|
-
//树形
|
|
24272
|
-
this_.pageParam = {
|
|
24413
|
+
}
|
|
24414
|
+
//对话框按表单字段查询(参数传入的)
|
|
24415
|
+
let bindList = this_.custdialog.custDialog.conditions;
|
|
24416
|
+
this_.param = []; //绑定的表单字段
|
|
24417
|
+
if (bindList.length > 0) {
|
|
24418
|
+
bindList.forEach(ele => {
|
|
24419
|
+
//绑定表单字段
|
|
24420
|
+
if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
|
|
24421
|
+
let obj = {};
|
|
24422
|
+
obj.field = ele.field;
|
|
24423
|
+
obj.bind = ele.bind;
|
|
24424
|
+
obj.bindType = ele.bindType;
|
|
24425
|
+
this_.param.push(obj);
|
|
24426
|
+
}
|
|
24427
|
+
//取值对象为脚本时获取value
|
|
24428
|
+
if (ele.bindType === 3) {
|
|
24429
|
+
this_.$requestConfig.executeScript(ele.bind).then(res => {
|
|
24430
|
+
this_.executeScriptResult = res && res.value;
|
|
24431
|
+
});
|
|
24432
|
+
}
|
|
24433
|
+
});
|
|
24434
|
+
}
|
|
24435
|
+
//判断对话框查询是否有条件
|
|
24436
|
+
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
24437
|
+
this_.quickSearch = ''; //填写提示 placeholder
|
|
24438
|
+
this_.conditionBind = [];
|
|
24439
|
+
let queryParams = [];
|
|
24440
|
+
let placeholders = [];
|
|
24441
|
+
if (userInputList.length > 0) {
|
|
24442
|
+
userInputList.forEach(ele => {
|
|
24443
|
+
var obj = {};
|
|
24444
|
+
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
24445
|
+
if (ele.defaultType == '1') {
|
|
24446
|
+
obj[ele.field] = '';
|
|
24447
|
+
queryParams.push(obj);
|
|
24448
|
+
// queryParams[ele.field] = "";
|
|
24449
|
+
this_.conditionBind.push(ele);
|
|
24450
|
+
placeholders.push('请输入' + ele.comment);
|
|
24451
|
+
}
|
|
24452
|
+
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
24453
|
+
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
24454
|
+
}
|
|
24455
|
+
});
|
|
24456
|
+
this.$set(this, 'queryParams', queryParams);
|
|
24457
|
+
this.$set(this, 'placeholders', placeholders);
|
|
24458
|
+
}
|
|
24459
|
+
//判断是否显示条件查询输入框
|
|
24460
|
+
if (this_.quickSearch != '') {
|
|
24461
|
+
this_.querysShow = true;
|
|
24462
|
+
} else {
|
|
24463
|
+
this_.querysShow = true;
|
|
24464
|
+
}
|
|
24465
|
+
this_.quickSearch = '请输入' + this.quickSearch + '查询';
|
|
24466
|
+
this_.style = 'height:' + customDialog.height + 'px';
|
|
24467
|
+
if (window.screen.height && window.screen.height <= 900) {
|
|
24468
|
+
this.style = 'height:440px';
|
|
24469
|
+
}
|
|
24470
|
+
if (customDialog.style == 0 || customDialog.style == 2) {
|
|
24471
|
+
//列表
|
|
24472
|
+
setTimeout(() => {
|
|
24473
|
+
this_.customDialogShow({
|
|
24273
24474
|
alias: alias,
|
|
24274
24475
|
customDialog: customDialog
|
|
24275
|
-
};
|
|
24276
|
-
|
|
24277
|
-
|
|
24278
|
-
|
|
24279
|
-
|
|
24280
|
-
|
|
24281
|
-
|
|
24282
|
-
|
|
24283
|
-
|
|
24284
|
-
|
|
24285
|
-
|
|
24286
|
-
|
|
24287
|
-
|
|
24476
|
+
}, isMounted);
|
|
24477
|
+
}, 100);
|
|
24478
|
+
} else if (customDialog.style == 1) {
|
|
24479
|
+
//树形
|
|
24480
|
+
this_.pageParam = {
|
|
24481
|
+
alias: alias,
|
|
24482
|
+
customDialog: customDialog
|
|
24483
|
+
};
|
|
24484
|
+
this_.customDialog = customDialog;
|
|
24485
|
+
let param = {};
|
|
24486
|
+
this_.conditionfieldTree = [];
|
|
24487
|
+
//判断是否存在条件
|
|
24488
|
+
if (customDialog.conditionfield) {
|
|
24489
|
+
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
24490
|
+
if (this_.conditionfieldTree.length > 0) {
|
|
24491
|
+
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
24492
|
+
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
24493
|
+
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
24494
|
+
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
24288
24495
|
}
|
|
24289
24496
|
}
|
|
24290
24497
|
}
|
|
24291
|
-
|
|
24292
|
-
|
|
24293
|
-
|
|
24294
|
-
|
|
24295
|
-
|
|
24296
|
-
|
|
24297
|
-
|
|
24298
|
-
|
|
24498
|
+
}
|
|
24499
|
+
//有动态传入的字段
|
|
24500
|
+
if (!isMounted) {
|
|
24501
|
+
if (JSON.stringify(param) != '{}') {
|
|
24502
|
+
this_.dialogVisible = true;
|
|
24503
|
+
} else {
|
|
24504
|
+
//无动态传入的字段
|
|
24505
|
+
this_.customDialogTreeShow(this_.pageParam);
|
|
24299
24506
|
}
|
|
24300
24507
|
}
|
|
24301
|
-
}
|
|
24508
|
+
}
|
|
24302
24509
|
},
|
|
24303
24510
|
initTableHeight() {
|
|
24304
24511
|
this.$nextTick(() => {
|
|
@@ -24427,13 +24634,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24427
24634
|
}
|
|
24428
24635
|
// 添加用户id 岗位id 组织id
|
|
24429
24636
|
try {
|
|
24430
|
-
if (this.$requestConfig.getUserId()) {
|
|
24637
|
+
if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
|
|
24431
24638
|
ctx.userId = this.$requestConfig.getUserId();
|
|
24432
24639
|
}
|
|
24433
|
-
if (this.$requestConfig.getOrgId()) {
|
|
24640
|
+
if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
|
|
24434
24641
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
24435
24642
|
}
|
|
24436
|
-
if (this.$requestConfig.getPostId()) {
|
|
24643
|
+
if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
|
|
24437
24644
|
ctx.postId = this.$requestConfig.getPostId();
|
|
24438
24645
|
}
|
|
24439
24646
|
} catch (e) {
|
|
@@ -24518,8 +24725,19 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24518
24725
|
this.selectOrgs = this.convertComment2Field(str, field);
|
|
24519
24726
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
24520
24727
|
var val = '';
|
|
24521
|
-
str.forEach(item => {
|
|
24522
|
-
|
|
24728
|
+
str.forEach((item, index) => {
|
|
24729
|
+
// 此处添加url跳转参数保存逻辑
|
|
24730
|
+
if (this.jumpParamKey && this.isHaveJumpUrl && (this.modelName == 'data.' + con['target'][0] || this.modelName.includes('item.') && con['target'][0].endsWith(this.modelName.split('.')[1]))) {
|
|
24731
|
+
let jumpParamKey = this.jumpParamKey;
|
|
24732
|
+
let jumpParamValue = this.jumpParamKey;
|
|
24733
|
+
if (this.jumpParamKey.includes(':')) {
|
|
24734
|
+
jumpParamKey = this.jumpParamKey.split(':')[0];
|
|
24735
|
+
jumpParamValue = this.jumpParamKey.split(':')[1];
|
|
24736
|
+
}
|
|
24737
|
+
val += `${item[con.from]}¯${jumpParamKey}:${this.selectOrgs[index][jumpParamValue]},`;
|
|
24738
|
+
} else {
|
|
24739
|
+
val += item[con.from] + ',';
|
|
24740
|
+
}
|
|
24523
24741
|
});
|
|
24524
24742
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
24525
24743
|
utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
|
|
@@ -24590,19 +24808,36 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24590
24808
|
};
|
|
24591
24809
|
}
|
|
24592
24810
|
//用户输入的
|
|
24811
|
+
let flag = false;
|
|
24593
24812
|
if (this.queryParams.length != 0 && this.queryParams[0] != '') {
|
|
24594
24813
|
this.conditionBind.forEach((item, index) => {
|
|
24814
|
+
// 日期范围特殊处理
|
|
24815
|
+
if (item.dbType == 'date' && item.condition == 'BETWEEN') {
|
|
24816
|
+
if (this.queryParams[index].startDate && !this.queryParams[index].endDate || !this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
24817
|
+
flag = true;
|
|
24818
|
+
this.$message.info('日期范围未填写完整!');
|
|
24819
|
+
return;
|
|
24820
|
+
}
|
|
24821
|
+
if (this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
24822
|
+
this.queryParams[index][item.field] = `${this.queryParams[index].startDate},${this.queryParams[index].endDate}`;
|
|
24823
|
+
} else {
|
|
24824
|
+
this.queryParams[index][item.field] = '';
|
|
24825
|
+
}
|
|
24826
|
+
}
|
|
24595
24827
|
if (this.queryParams[index][item.field]) {
|
|
24596
24828
|
querys.push({
|
|
24597
24829
|
property: item.field,
|
|
24598
24830
|
value: this.queryParams[index][item.field],
|
|
24599
24831
|
group: 'main',
|
|
24600
|
-
operation:
|
|
24832
|
+
operation: item.condition,
|
|
24601
24833
|
relation: 'AND'
|
|
24602
24834
|
});
|
|
24603
24835
|
}
|
|
24604
24836
|
});
|
|
24605
24837
|
}
|
|
24838
|
+
if (flag) {
|
|
24839
|
+
return;
|
|
24840
|
+
}
|
|
24606
24841
|
//参数传入的查询拼接
|
|
24607
24842
|
if (this.param) {
|
|
24608
24843
|
this.param.forEach(item => {
|
|
@@ -24641,13 +24876,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24641
24876
|
queryParamMap.total = pageBean.pageBean.total;
|
|
24642
24877
|
// 添加用户id 岗位id 组织id
|
|
24643
24878
|
try {
|
|
24644
|
-
if (this.$requestConfig.getUserId()) {
|
|
24879
|
+
if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
|
|
24645
24880
|
ctx.userId = this.$requestConfig.getUserId();
|
|
24646
24881
|
}
|
|
24647
|
-
if (this.$requestConfig.getOrgId()) {
|
|
24882
|
+
if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
|
|
24648
24883
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
24649
24884
|
}
|
|
24650
|
-
if (this.$requestConfig.getPostId()) {
|
|
24885
|
+
if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
|
|
24651
24886
|
ctx.postId = this.$requestConfig.getPostId();
|
|
24652
24887
|
}
|
|
24653
24888
|
} catch (e) {
|
|
@@ -24668,12 +24903,14 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24668
24903
|
value: queryParamMap[bindKey] || ctx[bindKey] || ''
|
|
24669
24904
|
};
|
|
24670
24905
|
});
|
|
24671
|
-
param.querys = queryList;
|
|
24906
|
+
param.querys = queryList || [];
|
|
24672
24907
|
if (this.customDialog.needPage) {
|
|
24673
24908
|
param.pageBean = obj;
|
|
24674
24909
|
} else {
|
|
24675
24910
|
param.pageBean.pageSize = -1;
|
|
24676
24911
|
}
|
|
24912
|
+
// 日期格式的 改成数组
|
|
24913
|
+
// this.changeDateFormat(param)
|
|
24677
24914
|
//构造请求的参数
|
|
24678
24915
|
let requestParam = {
|
|
24679
24916
|
pageBean: param,
|
|
@@ -24713,6 +24950,15 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24713
24950
|
}
|
|
24714
24951
|
this.tableRadioVal = '';
|
|
24715
24952
|
},
|
|
24953
|
+
changeDateFormat(param) {
|
|
24954
|
+
let dateValidate1 = /^\d{4}\-\d{2}\-\d{2}$/;
|
|
24955
|
+
let dateValidate2 = /^([1-2][0-9][0-9][0-9]-[0-1]{0,1}[0-9]-[0-3]{0,1}[0-9])\s(20|21|22|23|[0-1]\d):[0-5]\d:[0-5]\d$/;
|
|
24956
|
+
Object.keys(param).forEach(key => {
|
|
24957
|
+
if (param[key] && typeof param[key] == 'string' && param[key].includes(',') && (dateValidate1.test(param[key].split(',')[0]) || dateValidate2.test(param[key].split(',')[0]))) {
|
|
24958
|
+
param[key] = param[key].split(',');
|
|
24959
|
+
}
|
|
24960
|
+
});
|
|
24961
|
+
},
|
|
24716
24962
|
getSearchValueByKey() {
|
|
24717
24963
|
let queryParamsObj = {};
|
|
24718
24964
|
if (this.queryParams.length > 0) {
|
|
@@ -24938,6 +25184,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24938
25184
|
},
|
|
24939
25185
|
// 同步选择结果
|
|
24940
25186
|
syncInputValue() {
|
|
25187
|
+
// 对话框跳转url需要两个参数 1当前控件绑定的对象参数modelName 2对话框配置中配置的key名称
|
|
25188
|
+
// 同步值时,如果有绑定url跳转参数,值格式为 名称¯跳转key:跳转value
|
|
24941
25189
|
let thisIndex = null; //当前数据所在下标
|
|
24942
25190
|
let parentIndex = null; //父节点所在下标
|
|
24943
25191
|
if (this.$parent.$el) {
|
|
@@ -25011,13 +25259,39 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25011
25259
|
}
|
|
25012
25260
|
}
|
|
25013
25261
|
}
|
|
25262
|
+
// 如果是查询中使用的对话框
|
|
25263
|
+
if (this.dialogType == 'search') {
|
|
25264
|
+
let returnVal = [];
|
|
25265
|
+
str.forEach(item => {
|
|
25266
|
+
returnVal.push(decodeURIComponent(item[this.modelName]));
|
|
25267
|
+
});
|
|
25268
|
+
this.$emit('updateInput', returnVal.join(','));
|
|
25269
|
+
return;
|
|
25270
|
+
}
|
|
25014
25271
|
const pInst = utils["a" /* default */].getOnlineFormInstance(this);
|
|
25015
25272
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
25016
25273
|
var val = '';
|
|
25017
25274
|
var from = con.from.toLowerCase();
|
|
25018
25275
|
str.forEach(item => {
|
|
25276
|
+
// 如果有绑定url跳转参数 需获取跳转参数的key
|
|
25019
25277
|
if (item) {
|
|
25020
|
-
|
|
25278
|
+
if (this.jumpParamKey && this.isHaveJumpUrl && (this.modelName == 'data.' + con['target'][0] || this.modelName.includes('item.') && con['target'][0].endsWith(this.modelName.split('.')[1]))) {
|
|
25279
|
+
// 如果有冒号 冒号前面是传值key 后面是取值key
|
|
25280
|
+
let jumpParamKey = this.jumpParamKey;
|
|
25281
|
+
let jumpParamValue = this.jumpParamKey;
|
|
25282
|
+
if (this.jumpParamKey.includes(':')) {
|
|
25283
|
+
jumpParamKey = this.jumpParamKey.split(':')[0];
|
|
25284
|
+
jumpParamValue = this.jumpParamKey.split(':')[1];
|
|
25285
|
+
}
|
|
25286
|
+
// 需根据key 找到对应 返回数据的返回名称
|
|
25287
|
+
let returnMap = returnStr.find(k => {
|
|
25288
|
+
return k.field.toLowerCase() == jumpParamValue.toLowerCase();
|
|
25289
|
+
});
|
|
25290
|
+
let returnMapKey = returnMap ? returnMap.comment : '';
|
|
25291
|
+
val += `${decodeURIComponent(item[from])}¯${jumpParamKey}:${decodeURIComponent(item[returnMapKey])},`;
|
|
25292
|
+
} else {
|
|
25293
|
+
val += decodeURIComponent(item[from]) + ',';
|
|
25294
|
+
}
|
|
25021
25295
|
}
|
|
25022
25296
|
});
|
|
25023
25297
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
@@ -25036,7 +25310,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25036
25310
|
const _val = val.substring(0, val.length - 1);
|
|
25037
25311
|
if (path) {
|
|
25038
25312
|
if (this.modelName && this.modelName.endsWith(path)) {
|
|
25039
|
-
// this.$emit('input', _val)
|
|
25040
25313
|
this.$emit('updateInput', _val);
|
|
25041
25314
|
}
|
|
25042
25315
|
utils["a" /* default */].setValueByPath(pInst, `${pInst.data ? 'data.' : 'model.'}${path}`, _val, thisIndex);
|
|
@@ -25268,8 +25541,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25268
25541
|
});
|
|
25269
25542
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=script&lang=js&
|
|
25270
25543
|
/* harmony default export */ var src_customDialogvue_type_script_lang_js_ = (customDialogvue_type_script_lang_js_);
|
|
25271
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=
|
|
25272
|
-
var
|
|
25544
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=9d63590a&prod&lang=scss&scoped=true&
|
|
25545
|
+
var customDialogvue_type_style_index_0_id_9d63590a_prod_lang_scss_scoped_true_ = __webpack_require__("64374");
|
|
25273
25546
|
|
|
25274
25547
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue
|
|
25275
25548
|
|
|
@@ -25282,31 +25555,47 @@ var customDialogvue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true_ =
|
|
|
25282
25555
|
|
|
25283
25556
|
var customDialog_component = normalizeComponent(
|
|
25284
25557
|
src_customDialogvue_type_script_lang_js_,
|
|
25285
|
-
|
|
25286
|
-
|
|
25558
|
+
customDialogvue_type_template_id_9d63590a_scoped_true_render,
|
|
25559
|
+
customDialogvue_type_template_id_9d63590a_scoped_true_staticRenderFns,
|
|
25287
25560
|
false,
|
|
25288
25561
|
null,
|
|
25289
|
-
"
|
|
25562
|
+
"9d63590a",
|
|
25290
25563
|
null
|
|
25291
25564
|
|
|
25292
25565
|
)
|
|
25293
25566
|
|
|
25294
25567
|
/* harmony default export */ var CustomDialog_src_customDialog = (customDialog_component.exports);
|
|
25295
|
-
// 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=
|
|
25296
|
-
var
|
|
25297
|
-
|
|
25298
|
-
|
|
25299
|
-
|
|
25300
|
-
|
|
25301
|
-
|
|
25302
|
-
|
|
25303
|
-
|
|
25568
|
+
// 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=edd3e5bc&scoped=true&
|
|
25569
|
+
var customMobileDialogvue_type_template_id_edd3e5bc_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('van-action-sheet',{staticClass:"mobile-van-action min-height-action",attrs:{"cancel-text":_vm.sureButtonText,"get-container":"body"},on:{"cancel":_vm.handleDialogSure,"click-overlay":_vm.dialogCancel,"opened":_vm.afterOpen},scopedSlots:_vm._u([{key:"description",fn:function(){return [_c('span',{staticClass:"dialog-mobile__title"},[_vm._v(_vm._s(_vm.customDialog.name))]),_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":_vm.dialogCancel}})]},proxy:true}]),model:{value:(_vm.customDialogShowList),callback:function ($$v) {_vm.customDialogShowList=$$v},expression:"customDialogShowList"}},[[_c('div',{staticClass:"search-box"},[_c('ht-icon',{staticClass:"unfold-icon",attrs:{"scale":"1.2","name":_vm.isShowMoreSearch ? 'upFold' : 'downUnfold'},on:{"click":function($event){_vm.isShowMoreSearch = !_vm.isShowMoreSearch}}}),_vm._l((_vm.conditionBind),function(condition,index){return _c('div',{directives:[{name:"show",rawName:"v-show",value:(index === 0 || (index > 0 && _vm.isShowMoreSearch)),expression:"index === 0 || (index > 0 && isShowMoreSearch)"}],key:index,staticClass:"search-item"},[_c('p',[_vm._v(_vm._s(condition.comment)+":")]),(condition.controllerType == '1')?_c('div',[_c('el-input',{attrs:{"size":"small","clearable":"","placeholder":_vm.placeholders[index]},on:{"change":_vm.searchInputChange},nativeOn:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.hideSearch($event)}},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '2')?_c('div',_vm._l((condition.config.options),function(itemR,$index1){return _c('el-radio',{key:$index1,attrs:{"label":itemR.key},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}},[_vm._v("\n "+_vm._s(itemR.value)+"\n ")])}),1):_vm._e(),(condition.controllerType == '3')?_c('div',[(condition.config.choiceType == 'static')?_c('ht-select',{attrs:{"multiple":condition.config.multiple,"options":condition.config.options,"popper-class":"dialog-select"},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}}):_c('ht-dictionary',{attrs:{"dickey":condition.config.dic,"filterable":condition.config.filterable,"popper-class":"dialog-select"},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '4')?_c('div',[_c('eip-tag',{attrs:{"tag-key":condition.config.tag,"filterable":condition.config.filterable,"expand":condition.config.expand},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '6')?_c('div',[(condition.condition == 'BETWEEN')?_c('div',{staticStyle:{"display":"flex","align-items":"center"}},[_c('ht-input',{attrs:{"placeholder":"开始日期","readonly":""},nativeOn:{"click":function($event){return _vm.showDate(index, 'startDate')}},model:{value:(_vm.queryParams[index].startDate),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "startDate", $$v)},expression:"queryParams[index].startDate"}}),_c('span',{staticStyle:{"margin":"0 10px"}},[_vm._v("至")]),_c('ht-input',{attrs:{"placeholder":"结束日期","readonly":""},nativeOn:{"click":function($event){return _vm.showDate(index, 'endDate')}},model:{value:(_vm.queryParams[index].endDate),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "endDate", $$v)},expression:"queryParams[index].endDate"}})],1):_c('ht-input',{attrs:{"readonly":""},nativeOn:{"click":function($event){return _vm.showDate(index, condition.field)}},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '7')?_c('div',[(condition.config.alias == 'user')?_c('ht-user-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25570
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25571
|
+
}}}):_vm._e(),(condition.config.alias == 'org')?_c('ht-org-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25572
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25573
|
+
}}}):_vm._e(),(condition.config.alias == 'role')?_c('ht-role-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25574
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25575
|
+
}}}):_vm._e(),(condition.config.alias == 'job')?_c('ht-job-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25576
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25577
|
+
}}}):_vm._e(),(condition.config.alias == 'post')?_c('ht-post-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25578
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25579
|
+
}}}):_vm._e(),(condition.config.alias == 'dimension')?_c('ht-dimension-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25580
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25581
|
+
}}}):_vm._e()],1):_vm._e(),(condition.controllerType == '5')?_c('div',[_c('ht-custom-dialog',{attrs:{"model-name":condition.config.keyBind,"dialogType":"search","custdialog":{
|
|
25582
|
+
name: '请选择',
|
|
25583
|
+
icon: '',
|
|
25584
|
+
custDialog: {
|
|
25585
|
+
selectNum: 1,
|
|
25586
|
+
conditions: [],
|
|
25587
|
+
mappingConf: [],
|
|
25588
|
+
custQueryJson: [],
|
|
25589
|
+
alias: condition.config.alias,
|
|
25590
|
+
type: 'custDialog',
|
|
25591
|
+
},
|
|
25592
|
+
}},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e()])}),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isShowMoreSearch),expression:"isShowMoreSearch"}],staticClass:"search-btns"},[_c('el-button',{staticStyle:{"margin-left":"20px"},attrs:{"size":"small","type":"primary"},on:{"click":_vm.hideSearch}},[_vm._v("\n 搜索\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.reset}},[_vm._v("重置")])],1)],2)],(_vm.customDialog.style == 2)?_c('van-popover',{staticClass:"custom-dialog-popover",attrs:{"trigger":"click"},scopedSlots:_vm._u([{key:"reference",fn:function(){return [_c('div',{staticClass:"mobile-tree-select"},[(_vm.treeSelectText)?_c('span',{staticClass:"active-text"},[_vm._v("\n "+_vm._s(_vm.treeSelectText)+"\n ")]):_c('span',[_vm._v("请选择"+_vm._s(_vm.leftTreeTitle))]),(_vm.treeSelectText)?_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":function($event){$event.stopPropagation();return _vm.clearTreeSelect($event)}}}):_vm._e()],1)]},proxy:true}],null,false,3189508719),model:{value:(_vm.isSelectTreeShow),callback:function ($$v) {_vm.isSelectTreeShow=$$v},expression:"isSelectTreeShow"}},[_c('div',{staticClass:"custom-dialog-popover_content"},[_c('el-tree',{ref:"combinationTree",attrs:{"data":_vm.combinationTreeData,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","check-on-click-node":true},on:{"node-click":_vm.combiTreeClick}})],1)]):_vm._e(),_c('van-pull-refresh',{on:{"refresh":_vm.onRefresh},model:{value:(_vm.isDownLoading),callback:function ($$v) {_vm.isDownLoading=$$v},expression:"isDownLoading"}},[_c('van-list',{attrs:{"finished":_vm.finished,"finished-text":"没有更多了","offset":20,"immediate-check":false},on:{"load":_vm.loadMore},model:{value:(_vm.isPullLoading),callback:function ($$v) {_vm.isPullLoading=$$v},expression:"isPullLoading"}},_vm._l((_vm.dialogData),function(item,index){return _c('van-cell',{key:index,attrs:{"clickable":""},scopedSlots:_vm._u([{key:"icon",fn:function(){return [_c('van-checkbox',{attrs:{"value":_vm.indexArray(_vm.selectIds, item) > -1,"shape":_vm.customDialog.selectNum === 1 ? 'round' : 'square'},on:{"click":function($event){return _vm.checkboxChange(item)}}})]},proxy:true}],null,true)},[_c('div',{staticClass:"custom-mobile_box"},_vm._l((_vm.sortDisplayfield),function(field){return _c('div',{key:field.field,staticClass:"custom-mobile_box_item"},[_c('label',[_vm._v(_vm._s(field.comment)+":")]),_c('div',[_vm._v(_vm._s(item[field.field]))])])}),0)])}),1)],1)],2),_c('van-action-sheet',{staticClass:"mobile-van-action",attrs:{"cancel-text":_vm.sureButtonText,"get-container":"body"},on:{"cancel":_vm.handleSave},scopedSlots:_vm._u([{key:"description",fn:function(){return [_c('span',{staticClass:"dialog-mobile__title"},[_vm._v("动态传入参数查询")]),_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":function($event){_vm.dialogVisible = false}}})]},proxy:true}]),model:{value:(_vm.dialogVisible),callback:function ($$v) {_vm.dialogVisible=$$v},expression:"dialogVisible"}},[_c('van-cell-group',_vm._l((_vm.conditionfieldTree.filter(
|
|
25304
25593
|
function (k) { return k.defaultType == '4'; }
|
|
25305
|
-
)),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)}
|
|
25306
|
-
var
|
|
25594
|
+
)),function(item,$index){return _c('div',{key:$index},[(item.type != 'date')?_c('van-field',{attrs:{"label":item.comment,"placeholder":'请输入' + item.comment},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e(),(item.type == 'date')?_c('ht-date',{staticStyle:{"width":"100%"},attrs:{"placeholder":'请选择' + item.comment,"format":"yyyy-MM-dd"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e()],1)}),0)],1),_c('van-action-sheet',{staticClass:"mobile-van-action",attrs:{"cancel-text":_vm.sureButtonText,"get-container":"body"},on:{"cancel":_vm.dialogTreeConfirm},scopedSlots:_vm._u([{key:"description",fn:function(){return [_c('span',{staticClass:"dialog-mobile__title"},[_vm._v(_vm._s(_vm.customDialog.name))]),_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":_vm.dialogCancelTree}})]},proxy:true}]),model:{value:(_vm.customDialogShowTree),callback:function ($$v) {_vm.customDialogShowTree=$$v},expression:"customDialogShowTree"}},[_c('el-tree',{ref:"tree",staticStyle:{"width":"100%"},attrs:{"data":_vm.props1,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","show-checkbox":_vm.customDialog.selectNum === -1,"check-on-click-node":true,"check-strictly":false,"lazy":"","load":_vm.loadTree,"default-expanded-keys":_vm.defaultExpandedKeys},on:{"node-click":_vm.treeClick,"check-change":_vm.getChecked}})],1),(_vm.isShowDatePop)?_c('van-popup',{attrs:{"position":"bottom","round":""},model:{value:(_vm.isShowDatePop),callback:function ($$v) {_vm.isShowDatePop=$$v},expression:"isShowDatePop"}},[_c('van-datetime-picker',{attrs:{"type":_vm.dateType,"title":"选择日期","show-toolbar":true},on:{"cancel":function($event){_vm.isShowDatePop = false},"confirm":_vm.confirmFn},model:{value:(_vm.currentDate),callback:function ($$v) {_vm.currentDate=$$v},expression:"currentDate"}})],1):_vm._e()],1)}
|
|
25595
|
+
var customMobileDialogvue_type_template_id_edd3e5bc_scoped_true_staticRenderFns = []
|
|
25307
25596
|
|
|
25308
25597
|
|
|
25309
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=
|
|
25598
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=edd3e5bc&scoped=true&
|
|
25310
25599
|
|
|
25311
25600
|
// 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&
|
|
25312
25601
|
//
|
|
@@ -25567,6 +25856,116 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25567
25856
|
//
|
|
25568
25857
|
//
|
|
25569
25858
|
//
|
|
25859
|
+
//
|
|
25860
|
+
//
|
|
25861
|
+
//
|
|
25862
|
+
//
|
|
25863
|
+
//
|
|
25864
|
+
//
|
|
25865
|
+
//
|
|
25866
|
+
//
|
|
25867
|
+
//
|
|
25868
|
+
//
|
|
25869
|
+
//
|
|
25870
|
+
//
|
|
25871
|
+
//
|
|
25872
|
+
//
|
|
25873
|
+
//
|
|
25874
|
+
//
|
|
25875
|
+
//
|
|
25876
|
+
//
|
|
25877
|
+
//
|
|
25878
|
+
//
|
|
25879
|
+
//
|
|
25880
|
+
//
|
|
25881
|
+
//
|
|
25882
|
+
//
|
|
25883
|
+
//
|
|
25884
|
+
//
|
|
25885
|
+
//
|
|
25886
|
+
//
|
|
25887
|
+
//
|
|
25888
|
+
//
|
|
25889
|
+
//
|
|
25890
|
+
//
|
|
25891
|
+
//
|
|
25892
|
+
//
|
|
25893
|
+
//
|
|
25894
|
+
//
|
|
25895
|
+
//
|
|
25896
|
+
//
|
|
25897
|
+
//
|
|
25898
|
+
//
|
|
25899
|
+
//
|
|
25900
|
+
//
|
|
25901
|
+
//
|
|
25902
|
+
//
|
|
25903
|
+
//
|
|
25904
|
+
//
|
|
25905
|
+
//
|
|
25906
|
+
//
|
|
25907
|
+
//
|
|
25908
|
+
//
|
|
25909
|
+
//
|
|
25910
|
+
//
|
|
25911
|
+
//
|
|
25912
|
+
//
|
|
25913
|
+
//
|
|
25914
|
+
//
|
|
25915
|
+
//
|
|
25916
|
+
//
|
|
25917
|
+
//
|
|
25918
|
+
//
|
|
25919
|
+
//
|
|
25920
|
+
//
|
|
25921
|
+
//
|
|
25922
|
+
//
|
|
25923
|
+
//
|
|
25924
|
+
//
|
|
25925
|
+
//
|
|
25926
|
+
//
|
|
25927
|
+
//
|
|
25928
|
+
//
|
|
25929
|
+
//
|
|
25930
|
+
//
|
|
25931
|
+
//
|
|
25932
|
+
//
|
|
25933
|
+
//
|
|
25934
|
+
//
|
|
25935
|
+
//
|
|
25936
|
+
//
|
|
25937
|
+
//
|
|
25938
|
+
//
|
|
25939
|
+
//
|
|
25940
|
+
//
|
|
25941
|
+
//
|
|
25942
|
+
//
|
|
25943
|
+
//
|
|
25944
|
+
//
|
|
25945
|
+
//
|
|
25946
|
+
//
|
|
25947
|
+
//
|
|
25948
|
+
//
|
|
25949
|
+
//
|
|
25950
|
+
//
|
|
25951
|
+
//
|
|
25952
|
+
//
|
|
25953
|
+
//
|
|
25954
|
+
//
|
|
25955
|
+
//
|
|
25956
|
+
//
|
|
25957
|
+
//
|
|
25958
|
+
//
|
|
25959
|
+
//
|
|
25960
|
+
//
|
|
25961
|
+
//
|
|
25962
|
+
//
|
|
25963
|
+
//
|
|
25964
|
+
//
|
|
25965
|
+
//
|
|
25966
|
+
//
|
|
25967
|
+
//
|
|
25968
|
+
//
|
|
25570
25969
|
|
|
25571
25970
|
|
|
25572
25971
|
|
|
@@ -25588,10 +25987,17 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25588
25987
|
subIndex: Number,
|
|
25589
25988
|
sunIndex: Number,
|
|
25590
25989
|
subPath: String,
|
|
25591
|
-
currentSubData: Array
|
|
25990
|
+
currentSubData: Array,
|
|
25991
|
+
dialogConfig: Object,
|
|
25992
|
+
dialogType: String
|
|
25592
25993
|
},
|
|
25593
25994
|
data() {
|
|
25594
25995
|
return {
|
|
25996
|
+
dateType: 'date',
|
|
25997
|
+
currentDate: '',
|
|
25998
|
+
// 当前日期
|
|
25999
|
+
isShowDatePop: false,
|
|
26000
|
+
// 是否显示日期选择控件
|
|
25595
26001
|
isShowMoreSearch: false,
|
|
25596
26002
|
treeSelectText: '',
|
|
25597
26003
|
// 组合树时选中的查询条件
|
|
@@ -25671,9 +26077,49 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25671
26077
|
sureButtonText() {
|
|
25672
26078
|
const selectedText = this.selectIds.length > 0 ? `(${this.selectIds.length})` : '';
|
|
25673
26079
|
return `${this.$t('ht.common.confirm')}${selectedText}`;
|
|
26080
|
+
},
|
|
26081
|
+
jumpParamKey() {
|
|
26082
|
+
return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
|
|
26083
|
+
},
|
|
26084
|
+
// 是否保存成跳转url参数
|
|
26085
|
+
isHaveJumpUrl() {
|
|
26086
|
+
return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
26087
|
+
},
|
|
26088
|
+
sortDisplayfield() {
|
|
26089
|
+
let reverseArr = JSON.parse(JSON.stringify(this.displayfield));
|
|
26090
|
+
reverseArr.reverse();
|
|
26091
|
+
return reverseArr.sort((a, b) => {
|
|
26092
|
+
return a.sort > b.sort ? 1 : -1;
|
|
26093
|
+
});
|
|
25674
26094
|
}
|
|
25675
26095
|
},
|
|
25676
26096
|
methods: {
|
|
26097
|
+
// 获取已选择的选择器数据id
|
|
26098
|
+
getSelectId(data) {
|
|
26099
|
+
if (!data || !data.length) {
|
|
26100
|
+
return '';
|
|
26101
|
+
}
|
|
26102
|
+
let ids = [];
|
|
26103
|
+
data.forEach(item => {
|
|
26104
|
+
ids.push(item.id);
|
|
26105
|
+
});
|
|
26106
|
+
return ids.join(',');
|
|
26107
|
+
},
|
|
26108
|
+
showDate(index, key) {
|
|
26109
|
+
this.dateType = this.conditionBind[index].config.inputFormat.includes('mm:') ? 'datetime' : 'date';
|
|
26110
|
+
this.currentDateData = {
|
|
26111
|
+
index,
|
|
26112
|
+
key
|
|
26113
|
+
};
|
|
26114
|
+
this.currentDate = this.queryParams[index][key] ? new Date(this.queryParams[index][key].replace(/-/g, '/')) : new Date();
|
|
26115
|
+
this.isShowDatePop = true;
|
|
26116
|
+
},
|
|
26117
|
+
// 日期确认
|
|
26118
|
+
confirmFn() {
|
|
26119
|
+
let currentConfig = this.conditionBind[this.currentDateData.index];
|
|
26120
|
+
this.queryParams[this.currentDateData.index][this.currentDateData.key] = this.currentDate.format(currentConfig.config.inputFormat);
|
|
26121
|
+
this.isShowDatePop = false;
|
|
26122
|
+
},
|
|
25677
26123
|
searchInputChange() {
|
|
25678
26124
|
if (!this.isShowMoreSearch) {
|
|
25679
26125
|
this.search(true);
|
|
@@ -25719,112 +26165,121 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25719
26165
|
this.search(true);
|
|
25720
26166
|
},
|
|
25721
26167
|
showDialog() {
|
|
25722
|
-
const this_ = this;
|
|
25723
26168
|
this.fixedParams = {};
|
|
26169
|
+
// 如果已存在配置信息就不去请求配置信息 直接初始化数据
|
|
26170
|
+
if (this.dialogConfig) {
|
|
26171
|
+
this.initDialog(this.dialogConfig);
|
|
26172
|
+
return;
|
|
26173
|
+
}
|
|
25724
26174
|
var alias = this.custdialog.custDialog.alias;
|
|
25725
26175
|
this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
|
|
25726
|
-
|
|
25727
|
-
|
|
25728
|
-
|
|
25729
|
-
|
|
25730
|
-
|
|
25731
|
-
|
|
25732
|
-
|
|
25733
|
-
|
|
25734
|
-
|
|
25735
|
-
|
|
25736
|
-
|
|
25737
|
-
|
|
25738
|
-
|
|
25739
|
-
|
|
25740
|
-
|
|
25741
|
-
|
|
25742
|
-
|
|
25743
|
-
|
|
25744
|
-
|
|
25745
|
-
|
|
25746
|
-
|
|
26176
|
+
this.initDialog(customDialog);
|
|
26177
|
+
});
|
|
26178
|
+
},
|
|
26179
|
+
initDialog(customDialog) {
|
|
26180
|
+
let alias = this.custdialog.custDialog.alias;
|
|
26181
|
+
const this_ = this;
|
|
26182
|
+
if (!customDialog || !customDialog.alias) {
|
|
26183
|
+
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
26184
|
+
return;
|
|
26185
|
+
}
|
|
26186
|
+
if (customDialog.style == 1) {
|
|
26187
|
+
var displaylist = JSON.parse(customDialog.displayfield);
|
|
26188
|
+
this_.nodeKey = displaylist.id;
|
|
26189
|
+
}
|
|
26190
|
+
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
26191
|
+
let obj = {};
|
|
26192
|
+
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
26193
|
+
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
26194
|
+
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
26195
|
+
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
26196
|
+
if (exp) {
|
|
26197
|
+
const params = JSON.parse(exp);
|
|
26198
|
+
if (params.pageBean) {
|
|
26199
|
+
this.pagination = {
|
|
26200
|
+
...params.pageBean
|
|
26201
|
+
};
|
|
25747
26202
|
}
|
|
25748
26203
|
}
|
|
25749
|
-
|
|
25750
|
-
|
|
25751
|
-
|
|
25752
|
-
|
|
25753
|
-
|
|
25754
|
-
|
|
25755
|
-
|
|
25756
|
-
|
|
25757
|
-
|
|
25758
|
-
|
|
25759
|
-
|
|
25760
|
-
|
|
25761
|
-
|
|
25762
|
-
|
|
25763
|
-
|
|
25764
|
-
|
|
25765
|
-
|
|
25766
|
-
}
|
|
25767
|
-
}
|
|
26204
|
+
}
|
|
26205
|
+
//对话框按表单字段查询(参数传入的)
|
|
26206
|
+
let bindList = this_.custdialog.custDialog.conditions;
|
|
26207
|
+
this_.param = []; //绑定的表单字段
|
|
26208
|
+
if (bindList.length > 0) {
|
|
26209
|
+
bindList.forEach(ele => {
|
|
26210
|
+
//绑定表单字段
|
|
26211
|
+
if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
|
|
26212
|
+
let obj = {};
|
|
26213
|
+
obj.field = ele.field;
|
|
26214
|
+
obj.bind = ele.bind;
|
|
26215
|
+
obj.bindType = ele.bindType;
|
|
26216
|
+
this_.param.push(obj);
|
|
26217
|
+
}
|
|
26218
|
+
// bindType 1 表单字段 2固定 3脚本
|
|
26219
|
+
if (ele.defaultType == '3' && ele.bindType === 2) {
|
|
26220
|
+
this_.fixedParams[ele.field] = ele.bind || '';
|
|
26221
|
+
}
|
|
26222
|
+
});
|
|
26223
|
+
}
|
|
25768
26224
|
|
|
25769
|
-
|
|
25770
|
-
|
|
25771
|
-
|
|
25772
|
-
|
|
25773
|
-
|
|
25774
|
-
|
|
25775
|
-
|
|
25776
|
-
|
|
25777
|
-
|
|
25778
|
-
|
|
25779
|
-
|
|
25780
|
-
|
|
25781
|
-
|
|
25782
|
-
|
|
25783
|
-
|
|
25784
|
-
|
|
25785
|
-
|
|
25786
|
-
|
|
25787
|
-
|
|
25788
|
-
|
|
25789
|
-
|
|
25790
|
-
|
|
25791
|
-
|
|
25792
|
-
|
|
25793
|
-
|
|
25794
|
-
|
|
25795
|
-
|
|
25796
|
-
|
|
25797
|
-
|
|
25798
|
-
|
|
25799
|
-
|
|
25800
|
-
|
|
25801
|
-
|
|
25802
|
-
|
|
25803
|
-
|
|
25804
|
-
|
|
25805
|
-
|
|
25806
|
-
|
|
25807
|
-
|
|
25808
|
-
|
|
25809
|
-
|
|
25810
|
-
|
|
25811
|
-
|
|
25812
|
-
|
|
25813
|
-
|
|
25814
|
-
|
|
25815
|
-
}
|
|
26225
|
+
//判断对话框查询是否有条件
|
|
26226
|
+
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
26227
|
+
this_.conditionBind = [];
|
|
26228
|
+
let queryParams = [];
|
|
26229
|
+
let placeholders = [];
|
|
26230
|
+
if (userInputList.length > 0) {
|
|
26231
|
+
userInputList.forEach(ele => {
|
|
26232
|
+
var obj = {};
|
|
26233
|
+
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
26234
|
+
if (ele.defaultType == '1') {
|
|
26235
|
+
obj[ele.field] = '';
|
|
26236
|
+
queryParams.push(obj);
|
|
26237
|
+
// queryParams[ele.field] = "";
|
|
26238
|
+
this_.conditionBind.push(ele);
|
|
26239
|
+
placeholders.push('请输入' + ele.comment);
|
|
26240
|
+
}
|
|
26241
|
+
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
26242
|
+
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
26243
|
+
}
|
|
26244
|
+
});
|
|
26245
|
+
this.$set(this, 'queryParams', queryParams);
|
|
26246
|
+
this.$set(this, 'placeholders', placeholders);
|
|
26247
|
+
}
|
|
26248
|
+
if (customDialog.style == 0 || customDialog.style == 2) {
|
|
26249
|
+
//列表
|
|
26250
|
+
this_.customDialogShow({
|
|
26251
|
+
alias: alias,
|
|
26252
|
+
customDialog: customDialog
|
|
26253
|
+
});
|
|
26254
|
+
} else if (customDialog.style == 1) {
|
|
26255
|
+
//树形
|
|
26256
|
+
this_.pageParam = {
|
|
26257
|
+
alias: alias,
|
|
26258
|
+
customDialog: customDialog
|
|
26259
|
+
};
|
|
26260
|
+
this_.customDialog = customDialog;
|
|
26261
|
+
let param = {};
|
|
26262
|
+
this_.conditionfieldTree = [];
|
|
26263
|
+
//判断是否存在条件
|
|
26264
|
+
if (customDialog.conditionfield) {
|
|
26265
|
+
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
26266
|
+
if (this_.conditionfieldTree.length > 0) {
|
|
26267
|
+
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
26268
|
+
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
26269
|
+
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
26270
|
+
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
25816
26271
|
}
|
|
25817
26272
|
}
|
|
25818
26273
|
}
|
|
25819
|
-
//有动态传入的字段
|
|
25820
|
-
if (JSON.stringify(param) != '{}') {
|
|
25821
|
-
this_.dialogVisible = true;
|
|
25822
|
-
} else {
|
|
25823
|
-
//无动态传入的字段
|
|
25824
|
-
this_.customDialogTreeShow(this_.pageParam);
|
|
25825
|
-
}
|
|
25826
26274
|
}
|
|
25827
|
-
|
|
26275
|
+
//有动态传入的字段
|
|
26276
|
+
if (JSON.stringify(param) != '{}') {
|
|
26277
|
+
this_.dialogVisible = true;
|
|
26278
|
+
} else {
|
|
26279
|
+
//无动态传入的字段
|
|
26280
|
+
this_.customDialogTreeShow(this_.pageParam);
|
|
26281
|
+
}
|
|
26282
|
+
}
|
|
25828
26283
|
},
|
|
25829
26284
|
treeClick(data) {
|
|
25830
26285
|
// 单选
|
|
@@ -25942,13 +26397,13 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25942
26397
|
}
|
|
25943
26398
|
// 添加用户id 岗位id 组织id
|
|
25944
26399
|
try {
|
|
25945
|
-
if (this.$requestConfig.getUserId()) {
|
|
26400
|
+
if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
|
|
25946
26401
|
ctx.userId = this.$requestConfig.getUserId();
|
|
25947
26402
|
}
|
|
25948
|
-
if (this.$requestConfig.getOrgId()) {
|
|
26403
|
+
if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
|
|
25949
26404
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
25950
26405
|
}
|
|
25951
|
-
if (this.$requestConfig.getPostId()) {
|
|
26406
|
+
if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
|
|
25952
26407
|
ctx.postId = this.$requestConfig.getPostId();
|
|
25953
26408
|
}
|
|
25954
26409
|
} catch (e) {
|
|
@@ -26033,8 +26488,20 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26033
26488
|
this.selectOrgs = this.convertComment2Field(str, field);
|
|
26034
26489
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
26035
26490
|
var val = '';
|
|
26036
|
-
str.forEach(item => {
|
|
26037
|
-
|
|
26491
|
+
str.forEach((item, index) => {
|
|
26492
|
+
// 此处添加url跳转参数保存逻辑
|
|
26493
|
+
if (this.jumpParamKey && this.isHaveJumpUrl && (this.modelName == 'data.' + con['target'][0] || this.modelName.includes('item.') && con['target'][0].endsWith(this.modelName.split('.')[1]))) {
|
|
26494
|
+
// 如果有冒号 冒号前面是传值key 后面是取值key
|
|
26495
|
+
let jumpParamKey = this.jumpParamKey;
|
|
26496
|
+
let jumpParamValue = this.jumpParamKey;
|
|
26497
|
+
if (this.jumpParamKey.includes(':')) {
|
|
26498
|
+
jumpParamKey = this.jumpParamKey.split(':')[0];
|
|
26499
|
+
jumpParamValue = this.jumpParamKey.split(':')[1];
|
|
26500
|
+
}
|
|
26501
|
+
val += `${item[con.from]}¯${jumpParamKey}:${this.selectOrgs[index][jumpParamValue]},`;
|
|
26502
|
+
} else {
|
|
26503
|
+
val += item[con.from] + ',';
|
|
26504
|
+
}
|
|
26038
26505
|
});
|
|
26039
26506
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
26040
26507
|
utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
|
|
@@ -26107,6 +26574,19 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26107
26574
|
//用户输入的
|
|
26108
26575
|
if (this.queryParams.length != 0 && this.queryParams[0] != '') {
|
|
26109
26576
|
this.conditionBind.forEach((item, index) => {
|
|
26577
|
+
// 日期范围特殊处理
|
|
26578
|
+
if (item.dbType == 'date' && item.condition == 'BETWEEN') {
|
|
26579
|
+
if (this.queryParams[index].startDate && !this.queryParams[index].endDate || !this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
26580
|
+
flag = true;
|
|
26581
|
+
this.$message.info('日期范围未填写完整!');
|
|
26582
|
+
return;
|
|
26583
|
+
}
|
|
26584
|
+
if (this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
26585
|
+
this.queryParams[index][item.field] = `${this.queryParams[index].startDate},${this.queryParams[index].endDate}`;
|
|
26586
|
+
} else {
|
|
26587
|
+
this.queryParams[index][item.field] = '';
|
|
26588
|
+
}
|
|
26589
|
+
}
|
|
26110
26590
|
if (this.queryParams[index][item.field]) {
|
|
26111
26591
|
querys.push({
|
|
26112
26592
|
property: item.field,
|
|
@@ -26155,13 +26635,13 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26155
26635
|
ctx.total = pageBean.pageBean.total;
|
|
26156
26636
|
// 添加用户id 岗位id 组织id
|
|
26157
26637
|
try {
|
|
26158
|
-
if (this.$requestConfig.getUserId()) {
|
|
26638
|
+
if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
|
|
26159
26639
|
ctx.userId = this.$requestConfig.getUserId();
|
|
26160
26640
|
}
|
|
26161
|
-
if (this.$requestConfig.getOrgId()) {
|
|
26641
|
+
if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
|
|
26162
26642
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
26163
26643
|
}
|
|
26164
|
-
if (this.$requestConfig.getPostId()) {
|
|
26644
|
+
if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
|
|
26165
26645
|
ctx.postId = this.$requestConfig.getPostId();
|
|
26166
26646
|
}
|
|
26167
26647
|
} catch (e) {
|
|
@@ -26189,6 +26669,8 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26189
26669
|
} else {
|
|
26190
26670
|
param.pageBean.pageSize = -1;
|
|
26191
26671
|
}
|
|
26672
|
+
// 日期格式的 改成数组
|
|
26673
|
+
// this.changeDateFormat(param)
|
|
26192
26674
|
//构造请求的参数
|
|
26193
26675
|
let requestParam = {
|
|
26194
26676
|
pageBean: param,
|
|
@@ -26224,6 +26706,15 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26224
26706
|
}
|
|
26225
26707
|
}
|
|
26226
26708
|
},
|
|
26709
|
+
changeDateFormat(param) {
|
|
26710
|
+
let dateValidate1 = /^\d{4}\-\d{2}\-\d{2}$/;
|
|
26711
|
+
let dateValidate2 = /^([1-2][0-9][0-9][0-9]-[0-1]{0,1}[0-9]-[0-3]{0,1}[0-9])\s(20|21|22|23|[0-1]\d):[0-5]\d:[0-5]\d$/;
|
|
26712
|
+
Object.keys(param).forEach(key => {
|
|
26713
|
+
if (param[key] && typeof param[key] == 'string' && param[key].includes(',') && (dateValidate1.test(param[key].split(',')[0]) || dateValidate2.test(param[key].split(',')[0]))) {
|
|
26714
|
+
param[key] = param[key].split(',');
|
|
26715
|
+
}
|
|
26716
|
+
});
|
|
26717
|
+
},
|
|
26227
26718
|
getSearchValueByKey() {
|
|
26228
26719
|
let queryParamsObj = {};
|
|
26229
26720
|
if (this.queryParams.length > 0) {
|
|
@@ -26422,13 +26913,37 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26422
26913
|
}
|
|
26423
26914
|
}
|
|
26424
26915
|
}
|
|
26916
|
+
// 如果是查询中使用的对话框
|
|
26917
|
+
if (this.dialogType == 'search') {
|
|
26918
|
+
let returnVal = [];
|
|
26919
|
+
str.forEach(item => {
|
|
26920
|
+
returnVal.push(decodeURIComponent(item[this.modelName]));
|
|
26921
|
+
});
|
|
26922
|
+
this.$emit('updateInput', returnVal.join(','));
|
|
26923
|
+
return;
|
|
26924
|
+
}
|
|
26425
26925
|
const pInst = utils["a" /* default */].getOnlineFormInstance(this);
|
|
26426
26926
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
26427
26927
|
var val = '';
|
|
26428
26928
|
var from = con.from.toLowerCase();
|
|
26429
26929
|
str.forEach(item => {
|
|
26430
26930
|
if (item) {
|
|
26431
|
-
|
|
26931
|
+
if (this.jumpParamKey && this.isHaveJumpUrl && (this.modelName == 'data.' + con['target'][0] || this.modelName.includes('item.') && con['target'][0].endsWith(this.modelName.split('.')[1]))) {
|
|
26932
|
+
let jumpParamKey = this.jumpParamKey;
|
|
26933
|
+
let jumpParamValue = this.jumpParamKey;
|
|
26934
|
+
if (this.jumpParamKey.includes(':')) {
|
|
26935
|
+
jumpParamKey = this.jumpParamKey.split(':')[0];
|
|
26936
|
+
jumpParamValue = this.jumpParamKey.split(':')[1];
|
|
26937
|
+
}
|
|
26938
|
+
// 需根据key 找到对应 返回数据的返回名称
|
|
26939
|
+
let returnMap = returnStr.find(k => {
|
|
26940
|
+
return k.field.toLowerCase() == jumpParamValue.toLowerCase();
|
|
26941
|
+
});
|
|
26942
|
+
let returnMapKey = returnMap ? returnMap.comment : '';
|
|
26943
|
+
val += `${decodeURIComponent(item[from])}¯${jumpParamKey}:${decodeURIComponent(item[returnMapKey])},`;
|
|
26944
|
+
} else {
|
|
26945
|
+
val += decodeURIComponent(item[from]) + ',';
|
|
26946
|
+
}
|
|
26432
26947
|
}
|
|
26433
26948
|
});
|
|
26434
26949
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
@@ -26465,20 +26980,6 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26465
26980
|
}
|
|
26466
26981
|
}
|
|
26467
26982
|
},
|
|
26468
|
-
// getSelected() {
|
|
26469
|
-
// let arr = []
|
|
26470
|
-
// this.selectIds.forEach((item) => {
|
|
26471
|
-
// debugger
|
|
26472
|
-
// let obj = this.dialogData.find((sub) => {
|
|
26473
|
-
// return sub.id_ === item
|
|
26474
|
-
// })
|
|
26475
|
-
// if (obj) {
|
|
26476
|
-
// arr.push(obj)
|
|
26477
|
-
// }
|
|
26478
|
-
// })
|
|
26479
|
-
|
|
26480
|
-
// return arr
|
|
26481
|
-
// },
|
|
26482
26983
|
calacInputSuffixHeight() {
|
|
26483
26984
|
this.$emit('calacInputSuffixHeight');
|
|
26484
26985
|
},
|
|
@@ -26680,11 +27181,11 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26680
27181
|
});
|
|
26681
27182
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=script&lang=js&
|
|
26682
27183
|
/* harmony default export */ var src_customMobileDialogvue_type_script_lang_js_ = (customMobileDialogvue_type_script_lang_js_);
|
|
26683
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=
|
|
26684
|
-
var
|
|
27184
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=edd3e5bc&prod&lang=scss&scoped=true&
|
|
27185
|
+
var customMobileDialogvue_type_style_index_0_id_edd3e5bc_prod_lang_scss_scoped_true_ = __webpack_require__("3a4c");
|
|
26685
27186
|
|
|
26686
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=
|
|
26687
|
-
var
|
|
27187
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=edd3e5bc&prod&lang=scss&
|
|
27188
|
+
var customMobileDialogvue_type_style_index_1_id_edd3e5bc_prod_lang_scss_ = __webpack_require__("87f5");
|
|
26688
27189
|
|
|
26689
27190
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue
|
|
26690
27191
|
|
|
@@ -26698,11 +27199,11 @@ var customMobileDialogvue_type_style_index_1_id_1661eebb_prod_lang_scss_ = __web
|
|
|
26698
27199
|
|
|
26699
27200
|
var customMobileDialog_component = normalizeComponent(
|
|
26700
27201
|
src_customMobileDialogvue_type_script_lang_js_,
|
|
26701
|
-
|
|
26702
|
-
|
|
27202
|
+
customMobileDialogvue_type_template_id_edd3e5bc_scoped_true_render,
|
|
27203
|
+
customMobileDialogvue_type_template_id_edd3e5bc_scoped_true_staticRenderFns,
|
|
26703
27204
|
false,
|
|
26704
27205
|
null,
|
|
26705
|
-
"
|
|
27206
|
+
"edd3e5bc",
|
|
26706
27207
|
null
|
|
26707
27208
|
|
|
26708
27209
|
)
|
|
@@ -26846,6 +27347,40 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26846
27347
|
//
|
|
26847
27348
|
//
|
|
26848
27349
|
//
|
|
27350
|
+
//
|
|
27351
|
+
//
|
|
27352
|
+
//
|
|
27353
|
+
//
|
|
27354
|
+
//
|
|
27355
|
+
//
|
|
27356
|
+
//
|
|
27357
|
+
//
|
|
27358
|
+
//
|
|
27359
|
+
//
|
|
27360
|
+
//
|
|
27361
|
+
//
|
|
27362
|
+
//
|
|
27363
|
+
//
|
|
27364
|
+
//
|
|
27365
|
+
//
|
|
27366
|
+
//
|
|
27367
|
+
//
|
|
27368
|
+
//
|
|
27369
|
+
//
|
|
27370
|
+
//
|
|
27371
|
+
//
|
|
27372
|
+
//
|
|
27373
|
+
//
|
|
27374
|
+
//
|
|
27375
|
+
//
|
|
27376
|
+
//
|
|
27377
|
+
//
|
|
27378
|
+
//
|
|
27379
|
+
//
|
|
27380
|
+
//
|
|
27381
|
+
//
|
|
27382
|
+
//
|
|
27383
|
+
//
|
|
26849
27384
|
|
|
26850
27385
|
|
|
26851
27386
|
|
|
@@ -26877,10 +27412,19 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26877
27412
|
subIndex: Number,
|
|
26878
27413
|
sunIndex: Number,
|
|
26879
27414
|
subPath: String,
|
|
26880
|
-
currentSubData: Array
|
|
27415
|
+
currentSubData: Array,
|
|
27416
|
+
dialogType: {
|
|
27417
|
+
// search表示在查询条件使用 form表示在表单中使用
|
|
27418
|
+
type: String,
|
|
27419
|
+
default: 'form'
|
|
27420
|
+
}
|
|
26881
27421
|
},
|
|
26882
27422
|
data() {
|
|
26883
27423
|
return {
|
|
27424
|
+
mobileSrc: '',
|
|
27425
|
+
isDialogFormShow: false,
|
|
27426
|
+
dialogConfig: null,
|
|
27427
|
+
// 对话框配置信息
|
|
26884
27428
|
isEditInputShow: false,
|
|
26885
27429
|
customValue: '',
|
|
26886
27430
|
defualtTooltipplacement: 'bottom',
|
|
@@ -26929,9 +27473,24 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26929
27473
|
}
|
|
26930
27474
|
let result = [];
|
|
26931
27475
|
nameAry.forEach(m => {
|
|
26932
|
-
|
|
26933
|
-
|
|
26934
|
-
};
|
|
27476
|
+
// 带url跳转参数的 使用上横杆区分参数 值格式为 名称¯跳转key:跳转value
|
|
27477
|
+
// 上横向保存数据库后 有可能被改变此处兼容写了一种上横线
|
|
27478
|
+
let n = {};
|
|
27479
|
+
if (m.includes('¯') && m.split('¯')[1] || m.includes('ˉ') && m.split('ˉ')[1]) {
|
|
27480
|
+
let val1 = m.includes('¯') ? m.split('¯')[0] : m.split('ˉ')[0];
|
|
27481
|
+
let val2 = m.includes('¯') ? m.split('¯')[1] : m.split('ˉ')[1];
|
|
27482
|
+
n.value = val1;
|
|
27483
|
+
let jumpParamStr = val2;
|
|
27484
|
+
if (jumpParamStr) {
|
|
27485
|
+
let jumpParam = jumpParamStr.split(':');
|
|
27486
|
+
n.jumpParamKey = jumpParam[0];
|
|
27487
|
+
n.jumpParamValue = jumpParam[1];
|
|
27488
|
+
}
|
|
27489
|
+
} else {
|
|
27490
|
+
n = {
|
|
27491
|
+
value: m
|
|
27492
|
+
};
|
|
27493
|
+
}
|
|
26935
27494
|
result.push(n);
|
|
26936
27495
|
});
|
|
26937
27496
|
return result;
|
|
@@ -26939,8 +27498,16 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26939
27498
|
},
|
|
26940
27499
|
isAllowCustom() {
|
|
26941
27500
|
return this.custdialog && this.custdialog.allowInput;
|
|
27501
|
+
},
|
|
27502
|
+
// 是否展示可跳转颜色
|
|
27503
|
+
isSrcColor() {
|
|
27504
|
+
return this.dialogConfig && this.dialogType !== 'search' && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
26942
27505
|
}
|
|
26943
27506
|
},
|
|
27507
|
+
created() {
|
|
27508
|
+
// 获取对话框配置,看是否有配置url跳转
|
|
27509
|
+
this.getDialogConfig();
|
|
27510
|
+
},
|
|
26944
27511
|
mounted() {
|
|
26945
27512
|
setTimeout(() => {
|
|
26946
27513
|
const {
|
|
@@ -26958,9 +27525,74 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26958
27525
|
}
|
|
26959
27526
|
//获取对话框按钮名称宽度
|
|
26960
27527
|
this.calacInputSuffixWidth();
|
|
27528
|
+
if (this.value && this.inputWriteable) {
|
|
27529
|
+
this.calacInputSuffixHeight();
|
|
27530
|
+
}
|
|
26961
27531
|
}, 50);
|
|
26962
27532
|
},
|
|
26963
27533
|
methods: {
|
|
27534
|
+
// 跳转url页面
|
|
27535
|
+
jumpUrl(item) {
|
|
27536
|
+
if (!this.isSrcColor) {
|
|
27537
|
+
if (this.inputWriteable) {
|
|
27538
|
+
this.showEditInput();
|
|
27539
|
+
}
|
|
27540
|
+
return;
|
|
27541
|
+
}
|
|
27542
|
+
let url = this.isMobile ? this.dialogConfig.mobileUrl : this.dialogConfig.pcUrl;
|
|
27543
|
+
// 获取通用token 和 url翻译
|
|
27544
|
+
Promise.all([this.$requestConfig.getThreeTreeToken(), this.transformUrl(url)]).then(res => {
|
|
27545
|
+
if (res[0] && res[0].code == 200) {
|
|
27546
|
+
let token = res[0].value;
|
|
27547
|
+
let endUrl = res[1];
|
|
27548
|
+
// 拼接参数 token和参数
|
|
27549
|
+
if (endUrl.indexOf('?') == -1) {
|
|
27550
|
+
endUrl += `?bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
|
|
27551
|
+
} else {
|
|
27552
|
+
endUrl += `&bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
|
|
27553
|
+
}
|
|
27554
|
+
if (this.isMobile) {
|
|
27555
|
+
this.mobileSrc = endUrl;
|
|
27556
|
+
this.isDialogFormShow = true;
|
|
27557
|
+
} else {
|
|
27558
|
+
window.open(endUrl);
|
|
27559
|
+
}
|
|
27560
|
+
} else {
|
|
27561
|
+
this.$message.info(res.message || '获取token失败!');
|
|
27562
|
+
}
|
|
27563
|
+
});
|
|
27564
|
+
},
|
|
27565
|
+
// 替换url中域名通配符 需要发送接口
|
|
27566
|
+
transformUrl(url) {
|
|
27567
|
+
return new Promise(resolve => {
|
|
27568
|
+
var reg = /(\$\{(\w+)\})/;
|
|
27569
|
+
var match = reg.exec(url);
|
|
27570
|
+
if (match) {
|
|
27571
|
+
let alias = match[2];
|
|
27572
|
+
if (alias) {
|
|
27573
|
+
this.$requestConfig.getHostByAlias(alias).then(res => {
|
|
27574
|
+
if (res && res.value && res.value.rootAddress) {
|
|
27575
|
+
resolve(url.replace(match[1], res.value.rootAddress));
|
|
27576
|
+
} else {
|
|
27577
|
+
resolve(url);
|
|
27578
|
+
}
|
|
27579
|
+
});
|
|
27580
|
+
} else {
|
|
27581
|
+
resolve(url);
|
|
27582
|
+
}
|
|
27583
|
+
} else {
|
|
27584
|
+
resolve(url);
|
|
27585
|
+
}
|
|
27586
|
+
});
|
|
27587
|
+
},
|
|
27588
|
+
// 获取对话框配置
|
|
27589
|
+
getDialogConfig() {
|
|
27590
|
+
if (this.custdialog && this.custdialog.custDialog && this.custdialog.custDialog.alias) this.$requestConfig.getCustomDialogByAlias(this.custdialog.custDialog.alias).then(response => {
|
|
27591
|
+
if (response) {
|
|
27592
|
+
this.dialogConfig = response;
|
|
27593
|
+
}
|
|
27594
|
+
});
|
|
27595
|
+
},
|
|
26964
27596
|
editInputBlur() {
|
|
26965
27597
|
this.$emit('input', this.customValue);
|
|
26966
27598
|
this.isEditInputShow = false;
|
|
@@ -27035,8 +27667,8 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27035
27667
|
});
|
|
27036
27668
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=script&lang=js&
|
|
27037
27669
|
/* harmony default export */ var packages_CustomDialog_src_mainvue_type_script_lang_js_ = (CustomDialog_src_mainvue_type_script_lang_js_);
|
|
27038
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=
|
|
27039
|
-
var
|
|
27670
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=117acabc&prod&lang=scss&scoped=true&
|
|
27671
|
+
var mainvue_type_style_index_0_id_117acabc_prod_lang_scss_scoped_true_ = __webpack_require__("12ce");
|
|
27040
27672
|
|
|
27041
27673
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue
|
|
27042
27674
|
|
|
@@ -27049,11 +27681,11 @@ var mainvue_type_style_index_0_id_0b5eb5e6_prod_lang_scss_scoped_true_ = __webpa
|
|
|
27049
27681
|
|
|
27050
27682
|
var CustomDialog_src_main_component = normalizeComponent(
|
|
27051
27683
|
packages_CustomDialog_src_mainvue_type_script_lang_js_,
|
|
27052
|
-
|
|
27053
|
-
|
|
27684
|
+
mainvue_type_template_id_117acabc_scoped_true_render,
|
|
27685
|
+
mainvue_type_template_id_117acabc_scoped_true_staticRenderFns,
|
|
27054
27686
|
false,
|
|
27055
27687
|
null,
|
|
27056
|
-
"
|
|
27688
|
+
"117acabc",
|
|
27057
27689
|
null
|
|
27058
27690
|
|
|
27059
27691
|
)
|
|
@@ -41693,12 +42325,12 @@ var GlobalValidate_component = normalizeComponent(
|
|
|
41693
42325
|
)
|
|
41694
42326
|
|
|
41695
42327
|
/* harmony default export */ var GlobalValidate = (GlobalValidate_component.exports);
|
|
41696
|
-
// 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/Global/src/GlobalQuery.vue?vue&type=template&id=
|
|
41697
|
-
var
|
|
41698
|
-
var
|
|
42328
|
+
// 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/Global/src/GlobalQuery.vue?vue&type=template&id=e2a6b5c8&
|
|
42329
|
+
var GlobalQueryvue_type_template_id_e2a6b5c8_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span')}
|
|
42330
|
+
var GlobalQueryvue_type_template_id_e2a6b5c8_staticRenderFns = []
|
|
41699
42331
|
|
|
41700
42332
|
|
|
41701
|
-
// CONCATENATED MODULE: ./packages/Global/src/GlobalQuery.vue?vue&type=template&id=
|
|
42333
|
+
// CONCATENATED MODULE: ./packages/Global/src/GlobalQuery.vue?vue&type=template&id=e2a6b5c8&
|
|
41702
42334
|
|
|
41703
42335
|
// 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/Global/src/GlobalQuery.vue?vue&type=script&lang=js&
|
|
41704
42336
|
//
|
|
@@ -41881,8 +42513,8 @@ var GlobalQueryvue_type_template_id_10314ca6_staticRenderFns = []
|
|
|
41881
42513
|
|
|
41882
42514
|
var GlobalQuery_component = normalizeComponent(
|
|
41883
42515
|
src_GlobalQueryvue_type_script_lang_js_,
|
|
41884
|
-
|
|
41885
|
-
|
|
42516
|
+
GlobalQueryvue_type_template_id_e2a6b5c8_render,
|
|
42517
|
+
GlobalQueryvue_type_template_id_e2a6b5c8_staticRenderFns,
|
|
41886
42518
|
false,
|
|
41887
42519
|
null,
|
|
41888
42520
|
null,
|