three-trees-ui 1.0.16 → 1.0.17
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 +413 -1041
- package/lib/three-trees-ui.css +1 -1
- package/lib/three-trees-ui.umd.js +413 -1041
- package/lib/three-trees-ui.umd.min.js +1 -1
- package/package.json +1 -1
- package/packages/CustomDialog/src/customDialog.vue +165 -488
- package/packages/CustomDialog/src/customMobileDialog.vue +155 -464
- package/packages/CustomDialog/src/main.vue +10 -202
- package/packages/DimensionSelector/src/main.vue +0 -2
- package/packages/Global/src/GlobalQuery.vue +1 -0
- package/packages/Tree/src/main.vue +2 -7
|
@@ -1657,6 +1657,13 @@ const btnList = [{
|
|
|
1657
1657
|
|
|
1658
1658
|
/***/ }),
|
|
1659
1659
|
|
|
1660
|
+
/***/ "0ca0":
|
|
1661
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1662
|
+
|
|
1663
|
+
// extracted by mini-css-extract-plugin
|
|
1664
|
+
|
|
1665
|
+
/***/ }),
|
|
1666
|
+
|
|
1660
1667
|
/***/ "0edb":
|
|
1661
1668
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1662
1669
|
|
|
@@ -1884,7 +1891,7 @@ const SubPagination = {
|
|
|
1884
1891
|
|
|
1885
1892
|
/***/ }),
|
|
1886
1893
|
|
|
1887
|
-
/***/ "
|
|
1894
|
+
/***/ "1ccc":
|
|
1888
1895
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1889
1896
|
|
|
1890
1897
|
// extracted by mini-css-extract-plugin
|
|
@@ -2052,6 +2059,13 @@ module.exports = require("vuedraggable");
|
|
|
2052
2059
|
|
|
2053
2060
|
/***/ }),
|
|
2054
2061
|
|
|
2062
|
+
/***/ "333d":
|
|
2063
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2064
|
+
|
|
2065
|
+
// extracted by mini-css-extract-plugin
|
|
2066
|
+
|
|
2067
|
+
/***/ }),
|
|
2068
|
+
|
|
2055
2069
|
/***/ "33ce":
|
|
2056
2070
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2057
2071
|
|
|
@@ -2789,17 +2803,6 @@ Formulas.install = Vue => {
|
|
|
2789
2803
|
|
|
2790
2804
|
// extracted by mini-css-extract-plugin
|
|
2791
2805
|
|
|
2792
|
-
/***/ }),
|
|
2793
|
-
|
|
2794
|
-
/***/ "3be0":
|
|
2795
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2796
|
-
|
|
2797
|
-
"use strict";
|
|
2798
|
-
/* 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");
|
|
2799
|
-
/* 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__);
|
|
2800
|
-
/* unused harmony reexport * */
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
2806
|
/***/ }),
|
|
2804
2807
|
|
|
2805
2808
|
/***/ "3e5b":
|
|
@@ -2838,30 +2841,23 @@ Formulas.install = Vue => {
|
|
|
2838
2841
|
|
|
2839
2842
|
/***/ }),
|
|
2840
2843
|
|
|
2841
|
-
/***/ "
|
|
2842
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2843
|
-
|
|
2844
|
-
// extracted by mini-css-extract-plugin
|
|
2845
|
-
|
|
2846
|
-
/***/ }),
|
|
2847
|
-
|
|
2848
|
-
/***/ "4680":
|
|
2844
|
+
/***/ "4876":
|
|
2849
2845
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2850
2846
|
|
|
2851
2847
|
"use strict";
|
|
2852
|
-
/* harmony import */ var
|
|
2853
|
-
/* 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_UserSelectorMobileDialog_vue_vue_type_style_index_0_id_6313b4e0_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("33ce");
|
|
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_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__);
|
|
2854
2850
|
/* unused harmony reexport * */
|
|
2855
2851
|
|
|
2856
2852
|
|
|
2857
2853
|
/***/ }),
|
|
2858
2854
|
|
|
2859
|
-
/***/ "
|
|
2855
|
+
/***/ "48f7":
|
|
2860
2856
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2861
2857
|
|
|
2862
2858
|
"use strict";
|
|
2863
|
-
/* harmony import */ var
|
|
2864
|
-
/* 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_main_vue_vue_type_style_index_0_id_5731e345_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1ccc");
|
|
2860
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_5731e345_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_5731e345_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
2865
2861
|
/* unused harmony reexport * */
|
|
2866
2862
|
|
|
2867
2863
|
|
|
@@ -2897,6 +2893,17 @@ Formulas.install = Vue => {
|
|
|
2897
2893
|
|
|
2898
2894
|
// extracted by mini-css-extract-plugin
|
|
2899
2895
|
|
|
2896
|
+
/***/ }),
|
|
2897
|
+
|
|
2898
|
+
/***/ "49f9":
|
|
2899
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2900
|
+
|
|
2901
|
+
"use strict";
|
|
2902
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_1_id_1661eebb_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("7c6e");
|
|
2903
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_1_id_1661eebb_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_1_id_1661eebb_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
2904
|
+
/* unused harmony reexport * */
|
|
2905
|
+
|
|
2906
|
+
|
|
2900
2907
|
/***/ }),
|
|
2901
2908
|
|
|
2902
2909
|
/***/ "4b7c":
|
|
@@ -3028,13 +3035,6 @@ exports.clearImmediate = (typeof self !== "undefined" && self.clearImmediate) ||
|
|
|
3028
3035
|
|
|
3029
3036
|
/***/ }),
|
|
3030
3037
|
|
|
3031
|
-
/***/ "569e":
|
|
3032
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
3033
|
-
|
|
3034
|
-
// extracted by mini-css-extract-plugin
|
|
3035
|
-
|
|
3036
|
-
/***/ }),
|
|
3037
|
-
|
|
3038
3038
|
/***/ "5877":
|
|
3039
3039
|
/***/ (function(module, exports) {
|
|
3040
3040
|
|
|
@@ -4125,13 +4125,6 @@ const dict = {
|
|
|
4125
4125
|
|
|
4126
4126
|
/***/ }),
|
|
4127
4127
|
|
|
4128
|
-
/***/ "6ebe":
|
|
4129
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4130
|
-
|
|
4131
|
-
// extracted by mini-css-extract-plugin
|
|
4132
|
-
|
|
4133
|
-
/***/ }),
|
|
4134
|
-
|
|
4135
4128
|
/***/ "6f28":
|
|
4136
4129
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4137
4130
|
|
|
@@ -4164,13 +4157,6 @@ const dict = {
|
|
|
4164
4157
|
|
|
4165
4158
|
/***/ }),
|
|
4166
4159
|
|
|
4167
|
-
/***/ "7090":
|
|
4168
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4169
|
-
|
|
4170
|
-
// extracted by mini-css-extract-plugin
|
|
4171
|
-
|
|
4172
|
-
/***/ }),
|
|
4173
|
-
|
|
4174
4160
|
/***/ "7152":
|
|
4175
4161
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4176
4162
|
|
|
@@ -4246,6 +4232,13 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4246
4232
|
|
|
4247
4233
|
/***/ }),
|
|
4248
4234
|
|
|
4235
|
+
/***/ "7c6e":
|
|
4236
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4237
|
+
|
|
4238
|
+
// extracted by mini-css-extract-plugin
|
|
4239
|
+
|
|
4240
|
+
/***/ }),
|
|
4241
|
+
|
|
4249
4242
|
/***/ "7d0a":
|
|
4250
4243
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4251
4244
|
|
|
@@ -4273,6 +4266,17 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4273
4266
|
|
|
4274
4267
|
// extracted by mini-css-extract-plugin
|
|
4275
4268
|
|
|
4269
|
+
/***/ }),
|
|
4270
|
+
|
|
4271
|
+
/***/ "7ff9":
|
|
4272
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4273
|
+
|
|
4274
|
+
"use strict";
|
|
4275
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customDialog_vue_vue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("333d");
|
|
4276
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customDialog_vue_vue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customDialog_vue_vue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
4277
|
+
/* unused harmony reexport * */
|
|
4278
|
+
|
|
4279
|
+
|
|
4276
4280
|
/***/ }),
|
|
4277
4281
|
|
|
4278
4282
|
/***/ "8262":
|
|
@@ -4327,17 +4331,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4327
4331
|
|
|
4328
4332
|
// extracted by mini-css-extract-plugin
|
|
4329
4333
|
|
|
4330
|
-
/***/ }),
|
|
4331
|
-
|
|
4332
|
-
/***/ "87a1":
|
|
4333
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4334
|
-
|
|
4335
|
-
"use strict";
|
|
4336
|
-
/* 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");
|
|
4337
|
-
/* 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__);
|
|
4338
|
-
/* unused harmony reexport * */
|
|
4339
|
-
|
|
4340
|
-
|
|
4341
4334
|
/***/ }),
|
|
4342
4335
|
|
|
4343
4336
|
/***/ "889a":
|
|
@@ -4719,7 +4712,14 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
4719
4712
|
/***/ "9224":
|
|
4720
4713
|
/***/ (function(module) {
|
|
4721
4714
|
|
|
4722
|
-
module.exports = JSON.parse("{\"a\":\"1.0.
|
|
4715
|
+
module.exports = JSON.parse("{\"a\":\"1.0.17\"}");
|
|
4716
|
+
|
|
4717
|
+
/***/ }),
|
|
4718
|
+
|
|
4719
|
+
/***/ "923d":
|
|
4720
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4721
|
+
|
|
4722
|
+
// extracted by mini-css-extract-plugin
|
|
4723
4723
|
|
|
4724
4724
|
/***/ }),
|
|
4725
4725
|
|
|
@@ -4844,6 +4844,13 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHoAAABMCAYAAACi
|
|
|
4844
4844
|
|
|
4845
4845
|
/***/ }),
|
|
4846
4846
|
|
|
4847
|
+
/***/ "a707":
|
|
4848
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4849
|
+
|
|
4850
|
+
// extracted by mini-css-extract-plugin
|
|
4851
|
+
|
|
4852
|
+
/***/ }),
|
|
4853
|
+
|
|
4847
4854
|
/***/ "a751":
|
|
4848
4855
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4849
4856
|
|
|
@@ -5432,17 +5439,6 @@ module.exports = require("setimmediate");
|
|
|
5432
5439
|
|
|
5433
5440
|
// extracted by mini-css-extract-plugin
|
|
5434
5441
|
|
|
5435
|
-
/***/ }),
|
|
5436
|
-
|
|
5437
|
-
/***/ "aeed":
|
|
5438
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5439
|
-
|
|
5440
|
-
"use strict";
|
|
5441
|
-
/* 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");
|
|
5442
|
-
/* 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__);
|
|
5443
|
-
/* unused harmony reexport * */
|
|
5444
|
-
|
|
5445
|
-
|
|
5446
5442
|
/***/ }),
|
|
5447
5443
|
|
|
5448
5444
|
/***/ "af95":
|
|
@@ -6238,13 +6234,6 @@ const {
|
|
|
6238
6234
|
|
|
6239
6235
|
/***/ }),
|
|
6240
6236
|
|
|
6241
|
-
/***/ "b1a3":
|
|
6242
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
6243
|
-
|
|
6244
|
-
// extracted by mini-css-extract-plugin
|
|
6245
|
-
|
|
6246
|
-
/***/ }),
|
|
6247
|
-
|
|
6248
6237
|
/***/ "b1ce":
|
|
6249
6238
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6250
6239
|
|
|
@@ -6439,6 +6428,17 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
|
|
|
6439
6428
|
|
|
6440
6429
|
// extracted by mini-css-extract-plugin
|
|
6441
6430
|
|
|
6431
|
+
/***/ }),
|
|
6432
|
+
|
|
6433
|
+
/***/ "be12":
|
|
6434
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6435
|
+
|
|
6436
|
+
"use strict";
|
|
6437
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_0b5eb5e6_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("0ca0");
|
|
6438
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_0b5eb5e6_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_0b5eb5e6_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
6439
|
+
/* unused harmony reexport * */
|
|
6440
|
+
|
|
6441
|
+
|
|
6442
6442
|
/***/ }),
|
|
6443
6443
|
|
|
6444
6444
|
/***/ "c0a9":
|
|
@@ -6457,6 +6457,17 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
|
|
|
6457
6457
|
|
|
6458
6458
|
module.exports = require("moment");
|
|
6459
6459
|
|
|
6460
|
+
/***/ }),
|
|
6461
|
+
|
|
6462
|
+
/***/ "c33b":
|
|
6463
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6464
|
+
|
|
6465
|
+
"use strict";
|
|
6466
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a707");
|
|
6467
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
6468
|
+
/* unused harmony reexport * */
|
|
6469
|
+
|
|
6470
|
+
|
|
6460
6471
|
/***/ }),
|
|
6461
6472
|
|
|
6462
6473
|
/***/ "c429":
|
|
@@ -6589,17 +6600,6 @@ module.exports = g;
|
|
|
6589
6600
|
/* unused harmony reexport * */
|
|
6590
6601
|
|
|
6591
6602
|
|
|
6592
|
-
/***/ }),
|
|
6593
|
-
|
|
6594
|
-
/***/ "cc2b":
|
|
6595
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6596
|
-
|
|
6597
|
-
"use strict";
|
|
6598
|
-
/* 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");
|
|
6599
|
-
/* 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__);
|
|
6600
|
-
/* unused harmony reexport * */
|
|
6601
|
-
|
|
6602
|
-
|
|
6603
6603
|
/***/ }),
|
|
6604
6604
|
|
|
6605
6605
|
/***/ "cd87":
|
|
@@ -7158,23 +7158,23 @@ module.exports = require("deepmerge");
|
|
|
7158
7158
|
|
|
7159
7159
|
/***/ }),
|
|
7160
7160
|
|
|
7161
|
-
/***/ "
|
|
7161
|
+
/***/ "dccc":
|
|
7162
7162
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7163
7163
|
|
|
7164
7164
|
"use strict";
|
|
7165
|
-
/* harmony import */ var
|
|
7166
|
-
/* harmony import */ var
|
|
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_68e2d4a1_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("8728");
|
|
7166
|
+
/* 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__);
|
|
7167
7167
|
/* unused harmony reexport * */
|
|
7168
7168
|
|
|
7169
7169
|
|
|
7170
7170
|
/***/ }),
|
|
7171
7171
|
|
|
7172
|
-
/***/ "
|
|
7172
|
+
/***/ "de6a":
|
|
7173
7173
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7174
7174
|
|
|
7175
7175
|
"use strict";
|
|
7176
|
-
/* harmony import */ var
|
|
7177
|
-
/* harmony import */ var
|
|
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_customMobileDialog_vue_vue_type_style_index_0_id_1661eebb_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("923d");
|
|
7177
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_0_id_1661eebb_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_0_id_1661eebb_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
7178
7178
|
/* unused harmony reexport * */
|
|
7179
7179
|
|
|
7180
7180
|
|
|
@@ -15621,17 +15621,17 @@ Demension_src_main.install = function (Vue) {
|
|
|
15621
15621
|
Vue.component(Demension_src_main.name, Demension_src_main);
|
|
15622
15622
|
};
|
|
15623
15623
|
/* harmony default export */ var Demension = (Demension_src_main);
|
|
15624
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/Tree/src/main.vue?vue&type=template&id=
|
|
15625
|
-
var
|
|
15624
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/Tree/src/main.vue?vue&type=template&id=5731e345&scoped=true&
|
|
15625
|
+
var mainvue_type_template_id_5731e345_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{style:(_vm.containerStyle)},[(_vm.supportFilter)?_c('div',{staticClass:"tree-header flex"},[_vm._t("custom-prefix"),_c('el-input',{attrs:{"placeholder":_vm.t('ht.tree.filterText'),"clearable":""},model:{value:(_vm.filterText),callback:function ($$v) {_vm.filterText=$$v},expression:"filterText"}},[_c('i',{staticClass:"el-input__icon el-icon-search",attrs:{"slot":"prefix"},slot:"prefix"})]),_c('div',{class:_vm.isIeExplorer
|
|
15626
15626
|
? 'tree-button-group is-ie-explorer flex'
|
|
15627
15627
|
: 'tree-button-group flex'},[_vm._t("custom-button"),_c('ht-icon',{staticClass:"tree-icon",attrs:{"name":_vm.isExpand ? 'simple-collapse' : 'simple-expand',"title":_vm.isExpand ? '收起' : '展开',"scale":"1.2"},on:{"click":_vm.handleExpandCollapse}}),_c('ht-icon',{staticClass:"tree-icon refresh",attrs:{"name":"refresh","pulse":_vm.loading,"scale":"1.1","title":"刷新"},on:{"click":_vm.refresh}})],2)],2):_vm._e(),(_vm.isShowEmpty)?_c('el-empty',{attrs:{"image":_vm.treeNoDataImg,"image-size":_vm.imageSize}}):_c('el-tree',{ref:"elTree",staticClass:"el-tree__wrapper",style:(_vm.elTreeStyle),attrs:{"data":_vm.data ? _vm.data : _vm.treeData,"props":_vm.props,"empty-text":_vm.emptyText,"default-expand-all":_vm.defaultExpandAll,"filter-node-method":_vm.filterNode,"load":_vm.load,"lazy":_vm.lazy,"show-checkbox":_vm.showCheckbox,"accordion":_vm.accordion,"node-key":_vm.nodeKey,"default-expanded-keys":_vm.defaultExpandedKeys,"highlight-current":_vm.highlightCurrent,"render-after-expand":_vm.renderAfterExpand,"render-content":_vm.renderContent,"check-on-click-node":_vm.checkOnClickNode,"auto-expand-parent":_vm.autoExpandParent,"check-strictly":_vm.checkStrictly,"current-node-key":_vm.currentNodeKey,"indent":_vm.indent,"icon-class":_vm.iconClass,"draggable":_vm.draggable,"allow-drag":_vm.allowDrag,"allow-drop":_vm.allowDrop,"expand-on-click-node":_vm.expandOnClickNode,"default-checked-keys":_vm.defaultCheckedKeys},on:{"node-click":_vm.handleNodeClick,"node-contextmenu":_vm.nodeContextmenu,"check-change":_vm.checkChange,"check":_vm.check,"current-change":_vm.currentChange,"node-expand":_vm.nodeExpand,"node-collapse":_vm.nodeCollapse,"node-drag-start":_vm.nodeDragStart,"node-drag-enter":_vm.nodeDragEnter,"node-drag-leave":_vm.nodeDragLeave,"node-drag-over":_vm.nodeDragOver,"node-drag-end":_vm.nodeDragEnd,"node-drop":_vm.nodeDrop},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
15628
15628
|
var node = ref.node;
|
|
15629
15629
|
var subData = ref.data;
|
|
15630
15630
|
return (_vm.$scopedSlots['default'])?_vm._t("default",null,{"node":node,"data":subData}):[_c('span',{staticClass:"el-tree-node__label show-ellipsis",class:{ 'full-width': !_vm.showMoreButton },attrs:{"title":node.label}},[_vm._v("\n "+_vm._s(node.label)+"\n ")])]}}],null,true)})],1)}
|
|
15631
|
-
var
|
|
15631
|
+
var mainvue_type_template_id_5731e345_scoped_true_staticRenderFns = []
|
|
15632
15632
|
|
|
15633
15633
|
|
|
15634
|
-
// CONCATENATED MODULE: ./packages/Tree/src/main.vue?vue&type=template&id=
|
|
15634
|
+
// CONCATENATED MODULE: ./packages/Tree/src/main.vue?vue&type=template&id=5731e345&scoped=true&
|
|
15635
15635
|
|
|
15636
15636
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/Tree/src/main.vue?vue&type=script&lang=js&
|
|
15637
15637
|
//
|
|
@@ -15906,11 +15906,7 @@ var mainvue_type_template_id_10f71c00_scoped_true_staticRenderFns = []
|
|
|
15906
15906
|
},
|
|
15907
15907
|
watch: {
|
|
15908
15908
|
filterText(val) {
|
|
15909
|
-
|
|
15910
|
-
this.$emit('loadALL', val);
|
|
15911
|
-
} else {
|
|
15912
|
-
this.$refs.elTree.filter(val);
|
|
15913
|
-
}
|
|
15909
|
+
this.$refs.elTree.filter(val);
|
|
15914
15910
|
},
|
|
15915
15911
|
defaultCheckedKeys(val) {
|
|
15916
15912
|
this.$refs.elTree.setCheckedKeys(val);
|
|
@@ -16003,8 +15999,8 @@ var mainvue_type_template_id_10f71c00_scoped_true_staticRenderFns = []
|
|
|
16003
15999
|
});
|
|
16004
16000
|
// CONCATENATED MODULE: ./packages/Tree/src/main.vue?vue&type=script&lang=js&
|
|
16005
16001
|
/* harmony default export */ var packages_Tree_src_mainvue_type_script_lang_js_ = (Tree_src_mainvue_type_script_lang_js_);
|
|
16006
|
-
// EXTERNAL MODULE: ./packages/Tree/src/main.vue?vue&type=style&index=0&id=
|
|
16007
|
-
var
|
|
16002
|
+
// EXTERNAL MODULE: ./packages/Tree/src/main.vue?vue&type=style&index=0&id=5731e345&prod&lang=scss&scoped=true&
|
|
16003
|
+
var mainvue_type_style_index_0_id_5731e345_prod_lang_scss_scoped_true_ = __webpack_require__("48f7");
|
|
16008
16004
|
|
|
16009
16005
|
// CONCATENATED MODULE: ./packages/Tree/src/main.vue
|
|
16010
16006
|
|
|
@@ -16017,11 +16013,11 @@ var mainvue_type_style_index_0_id_10f71c00_prod_lang_scss_scoped_true_ = __webpa
|
|
|
16017
16013
|
|
|
16018
16014
|
var Tree_src_main_component = normalizeComponent(
|
|
16019
16015
|
packages_Tree_src_mainvue_type_script_lang_js_,
|
|
16020
|
-
|
|
16021
|
-
|
|
16016
|
+
mainvue_type_template_id_5731e345_scoped_true_render,
|
|
16017
|
+
mainvue_type_template_id_5731e345_scoped_true_staticRenderFns,
|
|
16022
16018
|
false,
|
|
16023
16019
|
null,
|
|
16024
|
-
"
|
|
16020
|
+
"5731e345",
|
|
16025
16021
|
null
|
|
16026
16022
|
|
|
16027
16023
|
)
|
|
@@ -22513,8 +22509,8 @@ PostSelector_src_main.install = function (Vue) {
|
|
|
22513
22509
|
Vue.component(PostSelector_src_main.name, PostSelector_src_main);
|
|
22514
22510
|
};
|
|
22515
22511
|
/* harmony default export */ var PostSelector = (PostSelector_src_main);
|
|
22516
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/DimensionSelector/src/main.vue?vue&type=template&id=
|
|
22517
|
-
var
|
|
22512
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/DimensionSelector/src/main.vue?vue&type=template&id=10681225&scoped=true&
|
|
22513
|
+
var mainvue_type_template_id_10681225_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.permission !== 'n')?_c('div',{class:[
|
|
22518
22514
|
'inputs',
|
|
22519
22515
|
_vm.formInputsDisplay == 'block'
|
|
22520
22516
|
? 'ht-form-inputs__block'
|
|
@@ -22529,10 +22525,10 @@ var mainvue_type_template_id_8015cf1e_scoped_true_render = function () {var _vm=
|
|
|
22529
22525
|
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){
|
|
22530
22526
|
var select = ref.select;
|
|
22531
22527
|
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()}
|
|
22532
|
-
var
|
|
22528
|
+
var mainvue_type_template_id_10681225_scoped_true_staticRenderFns = []
|
|
22533
22529
|
|
|
22534
22530
|
|
|
22535
|
-
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=template&id=
|
|
22531
|
+
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=template&id=10681225&scoped=true&
|
|
22536
22532
|
|
|
22537
22533
|
// 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&
|
|
22538
22534
|
//
|
|
@@ -22791,8 +22787,6 @@ var mainvue_type_template_id_8015cf1e_scoped_true_staticRenderFns = []
|
|
|
22791
22787
|
if (this.config.hasOwnProperty('demName')) {
|
|
22792
22788
|
utils["a" /* default */].setValueByConfigKey(this, this.config, 'demName', demNameAry.join(','));
|
|
22793
22789
|
}
|
|
22794
|
-
} else {
|
|
22795
|
-
this.$emit('change', newVal);
|
|
22796
22790
|
}
|
|
22797
22791
|
// 通过valueChange事件发布值变更消息
|
|
22798
22792
|
this.$emit('valueChange', ary.join(','), newVal);
|
|
@@ -22922,8 +22916,8 @@ var mainvue_type_template_id_8015cf1e_scoped_true_staticRenderFns = []
|
|
|
22922
22916
|
});
|
|
22923
22917
|
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=script&lang=js&
|
|
22924
22918
|
/* harmony default export */ var packages_DimensionSelector_src_mainvue_type_script_lang_js_ = (DimensionSelector_src_mainvue_type_script_lang_js_);
|
|
22925
|
-
// EXTERNAL MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=style&index=0&id=
|
|
22926
|
-
var
|
|
22919
|
+
// EXTERNAL MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=style&index=0&id=10681225&prod&lang=scss&scoped=true&
|
|
22920
|
+
var mainvue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true_ = __webpack_require__("c33b");
|
|
22927
22921
|
|
|
22928
22922
|
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue
|
|
22929
22923
|
|
|
@@ -22936,11 +22930,11 @@ var mainvue_type_style_index_0_id_8015cf1e_prod_lang_scss_scoped_true_ = __webpa
|
|
|
22936
22930
|
|
|
22937
22931
|
var DimensionSelector_src_main_component = normalizeComponent(
|
|
22938
22932
|
packages_DimensionSelector_src_mainvue_type_script_lang_js_,
|
|
22939
|
-
|
|
22940
|
-
|
|
22933
|
+
mainvue_type_template_id_10681225_scoped_true_render,
|
|
22934
|
+
mainvue_type_template_id_10681225_scoped_true_staticRenderFns,
|
|
22941
22935
|
false,
|
|
22942
22936
|
null,
|
|
22943
|
-
"
|
|
22937
|
+
"10681225",
|
|
22944
22938
|
null
|
|
22945
22939
|
|
|
22946
22940
|
)
|
|
@@ -23568,8 +23562,8 @@ Dialog_src_main.install = function (Vue) {
|
|
|
23568
23562
|
Vue.component(Dialog_src_main.name, Dialog_src_main);
|
|
23569
23563
|
};
|
|
23570
23564
|
/* harmony default export */ var Dialog = (Dialog_src_main);
|
|
23571
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/main.vue?vue&type=template&id=
|
|
23572
|
-
var
|
|
23565
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/main.vue?vue&type=template&id=0b5eb5e6&scoped=true&
|
|
23566
|
+
var mainvue_type_template_id_0b5eb5e6_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",on:{"click":_vm.showEditInput}},[_c('span',{staticClass:"el-select__tags-text"},[_vm._v(_vm._s(item.value))]),_c('i',{staticClass:"el-tag__close el-icon-close",on:{"click":function($event){$event.stopPropagation();return _vm.removeSelectOrg(index)}}})])}),0)]),_c('div',{staticClass:"el-input el-input--suffix"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.inputVal),expression:"inputVal"},{name:"validate",rawName:"v-validate",value:(_vm.inputValidate),expression:"inputValidate"}],staticClass:"el-input__inner",style:({ height: _vm.inputSuffixHeight + 'px' }),attrs:{"type":"text","readonly":"readonly","name":_vm.inputName,"autocomplete":"off","placeholder":_vm.placeholder},domProps:{"value":(_vm.inputVal)},on:{"click":_vm.showEditInput,"input":function($event){if($event.target.composing){ return; }_vm.inputVal=$event.target.value}}}),(_vm.isAllowCustom && _vm.isEditInputShow)?_c('el-input',{ref:"editInputRef",staticClass:"edit-input",style:({
|
|
23573
23567
|
right: _vm.inputSuffixWidth - 1 + 'px',
|
|
23574
23568
|
width: 'auto!important',
|
|
23575
23569
|
height: _vm.inputSuffixHeight - 4 + 'px',
|
|
@@ -23578,11 +23572,11 @@ var mainvue_type_template_id_bf5a35ae_scoped_true_render = function () {var _vm=
|
|
|
23578
23572
|
: 'el-input__icon icon-duihuakuang',style:({
|
|
23579
23573
|
fontSize: '17px',
|
|
23580
23574
|
lineHeight: _vm.inputSuffixHeight + 'px',
|
|
23581
|
-
})}),_vm._v("\n "+_vm._s(_vm.custdialog.name)+"\n ")])],1)])],1)]):_vm._e()]),(!_vm.inputWriteable)?_c('span',
|
|
23582
|
-
var
|
|
23575
|
+
})}),_vm._v("\n "+_vm._s(_vm.custdialog.name)+"\n ")])],1)])],1)]):_vm._e()]),(!_vm.inputWriteable)?_c('span',_vm._l((_vm.inputVal),function(item){return _c('span',{key:item.value,staticClass:"el-tag el-tag--info el-tag--small",staticStyle:{"margin-right":"8px"},on:{"click":function($event){$event.stopPropagation();}}},[_c('span',{staticClass:"el-select__tags-text"},[_vm._v(_vm._s(item.value))])])}),0):_vm._e(),(_vm.isMobile)?_c('custom-mobile-dialog',{ref:"customMobileDialogRef",attrs:{"model-name":_vm.modelName,"custdialog":_vm.custdialog,"sub-index":_vm.subIndex,"sun-index":_vm.sunIndex,"sub-path":_vm.subPath,"current-sub-data":_vm.currentSubData},on:{"calacInputSuffixHeight":_vm.calacInputSuffixHeight,"updateInput":_vm.updateInput}}):_c('custom-dialog',{ref:"customDialogRef",attrs:{"model-name":_vm.modelName,"custdialog":_vm.custdialog,"sub-index":_vm.subIndex,"sun-index":_vm.sunIndex,"sub-path":_vm.subPath,"current-sub-data":_vm.currentSubData,"is-read-only":!_vm.inputWriteable},on:{"calacInputSuffixHeight":_vm.calacInputSuffixHeight,"updateInput":_vm.updateInput},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v},expression:"value"}}),_c('span',{staticStyle:{"display":"none"}},[_vm._t("labeldesc",[_vm._v(_vm._s(_vm.inputName))])],2),_c('ht-field-tail',{attrs:{"field-name":_vm.inputName,"input-value":_vm.value}})],1)}
|
|
23576
|
+
var mainvue_type_template_id_0b5eb5e6_scoped_true_staticRenderFns = []
|
|
23583
23577
|
|
|
23584
23578
|
|
|
23585
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=
|
|
23579
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=0b5eb5e6&scoped=true&
|
|
23586
23580
|
|
|
23587
23581
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.js
|
|
23588
23582
|
|
|
@@ -23704,47 +23698,19 @@ var mainvue_type_template_id_bf5a35ae_scoped_true_staticRenderFns = []
|
|
|
23704
23698
|
}
|
|
23705
23699
|
}
|
|
23706
23700
|
});
|
|
23707
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=
|
|
23708
|
-
var
|
|
23709
|
-
|
|
23710
|
-
|
|
23711
|
-
|
|
23712
|
-
|
|
23713
|
-
|
|
23714
|
-
|
|
23715
|
-
|
|
23716
|
-
|
|
23717
|
-
|
|
23718
|
-
|
|
23719
|
-
|
|
23720
|
-
: condition.config.inputFormat},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '7')?_c('div',{staticClass:"search-item_main"},[(condition.config.alias == 'user')?_c('ht-user-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23721
|
-
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23722
|
-
}}}):_vm._e(),(condition.config.alias == 'org')?_c('ht-org-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23723
|
-
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23724
|
-
}}}):_vm._e(),(condition.config.alias == 'role')?_c('ht-role-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23725
|
-
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23726
|
-
}}}):_vm._e(),(condition.config.alias == 'job')?_c('ht-job-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23727
|
-
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23728
|
-
}}}):_vm._e(),(condition.config.alias == 'post')?_c('ht-post-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23729
|
-
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23730
|
-
}}}):_vm._e(),(condition.config.alias == 'dimension')?_c('ht-dimension-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23731
|
-
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23732
|
-
}}}):_vm._e()],1):_vm._e(),(condition.controllerType == '5')?_c('div',{staticClass:"search-item_main"},[_c('ht-custom-dialog',{attrs:{"model-name":condition.config.keyBind,"dialogType":"search","custdialog":{
|
|
23733
|
-
name: '请选择',
|
|
23734
|
-
icon: '',
|
|
23735
|
-
custDialog: {
|
|
23736
|
-
selectNum: 1,
|
|
23737
|
-
conditions: [],
|
|
23738
|
-
mappingConf: [],
|
|
23739
|
-
custQueryJson: [],
|
|
23740
|
-
alias: condition.config.alias,
|
|
23741
|
-
type: 'custDialog',
|
|
23742
|
-
},
|
|
23743
|
-
}},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e()])}),(_vm.conditionBind && _vm.conditionBind.length > 0)?_c('div',{staticClass:"btn-wrap"},[_c('el-button',{staticStyle:{"margin-left":"20px"},attrs:{"size":"small","type":"primary","icon":"el-icon-search"},on:{"click":function($event){return _vm.search(true)}}},[_vm._v("\n 查询\n ")]),_c('el-button',{attrs:{"size":"small","icon":"el-icon-refresh"},on:{"click":_vm.reset}},[_vm._v("\n 重置\n ")])],1):_vm._e()],2):_vm._e(),_c('el-main',{ref:"customTableRef",staticClass:"custom-dialog_main"},[_c('el-table',{ref:"orgTable",staticClass:"org-table",staticStyle:{"width":"100%"},attrs:{"data":_vm.dialogData,"stripe":"","border":"","size":"medium","height":_vm.tableHeight},on:{"row-click":_vm.orgRowClick,"selection-change":_vm.orgTableSelection,"select":_vm.onTableSelect,"select-all":_vm.selectAll}},[(_vm.customDialog.selectNum != 1)?_c('el-table-column',{attrs:{"type":"selection","align":"center","width":"55"}}):_vm._e(),(_vm.customDialog.selectNum === 1)?_c('el-table-column',{attrs:{"align":"center","width":"55"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-radio',{staticClass:"textRadio",attrs:{"label":scope.$index},on:{"selection-change":_vm.orgTableSelection},model:{value:(_vm.tableRadioVal),callback:function ($$v) {_vm.tableRadioVal=$$v},expression:"tableRadioVal"}},[_vm._v("\n \n ")])]}}],null,false,918943478)}):_vm._e(),_c('el-table-column',{attrs:{"type":"index","width":"50","align":"center","label":"序号"}}),_vm._l((_vm.sortDisplayfield),function(field){return _c('el-table-column',{key:field.field,attrs:{"prop":field.field,"label":field.comment,"width":field.width || ''}})})],2)],1),_c('el-footer',[(_vm.customDialog.needPage)?_c('el-row',{staticStyle:{"padding-top":"15px","justify-content":"space-between"},attrs:{"type":"flex","justify":"end"}},[(_vm.customDialog.style == 2)?_c('el-button',{attrs:{"icon":_vm.toggleBtn,"size":"mini","type":"default"},on:{"click":_vm.toggleTree}}):_vm._e(),_c('el-pagination',{attrs:{"small":"","current-page":_vm.pagination.page,"page-sizes":[10, 20, 50, 100],"page-size":_vm.pagination.pageSize,"layout":"total, sizes, prev, pager, next, jumper","total":_vm.total},on:{"size-change":_vm.handleSizeChange,"current-change":_vm.handleCurrentChange}})],1):_vm._e()],1)],1)],1),_c('span',{staticClass:"dialog-footer",staticStyle:{"text-align":"center"},attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.dialogConfirm}},[_vm._v("\n 确认\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.dialogCancel}},[_vm._v("取 消")])],1)],1),_c('el-dialog',{attrs:{"title":"动态传入参数查询","width":"500px","visible":_vm.dialogVisible,"before-close":_vm.handleClose,"close-on-click-modal":false,"top":"6vh"},on:{"update:visible":function($event){_vm.dialogVisible=$event}}},[_c('table',{staticClass:"form-table",staticStyle:{"margin-left":"20px","width":"90%"},attrs:{"cellspacing":"0","cellpadding":"0","border":"0"}},_vm._l((_vm.conditionfieldTree),function(item,$index){return _c('tbody',{key:$index},[(item.defaultType == '4')?_c('tr',[_c('th',{attrs:{"width":"130px"}},[_vm._v(_vm._s(item.comment)+":")]),_c('td',[(item.type != 'date')?_c('ht-input',{staticStyle:{"width":"100%"},attrs:{"type":"text","placeholder":'请输入' + item.comment,"autocomplete":"off"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e(),(item.type == 'date')?_c('ht-date',{staticStyle:{"width":"100%"},attrs:{"placeholder":'请输入' + item.comment,"format":"yyyy-MM-dd"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e()],1)]):_vm._e()])}),0),_c('div',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"type":"primary"},on:{"click":_vm.handleSave}},[_vm._v("确 定")]),_c('el-button',{on:{"click":_vm.handleClose}},[_vm._v("取 消")])],1)]),_c('el-dialog',{attrs:{"visible":_vm.customDialogShowTree,"title":_vm.customDialog.name,"close-on-click-modal":false,"before-close":_vm.dialogCancelTree,"append-to-body":"","top":"6vh","width":"500px"},on:{"update:visible":function($event){_vm.customDialogShowTree=$event}}},[_c('el-container',{staticStyle:{"overflow":"auto"},style:(_vm.style)},[_c('el-tree',{ref:"tree",staticStyle:{"width":"100%"},attrs:{"data":_vm.props1,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","show-checkbox":_vm.customDialog.selectNum === -1,"check-on-click-node":true,"check-strictly":false,"lazy":"","load":_vm.loadTree,"default-expanded-keys":_vm.defaultExpandedKeys},on:{"node-click":_vm.treeClick,"check-change":_vm.getChecked}})],1),_c('span',{staticClass:"dialog-footer",staticStyle:{"text-align":"center"},attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.dialogTreeConfirm}},[_vm._v("\n 确认\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.dialogCancelTree}},[_vm._v("取 消")])],1)],1)],1)}
|
|
23744
|
-
var customDialogvue_type_template_id_3e2f487c_scoped_true_staticRenderFns = []
|
|
23745
|
-
|
|
23746
|
-
|
|
23747
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=3e2f487c&scoped=true&
|
|
23701
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=3a57945e&scoped=true&
|
|
23702
|
+
var customDialogvue_type_template_id_3a57945e_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-dialog',{attrs:{"visible":_vm.customDialogShowList,"title":_vm.customDialog.name,"close-on-click-modal":false,"before-close":_vm.dialogCancel,"append-to-body":"","top":"6vh","width":"60%"},on:{"update:visible":function($event){_vm.customDialogShowList=$event},"opened":_vm.afterOpen}},[_c('el-container',{staticStyle:{"overflow":"auto"},style:(_vm.style)},[(_vm.customDialog.style == 2)?_c('el-aside',{directives:[{name:"show",rawName:"v-show",value:(_vm.treeShow),expression:"treeShow"}],staticStyle:{"width":"23%"}},[_c('el-card',[_c('div',{staticClass:"clearfix",attrs:{"slot":"header"},slot:"header"},[_c('span',{staticStyle:{"font-size":"16px"}},[_vm._v(_vm._s(_vm.leftTreeTitle))])]),_c('el-tree',{ref:"combinationTree",attrs:{"data":_vm.combinationTreeData,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","check-on-click-node":true,"lazy":"","load":_vm.loadTree},on:{"node-click":_vm.combiTreeClick}})],1)],1):_vm._e(),(_vm.customDialog.style == 2)?_c('el-divider',{attrs:{"direction":"vertical"}}):_vm._e(),_c('el-container',[(_vm.querysShow)?_c('el-header',{staticClass:"middle-header"},[_vm._l((_vm.conditionBind),function(condition,index){return _c('div',{key:index,staticClass:"search-item"},[_c('p',{staticStyle:{"font-size":"14px"}},[_vm._v(_vm._s(condition.comment)+":")]),(condition.controllerType == '1')?_c('div',[_c('el-input',{staticStyle:{"width":"180px","padding":"10px 0","margin":"0 5px 0 5px"},attrs:{"size":"small","clearable":"","placeholder":_vm.placeholders[index],"prefix-icon":"el-icon-search"},nativeOn:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.searchEnterFun($event)}},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '2')?_c('div',{staticStyle:{"margin-right":"10px"}},_vm._l((condition.config.options),function(itemR,$index1){return _c('el-radio',{key:$index1,attrs:{"label":itemR.key},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}},[_vm._v("\n "+_vm._s(itemR.value)+"\n ")])}),1):_vm._e(),(condition.controllerType == '3')?_c('div',{staticStyle:{"margin-right":"10px"}},[(condition.config.choiceType == 'static')?_c('ht-select',{attrs:{"placeholder":_vm.quickSearch,"options":condition.config.options},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}}):_c('eip-select-dia',{attrs:{"placeholder":_vm.quickSearch,"ganged":{
|
|
23703
|
+
alias: condition.config.customQuery.alias,
|
|
23704
|
+
valueBind: condition.config.customQuery.valueBind,
|
|
23705
|
+
noInit: '',
|
|
23706
|
+
labelBind: condition.config.customQuery.labelBind,
|
|
23707
|
+
gangedBind: '{}',
|
|
23708
|
+
bind: condition.config.bind,
|
|
23709
|
+
},"multiple":false,"filterable":false,"allow-create":false,"selectlist":[],"query-params":_vm.queryParams},model:{value:(_vm.queryParams[condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams, condition.field, $$v)},expression:"queryParams[condition.field]"}})],1):_vm._e(),(condition.controllerType == '4')?_c('div',{staticStyle:{"margin-right":"10px"}},[_c('eip-tag',{attrs:{"tag-key":condition.config.tag,"placeholder":_vm.quickSearch,"filterable":condition.config.filterable,"expand":condition.config.expand},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e()])}),(_vm.conditionBind && _vm.conditionBind.length > 0)?_c('div',{staticClass:"btn-wrap"},[_c('el-button',{staticStyle:{"margin-left":"20px"},attrs:{"size":"small","type":"primary","icon":"el-icon-search"},on:{"click":function($event){return _vm.search(true)}}},[_vm._v("\n 查询\n ")]),_c('el-button',{attrs:{"size":"small","icon":"el-icon-refresh"},on:{"click":_vm.reset}},[_vm._v("\n 重置\n ")])],1):_vm._e()],2):_vm._e(),_c('el-main',{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.displayfield),function(field){return _c('el-table-column',{key:field.field,staticStyle:{"width":"100%"},attrs:{"show-overflow-tooltip":true,"prop":field.field,"label":field.comment}})})],2)],1),_c('el-footer',[(_vm.customDialog.needPage)?_c('el-row',{staticStyle:{"padding-top":"15px","justify-content":"space-between"},attrs:{"type":"flex","justify":"end"}},[(_vm.customDialog.style == 2)?_c('el-button',{attrs:{"icon":_vm.toggleBtn,"size":"mini","type":"default"},on:{"click":_vm.toggleTree}}):_vm._e(),_c('el-pagination',{attrs:{"small":"","current-page":_vm.pagination.page,"page-sizes":[10, 20, 50, 100],"page-size":_vm.pagination.pageSize,"layout":"total, sizes, prev, pager, next, jumper","total":_vm.total},on:{"size-change":_vm.handleSizeChange,"current-change":_vm.handleCurrentChange}})],1):_vm._e()],1)],1)],1),_c('span',{staticClass:"dialog-footer",staticStyle:{"text-align":"center"},attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.dialogConfirm}},[_vm._v("\n 确认\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.dialogCancel}},[_vm._v("取 消")])],1)],1),_c('el-dialog',{attrs:{"title":"动态传入参数查询","width":"500px","visible":_vm.dialogVisible,"before-close":_vm.handleClose,"close-on-click-modal":false,"top":"6vh"},on:{"update:visible":function($event){_vm.dialogVisible=$event}}},[_c('table',{staticClass:"form-table",staticStyle:{"margin-left":"20px","width":"90%"},attrs:{"cellspacing":"0","cellpadding":"0","border":"0"}},_vm._l((_vm.conditionfieldTree),function(item,$index){return _c('tbody',{key:$index},[(item.defaultType == '4')?_c('tr',[_c('th',{attrs:{"width":"130px"}},[_vm._v(_vm._s(item.comment)+":")]),_c('td',[(item.type != 'date')?_c('ht-input',{staticStyle:{"width":"100%"},attrs:{"type":"text","placeholder":'请输入' + item.comment,"autocomplete":"off"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e(),(item.type == 'date')?_c('ht-date',{staticStyle:{"width":"100%"},attrs:{"placeholder":'请输入' + item.comment,"format":"yyyy-MM-dd"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e()],1)]):_vm._e()])}),0),_c('div',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"type":"primary"},on:{"click":_vm.handleSave}},[_vm._v("确 定")]),_c('el-button',{on:{"click":_vm.handleClose}},[_vm._v("取 消")])],1)]),_c('el-dialog',{attrs:{"visible":_vm.customDialogShowTree,"title":_vm.customDialog.name,"close-on-click-modal":false,"before-close":_vm.dialogCancelTree,"append-to-body":"","top":"6vh","width":"500px"},on:{"update:visible":function($event){_vm.customDialogShowTree=$event}}},[_c('el-container',{staticStyle:{"overflow":"auto"},style:(_vm.style)},[_c('el-tree',{ref:"tree",staticStyle:{"width":"100%"},attrs:{"data":_vm.props1,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","show-checkbox":_vm.customDialog.selectNum === -1,"check-on-click-node":true,"check-strictly":false,"lazy":"","load":_vm.loadTree,"default-expanded-keys":_vm.defaultExpandedKeys},on:{"node-click":_vm.treeClick,"check-change":_vm.getChecked}})],1),_c('span',{staticClass:"dialog-footer",staticStyle:{"text-align":"center"},attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.dialogTreeConfirm}},[_vm._v("\n 确认\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.dialogCancelTree}},[_vm._v("取 消")])],1)],1)],1)}
|
|
23710
|
+
var customDialogvue_type_template_id_3a57945e_scoped_true_staticRenderFns = []
|
|
23711
|
+
|
|
23712
|
+
|
|
23713
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=3a57945e&scoped=true&
|
|
23748
23714
|
|
|
23749
23715
|
// EXTERNAL MODULE: external "jquery"
|
|
23750
23716
|
var external_jquery_ = __webpack_require__("c5e1");
|
|
@@ -24053,139 +24019,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24053
24019
|
//
|
|
24054
24020
|
//
|
|
24055
24021
|
//
|
|
24056
|
-
//
|
|
24057
|
-
//
|
|
24058
|
-
//
|
|
24059
|
-
//
|
|
24060
|
-
//
|
|
24061
|
-
//
|
|
24062
|
-
//
|
|
24063
|
-
//
|
|
24064
|
-
//
|
|
24065
|
-
//
|
|
24066
|
-
//
|
|
24067
|
-
//
|
|
24068
|
-
//
|
|
24069
|
-
//
|
|
24070
|
-
//
|
|
24071
|
-
//
|
|
24072
|
-
//
|
|
24073
|
-
//
|
|
24074
|
-
//
|
|
24075
|
-
//
|
|
24076
|
-
//
|
|
24077
|
-
//
|
|
24078
|
-
//
|
|
24079
|
-
//
|
|
24080
|
-
//
|
|
24081
|
-
//
|
|
24082
|
-
//
|
|
24083
|
-
//
|
|
24084
|
-
//
|
|
24085
|
-
//
|
|
24086
|
-
//
|
|
24087
|
-
//
|
|
24088
|
-
//
|
|
24089
|
-
//
|
|
24090
|
-
//
|
|
24091
|
-
//
|
|
24092
|
-
//
|
|
24093
|
-
//
|
|
24094
|
-
//
|
|
24095
|
-
//
|
|
24096
|
-
//
|
|
24097
|
-
//
|
|
24098
|
-
//
|
|
24099
|
-
//
|
|
24100
|
-
//
|
|
24101
|
-
//
|
|
24102
|
-
//
|
|
24103
|
-
//
|
|
24104
|
-
//
|
|
24105
|
-
//
|
|
24106
|
-
//
|
|
24107
|
-
//
|
|
24108
|
-
//
|
|
24109
|
-
//
|
|
24110
|
-
//
|
|
24111
|
-
//
|
|
24112
|
-
//
|
|
24113
|
-
//
|
|
24114
|
-
//
|
|
24115
|
-
//
|
|
24116
|
-
//
|
|
24117
|
-
//
|
|
24118
|
-
//
|
|
24119
|
-
//
|
|
24120
|
-
//
|
|
24121
|
-
//
|
|
24122
|
-
//
|
|
24123
|
-
//
|
|
24124
|
-
//
|
|
24125
|
-
//
|
|
24126
|
-
//
|
|
24127
|
-
//
|
|
24128
|
-
//
|
|
24129
|
-
//
|
|
24130
|
-
//
|
|
24131
|
-
//
|
|
24132
|
-
//
|
|
24133
|
-
//
|
|
24134
|
-
//
|
|
24135
|
-
//
|
|
24136
|
-
//
|
|
24137
|
-
//
|
|
24138
|
-
//
|
|
24139
|
-
//
|
|
24140
|
-
//
|
|
24141
|
-
//
|
|
24142
|
-
//
|
|
24143
|
-
//
|
|
24144
|
-
//
|
|
24145
|
-
//
|
|
24146
|
-
//
|
|
24147
|
-
//
|
|
24148
|
-
//
|
|
24149
|
-
//
|
|
24150
|
-
//
|
|
24151
|
-
//
|
|
24152
|
-
//
|
|
24153
|
-
//
|
|
24154
|
-
//
|
|
24155
|
-
//
|
|
24156
|
-
//
|
|
24157
|
-
//
|
|
24158
|
-
//
|
|
24159
|
-
//
|
|
24160
|
-
//
|
|
24161
|
-
//
|
|
24162
|
-
//
|
|
24163
|
-
//
|
|
24164
|
-
//
|
|
24165
|
-
//
|
|
24166
|
-
//
|
|
24167
|
-
//
|
|
24168
|
-
//
|
|
24169
|
-
//
|
|
24170
|
-
//
|
|
24171
|
-
//
|
|
24172
|
-
//
|
|
24173
|
-
//
|
|
24174
|
-
//
|
|
24175
|
-
//
|
|
24176
|
-
//
|
|
24177
|
-
//
|
|
24178
|
-
//
|
|
24179
|
-
//
|
|
24180
|
-
//
|
|
24181
|
-
//
|
|
24182
|
-
//
|
|
24183
|
-
//
|
|
24184
|
-
//
|
|
24185
|
-
//
|
|
24186
|
-
//
|
|
24187
|
-
//
|
|
24188
|
-
//
|
|
24189
24022
|
|
|
24190
24023
|
|
|
24191
24024
|
|
|
@@ -24213,16 +24046,10 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24213
24046
|
isReadOnly: {
|
|
24214
24047
|
type: Boolean,
|
|
24215
24048
|
default: false
|
|
24216
|
-
}
|
|
24217
|
-
dialogConfig: Object,
|
|
24218
|
-
dialogType: String
|
|
24049
|
+
}
|
|
24219
24050
|
},
|
|
24220
24051
|
data() {
|
|
24221
24052
|
return {
|
|
24222
|
-
startDate: '',
|
|
24223
|
-
// 日期控件
|
|
24224
|
-
endDate: '',
|
|
24225
|
-
// 日期控件
|
|
24226
24053
|
tableHeight: 350,
|
|
24227
24054
|
isEditInputShow: false,
|
|
24228
24055
|
customValue: '',
|
|
@@ -24303,18 +24130,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24303
24130
|
return [this.props1[0][this.nodeKey]];
|
|
24304
24131
|
}
|
|
24305
24132
|
return [];
|
|
24306
|
-
},
|
|
24307
|
-
jumpParamKey() {
|
|
24308
|
-
return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
|
|
24309
|
-
},
|
|
24310
|
-
// 是否保存成跳转url参数
|
|
24311
|
-
isHaveJumpUrl() {
|
|
24312
|
-
return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
24313
|
-
},
|
|
24314
|
-
sortDisplayfield() {
|
|
24315
|
-
return this.displayfield.sort((a, b) => {
|
|
24316
|
-
return a.sort > b.sort ? 1 : -1;
|
|
24317
|
-
});
|
|
24318
24133
|
}
|
|
24319
24134
|
},
|
|
24320
24135
|
watch: {
|
|
@@ -24350,151 +24165,131 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24350
24165
|
});
|
|
24351
24166
|
},
|
|
24352
24167
|
methods: {
|
|
24353
|
-
// 获取已选择的选择器数据id
|
|
24354
|
-
getSelectId(data) {
|
|
24355
|
-
if (!data || !data.length) {
|
|
24356
|
-
return '';
|
|
24357
|
-
}
|
|
24358
|
-
let ids = [];
|
|
24359
|
-
data.forEach(item => {
|
|
24360
|
-
ids.push(item.id);
|
|
24361
|
-
});
|
|
24362
|
-
return ids.join(',');
|
|
24363
|
-
},
|
|
24364
24168
|
showDialog() {
|
|
24365
24169
|
let isMounted = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
24170
|
+
const this_ = this;
|
|
24366
24171
|
this.fixedParams = {};
|
|
24367
|
-
// 如果已存在配置信息就不去请求配置信息 直接初始化数据
|
|
24368
|
-
if (this.dialogConfig) {
|
|
24369
|
-
this.initDialog(this.dialogConfig, isMounted);
|
|
24370
|
-
return;
|
|
24371
|
-
}
|
|
24372
24172
|
var alias = this.custdialog.custDialog.alias;
|
|
24373
24173
|
this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
|
|
24374
|
-
|
|
24375
|
-
|
|
24376
|
-
|
|
24377
|
-
initDialog(customDialog, isMounted) {
|
|
24378
|
-
let alias = this.custdialog.custDialog.alias;
|
|
24379
|
-
const this_ = this;
|
|
24380
|
-
if (!customDialog || !customDialog.alias) {
|
|
24381
|
-
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
24382
|
-
return;
|
|
24383
|
-
}
|
|
24384
|
-
if (customDialog.style == 1) {
|
|
24385
|
-
var displaylist = JSON.parse(customDialog.displayfield);
|
|
24386
|
-
this_.nodeKey = displaylist.id;
|
|
24387
|
-
}
|
|
24388
|
-
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
24389
|
-
let obj = {};
|
|
24390
|
-
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
24391
|
-
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
24392
|
-
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
24393
|
-
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
24394
|
-
if (exp) {
|
|
24395
|
-
const params = JSON.parse(exp);
|
|
24396
|
-
if (params.pageBean) {
|
|
24397
|
-
this.pagination = {
|
|
24398
|
-
...params.pageBean
|
|
24399
|
-
};
|
|
24400
|
-
}
|
|
24174
|
+
if (!customDialog || !customDialog.alias) {
|
|
24175
|
+
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
24176
|
+
return;
|
|
24401
24177
|
}
|
|
24402
|
-
|
|
24403
|
-
|
|
24404
|
-
|
|
24405
|
-
|
|
24406
|
-
|
|
24407
|
-
|
|
24408
|
-
|
|
24409
|
-
|
|
24410
|
-
|
|
24411
|
-
|
|
24412
|
-
|
|
24413
|
-
|
|
24414
|
-
|
|
24415
|
-
|
|
24416
|
-
|
|
24417
|
-
|
|
24418
|
-
|
|
24419
|
-
this_.executeScriptResult = res && res.value;
|
|
24420
|
-
});
|
|
24421
|
-
}
|
|
24422
|
-
});
|
|
24423
|
-
}
|
|
24424
|
-
//判断对话框查询是否有条件
|
|
24425
|
-
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
24426
|
-
this_.quickSearch = ''; //填写提示 placeholder
|
|
24427
|
-
this_.conditionBind = [];
|
|
24428
|
-
let queryParams = [];
|
|
24429
|
-
let placeholders = [];
|
|
24430
|
-
if (userInputList.length > 0) {
|
|
24431
|
-
userInputList.forEach(ele => {
|
|
24432
|
-
var obj = {};
|
|
24433
|
-
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
24434
|
-
if (ele.defaultType == '1') {
|
|
24435
|
-
obj[ele.field] = '';
|
|
24436
|
-
queryParams.push(obj);
|
|
24437
|
-
// queryParams[ele.field] = "";
|
|
24438
|
-
this_.conditionBind.push(ele);
|
|
24439
|
-
placeholders.push('请输入' + ele.comment);
|
|
24440
|
-
}
|
|
24441
|
-
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
24442
|
-
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
24178
|
+
if (customDialog.style == 1) {
|
|
24179
|
+
var displaylist = JSON.parse(customDialog.displayfield);
|
|
24180
|
+
this_.nodeKey = displaylist.id;
|
|
24181
|
+
}
|
|
24182
|
+
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
24183
|
+
let obj = {};
|
|
24184
|
+
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
24185
|
+
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
24186
|
+
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
24187
|
+
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
24188
|
+
if (exp) {
|
|
24189
|
+
const params = JSON.parse(exp);
|
|
24190
|
+
if (params.pageBean) {
|
|
24191
|
+
this.pagination = {
|
|
24192
|
+
...params.pageBean
|
|
24193
|
+
};
|
|
24194
|
+
}
|
|
24443
24195
|
}
|
|
24444
|
-
}
|
|
24445
|
-
|
|
24446
|
-
|
|
24447
|
-
|
|
24448
|
-
|
|
24449
|
-
|
|
24450
|
-
|
|
24451
|
-
|
|
24452
|
-
|
|
24453
|
-
|
|
24454
|
-
|
|
24455
|
-
|
|
24456
|
-
|
|
24457
|
-
|
|
24458
|
-
|
|
24459
|
-
|
|
24460
|
-
|
|
24461
|
-
|
|
24462
|
-
|
|
24196
|
+
}
|
|
24197
|
+
//对话框按表单字段查询(参数传入的)
|
|
24198
|
+
let bindList = this_.custdialog.custDialog.conditions;
|
|
24199
|
+
this_.param = []; //绑定的表单字段
|
|
24200
|
+
if (bindList.length > 0) {
|
|
24201
|
+
bindList.forEach(ele => {
|
|
24202
|
+
//绑定表单字段
|
|
24203
|
+
if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
|
|
24204
|
+
let obj = {};
|
|
24205
|
+
obj.field = ele.field;
|
|
24206
|
+
obj.bind = ele.bind;
|
|
24207
|
+
obj.bindType = ele.bindType;
|
|
24208
|
+
this_.param.push(obj);
|
|
24209
|
+
}
|
|
24210
|
+
//取值对象为脚本时获取value
|
|
24211
|
+
if (ele.bindType === 3) {
|
|
24212
|
+
this_.$requestConfig.executeScript(ele.bind).then(res => {
|
|
24213
|
+
this_.executeScriptResult = res && res.value;
|
|
24214
|
+
});
|
|
24215
|
+
}
|
|
24216
|
+
});
|
|
24217
|
+
}
|
|
24218
|
+
//判断对话框查询是否有条件
|
|
24219
|
+
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
24220
|
+
this_.quickSearch = ''; //填写提示 placeholder
|
|
24221
|
+
this_.conditionBind = [];
|
|
24222
|
+
let queryParams = [];
|
|
24223
|
+
let placeholders = [];
|
|
24224
|
+
if (userInputList.length > 0) {
|
|
24225
|
+
userInputList.forEach(ele => {
|
|
24226
|
+
var obj = {};
|
|
24227
|
+
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
24228
|
+
if (ele.defaultType == '1') {
|
|
24229
|
+
obj[ele.field] = '';
|
|
24230
|
+
queryParams.push(obj);
|
|
24231
|
+
// queryParams[ele.field] = "";
|
|
24232
|
+
this_.conditionBind.push(ele);
|
|
24233
|
+
placeholders.push('请输入' + ele.comment);
|
|
24234
|
+
}
|
|
24235
|
+
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
24236
|
+
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
24237
|
+
}
|
|
24238
|
+
});
|
|
24239
|
+
this.$set(this, 'queryParams', queryParams);
|
|
24240
|
+
this.$set(this, 'placeholders', placeholders);
|
|
24241
|
+
}
|
|
24242
|
+
//判断是否显示条件查询输入框
|
|
24243
|
+
if (this_.quickSearch != '') {
|
|
24244
|
+
this_.querysShow = true;
|
|
24245
|
+
} else {
|
|
24246
|
+
this_.querysShow = true;
|
|
24247
|
+
}
|
|
24248
|
+
this_.quickSearch = '请输入' + this.quickSearch + '查询';
|
|
24249
|
+
this_.style = 'height:' + customDialog.height + 'px';
|
|
24250
|
+
if (window.screen.height && window.screen.height <= 900) {
|
|
24251
|
+
this.style = 'height:440px';
|
|
24252
|
+
}
|
|
24253
|
+
if (customDialog.style == 0 || customDialog.style == 2) {
|
|
24254
|
+
//列表
|
|
24255
|
+
setTimeout(() => {
|
|
24256
|
+
this_.customDialogShow({
|
|
24257
|
+
alias: alias,
|
|
24258
|
+
customDialog: customDialog
|
|
24259
|
+
}, isMounted);
|
|
24260
|
+
}, 100);
|
|
24261
|
+
} else if (customDialog.style == 1) {
|
|
24262
|
+
//树形
|
|
24263
|
+
this_.pageParam = {
|
|
24463
24264
|
alias: alias,
|
|
24464
24265
|
customDialog: customDialog
|
|
24465
|
-
}
|
|
24466
|
-
|
|
24467
|
-
|
|
24468
|
-
|
|
24469
|
-
|
|
24470
|
-
|
|
24471
|
-
|
|
24472
|
-
|
|
24473
|
-
|
|
24474
|
-
|
|
24475
|
-
|
|
24476
|
-
|
|
24477
|
-
|
|
24478
|
-
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
24479
|
-
if (this_.conditionfieldTree.length > 0) {
|
|
24480
|
-
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
24481
|
-
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
24482
|
-
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
24483
|
-
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
24266
|
+
};
|
|
24267
|
+
this_.customDialog = customDialog;
|
|
24268
|
+
let param = {};
|
|
24269
|
+
this_.conditionfieldTree = [];
|
|
24270
|
+
//判断是否存在条件
|
|
24271
|
+
if (customDialog.conditionfield) {
|
|
24272
|
+
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
24273
|
+
if (this_.conditionfieldTree.length > 0) {
|
|
24274
|
+
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
24275
|
+
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
24276
|
+
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
24277
|
+
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
24278
|
+
}
|
|
24484
24279
|
}
|
|
24485
24280
|
}
|
|
24486
24281
|
}
|
|
24487
|
-
|
|
24488
|
-
|
|
24489
|
-
|
|
24490
|
-
|
|
24491
|
-
|
|
24492
|
-
|
|
24493
|
-
|
|
24494
|
-
|
|
24282
|
+
//有动态传入的字段
|
|
24283
|
+
if (!isMounted) {
|
|
24284
|
+
if (JSON.stringify(param) != '{}') {
|
|
24285
|
+
this_.dialogVisible = true;
|
|
24286
|
+
} else {
|
|
24287
|
+
//无动态传入的字段
|
|
24288
|
+
this_.customDialogTreeShow(this_.pageParam);
|
|
24289
|
+
}
|
|
24495
24290
|
}
|
|
24496
24291
|
}
|
|
24497
|
-
}
|
|
24292
|
+
});
|
|
24498
24293
|
},
|
|
24499
24294
|
initTableHeight() {
|
|
24500
24295
|
this.$nextTick(() => {
|
|
@@ -24623,13 +24418,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24623
24418
|
}
|
|
24624
24419
|
// 添加用户id 岗位id 组织id
|
|
24625
24420
|
try {
|
|
24626
|
-
if (this.$requestConfig.getUserId
|
|
24421
|
+
if (this.$requestConfig.getUserId()) {
|
|
24627
24422
|
ctx.userId = this.$requestConfig.getUserId();
|
|
24628
24423
|
}
|
|
24629
|
-
if (this.$requestConfig.getOrgId
|
|
24424
|
+
if (this.$requestConfig.getOrgId()) {
|
|
24630
24425
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
24631
24426
|
}
|
|
24632
|
-
if (this.$requestConfig.getPostId
|
|
24427
|
+
if (this.$requestConfig.getPostId()) {
|
|
24633
24428
|
ctx.postId = this.$requestConfig.getPostId();
|
|
24634
24429
|
}
|
|
24635
24430
|
} catch (e) {
|
|
@@ -24714,19 +24509,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24714
24509
|
this.selectOrgs = this.convertComment2Field(str, field);
|
|
24715
24510
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
24716
24511
|
var val = '';
|
|
24717
|
-
str.forEach(
|
|
24718
|
-
|
|
24719
|
-
if (this.jumpParamKey && this.isHaveJumpUrl && (this.modelName == 'data.' + con['target'][0] || this.modelName.includes('item.') && con['target'][0].endsWith(this.modelName.split('.')[1]))) {
|
|
24720
|
-
let jumpParamKey = this.jumpParamKey;
|
|
24721
|
-
let jumpParamValue = this.jumpParamKey;
|
|
24722
|
-
if (this.jumpParamKey.includes(':')) {
|
|
24723
|
-
jumpParamKey = this.jumpParamKey.split(':')[0];
|
|
24724
|
-
jumpParamValue = this.jumpParamKey.split(':')[1];
|
|
24725
|
-
}
|
|
24726
|
-
val += `${item[con.from]}¯${jumpParamKey}:${this.selectOrgs[index][jumpParamValue]},`;
|
|
24727
|
-
} else {
|
|
24728
|
-
val += item[con.from] + ',';
|
|
24729
|
-
}
|
|
24512
|
+
str.forEach(item => {
|
|
24513
|
+
val += item[con.from] + ',';
|
|
24730
24514
|
});
|
|
24731
24515
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
24732
24516
|
utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
|
|
@@ -24797,36 +24581,19 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24797
24581
|
};
|
|
24798
24582
|
}
|
|
24799
24583
|
//用户输入的
|
|
24800
|
-
let flag = false;
|
|
24801
24584
|
if (this.queryParams.length != 0 && this.queryParams[0] != '') {
|
|
24802
24585
|
this.conditionBind.forEach((item, index) => {
|
|
24803
|
-
// 日期范围特殊处理
|
|
24804
|
-
if (item.dbType == 'date' && item.condition == 'BETWEEN') {
|
|
24805
|
-
if (this.queryParams[index].startDate && !this.queryParams[index].endDate || !this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
24806
|
-
flag = true;
|
|
24807
|
-
this.$message.info('日期范围未填写完整!');
|
|
24808
|
-
return;
|
|
24809
|
-
}
|
|
24810
|
-
if (this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
24811
|
-
this.queryParams[index][item.field] = `${this.queryParams[index].startDate},${this.queryParams[index].endDate}`;
|
|
24812
|
-
} else {
|
|
24813
|
-
this.queryParams[index][item.field] = '';
|
|
24814
|
-
}
|
|
24815
|
-
}
|
|
24816
24586
|
if (this.queryParams[index][item.field]) {
|
|
24817
24587
|
querys.push({
|
|
24818
24588
|
property: item.field,
|
|
24819
24589
|
value: this.queryParams[index][item.field],
|
|
24820
24590
|
group: 'main',
|
|
24821
|
-
operation:
|
|
24591
|
+
operation: 'LIKE',
|
|
24822
24592
|
relation: 'AND'
|
|
24823
24593
|
});
|
|
24824
24594
|
}
|
|
24825
24595
|
});
|
|
24826
24596
|
}
|
|
24827
|
-
if (flag) {
|
|
24828
|
-
return;
|
|
24829
|
-
}
|
|
24830
24597
|
//参数传入的查询拼接
|
|
24831
24598
|
if (this.param) {
|
|
24832
24599
|
this.param.forEach(item => {
|
|
@@ -24865,13 +24632,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24865
24632
|
queryParamMap.total = pageBean.pageBean.total;
|
|
24866
24633
|
// 添加用户id 岗位id 组织id
|
|
24867
24634
|
try {
|
|
24868
|
-
if (this.$requestConfig.getUserId
|
|
24635
|
+
if (this.$requestConfig.getUserId()) {
|
|
24869
24636
|
ctx.userId = this.$requestConfig.getUserId();
|
|
24870
24637
|
}
|
|
24871
|
-
if (this.$requestConfig.getOrgId
|
|
24638
|
+
if (this.$requestConfig.getOrgId()) {
|
|
24872
24639
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
24873
24640
|
}
|
|
24874
|
-
if (this.$requestConfig.getPostId
|
|
24641
|
+
if (this.$requestConfig.getPostId()) {
|
|
24875
24642
|
ctx.postId = this.$requestConfig.getPostId();
|
|
24876
24643
|
}
|
|
24877
24644
|
} catch (e) {
|
|
@@ -24892,14 +24659,12 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24892
24659
|
value: queryParamMap[bindKey] || ctx[bindKey] || ''
|
|
24893
24660
|
};
|
|
24894
24661
|
});
|
|
24895
|
-
param.querys = queryList
|
|
24662
|
+
param.querys = queryList;
|
|
24896
24663
|
if (this.customDialog.needPage) {
|
|
24897
24664
|
param.pageBean = obj;
|
|
24898
24665
|
} else {
|
|
24899
24666
|
param.pageBean.pageSize = -1;
|
|
24900
24667
|
}
|
|
24901
|
-
// 日期格式的 改成数组
|
|
24902
|
-
// this.changeDateFormat(param)
|
|
24903
24668
|
//构造请求的参数
|
|
24904
24669
|
let requestParam = {
|
|
24905
24670
|
pageBean: param,
|
|
@@ -24939,15 +24704,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24939
24704
|
}
|
|
24940
24705
|
this.tableRadioVal = '';
|
|
24941
24706
|
},
|
|
24942
|
-
changeDateFormat(param) {
|
|
24943
|
-
let dateValidate1 = /^\d{4}\-\d{2}\-\d{2}$/;
|
|
24944
|
-
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$/;
|
|
24945
|
-
Object.keys(param).forEach(key => {
|
|
24946
|
-
if (param[key] && typeof param[key] == 'string' && param[key].includes(',') && (dateValidate1.test(param[key].split(',')[0]) || dateValidate2.test(param[key].split(',')[0]))) {
|
|
24947
|
-
param[key] = param[key].split(',');
|
|
24948
|
-
}
|
|
24949
|
-
});
|
|
24950
|
-
},
|
|
24951
24707
|
getSearchValueByKey() {
|
|
24952
24708
|
let queryParamsObj = {};
|
|
24953
24709
|
if (this.queryParams.length > 0) {
|
|
@@ -25173,8 +24929,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25173
24929
|
},
|
|
25174
24930
|
// 同步选择结果
|
|
25175
24931
|
syncInputValue() {
|
|
25176
|
-
// 对话框跳转url需要两个参数 1当前控件绑定的对象参数modelName 2对话框配置中配置的key名称
|
|
25177
|
-
// 同步值时,如果有绑定url跳转参数,值格式为 名称¯跳转key:跳转value
|
|
25178
24932
|
let thisIndex = null; //当前数据所在下标
|
|
25179
24933
|
let parentIndex = null; //父节点所在下标
|
|
25180
24934
|
if (this.$parent.$el) {
|
|
@@ -25248,39 +25002,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25248
25002
|
}
|
|
25249
25003
|
}
|
|
25250
25004
|
}
|
|
25251
|
-
// 如果是查询中使用的对话框
|
|
25252
|
-
if (this.dialogType == 'search') {
|
|
25253
|
-
let returnVal = [];
|
|
25254
|
-
str.forEach(item => {
|
|
25255
|
-
returnVal.push(decodeURIComponent(item[this.modelName]));
|
|
25256
|
-
});
|
|
25257
|
-
this.$emit('updateInput', returnVal.join(','));
|
|
25258
|
-
return;
|
|
25259
|
-
}
|
|
25260
25005
|
const pInst = utils["a" /* default */].getOnlineFormInstance(this);
|
|
25261
25006
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
25262
25007
|
var val = '';
|
|
25263
25008
|
var from = con.from.toLowerCase();
|
|
25264
25009
|
str.forEach(item => {
|
|
25265
|
-
// 如果有绑定url跳转参数 需获取跳转参数的key
|
|
25266
25010
|
if (item) {
|
|
25267
|
-
|
|
25268
|
-
// 如果有冒号 冒号前面是传值key 后面是取值key
|
|
25269
|
-
let jumpParamKey = this.jumpParamKey;
|
|
25270
|
-
let jumpParamValue = this.jumpParamKey;
|
|
25271
|
-
if (this.jumpParamKey.includes(':')) {
|
|
25272
|
-
jumpParamKey = this.jumpParamKey.split(':')[0];
|
|
25273
|
-
jumpParamValue = this.jumpParamKey.split(':')[1];
|
|
25274
|
-
}
|
|
25275
|
-
// 需根据key 找到对应 返回数据的返回名称
|
|
25276
|
-
let returnMap = returnStr.find(k => {
|
|
25277
|
-
return k.field.toLowerCase() == jumpParamValue.toLowerCase();
|
|
25278
|
-
});
|
|
25279
|
-
let returnMapKey = returnMap ? returnMap.comment : '';
|
|
25280
|
-
val += `${decodeURIComponent(item[from])}¯${jumpParamKey}:${decodeURIComponent(item[returnMapKey])},`;
|
|
25281
|
-
} else {
|
|
25282
|
-
val += decodeURIComponent(item[from]) + ',';
|
|
25283
|
-
}
|
|
25011
|
+
val += decodeURIComponent(item[from]) + ',';
|
|
25284
25012
|
}
|
|
25285
25013
|
});
|
|
25286
25014
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
@@ -25299,6 +25027,7 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25299
25027
|
const _val = val.substring(0, val.length - 1);
|
|
25300
25028
|
if (path) {
|
|
25301
25029
|
if (this.modelName && this.modelName.endsWith(path)) {
|
|
25030
|
+
// this.$emit('input', _val)
|
|
25302
25031
|
this.$emit('updateInput', _val);
|
|
25303
25032
|
}
|
|
25304
25033
|
utils["a" /* default */].setValueByPath(pInst, `${pInst.data ? 'data.' : 'model.'}${path}`, _val, thisIndex);
|
|
@@ -25530,8 +25259,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25530
25259
|
});
|
|
25531
25260
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=script&lang=js&
|
|
25532
25261
|
/* harmony default export */ var src_customDialogvue_type_script_lang_js_ = (customDialogvue_type_script_lang_js_);
|
|
25533
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=
|
|
25534
|
-
var
|
|
25262
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=3a57945e&prod&lang=scss&scoped=true&
|
|
25263
|
+
var customDialogvue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true_ = __webpack_require__("7ff9");
|
|
25535
25264
|
|
|
25536
25265
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue
|
|
25537
25266
|
|
|
@@ -25544,47 +25273,31 @@ var customDialogvue_type_style_index_0_id_3e2f487c_prod_lang_scss_scoped_true_ =
|
|
|
25544
25273
|
|
|
25545
25274
|
var customDialog_component = normalizeComponent(
|
|
25546
25275
|
src_customDialogvue_type_script_lang_js_,
|
|
25547
|
-
|
|
25548
|
-
|
|
25276
|
+
customDialogvue_type_template_id_3a57945e_scoped_true_render,
|
|
25277
|
+
customDialogvue_type_template_id_3a57945e_scoped_true_staticRenderFns,
|
|
25549
25278
|
false,
|
|
25550
25279
|
null,
|
|
25551
|
-
"
|
|
25280
|
+
"3a57945e",
|
|
25552
25281
|
null
|
|
25553
25282
|
|
|
25554
25283
|
)
|
|
25555
25284
|
|
|
25556
25285
|
/* harmony default export */ var CustomDialog_src_customDialog = (customDialog_component.exports);
|
|
25557
|
-
// 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=
|
|
25558
|
-
var
|
|
25559
|
-
|
|
25560
|
-
|
|
25561
|
-
|
|
25562
|
-
|
|
25563
|
-
|
|
25564
|
-
|
|
25565
|
-
|
|
25566
|
-
}}}):_vm._e(),(condition.config.alias == 'post')?_c('ht-post-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25567
|
-
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25568
|
-
}}}):_vm._e(),(condition.config.alias == 'dimension')?_c('ht-dimension-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25569
|
-
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25570
|
-
}}}):_vm._e()],1):_vm._e(),(condition.controllerType == '5')?_c('div',[_c('ht-custom-dialog',{attrs:{"model-name":condition.config.keyBind,"dialogType":"search","custdialog":{
|
|
25571
|
-
name: '请选择',
|
|
25572
|
-
icon: '',
|
|
25573
|
-
custDialog: {
|
|
25574
|
-
selectNum: 1,
|
|
25575
|
-
conditions: [],
|
|
25576
|
-
mappingConf: [],
|
|
25577
|
-
custQueryJson: [],
|
|
25578
|
-
alias: condition.config.alias,
|
|
25579
|
-
type: 'custDialog',
|
|
25580
|
-
},
|
|
25581
|
-
}},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(
|
|
25286
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=1661eebb&scoped=true&
|
|
25287
|
+
var customMobileDialogvue_type_template_id_1661eebb_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('van-action-sheet',{staticClass:"mobile-van-action min-height-action",attrs:{"cancel-text":_vm.sureButtonText,"get-container":"body"},on:{"cancel":_vm.handleDialogSure,"click-overlay":_vm.dialogCancel,"opened":_vm.afterOpen},scopedSlots:_vm._u([{key:"description",fn:function(){return [_c('span',{staticClass:"dialog-mobile__title"},[_vm._v(_vm._s(_vm.customDialog.name))]),_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":_vm.dialogCancel}})]},proxy:true}]),model:{value:(_vm.customDialogShowList),callback:function ($$v) {_vm.customDialogShowList=$$v},expression:"customDialogShowList"}},[[_c('div',{staticClass:"search-box"},[_c('ht-icon',{staticClass:"unfold-icon",attrs:{"scale":"1.2","name":_vm.isShowMoreSearch ? 'upFold' : 'downUnfold'},on:{"click":function($event){_vm.isShowMoreSearch = !_vm.isShowMoreSearch}}}),_vm._l((_vm.conditionBind),function(condition,index){return _c('div',{directives:[{name:"show",rawName:"v-show",value:(index === 0 || (index > 0 && _vm.isShowMoreSearch)),expression:"index === 0 || (index > 0 && isShowMoreSearch)"}],key:index,staticClass:"search-item"},[_c('p',[_vm._v(_vm._s(condition.comment)+":")]),(condition.controllerType == '1')?_c('div',[_c('el-input',{attrs:{"size":"small","clearable":"","placeholder":_vm.placeholders[index]},on:{"change":_vm.searchInputChange},nativeOn:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.hideSearch($event)}},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '2')?_c('div',{staticStyle:{"margin-right":"10px"}},_vm._l((condition.config.options),function(itemR,$index1){return _c('el-radio',{key:$index1,attrs:{"label":itemR.key},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}},[_vm._v("\n "+_vm._s(itemR.value)+"\n ")])}),1):_vm._e(),(condition.controllerType == '3')?_c('div',{staticStyle:{"margin-right":"10px"}},[(condition.config.choiceType == 'static')?_c('ht-select',{attrs:{"options":condition.config.options},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}}):_c('eip-select-dia',{attrs:{"ganged":{
|
|
25288
|
+
alias: condition.config.customQuery.alias,
|
|
25289
|
+
valueBind: condition.config.customQuery.valueBind,
|
|
25290
|
+
noInit: '',
|
|
25291
|
+
labelBind: condition.config.customQuery.labelBind,
|
|
25292
|
+
gangedBind: '{}',
|
|
25293
|
+
bind: condition.config.bind,
|
|
25294
|
+
},"multiple":false,"filterable":false,"allow-create":false,"selectlist":[],"query-params":_vm.queryParams},model:{value:(_vm.queryParams[condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams, condition.field, $$v)},expression:"queryParams[condition.field]"}})],1):_vm._e(),(condition.controllerType == '4')?_c('div',{staticStyle:{"margin-right":"10px"}},[_c('eip-tag',{attrs:{"tag-key":condition.config.tag,"placeholder":_vm.quickSearch,"filterable":condition.config.filterable,"expand":condition.config.expand},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e()])}),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isShowMoreSearch),expression:"isShowMoreSearch"}],staticClass:"search-btns"},[_c('el-button',{staticStyle:{"margin-left":"20px"},attrs:{"size":"small","type":"primary"},on:{"click":_vm.hideSearch}},[_vm._v("\n 搜索\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.reset}},[_vm._v("重置")])],1)],2)],(_vm.customDialog.style == 2)?_c('van-popover',{staticClass:"custom-dialog-popover",attrs:{"trigger":"click"},scopedSlots:_vm._u([{key:"reference",fn:function(){return [_c('div',{staticClass:"mobile-tree-select"},[(_vm.treeSelectText)?_c('span',{staticClass:"active-text"},[_vm._v("\n "+_vm._s(_vm.treeSelectText)+"\n ")]):_c('span',[_vm._v("请选择"+_vm._s(_vm.leftTreeTitle))]),(_vm.treeSelectText)?_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":function($event){$event.stopPropagation();return _vm.clearTreeSelect($event)}}}):_vm._e()],1)]},proxy:true}],null,false,3189508719),model:{value:(_vm.isSelectTreeShow),callback:function ($$v) {_vm.isSelectTreeShow=$$v},expression:"isSelectTreeShow"}},[_c('div',{staticClass:"custom-dialog-popover_content"},[_c('el-tree',{ref:"combinationTree",attrs:{"data":_vm.combinationTreeData,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","check-on-click-node":true},on:{"node-click":_vm.combiTreeClick}})],1)]):_vm._e(),_c('van-pull-refresh',{on:{"refresh":_vm.onRefresh},model:{value:(_vm.isDownLoading),callback:function ($$v) {_vm.isDownLoading=$$v},expression:"isDownLoading"}},[_c('van-list',{attrs:{"finished":_vm.finished,"finished-text":"没有更多了","offset":20,"immediate-check":false},on:{"load":_vm.loadMore},model:{value:(_vm.isPullLoading),callback:function ($$v) {_vm.isPullLoading=$$v},expression:"isPullLoading"}},_vm._l((_vm.dialogData),function(item,index){return _c('van-cell',{key:index,attrs:{"clickable":""},scopedSlots:_vm._u([{key:"icon",fn:function(){return [_c('van-checkbox',{attrs:{"value":_vm.indexArray(_vm.selectIds, item) > -1,"shape":_vm.customDialog.selectNum === 1 ? 'round' : 'square'},on:{"click":function($event){return _vm.checkboxChange(item)}}})]},proxy:true}],null,true)},[_c('div',{staticClass:"custom-mobile_box"},_vm._l((_vm.displayfield),function(field){return _c('div',{key:field.field,staticClass:"custom-mobile_box_item"},[_c('label',[_vm._v(_vm._s(field.comment)+":")]),_c('div',[_vm._v(_vm._s(item[field.field]))])])}),0)])}),1)],1)],2),_c('van-action-sheet',{staticClass:"mobile-van-action",attrs:{"cancel-text":_vm.sureButtonText,"get-container":"body"},on:{"cancel":_vm.handleSave},scopedSlots:_vm._u([{key:"description",fn:function(){return [_c('span',{staticClass:"dialog-mobile__title"},[_vm._v("动态传入参数查询")]),_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":function($event){_vm.dialogVisible = false}}})]},proxy:true}]),model:{value:(_vm.dialogVisible),callback:function ($$v) {_vm.dialogVisible=$$v},expression:"dialogVisible"}},[_c('van-cell-group',_vm._l((_vm.conditionfieldTree.filter(
|
|
25582
25295
|
function (k) { return k.defaultType == '4'; }
|
|
25583
|
-
)),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)
|
|
25584
|
-
var
|
|
25296
|
+
)),function(item,$index){return _c('div',{key:$index},[(item.type != 'date')?_c('van-field',{attrs:{"label":item.comment,"placeholder":'请输入' + item.comment},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e(),(item.type == 'date')?_c('ht-date',{staticStyle:{"width":"100%"},attrs:{"placeholder":'请选择' + item.comment,"format":"yyyy-MM-dd"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e()],1)}),0)],1),_c('van-action-sheet',{staticClass:"mobile-van-action",attrs:{"cancel-text":_vm.sureButtonText,"get-container":"body"},on:{"cancel":_vm.dialogTreeConfirm},scopedSlots:_vm._u([{key:"description",fn:function(){return [_c('span',{staticClass:"dialog-mobile__title"},[_vm._v(_vm._s(_vm.customDialog.name))]),_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":_vm.dialogCancelTree}})]},proxy:true}]),model:{value:(_vm.customDialogShowTree),callback:function ($$v) {_vm.customDialogShowTree=$$v},expression:"customDialogShowTree"}},[_c('el-tree',{ref:"tree",staticStyle:{"width":"100%"},attrs:{"data":_vm.props1,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","show-checkbox":_vm.customDialog.selectNum === -1,"check-on-click-node":true,"check-strictly":false,"lazy":"","load":_vm.loadTree,"default-expanded-keys":_vm.defaultExpandedKeys},on:{"node-click":_vm.treeClick,"check-change":_vm.getChecked}})],1)],1)}
|
|
25297
|
+
var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns = []
|
|
25585
25298
|
|
|
25586
25299
|
|
|
25587
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=
|
|
25300
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=1661eebb&scoped=true&
|
|
25588
25301
|
|
|
25589
25302
|
// 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&
|
|
25590
25303
|
//
|
|
@@ -25845,116 +25558,6 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
25845
25558
|
//
|
|
25846
25559
|
//
|
|
25847
25560
|
//
|
|
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
|
-
//
|
|
25943
|
-
//
|
|
25944
|
-
//
|
|
25945
|
-
//
|
|
25946
|
-
//
|
|
25947
|
-
//
|
|
25948
|
-
//
|
|
25949
|
-
//
|
|
25950
|
-
//
|
|
25951
|
-
//
|
|
25952
|
-
//
|
|
25953
|
-
//
|
|
25954
|
-
//
|
|
25955
|
-
//
|
|
25956
|
-
//
|
|
25957
|
-
//
|
|
25958
25561
|
|
|
25959
25562
|
|
|
25960
25563
|
|
|
@@ -25976,17 +25579,10 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
25976
25579
|
subIndex: Number,
|
|
25977
25580
|
sunIndex: Number,
|
|
25978
25581
|
subPath: String,
|
|
25979
|
-
currentSubData: Array
|
|
25980
|
-
dialogConfig: Object,
|
|
25981
|
-
dialogType: String
|
|
25582
|
+
currentSubData: Array
|
|
25982
25583
|
},
|
|
25983
25584
|
data() {
|
|
25984
25585
|
return {
|
|
25985
|
-
dateType: 'date',
|
|
25986
|
-
currentDate: '',
|
|
25987
|
-
// 当前日期
|
|
25988
|
-
isShowDatePop: false,
|
|
25989
|
-
// 是否显示日期选择控件
|
|
25990
25586
|
isShowMoreSearch: false,
|
|
25991
25587
|
treeSelectText: '',
|
|
25992
25588
|
// 组合树时选中的查询条件
|
|
@@ -26066,47 +25662,9 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
26066
25662
|
sureButtonText() {
|
|
26067
25663
|
const selectedText = this.selectIds.length > 0 ? `(${this.selectIds.length})` : '';
|
|
26068
25664
|
return `${this.$t('ht.common.confirm')}${selectedText}`;
|
|
26069
|
-
},
|
|
26070
|
-
jumpParamKey() {
|
|
26071
|
-
return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
|
|
26072
|
-
},
|
|
26073
|
-
// 是否保存成跳转url参数
|
|
26074
|
-
isHaveJumpUrl() {
|
|
26075
|
-
return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
26076
|
-
},
|
|
26077
|
-
sortDisplayfield() {
|
|
26078
|
-
return this.displayfield.sort((a, b) => {
|
|
26079
|
-
return a.sort > b.sort ? 1 : -1;
|
|
26080
|
-
});
|
|
26081
25665
|
}
|
|
26082
25666
|
},
|
|
26083
25667
|
methods: {
|
|
26084
|
-
// 获取已选择的选择器数据id
|
|
26085
|
-
getSelectId(data) {
|
|
26086
|
-
if (!data || !data.length) {
|
|
26087
|
-
return '';
|
|
26088
|
-
}
|
|
26089
|
-
let ids = [];
|
|
26090
|
-
data.forEach(item => {
|
|
26091
|
-
ids.push(item.id);
|
|
26092
|
-
});
|
|
26093
|
-
return ids.join(',');
|
|
26094
|
-
},
|
|
26095
|
-
showDate(index, key) {
|
|
26096
|
-
this.dateType = this.conditionBind[index].config.inputFormat.includes('mm:') ? 'datetime' : 'date';
|
|
26097
|
-
this.currentDateData = {
|
|
26098
|
-
index,
|
|
26099
|
-
key
|
|
26100
|
-
};
|
|
26101
|
-
this.currentDate = this.queryParams[index][key] ? new Date(this.queryParams[index][key].replace(/-/g, '/')) : new Date();
|
|
26102
|
-
this.isShowDatePop = true;
|
|
26103
|
-
},
|
|
26104
|
-
// 日期确认
|
|
26105
|
-
confirmFn() {
|
|
26106
|
-
let currentConfig = this.conditionBind[this.currentDateData.index];
|
|
26107
|
-
this.queryParams[this.currentDateData.index][this.currentDateData.key] = this.currentDate.format(currentConfig.config.inputFormat);
|
|
26108
|
-
this.isShowDatePop = false;
|
|
26109
|
-
},
|
|
26110
25668
|
searchInputChange() {
|
|
26111
25669
|
if (!this.isShowMoreSearch) {
|
|
26112
25670
|
this.search(true);
|
|
@@ -26152,121 +25710,112 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
26152
25710
|
this.search(true);
|
|
26153
25711
|
},
|
|
26154
25712
|
showDialog() {
|
|
25713
|
+
const this_ = this;
|
|
26155
25714
|
this.fixedParams = {};
|
|
26156
|
-
// 如果已存在配置信息就不去请求配置信息 直接初始化数据
|
|
26157
|
-
if (this.dialogConfig) {
|
|
26158
|
-
this.initDialog(this.dialogConfig);
|
|
26159
|
-
return;
|
|
26160
|
-
}
|
|
26161
25715
|
var alias = this.custdialog.custDialog.alias;
|
|
26162
25716
|
this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
|
|
26163
|
-
|
|
26164
|
-
|
|
26165
|
-
|
|
26166
|
-
initDialog(customDialog) {
|
|
26167
|
-
let alias = this.custdialog.custDialog.alias;
|
|
26168
|
-
const this_ = this;
|
|
26169
|
-
if (!customDialog || !customDialog.alias) {
|
|
26170
|
-
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
26171
|
-
return;
|
|
26172
|
-
}
|
|
26173
|
-
if (customDialog.style == 1) {
|
|
26174
|
-
var displaylist = JSON.parse(customDialog.displayfield);
|
|
26175
|
-
this_.nodeKey = displaylist.id;
|
|
26176
|
-
}
|
|
26177
|
-
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
26178
|
-
let obj = {};
|
|
26179
|
-
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
26180
|
-
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
26181
|
-
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
26182
|
-
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
26183
|
-
if (exp) {
|
|
26184
|
-
const params = JSON.parse(exp);
|
|
26185
|
-
if (params.pageBean) {
|
|
26186
|
-
this.pagination = {
|
|
26187
|
-
...params.pageBean
|
|
26188
|
-
};
|
|
26189
|
-
}
|
|
25717
|
+
if (!customDialog || !customDialog.alias) {
|
|
25718
|
+
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
25719
|
+
return;
|
|
26190
25720
|
}
|
|
26191
|
-
|
|
26192
|
-
|
|
26193
|
-
|
|
26194
|
-
|
|
26195
|
-
|
|
26196
|
-
|
|
26197
|
-
|
|
26198
|
-
|
|
26199
|
-
|
|
26200
|
-
|
|
26201
|
-
|
|
26202
|
-
|
|
26203
|
-
|
|
26204
|
-
|
|
26205
|
-
|
|
26206
|
-
|
|
26207
|
-
|
|
25721
|
+
if (customDialog.style == 1) {
|
|
25722
|
+
var displaylist = JSON.parse(customDialog.displayfield);
|
|
25723
|
+
this_.nodeKey = displaylist.id;
|
|
25724
|
+
}
|
|
25725
|
+
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
25726
|
+
let obj = {};
|
|
25727
|
+
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
25728
|
+
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
25729
|
+
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
25730
|
+
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
25731
|
+
if (exp) {
|
|
25732
|
+
const params = JSON.parse(exp);
|
|
25733
|
+
if (params.pageBean) {
|
|
25734
|
+
this.pagination = {
|
|
25735
|
+
...params.pageBean
|
|
25736
|
+
};
|
|
25737
|
+
}
|
|
26208
25738
|
}
|
|
26209
|
-
}
|
|
26210
|
-
|
|
25739
|
+
}
|
|
25740
|
+
//对话框按表单字段查询(参数传入的)
|
|
25741
|
+
let bindList = this_.custdialog.custDialog.conditions;
|
|
25742
|
+
this_.param = []; //绑定的表单字段
|
|
25743
|
+
if (bindList.length > 0) {
|
|
25744
|
+
bindList.forEach(ele => {
|
|
25745
|
+
//绑定表单字段
|
|
25746
|
+
if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
|
|
25747
|
+
let obj = {};
|
|
25748
|
+
obj.field = ele.field;
|
|
25749
|
+
obj.bind = ele.bind;
|
|
25750
|
+
obj.bindType = ele.bindType;
|
|
25751
|
+
this_.param.push(obj);
|
|
25752
|
+
}
|
|
25753
|
+
// bindType 1 表单字段 2固定 3脚本
|
|
25754
|
+
if (ele.defaultType == '3' && ele.bindType === 2) {
|
|
25755
|
+
this_.fixedParams[ele.field] = ele.bind || '';
|
|
25756
|
+
}
|
|
25757
|
+
});
|
|
25758
|
+
}
|
|
26211
25759
|
|
|
26212
|
-
|
|
26213
|
-
|
|
26214
|
-
|
|
26215
|
-
|
|
26216
|
-
|
|
26217
|
-
|
|
26218
|
-
|
|
26219
|
-
|
|
26220
|
-
|
|
26221
|
-
|
|
26222
|
-
|
|
26223
|
-
|
|
26224
|
-
|
|
26225
|
-
|
|
26226
|
-
|
|
26227
|
-
|
|
26228
|
-
|
|
26229
|
-
|
|
26230
|
-
|
|
26231
|
-
|
|
26232
|
-
|
|
26233
|
-
|
|
26234
|
-
|
|
26235
|
-
|
|
26236
|
-
|
|
26237
|
-
|
|
26238
|
-
|
|
26239
|
-
|
|
26240
|
-
|
|
26241
|
-
|
|
26242
|
-
|
|
26243
|
-
|
|
26244
|
-
|
|
26245
|
-
|
|
26246
|
-
|
|
26247
|
-
|
|
26248
|
-
|
|
26249
|
-
|
|
26250
|
-
|
|
26251
|
-
|
|
26252
|
-
|
|
26253
|
-
|
|
26254
|
-
|
|
26255
|
-
|
|
26256
|
-
|
|
26257
|
-
|
|
25760
|
+
//判断对话框查询是否有条件
|
|
25761
|
+
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
25762
|
+
this_.conditionBind = [];
|
|
25763
|
+
let queryParams = [];
|
|
25764
|
+
let placeholders = [];
|
|
25765
|
+
if (userInputList.length > 0) {
|
|
25766
|
+
userInputList.forEach(ele => {
|
|
25767
|
+
var obj = {};
|
|
25768
|
+
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
25769
|
+
if (ele.defaultType == '1') {
|
|
25770
|
+
obj[ele.field] = '';
|
|
25771
|
+
queryParams.push(obj);
|
|
25772
|
+
// queryParams[ele.field] = "";
|
|
25773
|
+
this_.conditionBind.push(ele);
|
|
25774
|
+
placeholders.push('请输入' + ele.comment);
|
|
25775
|
+
}
|
|
25776
|
+
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
25777
|
+
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
25778
|
+
}
|
|
25779
|
+
});
|
|
25780
|
+
this.$set(this, 'queryParams', queryParams);
|
|
25781
|
+
this.$set(this, 'placeholders', placeholders);
|
|
25782
|
+
}
|
|
25783
|
+
if (customDialog.style == 0 || customDialog.style == 2) {
|
|
25784
|
+
//列表
|
|
25785
|
+
this_.customDialogShow({
|
|
25786
|
+
alias: alias,
|
|
25787
|
+
customDialog: customDialog
|
|
25788
|
+
});
|
|
25789
|
+
} else if (customDialog.style == 1) {
|
|
25790
|
+
//树形
|
|
25791
|
+
this_.pageParam = {
|
|
25792
|
+
alias: alias,
|
|
25793
|
+
customDialog: customDialog
|
|
25794
|
+
};
|
|
25795
|
+
this_.customDialog = customDialog;
|
|
25796
|
+
let param = {};
|
|
25797
|
+
this_.conditionfieldTree = [];
|
|
25798
|
+
//判断是否存在条件
|
|
25799
|
+
if (customDialog.conditionfield) {
|
|
25800
|
+
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
25801
|
+
if (this_.conditionfieldTree.length > 0) {
|
|
25802
|
+
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
25803
|
+
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
25804
|
+
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
25805
|
+
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
25806
|
+
}
|
|
26258
25807
|
}
|
|
26259
25808
|
}
|
|
26260
25809
|
}
|
|
25810
|
+
//有动态传入的字段
|
|
25811
|
+
if (JSON.stringify(param) != '{}') {
|
|
25812
|
+
this_.dialogVisible = true;
|
|
25813
|
+
} else {
|
|
25814
|
+
//无动态传入的字段
|
|
25815
|
+
this_.customDialogTreeShow(this_.pageParam);
|
|
25816
|
+
}
|
|
26261
25817
|
}
|
|
26262
|
-
|
|
26263
|
-
if (JSON.stringify(param) != '{}') {
|
|
26264
|
-
this_.dialogVisible = true;
|
|
26265
|
-
} else {
|
|
26266
|
-
//无动态传入的字段
|
|
26267
|
-
this_.customDialogTreeShow(this_.pageParam);
|
|
26268
|
-
}
|
|
26269
|
-
}
|
|
25818
|
+
});
|
|
26270
25819
|
},
|
|
26271
25820
|
treeClick(data) {
|
|
26272
25821
|
// 单选
|
|
@@ -26384,13 +25933,13 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
26384
25933
|
}
|
|
26385
25934
|
// 添加用户id 岗位id 组织id
|
|
26386
25935
|
try {
|
|
26387
|
-
if (this.$requestConfig.getUserId
|
|
25936
|
+
if (this.$requestConfig.getUserId()) {
|
|
26388
25937
|
ctx.userId = this.$requestConfig.getUserId();
|
|
26389
25938
|
}
|
|
26390
|
-
if (this.$requestConfig.getOrgId
|
|
25939
|
+
if (this.$requestConfig.getOrgId()) {
|
|
26391
25940
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
26392
25941
|
}
|
|
26393
|
-
if (this.$requestConfig.getPostId
|
|
25942
|
+
if (this.$requestConfig.getPostId()) {
|
|
26394
25943
|
ctx.postId = this.$requestConfig.getPostId();
|
|
26395
25944
|
}
|
|
26396
25945
|
} catch (e) {
|
|
@@ -26475,20 +26024,8 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
26475
26024
|
this.selectOrgs = this.convertComment2Field(str, field);
|
|
26476
26025
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
26477
26026
|
var val = '';
|
|
26478
|
-
str.forEach(
|
|
26479
|
-
|
|
26480
|
-
if (this.jumpParamKey && this.isHaveJumpUrl && (this.modelName == 'data.' + con['target'][0] || this.modelName.includes('item.') && con['target'][0].endsWith(this.modelName.split('.')[1]))) {
|
|
26481
|
-
// 如果有冒号 冒号前面是传值key 后面是取值key
|
|
26482
|
-
let jumpParamKey = this.jumpParamKey;
|
|
26483
|
-
let jumpParamValue = this.jumpParamKey;
|
|
26484
|
-
if (this.jumpParamKey.includes(':')) {
|
|
26485
|
-
jumpParamKey = this.jumpParamKey.split(':')[0];
|
|
26486
|
-
jumpParamValue = this.jumpParamKey.split(':')[1];
|
|
26487
|
-
}
|
|
26488
|
-
val += `${item[con.from]}¯${jumpParamKey}:${this.selectOrgs[index][jumpParamValue]},`;
|
|
26489
|
-
} else {
|
|
26490
|
-
val += item[con.from] + ',';
|
|
26491
|
-
}
|
|
26027
|
+
str.forEach(item => {
|
|
26028
|
+
val += item[con.from] + ',';
|
|
26492
26029
|
});
|
|
26493
26030
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
26494
26031
|
utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
|
|
@@ -26561,19 +26098,6 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
26561
26098
|
//用户输入的
|
|
26562
26099
|
if (this.queryParams.length != 0 && this.queryParams[0] != '') {
|
|
26563
26100
|
this.conditionBind.forEach((item, index) => {
|
|
26564
|
-
// 日期范围特殊处理
|
|
26565
|
-
if (item.dbType == 'date' && item.condition == 'BETWEEN') {
|
|
26566
|
-
if (this.queryParams[index].startDate && !this.queryParams[index].endDate || !this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
26567
|
-
flag = true;
|
|
26568
|
-
this.$message.info('日期范围未填写完整!');
|
|
26569
|
-
return;
|
|
26570
|
-
}
|
|
26571
|
-
if (this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
26572
|
-
this.queryParams[index][item.field] = `${this.queryParams[index].startDate},${this.queryParams[index].endDate}`;
|
|
26573
|
-
} else {
|
|
26574
|
-
this.queryParams[index][item.field] = '';
|
|
26575
|
-
}
|
|
26576
|
-
}
|
|
26577
26101
|
if (this.queryParams[index][item.field]) {
|
|
26578
26102
|
querys.push({
|
|
26579
26103
|
property: item.field,
|
|
@@ -26622,13 +26146,13 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
26622
26146
|
ctx.total = pageBean.pageBean.total;
|
|
26623
26147
|
// 添加用户id 岗位id 组织id
|
|
26624
26148
|
try {
|
|
26625
|
-
if (this.$requestConfig.getUserId
|
|
26149
|
+
if (this.$requestConfig.getUserId()) {
|
|
26626
26150
|
ctx.userId = this.$requestConfig.getUserId();
|
|
26627
26151
|
}
|
|
26628
|
-
if (this.$requestConfig.getOrgId
|
|
26152
|
+
if (this.$requestConfig.getOrgId()) {
|
|
26629
26153
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
26630
26154
|
}
|
|
26631
|
-
if (this.$requestConfig.getPostId
|
|
26155
|
+
if (this.$requestConfig.getPostId()) {
|
|
26632
26156
|
ctx.postId = this.$requestConfig.getPostId();
|
|
26633
26157
|
}
|
|
26634
26158
|
} catch (e) {
|
|
@@ -26656,8 +26180,6 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
26656
26180
|
} else {
|
|
26657
26181
|
param.pageBean.pageSize = -1;
|
|
26658
26182
|
}
|
|
26659
|
-
// 日期格式的 改成数组
|
|
26660
|
-
// this.changeDateFormat(param)
|
|
26661
26183
|
//构造请求的参数
|
|
26662
26184
|
let requestParam = {
|
|
26663
26185
|
pageBean: param,
|
|
@@ -26693,15 +26215,6 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
26693
26215
|
}
|
|
26694
26216
|
}
|
|
26695
26217
|
},
|
|
26696
|
-
changeDateFormat(param) {
|
|
26697
|
-
let dateValidate1 = /^\d{4}\-\d{2}\-\d{2}$/;
|
|
26698
|
-
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$/;
|
|
26699
|
-
Object.keys(param).forEach(key => {
|
|
26700
|
-
if (param[key] && typeof param[key] == 'string' && param[key].includes(',') && (dateValidate1.test(param[key].split(',')[0]) || dateValidate2.test(param[key].split(',')[0]))) {
|
|
26701
|
-
param[key] = param[key].split(',');
|
|
26702
|
-
}
|
|
26703
|
-
});
|
|
26704
|
-
},
|
|
26705
26218
|
getSearchValueByKey() {
|
|
26706
26219
|
let queryParamsObj = {};
|
|
26707
26220
|
if (this.queryParams.length > 0) {
|
|
@@ -26900,37 +26413,13 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
26900
26413
|
}
|
|
26901
26414
|
}
|
|
26902
26415
|
}
|
|
26903
|
-
// 如果是查询中使用的对话框
|
|
26904
|
-
if (this.dialogType == 'search') {
|
|
26905
|
-
let returnVal = [];
|
|
26906
|
-
str.forEach(item => {
|
|
26907
|
-
returnVal.push(decodeURIComponent(item[this.modelName]));
|
|
26908
|
-
});
|
|
26909
|
-
this.$emit('updateInput', returnVal.join(','));
|
|
26910
|
-
return;
|
|
26911
|
-
}
|
|
26912
26416
|
const pInst = utils["a" /* default */].getOnlineFormInstance(this);
|
|
26913
26417
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
26914
26418
|
var val = '';
|
|
26915
26419
|
var from = con.from.toLowerCase();
|
|
26916
26420
|
str.forEach(item => {
|
|
26917
26421
|
if (item) {
|
|
26918
|
-
|
|
26919
|
-
let jumpParamKey = this.jumpParamKey;
|
|
26920
|
-
let jumpParamValue = this.jumpParamKey;
|
|
26921
|
-
if (this.jumpParamKey.includes(':')) {
|
|
26922
|
-
jumpParamKey = this.jumpParamKey.split(':')[0];
|
|
26923
|
-
jumpParamValue = this.jumpParamKey.split(':')[1];
|
|
26924
|
-
}
|
|
26925
|
-
// 需根据key 找到对应 返回数据的返回名称
|
|
26926
|
-
let returnMap = returnStr.find(k => {
|
|
26927
|
-
return k.field.toLowerCase() == jumpParamValue.toLowerCase();
|
|
26928
|
-
});
|
|
26929
|
-
let returnMapKey = returnMap ? returnMap.comment : '';
|
|
26930
|
-
val += `${decodeURIComponent(item[from])}¯${jumpParamKey}:${decodeURIComponent(item[returnMapKey])},`;
|
|
26931
|
-
} else {
|
|
26932
|
-
val += decodeURIComponent(item[from]) + ',';
|
|
26933
|
-
}
|
|
26422
|
+
val += decodeURIComponent(item[from]) + ',';
|
|
26934
26423
|
}
|
|
26935
26424
|
});
|
|
26936
26425
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
@@ -26967,6 +26456,20 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
26967
26456
|
}
|
|
26968
26457
|
}
|
|
26969
26458
|
},
|
|
26459
|
+
// getSelected() {
|
|
26460
|
+
// let arr = []
|
|
26461
|
+
// this.selectIds.forEach((item) => {
|
|
26462
|
+
// debugger
|
|
26463
|
+
// let obj = this.dialogData.find((sub) => {
|
|
26464
|
+
// return sub.id_ === item
|
|
26465
|
+
// })
|
|
26466
|
+
// if (obj) {
|
|
26467
|
+
// arr.push(obj)
|
|
26468
|
+
// }
|
|
26469
|
+
// })
|
|
26470
|
+
|
|
26471
|
+
// return arr
|
|
26472
|
+
// },
|
|
26970
26473
|
calacInputSuffixHeight() {
|
|
26971
26474
|
this.$emit('calacInputSuffixHeight');
|
|
26972
26475
|
},
|
|
@@ -27168,11 +26671,11 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
27168
26671
|
});
|
|
27169
26672
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=script&lang=js&
|
|
27170
26673
|
/* harmony default export */ var src_customMobileDialogvue_type_script_lang_js_ = (customMobileDialogvue_type_script_lang_js_);
|
|
27171
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=
|
|
27172
|
-
var
|
|
26674
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=1661eebb&prod&lang=scss&scoped=true&
|
|
26675
|
+
var customMobileDialogvue_type_style_index_0_id_1661eebb_prod_lang_scss_scoped_true_ = __webpack_require__("de6a");
|
|
27173
26676
|
|
|
27174
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=
|
|
27175
|
-
var
|
|
26677
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=1661eebb&prod&lang=scss&
|
|
26678
|
+
var customMobileDialogvue_type_style_index_1_id_1661eebb_prod_lang_scss_ = __webpack_require__("49f9");
|
|
27176
26679
|
|
|
27177
26680
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue
|
|
27178
26681
|
|
|
@@ -27186,11 +26689,11 @@ var customMobileDialogvue_type_style_index_1_id_384dd988_prod_lang_scss_ = __web
|
|
|
27186
26689
|
|
|
27187
26690
|
var customMobileDialog_component = normalizeComponent(
|
|
27188
26691
|
src_customMobileDialogvue_type_script_lang_js_,
|
|
27189
|
-
|
|
27190
|
-
|
|
26692
|
+
customMobileDialogvue_type_template_id_1661eebb_scoped_true_render,
|
|
26693
|
+
customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns,
|
|
27191
26694
|
false,
|
|
27192
26695
|
null,
|
|
27193
|
-
"
|
|
26696
|
+
"1661eebb",
|
|
27194
26697
|
null
|
|
27195
26698
|
|
|
27196
26699
|
)
|
|
@@ -27334,40 +26837,6 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27334
26837
|
//
|
|
27335
26838
|
//
|
|
27336
26839
|
//
|
|
27337
|
-
//
|
|
27338
|
-
//
|
|
27339
|
-
//
|
|
27340
|
-
//
|
|
27341
|
-
//
|
|
27342
|
-
//
|
|
27343
|
-
//
|
|
27344
|
-
//
|
|
27345
|
-
//
|
|
27346
|
-
//
|
|
27347
|
-
//
|
|
27348
|
-
//
|
|
27349
|
-
//
|
|
27350
|
-
//
|
|
27351
|
-
//
|
|
27352
|
-
//
|
|
27353
|
-
//
|
|
27354
|
-
//
|
|
27355
|
-
//
|
|
27356
|
-
//
|
|
27357
|
-
//
|
|
27358
|
-
//
|
|
27359
|
-
//
|
|
27360
|
-
//
|
|
27361
|
-
//
|
|
27362
|
-
//
|
|
27363
|
-
//
|
|
27364
|
-
//
|
|
27365
|
-
//
|
|
27366
|
-
//
|
|
27367
|
-
//
|
|
27368
|
-
//
|
|
27369
|
-
//
|
|
27370
|
-
//
|
|
27371
26840
|
|
|
27372
26841
|
|
|
27373
26842
|
|
|
@@ -27399,19 +26868,10 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27399
26868
|
subIndex: Number,
|
|
27400
26869
|
sunIndex: Number,
|
|
27401
26870
|
subPath: String,
|
|
27402
|
-
currentSubData: Array
|
|
27403
|
-
dialogType: {
|
|
27404
|
-
// search表示在查询条件使用 form表示在表单中使用
|
|
27405
|
-
type: String,
|
|
27406
|
-
default: 'form'
|
|
27407
|
-
}
|
|
26871
|
+
currentSubData: Array
|
|
27408
26872
|
},
|
|
27409
26873
|
data() {
|
|
27410
26874
|
return {
|
|
27411
|
-
mobileSrc: '',
|
|
27412
|
-
isDialogFormShow: false,
|
|
27413
|
-
dialogConfig: null,
|
|
27414
|
-
// 对话框配置信息
|
|
27415
26875
|
isEditInputShow: false,
|
|
27416
26876
|
customValue: '',
|
|
27417
26877
|
defualtTooltipplacement: 'bottom',
|
|
@@ -27460,24 +26920,9 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27460
26920
|
}
|
|
27461
26921
|
let result = [];
|
|
27462
26922
|
nameAry.forEach(m => {
|
|
27463
|
-
|
|
27464
|
-
|
|
27465
|
-
|
|
27466
|
-
if (m.includes('¯') && m.split('¯')[1] || m.includes('ˉ') && m.split('ˉ')[1]) {
|
|
27467
|
-
let val1 = m.includes('¯') ? m.split('¯')[0] : m.split('ˉ')[0];
|
|
27468
|
-
let val2 = m.includes('¯') ? m.split('¯')[1] : m.split('ˉ')[1];
|
|
27469
|
-
n.value = val1;
|
|
27470
|
-
let jumpParamStr = val2;
|
|
27471
|
-
if (jumpParamStr) {
|
|
27472
|
-
let jumpParam = jumpParamStr.split(':');
|
|
27473
|
-
n.jumpParamKey = jumpParam[0];
|
|
27474
|
-
n.jumpParamValue = jumpParam[1];
|
|
27475
|
-
}
|
|
27476
|
-
} else {
|
|
27477
|
-
n = {
|
|
27478
|
-
value: m
|
|
27479
|
-
};
|
|
27480
|
-
}
|
|
26923
|
+
let n = {
|
|
26924
|
+
value: m
|
|
26925
|
+
};
|
|
27481
26926
|
result.push(n);
|
|
27482
26927
|
});
|
|
27483
26928
|
return result;
|
|
@@ -27485,16 +26930,8 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27485
26930
|
},
|
|
27486
26931
|
isAllowCustom() {
|
|
27487
26932
|
return this.custdialog && this.custdialog.allowInput;
|
|
27488
|
-
},
|
|
27489
|
-
// 是否展示可跳转颜色
|
|
27490
|
-
isSrcColor() {
|
|
27491
|
-
return this.dialogConfig && this.dialogType !== 'search' && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
27492
26933
|
}
|
|
27493
26934
|
},
|
|
27494
|
-
created() {
|
|
27495
|
-
// 获取对话框配置,看是否有配置url跳转
|
|
27496
|
-
this.getDialogConfig();
|
|
27497
|
-
},
|
|
27498
26935
|
mounted() {
|
|
27499
26936
|
setTimeout(() => {
|
|
27500
26937
|
const {
|
|
@@ -27512,74 +26949,9 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27512
26949
|
}
|
|
27513
26950
|
//获取对话框按钮名称宽度
|
|
27514
26951
|
this.calacInputSuffixWidth();
|
|
27515
|
-
if (this.value && this.inputWriteable) {
|
|
27516
|
-
this.calacInputSuffixHeight();
|
|
27517
|
-
}
|
|
27518
26952
|
}, 50);
|
|
27519
26953
|
},
|
|
27520
26954
|
methods: {
|
|
27521
|
-
// 跳转url页面
|
|
27522
|
-
jumpUrl(item) {
|
|
27523
|
-
if (!this.isSrcColor) {
|
|
27524
|
-
if (this.inputWriteable) {
|
|
27525
|
-
this.showEditInput();
|
|
27526
|
-
}
|
|
27527
|
-
return;
|
|
27528
|
-
}
|
|
27529
|
-
let url = this.isMobile ? this.dialogConfig.mobileUrl : this.dialogConfig.pcUrl;
|
|
27530
|
-
// 获取通用token 和 url翻译
|
|
27531
|
-
Promise.all([this.$requestConfig.getThreeTreeToken(), this.transformUrl(url)]).then(res => {
|
|
27532
|
-
if (res[0] && res[0].code == 200) {
|
|
27533
|
-
let token = res[0].value;
|
|
27534
|
-
let endUrl = res[1];
|
|
27535
|
-
// 拼接参数 token和参数
|
|
27536
|
-
if (endUrl.indexOf('?') == -1) {
|
|
27537
|
-
endUrl += `?bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
|
|
27538
|
-
} else {
|
|
27539
|
-
endUrl += `&bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
|
|
27540
|
-
}
|
|
27541
|
-
if (this.isMobile) {
|
|
27542
|
-
this.mobileSrc = endUrl;
|
|
27543
|
-
this.isDialogFormShow = true;
|
|
27544
|
-
} else {
|
|
27545
|
-
window.open(endUrl);
|
|
27546
|
-
}
|
|
27547
|
-
} else {
|
|
27548
|
-
this.$message.info(res.message || '获取token失败!');
|
|
27549
|
-
}
|
|
27550
|
-
});
|
|
27551
|
-
},
|
|
27552
|
-
// 替换url中域名通配符 需要发送接口
|
|
27553
|
-
transformUrl(url) {
|
|
27554
|
-
return new Promise(resolve => {
|
|
27555
|
-
var reg = /(\$\{(\w+)\})/;
|
|
27556
|
-
var match = reg.exec(url);
|
|
27557
|
-
if (match) {
|
|
27558
|
-
let alias = match[2];
|
|
27559
|
-
if (alias) {
|
|
27560
|
-
this.$requestConfig.getHostByAlias(alias).then(res => {
|
|
27561
|
-
if (res && res.value && res.value.rootAddress) {
|
|
27562
|
-
resolve(url.replace(match[1], res.value.rootAddress));
|
|
27563
|
-
} else {
|
|
27564
|
-
resolve(url);
|
|
27565
|
-
}
|
|
27566
|
-
});
|
|
27567
|
-
} else {
|
|
27568
|
-
resolve(url);
|
|
27569
|
-
}
|
|
27570
|
-
} else {
|
|
27571
|
-
resolve(url);
|
|
27572
|
-
}
|
|
27573
|
-
});
|
|
27574
|
-
},
|
|
27575
|
-
// 获取对话框配置
|
|
27576
|
-
getDialogConfig() {
|
|
27577
|
-
if (this.custdialog && this.custdialog.custDialog && this.custdialog.custDialog.alias) this.$requestConfig.getCustomDialogByAlias(this.custdialog.custDialog.alias).then(response => {
|
|
27578
|
-
if (response) {
|
|
27579
|
-
this.dialogConfig = response;
|
|
27580
|
-
}
|
|
27581
|
-
});
|
|
27582
|
-
},
|
|
27583
26955
|
editInputBlur() {
|
|
27584
26956
|
this.$emit('input', this.customValue);
|
|
27585
26957
|
this.isEditInputShow = false;
|
|
@@ -27654,8 +27026,8 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27654
27026
|
});
|
|
27655
27027
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=script&lang=js&
|
|
27656
27028
|
/* harmony default export */ var packages_CustomDialog_src_mainvue_type_script_lang_js_ = (CustomDialog_src_mainvue_type_script_lang_js_);
|
|
27657
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=
|
|
27658
|
-
var
|
|
27029
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=0b5eb5e6&prod&lang=scss&scoped=true&
|
|
27030
|
+
var mainvue_type_style_index_0_id_0b5eb5e6_prod_lang_scss_scoped_true_ = __webpack_require__("be12");
|
|
27659
27031
|
|
|
27660
27032
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue
|
|
27661
27033
|
|
|
@@ -27668,11 +27040,11 @@ var mainvue_type_style_index_0_id_bf5a35ae_prod_lang_scss_scoped_true_ = __webpa
|
|
|
27668
27040
|
|
|
27669
27041
|
var CustomDialog_src_main_component = normalizeComponent(
|
|
27670
27042
|
packages_CustomDialog_src_mainvue_type_script_lang_js_,
|
|
27671
|
-
|
|
27672
|
-
|
|
27043
|
+
mainvue_type_template_id_0b5eb5e6_scoped_true_render,
|
|
27044
|
+
mainvue_type_template_id_0b5eb5e6_scoped_true_staticRenderFns,
|
|
27673
27045
|
false,
|
|
27674
27046
|
null,
|
|
27675
|
-
"
|
|
27047
|
+
"0b5eb5e6",
|
|
27676
27048
|
null
|
|
27677
27049
|
|
|
27678
27050
|
)
|
|
@@ -42312,12 +41684,12 @@ var GlobalValidate_component = normalizeComponent(
|
|
|
42312
41684
|
)
|
|
42313
41685
|
|
|
42314
41686
|
/* harmony default export */ var GlobalValidate = (GlobalValidate_component.exports);
|
|
42315
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/Global/src/GlobalQuery.vue?vue&type=template&id=
|
|
42316
|
-
var
|
|
42317
|
-
var
|
|
41687
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/Global/src/GlobalQuery.vue?vue&type=template&id=10314ca6&
|
|
41688
|
+
var GlobalQueryvue_type_template_id_10314ca6_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span')}
|
|
41689
|
+
var GlobalQueryvue_type_template_id_10314ca6_staticRenderFns = []
|
|
42318
41690
|
|
|
42319
41691
|
|
|
42320
|
-
// CONCATENATED MODULE: ./packages/Global/src/GlobalQuery.vue?vue&type=template&id=
|
|
41692
|
+
// CONCATENATED MODULE: ./packages/Global/src/GlobalQuery.vue?vue&type=template&id=10314ca6&
|
|
42321
41693
|
|
|
42322
41694
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/Global/src/GlobalQuery.vue?vue&type=script&lang=js&
|
|
42323
41695
|
//
|
|
@@ -42500,8 +41872,8 @@ var GlobalQueryvue_type_template_id_e2a6b5c8_staticRenderFns = []
|
|
|
42500
41872
|
|
|
42501
41873
|
var GlobalQuery_component = normalizeComponent(
|
|
42502
41874
|
src_GlobalQueryvue_type_script_lang_js_,
|
|
42503
|
-
|
|
42504
|
-
|
|
41875
|
+
GlobalQueryvue_type_template_id_10314ca6_render,
|
|
41876
|
+
GlobalQueryvue_type_template_id_10314ca6_staticRenderFns,
|
|
42505
41877
|
false,
|
|
42506
41878
|
null,
|
|
42507
41879
|
null,
|