three-trees-ui 1.0.13 → 1.0.14
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 +464 -1036
- package/lib/three-trees-ui.css +1 -1
- package/lib/three-trees-ui.umd.js +464 -1036
- package/lib/three-trees-ui.umd.min.js +1 -1
- package/package.json +1 -1
- package/packages/CustomDialog/src/customDialog.vue +165 -475
- package/packages/CustomDialog/src/customMobileDialog.vue +155 -453
- package/packages/CustomDialog/src/main.vue +8 -150
- package/packages/DimensionSelector/src/main.vue +0 -2
- package/packages/Tree/src/main.vue +2 -7
|
@@ -87,17 +87,6 @@ module.exports =
|
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
-
/***/ "025c":
|
|
91
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
92
|
-
|
|
93
|
-
"use strict";
|
|
94
|
-
/* 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_51151f21_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("c053");
|
|
95
|
-
/* 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_51151f21_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_51151f21_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
96
|
-
/* unused harmony reexport * */
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
/***/ }),
|
|
100
|
-
|
|
101
90
|
/***/ "025e":
|
|
102
91
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
103
92
|
|
|
@@ -1233,17 +1222,6 @@ Date.prototype.format = function (format) {
|
|
|
1233
1222
|
|
|
1234
1223
|
// extracted by mini-css-extract-plugin
|
|
1235
1224
|
|
|
1236
|
-
/***/ }),
|
|
1237
|
-
|
|
1238
|
-
/***/ "04d0":
|
|
1239
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1240
|
-
|
|
1241
|
-
"use strict";
|
|
1242
|
-
/* 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_16ccb9a5_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("26ac");
|
|
1243
|
-
/* 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_16ccb9a5_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_16ccb9a5_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
1244
|
-
/* unused harmony reexport * */
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
1225
|
/***/ }),
|
|
1248
1226
|
|
|
1249
1227
|
/***/ "0627":
|
|
@@ -1672,6 +1650,13 @@ const btnList = [{
|
|
|
1672
1650
|
|
|
1673
1651
|
/***/ }),
|
|
1674
1652
|
|
|
1653
|
+
/***/ "0ca0":
|
|
1654
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1655
|
+
|
|
1656
|
+
// extracted by mini-css-extract-plugin
|
|
1657
|
+
|
|
1658
|
+
/***/ }),
|
|
1659
|
+
|
|
1675
1660
|
/***/ "0edb":
|
|
1676
1661
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1677
1662
|
|
|
@@ -1881,13 +1866,6 @@ const SubPagination = {
|
|
|
1881
1866
|
|
|
1882
1867
|
/***/ }),
|
|
1883
1868
|
|
|
1884
|
-
/***/ "190d":
|
|
1885
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1886
|
-
|
|
1887
|
-
// extracted by mini-css-extract-plugin
|
|
1888
|
-
|
|
1889
|
-
/***/ }),
|
|
1890
|
-
|
|
1891
1869
|
/***/ "1a07":
|
|
1892
1870
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1893
1871
|
|
|
@@ -1904,6 +1882,13 @@ const SubPagination = {
|
|
|
1904
1882
|
/* unused harmony reexport * */
|
|
1905
1883
|
|
|
1906
1884
|
|
|
1885
|
+
/***/ }),
|
|
1886
|
+
|
|
1887
|
+
/***/ "1ccc":
|
|
1888
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1889
|
+
|
|
1890
|
+
// extracted by mini-css-extract-plugin
|
|
1891
|
+
|
|
1907
1892
|
/***/ }),
|
|
1908
1893
|
|
|
1909
1894
|
/***/ "200a":
|
|
@@ -1961,13 +1946,6 @@ const SubPagination = {
|
|
|
1961
1946
|
/* unused harmony reexport * */
|
|
1962
1947
|
|
|
1963
1948
|
|
|
1964
|
-
/***/ }),
|
|
1965
|
-
|
|
1966
|
-
/***/ "26ac":
|
|
1967
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1968
|
-
|
|
1969
|
-
// extracted by mini-css-extract-plugin
|
|
1970
|
-
|
|
1971
1949
|
/***/ }),
|
|
1972
1950
|
|
|
1973
1951
|
/***/ "289a":
|
|
@@ -2074,6 +2052,13 @@ module.exports = require("vuedraggable");
|
|
|
2074
2052
|
|
|
2075
2053
|
/***/ }),
|
|
2076
2054
|
|
|
2055
|
+
/***/ "333d":
|
|
2056
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2057
|
+
|
|
2058
|
+
// extracted by mini-css-extract-plugin
|
|
2059
|
+
|
|
2060
|
+
/***/ }),
|
|
2061
|
+
|
|
2077
2062
|
/***/ "33ce":
|
|
2078
2063
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2079
2064
|
|
|
@@ -2814,13 +2799,6 @@ Formulas.install = Vue => {
|
|
|
2814
2799
|
/* unused harmony reexport * */
|
|
2815
2800
|
|
|
2816
2801
|
|
|
2817
|
-
/***/ }),
|
|
2818
|
-
|
|
2819
|
-
/***/ "3d49":
|
|
2820
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2821
|
-
|
|
2822
|
-
// extracted by mini-css-extract-plugin
|
|
2823
|
-
|
|
2824
2802
|
/***/ }),
|
|
2825
2803
|
|
|
2826
2804
|
/***/ "3e5b":
|
|
@@ -2868,6 +2846,17 @@ Formulas.install = Vue => {
|
|
|
2868
2846
|
/* unused harmony reexport * */
|
|
2869
2847
|
|
|
2870
2848
|
|
|
2849
|
+
/***/ }),
|
|
2850
|
+
|
|
2851
|
+
/***/ "48f7":
|
|
2852
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2853
|
+
|
|
2854
|
+
"use strict";
|
|
2855
|
+
/* 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");
|
|
2856
|
+
/* 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__);
|
|
2857
|
+
/* unused harmony reexport * */
|
|
2858
|
+
|
|
2859
|
+
|
|
2871
2860
|
/***/ }),
|
|
2872
2861
|
|
|
2873
2862
|
/***/ "4919":
|
|
@@ -2900,6 +2889,17 @@ Formulas.install = Vue => {
|
|
|
2900
2889
|
|
|
2901
2890
|
// extracted by mini-css-extract-plugin
|
|
2902
2891
|
|
|
2892
|
+
/***/ }),
|
|
2893
|
+
|
|
2894
|
+
/***/ "49f9":
|
|
2895
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2896
|
+
|
|
2897
|
+
"use strict";
|
|
2898
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_1_id_1661eebb_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("7c6e");
|
|
2899
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_1_id_1661eebb_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_1_id_1661eebb_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
2900
|
+
/* unused harmony reexport * */
|
|
2901
|
+
|
|
2902
|
+
|
|
2903
2903
|
/***/ }),
|
|
2904
2904
|
|
|
2905
2905
|
/***/ "4a17":
|
|
@@ -3038,13 +3038,6 @@ exports.clearImmediate = (typeof self !== "undefined" && self.clearImmediate) ||
|
|
|
3038
3038
|
|
|
3039
3039
|
/***/ }),
|
|
3040
3040
|
|
|
3041
|
-
/***/ "569e":
|
|
3042
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
3043
|
-
|
|
3044
|
-
// extracted by mini-css-extract-plugin
|
|
3045
|
-
|
|
3046
|
-
/***/ }),
|
|
3047
|
-
|
|
3048
3041
|
/***/ "5877":
|
|
3049
3042
|
/***/ (function(module, exports) {
|
|
3050
3043
|
|
|
@@ -4135,13 +4128,6 @@ const dict = {
|
|
|
4135
4128
|
|
|
4136
4129
|
/***/ }),
|
|
4137
4130
|
|
|
4138
|
-
/***/ "6ebe":
|
|
4139
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4140
|
-
|
|
4141
|
-
// extracted by mini-css-extract-plugin
|
|
4142
|
-
|
|
4143
|
-
/***/ }),
|
|
4144
|
-
|
|
4145
4131
|
/***/ "6f28":
|
|
4146
4132
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4147
4133
|
|
|
@@ -4249,23 +4235,19 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4249
4235
|
|
|
4250
4236
|
/***/ }),
|
|
4251
4237
|
|
|
4252
|
-
/***/ "
|
|
4253
|
-
/***/ (function(module,
|
|
4254
|
-
|
|
4255
|
-
"use strict";
|
|
4256
|
-
/* 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_11d591b0_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("aa8b");
|
|
4257
|
-
/* 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_11d591b0_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_11d591b0_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
4258
|
-
/* unused harmony reexport * */
|
|
4238
|
+
/***/ "7c6e":
|
|
4239
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4259
4240
|
|
|
4241
|
+
// extracted by mini-css-extract-plugin
|
|
4260
4242
|
|
|
4261
4243
|
/***/ }),
|
|
4262
4244
|
|
|
4263
|
-
/***/ "
|
|
4245
|
+
/***/ "7d0a":
|
|
4264
4246
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4265
4247
|
|
|
4266
4248
|
"use strict";
|
|
4267
|
-
/* harmony import */ var
|
|
4268
|
-
/* harmony import */ var
|
|
4249
|
+
/* 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_11d591b0_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("aa8b");
|
|
4250
|
+
/* 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_11d591b0_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_11d591b0_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
4269
4251
|
/* unused harmony reexport * */
|
|
4270
4252
|
|
|
4271
4253
|
|
|
@@ -4287,6 +4269,17 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4287
4269
|
|
|
4288
4270
|
// extracted by mini-css-extract-plugin
|
|
4289
4271
|
|
|
4272
|
+
/***/ }),
|
|
4273
|
+
|
|
4274
|
+
/***/ "7ff9":
|
|
4275
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4276
|
+
|
|
4277
|
+
"use strict";
|
|
4278
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customDialog_vue_vue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("333d");
|
|
4279
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customDialog_vue_vue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customDialog_vue_vue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
4280
|
+
/* unused harmony reexport * */
|
|
4281
|
+
|
|
4282
|
+
|
|
4290
4283
|
/***/ }),
|
|
4291
4284
|
|
|
4292
4285
|
/***/ "8262":
|
|
@@ -4722,7 +4715,14 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
4722
4715
|
/***/ "9224":
|
|
4723
4716
|
/***/ (function(module) {
|
|
4724
4717
|
|
|
4725
|
-
module.exports = JSON.parse("{\"a\":\"1.0.
|
|
4718
|
+
module.exports = JSON.parse("{\"a\":\"1.0.14\"}");
|
|
4719
|
+
|
|
4720
|
+
/***/ }),
|
|
4721
|
+
|
|
4722
|
+
/***/ "923d":
|
|
4723
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4724
|
+
|
|
4725
|
+
// extracted by mini-css-extract-plugin
|
|
4726
4726
|
|
|
4727
4727
|
/***/ }),
|
|
4728
4728
|
|
|
@@ -4847,6 +4847,13 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHoAAABMCAYAAACi
|
|
|
4847
4847
|
|
|
4848
4848
|
/***/ }),
|
|
4849
4849
|
|
|
4850
|
+
/***/ "a707":
|
|
4851
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4852
|
+
|
|
4853
|
+
// extracted by mini-css-extract-plugin
|
|
4854
|
+
|
|
4855
|
+
/***/ }),
|
|
4856
|
+
|
|
4850
4857
|
/***/ "a751":
|
|
4851
4858
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4852
4859
|
|
|
@@ -6426,10 +6433,14 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
|
|
|
6426
6433
|
|
|
6427
6434
|
/***/ }),
|
|
6428
6435
|
|
|
6429
|
-
/***/ "
|
|
6430
|
-
/***/ (function(module,
|
|
6436
|
+
/***/ "be12":
|
|
6437
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6438
|
+
|
|
6439
|
+
"use strict";
|
|
6440
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_0b5eb5e6_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("0ca0");
|
|
6441
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_0b5eb5e6_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_0b5eb5e6_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
6442
|
+
/* unused harmony reexport * */
|
|
6431
6443
|
|
|
6432
|
-
// extracted by mini-css-extract-plugin
|
|
6433
6444
|
|
|
6434
6445
|
/***/ }),
|
|
6435
6446
|
|
|
@@ -6449,6 +6460,17 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
|
|
|
6449
6460
|
|
|
6450
6461
|
module.exports = require("moment");
|
|
6451
6462
|
|
|
6463
|
+
/***/ }),
|
|
6464
|
+
|
|
6465
|
+
/***/ "c33b":
|
|
6466
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6467
|
+
|
|
6468
|
+
"use strict";
|
|
6469
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a707");
|
|
6470
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
6471
|
+
/* unused harmony reexport * */
|
|
6472
|
+
|
|
6473
|
+
|
|
6452
6474
|
/***/ }),
|
|
6453
6475
|
|
|
6454
6476
|
/***/ "c429":
|
|
@@ -6581,17 +6603,6 @@ module.exports = g;
|
|
|
6581
6603
|
/* unused harmony reexport * */
|
|
6582
6604
|
|
|
6583
6605
|
|
|
6584
|
-
/***/ }),
|
|
6585
|
-
|
|
6586
|
-
/***/ "cc2b":
|
|
6587
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6588
|
-
|
|
6589
|
-
"use strict";
|
|
6590
|
-
/* 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");
|
|
6591
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_10f71c00_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___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__);
|
|
6592
|
-
/* unused harmony reexport * */
|
|
6593
|
-
|
|
6594
|
-
|
|
6595
6606
|
/***/ }),
|
|
6596
6607
|
|
|
6597
6608
|
/***/ "cd87":
|
|
@@ -7146,23 +7157,23 @@ module.exports = require("deepmerge");
|
|
|
7146
7157
|
|
|
7147
7158
|
/***/ }),
|
|
7148
7159
|
|
|
7149
|
-
/***/ "
|
|
7160
|
+
/***/ "dccc":
|
|
7150
7161
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7151
7162
|
|
|
7152
7163
|
"use strict";
|
|
7153
|
-
/* harmony import */ var
|
|
7154
|
-
/* harmony import */ var
|
|
7164
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_68e2d4a1_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("8728");
|
|
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___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__);
|
|
7155
7166
|
/* unused harmony reexport * */
|
|
7156
7167
|
|
|
7157
7168
|
|
|
7158
7169
|
/***/ }),
|
|
7159
7170
|
|
|
7160
|
-
/***/ "
|
|
7171
|
+
/***/ "de6a":
|
|
7161
7172
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7162
7173
|
|
|
7163
7174
|
"use strict";
|
|
7164
|
-
/* harmony import */ var
|
|
7165
|
-
/* harmony import */ var
|
|
7175
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_0_id_1661eebb_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("923d");
|
|
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___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__);
|
|
7166
7177
|
/* unused harmony reexport * */
|
|
7167
7178
|
|
|
7168
7179
|
|
|
@@ -7243,17 +7254,6 @@ module.exports = require("deepmerge");
|
|
|
7243
7254
|
}
|
|
7244
7255
|
});
|
|
7245
7256
|
|
|
7246
|
-
/***/ }),
|
|
7247
|
-
|
|
7248
|
-
/***/ "e85d":
|
|
7249
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7250
|
-
|
|
7251
|
-
"use strict";
|
|
7252
|
-
/* 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_51151f21_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("3d49");
|
|
7253
|
-
/* 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_51151f21_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_51151f21_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
7254
|
-
/* unused harmony reexport * */
|
|
7255
|
-
|
|
7256
|
-
|
|
7257
7257
|
/***/ }),
|
|
7258
7258
|
|
|
7259
7259
|
/***/ "e89a":
|
|
@@ -15606,17 +15606,17 @@ Demension_src_main.install = function (Vue) {
|
|
|
15606
15606
|
Vue.component(Demension_src_main.name, Demension_src_main);
|
|
15607
15607
|
};
|
|
15608
15608
|
/* harmony default export */ var Demension = (Demension_src_main);
|
|
15609
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/Tree/src/main.vue?vue&type=template&id=
|
|
15610
|
-
var
|
|
15609
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/Tree/src/main.vue?vue&type=template&id=5731e345&scoped=true&
|
|
15610
|
+
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
|
|
15611
15611
|
? 'tree-button-group is-ie-explorer flex'
|
|
15612
15612
|
: 'tree-button-group flex'},[_vm._t("custom-button"),_c('ht-icon',{staticClass:"tree-icon",attrs:{"name":_vm.isExpand ? 'simple-collapse' : 'simple-expand',"title":_vm.isExpand ? '收起' : '展开',"scale":"1.2"},on:{"click":_vm.handleExpandCollapse}}),_c('ht-icon',{staticClass:"tree-icon refresh",attrs:{"name":"refresh","pulse":_vm.loading,"scale":"1.1","title":"刷新"},on:{"click":_vm.refresh}})],2)],2):_vm._e(),(_vm.isShowEmpty)?_c('el-empty',{attrs:{"image":_vm.treeNoDataImg,"image-size":_vm.imageSize}}):_c('el-tree',{ref:"elTree",staticClass:"el-tree__wrapper",style:(_vm.elTreeStyle),attrs:{"data":_vm.data ? _vm.data : _vm.treeData,"props":_vm.props,"empty-text":_vm.emptyText,"default-expand-all":_vm.defaultExpandAll,"filter-node-method":_vm.filterNode,"load":_vm.load,"lazy":_vm.lazy,"show-checkbox":_vm.showCheckbox,"accordion":_vm.accordion,"node-key":_vm.nodeKey,"default-expanded-keys":_vm.defaultExpandedKeys,"highlight-current":_vm.highlightCurrent,"render-after-expand":_vm.renderAfterExpand,"render-content":_vm.renderContent,"check-on-click-node":_vm.checkOnClickNode,"auto-expand-parent":_vm.autoExpandParent,"check-strictly":_vm.checkStrictly,"current-node-key":_vm.currentNodeKey,"indent":_vm.indent,"icon-class":_vm.iconClass,"draggable":_vm.draggable,"allow-drag":_vm.allowDrag,"allow-drop":_vm.allowDrop,"expand-on-click-node":_vm.expandOnClickNode,"default-checked-keys":_vm.defaultCheckedKeys},on:{"node-click":_vm.handleNodeClick,"node-contextmenu":_vm.nodeContextmenu,"check-change":_vm.checkChange,"check":_vm.check,"current-change":_vm.currentChange,"node-expand":_vm.nodeExpand,"node-collapse":_vm.nodeCollapse,"node-drag-start":_vm.nodeDragStart,"node-drag-enter":_vm.nodeDragEnter,"node-drag-leave":_vm.nodeDragLeave,"node-drag-over":_vm.nodeDragOver,"node-drag-end":_vm.nodeDragEnd,"node-drop":_vm.nodeDrop},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
15613
15613
|
var node = ref.node;
|
|
15614
15614
|
var subData = ref.data;
|
|
15615
15615
|
return (_vm.$scopedSlots['default'])?_vm._t("default",null,{"node":node,"data":subData}):[_c('span',{staticClass:"el-tree-node__label show-ellipsis",class:{ 'full-width': !_vm.showMoreButton },attrs:{"title":node.label}},[_vm._v("\n "+_vm._s(node.label)+"\n ")])]}}],null,true)})],1)}
|
|
15616
|
-
var
|
|
15616
|
+
var mainvue_type_template_id_5731e345_scoped_true_staticRenderFns = []
|
|
15617
15617
|
|
|
15618
15618
|
|
|
15619
|
-
// CONCATENATED MODULE: ./packages/Tree/src/main.vue?vue&type=template&id=
|
|
15619
|
+
// CONCATENATED MODULE: ./packages/Tree/src/main.vue?vue&type=template&id=5731e345&scoped=true&
|
|
15620
15620
|
|
|
15621
15621
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/Tree/src/main.vue?vue&type=script&lang=js&
|
|
15622
15622
|
//
|
|
@@ -15891,11 +15891,7 @@ var mainvue_type_template_id_10f71c00_scoped_true_staticRenderFns = []
|
|
|
15891
15891
|
},
|
|
15892
15892
|
watch: {
|
|
15893
15893
|
filterText(val) {
|
|
15894
|
-
|
|
15895
|
-
this.$emit('loadALL', val);
|
|
15896
|
-
} else {
|
|
15897
|
-
this.$refs.elTree.filter(val);
|
|
15898
|
-
}
|
|
15894
|
+
this.$refs.elTree.filter(val);
|
|
15899
15895
|
},
|
|
15900
15896
|
defaultCheckedKeys(val) {
|
|
15901
15897
|
this.$refs.elTree.setCheckedKeys(val);
|
|
@@ -15988,8 +15984,8 @@ var mainvue_type_template_id_10f71c00_scoped_true_staticRenderFns = []
|
|
|
15988
15984
|
});
|
|
15989
15985
|
// CONCATENATED MODULE: ./packages/Tree/src/main.vue?vue&type=script&lang=js&
|
|
15990
15986
|
/* harmony default export */ var packages_Tree_src_mainvue_type_script_lang_js_ = (Tree_src_mainvue_type_script_lang_js_);
|
|
15991
|
-
// EXTERNAL MODULE: ./packages/Tree/src/main.vue?vue&type=style&index=0&id=
|
|
15992
|
-
var
|
|
15987
|
+
// EXTERNAL MODULE: ./packages/Tree/src/main.vue?vue&type=style&index=0&id=5731e345&prod&lang=scss&scoped=true&
|
|
15988
|
+
var mainvue_type_style_index_0_id_5731e345_prod_lang_scss_scoped_true_ = __webpack_require__("48f7");
|
|
15993
15989
|
|
|
15994
15990
|
// CONCATENATED MODULE: ./packages/Tree/src/main.vue
|
|
15995
15991
|
|
|
@@ -16002,11 +15998,11 @@ var mainvue_type_style_index_0_id_10f71c00_prod_lang_scss_scoped_true_ = __webpa
|
|
|
16002
15998
|
|
|
16003
15999
|
var Tree_src_main_component = normalizeComponent(
|
|
16004
16000
|
packages_Tree_src_mainvue_type_script_lang_js_,
|
|
16005
|
-
|
|
16006
|
-
|
|
16001
|
+
mainvue_type_template_id_5731e345_scoped_true_render,
|
|
16002
|
+
mainvue_type_template_id_5731e345_scoped_true_staticRenderFns,
|
|
16007
16003
|
false,
|
|
16008
16004
|
null,
|
|
16009
|
-
"
|
|
16005
|
+
"5731e345",
|
|
16010
16006
|
null
|
|
16011
16007
|
|
|
16012
16008
|
)
|
|
@@ -22498,8 +22494,8 @@ PostSelector_src_main.install = function (Vue) {
|
|
|
22498
22494
|
Vue.component(PostSelector_src_main.name, PostSelector_src_main);
|
|
22499
22495
|
};
|
|
22500
22496
|
/* harmony default export */ var PostSelector = (PostSelector_src_main);
|
|
22501
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/DimensionSelector/src/main.vue?vue&type=template&id=
|
|
22502
|
-
var
|
|
22497
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/DimensionSelector/src/main.vue?vue&type=template&id=10681225&scoped=true&
|
|
22498
|
+
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:[
|
|
22503
22499
|
'inputs',
|
|
22504
22500
|
_vm.formInputsDisplay == 'block'
|
|
22505
22501
|
? 'ht-form-inputs__block'
|
|
@@ -22514,10 +22510,10 @@ var mainvue_type_template_id_8015cf1e_scoped_true_render = function () {var _vm=
|
|
|
22514
22510
|
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){
|
|
22515
22511
|
var select = ref.select;
|
|
22516
22512
|
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()}
|
|
22517
|
-
var
|
|
22513
|
+
var mainvue_type_template_id_10681225_scoped_true_staticRenderFns = []
|
|
22518
22514
|
|
|
22519
22515
|
|
|
22520
|
-
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=template&id=
|
|
22516
|
+
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=template&id=10681225&scoped=true&
|
|
22521
22517
|
|
|
22522
22518
|
// 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&
|
|
22523
22519
|
//
|
|
@@ -22776,8 +22772,6 @@ var mainvue_type_template_id_8015cf1e_scoped_true_staticRenderFns = []
|
|
|
22776
22772
|
if (this.config.hasOwnProperty('demName')) {
|
|
22777
22773
|
utils["a" /* default */].setValueByConfigKey(this, this.config, 'demName', demNameAry.join(','));
|
|
22778
22774
|
}
|
|
22779
|
-
} else {
|
|
22780
|
-
this.$emit('change', newVal);
|
|
22781
22775
|
}
|
|
22782
22776
|
// 通过valueChange事件发布值变更消息
|
|
22783
22777
|
this.$emit('valueChange', ary.join(','), newVal);
|
|
@@ -22907,8 +22901,8 @@ var mainvue_type_template_id_8015cf1e_scoped_true_staticRenderFns = []
|
|
|
22907
22901
|
});
|
|
22908
22902
|
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=script&lang=js&
|
|
22909
22903
|
/* harmony default export */ var packages_DimensionSelector_src_mainvue_type_script_lang_js_ = (DimensionSelector_src_mainvue_type_script_lang_js_);
|
|
22910
|
-
// EXTERNAL MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=style&index=0&id=
|
|
22911
|
-
var
|
|
22904
|
+
// EXTERNAL MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=style&index=0&id=10681225&prod&lang=scss&scoped=true&
|
|
22905
|
+
var mainvue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true_ = __webpack_require__("c33b");
|
|
22912
22906
|
|
|
22913
22907
|
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue
|
|
22914
22908
|
|
|
@@ -22921,11 +22915,11 @@ var mainvue_type_style_index_0_id_8015cf1e_prod_lang_scss_scoped_true_ = __webpa
|
|
|
22921
22915
|
|
|
22922
22916
|
var DimensionSelector_src_main_component = normalizeComponent(
|
|
22923
22917
|
packages_DimensionSelector_src_mainvue_type_script_lang_js_,
|
|
22924
|
-
|
|
22925
|
-
|
|
22918
|
+
mainvue_type_template_id_10681225_scoped_true_render,
|
|
22919
|
+
mainvue_type_template_id_10681225_scoped_true_staticRenderFns,
|
|
22926
22920
|
false,
|
|
22927
22921
|
null,
|
|
22928
|
-
"
|
|
22922
|
+
"10681225",
|
|
22929
22923
|
null
|
|
22930
22924
|
|
|
22931
22925
|
)
|
|
@@ -23553,8 +23547,8 @@ Dialog_src_main.install = function (Vue) {
|
|
|
23553
23547
|
Vue.component(Dialog_src_main.name, Dialog_src_main);
|
|
23554
23548
|
};
|
|
23555
23549
|
/* harmony default export */ var Dialog = (Dialog_src_main);
|
|
23556
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/main.vue?vue&type=template&id=
|
|
23557
|
-
var
|
|
23550
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/main.vue?vue&type=template&id=0b5eb5e6&scoped=true&
|
|
23551
|
+
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:({
|
|
23558
23552
|
right: _vm.inputSuffixWidth - 1 + 'px',
|
|
23559
23553
|
width: 'auto!important',
|
|
23560
23554
|
height: _vm.inputSuffixHeight - 4 + 'px',
|
|
@@ -23563,11 +23557,11 @@ var mainvue_type_template_id_16ccb9a5_scoped_true_render = function () {var _vm=
|
|
|
23563
23557
|
: 'el-input__icon icon-duihuakuang',style:({
|
|
23564
23558
|
fontSize: '17px',
|
|
23565
23559
|
lineHeight: _vm.inputSuffixHeight + 'px',
|
|
23566
|
-
})}),_vm._v("\n "+_vm._s(_vm.custdialog.name)+"\n ")])],1)])],1)]):_vm._e()]),(!_vm.inputWriteable)?_c('span',
|
|
23567
|
-
var
|
|
23560
|
+
})}),_vm._v("\n "+_vm._s(_vm.custdialog.name)+"\n ")])],1)])],1)]):_vm._e()]),(!_vm.inputWriteable)?_c('span',_vm._l((_vm.inputVal),function(item){return _c('span',{key:item.value,staticClass:"el-tag el-tag--info el-tag--small",staticStyle:{"margin-right":"8px"},on:{"click":function($event){$event.stopPropagation();}}},[_c('span',{staticClass:"el-select__tags-text"},[_vm._v(_vm._s(item.value))])])}),0):_vm._e(),(_vm.isMobile)?_c('custom-mobile-dialog',{ref:"customMobileDialogRef",attrs:{"model-name":_vm.modelName,"custdialog":_vm.custdialog,"sub-index":_vm.subIndex,"sun-index":_vm.sunIndex,"sub-path":_vm.subPath,"current-sub-data":_vm.currentSubData},on:{"calacInputSuffixHeight":_vm.calacInputSuffixHeight,"updateInput":_vm.updateInput}}):_c('custom-dialog',{ref:"customDialogRef",attrs:{"model-name":_vm.modelName,"custdialog":_vm.custdialog,"sub-index":_vm.subIndex,"sun-index":_vm.sunIndex,"sub-path":_vm.subPath,"current-sub-data":_vm.currentSubData,"is-read-only":!_vm.inputWriteable},on:{"calacInputSuffixHeight":_vm.calacInputSuffixHeight,"updateInput":_vm.updateInput},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v},expression:"value"}}),_c('span',{staticStyle:{"display":"none"}},[_vm._t("labeldesc",[_vm._v(_vm._s(_vm.inputName))])],2),_c('ht-field-tail',{attrs:{"field-name":_vm.inputName,"input-value":_vm.value}})],1)}
|
|
23561
|
+
var mainvue_type_template_id_0b5eb5e6_scoped_true_staticRenderFns = []
|
|
23568
23562
|
|
|
23569
23563
|
|
|
23570
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=
|
|
23564
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=0b5eb5e6&scoped=true&
|
|
23571
23565
|
|
|
23572
23566
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.js
|
|
23573
23567
|
|
|
@@ -23689,47 +23683,19 @@ var mainvue_type_template_id_16ccb9a5_scoped_true_staticRenderFns = []
|
|
|
23689
23683
|
}
|
|
23690
23684
|
}
|
|
23691
23685
|
});
|
|
23692
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=
|
|
23693
|
-
var
|
|
23694
|
-
|
|
23695
|
-
|
|
23696
|
-
|
|
23697
|
-
|
|
23698
|
-
|
|
23699
|
-
|
|
23700
|
-
|
|
23701
|
-
|
|
23702
|
-
|
|
23703
|
-
|
|
23704
|
-
|
|
23705
|
-
: condition.config.inputFormat},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '7')?_c('div',{staticClass:"search-item_main"},[(condition.config.alias == 'user')?_c('ht-user-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23706
|
-
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23707
|
-
}}}):_vm._e(),(condition.config.alias == 'org')?_c('ht-org-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23708
|
-
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23709
|
-
}}}):_vm._e(),(condition.config.alias == 'role')?_c('ht-role-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23710
|
-
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23711
|
-
}}}):_vm._e(),(condition.config.alias == 'job')?_c('ht-job-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23712
|
-
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23713
|
-
}}}):_vm._e(),(condition.config.alias == 'post')?_c('ht-post-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23714
|
-
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23715
|
-
}}}):_vm._e(),(condition.config.alias == 'dimension')?_c('ht-dimension-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23716
|
-
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23717
|
-
}}}):_vm._e()],1):_vm._e(),(condition.controllerType == '5')?_c('div',{staticClass:"search-item_main"},[_c('ht-custom-dialog',{attrs:{"model-name":condition.config.keyBind,"dialogType":"search","custdialog":{
|
|
23718
|
-
name: '请选择',
|
|
23719
|
-
icon: '',
|
|
23720
|
-
custDialog: {
|
|
23721
|
-
selectNum: 1,
|
|
23722
|
-
conditions: [],
|
|
23723
|
-
mappingConf: [],
|
|
23724
|
-
custQueryJson: [],
|
|
23725
|
-
alias: condition.config.alias,
|
|
23726
|
-
type: 'custDialog',
|
|
23727
|
-
},
|
|
23728
|
-
}},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e()])}),(_vm.conditionBind && _vm.conditionBind.length > 0)?_c('div',{staticClass:"btn-wrap"},[_c('el-button',{staticStyle:{"margin-left":"20px"},attrs:{"size":"small","type":"primary","icon":"el-icon-search"},on:{"click":function($event){return _vm.search(true)}}},[_vm._v("\n 查询\n ")]),_c('el-button',{attrs:{"size":"small","icon":"el-icon-refresh"},on:{"click":_vm.reset}},[_vm._v("\n 重置\n ")])],1):_vm._e()],2):_vm._e(),_c('el-main',{ref:"customTableRef",staticClass:"custom-dialog_main"},[_c('el-table',{ref:"orgTable",staticClass:"org-table",staticStyle:{"width":"100%"},attrs:{"data":_vm.dialogData,"stripe":"","border":"","size":"medium","height":_vm.tableHeight},on:{"row-click":_vm.orgRowClick,"selection-change":_vm.orgTableSelection,"select":_vm.onTableSelect,"select-all":_vm.selectAll}},[(_vm.customDialog.selectNum != 1)?_c('el-table-column',{attrs:{"type":"selection","align":"center","width":"55"}}):_vm._e(),(_vm.customDialog.selectNum === 1)?_c('el-table-column',{attrs:{"align":"center","width":"55"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-radio',{staticClass:"textRadio",attrs:{"label":scope.$index},on:{"selection-change":_vm.orgTableSelection},model:{value:(_vm.tableRadioVal),callback:function ($$v) {_vm.tableRadioVal=$$v},expression:"tableRadioVal"}},[_vm._v("\n \n ")])]}}],null,false,918943478)}):_vm._e(),_c('el-table-column',{attrs:{"type":"index","width":"50","align":"center","label":"序号"}}),_vm._l((_vm.sortDisplayfield),function(field){return _c('el-table-column',{key:field.field,attrs:{"prop":field.field,"label":field.comment,"width":field.width || ''}})})],2)],1),_c('el-footer',[(_vm.customDialog.needPage)?_c('el-row',{staticStyle:{"padding-top":"15px","justify-content":"space-between"},attrs:{"type":"flex","justify":"end"}},[(_vm.customDialog.style == 2)?_c('el-button',{attrs:{"icon":_vm.toggleBtn,"size":"mini","type":"default"},on:{"click":_vm.toggleTree}}):_vm._e(),_c('el-pagination',{attrs:{"small":"","current-page":_vm.pagination.page,"page-sizes":[10, 20, 50, 100],"page-size":_vm.pagination.pageSize,"layout":"total, sizes, prev, pager, next, jumper","total":_vm.total},on:{"size-change":_vm.handleSizeChange,"current-change":_vm.handleCurrentChange}})],1):_vm._e()],1)],1)],1),_c('span',{staticClass:"dialog-footer",staticStyle:{"text-align":"center"},attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.dialogConfirm}},[_vm._v("\n 确认\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.dialogCancel}},[_vm._v("取 消")])],1)],1),_c('el-dialog',{attrs:{"title":"动态传入参数查询","width":"500px","visible":_vm.dialogVisible,"before-close":_vm.handleClose,"close-on-click-modal":false,"top":"6vh"},on:{"update:visible":function($event){_vm.dialogVisible=$event}}},[_c('table',{staticClass:"form-table",staticStyle:{"margin-left":"20px","width":"90%"},attrs:{"cellspacing":"0","cellpadding":"0","border":"0"}},_vm._l((_vm.conditionfieldTree),function(item,$index){return _c('tbody',{key:$index},[(item.defaultType == '4')?_c('tr',[_c('th',{attrs:{"width":"130px"}},[_vm._v(_vm._s(item.comment)+":")]),_c('td',[(item.type != 'date')?_c('ht-input',{staticStyle:{"width":"100%"},attrs:{"type":"text","placeholder":'请输入' + item.comment,"autocomplete":"off"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e(),(item.type == 'date')?_c('ht-date',{staticStyle:{"width":"100%"},attrs:{"placeholder":'请输入' + item.comment,"format":"yyyy-MM-dd"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e()],1)]):_vm._e()])}),0),_c('div',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"type":"primary"},on:{"click":_vm.handleSave}},[_vm._v("确 定")]),_c('el-button',{on:{"click":_vm.handleClose}},[_vm._v("取 消")])],1)]),_c('el-dialog',{attrs:{"visible":_vm.customDialogShowTree,"title":_vm.customDialog.name,"close-on-click-modal":false,"before-close":_vm.dialogCancelTree,"append-to-body":"","top":"6vh","width":"500px"},on:{"update:visible":function($event){_vm.customDialogShowTree=$event}}},[_c('el-container',{staticStyle:{"overflow":"auto"},style:(_vm.style)},[_c('el-tree',{ref:"tree",staticStyle:{"width":"100%"},attrs:{"data":_vm.props1,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","show-checkbox":_vm.customDialog.selectNum === -1,"check-on-click-node":true,"check-strictly":false,"lazy":"","load":_vm.loadTree,"default-expanded-keys":_vm.defaultExpandedKeys},on:{"node-click":_vm.treeClick,"check-change":_vm.getChecked}})],1),_c('span',{staticClass:"dialog-footer",staticStyle:{"text-align":"center"},attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.dialogTreeConfirm}},[_vm._v("\n 确认\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.dialogCancelTree}},[_vm._v("取 消")])],1)],1)],1)}
|
|
23729
|
-
var customDialogvue_type_template_id_78194d5a_scoped_true_staticRenderFns = []
|
|
23730
|
-
|
|
23731
|
-
|
|
23732
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=78194d5a&scoped=true&
|
|
23686
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=3a57945e&scoped=true&
|
|
23687
|
+
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":{
|
|
23688
|
+
alias: condition.config.customQuery.alias,
|
|
23689
|
+
valueBind: condition.config.customQuery.valueBind,
|
|
23690
|
+
noInit: '',
|
|
23691
|
+
labelBind: condition.config.customQuery.labelBind,
|
|
23692
|
+
gangedBind: '{}',
|
|
23693
|
+
bind: condition.config.bind,
|
|
23694
|
+
},"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)}
|
|
23695
|
+
var customDialogvue_type_template_id_3a57945e_scoped_true_staticRenderFns = []
|
|
23696
|
+
|
|
23697
|
+
|
|
23698
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=3a57945e&scoped=true&
|
|
23733
23699
|
|
|
23734
23700
|
// EXTERNAL MODULE: external "jquery"
|
|
23735
23701
|
var external_jquery_ = __webpack_require__("c5e1");
|
|
@@ -24038,139 +24004,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24038
24004
|
//
|
|
24039
24005
|
//
|
|
24040
24006
|
//
|
|
24041
|
-
//
|
|
24042
|
-
//
|
|
24043
|
-
//
|
|
24044
|
-
//
|
|
24045
|
-
//
|
|
24046
|
-
//
|
|
24047
|
-
//
|
|
24048
|
-
//
|
|
24049
|
-
//
|
|
24050
|
-
//
|
|
24051
|
-
//
|
|
24052
|
-
//
|
|
24053
|
-
//
|
|
24054
|
-
//
|
|
24055
|
-
//
|
|
24056
|
-
//
|
|
24057
|
-
//
|
|
24058
|
-
//
|
|
24059
|
-
//
|
|
24060
|
-
//
|
|
24061
|
-
//
|
|
24062
|
-
//
|
|
24063
|
-
//
|
|
24064
|
-
//
|
|
24065
|
-
//
|
|
24066
|
-
//
|
|
24067
|
-
//
|
|
24068
|
-
//
|
|
24069
|
-
//
|
|
24070
|
-
//
|
|
24071
|
-
//
|
|
24072
|
-
//
|
|
24073
|
-
//
|
|
24074
|
-
//
|
|
24075
|
-
//
|
|
24076
|
-
//
|
|
24077
|
-
//
|
|
24078
|
-
//
|
|
24079
|
-
//
|
|
24080
|
-
//
|
|
24081
|
-
//
|
|
24082
|
-
//
|
|
24083
|
-
//
|
|
24084
|
-
//
|
|
24085
|
-
//
|
|
24086
|
-
//
|
|
24087
|
-
//
|
|
24088
|
-
//
|
|
24089
|
-
//
|
|
24090
|
-
//
|
|
24091
|
-
//
|
|
24092
|
-
//
|
|
24093
|
-
//
|
|
24094
|
-
//
|
|
24095
|
-
//
|
|
24096
|
-
//
|
|
24097
|
-
//
|
|
24098
|
-
//
|
|
24099
|
-
//
|
|
24100
|
-
//
|
|
24101
|
-
//
|
|
24102
|
-
//
|
|
24103
|
-
//
|
|
24104
|
-
//
|
|
24105
|
-
//
|
|
24106
|
-
//
|
|
24107
|
-
//
|
|
24108
|
-
//
|
|
24109
|
-
//
|
|
24110
|
-
//
|
|
24111
|
-
//
|
|
24112
|
-
//
|
|
24113
|
-
//
|
|
24114
|
-
//
|
|
24115
|
-
//
|
|
24116
|
-
//
|
|
24117
|
-
//
|
|
24118
|
-
//
|
|
24119
|
-
//
|
|
24120
|
-
//
|
|
24121
|
-
//
|
|
24122
|
-
//
|
|
24123
|
-
//
|
|
24124
|
-
//
|
|
24125
|
-
//
|
|
24126
|
-
//
|
|
24127
|
-
//
|
|
24128
|
-
//
|
|
24129
|
-
//
|
|
24130
|
-
//
|
|
24131
|
-
//
|
|
24132
|
-
//
|
|
24133
|
-
//
|
|
24134
|
-
//
|
|
24135
|
-
//
|
|
24136
|
-
//
|
|
24137
|
-
//
|
|
24138
|
-
//
|
|
24139
|
-
//
|
|
24140
|
-
//
|
|
24141
|
-
//
|
|
24142
|
-
//
|
|
24143
|
-
//
|
|
24144
|
-
//
|
|
24145
|
-
//
|
|
24146
|
-
//
|
|
24147
|
-
//
|
|
24148
|
-
//
|
|
24149
|
-
//
|
|
24150
|
-
//
|
|
24151
|
-
//
|
|
24152
|
-
//
|
|
24153
|
-
//
|
|
24154
|
-
//
|
|
24155
|
-
//
|
|
24156
|
-
//
|
|
24157
|
-
//
|
|
24158
|
-
//
|
|
24159
|
-
//
|
|
24160
|
-
//
|
|
24161
|
-
//
|
|
24162
|
-
//
|
|
24163
|
-
//
|
|
24164
|
-
//
|
|
24165
|
-
//
|
|
24166
|
-
//
|
|
24167
|
-
//
|
|
24168
|
-
//
|
|
24169
|
-
//
|
|
24170
|
-
//
|
|
24171
|
-
//
|
|
24172
|
-
//
|
|
24173
|
-
//
|
|
24174
24007
|
|
|
24175
24008
|
|
|
24176
24009
|
|
|
@@ -24198,16 +24031,10 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24198
24031
|
isReadOnly: {
|
|
24199
24032
|
type: Boolean,
|
|
24200
24033
|
default: false
|
|
24201
|
-
}
|
|
24202
|
-
dialogConfig: Object,
|
|
24203
|
-
dialogType: String
|
|
24034
|
+
}
|
|
24204
24035
|
},
|
|
24205
24036
|
data() {
|
|
24206
24037
|
return {
|
|
24207
|
-
startDate: '',
|
|
24208
|
-
// 日期控件
|
|
24209
|
-
endDate: '',
|
|
24210
|
-
// 日期控件
|
|
24211
24038
|
tableHeight: 350,
|
|
24212
24039
|
isEditInputShow: false,
|
|
24213
24040
|
customValue: '',
|
|
@@ -24288,18 +24115,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24288
24115
|
return [this.props1[0][this.nodeKey]];
|
|
24289
24116
|
}
|
|
24290
24117
|
return [];
|
|
24291
|
-
},
|
|
24292
|
-
jumpParamKey() {
|
|
24293
|
-
return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
|
|
24294
|
-
},
|
|
24295
|
-
// 是否保存成跳转url参数
|
|
24296
|
-
isHaveJumpUrl() {
|
|
24297
|
-
return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
24298
|
-
},
|
|
24299
|
-
sortDisplayfield() {
|
|
24300
|
-
return this.displayfield.sort((a, b) => {
|
|
24301
|
-
return a.sort > b.sort ? 1 : -1;
|
|
24302
|
-
});
|
|
24303
24118
|
}
|
|
24304
24119
|
},
|
|
24305
24120
|
watch: {
|
|
@@ -24335,151 +24150,131 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24335
24150
|
});
|
|
24336
24151
|
},
|
|
24337
24152
|
methods: {
|
|
24338
|
-
// 获取已选择的选择器数据id
|
|
24339
|
-
getSelectId(data) {
|
|
24340
|
-
if (!data || !data.length) {
|
|
24341
|
-
return '';
|
|
24342
|
-
}
|
|
24343
|
-
let ids = [];
|
|
24344
|
-
data.forEach(item => {
|
|
24345
|
-
ids.push(item.id);
|
|
24346
|
-
});
|
|
24347
|
-
return ids.join(',');
|
|
24348
|
-
},
|
|
24349
24153
|
showDialog() {
|
|
24350
24154
|
let isMounted = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
24155
|
+
const this_ = this;
|
|
24351
24156
|
this.fixedParams = {};
|
|
24352
|
-
// 如果已存在配置信息就不去请求配置信息 直接初始化数据
|
|
24353
|
-
if (this.dialogConfig) {
|
|
24354
|
-
this.initDialog(this.dialogConfig, isMounted);
|
|
24355
|
-
return;
|
|
24356
|
-
}
|
|
24357
24157
|
var alias = this.custdialog.custDialog.alias;
|
|
24358
24158
|
this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
|
|
24359
|
-
|
|
24360
|
-
|
|
24361
|
-
|
|
24362
|
-
initDialog(customDialog, isMounted) {
|
|
24363
|
-
let alias = this.custdialog.custDialog.alias;
|
|
24364
|
-
const this_ = this;
|
|
24365
|
-
if (!customDialog || !customDialog.alias) {
|
|
24366
|
-
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
24367
|
-
return;
|
|
24368
|
-
}
|
|
24369
|
-
if (customDialog.style == 1) {
|
|
24370
|
-
var displaylist = JSON.parse(customDialog.displayfield);
|
|
24371
|
-
this_.nodeKey = displaylist.id;
|
|
24372
|
-
}
|
|
24373
|
-
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
24374
|
-
let obj = {};
|
|
24375
|
-
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
24376
|
-
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
24377
|
-
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
24378
|
-
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
24379
|
-
if (exp) {
|
|
24380
|
-
const params = JSON.parse(exp);
|
|
24381
|
-
if (params.pageBean) {
|
|
24382
|
-
this.pagination = {
|
|
24383
|
-
...params.pageBean
|
|
24384
|
-
};
|
|
24385
|
-
}
|
|
24159
|
+
if (!customDialog || !customDialog.alias) {
|
|
24160
|
+
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
24161
|
+
return;
|
|
24386
24162
|
}
|
|
24387
|
-
|
|
24388
|
-
|
|
24389
|
-
|
|
24390
|
-
|
|
24391
|
-
|
|
24392
|
-
|
|
24393
|
-
|
|
24394
|
-
|
|
24395
|
-
|
|
24396
|
-
|
|
24397
|
-
|
|
24398
|
-
|
|
24399
|
-
|
|
24400
|
-
|
|
24401
|
-
|
|
24402
|
-
|
|
24403
|
-
|
|
24404
|
-
this_.executeScriptResult = res && res.value;
|
|
24405
|
-
});
|
|
24406
|
-
}
|
|
24407
|
-
});
|
|
24408
|
-
}
|
|
24409
|
-
//判断对话框查询是否有条件
|
|
24410
|
-
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
24411
|
-
this_.quickSearch = ''; //填写提示 placeholder
|
|
24412
|
-
this_.conditionBind = [];
|
|
24413
|
-
let queryParams = [];
|
|
24414
|
-
let placeholders = [];
|
|
24415
|
-
if (userInputList.length > 0) {
|
|
24416
|
-
userInputList.forEach(ele => {
|
|
24417
|
-
var obj = {};
|
|
24418
|
-
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
24419
|
-
if (ele.defaultType == '1') {
|
|
24420
|
-
obj[ele.field] = '';
|
|
24421
|
-
queryParams.push(obj);
|
|
24422
|
-
// queryParams[ele.field] = "";
|
|
24423
|
-
this_.conditionBind.push(ele);
|
|
24424
|
-
placeholders.push('请输入' + ele.comment);
|
|
24425
|
-
}
|
|
24426
|
-
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
24427
|
-
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
24163
|
+
if (customDialog.style == 1) {
|
|
24164
|
+
var displaylist = JSON.parse(customDialog.displayfield);
|
|
24165
|
+
this_.nodeKey = displaylist.id;
|
|
24166
|
+
}
|
|
24167
|
+
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
24168
|
+
let obj = {};
|
|
24169
|
+
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
24170
|
+
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
24171
|
+
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
24172
|
+
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
24173
|
+
if (exp) {
|
|
24174
|
+
const params = JSON.parse(exp);
|
|
24175
|
+
if (params.pageBean) {
|
|
24176
|
+
this.pagination = {
|
|
24177
|
+
...params.pageBean
|
|
24178
|
+
};
|
|
24179
|
+
}
|
|
24428
24180
|
}
|
|
24429
|
-
}
|
|
24430
|
-
|
|
24431
|
-
|
|
24432
|
-
|
|
24433
|
-
|
|
24434
|
-
|
|
24435
|
-
|
|
24436
|
-
|
|
24437
|
-
|
|
24438
|
-
|
|
24439
|
-
|
|
24440
|
-
|
|
24441
|
-
|
|
24442
|
-
|
|
24443
|
-
|
|
24444
|
-
|
|
24445
|
-
|
|
24446
|
-
|
|
24447
|
-
|
|
24181
|
+
}
|
|
24182
|
+
//对话框按表单字段查询(参数传入的)
|
|
24183
|
+
let bindList = this_.custdialog.custDialog.conditions;
|
|
24184
|
+
this_.param = []; //绑定的表单字段
|
|
24185
|
+
if (bindList.length > 0) {
|
|
24186
|
+
bindList.forEach(ele => {
|
|
24187
|
+
//绑定表单字段
|
|
24188
|
+
if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
|
|
24189
|
+
let obj = {};
|
|
24190
|
+
obj.field = ele.field;
|
|
24191
|
+
obj.bind = ele.bind;
|
|
24192
|
+
obj.bindType = ele.bindType;
|
|
24193
|
+
this_.param.push(obj);
|
|
24194
|
+
}
|
|
24195
|
+
//取值对象为脚本时获取value
|
|
24196
|
+
if (ele.bindType === 3) {
|
|
24197
|
+
this_.$requestConfig.executeScript(ele.bind).then(res => {
|
|
24198
|
+
this_.executeScriptResult = res && res.value;
|
|
24199
|
+
});
|
|
24200
|
+
}
|
|
24201
|
+
});
|
|
24202
|
+
}
|
|
24203
|
+
//判断对话框查询是否有条件
|
|
24204
|
+
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
24205
|
+
this_.quickSearch = ''; //填写提示 placeholder
|
|
24206
|
+
this_.conditionBind = [];
|
|
24207
|
+
let queryParams = [];
|
|
24208
|
+
let placeholders = [];
|
|
24209
|
+
if (userInputList.length > 0) {
|
|
24210
|
+
userInputList.forEach(ele => {
|
|
24211
|
+
var obj = {};
|
|
24212
|
+
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
24213
|
+
if (ele.defaultType == '1') {
|
|
24214
|
+
obj[ele.field] = '';
|
|
24215
|
+
queryParams.push(obj);
|
|
24216
|
+
// queryParams[ele.field] = "";
|
|
24217
|
+
this_.conditionBind.push(ele);
|
|
24218
|
+
placeholders.push('请输入' + ele.comment);
|
|
24219
|
+
}
|
|
24220
|
+
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
24221
|
+
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
24222
|
+
}
|
|
24223
|
+
});
|
|
24224
|
+
this.$set(this, 'queryParams', queryParams);
|
|
24225
|
+
this.$set(this, 'placeholders', placeholders);
|
|
24226
|
+
}
|
|
24227
|
+
//判断是否显示条件查询输入框
|
|
24228
|
+
if (this_.quickSearch != '') {
|
|
24229
|
+
this_.querysShow = true;
|
|
24230
|
+
} else {
|
|
24231
|
+
this_.querysShow = true;
|
|
24232
|
+
}
|
|
24233
|
+
this_.quickSearch = '请输入' + this.quickSearch + '查询';
|
|
24234
|
+
this_.style = 'height:' + customDialog.height + 'px';
|
|
24235
|
+
if (window.screen.height && window.screen.height <= 900) {
|
|
24236
|
+
this.style = 'height:440px';
|
|
24237
|
+
}
|
|
24238
|
+
if (customDialog.style == 0 || customDialog.style == 2) {
|
|
24239
|
+
//列表
|
|
24240
|
+
setTimeout(() => {
|
|
24241
|
+
this_.customDialogShow({
|
|
24242
|
+
alias: alias,
|
|
24243
|
+
customDialog: customDialog
|
|
24244
|
+
}, isMounted);
|
|
24245
|
+
}, 100);
|
|
24246
|
+
} else if (customDialog.style == 1) {
|
|
24247
|
+
//树形
|
|
24248
|
+
this_.pageParam = {
|
|
24448
24249
|
alias: alias,
|
|
24449
24250
|
customDialog: customDialog
|
|
24450
|
-
}
|
|
24451
|
-
|
|
24452
|
-
|
|
24453
|
-
|
|
24454
|
-
|
|
24455
|
-
|
|
24456
|
-
|
|
24457
|
-
|
|
24458
|
-
|
|
24459
|
-
|
|
24460
|
-
|
|
24461
|
-
|
|
24462
|
-
|
|
24463
|
-
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
24464
|
-
if (this_.conditionfieldTree.length > 0) {
|
|
24465
|
-
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
24466
|
-
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
24467
|
-
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
24468
|
-
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
24251
|
+
};
|
|
24252
|
+
this_.customDialog = customDialog;
|
|
24253
|
+
let param = {};
|
|
24254
|
+
this_.conditionfieldTree = [];
|
|
24255
|
+
//判断是否存在条件
|
|
24256
|
+
if (customDialog.conditionfield) {
|
|
24257
|
+
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
24258
|
+
if (this_.conditionfieldTree.length > 0) {
|
|
24259
|
+
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
24260
|
+
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
24261
|
+
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
24262
|
+
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
24263
|
+
}
|
|
24469
24264
|
}
|
|
24470
24265
|
}
|
|
24471
24266
|
}
|
|
24472
|
-
|
|
24473
|
-
|
|
24474
|
-
|
|
24475
|
-
|
|
24476
|
-
|
|
24477
|
-
|
|
24478
|
-
|
|
24479
|
-
|
|
24267
|
+
//有动态传入的字段
|
|
24268
|
+
if (!isMounted) {
|
|
24269
|
+
if (JSON.stringify(param) != '{}') {
|
|
24270
|
+
this_.dialogVisible = true;
|
|
24271
|
+
} else {
|
|
24272
|
+
//无动态传入的字段
|
|
24273
|
+
this_.customDialogTreeShow(this_.pageParam);
|
|
24274
|
+
}
|
|
24480
24275
|
}
|
|
24481
24276
|
}
|
|
24482
|
-
}
|
|
24277
|
+
});
|
|
24483
24278
|
},
|
|
24484
24279
|
initTableHeight() {
|
|
24485
24280
|
this.$nextTick(() => {
|
|
@@ -24608,13 +24403,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24608
24403
|
}
|
|
24609
24404
|
// 添加用户id 岗位id 组织id
|
|
24610
24405
|
try {
|
|
24611
|
-
if (this.$requestConfig.getUserId
|
|
24406
|
+
if (this.$requestConfig.getUserId()) {
|
|
24612
24407
|
ctx.userId = this.$requestConfig.getUserId();
|
|
24613
24408
|
}
|
|
24614
|
-
if (this.$requestConfig.getOrgId
|
|
24409
|
+
if (this.$requestConfig.getOrgId()) {
|
|
24615
24410
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
24616
24411
|
}
|
|
24617
|
-
if (this.$requestConfig.getPostId
|
|
24412
|
+
if (this.$requestConfig.getPostId()) {
|
|
24618
24413
|
ctx.postId = this.$requestConfig.getPostId();
|
|
24619
24414
|
}
|
|
24620
24415
|
} catch (e) {
|
|
@@ -24699,13 +24494,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24699
24494
|
this.selectOrgs = this.convertComment2Field(str, field);
|
|
24700
24495
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
24701
24496
|
var val = '';
|
|
24702
|
-
str.forEach(
|
|
24703
|
-
|
|
24704
|
-
if (this.jumpParamKey && this.isHaveJumpUrl && (this.modelName == 'data.' + con['target'][0] || this.modelName.includes('item.') && con['target'][0].endsWith(this.modelName.split('.')[1]))) {
|
|
24705
|
-
val += `${item[con.from]}¯${this.jumpParamKey}:${this.selectOrgs[index][this.jumpParamKey]},`;
|
|
24706
|
-
} else {
|
|
24707
|
-
val += item[con.from] + ',';
|
|
24708
|
-
}
|
|
24497
|
+
str.forEach(item => {
|
|
24498
|
+
val += item[con.from] + ',';
|
|
24709
24499
|
});
|
|
24710
24500
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
24711
24501
|
utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
|
|
@@ -24776,36 +24566,19 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24776
24566
|
};
|
|
24777
24567
|
}
|
|
24778
24568
|
//用户输入的
|
|
24779
|
-
let flag = false;
|
|
24780
24569
|
if (this.queryParams.length != 0 && this.queryParams[0] != '') {
|
|
24781
24570
|
this.conditionBind.forEach((item, index) => {
|
|
24782
|
-
// 日期范围特殊处理
|
|
24783
|
-
if (item.dbType == 'date' && item.condition == 'BETWEEN') {
|
|
24784
|
-
if (this.queryParams[index].startDate && !this.queryParams[index].endDate || !this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
24785
|
-
flag = true;
|
|
24786
|
-
this.$message.info('日期范围未填写完整!');
|
|
24787
|
-
return;
|
|
24788
|
-
}
|
|
24789
|
-
if (this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
24790
|
-
this.queryParams[index][item.field] = `${this.queryParams[index].startDate},${this.queryParams[index].endDate}`;
|
|
24791
|
-
} else {
|
|
24792
|
-
this.queryParams[index][item.field] = '';
|
|
24793
|
-
}
|
|
24794
|
-
}
|
|
24795
24571
|
if (this.queryParams[index][item.field]) {
|
|
24796
24572
|
querys.push({
|
|
24797
24573
|
property: item.field,
|
|
24798
24574
|
value: this.queryParams[index][item.field],
|
|
24799
24575
|
group: 'main',
|
|
24800
|
-
operation:
|
|
24576
|
+
operation: 'LIKE',
|
|
24801
24577
|
relation: 'AND'
|
|
24802
24578
|
});
|
|
24803
24579
|
}
|
|
24804
24580
|
});
|
|
24805
24581
|
}
|
|
24806
|
-
if (flag) {
|
|
24807
|
-
return;
|
|
24808
|
-
}
|
|
24809
24582
|
//参数传入的查询拼接
|
|
24810
24583
|
if (this.param) {
|
|
24811
24584
|
this.param.forEach(item => {
|
|
@@ -24844,13 +24617,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24844
24617
|
queryParamMap.total = pageBean.pageBean.total;
|
|
24845
24618
|
// 添加用户id 岗位id 组织id
|
|
24846
24619
|
try {
|
|
24847
|
-
if (this.$requestConfig.getUserId
|
|
24620
|
+
if (this.$requestConfig.getUserId()) {
|
|
24848
24621
|
ctx.userId = this.$requestConfig.getUserId();
|
|
24849
24622
|
}
|
|
24850
|
-
if (this.$requestConfig.getOrgId
|
|
24623
|
+
if (this.$requestConfig.getOrgId()) {
|
|
24851
24624
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
24852
24625
|
}
|
|
24853
|
-
if (this.$requestConfig.getPostId
|
|
24626
|
+
if (this.$requestConfig.getPostId()) {
|
|
24854
24627
|
ctx.postId = this.$requestConfig.getPostId();
|
|
24855
24628
|
}
|
|
24856
24629
|
} catch (e) {
|
|
@@ -24871,14 +24644,12 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24871
24644
|
value: queryParamMap[bindKey] || ctx[bindKey] || ''
|
|
24872
24645
|
};
|
|
24873
24646
|
});
|
|
24874
|
-
param.querys = queryList
|
|
24647
|
+
param.querys = queryList;
|
|
24875
24648
|
if (this.customDialog.needPage) {
|
|
24876
24649
|
param.pageBean = obj;
|
|
24877
24650
|
} else {
|
|
24878
24651
|
param.pageBean.pageSize = -1;
|
|
24879
24652
|
}
|
|
24880
|
-
// 日期格式的 改成数组
|
|
24881
|
-
// this.changeDateFormat(param)
|
|
24882
24653
|
//构造请求的参数
|
|
24883
24654
|
let requestParam = {
|
|
24884
24655
|
pageBean: param,
|
|
@@ -24918,15 +24689,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24918
24689
|
}
|
|
24919
24690
|
this.tableRadioVal = '';
|
|
24920
24691
|
},
|
|
24921
|
-
changeDateFormat(param) {
|
|
24922
|
-
let dateValidate1 = /^\d{4}\-\d{2}\-\d{2}$/;
|
|
24923
|
-
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$/;
|
|
24924
|
-
Object.keys(param).forEach(key => {
|
|
24925
|
-
if (param[key] && typeof param[key] == 'string' && param[key].includes(',') && (dateValidate1.test(param[key].split(',')[0]) || dateValidate2.test(param[key].split(',')[0]))) {
|
|
24926
|
-
param[key] = param[key].split(',');
|
|
24927
|
-
}
|
|
24928
|
-
});
|
|
24929
|
-
},
|
|
24930
24692
|
getSearchValueByKey() {
|
|
24931
24693
|
let queryParamsObj = {};
|
|
24932
24694
|
if (this.queryParams.length > 0) {
|
|
@@ -25152,8 +24914,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25152
24914
|
},
|
|
25153
24915
|
// 同步选择结果
|
|
25154
24916
|
syncInputValue() {
|
|
25155
|
-
// 对话框跳转url需要两个参数 1当前控件绑定的对象参数modelName 2对话框配置中配置的key名称
|
|
25156
|
-
// 同步值时,如果有绑定url跳转参数,值格式为 名称¯跳转key:跳转value
|
|
25157
24917
|
let thisIndex = null; //当前数据所在下标
|
|
25158
24918
|
let parentIndex = null; //父节点所在下标
|
|
25159
24919
|
if (this.$parent.$el) {
|
|
@@ -25227,32 +24987,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25227
24987
|
}
|
|
25228
24988
|
}
|
|
25229
24989
|
}
|
|
25230
|
-
// 如果是查询中使用的对话框
|
|
25231
|
-
if (this.dialogType == 'search') {
|
|
25232
|
-
let returnVal = [];
|
|
25233
|
-
str.forEach(item => {
|
|
25234
|
-
returnVal.push(decodeURIComponent(item[this.modelName]));
|
|
25235
|
-
});
|
|
25236
|
-
this.$emit('updateInput', returnVal.join(','));
|
|
25237
|
-
return;
|
|
25238
|
-
}
|
|
25239
24990
|
const pInst = utils["a" /* default */].getOnlineFormInstance(this);
|
|
25240
24991
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
25241
24992
|
var val = '';
|
|
25242
24993
|
var from = con.from.toLowerCase();
|
|
25243
24994
|
str.forEach(item => {
|
|
25244
|
-
// 如果有绑定url跳转参数 需获取跳转参数的key
|
|
25245
24995
|
if (item) {
|
|
25246
|
-
|
|
25247
|
-
// 需根据key 找到对应 返回数据的返回名称
|
|
25248
|
-
let returnMap = returnStr.find(k => {
|
|
25249
|
-
return k.field.toLowerCase() == this.jumpParamKey.toLowerCase();
|
|
25250
|
-
});
|
|
25251
|
-
let returnMapKey = returnMap ? returnMap.comment : '';
|
|
25252
|
-
val += `${decodeURIComponent(item[from])}¯${this.jumpParamKey}:${decodeURIComponent(item[returnMapKey])},`;
|
|
25253
|
-
} else {
|
|
25254
|
-
val += decodeURIComponent(item[from]) + ',';
|
|
25255
|
-
}
|
|
24996
|
+
val += decodeURIComponent(item[from]) + ',';
|
|
25256
24997
|
}
|
|
25257
24998
|
});
|
|
25258
24999
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
@@ -25271,6 +25012,7 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25271
25012
|
const _val = val.substring(0, val.length - 1);
|
|
25272
25013
|
if (path) {
|
|
25273
25014
|
if (this.modelName && this.modelName.endsWith(path)) {
|
|
25015
|
+
// this.$emit('input', _val)
|
|
25274
25016
|
this.$emit('updateInput', _val);
|
|
25275
25017
|
}
|
|
25276
25018
|
utils["a" /* default */].setValueByPath(pInst, `${pInst.data ? 'data.' : 'model.'}${path}`, _val, thisIndex);
|
|
@@ -25475,200 +25217,74 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25475
25217
|
requestParams.url = url;
|
|
25476
25218
|
requestParams.paramsObj = paramsObj;
|
|
25477
25219
|
this.$requestConfig.request({
|
|
25478
|
-
url: requestParams.url,
|
|
25479
|
-
method: 'get'
|
|
25480
|
-
}).then(resp => {
|
|
25481
|
-
if (treeDialog.displayfield && treeDialog.resultfield) {
|
|
25482
|
-
let displayField = JSON.parse(treeDialog.displayfield);
|
|
25483
|
-
let resultfield = JSON.parse(treeDialog.resultfield);
|
|
25484
|
-
this.defaultProps.label = displayField.displayName;
|
|
25485
|
-
this.treeList = resp;
|
|
25486
|
-
this.combiTreeDisplayField = displayField;
|
|
25487
|
-
this.combinationTreeData = this.toTreeData(resp, displayField.id, displayField.pid, displayField.displayName, displayField.pvalue ? displayField.pvalue : '0', resultfield);
|
|
25488
|
-
}
|
|
25489
|
-
});
|
|
25490
|
-
});
|
|
25491
|
-
},
|
|
25492
|
-
//打开树形动态参数输入值的对话框
|
|
25493
|
-
handleSave() {
|
|
25494
|
-
this.customDialogTreeShow(this.pageParam);
|
|
25495
|
-
this.dialogVisible = false;
|
|
25496
|
-
},
|
|
25497
|
-
//关闭树形动态参数输入值的对话框
|
|
25498
|
-
handleClose() {
|
|
25499
|
-
this.dialogVisible = false;
|
|
25500
|
-
}
|
|
25501
|
-
}
|
|
25502
|
-
});
|
|
25503
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=script&lang=js&
|
|
25504
|
-
/* harmony default export */ var src_customDialogvue_type_script_lang_js_ = (customDialogvue_type_script_lang_js_);
|
|
25505
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=
|
|
25506
|
-
var
|
|
25507
|
-
|
|
25508
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue
|
|
25509
|
-
|
|
25510
|
-
|
|
25511
|
-
|
|
25512
|
-
|
|
25513
|
-
|
|
25514
|
-
|
|
25515
|
-
/* normalize component */
|
|
25516
|
-
|
|
25517
|
-
var customDialog_component = normalizeComponent(
|
|
25518
|
-
src_customDialogvue_type_script_lang_js_,
|
|
25519
|
-
|
|
25520
|
-
|
|
25521
|
-
false,
|
|
25522
|
-
null,
|
|
25523
|
-
"
|
|
25524
|
-
null
|
|
25525
|
-
|
|
25526
|
-
)
|
|
25527
|
-
|
|
25528
|
-
/* harmony default export */ var CustomDialog_src_customDialog = (customDialog_component.exports);
|
|
25529
|
-
// 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=
|
|
25530
|
-
var
|
|
25531
|
-
|
|
25532
|
-
|
|
25533
|
-
|
|
25534
|
-
|
|
25535
|
-
|
|
25536
|
-
|
|
25537
|
-
|
|
25538
|
-
|
|
25539
|
-
|
|
25540
|
-
|
|
25541
|
-
|
|
25542
|
-
|
|
25543
|
-
|
|
25544
|
-
|
|
25545
|
-
|
|
25546
|
-
selectNum: 1,
|
|
25547
|
-
conditions: [],
|
|
25548
|
-
mappingConf: [],
|
|
25549
|
-
custQueryJson: [],
|
|
25550
|
-
alias: condition.config.alias,
|
|
25551
|
-
type: 'custDialog',
|
|
25552
|
-
},
|
|
25553
|
-
}},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(
|
|
25554
|
-
function (k) { return k.defaultType == '4'; }
|
|
25555
|
-
)),function(item,$index){return _c('div',{key:$index},[(item.type != 'date')?_c('van-field',{attrs:{"label":item.comment,"placeholder":'请输入' + item.comment},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e(),(item.type == 'date')?_c('ht-date',{staticStyle:{"width":"100%"},attrs:{"placeholder":'请选择' + item.comment,"format":"yyyy-MM-dd"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e()],1)}),0)],1),_c('van-action-sheet',{staticClass:"mobile-van-action",attrs:{"cancel-text":_vm.sureButtonText,"get-container":"body"},on:{"cancel":_vm.dialogTreeConfirm},scopedSlots:_vm._u([{key:"description",fn:function(){return [_c('span',{staticClass:"dialog-mobile__title"},[_vm._v(_vm._s(_vm.customDialog.name))]),_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":_vm.dialogCancelTree}})]},proxy:true}]),model:{value:(_vm.customDialogShowTree),callback:function ($$v) {_vm.customDialogShowTree=$$v},expression:"customDialogShowTree"}},[_c('el-tree',{ref:"tree",staticStyle:{"width":"100%"},attrs:{"data":_vm.props1,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","show-checkbox":_vm.customDialog.selectNum === -1,"check-on-click-node":true,"check-strictly":false,"lazy":"","load":_vm.loadTree,"default-expanded-keys":_vm.defaultExpandedKeys},on:{"node-click":_vm.treeClick,"check-change":_vm.getChecked}})],1),(_vm.isShowDatePop)?_c('van-popup',{attrs:{"position":"bottom","round":""},model:{value:(_vm.isShowDatePop),callback:function ($$v) {_vm.isShowDatePop=$$v},expression:"isShowDatePop"}},[_c('van-datetime-picker',{attrs:{"type":_vm.dateType,"title":"选择日期","show-toolbar":true},on:{"cancel":function($event){_vm.isShowDatePop = false},"confirm":_vm.confirmFn},model:{value:(_vm.currentDate),callback:function ($$v) {_vm.currentDate=$$v},expression:"currentDate"}})],1):_vm._e()],1)}
|
|
25556
|
-
var customMobileDialogvue_type_template_id_51151f21_scoped_true_staticRenderFns = []
|
|
25557
|
-
|
|
25558
|
-
|
|
25559
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=51151f21&scoped=true&
|
|
25560
|
-
|
|
25561
|
-
// 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&
|
|
25562
|
-
//
|
|
25563
|
-
//
|
|
25564
|
-
//
|
|
25565
|
-
//
|
|
25566
|
-
//
|
|
25567
|
-
//
|
|
25568
|
-
//
|
|
25569
|
-
//
|
|
25570
|
-
//
|
|
25571
|
-
//
|
|
25572
|
-
//
|
|
25573
|
-
//
|
|
25574
|
-
//
|
|
25575
|
-
//
|
|
25576
|
-
//
|
|
25577
|
-
//
|
|
25578
|
-
//
|
|
25579
|
-
//
|
|
25580
|
-
//
|
|
25581
|
-
//
|
|
25582
|
-
//
|
|
25583
|
-
//
|
|
25584
|
-
//
|
|
25585
|
-
//
|
|
25586
|
-
//
|
|
25587
|
-
//
|
|
25588
|
-
//
|
|
25589
|
-
//
|
|
25590
|
-
//
|
|
25591
|
-
//
|
|
25592
|
-
//
|
|
25593
|
-
//
|
|
25594
|
-
//
|
|
25595
|
-
//
|
|
25596
|
-
//
|
|
25597
|
-
//
|
|
25598
|
-
//
|
|
25599
|
-
//
|
|
25600
|
-
//
|
|
25601
|
-
//
|
|
25602
|
-
//
|
|
25603
|
-
//
|
|
25604
|
-
//
|
|
25605
|
-
//
|
|
25606
|
-
//
|
|
25607
|
-
//
|
|
25608
|
-
//
|
|
25609
|
-
//
|
|
25610
|
-
//
|
|
25611
|
-
//
|
|
25612
|
-
//
|
|
25613
|
-
//
|
|
25614
|
-
//
|
|
25615
|
-
//
|
|
25616
|
-
//
|
|
25617
|
-
//
|
|
25618
|
-
//
|
|
25619
|
-
//
|
|
25620
|
-
//
|
|
25621
|
-
//
|
|
25622
|
-
//
|
|
25623
|
-
//
|
|
25624
|
-
//
|
|
25625
|
-
//
|
|
25626
|
-
//
|
|
25627
|
-
//
|
|
25628
|
-
//
|
|
25629
|
-
//
|
|
25630
|
-
//
|
|
25631
|
-
//
|
|
25632
|
-
//
|
|
25633
|
-
//
|
|
25634
|
-
//
|
|
25635
|
-
//
|
|
25636
|
-
//
|
|
25637
|
-
//
|
|
25638
|
-
//
|
|
25639
|
-
//
|
|
25640
|
-
//
|
|
25641
|
-
//
|
|
25642
|
-
//
|
|
25643
|
-
//
|
|
25644
|
-
//
|
|
25645
|
-
//
|
|
25646
|
-
//
|
|
25647
|
-
//
|
|
25648
|
-
//
|
|
25649
|
-
//
|
|
25650
|
-
//
|
|
25651
|
-
//
|
|
25652
|
-
//
|
|
25653
|
-
//
|
|
25654
|
-
//
|
|
25655
|
-
//
|
|
25656
|
-
//
|
|
25657
|
-
//
|
|
25658
|
-
//
|
|
25659
|
-
//
|
|
25660
|
-
//
|
|
25661
|
-
//
|
|
25662
|
-
//
|
|
25663
|
-
//
|
|
25664
|
-
//
|
|
25665
|
-
//
|
|
25666
|
-
//
|
|
25667
|
-
//
|
|
25668
|
-
//
|
|
25669
|
-
//
|
|
25670
|
-
//
|
|
25671
|
-
//
|
|
25220
|
+
url: requestParams.url,
|
|
25221
|
+
method: 'get'
|
|
25222
|
+
}).then(resp => {
|
|
25223
|
+
if (treeDialog.displayfield && treeDialog.resultfield) {
|
|
25224
|
+
let displayField = JSON.parse(treeDialog.displayfield);
|
|
25225
|
+
let resultfield = JSON.parse(treeDialog.resultfield);
|
|
25226
|
+
this.defaultProps.label = displayField.displayName;
|
|
25227
|
+
this.treeList = resp;
|
|
25228
|
+
this.combiTreeDisplayField = displayField;
|
|
25229
|
+
this.combinationTreeData = this.toTreeData(resp, displayField.id, displayField.pid, displayField.displayName, displayField.pvalue ? displayField.pvalue : '0', resultfield);
|
|
25230
|
+
}
|
|
25231
|
+
});
|
|
25232
|
+
});
|
|
25233
|
+
},
|
|
25234
|
+
//打开树形动态参数输入值的对话框
|
|
25235
|
+
handleSave() {
|
|
25236
|
+
this.customDialogTreeShow(this.pageParam);
|
|
25237
|
+
this.dialogVisible = false;
|
|
25238
|
+
},
|
|
25239
|
+
//关闭树形动态参数输入值的对话框
|
|
25240
|
+
handleClose() {
|
|
25241
|
+
this.dialogVisible = false;
|
|
25242
|
+
}
|
|
25243
|
+
}
|
|
25244
|
+
});
|
|
25245
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=script&lang=js&
|
|
25246
|
+
/* harmony default export */ var src_customDialogvue_type_script_lang_js_ = (customDialogvue_type_script_lang_js_);
|
|
25247
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=3a57945e&prod&lang=scss&scoped=true&
|
|
25248
|
+
var customDialogvue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true_ = __webpack_require__("7ff9");
|
|
25249
|
+
|
|
25250
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue
|
|
25251
|
+
|
|
25252
|
+
|
|
25253
|
+
|
|
25254
|
+
|
|
25255
|
+
|
|
25256
|
+
|
|
25257
|
+
/* normalize component */
|
|
25258
|
+
|
|
25259
|
+
var customDialog_component = normalizeComponent(
|
|
25260
|
+
src_customDialogvue_type_script_lang_js_,
|
|
25261
|
+
customDialogvue_type_template_id_3a57945e_scoped_true_render,
|
|
25262
|
+
customDialogvue_type_template_id_3a57945e_scoped_true_staticRenderFns,
|
|
25263
|
+
false,
|
|
25264
|
+
null,
|
|
25265
|
+
"3a57945e",
|
|
25266
|
+
null
|
|
25267
|
+
|
|
25268
|
+
)
|
|
25269
|
+
|
|
25270
|
+
/* harmony default export */ var CustomDialog_src_customDialog = (customDialog_component.exports);
|
|
25271
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=1661eebb&scoped=true&
|
|
25272
|
+
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":{
|
|
25273
|
+
alias: condition.config.customQuery.alias,
|
|
25274
|
+
valueBind: condition.config.customQuery.valueBind,
|
|
25275
|
+
noInit: '',
|
|
25276
|
+
labelBind: condition.config.customQuery.labelBind,
|
|
25277
|
+
gangedBind: '{}',
|
|
25278
|
+
bind: condition.config.bind,
|
|
25279
|
+
},"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(
|
|
25280
|
+
function (k) { return k.defaultType == '4'; }
|
|
25281
|
+
)),function(item,$index){return _c('div',{key:$index},[(item.type != 'date')?_c('van-field',{attrs:{"label":item.comment,"placeholder":'请输入' + item.comment},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e(),(item.type == 'date')?_c('ht-date',{staticStyle:{"width":"100%"},attrs:{"placeholder":'请选择' + item.comment,"format":"yyyy-MM-dd"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e()],1)}),0)],1),_c('van-action-sheet',{staticClass:"mobile-van-action",attrs:{"cancel-text":_vm.sureButtonText,"get-container":"body"},on:{"cancel":_vm.dialogTreeConfirm},scopedSlots:_vm._u([{key:"description",fn:function(){return [_c('span',{staticClass:"dialog-mobile__title"},[_vm._v(_vm._s(_vm.customDialog.name))]),_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":_vm.dialogCancelTree}})]},proxy:true}]),model:{value:(_vm.customDialogShowTree),callback:function ($$v) {_vm.customDialogShowTree=$$v},expression:"customDialogShowTree"}},[_c('el-tree',{ref:"tree",staticStyle:{"width":"100%"},attrs:{"data":_vm.props1,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","show-checkbox":_vm.customDialog.selectNum === -1,"check-on-click-node":true,"check-strictly":false,"lazy":"","load":_vm.loadTree,"default-expanded-keys":_vm.defaultExpandedKeys},on:{"node-click":_vm.treeClick,"check-change":_vm.getChecked}})],1)],1)}
|
|
25282
|
+
var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns = []
|
|
25283
|
+
|
|
25284
|
+
|
|
25285
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=1661eebb&scoped=true&
|
|
25286
|
+
|
|
25287
|
+
// 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&
|
|
25672
25288
|
//
|
|
25673
25289
|
//
|
|
25674
25290
|
//
|
|
@@ -25948,17 +25564,10 @@ var customMobileDialogvue_type_template_id_51151f21_scoped_true_staticRenderFns
|
|
|
25948
25564
|
subIndex: Number,
|
|
25949
25565
|
sunIndex: Number,
|
|
25950
25566
|
subPath: String,
|
|
25951
|
-
currentSubData: Array
|
|
25952
|
-
dialogConfig: Object,
|
|
25953
|
-
dialogType: String
|
|
25567
|
+
currentSubData: Array
|
|
25954
25568
|
},
|
|
25955
25569
|
data() {
|
|
25956
25570
|
return {
|
|
25957
|
-
dateType: 'date',
|
|
25958
|
-
currentDate: '',
|
|
25959
|
-
// 当前日期
|
|
25960
|
-
isShowDatePop: false,
|
|
25961
|
-
// 是否显示日期选择控件
|
|
25962
25571
|
isShowMoreSearch: false,
|
|
25963
25572
|
treeSelectText: '',
|
|
25964
25573
|
// 组合树时选中的查询条件
|
|
@@ -26038,47 +25647,9 @@ var customMobileDialogvue_type_template_id_51151f21_scoped_true_staticRenderFns
|
|
|
26038
25647
|
sureButtonText() {
|
|
26039
25648
|
const selectedText = this.selectIds.length > 0 ? `(${this.selectIds.length})` : '';
|
|
26040
25649
|
return `${this.$t('ht.common.confirm')}${selectedText}`;
|
|
26041
|
-
},
|
|
26042
|
-
jumpParamKey() {
|
|
26043
|
-
return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
|
|
26044
|
-
},
|
|
26045
|
-
// 是否保存成跳转url参数
|
|
26046
|
-
isHaveJumpUrl() {
|
|
26047
|
-
return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
26048
|
-
},
|
|
26049
|
-
sortDisplayfield() {
|
|
26050
|
-
return this.displayfield.sort((a, b) => {
|
|
26051
|
-
return a.sort > b.sort ? 1 : -1;
|
|
26052
|
-
});
|
|
26053
25650
|
}
|
|
26054
25651
|
},
|
|
26055
25652
|
methods: {
|
|
26056
|
-
// 获取已选择的选择器数据id
|
|
26057
|
-
getSelectId(data) {
|
|
26058
|
-
if (!data || !data.length) {
|
|
26059
|
-
return '';
|
|
26060
|
-
}
|
|
26061
|
-
let ids = [];
|
|
26062
|
-
data.forEach(item => {
|
|
26063
|
-
ids.push(item.id);
|
|
26064
|
-
});
|
|
26065
|
-
return ids.join(',');
|
|
26066
|
-
},
|
|
26067
|
-
showDate(index, key) {
|
|
26068
|
-
this.dateType = this.conditionBind[index].config.inputFormat.includes('mm:') ? 'datetime' : 'date';
|
|
26069
|
-
this.currentDateData = {
|
|
26070
|
-
index,
|
|
26071
|
-
key
|
|
26072
|
-
};
|
|
26073
|
-
this.currentDate = this.queryParams[index][key] ? new Date(this.queryParams[index][key].replace(/-/g, '/')) : new Date();
|
|
26074
|
-
this.isShowDatePop = true;
|
|
26075
|
-
},
|
|
26076
|
-
// 日期确认
|
|
26077
|
-
confirmFn() {
|
|
26078
|
-
let currentConfig = this.conditionBind[this.currentDateData.index];
|
|
26079
|
-
this.queryParams[this.currentDateData.index][this.currentDateData.key] = this.currentDate.format(currentConfig.config.inputFormat);
|
|
26080
|
-
this.isShowDatePop = false;
|
|
26081
|
-
},
|
|
26082
25653
|
searchInputChange() {
|
|
26083
25654
|
if (!this.isShowMoreSearch) {
|
|
26084
25655
|
this.search(true);
|
|
@@ -26124,121 +25695,112 @@ var customMobileDialogvue_type_template_id_51151f21_scoped_true_staticRenderFns
|
|
|
26124
25695
|
this.search(true);
|
|
26125
25696
|
},
|
|
26126
25697
|
showDialog() {
|
|
25698
|
+
const this_ = this;
|
|
26127
25699
|
this.fixedParams = {};
|
|
26128
|
-
// 如果已存在配置信息就不去请求配置信息 直接初始化数据
|
|
26129
|
-
if (this.dialogConfig) {
|
|
26130
|
-
this.initDialog(this.dialogConfig);
|
|
26131
|
-
return;
|
|
26132
|
-
}
|
|
26133
25700
|
var alias = this.custdialog.custDialog.alias;
|
|
26134
25701
|
this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
|
|
26135
|
-
|
|
26136
|
-
|
|
26137
|
-
|
|
26138
|
-
initDialog(customDialog) {
|
|
26139
|
-
let alias = this.custdialog.custDialog.alias;
|
|
26140
|
-
const this_ = this;
|
|
26141
|
-
if (!customDialog || !customDialog.alias) {
|
|
26142
|
-
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
26143
|
-
return;
|
|
26144
|
-
}
|
|
26145
|
-
if (customDialog.style == 1) {
|
|
26146
|
-
var displaylist = JSON.parse(customDialog.displayfield);
|
|
26147
|
-
this_.nodeKey = displaylist.id;
|
|
26148
|
-
}
|
|
26149
|
-
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
26150
|
-
let obj = {};
|
|
26151
|
-
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
26152
|
-
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
26153
|
-
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
26154
|
-
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
26155
|
-
if (exp) {
|
|
26156
|
-
const params = JSON.parse(exp);
|
|
26157
|
-
if (params.pageBean) {
|
|
26158
|
-
this.pagination = {
|
|
26159
|
-
...params.pageBean
|
|
26160
|
-
};
|
|
26161
|
-
}
|
|
25702
|
+
if (!customDialog || !customDialog.alias) {
|
|
25703
|
+
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
25704
|
+
return;
|
|
26162
25705
|
}
|
|
26163
|
-
|
|
26164
|
-
|
|
26165
|
-
|
|
26166
|
-
|
|
26167
|
-
|
|
26168
|
-
|
|
26169
|
-
|
|
26170
|
-
|
|
26171
|
-
|
|
26172
|
-
|
|
26173
|
-
|
|
26174
|
-
|
|
26175
|
-
|
|
26176
|
-
|
|
26177
|
-
|
|
26178
|
-
|
|
26179
|
-
|
|
25706
|
+
if (customDialog.style == 1) {
|
|
25707
|
+
var displaylist = JSON.parse(customDialog.displayfield);
|
|
25708
|
+
this_.nodeKey = displaylist.id;
|
|
25709
|
+
}
|
|
25710
|
+
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
25711
|
+
let obj = {};
|
|
25712
|
+
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
25713
|
+
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
25714
|
+
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
25715
|
+
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
25716
|
+
if (exp) {
|
|
25717
|
+
const params = JSON.parse(exp);
|
|
25718
|
+
if (params.pageBean) {
|
|
25719
|
+
this.pagination = {
|
|
25720
|
+
...params.pageBean
|
|
25721
|
+
};
|
|
25722
|
+
}
|
|
26180
25723
|
}
|
|
26181
|
-
}
|
|
26182
|
-
|
|
25724
|
+
}
|
|
25725
|
+
//对话框按表单字段查询(参数传入的)
|
|
25726
|
+
let bindList = this_.custdialog.custDialog.conditions;
|
|
25727
|
+
this_.param = []; //绑定的表单字段
|
|
25728
|
+
if (bindList.length > 0) {
|
|
25729
|
+
bindList.forEach(ele => {
|
|
25730
|
+
//绑定表单字段
|
|
25731
|
+
if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
|
|
25732
|
+
let obj = {};
|
|
25733
|
+
obj.field = ele.field;
|
|
25734
|
+
obj.bind = ele.bind;
|
|
25735
|
+
obj.bindType = ele.bindType;
|
|
25736
|
+
this_.param.push(obj);
|
|
25737
|
+
}
|
|
25738
|
+
// bindType 1 表单字段 2固定 3脚本
|
|
25739
|
+
if (ele.defaultType == '3' && ele.bindType === 2) {
|
|
25740
|
+
this_.fixedParams[ele.field] = ele.bind || '';
|
|
25741
|
+
}
|
|
25742
|
+
});
|
|
25743
|
+
}
|
|
26183
25744
|
|
|
26184
|
-
|
|
26185
|
-
|
|
26186
|
-
|
|
26187
|
-
|
|
26188
|
-
|
|
26189
|
-
|
|
26190
|
-
|
|
26191
|
-
|
|
26192
|
-
|
|
26193
|
-
|
|
26194
|
-
|
|
26195
|
-
|
|
26196
|
-
|
|
26197
|
-
|
|
26198
|
-
|
|
26199
|
-
|
|
26200
|
-
|
|
26201
|
-
|
|
26202
|
-
|
|
26203
|
-
|
|
26204
|
-
|
|
26205
|
-
|
|
26206
|
-
|
|
26207
|
-
|
|
26208
|
-
|
|
26209
|
-
|
|
26210
|
-
|
|
26211
|
-
|
|
26212
|
-
|
|
26213
|
-
|
|
26214
|
-
|
|
26215
|
-
|
|
26216
|
-
|
|
26217
|
-
|
|
26218
|
-
|
|
26219
|
-
|
|
26220
|
-
|
|
26221
|
-
|
|
26222
|
-
|
|
26223
|
-
|
|
26224
|
-
|
|
26225
|
-
|
|
26226
|
-
|
|
26227
|
-
|
|
26228
|
-
|
|
26229
|
-
|
|
25745
|
+
//判断对话框查询是否有条件
|
|
25746
|
+
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
25747
|
+
this_.conditionBind = [];
|
|
25748
|
+
let queryParams = [];
|
|
25749
|
+
let placeholders = [];
|
|
25750
|
+
if (userInputList.length > 0) {
|
|
25751
|
+
userInputList.forEach(ele => {
|
|
25752
|
+
var obj = {};
|
|
25753
|
+
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
25754
|
+
if (ele.defaultType == '1') {
|
|
25755
|
+
obj[ele.field] = '';
|
|
25756
|
+
queryParams.push(obj);
|
|
25757
|
+
// queryParams[ele.field] = "";
|
|
25758
|
+
this_.conditionBind.push(ele);
|
|
25759
|
+
placeholders.push('请输入' + ele.comment);
|
|
25760
|
+
}
|
|
25761
|
+
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
25762
|
+
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
25763
|
+
}
|
|
25764
|
+
});
|
|
25765
|
+
this.$set(this, 'queryParams', queryParams);
|
|
25766
|
+
this.$set(this, 'placeholders', placeholders);
|
|
25767
|
+
}
|
|
25768
|
+
if (customDialog.style == 0 || customDialog.style == 2) {
|
|
25769
|
+
//列表
|
|
25770
|
+
this_.customDialogShow({
|
|
25771
|
+
alias: alias,
|
|
25772
|
+
customDialog: customDialog
|
|
25773
|
+
});
|
|
25774
|
+
} else if (customDialog.style == 1) {
|
|
25775
|
+
//树形
|
|
25776
|
+
this_.pageParam = {
|
|
25777
|
+
alias: alias,
|
|
25778
|
+
customDialog: customDialog
|
|
25779
|
+
};
|
|
25780
|
+
this_.customDialog = customDialog;
|
|
25781
|
+
let param = {};
|
|
25782
|
+
this_.conditionfieldTree = [];
|
|
25783
|
+
//判断是否存在条件
|
|
25784
|
+
if (customDialog.conditionfield) {
|
|
25785
|
+
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
25786
|
+
if (this_.conditionfieldTree.length > 0) {
|
|
25787
|
+
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
25788
|
+
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
25789
|
+
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
25790
|
+
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
25791
|
+
}
|
|
26230
25792
|
}
|
|
26231
25793
|
}
|
|
26232
25794
|
}
|
|
25795
|
+
//有动态传入的字段
|
|
25796
|
+
if (JSON.stringify(param) != '{}') {
|
|
25797
|
+
this_.dialogVisible = true;
|
|
25798
|
+
} else {
|
|
25799
|
+
//无动态传入的字段
|
|
25800
|
+
this_.customDialogTreeShow(this_.pageParam);
|
|
25801
|
+
}
|
|
26233
25802
|
}
|
|
26234
|
-
|
|
26235
|
-
if (JSON.stringify(param) != '{}') {
|
|
26236
|
-
this_.dialogVisible = true;
|
|
26237
|
-
} else {
|
|
26238
|
-
//无动态传入的字段
|
|
26239
|
-
this_.customDialogTreeShow(this_.pageParam);
|
|
26240
|
-
}
|
|
26241
|
-
}
|
|
25803
|
+
});
|
|
26242
25804
|
},
|
|
26243
25805
|
treeClick(data) {
|
|
26244
25806
|
// 单选
|
|
@@ -26356,13 +25918,13 @@ var customMobileDialogvue_type_template_id_51151f21_scoped_true_staticRenderFns
|
|
|
26356
25918
|
}
|
|
26357
25919
|
// 添加用户id 岗位id 组织id
|
|
26358
25920
|
try {
|
|
26359
|
-
if (this.$requestConfig.getUserId
|
|
25921
|
+
if (this.$requestConfig.getUserId()) {
|
|
26360
25922
|
ctx.userId = this.$requestConfig.getUserId();
|
|
26361
25923
|
}
|
|
26362
|
-
if (this.$requestConfig.getOrgId
|
|
25924
|
+
if (this.$requestConfig.getOrgId()) {
|
|
26363
25925
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
26364
25926
|
}
|
|
26365
|
-
if (this.$requestConfig.getPostId
|
|
25927
|
+
if (this.$requestConfig.getPostId()) {
|
|
26366
25928
|
ctx.postId = this.$requestConfig.getPostId();
|
|
26367
25929
|
}
|
|
26368
25930
|
} catch (e) {
|
|
@@ -26447,13 +26009,8 @@ var customMobileDialogvue_type_template_id_51151f21_scoped_true_staticRenderFns
|
|
|
26447
26009
|
this.selectOrgs = this.convertComment2Field(str, field);
|
|
26448
26010
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
26449
26011
|
var val = '';
|
|
26450
|
-
str.forEach(
|
|
26451
|
-
|
|
26452
|
-
if (this.jumpParamKey && this.isHaveJumpUrl && (this.modelName == 'data.' + con['target'][0] || this.modelName.includes('item.') && con['target'][0].endsWith(this.modelName.split('.')[1]))) {
|
|
26453
|
-
val += `${item[con.from]}¯${this.jumpParamKey}:${this.selectOrgs[index][this.jumpParamKey]},`;
|
|
26454
|
-
} else {
|
|
26455
|
-
val += item[con.from] + ',';
|
|
26456
|
-
}
|
|
26012
|
+
str.forEach(item => {
|
|
26013
|
+
val += item[con.from] + ',';
|
|
26457
26014
|
});
|
|
26458
26015
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
26459
26016
|
utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
|
|
@@ -26526,19 +26083,6 @@ var customMobileDialogvue_type_template_id_51151f21_scoped_true_staticRenderFns
|
|
|
26526
26083
|
//用户输入的
|
|
26527
26084
|
if (this.queryParams.length != 0 && this.queryParams[0] != '') {
|
|
26528
26085
|
this.conditionBind.forEach((item, index) => {
|
|
26529
|
-
// 日期范围特殊处理
|
|
26530
|
-
if (item.dbType == 'date' && item.condition == 'BETWEEN') {
|
|
26531
|
-
if (this.queryParams[index].startDate && !this.queryParams[index].endDate || !this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
26532
|
-
flag = true;
|
|
26533
|
-
this.$message.info('日期范围未填写完整!');
|
|
26534
|
-
return;
|
|
26535
|
-
}
|
|
26536
|
-
if (this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
26537
|
-
this.queryParams[index][item.field] = `${this.queryParams[index].startDate},${this.queryParams[index].endDate}`;
|
|
26538
|
-
} else {
|
|
26539
|
-
this.queryParams[index][item.field] = '';
|
|
26540
|
-
}
|
|
26541
|
-
}
|
|
26542
26086
|
if (this.queryParams[index][item.field]) {
|
|
26543
26087
|
querys.push({
|
|
26544
26088
|
property: item.field,
|
|
@@ -26587,13 +26131,13 @@ var customMobileDialogvue_type_template_id_51151f21_scoped_true_staticRenderFns
|
|
|
26587
26131
|
ctx.total = pageBean.pageBean.total;
|
|
26588
26132
|
// 添加用户id 岗位id 组织id
|
|
26589
26133
|
try {
|
|
26590
|
-
if (this.$requestConfig.getUserId
|
|
26134
|
+
if (this.$requestConfig.getUserId()) {
|
|
26591
26135
|
ctx.userId = this.$requestConfig.getUserId();
|
|
26592
26136
|
}
|
|
26593
|
-
if (this.$requestConfig.getOrgId
|
|
26137
|
+
if (this.$requestConfig.getOrgId()) {
|
|
26594
26138
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
26595
26139
|
}
|
|
26596
|
-
if (this.$requestConfig.getPostId
|
|
26140
|
+
if (this.$requestConfig.getPostId()) {
|
|
26597
26141
|
ctx.postId = this.$requestConfig.getPostId();
|
|
26598
26142
|
}
|
|
26599
26143
|
} catch (e) {
|
|
@@ -26621,8 +26165,6 @@ var customMobileDialogvue_type_template_id_51151f21_scoped_true_staticRenderFns
|
|
|
26621
26165
|
} else {
|
|
26622
26166
|
param.pageBean.pageSize = -1;
|
|
26623
26167
|
}
|
|
26624
|
-
// 日期格式的 改成数组
|
|
26625
|
-
// this.changeDateFormat(param)
|
|
26626
26168
|
//构造请求的参数
|
|
26627
26169
|
let requestParam = {
|
|
26628
26170
|
pageBean: param,
|
|
@@ -26658,15 +26200,6 @@ var customMobileDialogvue_type_template_id_51151f21_scoped_true_staticRenderFns
|
|
|
26658
26200
|
}
|
|
26659
26201
|
}
|
|
26660
26202
|
},
|
|
26661
|
-
changeDateFormat(param) {
|
|
26662
|
-
let dateValidate1 = /^\d{4}\-\d{2}\-\d{2}$/;
|
|
26663
|
-
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$/;
|
|
26664
|
-
Object.keys(param).forEach(key => {
|
|
26665
|
-
if (param[key] && typeof param[key] == 'string' && param[key].includes(',') && (dateValidate1.test(param[key].split(',')[0]) || dateValidate2.test(param[key].split(',')[0]))) {
|
|
26666
|
-
param[key] = param[key].split(',');
|
|
26667
|
-
}
|
|
26668
|
-
});
|
|
26669
|
-
},
|
|
26670
26203
|
getSearchValueByKey() {
|
|
26671
26204
|
let queryParamsObj = {};
|
|
26672
26205
|
if (this.queryParams.length > 0) {
|
|
@@ -26865,31 +26398,13 @@ var customMobileDialogvue_type_template_id_51151f21_scoped_true_staticRenderFns
|
|
|
26865
26398
|
}
|
|
26866
26399
|
}
|
|
26867
26400
|
}
|
|
26868
|
-
// 如果是查询中使用的对话框
|
|
26869
|
-
if (this.dialogType == 'search') {
|
|
26870
|
-
let returnVal = [];
|
|
26871
|
-
str.forEach(item => {
|
|
26872
|
-
returnVal.push(decodeURIComponent(item[this.modelName]));
|
|
26873
|
-
});
|
|
26874
|
-
this.$emit('updateInput', returnVal.join(','));
|
|
26875
|
-
return;
|
|
26876
|
-
}
|
|
26877
26401
|
const pInst = utils["a" /* default */].getOnlineFormInstance(this);
|
|
26878
26402
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
26879
26403
|
var val = '';
|
|
26880
26404
|
var from = con.from.toLowerCase();
|
|
26881
26405
|
str.forEach(item => {
|
|
26882
26406
|
if (item) {
|
|
26883
|
-
|
|
26884
|
-
// 需根据key 找到对应 返回数据的返回名称
|
|
26885
|
-
let returnMap = returnStr.find(k => {
|
|
26886
|
-
return k.field.toLowerCase() == this.jumpParamKey.toLowerCase();
|
|
26887
|
-
});
|
|
26888
|
-
let returnMapKey = returnMap ? returnMap.comment : '';
|
|
26889
|
-
val += `${decodeURIComponent(item[from])}¯${this.jumpParamKey}:${decodeURIComponent(item[returnMapKey])},`;
|
|
26890
|
-
} else {
|
|
26891
|
-
val += decodeURIComponent(item[from]) + ',';
|
|
26892
|
-
}
|
|
26407
|
+
val += decodeURIComponent(item[from]) + ',';
|
|
26893
26408
|
}
|
|
26894
26409
|
});
|
|
26895
26410
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
@@ -26926,6 +26441,20 @@ var customMobileDialogvue_type_template_id_51151f21_scoped_true_staticRenderFns
|
|
|
26926
26441
|
}
|
|
26927
26442
|
}
|
|
26928
26443
|
},
|
|
26444
|
+
// getSelected() {
|
|
26445
|
+
// let arr = []
|
|
26446
|
+
// this.selectIds.forEach((item) => {
|
|
26447
|
+
// debugger
|
|
26448
|
+
// let obj = this.dialogData.find((sub) => {
|
|
26449
|
+
// return sub.id_ === item
|
|
26450
|
+
// })
|
|
26451
|
+
// if (obj) {
|
|
26452
|
+
// arr.push(obj)
|
|
26453
|
+
// }
|
|
26454
|
+
// })
|
|
26455
|
+
|
|
26456
|
+
// return arr
|
|
26457
|
+
// },
|
|
26929
26458
|
calacInputSuffixHeight() {
|
|
26930
26459
|
this.$emit('calacInputSuffixHeight');
|
|
26931
26460
|
},
|
|
@@ -27127,11 +26656,11 @@ var customMobileDialogvue_type_template_id_51151f21_scoped_true_staticRenderFns
|
|
|
27127
26656
|
});
|
|
27128
26657
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=script&lang=js&
|
|
27129
26658
|
/* harmony default export */ var src_customMobileDialogvue_type_script_lang_js_ = (customMobileDialogvue_type_script_lang_js_);
|
|
27130
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=
|
|
27131
|
-
var
|
|
26659
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=1661eebb&prod&lang=scss&scoped=true&
|
|
26660
|
+
var customMobileDialogvue_type_style_index_0_id_1661eebb_prod_lang_scss_scoped_true_ = __webpack_require__("de6a");
|
|
27132
26661
|
|
|
27133
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=
|
|
27134
|
-
var
|
|
26662
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=1661eebb&prod&lang=scss&
|
|
26663
|
+
var customMobileDialogvue_type_style_index_1_id_1661eebb_prod_lang_scss_ = __webpack_require__("49f9");
|
|
27135
26664
|
|
|
27136
26665
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue
|
|
27137
26666
|
|
|
@@ -27145,11 +26674,11 @@ var customMobileDialogvue_type_style_index_1_id_51151f21_prod_lang_scss_ = __web
|
|
|
27145
26674
|
|
|
27146
26675
|
var customMobileDialog_component = normalizeComponent(
|
|
27147
26676
|
src_customMobileDialogvue_type_script_lang_js_,
|
|
27148
|
-
|
|
27149
|
-
|
|
26677
|
+
customMobileDialogvue_type_template_id_1661eebb_scoped_true_render,
|
|
26678
|
+
customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns,
|
|
27150
26679
|
false,
|
|
27151
26680
|
null,
|
|
27152
|
-
"
|
|
26681
|
+
"1661eebb",
|
|
27153
26682
|
null
|
|
27154
26683
|
|
|
27155
26684
|
)
|
|
@@ -27293,17 +26822,6 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27293
26822
|
//
|
|
27294
26823
|
//
|
|
27295
26824
|
//
|
|
27296
|
-
//
|
|
27297
|
-
//
|
|
27298
|
-
//
|
|
27299
|
-
//
|
|
27300
|
-
//
|
|
27301
|
-
//
|
|
27302
|
-
//
|
|
27303
|
-
//
|
|
27304
|
-
//
|
|
27305
|
-
//
|
|
27306
|
-
//
|
|
27307
26825
|
|
|
27308
26826
|
|
|
27309
26827
|
|
|
@@ -27335,17 +26853,10 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27335
26853
|
subIndex: Number,
|
|
27336
26854
|
sunIndex: Number,
|
|
27337
26855
|
subPath: String,
|
|
27338
|
-
currentSubData: Array
|
|
27339
|
-
dialogType: {
|
|
27340
|
-
// search表示在查询条件使用 form表示在表单中使用
|
|
27341
|
-
type: String,
|
|
27342
|
-
default: 'form'
|
|
27343
|
-
}
|
|
26856
|
+
currentSubData: Array
|
|
27344
26857
|
},
|
|
27345
26858
|
data() {
|
|
27346
26859
|
return {
|
|
27347
|
-
dialogConfig: null,
|
|
27348
|
-
// 对话框配置信息
|
|
27349
26860
|
isEditInputShow: false,
|
|
27350
26861
|
customValue: '',
|
|
27351
26862
|
defualtTooltipplacement: 'bottom',
|
|
@@ -27394,24 +26905,9 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27394
26905
|
}
|
|
27395
26906
|
let result = [];
|
|
27396
26907
|
nameAry.forEach(m => {
|
|
27397
|
-
|
|
27398
|
-
|
|
27399
|
-
|
|
27400
|
-
if (m.includes('¯') && m.split('¯')[1] || m.includes('ˉ') && m.split('ˉ')[1]) {
|
|
27401
|
-
let val1 = m.includes('¯') ? m.split('¯')[0] : m.split('ˉ')[0];
|
|
27402
|
-
let val2 = m.includes('¯') ? m.split('¯')[1] : m.split('ˉ')[1];
|
|
27403
|
-
n.value = val1;
|
|
27404
|
-
let jumpParamStr = val2;
|
|
27405
|
-
if (jumpParamStr) {
|
|
27406
|
-
let jumpParam = jumpParamStr.split(':');
|
|
27407
|
-
n.jumpParamKey = jumpParam[0];
|
|
27408
|
-
n.jumpParamValue = jumpParam[1];
|
|
27409
|
-
}
|
|
27410
|
-
} else {
|
|
27411
|
-
n = {
|
|
27412
|
-
value: m
|
|
27413
|
-
};
|
|
27414
|
-
}
|
|
26908
|
+
let n = {
|
|
26909
|
+
value: m
|
|
26910
|
+
};
|
|
27415
26911
|
result.push(n);
|
|
27416
26912
|
});
|
|
27417
26913
|
return result;
|
|
@@ -27419,16 +26915,8 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27419
26915
|
},
|
|
27420
26916
|
isAllowCustom() {
|
|
27421
26917
|
return this.custdialog && this.custdialog.allowInput;
|
|
27422
|
-
},
|
|
27423
|
-
// 是否展示可跳转颜色
|
|
27424
|
-
isSrcColor() {
|
|
27425
|
-
return this.dialogConfig && this.dialogType !== 'search' && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
27426
26918
|
}
|
|
27427
26919
|
},
|
|
27428
|
-
created() {
|
|
27429
|
-
// 获取对话框配置,看是否有配置url跳转
|
|
27430
|
-
this.getDialogConfig();
|
|
27431
|
-
},
|
|
27432
26920
|
mounted() {
|
|
27433
26921
|
setTimeout(() => {
|
|
27434
26922
|
const {
|
|
@@ -27446,69 +26934,9 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27446
26934
|
}
|
|
27447
26935
|
//获取对话框按钮名称宽度
|
|
27448
26936
|
this.calacInputSuffixWidth();
|
|
27449
|
-
if (this.value && this.inputWriteable) {
|
|
27450
|
-
this.calacInputSuffixHeight();
|
|
27451
|
-
}
|
|
27452
26937
|
}, 50);
|
|
27453
26938
|
},
|
|
27454
26939
|
methods: {
|
|
27455
|
-
// 跳转url页面
|
|
27456
|
-
jumpUrl(item) {
|
|
27457
|
-
if (!this.isSrcColor) {
|
|
27458
|
-
if (this.inputWriteable) {
|
|
27459
|
-
this.showEditInput();
|
|
27460
|
-
}
|
|
27461
|
-
return;
|
|
27462
|
-
}
|
|
27463
|
-
let url = this.isMobile ? this.dialogConfig.mobileUrl : this.dialogConfig.pcUrl;
|
|
27464
|
-
// 获取通用token 和 url翻译
|
|
27465
|
-
Promise.all([this.$requestConfig.getThreeTreeToken(), this.transformUrl(url)]).then(res => {
|
|
27466
|
-
if (res[0] && res[0].code == 200) {
|
|
27467
|
-
let token = res[0].value;
|
|
27468
|
-
let endUrl = res[1];
|
|
27469
|
-
// 拼接参数 token和参数
|
|
27470
|
-
if (endUrl.indexOf('?') == -1) {
|
|
27471
|
-
endUrl += `?bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
|
|
27472
|
-
} else {
|
|
27473
|
-
endUrl += `&bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
|
|
27474
|
-
}
|
|
27475
|
-
window.open(endUrl);
|
|
27476
|
-
} else {
|
|
27477
|
-
this.$message.info(res.message || '获取token失败!');
|
|
27478
|
-
}
|
|
27479
|
-
});
|
|
27480
|
-
},
|
|
27481
|
-
// 替换url中域名通配符 需要发送接口
|
|
27482
|
-
transformUrl(url) {
|
|
27483
|
-
return new Promise(resolve => {
|
|
27484
|
-
var reg = /(\$\{(\w+)\})/;
|
|
27485
|
-
var match = reg.exec(url);
|
|
27486
|
-
if (match) {
|
|
27487
|
-
let alias = match[2];
|
|
27488
|
-
if (alias) {
|
|
27489
|
-
this.$requestConfig.getHostByAlias(alias).then(res => {
|
|
27490
|
-
if (res && res.value && res.value.rootAddress) {
|
|
27491
|
-
resolve(url.replace(match[1], res.value.rootAddress));
|
|
27492
|
-
} else {
|
|
27493
|
-
resolve(url);
|
|
27494
|
-
}
|
|
27495
|
-
});
|
|
27496
|
-
} else {
|
|
27497
|
-
resolve(url);
|
|
27498
|
-
}
|
|
27499
|
-
} else {
|
|
27500
|
-
resolve(url);
|
|
27501
|
-
}
|
|
27502
|
-
});
|
|
27503
|
-
},
|
|
27504
|
-
// 获取对话框配置
|
|
27505
|
-
getDialogConfig() {
|
|
27506
|
-
if (this.custdialog && this.custdialog.custDialog && this.custdialog.custDialog.alias) this.$requestConfig.getCustomDialogByAlias(this.custdialog.custDialog.alias).then(response => {
|
|
27507
|
-
if (response) {
|
|
27508
|
-
this.dialogConfig = response;
|
|
27509
|
-
}
|
|
27510
|
-
});
|
|
27511
|
-
},
|
|
27512
26940
|
editInputBlur() {
|
|
27513
26941
|
this.$emit('input', this.customValue);
|
|
27514
26942
|
this.isEditInputShow = false;
|
|
@@ -27583,8 +27011,8 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27583
27011
|
});
|
|
27584
27012
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=script&lang=js&
|
|
27585
27013
|
/* harmony default export */ var packages_CustomDialog_src_mainvue_type_script_lang_js_ = (CustomDialog_src_mainvue_type_script_lang_js_);
|
|
27586
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=
|
|
27587
|
-
var
|
|
27014
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=0b5eb5e6&prod&lang=scss&scoped=true&
|
|
27015
|
+
var mainvue_type_style_index_0_id_0b5eb5e6_prod_lang_scss_scoped_true_ = __webpack_require__("be12");
|
|
27588
27016
|
|
|
27589
27017
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue
|
|
27590
27018
|
|
|
@@ -27597,11 +27025,11 @@ var mainvue_type_style_index_0_id_16ccb9a5_prod_lang_scss_scoped_true_ = __webpa
|
|
|
27597
27025
|
|
|
27598
27026
|
var CustomDialog_src_main_component = normalizeComponent(
|
|
27599
27027
|
packages_CustomDialog_src_mainvue_type_script_lang_js_,
|
|
27600
|
-
|
|
27601
|
-
|
|
27028
|
+
mainvue_type_template_id_0b5eb5e6_scoped_true_render,
|
|
27029
|
+
mainvue_type_template_id_0b5eb5e6_scoped_true_staticRenderFns,
|
|
27602
27030
|
false,
|
|
27603
27031
|
null,
|
|
27604
|
-
"
|
|
27032
|
+
"0b5eb5e6",
|
|
27605
27033
|
null
|
|
27606
27034
|
|
|
27607
27035
|
)
|