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
|
@@ -1657,24 +1657,28 @@ const btnList = [{
|
|
|
1657
1657
|
|
|
1658
1658
|
/***/ }),
|
|
1659
1659
|
|
|
1660
|
-
/***/ "
|
|
1660
|
+
/***/ "0edb":
|
|
1661
1661
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1662
1662
|
|
|
1663
1663
|
// extracted by mini-css-extract-plugin
|
|
1664
1664
|
|
|
1665
1665
|
/***/ }),
|
|
1666
1666
|
|
|
1667
|
-
/***/ "
|
|
1667
|
+
/***/ "0f2d":
|
|
1668
1668
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1669
1669
|
|
|
1670
1670
|
// extracted by mini-css-extract-plugin
|
|
1671
1671
|
|
|
1672
1672
|
/***/ }),
|
|
1673
1673
|
|
|
1674
|
-
/***/ "
|
|
1675
|
-
/***/ (function(module,
|
|
1674
|
+
/***/ "12ce":
|
|
1675
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1676
|
+
|
|
1677
|
+
"use strict";
|
|
1678
|
+
/* 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");
|
|
1679
|
+
/* 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__);
|
|
1680
|
+
/* unused harmony reexport * */
|
|
1676
1681
|
|
|
1677
|
-
// extracted by mini-css-extract-plugin
|
|
1678
1682
|
|
|
1679
1683
|
/***/ }),
|
|
1680
1684
|
|
|
@@ -1889,13 +1893,6 @@ const SubPagination = {
|
|
|
1889
1893
|
/* unused harmony reexport * */
|
|
1890
1894
|
|
|
1891
1895
|
|
|
1892
|
-
/***/ }),
|
|
1893
|
-
|
|
1894
|
-
/***/ "1ccc":
|
|
1895
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1896
|
-
|
|
1897
|
-
// extracted by mini-css-extract-plugin
|
|
1898
|
-
|
|
1899
1896
|
/***/ }),
|
|
1900
1897
|
|
|
1901
1898
|
/***/ "200a":
|
|
@@ -2059,13 +2056,6 @@ module.exports = require("vuedraggable");
|
|
|
2059
2056
|
|
|
2060
2057
|
/***/ }),
|
|
2061
2058
|
|
|
2062
|
-
/***/ "333d":
|
|
2063
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2064
|
-
|
|
2065
|
-
// extracted by mini-css-extract-plugin
|
|
2066
|
-
|
|
2067
|
-
/***/ }),
|
|
2068
|
-
|
|
2069
2059
|
/***/ "33ce":
|
|
2070
2060
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2071
2061
|
|
|
@@ -2796,6 +2786,17 @@ Formulas.install = Vue => {
|
|
|
2796
2786
|
/* unused harmony reexport * */
|
|
2797
2787
|
|
|
2798
2788
|
|
|
2789
|
+
/***/ }),
|
|
2790
|
+
|
|
2791
|
+
/***/ "3a4c":
|
|
2792
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2793
|
+
|
|
2794
|
+
"use strict";
|
|
2795
|
+
/* 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");
|
|
2796
|
+
/* 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__);
|
|
2797
|
+
/* unused harmony reexport * */
|
|
2798
|
+
|
|
2799
|
+
|
|
2799
2800
|
/***/ }),
|
|
2800
2801
|
|
|
2801
2802
|
/***/ "3b03":
|
|
@@ -2850,17 +2851,6 @@ Formulas.install = Vue => {
|
|
|
2850
2851
|
/* unused harmony reexport * */
|
|
2851
2852
|
|
|
2852
2853
|
|
|
2853
|
-
/***/ }),
|
|
2854
|
-
|
|
2855
|
-
/***/ "48f7":
|
|
2856
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2857
|
-
|
|
2858
|
-
"use strict";
|
|
2859
|
-
/* 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");
|
|
2860
|
-
/* 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__);
|
|
2861
|
-
/* unused harmony reexport * */
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
2854
|
/***/ }),
|
|
2865
2855
|
|
|
2866
2856
|
/***/ "4919":
|
|
@@ -2893,17 +2883,6 @@ Formulas.install = Vue => {
|
|
|
2893
2883
|
|
|
2894
2884
|
// extracted by mini-css-extract-plugin
|
|
2895
2885
|
|
|
2896
|
-
/***/ }),
|
|
2897
|
-
|
|
2898
|
-
/***/ "49f9":
|
|
2899
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2900
|
-
|
|
2901
|
-
"use strict";
|
|
2902
|
-
/* 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");
|
|
2903
|
-
/* 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__);
|
|
2904
|
-
/* unused harmony reexport * */
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
2886
|
/***/ }),
|
|
2908
2887
|
|
|
2909
2888
|
/***/ "4b7c":
|
|
@@ -2933,6 +2912,13 @@ Formulas.install = Vue => {
|
|
|
2933
2912
|
/* unused harmony reexport * */
|
|
2934
2913
|
|
|
2935
2914
|
|
|
2915
|
+
/***/ }),
|
|
2916
|
+
|
|
2917
|
+
/***/ "4f44":
|
|
2918
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2919
|
+
|
|
2920
|
+
// extracted by mini-css-extract-plugin
|
|
2921
|
+
|
|
2936
2922
|
/***/ }),
|
|
2937
2923
|
|
|
2938
2924
|
/***/ "503b":
|
|
@@ -3035,6 +3021,13 @@ exports.clearImmediate = (typeof self !== "undefined" && self.clearImmediate) ||
|
|
|
3035
3021
|
|
|
3036
3022
|
/***/ }),
|
|
3037
3023
|
|
|
3024
|
+
/***/ "569e":
|
|
3025
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3026
|
+
|
|
3027
|
+
// extracted by mini-css-extract-plugin
|
|
3028
|
+
|
|
3029
|
+
/***/ }),
|
|
3030
|
+
|
|
3038
3031
|
/***/ "5877":
|
|
3039
3032
|
/***/ (function(module, exports) {
|
|
3040
3033
|
|
|
@@ -3674,6 +3667,17 @@ module.exports = require("lodash");
|
|
|
3674
3667
|
}
|
|
3675
3668
|
});
|
|
3676
3669
|
|
|
3670
|
+
/***/ }),
|
|
3671
|
+
|
|
3672
|
+
/***/ "64374":
|
|
3673
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3674
|
+
|
|
3675
|
+
"use strict";
|
|
3676
|
+
/* 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");
|
|
3677
|
+
/* 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__);
|
|
3678
|
+
/* unused harmony reexport * */
|
|
3679
|
+
|
|
3680
|
+
|
|
3677
3681
|
/***/ }),
|
|
3678
3682
|
|
|
3679
3683
|
/***/ "64ca":
|
|
@@ -4125,6 +4129,13 @@ const dict = {
|
|
|
4125
4129
|
|
|
4126
4130
|
/***/ }),
|
|
4127
4131
|
|
|
4132
|
+
/***/ "6ebe":
|
|
4133
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4134
|
+
|
|
4135
|
+
// extracted by mini-css-extract-plugin
|
|
4136
|
+
|
|
4137
|
+
/***/ }),
|
|
4138
|
+
|
|
4128
4139
|
/***/ "6f28":
|
|
4129
4140
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4130
4141
|
|
|
@@ -4191,6 +4202,13 @@ const dict = {
|
|
|
4191
4202
|
/* unused harmony reexport * */
|
|
4192
4203
|
|
|
4193
4204
|
|
|
4205
|
+
/***/ }),
|
|
4206
|
+
|
|
4207
|
+
/***/ "741c":
|
|
4208
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4209
|
+
|
|
4210
|
+
// extracted by mini-css-extract-plugin
|
|
4211
|
+
|
|
4194
4212
|
/***/ }),
|
|
4195
4213
|
|
|
4196
4214
|
/***/ "768a":
|
|
@@ -4214,6 +4232,13 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4214
4232
|
|
|
4215
4233
|
/***/ }),
|
|
4216
4234
|
|
|
4235
|
+
/***/ "78e9":
|
|
4236
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4237
|
+
|
|
4238
|
+
// extracted by mini-css-extract-plugin
|
|
4239
|
+
|
|
4240
|
+
/***/ }),
|
|
4241
|
+
|
|
4217
4242
|
/***/ "7b0c":
|
|
4218
4243
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4219
4244
|
|
|
@@ -4232,13 +4257,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4232
4257
|
|
|
4233
4258
|
/***/ }),
|
|
4234
4259
|
|
|
4235
|
-
/***/ "7c6e":
|
|
4236
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4237
|
-
|
|
4238
|
-
// extracted by mini-css-extract-plugin
|
|
4239
|
-
|
|
4240
|
-
/***/ }),
|
|
4241
|
-
|
|
4242
4260
|
/***/ "7d0a":
|
|
4243
4261
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4244
4262
|
|
|
@@ -4266,17 +4284,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4266
4284
|
|
|
4267
4285
|
// extracted by mini-css-extract-plugin
|
|
4268
4286
|
|
|
4269
|
-
/***/ }),
|
|
4270
|
-
|
|
4271
|
-
/***/ "7ff9":
|
|
4272
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4273
|
-
|
|
4274
|
-
"use strict";
|
|
4275
|
-
/* 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");
|
|
4276
|
-
/* 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__);
|
|
4277
|
-
/* unused harmony reexport * */
|
|
4278
|
-
|
|
4279
|
-
|
|
4280
4287
|
/***/ }),
|
|
4281
4288
|
|
|
4282
4289
|
/***/ "8262":
|
|
@@ -4331,6 +4338,17 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4331
4338
|
|
|
4332
4339
|
// extracted by mini-css-extract-plugin
|
|
4333
4340
|
|
|
4341
|
+
/***/ }),
|
|
4342
|
+
|
|
4343
|
+
/***/ "87f5":
|
|
4344
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4345
|
+
|
|
4346
|
+
"use strict";
|
|
4347
|
+
/* 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");
|
|
4348
|
+
/* 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__);
|
|
4349
|
+
/* unused harmony reexport * */
|
|
4350
|
+
|
|
4351
|
+
|
|
4334
4352
|
/***/ }),
|
|
4335
4353
|
|
|
4336
4354
|
/***/ "889a":
|
|
@@ -4712,14 +4730,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
4712
4730
|
/***/ "9224":
|
|
4713
4731
|
/***/ (function(module) {
|
|
4714
4732
|
|
|
4715
|
-
module.exports = JSON.parse("{\"a\":\"1.0.
|
|
4716
|
-
|
|
4717
|
-
/***/ }),
|
|
4718
|
-
|
|
4719
|
-
/***/ "923d":
|
|
4720
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4721
|
-
|
|
4722
|
-
// extracted by mini-css-extract-plugin
|
|
4733
|
+
module.exports = JSON.parse("{\"a\":\"1.0.18\"}");
|
|
4723
4734
|
|
|
4724
4735
|
/***/ }),
|
|
4725
4736
|
|
|
@@ -4844,13 +4855,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHoAAABMCAYAAACi
|
|
|
4844
4855
|
|
|
4845
4856
|
/***/ }),
|
|
4846
4857
|
|
|
4847
|
-
/***/ "a707":
|
|
4848
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4849
|
-
|
|
4850
|
-
// extracted by mini-css-extract-plugin
|
|
4851
|
-
|
|
4852
|
-
/***/ }),
|
|
4853
|
-
|
|
4854
4858
|
/***/ "a751":
|
|
4855
4859
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4856
4860
|
|
|
@@ -6428,17 +6432,6 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
|
|
|
6428
6432
|
|
|
6429
6433
|
// extracted by mini-css-extract-plugin
|
|
6430
6434
|
|
|
6431
|
-
/***/ }),
|
|
6432
|
-
|
|
6433
|
-
/***/ "be12":
|
|
6434
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6435
|
-
|
|
6436
|
-
"use strict";
|
|
6437
|
-
/* 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");
|
|
6438
|
-
/* 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__);
|
|
6439
|
-
/* unused harmony reexport * */
|
|
6440
|
-
|
|
6441
|
-
|
|
6442
6435
|
/***/ }),
|
|
6443
6436
|
|
|
6444
6437
|
/***/ "c0a9":
|
|
@@ -6457,17 +6450,6 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
|
|
|
6457
6450
|
|
|
6458
6451
|
module.exports = require("moment");
|
|
6459
6452
|
|
|
6460
|
-
/***/ }),
|
|
6461
|
-
|
|
6462
|
-
/***/ "c33b":
|
|
6463
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6464
|
-
|
|
6465
|
-
"use strict";
|
|
6466
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a707");
|
|
6467
|
-
/* 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__);
|
|
6468
|
-
/* unused harmony reexport * */
|
|
6469
|
-
|
|
6470
|
-
|
|
6471
6453
|
/***/ }),
|
|
6472
6454
|
|
|
6473
6455
|
/***/ "c429":
|
|
@@ -6600,6 +6582,17 @@ module.exports = g;
|
|
|
6600
6582
|
/* unused harmony reexport * */
|
|
6601
6583
|
|
|
6602
6584
|
|
|
6585
|
+
/***/ }),
|
|
6586
|
+
|
|
6587
|
+
/***/ "cc2b":
|
|
6588
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6589
|
+
|
|
6590
|
+
"use strict";
|
|
6591
|
+
/* 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");
|
|
6592
|
+
/* 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__);
|
|
6593
|
+
/* unused harmony reexport * */
|
|
6594
|
+
|
|
6595
|
+
|
|
6603
6596
|
/***/ }),
|
|
6604
6597
|
|
|
6605
6598
|
/***/ "cd87":
|
|
@@ -7158,23 +7151,23 @@ module.exports = require("deepmerge");
|
|
|
7158
7151
|
|
|
7159
7152
|
/***/ }),
|
|
7160
7153
|
|
|
7161
|
-
/***/ "
|
|
7154
|
+
/***/ "dc81":
|
|
7162
7155
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7163
7156
|
|
|
7164
7157
|
"use strict";
|
|
7165
|
-
/* harmony import */ var
|
|
7166
|
-
/* harmony import */ var
|
|
7158
|
+
/* 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");
|
|
7159
|
+
/* 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__);
|
|
7167
7160
|
/* unused harmony reexport * */
|
|
7168
7161
|
|
|
7169
7162
|
|
|
7170
7163
|
/***/ }),
|
|
7171
7164
|
|
|
7172
|
-
/***/ "
|
|
7165
|
+
/***/ "dccc":
|
|
7173
7166
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7174
7167
|
|
|
7175
7168
|
"use strict";
|
|
7176
|
-
/* harmony import */ var
|
|
7177
|
-
/* harmony import */ var
|
|
7169
|
+
/* 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");
|
|
7170
|
+
/* 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__);
|
|
7178
7171
|
/* unused harmony reexport * */
|
|
7179
7172
|
|
|
7180
7173
|
|
|
@@ -7649,6 +7642,13 @@ module.exports = require("js-base64");
|
|
|
7649
7642
|
/* unused harmony reexport * */
|
|
7650
7643
|
|
|
7651
7644
|
|
|
7645
|
+
/***/ }),
|
|
7646
|
+
|
|
7647
|
+
/***/ "faf3":
|
|
7648
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
7649
|
+
|
|
7650
|
+
// extracted by mini-css-extract-plugin
|
|
7651
|
+
|
|
7652
7652
|
/***/ }),
|
|
7653
7653
|
|
|
7654
7654
|
/***/ "fb15":
|
|
@@ -15621,17 +15621,17 @@ Demension_src_main.install = function (Vue) {
|
|
|
15621
15621
|
Vue.component(Demension_src_main.name, Demension_src_main);
|
|
15622
15622
|
};
|
|
15623
15623
|
/* harmony default export */ var Demension = (Demension_src_main);
|
|
15624
|
-
// 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=
|
|
15625
|
-
var
|
|
15624
|
+
// 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&
|
|
15625
|
+
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
|
|
15626
15626
|
? 'tree-button-group is-ie-explorer flex'
|
|
15627
15627
|
: '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){
|
|
15628
15628
|
var node = ref.node;
|
|
15629
15629
|
var subData = ref.data;
|
|
15630
15630
|
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)}
|
|
15631
|
-
var
|
|
15631
|
+
var mainvue_type_template_id_10f71c00_scoped_true_staticRenderFns = []
|
|
15632
15632
|
|
|
15633
15633
|
|
|
15634
|
-
// CONCATENATED MODULE: ./packages/Tree/src/main.vue?vue&type=template&id=
|
|
15634
|
+
// CONCATENATED MODULE: ./packages/Tree/src/main.vue?vue&type=template&id=10f71c00&scoped=true&
|
|
15635
15635
|
|
|
15636
15636
|
// 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&
|
|
15637
15637
|
//
|
|
@@ -15906,7 +15906,11 @@ var mainvue_type_template_id_5731e345_scoped_true_staticRenderFns = []
|
|
|
15906
15906
|
},
|
|
15907
15907
|
watch: {
|
|
15908
15908
|
filterText(val) {
|
|
15909
|
-
this
|
|
15909
|
+
if (this.lazy) {
|
|
15910
|
+
this.$emit('loadALL', val);
|
|
15911
|
+
} else {
|
|
15912
|
+
this.$refs.elTree.filter(val);
|
|
15913
|
+
}
|
|
15910
15914
|
},
|
|
15911
15915
|
defaultCheckedKeys(val) {
|
|
15912
15916
|
this.$refs.elTree.setCheckedKeys(val);
|
|
@@ -15999,8 +16003,8 @@ var mainvue_type_template_id_5731e345_scoped_true_staticRenderFns = []
|
|
|
15999
16003
|
});
|
|
16000
16004
|
// CONCATENATED MODULE: ./packages/Tree/src/main.vue?vue&type=script&lang=js&
|
|
16001
16005
|
/* harmony default export */ var packages_Tree_src_mainvue_type_script_lang_js_ = (Tree_src_mainvue_type_script_lang_js_);
|
|
16002
|
-
// EXTERNAL MODULE: ./packages/Tree/src/main.vue?vue&type=style&index=0&id=
|
|
16003
|
-
var
|
|
16006
|
+
// EXTERNAL MODULE: ./packages/Tree/src/main.vue?vue&type=style&index=0&id=10f71c00&prod&lang=scss&scoped=true&
|
|
16007
|
+
var mainvue_type_style_index_0_id_10f71c00_prod_lang_scss_scoped_true_ = __webpack_require__("cc2b");
|
|
16004
16008
|
|
|
16005
16009
|
// CONCATENATED MODULE: ./packages/Tree/src/main.vue
|
|
16006
16010
|
|
|
@@ -16013,11 +16017,11 @@ var mainvue_type_style_index_0_id_5731e345_prod_lang_scss_scoped_true_ = __webpa
|
|
|
16013
16017
|
|
|
16014
16018
|
var Tree_src_main_component = normalizeComponent(
|
|
16015
16019
|
packages_Tree_src_mainvue_type_script_lang_js_,
|
|
16016
|
-
|
|
16017
|
-
|
|
16020
|
+
mainvue_type_template_id_10f71c00_scoped_true_render,
|
|
16021
|
+
mainvue_type_template_id_10f71c00_scoped_true_staticRenderFns,
|
|
16018
16022
|
false,
|
|
16019
16023
|
null,
|
|
16020
|
-
"
|
|
16024
|
+
"10f71c00",
|
|
16021
16025
|
null
|
|
16022
16026
|
|
|
16023
16027
|
)
|
|
@@ -22509,8 +22513,8 @@ PostSelector_src_main.install = function (Vue) {
|
|
|
22509
22513
|
Vue.component(PostSelector_src_main.name, PostSelector_src_main);
|
|
22510
22514
|
};
|
|
22511
22515
|
/* harmony default export */ var PostSelector = (PostSelector_src_main);
|
|
22512
|
-
// 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=
|
|
22513
|
-
var
|
|
22516
|
+
// 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&
|
|
22517
|
+
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:[
|
|
22514
22518
|
'inputs',
|
|
22515
22519
|
_vm.formInputsDisplay == 'block'
|
|
22516
22520
|
? 'ht-form-inputs__block'
|
|
@@ -22525,10 +22529,10 @@ var mainvue_type_template_id_10681225_scoped_true_render = function () {var _vm=
|
|
|
22525
22529
|
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){
|
|
22526
22530
|
var select = ref.select;
|
|
22527
22531
|
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()}
|
|
22528
|
-
var
|
|
22532
|
+
var mainvue_type_template_id_8015cf1e_scoped_true_staticRenderFns = []
|
|
22529
22533
|
|
|
22530
22534
|
|
|
22531
|
-
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=template&id=
|
|
22535
|
+
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=template&id=8015cf1e&scoped=true&
|
|
22532
22536
|
|
|
22533
22537
|
// 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&
|
|
22534
22538
|
//
|
|
@@ -22787,6 +22791,8 @@ var mainvue_type_template_id_10681225_scoped_true_staticRenderFns = []
|
|
|
22787
22791
|
if (this.config.hasOwnProperty('demName')) {
|
|
22788
22792
|
utils["a" /* default */].setValueByConfigKey(this, this.config, 'demName', demNameAry.join(','));
|
|
22789
22793
|
}
|
|
22794
|
+
} else {
|
|
22795
|
+
this.$emit('change', newVal);
|
|
22790
22796
|
}
|
|
22791
22797
|
// 通过valueChange事件发布值变更消息
|
|
22792
22798
|
this.$emit('valueChange', ary.join(','), newVal);
|
|
@@ -22916,8 +22922,8 @@ var mainvue_type_template_id_10681225_scoped_true_staticRenderFns = []
|
|
|
22916
22922
|
});
|
|
22917
22923
|
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=script&lang=js&
|
|
22918
22924
|
/* harmony default export */ var packages_DimensionSelector_src_mainvue_type_script_lang_js_ = (DimensionSelector_src_mainvue_type_script_lang_js_);
|
|
22919
|
-
// EXTERNAL MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=style&index=0&id=
|
|
22920
|
-
var
|
|
22925
|
+
// EXTERNAL MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=style&index=0&id=8015cf1e&prod&lang=scss&scoped=true&
|
|
22926
|
+
var mainvue_type_style_index_0_id_8015cf1e_prod_lang_scss_scoped_true_ = __webpack_require__("dc81");
|
|
22921
22927
|
|
|
22922
22928
|
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue
|
|
22923
22929
|
|
|
@@ -22930,11 +22936,11 @@ var mainvue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true_ = __webpa
|
|
|
22930
22936
|
|
|
22931
22937
|
var DimensionSelector_src_main_component = normalizeComponent(
|
|
22932
22938
|
packages_DimensionSelector_src_mainvue_type_script_lang_js_,
|
|
22933
|
-
|
|
22934
|
-
|
|
22939
|
+
mainvue_type_template_id_8015cf1e_scoped_true_render,
|
|
22940
|
+
mainvue_type_template_id_8015cf1e_scoped_true_staticRenderFns,
|
|
22935
22941
|
false,
|
|
22936
22942
|
null,
|
|
22937
|
-
"
|
|
22943
|
+
"8015cf1e",
|
|
22938
22944
|
null
|
|
22939
22945
|
|
|
22940
22946
|
)
|
|
@@ -23562,8 +23568,8 @@ Dialog_src_main.install = function (Vue) {
|
|
|
23562
23568
|
Vue.component(Dialog_src_main.name, Dialog_src_main);
|
|
23563
23569
|
};
|
|
23564
23570
|
/* harmony default export */ var Dialog = (Dialog_src_main);
|
|
23565
|
-
// 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=
|
|
23566
|
-
var
|
|
23571
|
+
// 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&
|
|
23572
|
+
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:({
|
|
23567
23573
|
right: _vm.inputSuffixWidth - 1 + 'px',
|
|
23568
23574
|
width: 'auto!important',
|
|
23569
23575
|
height: _vm.inputSuffixHeight - 4 + 'px',
|
|
@@ -23572,11 +23578,11 @@ var mainvue_type_template_id_0b5eb5e6_scoped_true_render = function () {var _vm=
|
|
|
23572
23578
|
: 'el-input__icon icon-duihuakuang',style:({
|
|
23573
23579
|
fontSize: '17px',
|
|
23574
23580
|
lineHeight: _vm.inputSuffixHeight + 'px',
|
|
23575
|
-
})}),_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)}
|
|
23576
|
-
var
|
|
23581
|
+
})}),_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)}
|
|
23582
|
+
var mainvue_type_template_id_117acabc_scoped_true_staticRenderFns = []
|
|
23577
23583
|
|
|
23578
23584
|
|
|
23579
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=
|
|
23585
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=117acabc&scoped=true&
|
|
23580
23586
|
|
|
23581
23587
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.js
|
|
23582
23588
|
|
|
@@ -23698,19 +23704,47 @@ var mainvue_type_template_id_0b5eb5e6_scoped_true_staticRenderFns = []
|
|
|
23698
23704
|
}
|
|
23699
23705
|
}
|
|
23700
23706
|
});
|
|
23701
|
-
// 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=
|
|
23702
|
-
var
|
|
23703
|
-
|
|
23704
|
-
|
|
23705
|
-
|
|
23706
|
-
|
|
23707
|
-
|
|
23708
|
-
|
|
23709
|
-
|
|
23710
|
-
|
|
23711
|
-
|
|
23712
|
-
|
|
23713
|
-
|
|
23707
|
+
// 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&
|
|
23708
|
+
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')
|
|
23709
|
+
? 'yyyy-MM-dd HH:mm:ss'
|
|
23710
|
+
: condition.config.inputFormat,"valueFormat":condition.config.inputFormat.includes('mm:ss')
|
|
23711
|
+
? 'yyyy-MM-dd HH:mm:ss'
|
|
23712
|
+
: 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')
|
|
23713
|
+
? 'yyyy-MM-dd HH:mm:ss'
|
|
23714
|
+
: condition.config.inputFormat,"valueFormat":condition.config.inputFormat.includes('mm:ss')
|
|
23715
|
+
? 'yyyy-MM-dd HH:mm:ss'
|
|
23716
|
+
: 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')
|
|
23717
|
+
? 'yyyy-MM-dd HH:mm:ss'
|
|
23718
|
+
: condition.config.inputFormat,"valueFormat":condition.config.inputFormat.includes('mm:ss')
|
|
23719
|
+
? 'yyyy-MM-dd HH:mm:ss'
|
|
23720
|
+
: 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) {
|
|
23721
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23722
|
+
}}}):_vm._e(),(condition.config.alias == 'org')?_c('ht-org-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23723
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23724
|
+
}}}):_vm._e(),(condition.config.alias == 'role')?_c('ht-role-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23725
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23726
|
+
}}}):_vm._e(),(condition.config.alias == 'job')?_c('ht-job-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23727
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23728
|
+
}}}):_vm._e(),(condition.config.alias == 'post')?_c('ht-post-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23729
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23730
|
+
}}}):_vm._e(),(condition.config.alias == 'dimension')?_c('ht-dimension-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23731
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23732
|
+
}}}):_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":{
|
|
23733
|
+
name: '请选择',
|
|
23734
|
+
icon: '',
|
|
23735
|
+
custDialog: {
|
|
23736
|
+
selectNum: 1,
|
|
23737
|
+
conditions: [],
|
|
23738
|
+
mappingConf: [],
|
|
23739
|
+
custQueryJson: [],
|
|
23740
|
+
alias: condition.config.alias,
|
|
23741
|
+
type: 'custDialog',
|
|
23742
|
+
},
|
|
23743
|
+
}},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)}
|
|
23744
|
+
var customDialogvue_type_template_id_9d63590a_scoped_true_staticRenderFns = []
|
|
23745
|
+
|
|
23746
|
+
|
|
23747
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=9d63590a&scoped=true&
|
|
23714
23748
|
|
|
23715
23749
|
// EXTERNAL MODULE: external "jquery"
|
|
23716
23750
|
var external_jquery_ = __webpack_require__("c5e1");
|
|
@@ -24019,6 +24053,139 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24019
24053
|
//
|
|
24020
24054
|
//
|
|
24021
24055
|
//
|
|
24056
|
+
//
|
|
24057
|
+
//
|
|
24058
|
+
//
|
|
24059
|
+
//
|
|
24060
|
+
//
|
|
24061
|
+
//
|
|
24062
|
+
//
|
|
24063
|
+
//
|
|
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
|
+
//
|
|
24022
24189
|
|
|
24023
24190
|
|
|
24024
24191
|
|
|
@@ -24046,10 +24213,16 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24046
24213
|
isReadOnly: {
|
|
24047
24214
|
type: Boolean,
|
|
24048
24215
|
default: false
|
|
24049
|
-
}
|
|
24216
|
+
},
|
|
24217
|
+
dialogConfig: Object,
|
|
24218
|
+
dialogType: String
|
|
24050
24219
|
},
|
|
24051
24220
|
data() {
|
|
24052
24221
|
return {
|
|
24222
|
+
startDate: '',
|
|
24223
|
+
// 日期控件
|
|
24224
|
+
endDate: '',
|
|
24225
|
+
// 日期控件
|
|
24053
24226
|
tableHeight: 350,
|
|
24054
24227
|
isEditInputShow: false,
|
|
24055
24228
|
customValue: '',
|
|
@@ -24130,6 +24303,20 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24130
24303
|
return [this.props1[0][this.nodeKey]];
|
|
24131
24304
|
}
|
|
24132
24305
|
return [];
|
|
24306
|
+
},
|
|
24307
|
+
jumpParamKey() {
|
|
24308
|
+
return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
|
|
24309
|
+
},
|
|
24310
|
+
// 是否保存成跳转url参数
|
|
24311
|
+
isHaveJumpUrl() {
|
|
24312
|
+
return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
24313
|
+
},
|
|
24314
|
+
sortDisplayfield() {
|
|
24315
|
+
let reverseArr = JSON.parse(JSON.stringify(this.displayfield));
|
|
24316
|
+
reverseArr.reverse();
|
|
24317
|
+
return reverseArr.sort((a, b) => {
|
|
24318
|
+
return a.sort > b.sort ? 1 : -1;
|
|
24319
|
+
});
|
|
24133
24320
|
}
|
|
24134
24321
|
},
|
|
24135
24322
|
watch: {
|
|
@@ -24165,131 +24352,151 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24165
24352
|
});
|
|
24166
24353
|
},
|
|
24167
24354
|
methods: {
|
|
24355
|
+
// 获取已选择的选择器数据id
|
|
24356
|
+
getSelectId(data) {
|
|
24357
|
+
if (!data || !data.length) {
|
|
24358
|
+
return '';
|
|
24359
|
+
}
|
|
24360
|
+
let ids = [];
|
|
24361
|
+
data.forEach(item => {
|
|
24362
|
+
ids.push(item.id);
|
|
24363
|
+
});
|
|
24364
|
+
return ids.join(',');
|
|
24365
|
+
},
|
|
24168
24366
|
showDialog() {
|
|
24169
24367
|
let isMounted = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
24170
|
-
const this_ = this;
|
|
24171
24368
|
this.fixedParams = {};
|
|
24369
|
+
// 如果已存在配置信息就不去请求配置信息 直接初始化数据
|
|
24370
|
+
if (this.dialogConfig) {
|
|
24371
|
+
this.initDialog(this.dialogConfig, isMounted);
|
|
24372
|
+
return;
|
|
24373
|
+
}
|
|
24172
24374
|
var alias = this.custdialog.custDialog.alias;
|
|
24173
24375
|
this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
|
|
24174
|
-
|
|
24175
|
-
|
|
24176
|
-
|
|
24177
|
-
|
|
24178
|
-
|
|
24179
|
-
|
|
24180
|
-
|
|
24181
|
-
|
|
24182
|
-
|
|
24183
|
-
|
|
24184
|
-
|
|
24185
|
-
|
|
24186
|
-
|
|
24187
|
-
|
|
24188
|
-
|
|
24189
|
-
|
|
24190
|
-
|
|
24191
|
-
|
|
24192
|
-
|
|
24193
|
-
|
|
24194
|
-
|
|
24376
|
+
this.initDialog(customDialog, isMounted);
|
|
24377
|
+
});
|
|
24378
|
+
},
|
|
24379
|
+
initDialog(customDialog, isMounted) {
|
|
24380
|
+
let alias = this.custdialog.custDialog.alias;
|
|
24381
|
+
const this_ = this;
|
|
24382
|
+
if (!customDialog || !customDialog.alias) {
|
|
24383
|
+
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
24384
|
+
return;
|
|
24385
|
+
}
|
|
24386
|
+
if (customDialog.style == 1) {
|
|
24387
|
+
var displaylist = JSON.parse(customDialog.displayfield);
|
|
24388
|
+
this_.nodeKey = displaylist.id;
|
|
24389
|
+
}
|
|
24390
|
+
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
24391
|
+
let obj = {};
|
|
24392
|
+
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
24393
|
+
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
24394
|
+
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
24395
|
+
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
24396
|
+
if (exp) {
|
|
24397
|
+
const params = JSON.parse(exp);
|
|
24398
|
+
if (params.pageBean) {
|
|
24399
|
+
this.pagination = {
|
|
24400
|
+
...params.pageBean
|
|
24401
|
+
};
|
|
24195
24402
|
}
|
|
24196
24403
|
}
|
|
24197
|
-
|
|
24198
|
-
|
|
24199
|
-
|
|
24200
|
-
|
|
24201
|
-
|
|
24202
|
-
|
|
24203
|
-
|
|
24204
|
-
|
|
24205
|
-
|
|
24206
|
-
|
|
24207
|
-
|
|
24208
|
-
|
|
24209
|
-
|
|
24210
|
-
|
|
24211
|
-
|
|
24212
|
-
|
|
24213
|
-
|
|
24214
|
-
|
|
24215
|
-
}
|
|
24216
|
-
}
|
|
24217
|
-
}
|
|
24218
|
-
|
|
24219
|
-
|
|
24220
|
-
|
|
24221
|
-
|
|
24222
|
-
|
|
24223
|
-
|
|
24224
|
-
|
|
24225
|
-
|
|
24226
|
-
|
|
24227
|
-
|
|
24228
|
-
|
|
24229
|
-
|
|
24230
|
-
|
|
24231
|
-
|
|
24232
|
-
|
|
24233
|
-
|
|
24234
|
-
|
|
24235
|
-
|
|
24236
|
-
|
|
24237
|
-
|
|
24238
|
-
}
|
|
24239
|
-
|
|
24240
|
-
|
|
24241
|
-
|
|
24242
|
-
|
|
24243
|
-
|
|
24244
|
-
|
|
24245
|
-
|
|
24246
|
-
|
|
24247
|
-
|
|
24248
|
-
|
|
24249
|
-
|
|
24250
|
-
|
|
24251
|
-
|
|
24252
|
-
|
|
24253
|
-
|
|
24254
|
-
|
|
24255
|
-
|
|
24256
|
-
|
|
24257
|
-
|
|
24258
|
-
customDialog: customDialog
|
|
24259
|
-
}, isMounted);
|
|
24260
|
-
}, 100);
|
|
24261
|
-
} else if (customDialog.style == 1) {
|
|
24262
|
-
//树形
|
|
24263
|
-
this_.pageParam = {
|
|
24404
|
+
}
|
|
24405
|
+
//对话框按表单字段查询(参数传入的)
|
|
24406
|
+
let bindList = this_.custdialog.custDialog.conditions;
|
|
24407
|
+
this_.param = []; //绑定的表单字段
|
|
24408
|
+
if (bindList.length > 0) {
|
|
24409
|
+
bindList.forEach(ele => {
|
|
24410
|
+
//绑定表单字段
|
|
24411
|
+
if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
|
|
24412
|
+
let obj = {};
|
|
24413
|
+
obj.field = ele.field;
|
|
24414
|
+
obj.bind = ele.bind;
|
|
24415
|
+
obj.bindType = ele.bindType;
|
|
24416
|
+
this_.param.push(obj);
|
|
24417
|
+
}
|
|
24418
|
+
//取值对象为脚本时获取value
|
|
24419
|
+
if (ele.bindType === 3) {
|
|
24420
|
+
this_.$requestConfig.executeScript(ele.bind).then(res => {
|
|
24421
|
+
this_.executeScriptResult = res && res.value;
|
|
24422
|
+
});
|
|
24423
|
+
}
|
|
24424
|
+
});
|
|
24425
|
+
}
|
|
24426
|
+
//判断对话框查询是否有条件
|
|
24427
|
+
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
24428
|
+
this_.quickSearch = ''; //填写提示 placeholder
|
|
24429
|
+
this_.conditionBind = [];
|
|
24430
|
+
let queryParams = [];
|
|
24431
|
+
let placeholders = [];
|
|
24432
|
+
if (userInputList.length > 0) {
|
|
24433
|
+
userInputList.forEach(ele => {
|
|
24434
|
+
var obj = {};
|
|
24435
|
+
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
24436
|
+
if (ele.defaultType == '1') {
|
|
24437
|
+
obj[ele.field] = '';
|
|
24438
|
+
queryParams.push(obj);
|
|
24439
|
+
// queryParams[ele.field] = "";
|
|
24440
|
+
this_.conditionBind.push(ele);
|
|
24441
|
+
placeholders.push('请输入' + ele.comment);
|
|
24442
|
+
}
|
|
24443
|
+
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
24444
|
+
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
24445
|
+
}
|
|
24446
|
+
});
|
|
24447
|
+
this.$set(this, 'queryParams', queryParams);
|
|
24448
|
+
this.$set(this, 'placeholders', placeholders);
|
|
24449
|
+
}
|
|
24450
|
+
//判断是否显示条件查询输入框
|
|
24451
|
+
if (this_.quickSearch != '') {
|
|
24452
|
+
this_.querysShow = true;
|
|
24453
|
+
} else {
|
|
24454
|
+
this_.querysShow = true;
|
|
24455
|
+
}
|
|
24456
|
+
this_.quickSearch = '请输入' + this.quickSearch + '查询';
|
|
24457
|
+
this_.style = 'height:' + customDialog.height + 'px';
|
|
24458
|
+
if (window.screen.height && window.screen.height <= 900) {
|
|
24459
|
+
this.style = 'height:440px';
|
|
24460
|
+
}
|
|
24461
|
+
if (customDialog.style == 0 || customDialog.style == 2) {
|
|
24462
|
+
//列表
|
|
24463
|
+
setTimeout(() => {
|
|
24464
|
+
this_.customDialogShow({
|
|
24264
24465
|
alias: alias,
|
|
24265
24466
|
customDialog: customDialog
|
|
24266
|
-
};
|
|
24267
|
-
|
|
24268
|
-
|
|
24269
|
-
|
|
24270
|
-
|
|
24271
|
-
|
|
24272
|
-
|
|
24273
|
-
|
|
24274
|
-
|
|
24275
|
-
|
|
24276
|
-
|
|
24277
|
-
|
|
24278
|
-
|
|
24467
|
+
}, isMounted);
|
|
24468
|
+
}, 100);
|
|
24469
|
+
} else if (customDialog.style == 1) {
|
|
24470
|
+
//树形
|
|
24471
|
+
this_.pageParam = {
|
|
24472
|
+
alias: alias,
|
|
24473
|
+
customDialog: customDialog
|
|
24474
|
+
};
|
|
24475
|
+
this_.customDialog = customDialog;
|
|
24476
|
+
let param = {};
|
|
24477
|
+
this_.conditionfieldTree = [];
|
|
24478
|
+
//判断是否存在条件
|
|
24479
|
+
if (customDialog.conditionfield) {
|
|
24480
|
+
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
24481
|
+
if (this_.conditionfieldTree.length > 0) {
|
|
24482
|
+
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
24483
|
+
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
24484
|
+
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
24485
|
+
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
24279
24486
|
}
|
|
24280
24487
|
}
|
|
24281
24488
|
}
|
|
24282
|
-
|
|
24283
|
-
|
|
24284
|
-
|
|
24285
|
-
|
|
24286
|
-
|
|
24287
|
-
|
|
24288
|
-
|
|
24289
|
-
|
|
24489
|
+
}
|
|
24490
|
+
//有动态传入的字段
|
|
24491
|
+
if (!isMounted) {
|
|
24492
|
+
if (JSON.stringify(param) != '{}') {
|
|
24493
|
+
this_.dialogVisible = true;
|
|
24494
|
+
} else {
|
|
24495
|
+
//无动态传入的字段
|
|
24496
|
+
this_.customDialogTreeShow(this_.pageParam);
|
|
24290
24497
|
}
|
|
24291
24498
|
}
|
|
24292
|
-
}
|
|
24499
|
+
}
|
|
24293
24500
|
},
|
|
24294
24501
|
initTableHeight() {
|
|
24295
24502
|
this.$nextTick(() => {
|
|
@@ -24418,13 +24625,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24418
24625
|
}
|
|
24419
24626
|
// 添加用户id 岗位id 组织id
|
|
24420
24627
|
try {
|
|
24421
|
-
if (this.$requestConfig.getUserId()) {
|
|
24628
|
+
if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
|
|
24422
24629
|
ctx.userId = this.$requestConfig.getUserId();
|
|
24423
24630
|
}
|
|
24424
|
-
if (this.$requestConfig.getOrgId()) {
|
|
24631
|
+
if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
|
|
24425
24632
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
24426
24633
|
}
|
|
24427
|
-
if (this.$requestConfig.getPostId()) {
|
|
24634
|
+
if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
|
|
24428
24635
|
ctx.postId = this.$requestConfig.getPostId();
|
|
24429
24636
|
}
|
|
24430
24637
|
} catch (e) {
|
|
@@ -24509,8 +24716,19 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24509
24716
|
this.selectOrgs = this.convertComment2Field(str, field);
|
|
24510
24717
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
24511
24718
|
var val = '';
|
|
24512
|
-
str.forEach(item => {
|
|
24513
|
-
|
|
24719
|
+
str.forEach((item, index) => {
|
|
24720
|
+
// 此处添加url跳转参数保存逻辑
|
|
24721
|
+
if (this.jumpParamKey && this.isHaveJumpUrl && (this.modelName == 'data.' + con['target'][0] || this.modelName.includes('item.') && con['target'][0].endsWith(this.modelName.split('.')[1]))) {
|
|
24722
|
+
let jumpParamKey = this.jumpParamKey;
|
|
24723
|
+
let jumpParamValue = this.jumpParamKey;
|
|
24724
|
+
if (this.jumpParamKey.includes(':')) {
|
|
24725
|
+
jumpParamKey = this.jumpParamKey.split(':')[0];
|
|
24726
|
+
jumpParamValue = this.jumpParamKey.split(':')[1];
|
|
24727
|
+
}
|
|
24728
|
+
val += `${item[con.from]}¯${jumpParamKey}:${this.selectOrgs[index][jumpParamValue]},`;
|
|
24729
|
+
} else {
|
|
24730
|
+
val += item[con.from] + ',';
|
|
24731
|
+
}
|
|
24514
24732
|
});
|
|
24515
24733
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
24516
24734
|
utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
|
|
@@ -24581,19 +24799,36 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24581
24799
|
};
|
|
24582
24800
|
}
|
|
24583
24801
|
//用户输入的
|
|
24802
|
+
let flag = false;
|
|
24584
24803
|
if (this.queryParams.length != 0 && this.queryParams[0] != '') {
|
|
24585
24804
|
this.conditionBind.forEach((item, index) => {
|
|
24805
|
+
// 日期范围特殊处理
|
|
24806
|
+
if (item.dbType == 'date' && item.condition == 'BETWEEN') {
|
|
24807
|
+
if (this.queryParams[index].startDate && !this.queryParams[index].endDate || !this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
24808
|
+
flag = true;
|
|
24809
|
+
this.$message.info('日期范围未填写完整!');
|
|
24810
|
+
return;
|
|
24811
|
+
}
|
|
24812
|
+
if (this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
24813
|
+
this.queryParams[index][item.field] = `${this.queryParams[index].startDate},${this.queryParams[index].endDate}`;
|
|
24814
|
+
} else {
|
|
24815
|
+
this.queryParams[index][item.field] = '';
|
|
24816
|
+
}
|
|
24817
|
+
}
|
|
24586
24818
|
if (this.queryParams[index][item.field]) {
|
|
24587
24819
|
querys.push({
|
|
24588
24820
|
property: item.field,
|
|
24589
24821
|
value: this.queryParams[index][item.field],
|
|
24590
24822
|
group: 'main',
|
|
24591
|
-
operation:
|
|
24823
|
+
operation: item.condition,
|
|
24592
24824
|
relation: 'AND'
|
|
24593
24825
|
});
|
|
24594
24826
|
}
|
|
24595
24827
|
});
|
|
24596
24828
|
}
|
|
24829
|
+
if (flag) {
|
|
24830
|
+
return;
|
|
24831
|
+
}
|
|
24597
24832
|
//参数传入的查询拼接
|
|
24598
24833
|
if (this.param) {
|
|
24599
24834
|
this.param.forEach(item => {
|
|
@@ -24632,13 +24867,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24632
24867
|
queryParamMap.total = pageBean.pageBean.total;
|
|
24633
24868
|
// 添加用户id 岗位id 组织id
|
|
24634
24869
|
try {
|
|
24635
|
-
if (this.$requestConfig.getUserId()) {
|
|
24870
|
+
if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
|
|
24636
24871
|
ctx.userId = this.$requestConfig.getUserId();
|
|
24637
24872
|
}
|
|
24638
|
-
if (this.$requestConfig.getOrgId()) {
|
|
24873
|
+
if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
|
|
24639
24874
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
24640
24875
|
}
|
|
24641
|
-
if (this.$requestConfig.getPostId()) {
|
|
24876
|
+
if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
|
|
24642
24877
|
ctx.postId = this.$requestConfig.getPostId();
|
|
24643
24878
|
}
|
|
24644
24879
|
} catch (e) {
|
|
@@ -24659,12 +24894,14 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24659
24894
|
value: queryParamMap[bindKey] || ctx[bindKey] || ''
|
|
24660
24895
|
};
|
|
24661
24896
|
});
|
|
24662
|
-
param.querys = queryList;
|
|
24897
|
+
param.querys = queryList || [];
|
|
24663
24898
|
if (this.customDialog.needPage) {
|
|
24664
24899
|
param.pageBean = obj;
|
|
24665
24900
|
} else {
|
|
24666
24901
|
param.pageBean.pageSize = -1;
|
|
24667
24902
|
}
|
|
24903
|
+
// 日期格式的 改成数组
|
|
24904
|
+
// this.changeDateFormat(param)
|
|
24668
24905
|
//构造请求的参数
|
|
24669
24906
|
let requestParam = {
|
|
24670
24907
|
pageBean: param,
|
|
@@ -24704,6 +24941,15 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24704
24941
|
}
|
|
24705
24942
|
this.tableRadioVal = '';
|
|
24706
24943
|
},
|
|
24944
|
+
changeDateFormat(param) {
|
|
24945
|
+
let dateValidate1 = /^\d{4}\-\d{2}\-\d{2}$/;
|
|
24946
|
+
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$/;
|
|
24947
|
+
Object.keys(param).forEach(key => {
|
|
24948
|
+
if (param[key] && typeof param[key] == 'string' && param[key].includes(',') && (dateValidate1.test(param[key].split(',')[0]) || dateValidate2.test(param[key].split(',')[0]))) {
|
|
24949
|
+
param[key] = param[key].split(',');
|
|
24950
|
+
}
|
|
24951
|
+
});
|
|
24952
|
+
},
|
|
24707
24953
|
getSearchValueByKey() {
|
|
24708
24954
|
let queryParamsObj = {};
|
|
24709
24955
|
if (this.queryParams.length > 0) {
|
|
@@ -24929,6 +25175,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24929
25175
|
},
|
|
24930
25176
|
// 同步选择结果
|
|
24931
25177
|
syncInputValue() {
|
|
25178
|
+
// 对话框跳转url需要两个参数 1当前控件绑定的对象参数modelName 2对话框配置中配置的key名称
|
|
25179
|
+
// 同步值时,如果有绑定url跳转参数,值格式为 名称¯跳转key:跳转value
|
|
24932
25180
|
let thisIndex = null; //当前数据所在下标
|
|
24933
25181
|
let parentIndex = null; //父节点所在下标
|
|
24934
25182
|
if (this.$parent.$el) {
|
|
@@ -25002,13 +25250,39 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25002
25250
|
}
|
|
25003
25251
|
}
|
|
25004
25252
|
}
|
|
25253
|
+
// 如果是查询中使用的对话框
|
|
25254
|
+
if (this.dialogType == 'search') {
|
|
25255
|
+
let returnVal = [];
|
|
25256
|
+
str.forEach(item => {
|
|
25257
|
+
returnVal.push(decodeURIComponent(item[this.modelName]));
|
|
25258
|
+
});
|
|
25259
|
+
this.$emit('updateInput', returnVal.join(','));
|
|
25260
|
+
return;
|
|
25261
|
+
}
|
|
25005
25262
|
const pInst = utils["a" /* default */].getOnlineFormInstance(this);
|
|
25006
25263
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
25007
25264
|
var val = '';
|
|
25008
25265
|
var from = con.from.toLowerCase();
|
|
25009
25266
|
str.forEach(item => {
|
|
25267
|
+
// 如果有绑定url跳转参数 需获取跳转参数的key
|
|
25010
25268
|
if (item) {
|
|
25011
|
-
|
|
25269
|
+
if (this.jumpParamKey && this.isHaveJumpUrl && (this.modelName == 'data.' + con['target'][0] || this.modelName.includes('item.') && con['target'][0].endsWith(this.modelName.split('.')[1]))) {
|
|
25270
|
+
// 如果有冒号 冒号前面是传值key 后面是取值key
|
|
25271
|
+
let jumpParamKey = this.jumpParamKey;
|
|
25272
|
+
let jumpParamValue = this.jumpParamKey;
|
|
25273
|
+
if (this.jumpParamKey.includes(':')) {
|
|
25274
|
+
jumpParamKey = this.jumpParamKey.split(':')[0];
|
|
25275
|
+
jumpParamValue = this.jumpParamKey.split(':')[1];
|
|
25276
|
+
}
|
|
25277
|
+
// 需根据key 找到对应 返回数据的返回名称
|
|
25278
|
+
let returnMap = returnStr.find(k => {
|
|
25279
|
+
return k.field.toLowerCase() == jumpParamValue.toLowerCase();
|
|
25280
|
+
});
|
|
25281
|
+
let returnMapKey = returnMap ? returnMap.comment : '';
|
|
25282
|
+
val += `${decodeURIComponent(item[from])}¯${jumpParamKey}:${decodeURIComponent(item[returnMapKey])},`;
|
|
25283
|
+
} else {
|
|
25284
|
+
val += decodeURIComponent(item[from]) + ',';
|
|
25285
|
+
}
|
|
25012
25286
|
}
|
|
25013
25287
|
});
|
|
25014
25288
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
@@ -25027,7 +25301,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25027
25301
|
const _val = val.substring(0, val.length - 1);
|
|
25028
25302
|
if (path) {
|
|
25029
25303
|
if (this.modelName && this.modelName.endsWith(path)) {
|
|
25030
|
-
// this.$emit('input', _val)
|
|
25031
25304
|
this.$emit('updateInput', _val);
|
|
25032
25305
|
}
|
|
25033
25306
|
utils["a" /* default */].setValueByPath(pInst, `${pInst.data ? 'data.' : 'model.'}${path}`, _val, thisIndex);
|
|
@@ -25259,8 +25532,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25259
25532
|
});
|
|
25260
25533
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=script&lang=js&
|
|
25261
25534
|
/* harmony default export */ var src_customDialogvue_type_script_lang_js_ = (customDialogvue_type_script_lang_js_);
|
|
25262
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=
|
|
25263
|
-
var
|
|
25535
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=9d63590a&prod&lang=scss&scoped=true&
|
|
25536
|
+
var customDialogvue_type_style_index_0_id_9d63590a_prod_lang_scss_scoped_true_ = __webpack_require__("64374");
|
|
25264
25537
|
|
|
25265
25538
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue
|
|
25266
25539
|
|
|
@@ -25273,31 +25546,47 @@ var customDialogvue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true_ =
|
|
|
25273
25546
|
|
|
25274
25547
|
var customDialog_component = normalizeComponent(
|
|
25275
25548
|
src_customDialogvue_type_script_lang_js_,
|
|
25276
|
-
|
|
25277
|
-
|
|
25549
|
+
customDialogvue_type_template_id_9d63590a_scoped_true_render,
|
|
25550
|
+
customDialogvue_type_template_id_9d63590a_scoped_true_staticRenderFns,
|
|
25278
25551
|
false,
|
|
25279
25552
|
null,
|
|
25280
|
-
"
|
|
25553
|
+
"9d63590a",
|
|
25281
25554
|
null
|
|
25282
25555
|
|
|
25283
25556
|
)
|
|
25284
25557
|
|
|
25285
25558
|
/* harmony default export */ var CustomDialog_src_customDialog = (customDialog_component.exports);
|
|
25286
|
-
// 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=
|
|
25287
|
-
var
|
|
25288
|
-
|
|
25289
|
-
|
|
25290
|
-
|
|
25291
|
-
|
|
25292
|
-
|
|
25293
|
-
|
|
25294
|
-
|
|
25559
|
+
// 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&
|
|
25560
|
+
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) {
|
|
25561
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25562
|
+
}}}):_vm._e(),(condition.config.alias == 'org')?_c('ht-org-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25563
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25564
|
+
}}}):_vm._e(),(condition.config.alias == 'role')?_c('ht-role-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25565
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25566
|
+
}}}):_vm._e(),(condition.config.alias == 'job')?_c('ht-job-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25567
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25568
|
+
}}}):_vm._e(),(condition.config.alias == 'post')?_c('ht-post-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25569
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25570
|
+
}}}):_vm._e(),(condition.config.alias == 'dimension')?_c('ht-dimension-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25571
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25572
|
+
}}}):_vm._e()],1):_vm._e(),(condition.controllerType == '5')?_c('div',[_c('ht-custom-dialog',{attrs:{"model-name":condition.config.keyBind,"dialogType":"search","custdialog":{
|
|
25573
|
+
name: '请选择',
|
|
25574
|
+
icon: '',
|
|
25575
|
+
custDialog: {
|
|
25576
|
+
selectNum: 1,
|
|
25577
|
+
conditions: [],
|
|
25578
|
+
mappingConf: [],
|
|
25579
|
+
custQueryJson: [],
|
|
25580
|
+
alias: condition.config.alias,
|
|
25581
|
+
type: 'custDialog',
|
|
25582
|
+
},
|
|
25583
|
+
}},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(
|
|
25295
25584
|
function (k) { return k.defaultType == '4'; }
|
|
25296
|
-
)),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)}
|
|
25297
|
-
var
|
|
25585
|
+
)),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)}
|
|
25586
|
+
var customMobileDialogvue_type_template_id_edd3e5bc_scoped_true_staticRenderFns = []
|
|
25298
25587
|
|
|
25299
25588
|
|
|
25300
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=
|
|
25589
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=edd3e5bc&scoped=true&
|
|
25301
25590
|
|
|
25302
25591
|
// 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&
|
|
25303
25592
|
//
|
|
@@ -25558,6 +25847,116 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25558
25847
|
//
|
|
25559
25848
|
//
|
|
25560
25849
|
//
|
|
25850
|
+
//
|
|
25851
|
+
//
|
|
25852
|
+
//
|
|
25853
|
+
//
|
|
25854
|
+
//
|
|
25855
|
+
//
|
|
25856
|
+
//
|
|
25857
|
+
//
|
|
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
|
+
//
|
|
25561
25960
|
|
|
25562
25961
|
|
|
25563
25962
|
|
|
@@ -25579,10 +25978,17 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25579
25978
|
subIndex: Number,
|
|
25580
25979
|
sunIndex: Number,
|
|
25581
25980
|
subPath: String,
|
|
25582
|
-
currentSubData: Array
|
|
25981
|
+
currentSubData: Array,
|
|
25982
|
+
dialogConfig: Object,
|
|
25983
|
+
dialogType: String
|
|
25583
25984
|
},
|
|
25584
25985
|
data() {
|
|
25585
25986
|
return {
|
|
25987
|
+
dateType: 'date',
|
|
25988
|
+
currentDate: '',
|
|
25989
|
+
// 当前日期
|
|
25990
|
+
isShowDatePop: false,
|
|
25991
|
+
// 是否显示日期选择控件
|
|
25586
25992
|
isShowMoreSearch: false,
|
|
25587
25993
|
treeSelectText: '',
|
|
25588
25994
|
// 组合树时选中的查询条件
|
|
@@ -25662,9 +26068,49 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25662
26068
|
sureButtonText() {
|
|
25663
26069
|
const selectedText = this.selectIds.length > 0 ? `(${this.selectIds.length})` : '';
|
|
25664
26070
|
return `${this.$t('ht.common.confirm')}${selectedText}`;
|
|
26071
|
+
},
|
|
26072
|
+
jumpParamKey() {
|
|
26073
|
+
return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
|
|
26074
|
+
},
|
|
26075
|
+
// 是否保存成跳转url参数
|
|
26076
|
+
isHaveJumpUrl() {
|
|
26077
|
+
return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
26078
|
+
},
|
|
26079
|
+
sortDisplayfield() {
|
|
26080
|
+
let reverseArr = JSON.parse(JSON.stringify(this.displayfield));
|
|
26081
|
+
reverseArr.reverse();
|
|
26082
|
+
return reverseArr.sort((a, b) => {
|
|
26083
|
+
return a.sort > b.sort ? 1 : -1;
|
|
26084
|
+
});
|
|
25665
26085
|
}
|
|
25666
26086
|
},
|
|
25667
26087
|
methods: {
|
|
26088
|
+
// 获取已选择的选择器数据id
|
|
26089
|
+
getSelectId(data) {
|
|
26090
|
+
if (!data || !data.length) {
|
|
26091
|
+
return '';
|
|
26092
|
+
}
|
|
26093
|
+
let ids = [];
|
|
26094
|
+
data.forEach(item => {
|
|
26095
|
+
ids.push(item.id);
|
|
26096
|
+
});
|
|
26097
|
+
return ids.join(',');
|
|
26098
|
+
},
|
|
26099
|
+
showDate(index, key) {
|
|
26100
|
+
this.dateType = this.conditionBind[index].config.inputFormat.includes('mm:') ? 'datetime' : 'date';
|
|
26101
|
+
this.currentDateData = {
|
|
26102
|
+
index,
|
|
26103
|
+
key
|
|
26104
|
+
};
|
|
26105
|
+
this.currentDate = this.queryParams[index][key] ? new Date(this.queryParams[index][key].replace(/-/g, '/')) : new Date();
|
|
26106
|
+
this.isShowDatePop = true;
|
|
26107
|
+
},
|
|
26108
|
+
// 日期确认
|
|
26109
|
+
confirmFn() {
|
|
26110
|
+
let currentConfig = this.conditionBind[this.currentDateData.index];
|
|
26111
|
+
this.queryParams[this.currentDateData.index][this.currentDateData.key] = this.currentDate.format(currentConfig.config.inputFormat);
|
|
26112
|
+
this.isShowDatePop = false;
|
|
26113
|
+
},
|
|
25668
26114
|
searchInputChange() {
|
|
25669
26115
|
if (!this.isShowMoreSearch) {
|
|
25670
26116
|
this.search(true);
|
|
@@ -25710,112 +26156,121 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25710
26156
|
this.search(true);
|
|
25711
26157
|
},
|
|
25712
26158
|
showDialog() {
|
|
25713
|
-
const this_ = this;
|
|
25714
26159
|
this.fixedParams = {};
|
|
26160
|
+
// 如果已存在配置信息就不去请求配置信息 直接初始化数据
|
|
26161
|
+
if (this.dialogConfig) {
|
|
26162
|
+
this.initDialog(this.dialogConfig);
|
|
26163
|
+
return;
|
|
26164
|
+
}
|
|
25715
26165
|
var alias = this.custdialog.custDialog.alias;
|
|
25716
26166
|
this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
|
|
25717
|
-
|
|
25718
|
-
|
|
25719
|
-
|
|
25720
|
-
|
|
25721
|
-
|
|
25722
|
-
|
|
25723
|
-
|
|
25724
|
-
|
|
25725
|
-
|
|
25726
|
-
|
|
25727
|
-
|
|
25728
|
-
|
|
25729
|
-
|
|
25730
|
-
|
|
25731
|
-
|
|
25732
|
-
|
|
25733
|
-
|
|
25734
|
-
|
|
25735
|
-
|
|
25736
|
-
|
|
25737
|
-
|
|
26167
|
+
this.initDialog(customDialog);
|
|
26168
|
+
});
|
|
26169
|
+
},
|
|
26170
|
+
initDialog(customDialog) {
|
|
26171
|
+
let alias = this.custdialog.custDialog.alias;
|
|
26172
|
+
const this_ = this;
|
|
26173
|
+
if (!customDialog || !customDialog.alias) {
|
|
26174
|
+
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
26175
|
+
return;
|
|
26176
|
+
}
|
|
26177
|
+
if (customDialog.style == 1) {
|
|
26178
|
+
var displaylist = JSON.parse(customDialog.displayfield);
|
|
26179
|
+
this_.nodeKey = displaylist.id;
|
|
26180
|
+
}
|
|
26181
|
+
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
26182
|
+
let obj = {};
|
|
26183
|
+
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
26184
|
+
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
26185
|
+
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
26186
|
+
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
26187
|
+
if (exp) {
|
|
26188
|
+
const params = JSON.parse(exp);
|
|
26189
|
+
if (params.pageBean) {
|
|
26190
|
+
this.pagination = {
|
|
26191
|
+
...params.pageBean
|
|
26192
|
+
};
|
|
25738
26193
|
}
|
|
25739
26194
|
}
|
|
25740
|
-
|
|
25741
|
-
|
|
25742
|
-
|
|
25743
|
-
|
|
25744
|
-
|
|
25745
|
-
|
|
25746
|
-
|
|
25747
|
-
|
|
25748
|
-
|
|
25749
|
-
|
|
25750
|
-
|
|
25751
|
-
|
|
25752
|
-
|
|
25753
|
-
|
|
25754
|
-
|
|
25755
|
-
|
|
25756
|
-
|
|
25757
|
-
}
|
|
25758
|
-
}
|
|
26195
|
+
}
|
|
26196
|
+
//对话框按表单字段查询(参数传入的)
|
|
26197
|
+
let bindList = this_.custdialog.custDialog.conditions;
|
|
26198
|
+
this_.param = []; //绑定的表单字段
|
|
26199
|
+
if (bindList.length > 0) {
|
|
26200
|
+
bindList.forEach(ele => {
|
|
26201
|
+
//绑定表单字段
|
|
26202
|
+
if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
|
|
26203
|
+
let obj = {};
|
|
26204
|
+
obj.field = ele.field;
|
|
26205
|
+
obj.bind = ele.bind;
|
|
26206
|
+
obj.bindType = ele.bindType;
|
|
26207
|
+
this_.param.push(obj);
|
|
26208
|
+
}
|
|
26209
|
+
// bindType 1 表单字段 2固定 3脚本
|
|
26210
|
+
if (ele.defaultType == '3' && ele.bindType === 2) {
|
|
26211
|
+
this_.fixedParams[ele.field] = ele.bind || '';
|
|
26212
|
+
}
|
|
26213
|
+
});
|
|
26214
|
+
}
|
|
25759
26215
|
|
|
25760
|
-
|
|
25761
|
-
|
|
25762
|
-
|
|
25763
|
-
|
|
25764
|
-
|
|
25765
|
-
|
|
25766
|
-
|
|
25767
|
-
|
|
25768
|
-
|
|
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
|
-
}
|
|
26216
|
+
//判断对话框查询是否有条件
|
|
26217
|
+
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
26218
|
+
this_.conditionBind = [];
|
|
26219
|
+
let queryParams = [];
|
|
26220
|
+
let placeholders = [];
|
|
26221
|
+
if (userInputList.length > 0) {
|
|
26222
|
+
userInputList.forEach(ele => {
|
|
26223
|
+
var obj = {};
|
|
26224
|
+
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
26225
|
+
if (ele.defaultType == '1') {
|
|
26226
|
+
obj[ele.field] = '';
|
|
26227
|
+
queryParams.push(obj);
|
|
26228
|
+
// queryParams[ele.field] = "";
|
|
26229
|
+
this_.conditionBind.push(ele);
|
|
26230
|
+
placeholders.push('请输入' + ele.comment);
|
|
26231
|
+
}
|
|
26232
|
+
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
26233
|
+
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
26234
|
+
}
|
|
26235
|
+
});
|
|
26236
|
+
this.$set(this, 'queryParams', queryParams);
|
|
26237
|
+
this.$set(this, 'placeholders', placeholders);
|
|
26238
|
+
}
|
|
26239
|
+
if (customDialog.style == 0 || customDialog.style == 2) {
|
|
26240
|
+
//列表
|
|
26241
|
+
this_.customDialogShow({
|
|
26242
|
+
alias: alias,
|
|
26243
|
+
customDialog: customDialog
|
|
26244
|
+
});
|
|
26245
|
+
} else if (customDialog.style == 1) {
|
|
26246
|
+
//树形
|
|
26247
|
+
this_.pageParam = {
|
|
26248
|
+
alias: alias,
|
|
26249
|
+
customDialog: customDialog
|
|
26250
|
+
};
|
|
26251
|
+
this_.customDialog = customDialog;
|
|
26252
|
+
let param = {};
|
|
26253
|
+
this_.conditionfieldTree = [];
|
|
26254
|
+
//判断是否存在条件
|
|
26255
|
+
if (customDialog.conditionfield) {
|
|
26256
|
+
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
26257
|
+
if (this_.conditionfieldTree.length > 0) {
|
|
26258
|
+
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
26259
|
+
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
26260
|
+
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
26261
|
+
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
25807
26262
|
}
|
|
25808
26263
|
}
|
|
25809
26264
|
}
|
|
25810
|
-
//有动态传入的字段
|
|
25811
|
-
if (JSON.stringify(param) != '{}') {
|
|
25812
|
-
this_.dialogVisible = true;
|
|
25813
|
-
} else {
|
|
25814
|
-
//无动态传入的字段
|
|
25815
|
-
this_.customDialogTreeShow(this_.pageParam);
|
|
25816
|
-
}
|
|
25817
26265
|
}
|
|
25818
|
-
|
|
26266
|
+
//有动态传入的字段
|
|
26267
|
+
if (JSON.stringify(param) != '{}') {
|
|
26268
|
+
this_.dialogVisible = true;
|
|
26269
|
+
} else {
|
|
26270
|
+
//无动态传入的字段
|
|
26271
|
+
this_.customDialogTreeShow(this_.pageParam);
|
|
26272
|
+
}
|
|
26273
|
+
}
|
|
25819
26274
|
},
|
|
25820
26275
|
treeClick(data) {
|
|
25821
26276
|
// 单选
|
|
@@ -25933,13 +26388,13 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25933
26388
|
}
|
|
25934
26389
|
// 添加用户id 岗位id 组织id
|
|
25935
26390
|
try {
|
|
25936
|
-
if (this.$requestConfig.getUserId()) {
|
|
26391
|
+
if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
|
|
25937
26392
|
ctx.userId = this.$requestConfig.getUserId();
|
|
25938
26393
|
}
|
|
25939
|
-
if (this.$requestConfig.getOrgId()) {
|
|
26394
|
+
if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
|
|
25940
26395
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
25941
26396
|
}
|
|
25942
|
-
if (this.$requestConfig.getPostId()) {
|
|
26397
|
+
if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
|
|
25943
26398
|
ctx.postId = this.$requestConfig.getPostId();
|
|
25944
26399
|
}
|
|
25945
26400
|
} catch (e) {
|
|
@@ -26024,8 +26479,20 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26024
26479
|
this.selectOrgs = this.convertComment2Field(str, field);
|
|
26025
26480
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
26026
26481
|
var val = '';
|
|
26027
|
-
str.forEach(item => {
|
|
26028
|
-
|
|
26482
|
+
str.forEach((item, index) => {
|
|
26483
|
+
// 此处添加url跳转参数保存逻辑
|
|
26484
|
+
if (this.jumpParamKey && this.isHaveJumpUrl && (this.modelName == 'data.' + con['target'][0] || this.modelName.includes('item.') && con['target'][0].endsWith(this.modelName.split('.')[1]))) {
|
|
26485
|
+
// 如果有冒号 冒号前面是传值key 后面是取值key
|
|
26486
|
+
let jumpParamKey = this.jumpParamKey;
|
|
26487
|
+
let jumpParamValue = this.jumpParamKey;
|
|
26488
|
+
if (this.jumpParamKey.includes(':')) {
|
|
26489
|
+
jumpParamKey = this.jumpParamKey.split(':')[0];
|
|
26490
|
+
jumpParamValue = this.jumpParamKey.split(':')[1];
|
|
26491
|
+
}
|
|
26492
|
+
val += `${item[con.from]}¯${jumpParamKey}:${this.selectOrgs[index][jumpParamValue]},`;
|
|
26493
|
+
} else {
|
|
26494
|
+
val += item[con.from] + ',';
|
|
26495
|
+
}
|
|
26029
26496
|
});
|
|
26030
26497
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
26031
26498
|
utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
|
|
@@ -26098,6 +26565,19 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26098
26565
|
//用户输入的
|
|
26099
26566
|
if (this.queryParams.length != 0 && this.queryParams[0] != '') {
|
|
26100
26567
|
this.conditionBind.forEach((item, index) => {
|
|
26568
|
+
// 日期范围特殊处理
|
|
26569
|
+
if (item.dbType == 'date' && item.condition == 'BETWEEN') {
|
|
26570
|
+
if (this.queryParams[index].startDate && !this.queryParams[index].endDate || !this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
26571
|
+
flag = true;
|
|
26572
|
+
this.$message.info('日期范围未填写完整!');
|
|
26573
|
+
return;
|
|
26574
|
+
}
|
|
26575
|
+
if (this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
26576
|
+
this.queryParams[index][item.field] = `${this.queryParams[index].startDate},${this.queryParams[index].endDate}`;
|
|
26577
|
+
} else {
|
|
26578
|
+
this.queryParams[index][item.field] = '';
|
|
26579
|
+
}
|
|
26580
|
+
}
|
|
26101
26581
|
if (this.queryParams[index][item.field]) {
|
|
26102
26582
|
querys.push({
|
|
26103
26583
|
property: item.field,
|
|
@@ -26146,13 +26626,13 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26146
26626
|
ctx.total = pageBean.pageBean.total;
|
|
26147
26627
|
// 添加用户id 岗位id 组织id
|
|
26148
26628
|
try {
|
|
26149
|
-
if (this.$requestConfig.getUserId()) {
|
|
26629
|
+
if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
|
|
26150
26630
|
ctx.userId = this.$requestConfig.getUserId();
|
|
26151
26631
|
}
|
|
26152
|
-
if (this.$requestConfig.getOrgId()) {
|
|
26632
|
+
if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
|
|
26153
26633
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
26154
26634
|
}
|
|
26155
|
-
if (this.$requestConfig.getPostId()) {
|
|
26635
|
+
if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
|
|
26156
26636
|
ctx.postId = this.$requestConfig.getPostId();
|
|
26157
26637
|
}
|
|
26158
26638
|
} catch (e) {
|
|
@@ -26180,6 +26660,8 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26180
26660
|
} else {
|
|
26181
26661
|
param.pageBean.pageSize = -1;
|
|
26182
26662
|
}
|
|
26663
|
+
// 日期格式的 改成数组
|
|
26664
|
+
// this.changeDateFormat(param)
|
|
26183
26665
|
//构造请求的参数
|
|
26184
26666
|
let requestParam = {
|
|
26185
26667
|
pageBean: param,
|
|
@@ -26215,6 +26697,15 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26215
26697
|
}
|
|
26216
26698
|
}
|
|
26217
26699
|
},
|
|
26700
|
+
changeDateFormat(param) {
|
|
26701
|
+
let dateValidate1 = /^\d{4}\-\d{2}\-\d{2}$/;
|
|
26702
|
+
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$/;
|
|
26703
|
+
Object.keys(param).forEach(key => {
|
|
26704
|
+
if (param[key] && typeof param[key] == 'string' && param[key].includes(',') && (dateValidate1.test(param[key].split(',')[0]) || dateValidate2.test(param[key].split(',')[0]))) {
|
|
26705
|
+
param[key] = param[key].split(',');
|
|
26706
|
+
}
|
|
26707
|
+
});
|
|
26708
|
+
},
|
|
26218
26709
|
getSearchValueByKey() {
|
|
26219
26710
|
let queryParamsObj = {};
|
|
26220
26711
|
if (this.queryParams.length > 0) {
|
|
@@ -26413,13 +26904,37 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26413
26904
|
}
|
|
26414
26905
|
}
|
|
26415
26906
|
}
|
|
26907
|
+
// 如果是查询中使用的对话框
|
|
26908
|
+
if (this.dialogType == 'search') {
|
|
26909
|
+
let returnVal = [];
|
|
26910
|
+
str.forEach(item => {
|
|
26911
|
+
returnVal.push(decodeURIComponent(item[this.modelName]));
|
|
26912
|
+
});
|
|
26913
|
+
this.$emit('updateInput', returnVal.join(','));
|
|
26914
|
+
return;
|
|
26915
|
+
}
|
|
26416
26916
|
const pInst = utils["a" /* default */].getOnlineFormInstance(this);
|
|
26417
26917
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
26418
26918
|
var val = '';
|
|
26419
26919
|
var from = con.from.toLowerCase();
|
|
26420
26920
|
str.forEach(item => {
|
|
26421
26921
|
if (item) {
|
|
26422
|
-
|
|
26922
|
+
if (this.jumpParamKey && this.isHaveJumpUrl && (this.modelName == 'data.' + con['target'][0] || this.modelName.includes('item.') && con['target'][0].endsWith(this.modelName.split('.')[1]))) {
|
|
26923
|
+
let jumpParamKey = this.jumpParamKey;
|
|
26924
|
+
let jumpParamValue = this.jumpParamKey;
|
|
26925
|
+
if (this.jumpParamKey.includes(':')) {
|
|
26926
|
+
jumpParamKey = this.jumpParamKey.split(':')[0];
|
|
26927
|
+
jumpParamValue = this.jumpParamKey.split(':')[1];
|
|
26928
|
+
}
|
|
26929
|
+
// 需根据key 找到对应 返回数据的返回名称
|
|
26930
|
+
let returnMap = returnStr.find(k => {
|
|
26931
|
+
return k.field.toLowerCase() == jumpParamValue.toLowerCase();
|
|
26932
|
+
});
|
|
26933
|
+
let returnMapKey = returnMap ? returnMap.comment : '';
|
|
26934
|
+
val += `${decodeURIComponent(item[from])}¯${jumpParamKey}:${decodeURIComponent(item[returnMapKey])},`;
|
|
26935
|
+
} else {
|
|
26936
|
+
val += decodeURIComponent(item[from]) + ',';
|
|
26937
|
+
}
|
|
26423
26938
|
}
|
|
26424
26939
|
});
|
|
26425
26940
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
@@ -26456,20 +26971,6 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26456
26971
|
}
|
|
26457
26972
|
}
|
|
26458
26973
|
},
|
|
26459
|
-
// getSelected() {
|
|
26460
|
-
// let arr = []
|
|
26461
|
-
// this.selectIds.forEach((item) => {
|
|
26462
|
-
// debugger
|
|
26463
|
-
// let obj = this.dialogData.find((sub) => {
|
|
26464
|
-
// return sub.id_ === item
|
|
26465
|
-
// })
|
|
26466
|
-
// if (obj) {
|
|
26467
|
-
// arr.push(obj)
|
|
26468
|
-
// }
|
|
26469
|
-
// })
|
|
26470
|
-
|
|
26471
|
-
// return arr
|
|
26472
|
-
// },
|
|
26473
26974
|
calacInputSuffixHeight() {
|
|
26474
26975
|
this.$emit('calacInputSuffixHeight');
|
|
26475
26976
|
},
|
|
@@ -26671,11 +27172,11 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26671
27172
|
});
|
|
26672
27173
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=script&lang=js&
|
|
26673
27174
|
/* harmony default export */ var src_customMobileDialogvue_type_script_lang_js_ = (customMobileDialogvue_type_script_lang_js_);
|
|
26674
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=
|
|
26675
|
-
var
|
|
27175
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=edd3e5bc&prod&lang=scss&scoped=true&
|
|
27176
|
+
var customMobileDialogvue_type_style_index_0_id_edd3e5bc_prod_lang_scss_scoped_true_ = __webpack_require__("3a4c");
|
|
26676
27177
|
|
|
26677
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=
|
|
26678
|
-
var
|
|
27178
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=edd3e5bc&prod&lang=scss&
|
|
27179
|
+
var customMobileDialogvue_type_style_index_1_id_edd3e5bc_prod_lang_scss_ = __webpack_require__("87f5");
|
|
26679
27180
|
|
|
26680
27181
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue
|
|
26681
27182
|
|
|
@@ -26689,11 +27190,11 @@ var customMobileDialogvue_type_style_index_1_id_1661eebb_prod_lang_scss_ = __web
|
|
|
26689
27190
|
|
|
26690
27191
|
var customMobileDialog_component = normalizeComponent(
|
|
26691
27192
|
src_customMobileDialogvue_type_script_lang_js_,
|
|
26692
|
-
|
|
26693
|
-
|
|
27193
|
+
customMobileDialogvue_type_template_id_edd3e5bc_scoped_true_render,
|
|
27194
|
+
customMobileDialogvue_type_template_id_edd3e5bc_scoped_true_staticRenderFns,
|
|
26694
27195
|
false,
|
|
26695
27196
|
null,
|
|
26696
|
-
"
|
|
27197
|
+
"edd3e5bc",
|
|
26697
27198
|
null
|
|
26698
27199
|
|
|
26699
27200
|
)
|
|
@@ -26837,6 +27338,40 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26837
27338
|
//
|
|
26838
27339
|
//
|
|
26839
27340
|
//
|
|
27341
|
+
//
|
|
27342
|
+
//
|
|
27343
|
+
//
|
|
27344
|
+
//
|
|
27345
|
+
//
|
|
27346
|
+
//
|
|
27347
|
+
//
|
|
27348
|
+
//
|
|
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
|
+
//
|
|
26840
27375
|
|
|
26841
27376
|
|
|
26842
27377
|
|
|
@@ -26868,10 +27403,19 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26868
27403
|
subIndex: Number,
|
|
26869
27404
|
sunIndex: Number,
|
|
26870
27405
|
subPath: String,
|
|
26871
|
-
currentSubData: Array
|
|
27406
|
+
currentSubData: Array,
|
|
27407
|
+
dialogType: {
|
|
27408
|
+
// search表示在查询条件使用 form表示在表单中使用
|
|
27409
|
+
type: String,
|
|
27410
|
+
default: 'form'
|
|
27411
|
+
}
|
|
26872
27412
|
},
|
|
26873
27413
|
data() {
|
|
26874
27414
|
return {
|
|
27415
|
+
mobileSrc: '',
|
|
27416
|
+
isDialogFormShow: false,
|
|
27417
|
+
dialogConfig: null,
|
|
27418
|
+
// 对话框配置信息
|
|
26875
27419
|
isEditInputShow: false,
|
|
26876
27420
|
customValue: '',
|
|
26877
27421
|
defualtTooltipplacement: 'bottom',
|
|
@@ -26920,9 +27464,24 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26920
27464
|
}
|
|
26921
27465
|
let result = [];
|
|
26922
27466
|
nameAry.forEach(m => {
|
|
26923
|
-
|
|
26924
|
-
|
|
26925
|
-
};
|
|
27467
|
+
// 带url跳转参数的 使用上横杆区分参数 值格式为 名称¯跳转key:跳转value
|
|
27468
|
+
// 上横向保存数据库后 有可能被改变此处兼容写了一种上横线
|
|
27469
|
+
let n = {};
|
|
27470
|
+
if (m.includes('¯') && m.split('¯')[1] || m.includes('ˉ') && m.split('ˉ')[1]) {
|
|
27471
|
+
let val1 = m.includes('¯') ? m.split('¯')[0] : m.split('ˉ')[0];
|
|
27472
|
+
let val2 = m.includes('¯') ? m.split('¯')[1] : m.split('ˉ')[1];
|
|
27473
|
+
n.value = val1;
|
|
27474
|
+
let jumpParamStr = val2;
|
|
27475
|
+
if (jumpParamStr) {
|
|
27476
|
+
let jumpParam = jumpParamStr.split(':');
|
|
27477
|
+
n.jumpParamKey = jumpParam[0];
|
|
27478
|
+
n.jumpParamValue = jumpParam[1];
|
|
27479
|
+
}
|
|
27480
|
+
} else {
|
|
27481
|
+
n = {
|
|
27482
|
+
value: m
|
|
27483
|
+
};
|
|
27484
|
+
}
|
|
26926
27485
|
result.push(n);
|
|
26927
27486
|
});
|
|
26928
27487
|
return result;
|
|
@@ -26930,8 +27489,16 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26930
27489
|
},
|
|
26931
27490
|
isAllowCustom() {
|
|
26932
27491
|
return this.custdialog && this.custdialog.allowInput;
|
|
27492
|
+
},
|
|
27493
|
+
// 是否展示可跳转颜色
|
|
27494
|
+
isSrcColor() {
|
|
27495
|
+
return this.dialogConfig && this.dialogType !== 'search' && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
26933
27496
|
}
|
|
26934
27497
|
},
|
|
27498
|
+
created() {
|
|
27499
|
+
// 获取对话框配置,看是否有配置url跳转
|
|
27500
|
+
this.getDialogConfig();
|
|
27501
|
+
},
|
|
26935
27502
|
mounted() {
|
|
26936
27503
|
setTimeout(() => {
|
|
26937
27504
|
const {
|
|
@@ -26949,9 +27516,74 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26949
27516
|
}
|
|
26950
27517
|
//获取对话框按钮名称宽度
|
|
26951
27518
|
this.calacInputSuffixWidth();
|
|
27519
|
+
if (this.value && this.inputWriteable) {
|
|
27520
|
+
this.calacInputSuffixHeight();
|
|
27521
|
+
}
|
|
26952
27522
|
}, 50);
|
|
26953
27523
|
},
|
|
26954
27524
|
methods: {
|
|
27525
|
+
// 跳转url页面
|
|
27526
|
+
jumpUrl(item) {
|
|
27527
|
+
if (!this.isSrcColor) {
|
|
27528
|
+
if (this.inputWriteable) {
|
|
27529
|
+
this.showEditInput();
|
|
27530
|
+
}
|
|
27531
|
+
return;
|
|
27532
|
+
}
|
|
27533
|
+
let url = this.isMobile ? this.dialogConfig.mobileUrl : this.dialogConfig.pcUrl;
|
|
27534
|
+
// 获取通用token 和 url翻译
|
|
27535
|
+
Promise.all([this.$requestConfig.getThreeTreeToken(), this.transformUrl(url)]).then(res => {
|
|
27536
|
+
if (res[0] && res[0].code == 200) {
|
|
27537
|
+
let token = res[0].value;
|
|
27538
|
+
let endUrl = res[1];
|
|
27539
|
+
// 拼接参数 token和参数
|
|
27540
|
+
if (endUrl.indexOf('?') == -1) {
|
|
27541
|
+
endUrl += `?bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
|
|
27542
|
+
} else {
|
|
27543
|
+
endUrl += `&bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
|
|
27544
|
+
}
|
|
27545
|
+
if (this.isMobile) {
|
|
27546
|
+
this.mobileSrc = endUrl;
|
|
27547
|
+
this.isDialogFormShow = true;
|
|
27548
|
+
} else {
|
|
27549
|
+
window.open(endUrl);
|
|
27550
|
+
}
|
|
27551
|
+
} else {
|
|
27552
|
+
this.$message.info(res.message || '获取token失败!');
|
|
27553
|
+
}
|
|
27554
|
+
});
|
|
27555
|
+
},
|
|
27556
|
+
// 替换url中域名通配符 需要发送接口
|
|
27557
|
+
transformUrl(url) {
|
|
27558
|
+
return new Promise(resolve => {
|
|
27559
|
+
var reg = /(\$\{(\w+)\})/;
|
|
27560
|
+
var match = reg.exec(url);
|
|
27561
|
+
if (match) {
|
|
27562
|
+
let alias = match[2];
|
|
27563
|
+
if (alias) {
|
|
27564
|
+
this.$requestConfig.getHostByAlias(alias).then(res => {
|
|
27565
|
+
if (res && res.value && res.value.rootAddress) {
|
|
27566
|
+
resolve(url.replace(match[1], res.value.rootAddress));
|
|
27567
|
+
} else {
|
|
27568
|
+
resolve(url);
|
|
27569
|
+
}
|
|
27570
|
+
});
|
|
27571
|
+
} else {
|
|
27572
|
+
resolve(url);
|
|
27573
|
+
}
|
|
27574
|
+
} else {
|
|
27575
|
+
resolve(url);
|
|
27576
|
+
}
|
|
27577
|
+
});
|
|
27578
|
+
},
|
|
27579
|
+
// 获取对话框配置
|
|
27580
|
+
getDialogConfig() {
|
|
27581
|
+
if (this.custdialog && this.custdialog.custDialog && this.custdialog.custDialog.alias) this.$requestConfig.getCustomDialogByAlias(this.custdialog.custDialog.alias).then(response => {
|
|
27582
|
+
if (response) {
|
|
27583
|
+
this.dialogConfig = response;
|
|
27584
|
+
}
|
|
27585
|
+
});
|
|
27586
|
+
},
|
|
26955
27587
|
editInputBlur() {
|
|
26956
27588
|
this.$emit('input', this.customValue);
|
|
26957
27589
|
this.isEditInputShow = false;
|
|
@@ -27026,8 +27658,8 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27026
27658
|
});
|
|
27027
27659
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=script&lang=js&
|
|
27028
27660
|
/* harmony default export */ var packages_CustomDialog_src_mainvue_type_script_lang_js_ = (CustomDialog_src_mainvue_type_script_lang_js_);
|
|
27029
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=
|
|
27030
|
-
var
|
|
27661
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=117acabc&prod&lang=scss&scoped=true&
|
|
27662
|
+
var mainvue_type_style_index_0_id_117acabc_prod_lang_scss_scoped_true_ = __webpack_require__("12ce");
|
|
27031
27663
|
|
|
27032
27664
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue
|
|
27033
27665
|
|
|
@@ -27040,11 +27672,11 @@ var mainvue_type_style_index_0_id_0b5eb5e6_prod_lang_scss_scoped_true_ = __webpa
|
|
|
27040
27672
|
|
|
27041
27673
|
var CustomDialog_src_main_component = normalizeComponent(
|
|
27042
27674
|
packages_CustomDialog_src_mainvue_type_script_lang_js_,
|
|
27043
|
-
|
|
27044
|
-
|
|
27675
|
+
mainvue_type_template_id_117acabc_scoped_true_render,
|
|
27676
|
+
mainvue_type_template_id_117acabc_scoped_true_staticRenderFns,
|
|
27045
27677
|
false,
|
|
27046
27678
|
null,
|
|
27047
|
-
"
|
|
27679
|
+
"117acabc",
|
|
27048
27680
|
null
|
|
27049
27681
|
|
|
27050
27682
|
)
|
|
@@ -41684,12 +42316,12 @@ var GlobalValidate_component = normalizeComponent(
|
|
|
41684
42316
|
)
|
|
41685
42317
|
|
|
41686
42318
|
/* harmony default export */ var GlobalValidate = (GlobalValidate_component.exports);
|
|
41687
|
-
// 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=
|
|
41688
|
-
var
|
|
41689
|
-
var
|
|
42319
|
+
// 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&
|
|
42320
|
+
var GlobalQueryvue_type_template_id_e2a6b5c8_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span')}
|
|
42321
|
+
var GlobalQueryvue_type_template_id_e2a6b5c8_staticRenderFns = []
|
|
41690
42322
|
|
|
41691
42323
|
|
|
41692
|
-
// CONCATENATED MODULE: ./packages/Global/src/GlobalQuery.vue?vue&type=template&id=
|
|
42324
|
+
// CONCATENATED MODULE: ./packages/Global/src/GlobalQuery.vue?vue&type=template&id=e2a6b5c8&
|
|
41693
42325
|
|
|
41694
42326
|
// 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&
|
|
41695
42327
|
//
|
|
@@ -41872,8 +42504,8 @@ var GlobalQueryvue_type_template_id_10314ca6_staticRenderFns = []
|
|
|
41872
42504
|
|
|
41873
42505
|
var GlobalQuery_component = normalizeComponent(
|
|
41874
42506
|
src_GlobalQueryvue_type_script_lang_js_,
|
|
41875
|
-
|
|
41876
|
-
|
|
42507
|
+
GlobalQueryvue_type_template_id_e2a6b5c8_render,
|
|
42508
|
+
GlobalQueryvue_type_template_id_e2a6b5c8_staticRenderFns,
|
|
41877
42509
|
false,
|
|
41878
42510
|
null,
|
|
41879
42511
|
null,
|