three-trees-ui 1.0.14 → 1.0.15
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 +1142 -514
- package/lib/three-trees-ui.css +1 -1
- package/lib/three-trees-ui.umd.js +1142 -514
- 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 +464 -155
- package/packages/CustomDialog/src/main.vue +202 -10
- package/packages/DimensionSelector/src/main.vue +2 -0
- package/packages/Tree/src/main.vue +7 -2
|
@@ -1650,13 +1650,6 @@ const btnList = [{
|
|
|
1650
1650
|
|
|
1651
1651
|
/***/ }),
|
|
1652
1652
|
|
|
1653
|
-
/***/ "0ca0":
|
|
1654
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1655
|
-
|
|
1656
|
-
// extracted by mini-css-extract-plugin
|
|
1657
|
-
|
|
1658
|
-
/***/ }),
|
|
1659
|
-
|
|
1660
1653
|
/***/ "0edb":
|
|
1661
1654
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1662
1655
|
|
|
@@ -1884,7 +1877,7 @@ const SubPagination = {
|
|
|
1884
1877
|
|
|
1885
1878
|
/***/ }),
|
|
1886
1879
|
|
|
1887
|
-
/***/ "
|
|
1880
|
+
/***/ "1ba3":
|
|
1888
1881
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1889
1882
|
|
|
1890
1883
|
// extracted by mini-css-extract-plugin
|
|
@@ -2052,13 +2045,6 @@ module.exports = require("vuedraggable");
|
|
|
2052
2045
|
|
|
2053
2046
|
/***/ }),
|
|
2054
2047
|
|
|
2055
|
-
/***/ "333d":
|
|
2056
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2057
|
-
|
|
2058
|
-
// extracted by mini-css-extract-plugin
|
|
2059
|
-
|
|
2060
|
-
/***/ }),
|
|
2061
|
-
|
|
2062
2048
|
/***/ "33ce":
|
|
2063
2049
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2064
2050
|
|
|
@@ -2788,6 +2774,17 @@ Formulas.install = Vue => {
|
|
|
2788
2774
|
|
|
2789
2775
|
// extracted by mini-css-extract-plugin
|
|
2790
2776
|
|
|
2777
|
+
/***/ }),
|
|
2778
|
+
|
|
2779
|
+
/***/ "3be0":
|
|
2780
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2781
|
+
|
|
2782
|
+
"use strict";
|
|
2783
|
+
/* 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_384dd988_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("7090");
|
|
2784
|
+
/* 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_384dd988_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_384dd988_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
2785
|
+
/* unused harmony reexport * */
|
|
2786
|
+
|
|
2787
|
+
|
|
2791
2788
|
/***/ }),
|
|
2792
2789
|
|
|
2793
2790
|
/***/ "3c4b":
|
|
@@ -2837,23 +2834,30 @@ Formulas.install = Vue => {
|
|
|
2837
2834
|
|
|
2838
2835
|
/***/ }),
|
|
2839
2836
|
|
|
2840
|
-
/***/ "
|
|
2837
|
+
/***/ "45bb":
|
|
2838
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2839
|
+
|
|
2840
|
+
// extracted by mini-css-extract-plugin
|
|
2841
|
+
|
|
2842
|
+
/***/ }),
|
|
2843
|
+
|
|
2844
|
+
/***/ "4680":
|
|
2841
2845
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2842
2846
|
|
|
2843
2847
|
"use strict";
|
|
2844
|
-
/* harmony import */ var
|
|
2845
|
-
/* harmony import */ var
|
|
2848
|
+
/* 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_384dd988_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("b1a3");
|
|
2849
|
+
/* 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_384dd988_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_384dd988_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
2846
2850
|
/* unused harmony reexport * */
|
|
2847
2851
|
|
|
2848
2852
|
|
|
2849
2853
|
/***/ }),
|
|
2850
2854
|
|
|
2851
|
-
/***/ "
|
|
2855
|
+
/***/ "4876":
|
|
2852
2856
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2853
2857
|
|
|
2854
2858
|
"use strict";
|
|
2855
|
-
/* harmony import */ var
|
|
2856
|
-
/* harmony import */ var
|
|
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_UserSelectorMobileDialog_vue_vue_type_style_index_0_id_6313b4e0_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("33ce");
|
|
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_UserSelectorMobileDialog_vue_vue_type_style_index_0_id_6313b4e0_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_UserSelectorMobileDialog_vue_vue_type_style_index_0_id_6313b4e0_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
2857
2861
|
/* unused harmony reexport * */
|
|
2858
2862
|
|
|
2859
2863
|
|
|
@@ -2889,17 +2893,6 @@ Formulas.install = Vue => {
|
|
|
2889
2893
|
|
|
2890
2894
|
// extracted by mini-css-extract-plugin
|
|
2891
2895
|
|
|
2892
|
-
/***/ }),
|
|
2893
|
-
|
|
2894
|
-
/***/ "49f9":
|
|
2895
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2896
|
-
|
|
2897
|
-
"use strict";
|
|
2898
|
-
/* 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");
|
|
2899
|
-
/* 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__);
|
|
2900
|
-
/* unused harmony reexport * */
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
2896
|
/***/ }),
|
|
2904
2897
|
|
|
2905
2898
|
/***/ "4a17":
|
|
@@ -3038,6 +3031,13 @@ exports.clearImmediate = (typeof self !== "undefined" && self.clearImmediate) ||
|
|
|
3038
3031
|
|
|
3039
3032
|
/***/ }),
|
|
3040
3033
|
|
|
3034
|
+
/***/ "569e":
|
|
3035
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3036
|
+
|
|
3037
|
+
// extracted by mini-css-extract-plugin
|
|
3038
|
+
|
|
3039
|
+
/***/ }),
|
|
3040
|
+
|
|
3041
3041
|
/***/ "5877":
|
|
3042
3042
|
/***/ (function(module, exports) {
|
|
3043
3043
|
|
|
@@ -4128,6 +4128,13 @@ const dict = {
|
|
|
4128
4128
|
|
|
4129
4129
|
/***/ }),
|
|
4130
4130
|
|
|
4131
|
+
/***/ "6ebe":
|
|
4132
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4133
|
+
|
|
4134
|
+
// extracted by mini-css-extract-plugin
|
|
4135
|
+
|
|
4136
|
+
/***/ }),
|
|
4137
|
+
|
|
4131
4138
|
/***/ "6f28":
|
|
4132
4139
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4133
4140
|
|
|
@@ -4160,6 +4167,13 @@ const dict = {
|
|
|
4160
4167
|
|
|
4161
4168
|
/***/ }),
|
|
4162
4169
|
|
|
4170
|
+
/***/ "7090":
|
|
4171
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4172
|
+
|
|
4173
|
+
// extracted by mini-css-extract-plugin
|
|
4174
|
+
|
|
4175
|
+
/***/ }),
|
|
4176
|
+
|
|
4163
4177
|
/***/ "7152":
|
|
4164
4178
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4165
4179
|
|
|
@@ -4235,13 +4249,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4235
4249
|
|
|
4236
4250
|
/***/ }),
|
|
4237
4251
|
|
|
4238
|
-
/***/ "7c6e":
|
|
4239
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4240
|
-
|
|
4241
|
-
// extracted by mini-css-extract-plugin
|
|
4242
|
-
|
|
4243
|
-
/***/ }),
|
|
4244
|
-
|
|
4245
4252
|
/***/ "7d0a":
|
|
4246
4253
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4247
4254
|
|
|
@@ -4269,17 +4276,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4269
4276
|
|
|
4270
4277
|
// extracted by mini-css-extract-plugin
|
|
4271
4278
|
|
|
4272
|
-
/***/ }),
|
|
4273
|
-
|
|
4274
|
-
/***/ "7ff9":
|
|
4275
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4276
|
-
|
|
4277
|
-
"use strict";
|
|
4278
|
-
/* 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");
|
|
4279
|
-
/* 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__);
|
|
4280
|
-
/* unused harmony reexport * */
|
|
4281
|
-
|
|
4282
|
-
|
|
4283
4279
|
/***/ }),
|
|
4284
4280
|
|
|
4285
4281
|
/***/ "8262":
|
|
@@ -4334,6 +4330,17 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4334
4330
|
|
|
4335
4331
|
// extracted by mini-css-extract-plugin
|
|
4336
4332
|
|
|
4333
|
+
/***/ }),
|
|
4334
|
+
|
|
4335
|
+
/***/ "87a1":
|
|
4336
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4337
|
+
|
|
4338
|
+
"use strict";
|
|
4339
|
+
/* 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_bf5a35ae_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("45bb");
|
|
4340
|
+
/* 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_bf5a35ae_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_bf5a35ae_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
4341
|
+
/* unused harmony reexport * */
|
|
4342
|
+
|
|
4343
|
+
|
|
4337
4344
|
/***/ }),
|
|
4338
4345
|
|
|
4339
4346
|
/***/ "889a":
|
|
@@ -4715,14 +4722,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
4715
4722
|
/***/ "9224":
|
|
4716
4723
|
/***/ (function(module) {
|
|
4717
4724
|
|
|
4718
|
-
module.exports = JSON.parse("{\"a\":\"1.0.
|
|
4719
|
-
|
|
4720
|
-
/***/ }),
|
|
4721
|
-
|
|
4722
|
-
/***/ "923d":
|
|
4723
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4724
|
-
|
|
4725
|
-
// extracted by mini-css-extract-plugin
|
|
4725
|
+
module.exports = JSON.parse("{\"a\":\"1.0.15\"}");
|
|
4726
4726
|
|
|
4727
4727
|
/***/ }),
|
|
4728
4728
|
|
|
@@ -4847,13 +4847,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHoAAABMCAYAAACi
|
|
|
4847
4847
|
|
|
4848
4848
|
/***/ }),
|
|
4849
4849
|
|
|
4850
|
-
/***/ "a707":
|
|
4851
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4852
|
-
|
|
4853
|
-
// extracted by mini-css-extract-plugin
|
|
4854
|
-
|
|
4855
|
-
/***/ }),
|
|
4856
|
-
|
|
4857
4850
|
/***/ "a751":
|
|
4858
4851
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4859
4852
|
|
|
@@ -5442,6 +5435,17 @@ module.exports = require("setimmediate");
|
|
|
5442
5435
|
|
|
5443
5436
|
// extracted by mini-css-extract-plugin
|
|
5444
5437
|
|
|
5438
|
+
/***/ }),
|
|
5439
|
+
|
|
5440
|
+
/***/ "aeed":
|
|
5441
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5442
|
+
|
|
5443
|
+
"use strict";
|
|
5444
|
+
/* 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_3e2f487c_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1ba3");
|
|
5445
|
+
/* 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_3e2f487c_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_3e2f487c_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
5446
|
+
/* unused harmony reexport * */
|
|
5447
|
+
|
|
5448
|
+
|
|
5445
5449
|
/***/ }),
|
|
5446
5450
|
|
|
5447
5451
|
/***/ "af95":
|
|
@@ -6237,6 +6241,13 @@ const {
|
|
|
6237
6241
|
|
|
6238
6242
|
/***/ }),
|
|
6239
6243
|
|
|
6244
|
+
/***/ "b1a3":
|
|
6245
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
6246
|
+
|
|
6247
|
+
// extracted by mini-css-extract-plugin
|
|
6248
|
+
|
|
6249
|
+
/***/ }),
|
|
6250
|
+
|
|
6240
6251
|
/***/ "b1ce":
|
|
6241
6252
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6242
6253
|
|
|
@@ -6431,17 +6442,6 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
|
|
|
6431
6442
|
|
|
6432
6443
|
// extracted by mini-css-extract-plugin
|
|
6433
6444
|
|
|
6434
|
-
/***/ }),
|
|
6435
|
-
|
|
6436
|
-
/***/ "be12":
|
|
6437
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6438
|
-
|
|
6439
|
-
"use strict";
|
|
6440
|
-
/* 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");
|
|
6441
|
-
/* 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__);
|
|
6442
|
-
/* unused harmony reexport * */
|
|
6443
|
-
|
|
6444
|
-
|
|
6445
6445
|
/***/ }),
|
|
6446
6446
|
|
|
6447
6447
|
/***/ "c0a9":
|
|
@@ -6460,17 +6460,6 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
|
|
|
6460
6460
|
|
|
6461
6461
|
module.exports = require("moment");
|
|
6462
6462
|
|
|
6463
|
-
/***/ }),
|
|
6464
|
-
|
|
6465
|
-
/***/ "c33b":
|
|
6466
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6467
|
-
|
|
6468
|
-
"use strict";
|
|
6469
|
-
/* 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");
|
|
6470
|
-
/* 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__);
|
|
6471
|
-
/* unused harmony reexport * */
|
|
6472
|
-
|
|
6473
|
-
|
|
6474
6463
|
/***/ }),
|
|
6475
6464
|
|
|
6476
6465
|
/***/ "c429":
|
|
@@ -6603,6 +6592,17 @@ module.exports = g;
|
|
|
6603
6592
|
/* unused harmony reexport * */
|
|
6604
6593
|
|
|
6605
6594
|
|
|
6595
|
+
/***/ }),
|
|
6596
|
+
|
|
6597
|
+
/***/ "cc2b":
|
|
6598
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6599
|
+
|
|
6600
|
+
"use strict";
|
|
6601
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_10f71c00_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("569e");
|
|
6602
|
+
/* 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__);
|
|
6603
|
+
/* unused harmony reexport * */
|
|
6604
|
+
|
|
6605
|
+
|
|
6606
6606
|
/***/ }),
|
|
6607
6607
|
|
|
6608
6608
|
/***/ "cd87":
|
|
@@ -7157,23 +7157,23 @@ module.exports = require("deepmerge");
|
|
|
7157
7157
|
|
|
7158
7158
|
/***/ }),
|
|
7159
7159
|
|
|
7160
|
-
/***/ "
|
|
7160
|
+
/***/ "dc81":
|
|
7161
7161
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7162
7162
|
|
|
7163
7163
|
"use strict";
|
|
7164
|
-
/* harmony import */ var
|
|
7165
|
-
/* harmony import */ var
|
|
7164
|
+
/* 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");
|
|
7165
|
+
/* 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__);
|
|
7166
7166
|
/* unused harmony reexport * */
|
|
7167
7167
|
|
|
7168
7168
|
|
|
7169
7169
|
/***/ }),
|
|
7170
7170
|
|
|
7171
|
-
/***/ "
|
|
7171
|
+
/***/ "dccc":
|
|
7172
7172
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7173
7173
|
|
|
7174
7174
|
"use strict";
|
|
7175
|
-
/* harmony import */ var
|
|
7176
|
-
/* harmony import */ var
|
|
7175
|
+
/* 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");
|
|
7176
|
+
/* 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__);
|
|
7177
7177
|
/* unused harmony reexport * */
|
|
7178
7178
|
|
|
7179
7179
|
|
|
@@ -15606,17 +15606,17 @@ Demension_src_main.install = function (Vue) {
|
|
|
15606
15606
|
Vue.component(Demension_src_main.name, Demension_src_main);
|
|
15607
15607
|
};
|
|
15608
15608
|
/* harmony default export */ var Demension = (Demension_src_main);
|
|
15609
|
-
// 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=
|
|
15610
|
-
var
|
|
15609
|
+
// 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&
|
|
15610
|
+
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
|
|
15611
15611
|
? 'tree-button-group is-ie-explorer flex'
|
|
15612
15612
|
: '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){
|
|
15613
15613
|
var node = ref.node;
|
|
15614
15614
|
var subData = ref.data;
|
|
15615
15615
|
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)}
|
|
15616
|
-
var
|
|
15616
|
+
var mainvue_type_template_id_10f71c00_scoped_true_staticRenderFns = []
|
|
15617
15617
|
|
|
15618
15618
|
|
|
15619
|
-
// CONCATENATED MODULE: ./packages/Tree/src/main.vue?vue&type=template&id=
|
|
15619
|
+
// CONCATENATED MODULE: ./packages/Tree/src/main.vue?vue&type=template&id=10f71c00&scoped=true&
|
|
15620
15620
|
|
|
15621
15621
|
// 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&
|
|
15622
15622
|
//
|
|
@@ -15891,7 +15891,11 @@ var mainvue_type_template_id_5731e345_scoped_true_staticRenderFns = []
|
|
|
15891
15891
|
},
|
|
15892
15892
|
watch: {
|
|
15893
15893
|
filterText(val) {
|
|
15894
|
-
this
|
|
15894
|
+
if (this.lazy) {
|
|
15895
|
+
this.$emit('loadALL', val);
|
|
15896
|
+
} else {
|
|
15897
|
+
this.$refs.elTree.filter(val);
|
|
15898
|
+
}
|
|
15895
15899
|
},
|
|
15896
15900
|
defaultCheckedKeys(val) {
|
|
15897
15901
|
this.$refs.elTree.setCheckedKeys(val);
|
|
@@ -15984,8 +15988,8 @@ var mainvue_type_template_id_5731e345_scoped_true_staticRenderFns = []
|
|
|
15984
15988
|
});
|
|
15985
15989
|
// CONCATENATED MODULE: ./packages/Tree/src/main.vue?vue&type=script&lang=js&
|
|
15986
15990
|
/* harmony default export */ var packages_Tree_src_mainvue_type_script_lang_js_ = (Tree_src_mainvue_type_script_lang_js_);
|
|
15987
|
-
// EXTERNAL MODULE: ./packages/Tree/src/main.vue?vue&type=style&index=0&id=
|
|
15988
|
-
var
|
|
15991
|
+
// EXTERNAL MODULE: ./packages/Tree/src/main.vue?vue&type=style&index=0&id=10f71c00&prod&lang=scss&scoped=true&
|
|
15992
|
+
var mainvue_type_style_index_0_id_10f71c00_prod_lang_scss_scoped_true_ = __webpack_require__("cc2b");
|
|
15989
15993
|
|
|
15990
15994
|
// CONCATENATED MODULE: ./packages/Tree/src/main.vue
|
|
15991
15995
|
|
|
@@ -15998,11 +16002,11 @@ var mainvue_type_style_index_0_id_5731e345_prod_lang_scss_scoped_true_ = __webpa
|
|
|
15998
16002
|
|
|
15999
16003
|
var Tree_src_main_component = normalizeComponent(
|
|
16000
16004
|
packages_Tree_src_mainvue_type_script_lang_js_,
|
|
16001
|
-
|
|
16002
|
-
|
|
16005
|
+
mainvue_type_template_id_10f71c00_scoped_true_render,
|
|
16006
|
+
mainvue_type_template_id_10f71c00_scoped_true_staticRenderFns,
|
|
16003
16007
|
false,
|
|
16004
16008
|
null,
|
|
16005
|
-
"
|
|
16009
|
+
"10f71c00",
|
|
16006
16010
|
null
|
|
16007
16011
|
|
|
16008
16012
|
)
|
|
@@ -22494,8 +22498,8 @@ PostSelector_src_main.install = function (Vue) {
|
|
|
22494
22498
|
Vue.component(PostSelector_src_main.name, PostSelector_src_main);
|
|
22495
22499
|
};
|
|
22496
22500
|
/* harmony default export */ var PostSelector = (PostSelector_src_main);
|
|
22497
|
-
// 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=
|
|
22498
|
-
var
|
|
22501
|
+
// 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&
|
|
22502
|
+
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:[
|
|
22499
22503
|
'inputs',
|
|
22500
22504
|
_vm.formInputsDisplay == 'block'
|
|
22501
22505
|
? 'ht-form-inputs__block'
|
|
@@ -22510,10 +22514,10 @@ var mainvue_type_template_id_10681225_scoped_true_render = function () {var _vm=
|
|
|
22510
22514
|
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){
|
|
22511
22515
|
var select = ref.select;
|
|
22512
22516
|
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()}
|
|
22513
|
-
var
|
|
22517
|
+
var mainvue_type_template_id_8015cf1e_scoped_true_staticRenderFns = []
|
|
22514
22518
|
|
|
22515
22519
|
|
|
22516
|
-
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=template&id=
|
|
22520
|
+
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=template&id=8015cf1e&scoped=true&
|
|
22517
22521
|
|
|
22518
22522
|
// 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&
|
|
22519
22523
|
//
|
|
@@ -22772,6 +22776,8 @@ var mainvue_type_template_id_10681225_scoped_true_staticRenderFns = []
|
|
|
22772
22776
|
if (this.config.hasOwnProperty('demName')) {
|
|
22773
22777
|
utils["a" /* default */].setValueByConfigKey(this, this.config, 'demName', demNameAry.join(','));
|
|
22774
22778
|
}
|
|
22779
|
+
} else {
|
|
22780
|
+
this.$emit('change', newVal);
|
|
22775
22781
|
}
|
|
22776
22782
|
// 通过valueChange事件发布值变更消息
|
|
22777
22783
|
this.$emit('valueChange', ary.join(','), newVal);
|
|
@@ -22901,8 +22907,8 @@ var mainvue_type_template_id_10681225_scoped_true_staticRenderFns = []
|
|
|
22901
22907
|
});
|
|
22902
22908
|
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=script&lang=js&
|
|
22903
22909
|
/* harmony default export */ var packages_DimensionSelector_src_mainvue_type_script_lang_js_ = (DimensionSelector_src_mainvue_type_script_lang_js_);
|
|
22904
|
-
// EXTERNAL MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=style&index=0&id=
|
|
22905
|
-
var
|
|
22910
|
+
// EXTERNAL MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=style&index=0&id=8015cf1e&prod&lang=scss&scoped=true&
|
|
22911
|
+
var mainvue_type_style_index_0_id_8015cf1e_prod_lang_scss_scoped_true_ = __webpack_require__("dc81");
|
|
22906
22912
|
|
|
22907
22913
|
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue
|
|
22908
22914
|
|
|
@@ -22915,11 +22921,11 @@ var mainvue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true_ = __webpa
|
|
|
22915
22921
|
|
|
22916
22922
|
var DimensionSelector_src_main_component = normalizeComponent(
|
|
22917
22923
|
packages_DimensionSelector_src_mainvue_type_script_lang_js_,
|
|
22918
|
-
|
|
22919
|
-
|
|
22924
|
+
mainvue_type_template_id_8015cf1e_scoped_true_render,
|
|
22925
|
+
mainvue_type_template_id_8015cf1e_scoped_true_staticRenderFns,
|
|
22920
22926
|
false,
|
|
22921
22927
|
null,
|
|
22922
|
-
"
|
|
22928
|
+
"8015cf1e",
|
|
22923
22929
|
null
|
|
22924
22930
|
|
|
22925
22931
|
)
|
|
@@ -23547,8 +23553,8 @@ Dialog_src_main.install = function (Vue) {
|
|
|
23547
23553
|
Vue.component(Dialog_src_main.name, Dialog_src_main);
|
|
23548
23554
|
};
|
|
23549
23555
|
/* harmony default export */ var Dialog = (Dialog_src_main);
|
|
23550
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/main.vue?vue&type=template&id=
|
|
23551
|
-
var
|
|
23556
|
+
// 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=bf5a35ae&scoped=true&
|
|
23557
|
+
var mainvue_type_template_id_bf5a35ae_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:({
|
|
23552
23558
|
right: _vm.inputSuffixWidth - 1 + 'px',
|
|
23553
23559
|
width: 'auto!important',
|
|
23554
23560
|
height: _vm.inputSuffixHeight - 4 + 'px',
|
|
@@ -23557,11 +23563,11 @@ var mainvue_type_template_id_0b5eb5e6_scoped_true_render = function () {var _vm=
|
|
|
23557
23563
|
: 'el-input__icon icon-duihuakuang',style:({
|
|
23558
23564
|
fontSize: '17px',
|
|
23559
23565
|
lineHeight: _vm.inputSuffixHeight + 'px',
|
|
23560
|
-
})}),_vm._v("\n "+_vm._s(_vm.custdialog.name)+"\n ")])],1)])],1)]):_vm._e()]),(!_vm.inputWriteable)?_c('span',_vm._l((_vm.inputVal),function(item){return _c('span',{key:item.value,staticClass:"el-tag el-tag--info el-tag--small",staticStyle:{"margin-right":"8px"},on:{"click":function($event){$event.stopPropagation();}}},[_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)}
|
|
23561
|
-
var
|
|
23566
|
+
})}),_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)}
|
|
23567
|
+
var mainvue_type_template_id_bf5a35ae_scoped_true_staticRenderFns = []
|
|
23562
23568
|
|
|
23563
23569
|
|
|
23564
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=
|
|
23570
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=bf5a35ae&scoped=true&
|
|
23565
23571
|
|
|
23566
23572
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.js
|
|
23567
23573
|
|
|
@@ -23683,19 +23689,47 @@ var mainvue_type_template_id_0b5eb5e6_scoped_true_staticRenderFns = []
|
|
|
23683
23689
|
}
|
|
23684
23690
|
}
|
|
23685
23691
|
});
|
|
23686
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=
|
|
23687
|
-
var
|
|
23688
|
-
|
|
23689
|
-
|
|
23690
|
-
|
|
23691
|
-
|
|
23692
|
-
|
|
23693
|
-
|
|
23694
|
-
|
|
23695
|
-
|
|
23696
|
-
|
|
23697
|
-
|
|
23698
|
-
|
|
23692
|
+
// 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=3e2f487c&scoped=true&
|
|
23693
|
+
var customDialogvue_type_template_id_3e2f487c_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')
|
|
23694
|
+
? 'yyyy-MM-dd HH:mm:ss'
|
|
23695
|
+
: condition.config.inputFormat,"valueFormat":condition.config.inputFormat.includes('mm:ss')
|
|
23696
|
+
? 'yyyy-MM-dd HH:mm:ss'
|
|
23697
|
+
: 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')
|
|
23698
|
+
? 'yyyy-MM-dd HH:mm:ss'
|
|
23699
|
+
: condition.config.inputFormat,"valueFormat":condition.config.inputFormat.includes('mm:ss')
|
|
23700
|
+
? 'yyyy-MM-dd HH:mm:ss'
|
|
23701
|
+
: 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')
|
|
23702
|
+
? 'yyyy-MM-dd HH:mm:ss'
|
|
23703
|
+
: condition.config.inputFormat,"valueFormat":condition.config.inputFormat.includes('mm:ss')
|
|
23704
|
+
? 'yyyy-MM-dd HH:mm:ss'
|
|
23705
|
+
: 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) {
|
|
23706
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23707
|
+
}}}):_vm._e(),(condition.config.alias == 'org')?_c('ht-org-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23708
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23709
|
+
}}}):_vm._e(),(condition.config.alias == 'role')?_c('ht-role-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23710
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23711
|
+
}}}):_vm._e(),(condition.config.alias == 'job')?_c('ht-job-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23712
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23713
|
+
}}}):_vm._e(),(condition.config.alias == 'post')?_c('ht-post-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23714
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23715
|
+
}}}):_vm._e(),(condition.config.alias == 'dimension')?_c('ht-dimension-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23716
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23717
|
+
}}}):_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":{
|
|
23718
|
+
name: '请选择',
|
|
23719
|
+
icon: '',
|
|
23720
|
+
custDialog: {
|
|
23721
|
+
selectNum: 1,
|
|
23722
|
+
conditions: [],
|
|
23723
|
+
mappingConf: [],
|
|
23724
|
+
custQueryJson: [],
|
|
23725
|
+
alias: condition.config.alias,
|
|
23726
|
+
type: 'custDialog',
|
|
23727
|
+
},
|
|
23728
|
+
}},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)}
|
|
23729
|
+
var customDialogvue_type_template_id_3e2f487c_scoped_true_staticRenderFns = []
|
|
23730
|
+
|
|
23731
|
+
|
|
23732
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=3e2f487c&scoped=true&
|
|
23699
23733
|
|
|
23700
23734
|
// EXTERNAL MODULE: external "jquery"
|
|
23701
23735
|
var external_jquery_ = __webpack_require__("c5e1");
|
|
@@ -24004,117 +24038,268 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24004
24038
|
//
|
|
24005
24039
|
//
|
|
24006
24040
|
//
|
|
24007
|
-
|
|
24008
|
-
|
|
24009
|
-
|
|
24010
|
-
|
|
24011
|
-
|
|
24012
|
-
|
|
24013
|
-
|
|
24014
|
-
|
|
24015
|
-
|
|
24016
|
-
|
|
24017
|
-
|
|
24018
|
-
|
|
24019
|
-
|
|
24020
|
-
|
|
24021
|
-
|
|
24022
|
-
|
|
24023
|
-
|
|
24024
|
-
|
|
24025
|
-
|
|
24026
|
-
|
|
24027
|
-
|
|
24028
|
-
|
|
24029
|
-
|
|
24030
|
-
|
|
24031
|
-
|
|
24032
|
-
|
|
24033
|
-
|
|
24034
|
-
|
|
24035
|
-
|
|
24036
|
-
|
|
24037
|
-
|
|
24038
|
-
|
|
24039
|
-
|
|
24040
|
-
|
|
24041
|
-
|
|
24042
|
-
|
|
24043
|
-
|
|
24044
|
-
|
|
24045
|
-
|
|
24046
|
-
|
|
24047
|
-
|
|
24048
|
-
|
|
24049
|
-
|
|
24050
|
-
|
|
24051
|
-
|
|
24052
|
-
|
|
24053
|
-
|
|
24054
|
-
|
|
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
|
-
|
|
24041
|
+
//
|
|
24042
|
+
//
|
|
24043
|
+
//
|
|
24044
|
+
//
|
|
24045
|
+
//
|
|
24046
|
+
//
|
|
24047
|
+
//
|
|
24048
|
+
//
|
|
24049
|
+
//
|
|
24050
|
+
//
|
|
24051
|
+
//
|
|
24052
|
+
//
|
|
24053
|
+
//
|
|
24054
|
+
//
|
|
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
|
+
/* harmony default export */ var customDialogvue_type_script_lang_js_ = ({
|
|
24184
|
+
name: 'CustomDialog',
|
|
24185
|
+
mixins: [src_customDialog, mixins_locale, inputName["a" /* default */], mixins_permission["a" /* default */], mixins_form["a" /* default */]],
|
|
24186
|
+
props: {
|
|
24187
|
+
custdialog: {
|
|
24188
|
+
type: Object,
|
|
24189
|
+
default: () => {
|
|
24190
|
+
return {};
|
|
24191
|
+
}
|
|
24192
|
+
},
|
|
24193
|
+
value: String,
|
|
24194
|
+
subIndex: Number,
|
|
24195
|
+
sunIndex: Number,
|
|
24196
|
+
subPath: String,
|
|
24197
|
+
currentSubData: Array,
|
|
24198
|
+
isReadOnly: {
|
|
24199
|
+
type: Boolean,
|
|
24200
|
+
default: false
|
|
24201
|
+
},
|
|
24202
|
+
dialogConfig: Object,
|
|
24203
|
+
dialogType: String
|
|
24204
|
+
},
|
|
24205
|
+
data() {
|
|
24206
|
+
return {
|
|
24207
|
+
startDate: '',
|
|
24208
|
+
// 日期控件
|
|
24209
|
+
endDate: '',
|
|
24210
|
+
// 日期控件
|
|
24211
|
+
tableHeight: 350,
|
|
24212
|
+
isEditInputShow: false,
|
|
24213
|
+
customValue: '',
|
|
24214
|
+
defualtTooltipplacement: 'bottom',
|
|
24215
|
+
dialogVisible: false,
|
|
24216
|
+
//打开树形输入动态参数值的对话框
|
|
24217
|
+
pageParam: {},
|
|
24218
|
+
//树形对话框参数
|
|
24219
|
+
conditionfieldTree: [],
|
|
24220
|
+
//树形对话框条件字段
|
|
24221
|
+
data: {
|
|
24222
|
+
qxdd: {}
|
|
24223
|
+
},
|
|
24224
|
+
inputSuffixWidth: 0,
|
|
24225
|
+
placeholderBo: '',
|
|
24226
|
+
quickSearch: '',
|
|
24227
|
+
//填写提示
|
|
24228
|
+
conditionBind: [],
|
|
24229
|
+
//参数查询字段
|
|
24230
|
+
nodeKey: 'ID_',
|
|
24231
|
+
//树形数据父Id
|
|
24232
|
+
customDialogShowList: false,
|
|
24233
|
+
customDialogShowTree: false,
|
|
24234
|
+
selectOrgProps: {
|
|
24235
|
+
label: 'name'
|
|
24236
|
+
},
|
|
24237
|
+
style: '',
|
|
24238
|
+
//对话框宽高
|
|
24239
|
+
selectOrgs: [],
|
|
24240
|
+
inputSuffixHeight: 33,
|
|
24241
|
+
config: null,
|
|
24242
|
+
updating: false,
|
|
24243
|
+
displayfield: [],
|
|
24244
|
+
//显示字段
|
|
24245
|
+
customDialog: {},
|
|
24246
|
+
queryParam: '',
|
|
24247
|
+
//查询条件输入的值
|
|
24248
|
+
props1: [],
|
|
24249
|
+
showData: [],
|
|
24250
|
+
checkBoxDataAll: [],
|
|
24251
|
+
//选中对象的集合
|
|
24252
|
+
defaultProps: {
|
|
24253
|
+
children: 'children',
|
|
24254
|
+
label: 'label',
|
|
24255
|
+
isLeaf: 'isLeaf'
|
|
24256
|
+
},
|
|
24257
|
+
propsData: [],
|
|
24258
|
+
querysShow: false,
|
|
24259
|
+
//是否显示搜索框
|
|
24260
|
+
tableRadioVal: '',
|
|
24261
|
+
isCurrentChange: false,
|
|
24262
|
+
//是否不执行 orgTableSelection方法
|
|
24263
|
+
param: [],
|
|
24264
|
+
//绑定的表单字段
|
|
24265
|
+
treeList: [],
|
|
24266
|
+
displayField: {},
|
|
24267
|
+
queryParams: [],
|
|
24268
|
+
placeholders: [],
|
|
24269
|
+
oldselectOrgs: [],
|
|
24270
|
+
combinationTreeData: [],
|
|
24271
|
+
combiTreeDisplayField: [],
|
|
24272
|
+
combinationTreeQuerys: [],
|
|
24273
|
+
combinationRule: {},
|
|
24274
|
+
toggleBtn: 'el-icon-arrow-left',
|
|
24275
|
+
treeShow: true,
|
|
24276
|
+
transtionWidth: '25%',
|
|
24277
|
+
leftTreeTitle: '',
|
|
24278
|
+
writeable: true,
|
|
24279
|
+
fixedParams: {},
|
|
24280
|
+
// 传过来的固定值
|
|
24281
|
+
executeScriptResult: null
|
|
24282
|
+
};
|
|
24283
|
+
},
|
|
24284
|
+
computed: {
|
|
24285
|
+
//默认展开的节点的 key 的数组
|
|
24286
|
+
defaultExpandedKeys: function () {
|
|
24287
|
+
if (this.props1 && this.props1.length > 0 && this.props1[0][this.nodeKey]) {
|
|
24115
24288
|
return [this.props1[0][this.nodeKey]];
|
|
24116
24289
|
}
|
|
24117
24290
|
return [];
|
|
24291
|
+
},
|
|
24292
|
+
jumpParamKey() {
|
|
24293
|
+
return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
|
|
24294
|
+
},
|
|
24295
|
+
// 是否保存成跳转url参数
|
|
24296
|
+
isHaveJumpUrl() {
|
|
24297
|
+
return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
24298
|
+
},
|
|
24299
|
+
sortDisplayfield() {
|
|
24300
|
+
return this.displayfield.sort((a, b) => {
|
|
24301
|
+
return a.sort > b.sort ? 1 : -1;
|
|
24302
|
+
});
|
|
24118
24303
|
}
|
|
24119
24304
|
},
|
|
24120
24305
|
watch: {
|
|
@@ -24150,131 +24335,151 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24150
24335
|
});
|
|
24151
24336
|
},
|
|
24152
24337
|
methods: {
|
|
24338
|
+
// 获取已选择的选择器数据id
|
|
24339
|
+
getSelectId(data) {
|
|
24340
|
+
if (!data || !data.length) {
|
|
24341
|
+
return '';
|
|
24342
|
+
}
|
|
24343
|
+
let ids = [];
|
|
24344
|
+
data.forEach(item => {
|
|
24345
|
+
ids.push(item.id);
|
|
24346
|
+
});
|
|
24347
|
+
return ids.join(',');
|
|
24348
|
+
},
|
|
24153
24349
|
showDialog() {
|
|
24154
24350
|
let isMounted = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
24155
|
-
const this_ = this;
|
|
24156
24351
|
this.fixedParams = {};
|
|
24352
|
+
// 如果已存在配置信息就不去请求配置信息 直接初始化数据
|
|
24353
|
+
if (this.dialogConfig) {
|
|
24354
|
+
this.initDialog(this.dialogConfig, isMounted);
|
|
24355
|
+
return;
|
|
24356
|
+
}
|
|
24157
24357
|
var alias = this.custdialog.custDialog.alias;
|
|
24158
24358
|
this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
|
|
24159
|
-
|
|
24160
|
-
|
|
24161
|
-
|
|
24162
|
-
|
|
24163
|
-
|
|
24164
|
-
|
|
24165
|
-
|
|
24166
|
-
|
|
24167
|
-
|
|
24168
|
-
|
|
24169
|
-
|
|
24170
|
-
|
|
24171
|
-
|
|
24172
|
-
|
|
24173
|
-
|
|
24174
|
-
|
|
24175
|
-
|
|
24176
|
-
|
|
24177
|
-
|
|
24178
|
-
|
|
24179
|
-
|
|
24359
|
+
this.initDialog(customDialog, isMounted);
|
|
24360
|
+
});
|
|
24361
|
+
},
|
|
24362
|
+
initDialog(customDialog, isMounted) {
|
|
24363
|
+
let alias = this.custdialog.custDialog.alias;
|
|
24364
|
+
const this_ = this;
|
|
24365
|
+
if (!customDialog || !customDialog.alias) {
|
|
24366
|
+
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
24367
|
+
return;
|
|
24368
|
+
}
|
|
24369
|
+
if (customDialog.style == 1) {
|
|
24370
|
+
var displaylist = JSON.parse(customDialog.displayfield);
|
|
24371
|
+
this_.nodeKey = displaylist.id;
|
|
24372
|
+
}
|
|
24373
|
+
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
24374
|
+
let obj = {};
|
|
24375
|
+
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
24376
|
+
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
24377
|
+
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
24378
|
+
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
24379
|
+
if (exp) {
|
|
24380
|
+
const params = JSON.parse(exp);
|
|
24381
|
+
if (params.pageBean) {
|
|
24382
|
+
this.pagination = {
|
|
24383
|
+
...params.pageBean
|
|
24384
|
+
};
|
|
24180
24385
|
}
|
|
24181
24386
|
}
|
|
24182
|
-
|
|
24183
|
-
|
|
24184
|
-
|
|
24185
|
-
|
|
24186
|
-
|
|
24187
|
-
|
|
24188
|
-
|
|
24189
|
-
|
|
24190
|
-
|
|
24191
|
-
|
|
24192
|
-
|
|
24193
|
-
|
|
24194
|
-
|
|
24195
|
-
|
|
24196
|
-
|
|
24197
|
-
|
|
24198
|
-
|
|
24199
|
-
|
|
24200
|
-
}
|
|
24201
|
-
}
|
|
24202
|
-
}
|
|
24203
|
-
|
|
24204
|
-
|
|
24205
|
-
|
|
24206
|
-
|
|
24207
|
-
|
|
24208
|
-
|
|
24209
|
-
|
|
24210
|
-
|
|
24211
|
-
|
|
24212
|
-
|
|
24213
|
-
|
|
24214
|
-
|
|
24215
|
-
|
|
24216
|
-
|
|
24217
|
-
|
|
24218
|
-
|
|
24219
|
-
|
|
24220
|
-
|
|
24221
|
-
|
|
24222
|
-
|
|
24223
|
-
}
|
|
24224
|
-
|
|
24225
|
-
|
|
24226
|
-
|
|
24227
|
-
|
|
24228
|
-
|
|
24229
|
-
|
|
24230
|
-
|
|
24231
|
-
|
|
24232
|
-
|
|
24233
|
-
|
|
24234
|
-
|
|
24235
|
-
|
|
24236
|
-
|
|
24237
|
-
|
|
24238
|
-
|
|
24239
|
-
|
|
24240
|
-
|
|
24241
|
-
|
|
24242
|
-
|
|
24243
|
-
customDialog: customDialog
|
|
24244
|
-
}, isMounted);
|
|
24245
|
-
}, 100);
|
|
24246
|
-
} else if (customDialog.style == 1) {
|
|
24247
|
-
//树形
|
|
24248
|
-
this_.pageParam = {
|
|
24387
|
+
}
|
|
24388
|
+
//对话框按表单字段查询(参数传入的)
|
|
24389
|
+
let bindList = this_.custdialog.custDialog.conditions;
|
|
24390
|
+
this_.param = []; //绑定的表单字段
|
|
24391
|
+
if (bindList.length > 0) {
|
|
24392
|
+
bindList.forEach(ele => {
|
|
24393
|
+
//绑定表单字段
|
|
24394
|
+
if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
|
|
24395
|
+
let obj = {};
|
|
24396
|
+
obj.field = ele.field;
|
|
24397
|
+
obj.bind = ele.bind;
|
|
24398
|
+
obj.bindType = ele.bindType;
|
|
24399
|
+
this_.param.push(obj);
|
|
24400
|
+
}
|
|
24401
|
+
//取值对象为脚本时获取value
|
|
24402
|
+
if (ele.bindType === 3) {
|
|
24403
|
+
this_.$requestConfig.executeScript(ele.bind).then(res => {
|
|
24404
|
+
this_.executeScriptResult = res && res.value;
|
|
24405
|
+
});
|
|
24406
|
+
}
|
|
24407
|
+
});
|
|
24408
|
+
}
|
|
24409
|
+
//判断对话框查询是否有条件
|
|
24410
|
+
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
24411
|
+
this_.quickSearch = ''; //填写提示 placeholder
|
|
24412
|
+
this_.conditionBind = [];
|
|
24413
|
+
let queryParams = [];
|
|
24414
|
+
let placeholders = [];
|
|
24415
|
+
if (userInputList.length > 0) {
|
|
24416
|
+
userInputList.forEach(ele => {
|
|
24417
|
+
var obj = {};
|
|
24418
|
+
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
24419
|
+
if (ele.defaultType == '1') {
|
|
24420
|
+
obj[ele.field] = '';
|
|
24421
|
+
queryParams.push(obj);
|
|
24422
|
+
// queryParams[ele.field] = "";
|
|
24423
|
+
this_.conditionBind.push(ele);
|
|
24424
|
+
placeholders.push('请输入' + ele.comment);
|
|
24425
|
+
}
|
|
24426
|
+
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
24427
|
+
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
24428
|
+
}
|
|
24429
|
+
});
|
|
24430
|
+
this.$set(this, 'queryParams', queryParams);
|
|
24431
|
+
this.$set(this, 'placeholders', placeholders);
|
|
24432
|
+
}
|
|
24433
|
+
//判断是否显示条件查询输入框
|
|
24434
|
+
if (this_.quickSearch != '') {
|
|
24435
|
+
this_.querysShow = true;
|
|
24436
|
+
} else {
|
|
24437
|
+
this_.querysShow = true;
|
|
24438
|
+
}
|
|
24439
|
+
this_.quickSearch = '请输入' + this.quickSearch + '查询';
|
|
24440
|
+
this_.style = 'height:' + customDialog.height + 'px';
|
|
24441
|
+
if (window.screen.height && window.screen.height <= 900) {
|
|
24442
|
+
this.style = 'height:440px';
|
|
24443
|
+
}
|
|
24444
|
+
if (customDialog.style == 0 || customDialog.style == 2) {
|
|
24445
|
+
//列表
|
|
24446
|
+
setTimeout(() => {
|
|
24447
|
+
this_.customDialogShow({
|
|
24249
24448
|
alias: alias,
|
|
24250
24449
|
customDialog: customDialog
|
|
24251
|
-
};
|
|
24252
|
-
|
|
24253
|
-
|
|
24254
|
-
|
|
24255
|
-
|
|
24256
|
-
|
|
24257
|
-
|
|
24258
|
-
|
|
24259
|
-
|
|
24260
|
-
|
|
24261
|
-
|
|
24262
|
-
|
|
24263
|
-
|
|
24450
|
+
}, isMounted);
|
|
24451
|
+
}, 100);
|
|
24452
|
+
} else if (customDialog.style == 1) {
|
|
24453
|
+
//树形
|
|
24454
|
+
this_.pageParam = {
|
|
24455
|
+
alias: alias,
|
|
24456
|
+
customDialog: customDialog
|
|
24457
|
+
};
|
|
24458
|
+
this_.customDialog = customDialog;
|
|
24459
|
+
let param = {};
|
|
24460
|
+
this_.conditionfieldTree = [];
|
|
24461
|
+
//判断是否存在条件
|
|
24462
|
+
if (customDialog.conditionfield) {
|
|
24463
|
+
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
24464
|
+
if (this_.conditionfieldTree.length > 0) {
|
|
24465
|
+
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
24466
|
+
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
24467
|
+
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
24468
|
+
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
24264
24469
|
}
|
|
24265
24470
|
}
|
|
24266
24471
|
}
|
|
24267
|
-
|
|
24268
|
-
|
|
24269
|
-
|
|
24270
|
-
|
|
24271
|
-
|
|
24272
|
-
|
|
24273
|
-
|
|
24274
|
-
|
|
24472
|
+
}
|
|
24473
|
+
//有动态传入的字段
|
|
24474
|
+
if (!isMounted) {
|
|
24475
|
+
if (JSON.stringify(param) != '{}') {
|
|
24476
|
+
this_.dialogVisible = true;
|
|
24477
|
+
} else {
|
|
24478
|
+
//无动态传入的字段
|
|
24479
|
+
this_.customDialogTreeShow(this_.pageParam);
|
|
24275
24480
|
}
|
|
24276
24481
|
}
|
|
24277
|
-
}
|
|
24482
|
+
}
|
|
24278
24483
|
},
|
|
24279
24484
|
initTableHeight() {
|
|
24280
24485
|
this.$nextTick(() => {
|
|
@@ -24403,13 +24608,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24403
24608
|
}
|
|
24404
24609
|
// 添加用户id 岗位id 组织id
|
|
24405
24610
|
try {
|
|
24406
|
-
if (this.$requestConfig.getUserId()) {
|
|
24611
|
+
if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
|
|
24407
24612
|
ctx.userId = this.$requestConfig.getUserId();
|
|
24408
24613
|
}
|
|
24409
|
-
if (this.$requestConfig.getOrgId()) {
|
|
24614
|
+
if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
|
|
24410
24615
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
24411
24616
|
}
|
|
24412
|
-
if (this.$requestConfig.getPostId()) {
|
|
24617
|
+
if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
|
|
24413
24618
|
ctx.postId = this.$requestConfig.getPostId();
|
|
24414
24619
|
}
|
|
24415
24620
|
} catch (e) {
|
|
@@ -24494,8 +24699,19 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24494
24699
|
this.selectOrgs = this.convertComment2Field(str, field);
|
|
24495
24700
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
24496
24701
|
var val = '';
|
|
24497
|
-
str.forEach(item => {
|
|
24498
|
-
|
|
24702
|
+
str.forEach((item, index) => {
|
|
24703
|
+
// 此处添加url跳转参数保存逻辑
|
|
24704
|
+
if (this.jumpParamKey && this.isHaveJumpUrl && (this.modelName == 'data.' + con['target'][0] || this.modelName.includes('item.') && con['target'][0].endsWith(this.modelName.split('.')[1]))) {
|
|
24705
|
+
let jumpParamKey = this.jumpParamKey;
|
|
24706
|
+
let jumpParamValue = this.jumpParamKey;
|
|
24707
|
+
if (this.jumpParamKey.includes(':')) {
|
|
24708
|
+
jumpParamKey = this.jumpParamKey.split(':')[0];
|
|
24709
|
+
jumpParamValue = this.jumpParamKey.split(':')[1];
|
|
24710
|
+
}
|
|
24711
|
+
val += `${item[con.from]}¯${jumpParamKey}:${this.selectOrgs[index][jumpParamValue]},`;
|
|
24712
|
+
} else {
|
|
24713
|
+
val += item[con.from] + ',';
|
|
24714
|
+
}
|
|
24499
24715
|
});
|
|
24500
24716
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
24501
24717
|
utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
|
|
@@ -24566,19 +24782,36 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24566
24782
|
};
|
|
24567
24783
|
}
|
|
24568
24784
|
//用户输入的
|
|
24785
|
+
let flag = false;
|
|
24569
24786
|
if (this.queryParams.length != 0 && this.queryParams[0] != '') {
|
|
24570
24787
|
this.conditionBind.forEach((item, index) => {
|
|
24788
|
+
// 日期范围特殊处理
|
|
24789
|
+
if (item.dbType == 'date' && item.condition == 'BETWEEN') {
|
|
24790
|
+
if (this.queryParams[index].startDate && !this.queryParams[index].endDate || !this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
24791
|
+
flag = true;
|
|
24792
|
+
this.$message.info('日期范围未填写完整!');
|
|
24793
|
+
return;
|
|
24794
|
+
}
|
|
24795
|
+
if (this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
24796
|
+
this.queryParams[index][item.field] = `${this.queryParams[index].startDate},${this.queryParams[index].endDate}`;
|
|
24797
|
+
} else {
|
|
24798
|
+
this.queryParams[index][item.field] = '';
|
|
24799
|
+
}
|
|
24800
|
+
}
|
|
24571
24801
|
if (this.queryParams[index][item.field]) {
|
|
24572
24802
|
querys.push({
|
|
24573
24803
|
property: item.field,
|
|
24574
24804
|
value: this.queryParams[index][item.field],
|
|
24575
24805
|
group: 'main',
|
|
24576
|
-
operation:
|
|
24806
|
+
operation: item.condition,
|
|
24577
24807
|
relation: 'AND'
|
|
24578
24808
|
});
|
|
24579
24809
|
}
|
|
24580
24810
|
});
|
|
24581
24811
|
}
|
|
24812
|
+
if (flag) {
|
|
24813
|
+
return;
|
|
24814
|
+
}
|
|
24582
24815
|
//参数传入的查询拼接
|
|
24583
24816
|
if (this.param) {
|
|
24584
24817
|
this.param.forEach(item => {
|
|
@@ -24617,13 +24850,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24617
24850
|
queryParamMap.total = pageBean.pageBean.total;
|
|
24618
24851
|
// 添加用户id 岗位id 组织id
|
|
24619
24852
|
try {
|
|
24620
|
-
if (this.$requestConfig.getUserId()) {
|
|
24853
|
+
if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
|
|
24621
24854
|
ctx.userId = this.$requestConfig.getUserId();
|
|
24622
24855
|
}
|
|
24623
|
-
if (this.$requestConfig.getOrgId()) {
|
|
24856
|
+
if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
|
|
24624
24857
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
24625
24858
|
}
|
|
24626
|
-
if (this.$requestConfig.getPostId()) {
|
|
24859
|
+
if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
|
|
24627
24860
|
ctx.postId = this.$requestConfig.getPostId();
|
|
24628
24861
|
}
|
|
24629
24862
|
} catch (e) {
|
|
@@ -24644,12 +24877,14 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24644
24877
|
value: queryParamMap[bindKey] || ctx[bindKey] || ''
|
|
24645
24878
|
};
|
|
24646
24879
|
});
|
|
24647
|
-
param.querys = queryList;
|
|
24880
|
+
param.querys = queryList || [];
|
|
24648
24881
|
if (this.customDialog.needPage) {
|
|
24649
24882
|
param.pageBean = obj;
|
|
24650
24883
|
} else {
|
|
24651
24884
|
param.pageBean.pageSize = -1;
|
|
24652
24885
|
}
|
|
24886
|
+
// 日期格式的 改成数组
|
|
24887
|
+
// this.changeDateFormat(param)
|
|
24653
24888
|
//构造请求的参数
|
|
24654
24889
|
let requestParam = {
|
|
24655
24890
|
pageBean: param,
|
|
@@ -24689,6 +24924,15 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24689
24924
|
}
|
|
24690
24925
|
this.tableRadioVal = '';
|
|
24691
24926
|
},
|
|
24927
|
+
changeDateFormat(param) {
|
|
24928
|
+
let dateValidate1 = /^\d{4}\-\d{2}\-\d{2}$/;
|
|
24929
|
+
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$/;
|
|
24930
|
+
Object.keys(param).forEach(key => {
|
|
24931
|
+
if (param[key] && typeof param[key] == 'string' && param[key].includes(',') && (dateValidate1.test(param[key].split(',')[0]) || dateValidate2.test(param[key].split(',')[0]))) {
|
|
24932
|
+
param[key] = param[key].split(',');
|
|
24933
|
+
}
|
|
24934
|
+
});
|
|
24935
|
+
},
|
|
24692
24936
|
getSearchValueByKey() {
|
|
24693
24937
|
let queryParamsObj = {};
|
|
24694
24938
|
if (this.queryParams.length > 0) {
|
|
@@ -24914,6 +25158,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24914
25158
|
},
|
|
24915
25159
|
// 同步选择结果
|
|
24916
25160
|
syncInputValue() {
|
|
25161
|
+
// 对话框跳转url需要两个参数 1当前控件绑定的对象参数modelName 2对话框配置中配置的key名称
|
|
25162
|
+
// 同步值时,如果有绑定url跳转参数,值格式为 名称¯跳转key:跳转value
|
|
24917
25163
|
let thisIndex = null; //当前数据所在下标
|
|
24918
25164
|
let parentIndex = null; //父节点所在下标
|
|
24919
25165
|
if (this.$parent.$el) {
|
|
@@ -24987,13 +25233,39 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24987
25233
|
}
|
|
24988
25234
|
}
|
|
24989
25235
|
}
|
|
25236
|
+
// 如果是查询中使用的对话框
|
|
25237
|
+
if (this.dialogType == 'search') {
|
|
25238
|
+
let returnVal = [];
|
|
25239
|
+
str.forEach(item => {
|
|
25240
|
+
returnVal.push(decodeURIComponent(item[this.modelName]));
|
|
25241
|
+
});
|
|
25242
|
+
this.$emit('updateInput', returnVal.join(','));
|
|
25243
|
+
return;
|
|
25244
|
+
}
|
|
24990
25245
|
const pInst = utils["a" /* default */].getOnlineFormInstance(this);
|
|
24991
25246
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
24992
25247
|
var val = '';
|
|
24993
25248
|
var from = con.from.toLowerCase();
|
|
24994
25249
|
str.forEach(item => {
|
|
25250
|
+
// 如果有绑定url跳转参数 需获取跳转参数的key
|
|
24995
25251
|
if (item) {
|
|
24996
|
-
|
|
25252
|
+
if (this.jumpParamKey && this.isHaveJumpUrl && (this.modelName == 'data.' + con['target'][0] || this.modelName.includes('item.') && con['target'][0].endsWith(this.modelName.split('.')[1]))) {
|
|
25253
|
+
// 如果有冒号 冒号前面是传值key 后面是取值key
|
|
25254
|
+
let jumpParamKey = this.jumpParamKey;
|
|
25255
|
+
let jumpParamValue = this.jumpParamKey;
|
|
25256
|
+
if (this.jumpParamKey.includes(':')) {
|
|
25257
|
+
jumpParamKey = this.jumpParamKey.split(':')[0];
|
|
25258
|
+
jumpParamValue = this.jumpParamKey.split(':')[1];
|
|
25259
|
+
}
|
|
25260
|
+
// 需根据key 找到对应 返回数据的返回名称
|
|
25261
|
+
let returnMap = returnStr.find(k => {
|
|
25262
|
+
return k.field.toLowerCase() == jumpParamValue.toLowerCase();
|
|
25263
|
+
});
|
|
25264
|
+
let returnMapKey = returnMap ? returnMap.comment : '';
|
|
25265
|
+
val += `${decodeURIComponent(item[from])}¯${jumpParamKey}:${decodeURIComponent(item[returnMapKey])},`;
|
|
25266
|
+
} else {
|
|
25267
|
+
val += decodeURIComponent(item[from]) + ',';
|
|
25268
|
+
}
|
|
24997
25269
|
}
|
|
24998
25270
|
});
|
|
24999
25271
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
@@ -25012,7 +25284,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25012
25284
|
const _val = val.substring(0, val.length - 1);
|
|
25013
25285
|
if (path) {
|
|
25014
25286
|
if (this.modelName && this.modelName.endsWith(path)) {
|
|
25015
|
-
// this.$emit('input', _val)
|
|
25016
25287
|
this.$emit('updateInput', _val);
|
|
25017
25288
|
}
|
|
25018
25289
|
utils["a" /* default */].setValueByPath(pInst, `${pInst.data ? 'data.' : 'model.'}${path}`, _val, thisIndex);
|
|
@@ -25244,8 +25515,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25244
25515
|
});
|
|
25245
25516
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=script&lang=js&
|
|
25246
25517
|
/* harmony default export */ var src_customDialogvue_type_script_lang_js_ = (customDialogvue_type_script_lang_js_);
|
|
25247
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=
|
|
25248
|
-
var
|
|
25518
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=3e2f487c&prod&lang=scss&scoped=true&
|
|
25519
|
+
var customDialogvue_type_style_index_0_id_3e2f487c_prod_lang_scss_scoped_true_ = __webpack_require__("aeed");
|
|
25249
25520
|
|
|
25250
25521
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue
|
|
25251
25522
|
|
|
@@ -25258,31 +25529,47 @@ var customDialogvue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true_ =
|
|
|
25258
25529
|
|
|
25259
25530
|
var customDialog_component = normalizeComponent(
|
|
25260
25531
|
src_customDialogvue_type_script_lang_js_,
|
|
25261
|
-
|
|
25262
|
-
|
|
25532
|
+
customDialogvue_type_template_id_3e2f487c_scoped_true_render,
|
|
25533
|
+
customDialogvue_type_template_id_3e2f487c_scoped_true_staticRenderFns,
|
|
25263
25534
|
false,
|
|
25264
25535
|
null,
|
|
25265
|
-
"
|
|
25536
|
+
"3e2f487c",
|
|
25266
25537
|
null
|
|
25267
25538
|
|
|
25268
25539
|
)
|
|
25269
25540
|
|
|
25270
25541
|
/* harmony default export */ var CustomDialog_src_customDialog = (customDialog_component.exports);
|
|
25271
|
-
// 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=
|
|
25272
|
-
var
|
|
25273
|
-
|
|
25274
|
-
|
|
25275
|
-
|
|
25276
|
-
|
|
25277
|
-
|
|
25278
|
-
|
|
25279
|
-
|
|
25542
|
+
// 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=384dd988&scoped=true&
|
|
25543
|
+
var customMobileDialogvue_type_template_id_384dd988_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) {
|
|
25544
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25545
|
+
}}}):_vm._e(),(condition.config.alias == 'org')?_c('ht-org-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25546
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25547
|
+
}}}):_vm._e(),(condition.config.alias == 'role')?_c('ht-role-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25548
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25549
|
+
}}}):_vm._e(),(condition.config.alias == 'job')?_c('ht-job-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25550
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25551
|
+
}}}):_vm._e(),(condition.config.alias == 'post')?_c('ht-post-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25552
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25553
|
+
}}}):_vm._e(),(condition.config.alias == 'dimension')?_c('ht-dimension-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25554
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25555
|
+
}}}):_vm._e()],1):_vm._e(),(condition.controllerType == '5')?_c('div',[_c('ht-custom-dialog',{attrs:{"model-name":condition.config.keyBind,"dialogType":"search","custdialog":{
|
|
25556
|
+
name: '请选择',
|
|
25557
|
+
icon: '',
|
|
25558
|
+
custDialog: {
|
|
25559
|
+
selectNum: 1,
|
|
25560
|
+
conditions: [],
|
|
25561
|
+
mappingConf: [],
|
|
25562
|
+
custQueryJson: [],
|
|
25563
|
+
alias: condition.config.alias,
|
|
25564
|
+
type: 'custDialog',
|
|
25565
|
+
},
|
|
25566
|
+
}},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(
|
|
25280
25567
|
function (k) { return k.defaultType == '4'; }
|
|
25281
|
-
)),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)}
|
|
25282
|
-
var
|
|
25568
|
+
)),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)}
|
|
25569
|
+
var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns = []
|
|
25283
25570
|
|
|
25284
25571
|
|
|
25285
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=
|
|
25572
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=384dd988&scoped=true&
|
|
25286
25573
|
|
|
25287
25574
|
// 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&
|
|
25288
25575
|
//
|
|
@@ -25543,6 +25830,116 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25543
25830
|
//
|
|
25544
25831
|
//
|
|
25545
25832
|
//
|
|
25833
|
+
//
|
|
25834
|
+
//
|
|
25835
|
+
//
|
|
25836
|
+
//
|
|
25837
|
+
//
|
|
25838
|
+
//
|
|
25839
|
+
//
|
|
25840
|
+
//
|
|
25841
|
+
//
|
|
25842
|
+
//
|
|
25843
|
+
//
|
|
25844
|
+
//
|
|
25845
|
+
//
|
|
25846
|
+
//
|
|
25847
|
+
//
|
|
25848
|
+
//
|
|
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
|
+
//
|
|
25546
25943
|
|
|
25547
25944
|
|
|
25548
25945
|
|
|
@@ -25564,10 +25961,17 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25564
25961
|
subIndex: Number,
|
|
25565
25962
|
sunIndex: Number,
|
|
25566
25963
|
subPath: String,
|
|
25567
|
-
currentSubData: Array
|
|
25964
|
+
currentSubData: Array,
|
|
25965
|
+
dialogConfig: Object,
|
|
25966
|
+
dialogType: String
|
|
25568
25967
|
},
|
|
25569
25968
|
data() {
|
|
25570
25969
|
return {
|
|
25970
|
+
dateType: 'date',
|
|
25971
|
+
currentDate: '',
|
|
25972
|
+
// 当前日期
|
|
25973
|
+
isShowDatePop: false,
|
|
25974
|
+
// 是否显示日期选择控件
|
|
25571
25975
|
isShowMoreSearch: false,
|
|
25572
25976
|
treeSelectText: '',
|
|
25573
25977
|
// 组合树时选中的查询条件
|
|
@@ -25647,9 +26051,47 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25647
26051
|
sureButtonText() {
|
|
25648
26052
|
const selectedText = this.selectIds.length > 0 ? `(${this.selectIds.length})` : '';
|
|
25649
26053
|
return `${this.$t('ht.common.confirm')}${selectedText}`;
|
|
26054
|
+
},
|
|
26055
|
+
jumpParamKey() {
|
|
26056
|
+
return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
|
|
26057
|
+
},
|
|
26058
|
+
// 是否保存成跳转url参数
|
|
26059
|
+
isHaveJumpUrl() {
|
|
26060
|
+
return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
26061
|
+
},
|
|
26062
|
+
sortDisplayfield() {
|
|
26063
|
+
return this.displayfield.sort((a, b) => {
|
|
26064
|
+
return a.sort > b.sort ? 1 : -1;
|
|
26065
|
+
});
|
|
25650
26066
|
}
|
|
25651
26067
|
},
|
|
25652
26068
|
methods: {
|
|
26069
|
+
// 获取已选择的选择器数据id
|
|
26070
|
+
getSelectId(data) {
|
|
26071
|
+
if (!data || !data.length) {
|
|
26072
|
+
return '';
|
|
26073
|
+
}
|
|
26074
|
+
let ids = [];
|
|
26075
|
+
data.forEach(item => {
|
|
26076
|
+
ids.push(item.id);
|
|
26077
|
+
});
|
|
26078
|
+
return ids.join(',');
|
|
26079
|
+
},
|
|
26080
|
+
showDate(index, key) {
|
|
26081
|
+
this.dateType = this.conditionBind[index].config.inputFormat.includes('mm:') ? 'datetime' : 'date';
|
|
26082
|
+
this.currentDateData = {
|
|
26083
|
+
index,
|
|
26084
|
+
key
|
|
26085
|
+
};
|
|
26086
|
+
this.currentDate = this.queryParams[index][key] ? new Date(this.queryParams[index][key].replace(/-/g, '/')) : new Date();
|
|
26087
|
+
this.isShowDatePop = true;
|
|
26088
|
+
},
|
|
26089
|
+
// 日期确认
|
|
26090
|
+
confirmFn() {
|
|
26091
|
+
let currentConfig = this.conditionBind[this.currentDateData.index];
|
|
26092
|
+
this.queryParams[this.currentDateData.index][this.currentDateData.key] = this.currentDate.format(currentConfig.config.inputFormat);
|
|
26093
|
+
this.isShowDatePop = false;
|
|
26094
|
+
},
|
|
25653
26095
|
searchInputChange() {
|
|
25654
26096
|
if (!this.isShowMoreSearch) {
|
|
25655
26097
|
this.search(true);
|
|
@@ -25695,112 +26137,121 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25695
26137
|
this.search(true);
|
|
25696
26138
|
},
|
|
25697
26139
|
showDialog() {
|
|
25698
|
-
const this_ = this;
|
|
25699
26140
|
this.fixedParams = {};
|
|
26141
|
+
// 如果已存在配置信息就不去请求配置信息 直接初始化数据
|
|
26142
|
+
if (this.dialogConfig) {
|
|
26143
|
+
this.initDialog(this.dialogConfig);
|
|
26144
|
+
return;
|
|
26145
|
+
}
|
|
25700
26146
|
var alias = this.custdialog.custDialog.alias;
|
|
25701
26147
|
this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
|
|
25702
|
-
|
|
25703
|
-
|
|
25704
|
-
|
|
25705
|
-
|
|
25706
|
-
|
|
25707
|
-
|
|
25708
|
-
|
|
25709
|
-
|
|
25710
|
-
|
|
25711
|
-
|
|
25712
|
-
|
|
25713
|
-
|
|
25714
|
-
|
|
25715
|
-
|
|
25716
|
-
|
|
25717
|
-
|
|
25718
|
-
|
|
25719
|
-
|
|
25720
|
-
|
|
25721
|
-
|
|
25722
|
-
|
|
26148
|
+
this.initDialog(customDialog);
|
|
26149
|
+
});
|
|
26150
|
+
},
|
|
26151
|
+
initDialog(customDialog) {
|
|
26152
|
+
let alias = this.custdialog.custDialog.alias;
|
|
26153
|
+
const this_ = this;
|
|
26154
|
+
if (!customDialog || !customDialog.alias) {
|
|
26155
|
+
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
26156
|
+
return;
|
|
26157
|
+
}
|
|
26158
|
+
if (customDialog.style == 1) {
|
|
26159
|
+
var displaylist = JSON.parse(customDialog.displayfield);
|
|
26160
|
+
this_.nodeKey = displaylist.id;
|
|
26161
|
+
}
|
|
26162
|
+
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
26163
|
+
let obj = {};
|
|
26164
|
+
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
26165
|
+
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
26166
|
+
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
26167
|
+
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
26168
|
+
if (exp) {
|
|
26169
|
+
const params = JSON.parse(exp);
|
|
26170
|
+
if (params.pageBean) {
|
|
26171
|
+
this.pagination = {
|
|
26172
|
+
...params.pageBean
|
|
26173
|
+
};
|
|
25723
26174
|
}
|
|
25724
26175
|
}
|
|
25725
|
-
|
|
25726
|
-
|
|
25727
|
-
|
|
25728
|
-
|
|
25729
|
-
|
|
25730
|
-
|
|
25731
|
-
|
|
25732
|
-
|
|
25733
|
-
|
|
25734
|
-
|
|
25735
|
-
|
|
25736
|
-
|
|
25737
|
-
|
|
25738
|
-
|
|
25739
|
-
|
|
25740
|
-
|
|
25741
|
-
|
|
25742
|
-
}
|
|
25743
|
-
}
|
|
26176
|
+
}
|
|
26177
|
+
//对话框按表单字段查询(参数传入的)
|
|
26178
|
+
let bindList = this_.custdialog.custDialog.conditions;
|
|
26179
|
+
this_.param = []; //绑定的表单字段
|
|
26180
|
+
if (bindList.length > 0) {
|
|
26181
|
+
bindList.forEach(ele => {
|
|
26182
|
+
//绑定表单字段
|
|
26183
|
+
if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
|
|
26184
|
+
let obj = {};
|
|
26185
|
+
obj.field = ele.field;
|
|
26186
|
+
obj.bind = ele.bind;
|
|
26187
|
+
obj.bindType = ele.bindType;
|
|
26188
|
+
this_.param.push(obj);
|
|
26189
|
+
}
|
|
26190
|
+
// bindType 1 表单字段 2固定 3脚本
|
|
26191
|
+
if (ele.defaultType == '3' && ele.bindType === 2) {
|
|
26192
|
+
this_.fixedParams[ele.field] = ele.bind || '';
|
|
26193
|
+
}
|
|
26194
|
+
});
|
|
26195
|
+
}
|
|
25744
26196
|
|
|
25745
|
-
|
|
25746
|
-
|
|
25747
|
-
|
|
25748
|
-
|
|
25749
|
-
|
|
25750
|
-
|
|
25751
|
-
|
|
25752
|
-
|
|
25753
|
-
|
|
25754
|
-
|
|
25755
|
-
|
|
25756
|
-
|
|
25757
|
-
|
|
25758
|
-
|
|
25759
|
-
|
|
25760
|
-
|
|
25761
|
-
|
|
25762
|
-
|
|
25763
|
-
|
|
25764
|
-
|
|
25765
|
-
|
|
25766
|
-
|
|
25767
|
-
|
|
25768
|
-
|
|
25769
|
-
|
|
25770
|
-
|
|
25771
|
-
|
|
25772
|
-
|
|
25773
|
-
|
|
25774
|
-
|
|
25775
|
-
|
|
25776
|
-
|
|
25777
|
-
|
|
25778
|
-
|
|
25779
|
-
|
|
25780
|
-
|
|
25781
|
-
|
|
25782
|
-
|
|
25783
|
-
|
|
25784
|
-
|
|
25785
|
-
|
|
25786
|
-
|
|
25787
|
-
|
|
25788
|
-
|
|
25789
|
-
|
|
25790
|
-
|
|
25791
|
-
}
|
|
26197
|
+
//判断对话框查询是否有条件
|
|
26198
|
+
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
26199
|
+
this_.conditionBind = [];
|
|
26200
|
+
let queryParams = [];
|
|
26201
|
+
let placeholders = [];
|
|
26202
|
+
if (userInputList.length > 0) {
|
|
26203
|
+
userInputList.forEach(ele => {
|
|
26204
|
+
var obj = {};
|
|
26205
|
+
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
26206
|
+
if (ele.defaultType == '1') {
|
|
26207
|
+
obj[ele.field] = '';
|
|
26208
|
+
queryParams.push(obj);
|
|
26209
|
+
// queryParams[ele.field] = "";
|
|
26210
|
+
this_.conditionBind.push(ele);
|
|
26211
|
+
placeholders.push('请输入' + ele.comment);
|
|
26212
|
+
}
|
|
26213
|
+
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
26214
|
+
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
26215
|
+
}
|
|
26216
|
+
});
|
|
26217
|
+
this.$set(this, 'queryParams', queryParams);
|
|
26218
|
+
this.$set(this, 'placeholders', placeholders);
|
|
26219
|
+
}
|
|
26220
|
+
if (customDialog.style == 0 || customDialog.style == 2) {
|
|
26221
|
+
//列表
|
|
26222
|
+
this_.customDialogShow({
|
|
26223
|
+
alias: alias,
|
|
26224
|
+
customDialog: customDialog
|
|
26225
|
+
});
|
|
26226
|
+
} else if (customDialog.style == 1) {
|
|
26227
|
+
//树形
|
|
26228
|
+
this_.pageParam = {
|
|
26229
|
+
alias: alias,
|
|
26230
|
+
customDialog: customDialog
|
|
26231
|
+
};
|
|
26232
|
+
this_.customDialog = customDialog;
|
|
26233
|
+
let param = {};
|
|
26234
|
+
this_.conditionfieldTree = [];
|
|
26235
|
+
//判断是否存在条件
|
|
26236
|
+
if (customDialog.conditionfield) {
|
|
26237
|
+
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
26238
|
+
if (this_.conditionfieldTree.length > 0) {
|
|
26239
|
+
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
26240
|
+
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
26241
|
+
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
26242
|
+
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
25792
26243
|
}
|
|
25793
26244
|
}
|
|
25794
26245
|
}
|
|
25795
|
-
//有动态传入的字段
|
|
25796
|
-
if (JSON.stringify(param) != '{}') {
|
|
25797
|
-
this_.dialogVisible = true;
|
|
25798
|
-
} else {
|
|
25799
|
-
//无动态传入的字段
|
|
25800
|
-
this_.customDialogTreeShow(this_.pageParam);
|
|
25801
|
-
}
|
|
25802
26246
|
}
|
|
25803
|
-
|
|
26247
|
+
//有动态传入的字段
|
|
26248
|
+
if (JSON.stringify(param) != '{}') {
|
|
26249
|
+
this_.dialogVisible = true;
|
|
26250
|
+
} else {
|
|
26251
|
+
//无动态传入的字段
|
|
26252
|
+
this_.customDialogTreeShow(this_.pageParam);
|
|
26253
|
+
}
|
|
26254
|
+
}
|
|
25804
26255
|
},
|
|
25805
26256
|
treeClick(data) {
|
|
25806
26257
|
// 单选
|
|
@@ -25918,13 +26369,13 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25918
26369
|
}
|
|
25919
26370
|
// 添加用户id 岗位id 组织id
|
|
25920
26371
|
try {
|
|
25921
|
-
if (this.$requestConfig.getUserId()) {
|
|
26372
|
+
if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
|
|
25922
26373
|
ctx.userId = this.$requestConfig.getUserId();
|
|
25923
26374
|
}
|
|
25924
|
-
if (this.$requestConfig.getOrgId()) {
|
|
26375
|
+
if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
|
|
25925
26376
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
25926
26377
|
}
|
|
25927
|
-
if (this.$requestConfig.getPostId()) {
|
|
26378
|
+
if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
|
|
25928
26379
|
ctx.postId = this.$requestConfig.getPostId();
|
|
25929
26380
|
}
|
|
25930
26381
|
} catch (e) {
|
|
@@ -26009,8 +26460,20 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26009
26460
|
this.selectOrgs = this.convertComment2Field(str, field);
|
|
26010
26461
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
26011
26462
|
var val = '';
|
|
26012
|
-
str.forEach(item => {
|
|
26013
|
-
|
|
26463
|
+
str.forEach((item, index) => {
|
|
26464
|
+
// 此处添加url跳转参数保存逻辑
|
|
26465
|
+
if (this.jumpParamKey && this.isHaveJumpUrl && (this.modelName == 'data.' + con['target'][0] || this.modelName.includes('item.') && con['target'][0].endsWith(this.modelName.split('.')[1]))) {
|
|
26466
|
+
// 如果有冒号 冒号前面是传值key 后面是取值key
|
|
26467
|
+
let jumpParamKey = this.jumpParamKey;
|
|
26468
|
+
let jumpParamValue = this.jumpParamKey;
|
|
26469
|
+
if (this.jumpParamKey.includes(':')) {
|
|
26470
|
+
jumpParamKey = this.jumpParamKey.split(':')[0];
|
|
26471
|
+
jumpParamValue = this.jumpParamKey.split(':')[1];
|
|
26472
|
+
}
|
|
26473
|
+
val += `${item[con.from]}¯${jumpParamKey}:${this.selectOrgs[index][jumpParamValue]},`;
|
|
26474
|
+
} else {
|
|
26475
|
+
val += item[con.from] + ',';
|
|
26476
|
+
}
|
|
26014
26477
|
});
|
|
26015
26478
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
26016
26479
|
utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
|
|
@@ -26083,6 +26546,19 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26083
26546
|
//用户输入的
|
|
26084
26547
|
if (this.queryParams.length != 0 && this.queryParams[0] != '') {
|
|
26085
26548
|
this.conditionBind.forEach((item, index) => {
|
|
26549
|
+
// 日期范围特殊处理
|
|
26550
|
+
if (item.dbType == 'date' && item.condition == 'BETWEEN') {
|
|
26551
|
+
if (this.queryParams[index].startDate && !this.queryParams[index].endDate || !this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
26552
|
+
flag = true;
|
|
26553
|
+
this.$message.info('日期范围未填写完整!');
|
|
26554
|
+
return;
|
|
26555
|
+
}
|
|
26556
|
+
if (this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
26557
|
+
this.queryParams[index][item.field] = `${this.queryParams[index].startDate},${this.queryParams[index].endDate}`;
|
|
26558
|
+
} else {
|
|
26559
|
+
this.queryParams[index][item.field] = '';
|
|
26560
|
+
}
|
|
26561
|
+
}
|
|
26086
26562
|
if (this.queryParams[index][item.field]) {
|
|
26087
26563
|
querys.push({
|
|
26088
26564
|
property: item.field,
|
|
@@ -26131,13 +26607,13 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26131
26607
|
ctx.total = pageBean.pageBean.total;
|
|
26132
26608
|
// 添加用户id 岗位id 组织id
|
|
26133
26609
|
try {
|
|
26134
|
-
if (this.$requestConfig.getUserId()) {
|
|
26610
|
+
if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
|
|
26135
26611
|
ctx.userId = this.$requestConfig.getUserId();
|
|
26136
26612
|
}
|
|
26137
|
-
if (this.$requestConfig.getOrgId()) {
|
|
26613
|
+
if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
|
|
26138
26614
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
26139
26615
|
}
|
|
26140
|
-
if (this.$requestConfig.getPostId()) {
|
|
26616
|
+
if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
|
|
26141
26617
|
ctx.postId = this.$requestConfig.getPostId();
|
|
26142
26618
|
}
|
|
26143
26619
|
} catch (e) {
|
|
@@ -26165,6 +26641,8 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26165
26641
|
} else {
|
|
26166
26642
|
param.pageBean.pageSize = -1;
|
|
26167
26643
|
}
|
|
26644
|
+
// 日期格式的 改成数组
|
|
26645
|
+
// this.changeDateFormat(param)
|
|
26168
26646
|
//构造请求的参数
|
|
26169
26647
|
let requestParam = {
|
|
26170
26648
|
pageBean: param,
|
|
@@ -26200,6 +26678,15 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26200
26678
|
}
|
|
26201
26679
|
}
|
|
26202
26680
|
},
|
|
26681
|
+
changeDateFormat(param) {
|
|
26682
|
+
let dateValidate1 = /^\d{4}\-\d{2}\-\d{2}$/;
|
|
26683
|
+
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$/;
|
|
26684
|
+
Object.keys(param).forEach(key => {
|
|
26685
|
+
if (param[key] && typeof param[key] == 'string' && param[key].includes(',') && (dateValidate1.test(param[key].split(',')[0]) || dateValidate2.test(param[key].split(',')[0]))) {
|
|
26686
|
+
param[key] = param[key].split(',');
|
|
26687
|
+
}
|
|
26688
|
+
});
|
|
26689
|
+
},
|
|
26203
26690
|
getSearchValueByKey() {
|
|
26204
26691
|
let queryParamsObj = {};
|
|
26205
26692
|
if (this.queryParams.length > 0) {
|
|
@@ -26398,13 +26885,37 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26398
26885
|
}
|
|
26399
26886
|
}
|
|
26400
26887
|
}
|
|
26888
|
+
// 如果是查询中使用的对话框
|
|
26889
|
+
if (this.dialogType == 'search') {
|
|
26890
|
+
let returnVal = [];
|
|
26891
|
+
str.forEach(item => {
|
|
26892
|
+
returnVal.push(decodeURIComponent(item[this.modelName]));
|
|
26893
|
+
});
|
|
26894
|
+
this.$emit('updateInput', returnVal.join(','));
|
|
26895
|
+
return;
|
|
26896
|
+
}
|
|
26401
26897
|
const pInst = utils["a" /* default */].getOnlineFormInstance(this);
|
|
26402
26898
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
26403
26899
|
var val = '';
|
|
26404
26900
|
var from = con.from.toLowerCase();
|
|
26405
26901
|
str.forEach(item => {
|
|
26406
26902
|
if (item) {
|
|
26407
|
-
|
|
26903
|
+
if (this.jumpParamKey && this.isHaveJumpUrl && (this.modelName == 'data.' + con['target'][0] || this.modelName.includes('item.') && con['target'][0].endsWith(this.modelName.split('.')[1]))) {
|
|
26904
|
+
let jumpParamKey = this.jumpParamKey;
|
|
26905
|
+
let jumpParamValue = this.jumpParamKey;
|
|
26906
|
+
if (this.jumpParamKey.includes(':')) {
|
|
26907
|
+
jumpParamKey = this.jumpParamKey.split(':')[0];
|
|
26908
|
+
jumpParamValue = this.jumpParamKey.split(':')[1];
|
|
26909
|
+
}
|
|
26910
|
+
// 需根据key 找到对应 返回数据的返回名称
|
|
26911
|
+
let returnMap = returnStr.find(k => {
|
|
26912
|
+
return k.field.toLowerCase() == jumpParamValue.toLowerCase();
|
|
26913
|
+
});
|
|
26914
|
+
let returnMapKey = returnMap ? returnMap.comment : '';
|
|
26915
|
+
val += `${decodeURIComponent(item[from])}¯${jumpParamKey}:${decodeURIComponent(item[returnMapKey])},`;
|
|
26916
|
+
} else {
|
|
26917
|
+
val += decodeURIComponent(item[from]) + ',';
|
|
26918
|
+
}
|
|
26408
26919
|
}
|
|
26409
26920
|
});
|
|
26410
26921
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
@@ -26441,20 +26952,6 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26441
26952
|
}
|
|
26442
26953
|
}
|
|
26443
26954
|
},
|
|
26444
|
-
// getSelected() {
|
|
26445
|
-
// let arr = []
|
|
26446
|
-
// this.selectIds.forEach((item) => {
|
|
26447
|
-
// debugger
|
|
26448
|
-
// let obj = this.dialogData.find((sub) => {
|
|
26449
|
-
// return sub.id_ === item
|
|
26450
|
-
// })
|
|
26451
|
-
// if (obj) {
|
|
26452
|
-
// arr.push(obj)
|
|
26453
|
-
// }
|
|
26454
|
-
// })
|
|
26455
|
-
|
|
26456
|
-
// return arr
|
|
26457
|
-
// },
|
|
26458
26955
|
calacInputSuffixHeight() {
|
|
26459
26956
|
this.$emit('calacInputSuffixHeight');
|
|
26460
26957
|
},
|
|
@@ -26656,11 +27153,11 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26656
27153
|
});
|
|
26657
27154
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=script&lang=js&
|
|
26658
27155
|
/* harmony default export */ var src_customMobileDialogvue_type_script_lang_js_ = (customMobileDialogvue_type_script_lang_js_);
|
|
26659
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=
|
|
26660
|
-
var
|
|
27156
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=384dd988&prod&lang=scss&scoped=true&
|
|
27157
|
+
var customMobileDialogvue_type_style_index_0_id_384dd988_prod_lang_scss_scoped_true_ = __webpack_require__("4680");
|
|
26661
27158
|
|
|
26662
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=
|
|
26663
|
-
var
|
|
27159
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=384dd988&prod&lang=scss&
|
|
27160
|
+
var customMobileDialogvue_type_style_index_1_id_384dd988_prod_lang_scss_ = __webpack_require__("3be0");
|
|
26664
27161
|
|
|
26665
27162
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue
|
|
26666
27163
|
|
|
@@ -26674,11 +27171,11 @@ var customMobileDialogvue_type_style_index_1_id_1661eebb_prod_lang_scss_ = __web
|
|
|
26674
27171
|
|
|
26675
27172
|
var customMobileDialog_component = normalizeComponent(
|
|
26676
27173
|
src_customMobileDialogvue_type_script_lang_js_,
|
|
26677
|
-
|
|
26678
|
-
|
|
27174
|
+
customMobileDialogvue_type_template_id_384dd988_scoped_true_render,
|
|
27175
|
+
customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns,
|
|
26679
27176
|
false,
|
|
26680
27177
|
null,
|
|
26681
|
-
"
|
|
27178
|
+
"384dd988",
|
|
26682
27179
|
null
|
|
26683
27180
|
|
|
26684
27181
|
)
|
|
@@ -26822,6 +27319,40 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26822
27319
|
//
|
|
26823
27320
|
//
|
|
26824
27321
|
//
|
|
27322
|
+
//
|
|
27323
|
+
//
|
|
27324
|
+
//
|
|
27325
|
+
//
|
|
27326
|
+
//
|
|
27327
|
+
//
|
|
27328
|
+
//
|
|
27329
|
+
//
|
|
27330
|
+
//
|
|
27331
|
+
//
|
|
27332
|
+
//
|
|
27333
|
+
//
|
|
27334
|
+
//
|
|
27335
|
+
//
|
|
27336
|
+
//
|
|
27337
|
+
//
|
|
27338
|
+
//
|
|
27339
|
+
//
|
|
27340
|
+
//
|
|
27341
|
+
//
|
|
27342
|
+
//
|
|
27343
|
+
//
|
|
27344
|
+
//
|
|
27345
|
+
//
|
|
27346
|
+
//
|
|
27347
|
+
//
|
|
27348
|
+
//
|
|
27349
|
+
//
|
|
27350
|
+
//
|
|
27351
|
+
//
|
|
27352
|
+
//
|
|
27353
|
+
//
|
|
27354
|
+
//
|
|
27355
|
+
//
|
|
26825
27356
|
|
|
26826
27357
|
|
|
26827
27358
|
|
|
@@ -26853,10 +27384,19 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26853
27384
|
subIndex: Number,
|
|
26854
27385
|
sunIndex: Number,
|
|
26855
27386
|
subPath: String,
|
|
26856
|
-
currentSubData: Array
|
|
27387
|
+
currentSubData: Array,
|
|
27388
|
+
dialogType: {
|
|
27389
|
+
// search表示在查询条件使用 form表示在表单中使用
|
|
27390
|
+
type: String,
|
|
27391
|
+
default: 'form'
|
|
27392
|
+
}
|
|
26857
27393
|
},
|
|
26858
27394
|
data() {
|
|
26859
27395
|
return {
|
|
27396
|
+
mobileSrc: '',
|
|
27397
|
+
isDialogFormShow: false,
|
|
27398
|
+
dialogConfig: null,
|
|
27399
|
+
// 对话框配置信息
|
|
26860
27400
|
isEditInputShow: false,
|
|
26861
27401
|
customValue: '',
|
|
26862
27402
|
defualtTooltipplacement: 'bottom',
|
|
@@ -26905,9 +27445,24 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26905
27445
|
}
|
|
26906
27446
|
let result = [];
|
|
26907
27447
|
nameAry.forEach(m => {
|
|
26908
|
-
|
|
26909
|
-
|
|
26910
|
-
};
|
|
27448
|
+
// 带url跳转参数的 使用上横杆区分参数 值格式为 名称¯跳转key:跳转value
|
|
27449
|
+
// 上横向保存数据库后 有可能被改变此处兼容写了一种上横线
|
|
27450
|
+
let n = {};
|
|
27451
|
+
if (m.includes('¯') && m.split('¯')[1] || m.includes('ˉ') && m.split('ˉ')[1]) {
|
|
27452
|
+
let val1 = m.includes('¯') ? m.split('¯')[0] : m.split('ˉ')[0];
|
|
27453
|
+
let val2 = m.includes('¯') ? m.split('¯')[1] : m.split('ˉ')[1];
|
|
27454
|
+
n.value = val1;
|
|
27455
|
+
let jumpParamStr = val2;
|
|
27456
|
+
if (jumpParamStr) {
|
|
27457
|
+
let jumpParam = jumpParamStr.split(':');
|
|
27458
|
+
n.jumpParamKey = jumpParam[0];
|
|
27459
|
+
n.jumpParamValue = jumpParam[1];
|
|
27460
|
+
}
|
|
27461
|
+
} else {
|
|
27462
|
+
n = {
|
|
27463
|
+
value: m
|
|
27464
|
+
};
|
|
27465
|
+
}
|
|
26911
27466
|
result.push(n);
|
|
26912
27467
|
});
|
|
26913
27468
|
return result;
|
|
@@ -26915,8 +27470,16 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26915
27470
|
},
|
|
26916
27471
|
isAllowCustom() {
|
|
26917
27472
|
return this.custdialog && this.custdialog.allowInput;
|
|
27473
|
+
},
|
|
27474
|
+
// 是否展示可跳转颜色
|
|
27475
|
+
isSrcColor() {
|
|
27476
|
+
return this.dialogConfig && this.dialogType !== 'search' && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
26918
27477
|
}
|
|
26919
27478
|
},
|
|
27479
|
+
created() {
|
|
27480
|
+
// 获取对话框配置,看是否有配置url跳转
|
|
27481
|
+
this.getDialogConfig();
|
|
27482
|
+
},
|
|
26920
27483
|
mounted() {
|
|
26921
27484
|
setTimeout(() => {
|
|
26922
27485
|
const {
|
|
@@ -26934,9 +27497,74 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26934
27497
|
}
|
|
26935
27498
|
//获取对话框按钮名称宽度
|
|
26936
27499
|
this.calacInputSuffixWidth();
|
|
27500
|
+
if (this.value && this.inputWriteable) {
|
|
27501
|
+
this.calacInputSuffixHeight();
|
|
27502
|
+
}
|
|
26937
27503
|
}, 50);
|
|
26938
27504
|
},
|
|
26939
27505
|
methods: {
|
|
27506
|
+
// 跳转url页面
|
|
27507
|
+
jumpUrl(item) {
|
|
27508
|
+
if (!this.isSrcColor) {
|
|
27509
|
+
if (this.inputWriteable) {
|
|
27510
|
+
this.showEditInput();
|
|
27511
|
+
}
|
|
27512
|
+
return;
|
|
27513
|
+
}
|
|
27514
|
+
let url = this.isMobile ? this.dialogConfig.mobileUrl : this.dialogConfig.pcUrl;
|
|
27515
|
+
// 获取通用token 和 url翻译
|
|
27516
|
+
Promise.all([this.$requestConfig.getThreeTreeToken(), this.transformUrl(url)]).then(res => {
|
|
27517
|
+
if (res[0] && res[0].code == 200) {
|
|
27518
|
+
let token = res[0].value;
|
|
27519
|
+
let endUrl = res[1];
|
|
27520
|
+
// 拼接参数 token和参数
|
|
27521
|
+
if (endUrl.indexOf('?') == -1) {
|
|
27522
|
+
endUrl += `?bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
|
|
27523
|
+
} else {
|
|
27524
|
+
endUrl += `&bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
|
|
27525
|
+
}
|
|
27526
|
+
if (this.isMobile) {
|
|
27527
|
+
this.mobileSrc = endUrl;
|
|
27528
|
+
this.isDialogFormShow = true;
|
|
27529
|
+
} else {
|
|
27530
|
+
window.open(endUrl);
|
|
27531
|
+
}
|
|
27532
|
+
} else {
|
|
27533
|
+
this.$message.info(res.message || '获取token失败!');
|
|
27534
|
+
}
|
|
27535
|
+
});
|
|
27536
|
+
},
|
|
27537
|
+
// 替换url中域名通配符 需要发送接口
|
|
27538
|
+
transformUrl(url) {
|
|
27539
|
+
return new Promise(resolve => {
|
|
27540
|
+
var reg = /(\$\{(\w+)\})/;
|
|
27541
|
+
var match = reg.exec(url);
|
|
27542
|
+
if (match) {
|
|
27543
|
+
let alias = match[2];
|
|
27544
|
+
if (alias) {
|
|
27545
|
+
this.$requestConfig.getHostByAlias(alias).then(res => {
|
|
27546
|
+
if (res && res.value && res.value.rootAddress) {
|
|
27547
|
+
resolve(url.replace(match[1], res.value.rootAddress));
|
|
27548
|
+
} else {
|
|
27549
|
+
resolve(url);
|
|
27550
|
+
}
|
|
27551
|
+
});
|
|
27552
|
+
} else {
|
|
27553
|
+
resolve(url);
|
|
27554
|
+
}
|
|
27555
|
+
} else {
|
|
27556
|
+
resolve(url);
|
|
27557
|
+
}
|
|
27558
|
+
});
|
|
27559
|
+
},
|
|
27560
|
+
// 获取对话框配置
|
|
27561
|
+
getDialogConfig() {
|
|
27562
|
+
if (this.custdialog && this.custdialog.custDialog && this.custdialog.custDialog.alias) this.$requestConfig.getCustomDialogByAlias(this.custdialog.custDialog.alias).then(response => {
|
|
27563
|
+
if (response) {
|
|
27564
|
+
this.dialogConfig = response;
|
|
27565
|
+
}
|
|
27566
|
+
});
|
|
27567
|
+
},
|
|
26940
27568
|
editInputBlur() {
|
|
26941
27569
|
this.$emit('input', this.customValue);
|
|
26942
27570
|
this.isEditInputShow = false;
|
|
@@ -27011,8 +27639,8 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27011
27639
|
});
|
|
27012
27640
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=script&lang=js&
|
|
27013
27641
|
/* harmony default export */ var packages_CustomDialog_src_mainvue_type_script_lang_js_ = (CustomDialog_src_mainvue_type_script_lang_js_);
|
|
27014
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=
|
|
27015
|
-
var
|
|
27642
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=bf5a35ae&prod&lang=scss&scoped=true&
|
|
27643
|
+
var mainvue_type_style_index_0_id_bf5a35ae_prod_lang_scss_scoped_true_ = __webpack_require__("87a1");
|
|
27016
27644
|
|
|
27017
27645
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue
|
|
27018
27646
|
|
|
@@ -27025,11 +27653,11 @@ var mainvue_type_style_index_0_id_0b5eb5e6_prod_lang_scss_scoped_true_ = __webpa
|
|
|
27025
27653
|
|
|
27026
27654
|
var CustomDialog_src_main_component = normalizeComponent(
|
|
27027
27655
|
packages_CustomDialog_src_mainvue_type_script_lang_js_,
|
|
27028
|
-
|
|
27029
|
-
|
|
27656
|
+
mainvue_type_template_id_bf5a35ae_scoped_true_render,
|
|
27657
|
+
mainvue_type_template_id_bf5a35ae_scoped_true_staticRenderFns,
|
|
27030
27658
|
false,
|
|
27031
27659
|
null,
|
|
27032
|
-
"
|
|
27660
|
+
"bf5a35ae",
|
|
27033
27661
|
null
|
|
27034
27662
|
|
|
27035
27663
|
)
|