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
|
@@ -96,17 +96,6 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
96
96
|
/************************************************************************/
|
|
97
97
|
/******/ ({
|
|
98
98
|
|
|
99
|
-
/***/ "025c":
|
|
100
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
101
|
-
|
|
102
|
-
"use strict";
|
|
103
|
-
/* 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");
|
|
104
|
-
/* 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__);
|
|
105
|
-
/* unused harmony reexport * */
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
/***/ }),
|
|
109
|
-
|
|
110
99
|
/***/ "025e":
|
|
111
100
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
112
101
|
|
|
@@ -1242,17 +1231,6 @@ Date.prototype.format = function (format) {
|
|
|
1242
1231
|
|
|
1243
1232
|
// extracted by mini-css-extract-plugin
|
|
1244
1233
|
|
|
1245
|
-
/***/ }),
|
|
1246
|
-
|
|
1247
|
-
/***/ "04d0":
|
|
1248
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1249
|
-
|
|
1250
|
-
"use strict";
|
|
1251
|
-
/* 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");
|
|
1252
|
-
/* 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__);
|
|
1253
|
-
/* unused harmony reexport * */
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
1234
|
/***/ }),
|
|
1257
1235
|
|
|
1258
1236
|
/***/ "0627":
|
|
@@ -1681,6 +1659,13 @@ const btnList = [{
|
|
|
1681
1659
|
|
|
1682
1660
|
/***/ }),
|
|
1683
1661
|
|
|
1662
|
+
/***/ "0ca0":
|
|
1663
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1664
|
+
|
|
1665
|
+
// extracted by mini-css-extract-plugin
|
|
1666
|
+
|
|
1667
|
+
/***/ }),
|
|
1668
|
+
|
|
1684
1669
|
/***/ "0edb":
|
|
1685
1670
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1686
1671
|
|
|
@@ -1890,13 +1875,6 @@ const SubPagination = {
|
|
|
1890
1875
|
|
|
1891
1876
|
/***/ }),
|
|
1892
1877
|
|
|
1893
|
-
/***/ "190d":
|
|
1894
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1895
|
-
|
|
1896
|
-
// extracted by mini-css-extract-plugin
|
|
1897
|
-
|
|
1898
|
-
/***/ }),
|
|
1899
|
-
|
|
1900
1878
|
/***/ "1a07":
|
|
1901
1879
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1902
1880
|
|
|
@@ -1913,6 +1891,13 @@ const SubPagination = {
|
|
|
1913
1891
|
/* unused harmony reexport * */
|
|
1914
1892
|
|
|
1915
1893
|
|
|
1894
|
+
/***/ }),
|
|
1895
|
+
|
|
1896
|
+
/***/ "1ccc":
|
|
1897
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1898
|
+
|
|
1899
|
+
// extracted by mini-css-extract-plugin
|
|
1900
|
+
|
|
1916
1901
|
/***/ }),
|
|
1917
1902
|
|
|
1918
1903
|
/***/ "200a":
|
|
@@ -1970,13 +1955,6 @@ const SubPagination = {
|
|
|
1970
1955
|
/* unused harmony reexport * */
|
|
1971
1956
|
|
|
1972
1957
|
|
|
1973
|
-
/***/ }),
|
|
1974
|
-
|
|
1975
|
-
/***/ "26ac":
|
|
1976
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1977
|
-
|
|
1978
|
-
// extracted by mini-css-extract-plugin
|
|
1979
|
-
|
|
1980
1958
|
/***/ }),
|
|
1981
1959
|
|
|
1982
1960
|
/***/ "289a":
|
|
@@ -2083,6 +2061,13 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__289a__;
|
|
|
2083
2061
|
|
|
2084
2062
|
/***/ }),
|
|
2085
2063
|
|
|
2064
|
+
/***/ "333d":
|
|
2065
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2066
|
+
|
|
2067
|
+
// extracted by mini-css-extract-plugin
|
|
2068
|
+
|
|
2069
|
+
/***/ }),
|
|
2070
|
+
|
|
2086
2071
|
/***/ "33ce":
|
|
2087
2072
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2088
2073
|
|
|
@@ -2823,13 +2808,6 @@ Formulas.install = Vue => {
|
|
|
2823
2808
|
/* unused harmony reexport * */
|
|
2824
2809
|
|
|
2825
2810
|
|
|
2826
|
-
/***/ }),
|
|
2827
|
-
|
|
2828
|
-
/***/ "3d49":
|
|
2829
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2830
|
-
|
|
2831
|
-
// extracted by mini-css-extract-plugin
|
|
2832
|
-
|
|
2833
2811
|
/***/ }),
|
|
2834
2812
|
|
|
2835
2813
|
/***/ "3e5b":
|
|
@@ -2877,6 +2855,17 @@ Formulas.install = Vue => {
|
|
|
2877
2855
|
/* unused harmony reexport * */
|
|
2878
2856
|
|
|
2879
2857
|
|
|
2858
|
+
/***/ }),
|
|
2859
|
+
|
|
2860
|
+
/***/ "48f7":
|
|
2861
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2862
|
+
|
|
2863
|
+
"use strict";
|
|
2864
|
+
/* 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");
|
|
2865
|
+
/* 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__);
|
|
2866
|
+
/* unused harmony reexport * */
|
|
2867
|
+
|
|
2868
|
+
|
|
2880
2869
|
/***/ }),
|
|
2881
2870
|
|
|
2882
2871
|
/***/ "4919":
|
|
@@ -2909,6 +2898,17 @@ Formulas.install = Vue => {
|
|
|
2909
2898
|
|
|
2910
2899
|
// extracted by mini-css-extract-plugin
|
|
2911
2900
|
|
|
2901
|
+
/***/ }),
|
|
2902
|
+
|
|
2903
|
+
/***/ "49f9":
|
|
2904
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2905
|
+
|
|
2906
|
+
"use strict";
|
|
2907
|
+
/* 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");
|
|
2908
|
+
/* 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__);
|
|
2909
|
+
/* unused harmony reexport * */
|
|
2910
|
+
|
|
2911
|
+
|
|
2912
2912
|
/***/ }),
|
|
2913
2913
|
|
|
2914
2914
|
/***/ "4a17":
|
|
@@ -3047,13 +3047,6 @@ exports.clearImmediate = (typeof self !== "undefined" && self.clearImmediate) ||
|
|
|
3047
3047
|
|
|
3048
3048
|
/***/ }),
|
|
3049
3049
|
|
|
3050
|
-
/***/ "569e":
|
|
3051
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
3052
|
-
|
|
3053
|
-
// extracted by mini-css-extract-plugin
|
|
3054
|
-
|
|
3055
|
-
/***/ }),
|
|
3056
|
-
|
|
3057
3050
|
/***/ "5877":
|
|
3058
3051
|
/***/ (function(module, exports) {
|
|
3059
3052
|
|
|
@@ -4144,13 +4137,6 @@ const dict = {
|
|
|
4144
4137
|
|
|
4145
4138
|
/***/ }),
|
|
4146
4139
|
|
|
4147
|
-
/***/ "6ebe":
|
|
4148
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4149
|
-
|
|
4150
|
-
// extracted by mini-css-extract-plugin
|
|
4151
|
-
|
|
4152
|
-
/***/ }),
|
|
4153
|
-
|
|
4154
4140
|
/***/ "6f28":
|
|
4155
4141
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4156
4142
|
|
|
@@ -4258,23 +4244,19 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4258
4244
|
|
|
4259
4245
|
/***/ }),
|
|
4260
4246
|
|
|
4261
|
-
/***/ "
|
|
4262
|
-
/***/ (function(module,
|
|
4263
|
-
|
|
4264
|
-
"use strict";
|
|
4265
|
-
/* 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");
|
|
4266
|
-
/* 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__);
|
|
4267
|
-
/* unused harmony reexport * */
|
|
4247
|
+
/***/ "7c6e":
|
|
4248
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4268
4249
|
|
|
4250
|
+
// extracted by mini-css-extract-plugin
|
|
4269
4251
|
|
|
4270
4252
|
/***/ }),
|
|
4271
4253
|
|
|
4272
|
-
/***/ "
|
|
4254
|
+
/***/ "7d0a":
|
|
4273
4255
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4274
4256
|
|
|
4275
4257
|
"use strict";
|
|
4276
|
-
/* harmony import */ var
|
|
4277
|
-
/* harmony import */ var
|
|
4258
|
+
/* 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");
|
|
4259
|
+
/* 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__);
|
|
4278
4260
|
/* unused harmony reexport * */
|
|
4279
4261
|
|
|
4280
4262
|
|
|
@@ -4296,6 +4278,17 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4296
4278
|
|
|
4297
4279
|
// extracted by mini-css-extract-plugin
|
|
4298
4280
|
|
|
4281
|
+
/***/ }),
|
|
4282
|
+
|
|
4283
|
+
/***/ "7ff9":
|
|
4284
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4285
|
+
|
|
4286
|
+
"use strict";
|
|
4287
|
+
/* 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");
|
|
4288
|
+
/* 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__);
|
|
4289
|
+
/* unused harmony reexport * */
|
|
4290
|
+
|
|
4291
|
+
|
|
4299
4292
|
/***/ }),
|
|
4300
4293
|
|
|
4301
4294
|
/***/ "8262":
|
|
@@ -4731,7 +4724,14 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
4731
4724
|
/***/ "9224":
|
|
4732
4725
|
/***/ (function(module) {
|
|
4733
4726
|
|
|
4734
|
-
module.exports = JSON.parse("{\"a\":\"1.0.
|
|
4727
|
+
module.exports = JSON.parse("{\"a\":\"1.0.14\"}");
|
|
4728
|
+
|
|
4729
|
+
/***/ }),
|
|
4730
|
+
|
|
4731
|
+
/***/ "923d":
|
|
4732
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4733
|
+
|
|
4734
|
+
// extracted by mini-css-extract-plugin
|
|
4735
4735
|
|
|
4736
4736
|
/***/ }),
|
|
4737
4737
|
|
|
@@ -4856,6 +4856,13 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHoAAABMCAYAAACi
|
|
|
4856
4856
|
|
|
4857
4857
|
/***/ }),
|
|
4858
4858
|
|
|
4859
|
+
/***/ "a707":
|
|
4860
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4861
|
+
|
|
4862
|
+
// extracted by mini-css-extract-plugin
|
|
4863
|
+
|
|
4864
|
+
/***/ }),
|
|
4865
|
+
|
|
4859
4866
|
/***/ "a751":
|
|
4860
4867
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4861
4868
|
|
|
@@ -6435,10 +6442,14 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
|
|
|
6435
6442
|
|
|
6436
6443
|
/***/ }),
|
|
6437
6444
|
|
|
6438
|
-
/***/ "
|
|
6439
|
-
/***/ (function(module,
|
|
6445
|
+
/***/ "be12":
|
|
6446
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6447
|
+
|
|
6448
|
+
"use strict";
|
|
6449
|
+
/* 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");
|
|
6450
|
+
/* 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__);
|
|
6451
|
+
/* unused harmony reexport * */
|
|
6440
6452
|
|
|
6441
|
-
// extracted by mini-css-extract-plugin
|
|
6442
6453
|
|
|
6443
6454
|
/***/ }),
|
|
6444
6455
|
|
|
@@ -6458,6 +6469,17 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
|
|
|
6458
6469
|
|
|
6459
6470
|
module.exports = require("moment");
|
|
6460
6471
|
|
|
6472
|
+
/***/ }),
|
|
6473
|
+
|
|
6474
|
+
/***/ "c33b":
|
|
6475
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6476
|
+
|
|
6477
|
+
"use strict";
|
|
6478
|
+
/* 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");
|
|
6479
|
+
/* 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__);
|
|
6480
|
+
/* unused harmony reexport * */
|
|
6481
|
+
|
|
6482
|
+
|
|
6461
6483
|
/***/ }),
|
|
6462
6484
|
|
|
6463
6485
|
/***/ "c429":
|
|
@@ -6590,17 +6612,6 @@ module.exports = g;
|
|
|
6590
6612
|
/* unused harmony reexport * */
|
|
6591
6613
|
|
|
6592
6614
|
|
|
6593
|
-
/***/ }),
|
|
6594
|
-
|
|
6595
|
-
/***/ "cc2b":
|
|
6596
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6597
|
-
|
|
6598
|
-
"use strict";
|
|
6599
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_10f71c00_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("569e");
|
|
6600
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_10f71c00_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___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__);
|
|
6601
|
-
/* unused harmony reexport * */
|
|
6602
|
-
|
|
6603
|
-
|
|
6604
6615
|
/***/ }),
|
|
6605
6616
|
|
|
6606
6617
|
/***/ "cd87":
|
|
@@ -7155,23 +7166,23 @@ module.exports = require("deepmerge");
|
|
|
7155
7166
|
|
|
7156
7167
|
/***/ }),
|
|
7157
7168
|
|
|
7158
|
-
/***/ "
|
|
7169
|
+
/***/ "dccc":
|
|
7159
7170
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7160
7171
|
|
|
7161
7172
|
"use strict";
|
|
7162
|
-
/* harmony import */ var
|
|
7163
|
-
/* harmony import */ var
|
|
7173
|
+
/* 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");
|
|
7174
|
+
/* 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__);
|
|
7164
7175
|
/* unused harmony reexport * */
|
|
7165
7176
|
|
|
7166
7177
|
|
|
7167
7178
|
/***/ }),
|
|
7168
7179
|
|
|
7169
|
-
/***/ "
|
|
7180
|
+
/***/ "de6a":
|
|
7170
7181
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7171
7182
|
|
|
7172
7183
|
"use strict";
|
|
7173
|
-
/* harmony import */ var
|
|
7174
|
-
/* harmony import */ var
|
|
7184
|
+
/* 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");
|
|
7185
|
+
/* 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__);
|
|
7175
7186
|
/* unused harmony reexport * */
|
|
7176
7187
|
|
|
7177
7188
|
|
|
@@ -7252,17 +7263,6 @@ module.exports = require("deepmerge");
|
|
|
7252
7263
|
}
|
|
7253
7264
|
});
|
|
7254
7265
|
|
|
7255
|
-
/***/ }),
|
|
7256
|
-
|
|
7257
|
-
/***/ "e85d":
|
|
7258
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7259
|
-
|
|
7260
|
-
"use strict";
|
|
7261
|
-
/* 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");
|
|
7262
|
-
/* 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__);
|
|
7263
|
-
/* unused harmony reexport * */
|
|
7264
|
-
|
|
7265
|
-
|
|
7266
7266
|
/***/ }),
|
|
7267
7267
|
|
|
7268
7268
|
/***/ "e89a":
|
|
@@ -15615,17 +15615,17 @@ Demension_src_main.install = function (Vue) {
|
|
|
15615
15615
|
Vue.component(Demension_src_main.name, Demension_src_main);
|
|
15616
15616
|
};
|
|
15617
15617
|
/* harmony default export */ var Demension = (Demension_src_main);
|
|
15618
|
-
// 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=
|
|
15619
|
-
var
|
|
15618
|
+
// 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&
|
|
15619
|
+
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
|
|
15620
15620
|
? 'tree-button-group is-ie-explorer flex'
|
|
15621
15621
|
: '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){
|
|
15622
15622
|
var node = ref.node;
|
|
15623
15623
|
var subData = ref.data;
|
|
15624
15624
|
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)}
|
|
15625
|
-
var
|
|
15625
|
+
var mainvue_type_template_id_5731e345_scoped_true_staticRenderFns = []
|
|
15626
15626
|
|
|
15627
15627
|
|
|
15628
|
-
// CONCATENATED MODULE: ./packages/Tree/src/main.vue?vue&type=template&id=
|
|
15628
|
+
// CONCATENATED MODULE: ./packages/Tree/src/main.vue?vue&type=template&id=5731e345&scoped=true&
|
|
15629
15629
|
|
|
15630
15630
|
// 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&
|
|
15631
15631
|
//
|
|
@@ -15900,11 +15900,7 @@ var mainvue_type_template_id_10f71c00_scoped_true_staticRenderFns = []
|
|
|
15900
15900
|
},
|
|
15901
15901
|
watch: {
|
|
15902
15902
|
filterText(val) {
|
|
15903
|
-
|
|
15904
|
-
this.$emit('loadALL', val);
|
|
15905
|
-
} else {
|
|
15906
|
-
this.$refs.elTree.filter(val);
|
|
15907
|
-
}
|
|
15903
|
+
this.$refs.elTree.filter(val);
|
|
15908
15904
|
},
|
|
15909
15905
|
defaultCheckedKeys(val) {
|
|
15910
15906
|
this.$refs.elTree.setCheckedKeys(val);
|
|
@@ -15997,8 +15993,8 @@ var mainvue_type_template_id_10f71c00_scoped_true_staticRenderFns = []
|
|
|
15997
15993
|
});
|
|
15998
15994
|
// CONCATENATED MODULE: ./packages/Tree/src/main.vue?vue&type=script&lang=js&
|
|
15999
15995
|
/* harmony default export */ var packages_Tree_src_mainvue_type_script_lang_js_ = (Tree_src_mainvue_type_script_lang_js_);
|
|
16000
|
-
// EXTERNAL MODULE: ./packages/Tree/src/main.vue?vue&type=style&index=0&id=
|
|
16001
|
-
var
|
|
15996
|
+
// EXTERNAL MODULE: ./packages/Tree/src/main.vue?vue&type=style&index=0&id=5731e345&prod&lang=scss&scoped=true&
|
|
15997
|
+
var mainvue_type_style_index_0_id_5731e345_prod_lang_scss_scoped_true_ = __webpack_require__("48f7");
|
|
16002
15998
|
|
|
16003
15999
|
// CONCATENATED MODULE: ./packages/Tree/src/main.vue
|
|
16004
16000
|
|
|
@@ -16011,11 +16007,11 @@ var mainvue_type_style_index_0_id_10f71c00_prod_lang_scss_scoped_true_ = __webpa
|
|
|
16011
16007
|
|
|
16012
16008
|
var Tree_src_main_component = normalizeComponent(
|
|
16013
16009
|
packages_Tree_src_mainvue_type_script_lang_js_,
|
|
16014
|
-
|
|
16015
|
-
|
|
16010
|
+
mainvue_type_template_id_5731e345_scoped_true_render,
|
|
16011
|
+
mainvue_type_template_id_5731e345_scoped_true_staticRenderFns,
|
|
16016
16012
|
false,
|
|
16017
16013
|
null,
|
|
16018
|
-
"
|
|
16014
|
+
"5731e345",
|
|
16019
16015
|
null
|
|
16020
16016
|
|
|
16021
16017
|
)
|
|
@@ -22507,8 +22503,8 @@ PostSelector_src_main.install = function (Vue) {
|
|
|
22507
22503
|
Vue.component(PostSelector_src_main.name, PostSelector_src_main);
|
|
22508
22504
|
};
|
|
22509
22505
|
/* harmony default export */ var PostSelector = (PostSelector_src_main);
|
|
22510
|
-
// 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=
|
|
22511
|
-
var
|
|
22506
|
+
// 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&
|
|
22507
|
+
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:[
|
|
22512
22508
|
'inputs',
|
|
22513
22509
|
_vm.formInputsDisplay == 'block'
|
|
22514
22510
|
? 'ht-form-inputs__block'
|
|
@@ -22523,10 +22519,10 @@ var mainvue_type_template_id_8015cf1e_scoped_true_render = function () {var _vm=
|
|
|
22523
22519
|
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){
|
|
22524
22520
|
var select = ref.select;
|
|
22525
22521
|
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()}
|
|
22526
|
-
var
|
|
22522
|
+
var mainvue_type_template_id_10681225_scoped_true_staticRenderFns = []
|
|
22527
22523
|
|
|
22528
22524
|
|
|
22529
|
-
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=template&id=
|
|
22525
|
+
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=template&id=10681225&scoped=true&
|
|
22530
22526
|
|
|
22531
22527
|
// 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&
|
|
22532
22528
|
//
|
|
@@ -22785,8 +22781,6 @@ var mainvue_type_template_id_8015cf1e_scoped_true_staticRenderFns = []
|
|
|
22785
22781
|
if (this.config.hasOwnProperty('demName')) {
|
|
22786
22782
|
utils["a" /* default */].setValueByConfigKey(this, this.config, 'demName', demNameAry.join(','));
|
|
22787
22783
|
}
|
|
22788
|
-
} else {
|
|
22789
|
-
this.$emit('change', newVal);
|
|
22790
22784
|
}
|
|
22791
22785
|
// 通过valueChange事件发布值变更消息
|
|
22792
22786
|
this.$emit('valueChange', ary.join(','), newVal);
|
|
@@ -22916,8 +22910,8 @@ var mainvue_type_template_id_8015cf1e_scoped_true_staticRenderFns = []
|
|
|
22916
22910
|
});
|
|
22917
22911
|
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=script&lang=js&
|
|
22918
22912
|
/* harmony default export */ var packages_DimensionSelector_src_mainvue_type_script_lang_js_ = (DimensionSelector_src_mainvue_type_script_lang_js_);
|
|
22919
|
-
// EXTERNAL MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=style&index=0&id=
|
|
22920
|
-
var
|
|
22913
|
+
// EXTERNAL MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=style&index=0&id=10681225&prod&lang=scss&scoped=true&
|
|
22914
|
+
var mainvue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true_ = __webpack_require__("c33b");
|
|
22921
22915
|
|
|
22922
22916
|
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue
|
|
22923
22917
|
|
|
@@ -22930,11 +22924,11 @@ var mainvue_type_style_index_0_id_8015cf1e_prod_lang_scss_scoped_true_ = __webpa
|
|
|
22930
22924
|
|
|
22931
22925
|
var DimensionSelector_src_main_component = normalizeComponent(
|
|
22932
22926
|
packages_DimensionSelector_src_mainvue_type_script_lang_js_,
|
|
22933
|
-
|
|
22934
|
-
|
|
22927
|
+
mainvue_type_template_id_10681225_scoped_true_render,
|
|
22928
|
+
mainvue_type_template_id_10681225_scoped_true_staticRenderFns,
|
|
22935
22929
|
false,
|
|
22936
22930
|
null,
|
|
22937
|
-
"
|
|
22931
|
+
"10681225",
|
|
22938
22932
|
null
|
|
22939
22933
|
|
|
22940
22934
|
)
|
|
@@ -23562,8 +23556,8 @@ Dialog_src_main.install = function (Vue) {
|
|
|
23562
23556
|
Vue.component(Dialog_src_main.name, Dialog_src_main);
|
|
23563
23557
|
};
|
|
23564
23558
|
/* harmony default export */ var Dialog = (Dialog_src_main);
|
|
23565
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/main.vue?vue&type=template&id=
|
|
23566
|
-
var
|
|
23559
|
+
// 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&
|
|
23560
|
+
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:({
|
|
23567
23561
|
right: _vm.inputSuffixWidth - 1 + 'px',
|
|
23568
23562
|
width: 'auto!important',
|
|
23569
23563
|
height: _vm.inputSuffixHeight - 4 + 'px',
|
|
@@ -23572,11 +23566,11 @@ var mainvue_type_template_id_16ccb9a5_scoped_true_render = function () {var _vm=
|
|
|
23572
23566
|
: 'el-input__icon icon-duihuakuang',style:({
|
|
23573
23567
|
fontSize: '17px',
|
|
23574
23568
|
lineHeight: _vm.inputSuffixHeight + 'px',
|
|
23575
|
-
})}),_vm._v("\n "+_vm._s(_vm.custdialog.name)+"\n ")])],1)])],1)]):_vm._e()]),(!_vm.inputWriteable)?_c('span',
|
|
23576
|
-
var
|
|
23569
|
+
})}),_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)}
|
|
23570
|
+
var mainvue_type_template_id_0b5eb5e6_scoped_true_staticRenderFns = []
|
|
23577
23571
|
|
|
23578
23572
|
|
|
23579
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=
|
|
23573
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=0b5eb5e6&scoped=true&
|
|
23580
23574
|
|
|
23581
23575
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.js
|
|
23582
23576
|
|
|
@@ -23698,47 +23692,19 @@ var mainvue_type_template_id_16ccb9a5_scoped_true_staticRenderFns = []
|
|
|
23698
23692
|
}
|
|
23699
23693
|
}
|
|
23700
23694
|
});
|
|
23701
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=
|
|
23702
|
-
var
|
|
23703
|
-
|
|
23704
|
-
|
|
23705
|
-
|
|
23706
|
-
|
|
23707
|
-
|
|
23708
|
-
|
|
23709
|
-
|
|
23710
|
-
|
|
23711
|
-
|
|
23712
|
-
|
|
23713
|
-
|
|
23714
|
-
: 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) {
|
|
23715
|
-
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23716
|
-
}}}):_vm._e(),(condition.config.alias == 'org')?_c('ht-org-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23717
|
-
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23718
|
-
}}}):_vm._e(),(condition.config.alias == 'role')?_c('ht-role-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23719
|
-
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23720
|
-
}}}):_vm._e(),(condition.config.alias == 'job')?_c('ht-job-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23721
|
-
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23722
|
-
}}}):_vm._e(),(condition.config.alias == 'post')?_c('ht-post-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23723
|
-
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23724
|
-
}}}):_vm._e(),(condition.config.alias == 'dimension')?_c('ht-dimension-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23725
|
-
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23726
|
-
}}}):_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":{
|
|
23727
|
-
name: '请选择',
|
|
23728
|
-
icon: '',
|
|
23729
|
-
custDialog: {
|
|
23730
|
-
selectNum: 1,
|
|
23731
|
-
conditions: [],
|
|
23732
|
-
mappingConf: [],
|
|
23733
|
-
custQueryJson: [],
|
|
23734
|
-
alias: condition.config.alias,
|
|
23735
|
-
type: 'custDialog',
|
|
23736
|
-
},
|
|
23737
|
-
}},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)}
|
|
23738
|
-
var customDialogvue_type_template_id_78194d5a_scoped_true_staticRenderFns = []
|
|
23739
|
-
|
|
23740
|
-
|
|
23741
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=78194d5a&scoped=true&
|
|
23695
|
+
// 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&
|
|
23696
|
+
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":{
|
|
23697
|
+
alias: condition.config.customQuery.alias,
|
|
23698
|
+
valueBind: condition.config.customQuery.valueBind,
|
|
23699
|
+
noInit: '',
|
|
23700
|
+
labelBind: condition.config.customQuery.labelBind,
|
|
23701
|
+
gangedBind: '{}',
|
|
23702
|
+
bind: condition.config.bind,
|
|
23703
|
+
},"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)}
|
|
23704
|
+
var customDialogvue_type_template_id_3a57945e_scoped_true_staticRenderFns = []
|
|
23705
|
+
|
|
23706
|
+
|
|
23707
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=3a57945e&scoped=true&
|
|
23742
23708
|
|
|
23743
23709
|
// EXTERNAL MODULE: external "jquery"
|
|
23744
23710
|
var external_jquery_ = __webpack_require__("c5e1");
|
|
@@ -24047,139 +24013,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24047
24013
|
//
|
|
24048
24014
|
//
|
|
24049
24015
|
//
|
|
24050
|
-
//
|
|
24051
|
-
//
|
|
24052
|
-
//
|
|
24053
|
-
//
|
|
24054
|
-
//
|
|
24055
|
-
//
|
|
24056
|
-
//
|
|
24057
|
-
//
|
|
24058
|
-
//
|
|
24059
|
-
//
|
|
24060
|
-
//
|
|
24061
|
-
//
|
|
24062
|
-
//
|
|
24063
|
-
//
|
|
24064
|
-
//
|
|
24065
|
-
//
|
|
24066
|
-
//
|
|
24067
|
-
//
|
|
24068
|
-
//
|
|
24069
|
-
//
|
|
24070
|
-
//
|
|
24071
|
-
//
|
|
24072
|
-
//
|
|
24073
|
-
//
|
|
24074
|
-
//
|
|
24075
|
-
//
|
|
24076
|
-
//
|
|
24077
|
-
//
|
|
24078
|
-
//
|
|
24079
|
-
//
|
|
24080
|
-
//
|
|
24081
|
-
//
|
|
24082
|
-
//
|
|
24083
|
-
//
|
|
24084
|
-
//
|
|
24085
|
-
//
|
|
24086
|
-
//
|
|
24087
|
-
//
|
|
24088
|
-
//
|
|
24089
|
-
//
|
|
24090
|
-
//
|
|
24091
|
-
//
|
|
24092
|
-
//
|
|
24093
|
-
//
|
|
24094
|
-
//
|
|
24095
|
-
//
|
|
24096
|
-
//
|
|
24097
|
-
//
|
|
24098
|
-
//
|
|
24099
|
-
//
|
|
24100
|
-
//
|
|
24101
|
-
//
|
|
24102
|
-
//
|
|
24103
|
-
//
|
|
24104
|
-
//
|
|
24105
|
-
//
|
|
24106
|
-
//
|
|
24107
|
-
//
|
|
24108
|
-
//
|
|
24109
|
-
//
|
|
24110
|
-
//
|
|
24111
|
-
//
|
|
24112
|
-
//
|
|
24113
|
-
//
|
|
24114
|
-
//
|
|
24115
|
-
//
|
|
24116
|
-
//
|
|
24117
|
-
//
|
|
24118
|
-
//
|
|
24119
|
-
//
|
|
24120
|
-
//
|
|
24121
|
-
//
|
|
24122
|
-
//
|
|
24123
|
-
//
|
|
24124
|
-
//
|
|
24125
|
-
//
|
|
24126
|
-
//
|
|
24127
|
-
//
|
|
24128
|
-
//
|
|
24129
|
-
//
|
|
24130
|
-
//
|
|
24131
|
-
//
|
|
24132
|
-
//
|
|
24133
|
-
//
|
|
24134
|
-
//
|
|
24135
|
-
//
|
|
24136
|
-
//
|
|
24137
|
-
//
|
|
24138
|
-
//
|
|
24139
|
-
//
|
|
24140
|
-
//
|
|
24141
|
-
//
|
|
24142
|
-
//
|
|
24143
|
-
//
|
|
24144
|
-
//
|
|
24145
|
-
//
|
|
24146
|
-
//
|
|
24147
|
-
//
|
|
24148
|
-
//
|
|
24149
|
-
//
|
|
24150
|
-
//
|
|
24151
|
-
//
|
|
24152
|
-
//
|
|
24153
|
-
//
|
|
24154
|
-
//
|
|
24155
|
-
//
|
|
24156
|
-
//
|
|
24157
|
-
//
|
|
24158
|
-
//
|
|
24159
|
-
//
|
|
24160
|
-
//
|
|
24161
|
-
//
|
|
24162
|
-
//
|
|
24163
|
-
//
|
|
24164
|
-
//
|
|
24165
|
-
//
|
|
24166
|
-
//
|
|
24167
|
-
//
|
|
24168
|
-
//
|
|
24169
|
-
//
|
|
24170
|
-
//
|
|
24171
|
-
//
|
|
24172
|
-
//
|
|
24173
|
-
//
|
|
24174
|
-
//
|
|
24175
|
-
//
|
|
24176
|
-
//
|
|
24177
|
-
//
|
|
24178
|
-
//
|
|
24179
|
-
//
|
|
24180
|
-
//
|
|
24181
|
-
//
|
|
24182
|
-
//
|
|
24183
24016
|
|
|
24184
24017
|
|
|
24185
24018
|
|
|
@@ -24207,16 +24040,10 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24207
24040
|
isReadOnly: {
|
|
24208
24041
|
type: Boolean,
|
|
24209
24042
|
default: false
|
|
24210
|
-
}
|
|
24211
|
-
dialogConfig: Object,
|
|
24212
|
-
dialogType: String
|
|
24043
|
+
}
|
|
24213
24044
|
},
|
|
24214
24045
|
data() {
|
|
24215
24046
|
return {
|
|
24216
|
-
startDate: '',
|
|
24217
|
-
// 日期控件
|
|
24218
|
-
endDate: '',
|
|
24219
|
-
// 日期控件
|
|
24220
24047
|
tableHeight: 350,
|
|
24221
24048
|
isEditInputShow: false,
|
|
24222
24049
|
customValue: '',
|
|
@@ -24297,18 +24124,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24297
24124
|
return [this.props1[0][this.nodeKey]];
|
|
24298
24125
|
}
|
|
24299
24126
|
return [];
|
|
24300
|
-
},
|
|
24301
|
-
jumpParamKey() {
|
|
24302
|
-
return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
|
|
24303
|
-
},
|
|
24304
|
-
// 是否保存成跳转url参数
|
|
24305
|
-
isHaveJumpUrl() {
|
|
24306
|
-
return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
24307
|
-
},
|
|
24308
|
-
sortDisplayfield() {
|
|
24309
|
-
return this.displayfield.sort((a, b) => {
|
|
24310
|
-
return a.sort > b.sort ? 1 : -1;
|
|
24311
|
-
});
|
|
24312
24127
|
}
|
|
24313
24128
|
},
|
|
24314
24129
|
watch: {
|
|
@@ -24344,151 +24159,131 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24344
24159
|
});
|
|
24345
24160
|
},
|
|
24346
24161
|
methods: {
|
|
24347
|
-
// 获取已选择的选择器数据id
|
|
24348
|
-
getSelectId(data) {
|
|
24349
|
-
if (!data || !data.length) {
|
|
24350
|
-
return '';
|
|
24351
|
-
}
|
|
24352
|
-
let ids = [];
|
|
24353
|
-
data.forEach(item => {
|
|
24354
|
-
ids.push(item.id);
|
|
24355
|
-
});
|
|
24356
|
-
return ids.join(',');
|
|
24357
|
-
},
|
|
24358
24162
|
showDialog() {
|
|
24359
24163
|
let isMounted = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
24164
|
+
const this_ = this;
|
|
24360
24165
|
this.fixedParams = {};
|
|
24361
|
-
// 如果已存在配置信息就不去请求配置信息 直接初始化数据
|
|
24362
|
-
if (this.dialogConfig) {
|
|
24363
|
-
this.initDialog(this.dialogConfig, isMounted);
|
|
24364
|
-
return;
|
|
24365
|
-
}
|
|
24366
24166
|
var alias = this.custdialog.custDialog.alias;
|
|
24367
24167
|
this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
|
|
24368
|
-
|
|
24369
|
-
|
|
24370
|
-
|
|
24371
|
-
initDialog(customDialog, isMounted) {
|
|
24372
|
-
let alias = this.custdialog.custDialog.alias;
|
|
24373
|
-
const this_ = this;
|
|
24374
|
-
if (!customDialog || !customDialog.alias) {
|
|
24375
|
-
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
24376
|
-
return;
|
|
24377
|
-
}
|
|
24378
|
-
if (customDialog.style == 1) {
|
|
24379
|
-
var displaylist = JSON.parse(customDialog.displayfield);
|
|
24380
|
-
this_.nodeKey = displaylist.id;
|
|
24381
|
-
}
|
|
24382
|
-
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
24383
|
-
let obj = {};
|
|
24384
|
-
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
24385
|
-
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
24386
|
-
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
24387
|
-
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
24388
|
-
if (exp) {
|
|
24389
|
-
const params = JSON.parse(exp);
|
|
24390
|
-
if (params.pageBean) {
|
|
24391
|
-
this.pagination = {
|
|
24392
|
-
...params.pageBean
|
|
24393
|
-
};
|
|
24394
|
-
}
|
|
24168
|
+
if (!customDialog || !customDialog.alias) {
|
|
24169
|
+
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
24170
|
+
return;
|
|
24395
24171
|
}
|
|
24396
|
-
|
|
24397
|
-
|
|
24398
|
-
|
|
24399
|
-
|
|
24400
|
-
|
|
24401
|
-
|
|
24402
|
-
|
|
24403
|
-
|
|
24404
|
-
|
|
24405
|
-
|
|
24406
|
-
|
|
24407
|
-
|
|
24408
|
-
|
|
24409
|
-
|
|
24410
|
-
|
|
24411
|
-
|
|
24412
|
-
|
|
24413
|
-
this_.executeScriptResult = res && res.value;
|
|
24414
|
-
});
|
|
24415
|
-
}
|
|
24416
|
-
});
|
|
24417
|
-
}
|
|
24418
|
-
//判断对话框查询是否有条件
|
|
24419
|
-
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
24420
|
-
this_.quickSearch = ''; //填写提示 placeholder
|
|
24421
|
-
this_.conditionBind = [];
|
|
24422
|
-
let queryParams = [];
|
|
24423
|
-
let placeholders = [];
|
|
24424
|
-
if (userInputList.length > 0) {
|
|
24425
|
-
userInputList.forEach(ele => {
|
|
24426
|
-
var obj = {};
|
|
24427
|
-
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
24428
|
-
if (ele.defaultType == '1') {
|
|
24429
|
-
obj[ele.field] = '';
|
|
24430
|
-
queryParams.push(obj);
|
|
24431
|
-
// queryParams[ele.field] = "";
|
|
24432
|
-
this_.conditionBind.push(ele);
|
|
24433
|
-
placeholders.push('请输入' + ele.comment);
|
|
24434
|
-
}
|
|
24435
|
-
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
24436
|
-
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
24172
|
+
if (customDialog.style == 1) {
|
|
24173
|
+
var displaylist = JSON.parse(customDialog.displayfield);
|
|
24174
|
+
this_.nodeKey = displaylist.id;
|
|
24175
|
+
}
|
|
24176
|
+
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
24177
|
+
let obj = {};
|
|
24178
|
+
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
24179
|
+
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
24180
|
+
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
24181
|
+
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
24182
|
+
if (exp) {
|
|
24183
|
+
const params = JSON.parse(exp);
|
|
24184
|
+
if (params.pageBean) {
|
|
24185
|
+
this.pagination = {
|
|
24186
|
+
...params.pageBean
|
|
24187
|
+
};
|
|
24188
|
+
}
|
|
24437
24189
|
}
|
|
24438
|
-
}
|
|
24439
|
-
|
|
24440
|
-
|
|
24441
|
-
|
|
24442
|
-
|
|
24443
|
-
|
|
24444
|
-
|
|
24445
|
-
|
|
24446
|
-
|
|
24447
|
-
|
|
24448
|
-
|
|
24449
|
-
|
|
24450
|
-
|
|
24451
|
-
|
|
24452
|
-
|
|
24453
|
-
|
|
24454
|
-
|
|
24455
|
-
|
|
24456
|
-
|
|
24190
|
+
}
|
|
24191
|
+
//对话框按表单字段查询(参数传入的)
|
|
24192
|
+
let bindList = this_.custdialog.custDialog.conditions;
|
|
24193
|
+
this_.param = []; //绑定的表单字段
|
|
24194
|
+
if (bindList.length > 0) {
|
|
24195
|
+
bindList.forEach(ele => {
|
|
24196
|
+
//绑定表单字段
|
|
24197
|
+
if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
|
|
24198
|
+
let obj = {};
|
|
24199
|
+
obj.field = ele.field;
|
|
24200
|
+
obj.bind = ele.bind;
|
|
24201
|
+
obj.bindType = ele.bindType;
|
|
24202
|
+
this_.param.push(obj);
|
|
24203
|
+
}
|
|
24204
|
+
//取值对象为脚本时获取value
|
|
24205
|
+
if (ele.bindType === 3) {
|
|
24206
|
+
this_.$requestConfig.executeScript(ele.bind).then(res => {
|
|
24207
|
+
this_.executeScriptResult = res && res.value;
|
|
24208
|
+
});
|
|
24209
|
+
}
|
|
24210
|
+
});
|
|
24211
|
+
}
|
|
24212
|
+
//判断对话框查询是否有条件
|
|
24213
|
+
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
24214
|
+
this_.quickSearch = ''; //填写提示 placeholder
|
|
24215
|
+
this_.conditionBind = [];
|
|
24216
|
+
let queryParams = [];
|
|
24217
|
+
let placeholders = [];
|
|
24218
|
+
if (userInputList.length > 0) {
|
|
24219
|
+
userInputList.forEach(ele => {
|
|
24220
|
+
var obj = {};
|
|
24221
|
+
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
24222
|
+
if (ele.defaultType == '1') {
|
|
24223
|
+
obj[ele.field] = '';
|
|
24224
|
+
queryParams.push(obj);
|
|
24225
|
+
// queryParams[ele.field] = "";
|
|
24226
|
+
this_.conditionBind.push(ele);
|
|
24227
|
+
placeholders.push('请输入' + ele.comment);
|
|
24228
|
+
}
|
|
24229
|
+
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
24230
|
+
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
24231
|
+
}
|
|
24232
|
+
});
|
|
24233
|
+
this.$set(this, 'queryParams', queryParams);
|
|
24234
|
+
this.$set(this, 'placeholders', placeholders);
|
|
24235
|
+
}
|
|
24236
|
+
//判断是否显示条件查询输入框
|
|
24237
|
+
if (this_.quickSearch != '') {
|
|
24238
|
+
this_.querysShow = true;
|
|
24239
|
+
} else {
|
|
24240
|
+
this_.querysShow = true;
|
|
24241
|
+
}
|
|
24242
|
+
this_.quickSearch = '请输入' + this.quickSearch + '查询';
|
|
24243
|
+
this_.style = 'height:' + customDialog.height + 'px';
|
|
24244
|
+
if (window.screen.height && window.screen.height <= 900) {
|
|
24245
|
+
this.style = 'height:440px';
|
|
24246
|
+
}
|
|
24247
|
+
if (customDialog.style == 0 || customDialog.style == 2) {
|
|
24248
|
+
//列表
|
|
24249
|
+
setTimeout(() => {
|
|
24250
|
+
this_.customDialogShow({
|
|
24251
|
+
alias: alias,
|
|
24252
|
+
customDialog: customDialog
|
|
24253
|
+
}, isMounted);
|
|
24254
|
+
}, 100);
|
|
24255
|
+
} else if (customDialog.style == 1) {
|
|
24256
|
+
//树形
|
|
24257
|
+
this_.pageParam = {
|
|
24457
24258
|
alias: alias,
|
|
24458
24259
|
customDialog: customDialog
|
|
24459
|
-
}
|
|
24460
|
-
|
|
24461
|
-
|
|
24462
|
-
|
|
24463
|
-
|
|
24464
|
-
|
|
24465
|
-
|
|
24466
|
-
|
|
24467
|
-
|
|
24468
|
-
|
|
24469
|
-
|
|
24470
|
-
|
|
24471
|
-
|
|
24472
|
-
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
24473
|
-
if (this_.conditionfieldTree.length > 0) {
|
|
24474
|
-
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
24475
|
-
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
24476
|
-
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
24477
|
-
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
24260
|
+
};
|
|
24261
|
+
this_.customDialog = customDialog;
|
|
24262
|
+
let param = {};
|
|
24263
|
+
this_.conditionfieldTree = [];
|
|
24264
|
+
//判断是否存在条件
|
|
24265
|
+
if (customDialog.conditionfield) {
|
|
24266
|
+
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
24267
|
+
if (this_.conditionfieldTree.length > 0) {
|
|
24268
|
+
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
24269
|
+
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
24270
|
+
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
24271
|
+
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
24272
|
+
}
|
|
24478
24273
|
}
|
|
24479
24274
|
}
|
|
24480
24275
|
}
|
|
24481
|
-
|
|
24482
|
-
|
|
24483
|
-
|
|
24484
|
-
|
|
24485
|
-
|
|
24486
|
-
|
|
24487
|
-
|
|
24488
|
-
|
|
24276
|
+
//有动态传入的字段
|
|
24277
|
+
if (!isMounted) {
|
|
24278
|
+
if (JSON.stringify(param) != '{}') {
|
|
24279
|
+
this_.dialogVisible = true;
|
|
24280
|
+
} else {
|
|
24281
|
+
//无动态传入的字段
|
|
24282
|
+
this_.customDialogTreeShow(this_.pageParam);
|
|
24283
|
+
}
|
|
24489
24284
|
}
|
|
24490
24285
|
}
|
|
24491
|
-
}
|
|
24286
|
+
});
|
|
24492
24287
|
},
|
|
24493
24288
|
initTableHeight() {
|
|
24494
24289
|
this.$nextTick(() => {
|
|
@@ -24617,13 +24412,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24617
24412
|
}
|
|
24618
24413
|
// 添加用户id 岗位id 组织id
|
|
24619
24414
|
try {
|
|
24620
|
-
if (this.$requestConfig.getUserId
|
|
24415
|
+
if (this.$requestConfig.getUserId()) {
|
|
24621
24416
|
ctx.userId = this.$requestConfig.getUserId();
|
|
24622
24417
|
}
|
|
24623
|
-
if (this.$requestConfig.getOrgId
|
|
24418
|
+
if (this.$requestConfig.getOrgId()) {
|
|
24624
24419
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
24625
24420
|
}
|
|
24626
|
-
if (this.$requestConfig.getPostId
|
|
24421
|
+
if (this.$requestConfig.getPostId()) {
|
|
24627
24422
|
ctx.postId = this.$requestConfig.getPostId();
|
|
24628
24423
|
}
|
|
24629
24424
|
} catch (e) {
|
|
@@ -24708,13 +24503,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24708
24503
|
this.selectOrgs = this.convertComment2Field(str, field);
|
|
24709
24504
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
24710
24505
|
var val = '';
|
|
24711
|
-
str.forEach(
|
|
24712
|
-
|
|
24713
|
-
if (this.jumpParamKey && this.isHaveJumpUrl && (this.modelName == 'data.' + con['target'][0] || this.modelName.includes('item.') && con['target'][0].endsWith(this.modelName.split('.')[1]))) {
|
|
24714
|
-
val += `${item[con.from]}¯${this.jumpParamKey}:${this.selectOrgs[index][this.jumpParamKey]},`;
|
|
24715
|
-
} else {
|
|
24716
|
-
val += item[con.from] + ',';
|
|
24717
|
-
}
|
|
24506
|
+
str.forEach(item => {
|
|
24507
|
+
val += item[con.from] + ',';
|
|
24718
24508
|
});
|
|
24719
24509
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
24720
24510
|
utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
|
|
@@ -24785,36 +24575,19 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24785
24575
|
};
|
|
24786
24576
|
}
|
|
24787
24577
|
//用户输入的
|
|
24788
|
-
let flag = false;
|
|
24789
24578
|
if (this.queryParams.length != 0 && this.queryParams[0] != '') {
|
|
24790
24579
|
this.conditionBind.forEach((item, index) => {
|
|
24791
|
-
// 日期范围特殊处理
|
|
24792
|
-
if (item.dbType == 'date' && item.condition == 'BETWEEN') {
|
|
24793
|
-
if (this.queryParams[index].startDate && !this.queryParams[index].endDate || !this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
24794
|
-
flag = true;
|
|
24795
|
-
this.$message.info('日期范围未填写完整!');
|
|
24796
|
-
return;
|
|
24797
|
-
}
|
|
24798
|
-
if (this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
24799
|
-
this.queryParams[index][item.field] = `${this.queryParams[index].startDate},${this.queryParams[index].endDate}`;
|
|
24800
|
-
} else {
|
|
24801
|
-
this.queryParams[index][item.field] = '';
|
|
24802
|
-
}
|
|
24803
|
-
}
|
|
24804
24580
|
if (this.queryParams[index][item.field]) {
|
|
24805
24581
|
querys.push({
|
|
24806
24582
|
property: item.field,
|
|
24807
24583
|
value: this.queryParams[index][item.field],
|
|
24808
24584
|
group: 'main',
|
|
24809
|
-
operation:
|
|
24585
|
+
operation: 'LIKE',
|
|
24810
24586
|
relation: 'AND'
|
|
24811
24587
|
});
|
|
24812
24588
|
}
|
|
24813
24589
|
});
|
|
24814
24590
|
}
|
|
24815
|
-
if (flag) {
|
|
24816
|
-
return;
|
|
24817
|
-
}
|
|
24818
24591
|
//参数传入的查询拼接
|
|
24819
24592
|
if (this.param) {
|
|
24820
24593
|
this.param.forEach(item => {
|
|
@@ -24853,13 +24626,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24853
24626
|
queryParamMap.total = pageBean.pageBean.total;
|
|
24854
24627
|
// 添加用户id 岗位id 组织id
|
|
24855
24628
|
try {
|
|
24856
|
-
if (this.$requestConfig.getUserId
|
|
24629
|
+
if (this.$requestConfig.getUserId()) {
|
|
24857
24630
|
ctx.userId = this.$requestConfig.getUserId();
|
|
24858
24631
|
}
|
|
24859
|
-
if (this.$requestConfig.getOrgId
|
|
24632
|
+
if (this.$requestConfig.getOrgId()) {
|
|
24860
24633
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
24861
24634
|
}
|
|
24862
|
-
if (this.$requestConfig.getPostId
|
|
24635
|
+
if (this.$requestConfig.getPostId()) {
|
|
24863
24636
|
ctx.postId = this.$requestConfig.getPostId();
|
|
24864
24637
|
}
|
|
24865
24638
|
} catch (e) {
|
|
@@ -24880,14 +24653,12 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24880
24653
|
value: queryParamMap[bindKey] || ctx[bindKey] || ''
|
|
24881
24654
|
};
|
|
24882
24655
|
});
|
|
24883
|
-
param.querys = queryList
|
|
24656
|
+
param.querys = queryList;
|
|
24884
24657
|
if (this.customDialog.needPage) {
|
|
24885
24658
|
param.pageBean = obj;
|
|
24886
24659
|
} else {
|
|
24887
24660
|
param.pageBean.pageSize = -1;
|
|
24888
24661
|
}
|
|
24889
|
-
// 日期格式的 改成数组
|
|
24890
|
-
// this.changeDateFormat(param)
|
|
24891
24662
|
//构造请求的参数
|
|
24892
24663
|
let requestParam = {
|
|
24893
24664
|
pageBean: param,
|
|
@@ -24927,15 +24698,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24927
24698
|
}
|
|
24928
24699
|
this.tableRadioVal = '';
|
|
24929
24700
|
},
|
|
24930
|
-
changeDateFormat(param) {
|
|
24931
|
-
let dateValidate1 = /^\d{4}\-\d{2}\-\d{2}$/;
|
|
24932
|
-
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$/;
|
|
24933
|
-
Object.keys(param).forEach(key => {
|
|
24934
|
-
if (param[key] && typeof param[key] == 'string' && param[key].includes(',') && (dateValidate1.test(param[key].split(',')[0]) || dateValidate2.test(param[key].split(',')[0]))) {
|
|
24935
|
-
param[key] = param[key].split(',');
|
|
24936
|
-
}
|
|
24937
|
-
});
|
|
24938
|
-
},
|
|
24939
24701
|
getSearchValueByKey() {
|
|
24940
24702
|
let queryParamsObj = {};
|
|
24941
24703
|
if (this.queryParams.length > 0) {
|
|
@@ -25161,8 +24923,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25161
24923
|
},
|
|
25162
24924
|
// 同步选择结果
|
|
25163
24925
|
syncInputValue() {
|
|
25164
|
-
// 对话框跳转url需要两个参数 1当前控件绑定的对象参数modelName 2对话框配置中配置的key名称
|
|
25165
|
-
// 同步值时,如果有绑定url跳转参数,值格式为 名称¯跳转key:跳转value
|
|
25166
24926
|
let thisIndex = null; //当前数据所在下标
|
|
25167
24927
|
let parentIndex = null; //父节点所在下标
|
|
25168
24928
|
if (this.$parent.$el) {
|
|
@@ -25236,32 +24996,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25236
24996
|
}
|
|
25237
24997
|
}
|
|
25238
24998
|
}
|
|
25239
|
-
// 如果是查询中使用的对话框
|
|
25240
|
-
if (this.dialogType == 'search') {
|
|
25241
|
-
let returnVal = [];
|
|
25242
|
-
str.forEach(item => {
|
|
25243
|
-
returnVal.push(decodeURIComponent(item[this.modelName]));
|
|
25244
|
-
});
|
|
25245
|
-
this.$emit('updateInput', returnVal.join(','));
|
|
25246
|
-
return;
|
|
25247
|
-
}
|
|
25248
24999
|
const pInst = utils["a" /* default */].getOnlineFormInstance(this);
|
|
25249
25000
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
25250
25001
|
var val = '';
|
|
25251
25002
|
var from = con.from.toLowerCase();
|
|
25252
25003
|
str.forEach(item => {
|
|
25253
|
-
// 如果有绑定url跳转参数 需获取跳转参数的key
|
|
25254
25004
|
if (item) {
|
|
25255
|
-
|
|
25256
|
-
// 需根据key 找到对应 返回数据的返回名称
|
|
25257
|
-
let returnMap = returnStr.find(k => {
|
|
25258
|
-
return k.field.toLowerCase() == this.jumpParamKey.toLowerCase();
|
|
25259
|
-
});
|
|
25260
|
-
let returnMapKey = returnMap ? returnMap.comment : '';
|
|
25261
|
-
val += `${decodeURIComponent(item[from])}¯${this.jumpParamKey}:${decodeURIComponent(item[returnMapKey])},`;
|
|
25262
|
-
} else {
|
|
25263
|
-
val += decodeURIComponent(item[from]) + ',';
|
|
25264
|
-
}
|
|
25005
|
+
val += decodeURIComponent(item[from]) + ',';
|
|
25265
25006
|
}
|
|
25266
25007
|
});
|
|
25267
25008
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
@@ -25280,6 +25021,7 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25280
25021
|
const _val = val.substring(0, val.length - 1);
|
|
25281
25022
|
if (path) {
|
|
25282
25023
|
if (this.modelName && this.modelName.endsWith(path)) {
|
|
25024
|
+
// this.$emit('input', _val)
|
|
25283
25025
|
this.$emit('updateInput', _val);
|
|
25284
25026
|
}
|
|
25285
25027
|
utils["a" /* default */].setValueByPath(pInst, `${pInst.data ? 'data.' : 'model.'}${path}`, _val, thisIndex);
|
|
@@ -25484,200 +25226,74 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25484
25226
|
requestParams.url = url;
|
|
25485
25227
|
requestParams.paramsObj = paramsObj;
|
|
25486
25228
|
this.$requestConfig.request({
|
|
25487
|
-
url: requestParams.url,
|
|
25488
|
-
method: 'get'
|
|
25489
|
-
}).then(resp => {
|
|
25490
|
-
if (treeDialog.displayfield && treeDialog.resultfield) {
|
|
25491
|
-
let displayField = JSON.parse(treeDialog.displayfield);
|
|
25492
|
-
let resultfield = JSON.parse(treeDialog.resultfield);
|
|
25493
|
-
this.defaultProps.label = displayField.displayName;
|
|
25494
|
-
this.treeList = resp;
|
|
25495
|
-
this.combiTreeDisplayField = displayField;
|
|
25496
|
-
this.combinationTreeData = this.toTreeData(resp, displayField.id, displayField.pid, displayField.displayName, displayField.pvalue ? displayField.pvalue : '0', resultfield);
|
|
25497
|
-
}
|
|
25498
|
-
});
|
|
25499
|
-
});
|
|
25500
|
-
},
|
|
25501
|
-
//打开树形动态参数输入值的对话框
|
|
25502
|
-
handleSave() {
|
|
25503
|
-
this.customDialogTreeShow(this.pageParam);
|
|
25504
|
-
this.dialogVisible = false;
|
|
25505
|
-
},
|
|
25506
|
-
//关闭树形动态参数输入值的对话框
|
|
25507
|
-
handleClose() {
|
|
25508
|
-
this.dialogVisible = false;
|
|
25509
|
-
}
|
|
25510
|
-
}
|
|
25511
|
-
});
|
|
25512
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=script&lang=js&
|
|
25513
|
-
/* harmony default export */ var src_customDialogvue_type_script_lang_js_ = (customDialogvue_type_script_lang_js_);
|
|
25514
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=
|
|
25515
|
-
var
|
|
25516
|
-
|
|
25517
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue
|
|
25518
|
-
|
|
25519
|
-
|
|
25520
|
-
|
|
25521
|
-
|
|
25522
|
-
|
|
25523
|
-
|
|
25524
|
-
/* normalize component */
|
|
25525
|
-
|
|
25526
|
-
var customDialog_component = normalizeComponent(
|
|
25527
|
-
src_customDialogvue_type_script_lang_js_,
|
|
25528
|
-
|
|
25529
|
-
|
|
25530
|
-
false,
|
|
25531
|
-
null,
|
|
25532
|
-
"
|
|
25533
|
-
null
|
|
25534
|
-
|
|
25535
|
-
)
|
|
25536
|
-
|
|
25537
|
-
/* harmony default export */ var CustomDialog_src_customDialog = (customDialog_component.exports);
|
|
25538
|
-
// 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=
|
|
25539
|
-
var
|
|
25540
|
-
|
|
25541
|
-
|
|
25542
|
-
|
|
25543
|
-
|
|
25544
|
-
|
|
25545
|
-
|
|
25546
|
-
|
|
25547
|
-
|
|
25548
|
-
|
|
25549
|
-
|
|
25550
|
-
|
|
25551
|
-
|
|
25552
|
-
|
|
25553
|
-
|
|
25554
|
-
|
|
25555
|
-
selectNum: 1,
|
|
25556
|
-
conditions: [],
|
|
25557
|
-
mappingConf: [],
|
|
25558
|
-
custQueryJson: [],
|
|
25559
|
-
alias: condition.config.alias,
|
|
25560
|
-
type: 'custDialog',
|
|
25561
|
-
},
|
|
25562
|
-
}},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(
|
|
25563
|
-
function (k) { return k.defaultType == '4'; }
|
|
25564
|
-
)),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)}
|
|
25565
|
-
var customMobileDialogvue_type_template_id_51151f21_scoped_true_staticRenderFns = []
|
|
25566
|
-
|
|
25567
|
-
|
|
25568
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=51151f21&scoped=true&
|
|
25569
|
-
|
|
25570
|
-
// 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&
|
|
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
|
-
//
|
|
25672
|
-
//
|
|
25673
|
-
//
|
|
25674
|
-
//
|
|
25675
|
-
//
|
|
25676
|
-
//
|
|
25677
|
-
//
|
|
25678
|
-
//
|
|
25679
|
-
//
|
|
25680
|
-
//
|
|
25229
|
+
url: requestParams.url,
|
|
25230
|
+
method: 'get'
|
|
25231
|
+
}).then(resp => {
|
|
25232
|
+
if (treeDialog.displayfield && treeDialog.resultfield) {
|
|
25233
|
+
let displayField = JSON.parse(treeDialog.displayfield);
|
|
25234
|
+
let resultfield = JSON.parse(treeDialog.resultfield);
|
|
25235
|
+
this.defaultProps.label = displayField.displayName;
|
|
25236
|
+
this.treeList = resp;
|
|
25237
|
+
this.combiTreeDisplayField = displayField;
|
|
25238
|
+
this.combinationTreeData = this.toTreeData(resp, displayField.id, displayField.pid, displayField.displayName, displayField.pvalue ? displayField.pvalue : '0', resultfield);
|
|
25239
|
+
}
|
|
25240
|
+
});
|
|
25241
|
+
});
|
|
25242
|
+
},
|
|
25243
|
+
//打开树形动态参数输入值的对话框
|
|
25244
|
+
handleSave() {
|
|
25245
|
+
this.customDialogTreeShow(this.pageParam);
|
|
25246
|
+
this.dialogVisible = false;
|
|
25247
|
+
},
|
|
25248
|
+
//关闭树形动态参数输入值的对话框
|
|
25249
|
+
handleClose() {
|
|
25250
|
+
this.dialogVisible = false;
|
|
25251
|
+
}
|
|
25252
|
+
}
|
|
25253
|
+
});
|
|
25254
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=script&lang=js&
|
|
25255
|
+
/* harmony default export */ var src_customDialogvue_type_script_lang_js_ = (customDialogvue_type_script_lang_js_);
|
|
25256
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=3a57945e&prod&lang=scss&scoped=true&
|
|
25257
|
+
var customDialogvue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true_ = __webpack_require__("7ff9");
|
|
25258
|
+
|
|
25259
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue
|
|
25260
|
+
|
|
25261
|
+
|
|
25262
|
+
|
|
25263
|
+
|
|
25264
|
+
|
|
25265
|
+
|
|
25266
|
+
/* normalize component */
|
|
25267
|
+
|
|
25268
|
+
var customDialog_component = normalizeComponent(
|
|
25269
|
+
src_customDialogvue_type_script_lang_js_,
|
|
25270
|
+
customDialogvue_type_template_id_3a57945e_scoped_true_render,
|
|
25271
|
+
customDialogvue_type_template_id_3a57945e_scoped_true_staticRenderFns,
|
|
25272
|
+
false,
|
|
25273
|
+
null,
|
|
25274
|
+
"3a57945e",
|
|
25275
|
+
null
|
|
25276
|
+
|
|
25277
|
+
)
|
|
25278
|
+
|
|
25279
|
+
/* harmony default export */ var CustomDialog_src_customDialog = (customDialog_component.exports);
|
|
25280
|
+
// 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&
|
|
25281
|
+
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":{
|
|
25282
|
+
alias: condition.config.customQuery.alias,
|
|
25283
|
+
valueBind: condition.config.customQuery.valueBind,
|
|
25284
|
+
noInit: '',
|
|
25285
|
+
labelBind: condition.config.customQuery.labelBind,
|
|
25286
|
+
gangedBind: '{}',
|
|
25287
|
+
bind: condition.config.bind,
|
|
25288
|
+
},"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(
|
|
25289
|
+
function (k) { return k.defaultType == '4'; }
|
|
25290
|
+
)),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)}
|
|
25291
|
+
var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns = []
|
|
25292
|
+
|
|
25293
|
+
|
|
25294
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=1661eebb&scoped=true&
|
|
25295
|
+
|
|
25296
|
+
// 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&
|
|
25681
25297
|
//
|
|
25682
25298
|
//
|
|
25683
25299
|
//
|
|
@@ -25957,17 +25573,10 @@ var customMobileDialogvue_type_template_id_51151f21_scoped_true_staticRenderFns
|
|
|
25957
25573
|
subIndex: Number,
|
|
25958
25574
|
sunIndex: Number,
|
|
25959
25575
|
subPath: String,
|
|
25960
|
-
currentSubData: Array
|
|
25961
|
-
dialogConfig: Object,
|
|
25962
|
-
dialogType: String
|
|
25576
|
+
currentSubData: Array
|
|
25963
25577
|
},
|
|
25964
25578
|
data() {
|
|
25965
25579
|
return {
|
|
25966
|
-
dateType: 'date',
|
|
25967
|
-
currentDate: '',
|
|
25968
|
-
// 当前日期
|
|
25969
|
-
isShowDatePop: false,
|
|
25970
|
-
// 是否显示日期选择控件
|
|
25971
25580
|
isShowMoreSearch: false,
|
|
25972
25581
|
treeSelectText: '',
|
|
25973
25582
|
// 组合树时选中的查询条件
|
|
@@ -26047,47 +25656,9 @@ var customMobileDialogvue_type_template_id_51151f21_scoped_true_staticRenderFns
|
|
|
26047
25656
|
sureButtonText() {
|
|
26048
25657
|
const selectedText = this.selectIds.length > 0 ? `(${this.selectIds.length})` : '';
|
|
26049
25658
|
return `${this.$t('ht.common.confirm')}${selectedText}`;
|
|
26050
|
-
},
|
|
26051
|
-
jumpParamKey() {
|
|
26052
|
-
return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
|
|
26053
|
-
},
|
|
26054
|
-
// 是否保存成跳转url参数
|
|
26055
|
-
isHaveJumpUrl() {
|
|
26056
|
-
return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
26057
|
-
},
|
|
26058
|
-
sortDisplayfield() {
|
|
26059
|
-
return this.displayfield.sort((a, b) => {
|
|
26060
|
-
return a.sort > b.sort ? 1 : -1;
|
|
26061
|
-
});
|
|
26062
25659
|
}
|
|
26063
25660
|
},
|
|
26064
25661
|
methods: {
|
|
26065
|
-
// 获取已选择的选择器数据id
|
|
26066
|
-
getSelectId(data) {
|
|
26067
|
-
if (!data || !data.length) {
|
|
26068
|
-
return '';
|
|
26069
|
-
}
|
|
26070
|
-
let ids = [];
|
|
26071
|
-
data.forEach(item => {
|
|
26072
|
-
ids.push(item.id);
|
|
26073
|
-
});
|
|
26074
|
-
return ids.join(',');
|
|
26075
|
-
},
|
|
26076
|
-
showDate(index, key) {
|
|
26077
|
-
this.dateType = this.conditionBind[index].config.inputFormat.includes('mm:') ? 'datetime' : 'date';
|
|
26078
|
-
this.currentDateData = {
|
|
26079
|
-
index,
|
|
26080
|
-
key
|
|
26081
|
-
};
|
|
26082
|
-
this.currentDate = this.queryParams[index][key] ? new Date(this.queryParams[index][key].replace(/-/g, '/')) : new Date();
|
|
26083
|
-
this.isShowDatePop = true;
|
|
26084
|
-
},
|
|
26085
|
-
// 日期确认
|
|
26086
|
-
confirmFn() {
|
|
26087
|
-
let currentConfig = this.conditionBind[this.currentDateData.index];
|
|
26088
|
-
this.queryParams[this.currentDateData.index][this.currentDateData.key] = this.currentDate.format(currentConfig.config.inputFormat);
|
|
26089
|
-
this.isShowDatePop = false;
|
|
26090
|
-
},
|
|
26091
25662
|
searchInputChange() {
|
|
26092
25663
|
if (!this.isShowMoreSearch) {
|
|
26093
25664
|
this.search(true);
|
|
@@ -26133,121 +25704,112 @@ var customMobileDialogvue_type_template_id_51151f21_scoped_true_staticRenderFns
|
|
|
26133
25704
|
this.search(true);
|
|
26134
25705
|
},
|
|
26135
25706
|
showDialog() {
|
|
25707
|
+
const this_ = this;
|
|
26136
25708
|
this.fixedParams = {};
|
|
26137
|
-
// 如果已存在配置信息就不去请求配置信息 直接初始化数据
|
|
26138
|
-
if (this.dialogConfig) {
|
|
26139
|
-
this.initDialog(this.dialogConfig);
|
|
26140
|
-
return;
|
|
26141
|
-
}
|
|
26142
25709
|
var alias = this.custdialog.custDialog.alias;
|
|
26143
25710
|
this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
|
|
26144
|
-
|
|
26145
|
-
|
|
26146
|
-
|
|
26147
|
-
initDialog(customDialog) {
|
|
26148
|
-
let alias = this.custdialog.custDialog.alias;
|
|
26149
|
-
const this_ = this;
|
|
26150
|
-
if (!customDialog || !customDialog.alias) {
|
|
26151
|
-
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
26152
|
-
return;
|
|
26153
|
-
}
|
|
26154
|
-
if (customDialog.style == 1) {
|
|
26155
|
-
var displaylist = JSON.parse(customDialog.displayfield);
|
|
26156
|
-
this_.nodeKey = displaylist.id;
|
|
26157
|
-
}
|
|
26158
|
-
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
26159
|
-
let obj = {};
|
|
26160
|
-
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
26161
|
-
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
26162
|
-
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
26163
|
-
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
26164
|
-
if (exp) {
|
|
26165
|
-
const params = JSON.parse(exp);
|
|
26166
|
-
if (params.pageBean) {
|
|
26167
|
-
this.pagination = {
|
|
26168
|
-
...params.pageBean
|
|
26169
|
-
};
|
|
26170
|
-
}
|
|
25711
|
+
if (!customDialog || !customDialog.alias) {
|
|
25712
|
+
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
25713
|
+
return;
|
|
26171
25714
|
}
|
|
26172
|
-
|
|
26173
|
-
|
|
26174
|
-
|
|
26175
|
-
|
|
26176
|
-
|
|
26177
|
-
|
|
26178
|
-
|
|
26179
|
-
|
|
26180
|
-
|
|
26181
|
-
|
|
26182
|
-
|
|
26183
|
-
|
|
26184
|
-
|
|
26185
|
-
|
|
26186
|
-
|
|
26187
|
-
|
|
26188
|
-
|
|
25715
|
+
if (customDialog.style == 1) {
|
|
25716
|
+
var displaylist = JSON.parse(customDialog.displayfield);
|
|
25717
|
+
this_.nodeKey = displaylist.id;
|
|
25718
|
+
}
|
|
25719
|
+
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
25720
|
+
let obj = {};
|
|
25721
|
+
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
25722
|
+
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
25723
|
+
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
25724
|
+
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
25725
|
+
if (exp) {
|
|
25726
|
+
const params = JSON.parse(exp);
|
|
25727
|
+
if (params.pageBean) {
|
|
25728
|
+
this.pagination = {
|
|
25729
|
+
...params.pageBean
|
|
25730
|
+
};
|
|
25731
|
+
}
|
|
26189
25732
|
}
|
|
26190
|
-
}
|
|
26191
|
-
|
|
25733
|
+
}
|
|
25734
|
+
//对话框按表单字段查询(参数传入的)
|
|
25735
|
+
let bindList = this_.custdialog.custDialog.conditions;
|
|
25736
|
+
this_.param = []; //绑定的表单字段
|
|
25737
|
+
if (bindList.length > 0) {
|
|
25738
|
+
bindList.forEach(ele => {
|
|
25739
|
+
//绑定表单字段
|
|
25740
|
+
if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
|
|
25741
|
+
let obj = {};
|
|
25742
|
+
obj.field = ele.field;
|
|
25743
|
+
obj.bind = ele.bind;
|
|
25744
|
+
obj.bindType = ele.bindType;
|
|
25745
|
+
this_.param.push(obj);
|
|
25746
|
+
}
|
|
25747
|
+
// bindType 1 表单字段 2固定 3脚本
|
|
25748
|
+
if (ele.defaultType == '3' && ele.bindType === 2) {
|
|
25749
|
+
this_.fixedParams[ele.field] = ele.bind || '';
|
|
25750
|
+
}
|
|
25751
|
+
});
|
|
25752
|
+
}
|
|
26192
25753
|
|
|
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
|
-
|
|
26230
|
-
|
|
26231
|
-
|
|
26232
|
-
|
|
26233
|
-
|
|
26234
|
-
|
|
26235
|
-
|
|
26236
|
-
|
|
26237
|
-
|
|
26238
|
-
|
|
25754
|
+
//判断对话框查询是否有条件
|
|
25755
|
+
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
25756
|
+
this_.conditionBind = [];
|
|
25757
|
+
let queryParams = [];
|
|
25758
|
+
let placeholders = [];
|
|
25759
|
+
if (userInputList.length > 0) {
|
|
25760
|
+
userInputList.forEach(ele => {
|
|
25761
|
+
var obj = {};
|
|
25762
|
+
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
25763
|
+
if (ele.defaultType == '1') {
|
|
25764
|
+
obj[ele.field] = '';
|
|
25765
|
+
queryParams.push(obj);
|
|
25766
|
+
// queryParams[ele.field] = "";
|
|
25767
|
+
this_.conditionBind.push(ele);
|
|
25768
|
+
placeholders.push('请输入' + ele.comment);
|
|
25769
|
+
}
|
|
25770
|
+
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
25771
|
+
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
25772
|
+
}
|
|
25773
|
+
});
|
|
25774
|
+
this.$set(this, 'queryParams', queryParams);
|
|
25775
|
+
this.$set(this, 'placeholders', placeholders);
|
|
25776
|
+
}
|
|
25777
|
+
if (customDialog.style == 0 || customDialog.style == 2) {
|
|
25778
|
+
//列表
|
|
25779
|
+
this_.customDialogShow({
|
|
25780
|
+
alias: alias,
|
|
25781
|
+
customDialog: customDialog
|
|
25782
|
+
});
|
|
25783
|
+
} else if (customDialog.style == 1) {
|
|
25784
|
+
//树形
|
|
25785
|
+
this_.pageParam = {
|
|
25786
|
+
alias: alias,
|
|
25787
|
+
customDialog: customDialog
|
|
25788
|
+
};
|
|
25789
|
+
this_.customDialog = customDialog;
|
|
25790
|
+
let param = {};
|
|
25791
|
+
this_.conditionfieldTree = [];
|
|
25792
|
+
//判断是否存在条件
|
|
25793
|
+
if (customDialog.conditionfield) {
|
|
25794
|
+
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
25795
|
+
if (this_.conditionfieldTree.length > 0) {
|
|
25796
|
+
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
25797
|
+
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
25798
|
+
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
25799
|
+
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
25800
|
+
}
|
|
26239
25801
|
}
|
|
26240
25802
|
}
|
|
26241
25803
|
}
|
|
25804
|
+
//有动态传入的字段
|
|
25805
|
+
if (JSON.stringify(param) != '{}') {
|
|
25806
|
+
this_.dialogVisible = true;
|
|
25807
|
+
} else {
|
|
25808
|
+
//无动态传入的字段
|
|
25809
|
+
this_.customDialogTreeShow(this_.pageParam);
|
|
25810
|
+
}
|
|
26242
25811
|
}
|
|
26243
|
-
|
|
26244
|
-
if (JSON.stringify(param) != '{}') {
|
|
26245
|
-
this_.dialogVisible = true;
|
|
26246
|
-
} else {
|
|
26247
|
-
//无动态传入的字段
|
|
26248
|
-
this_.customDialogTreeShow(this_.pageParam);
|
|
26249
|
-
}
|
|
26250
|
-
}
|
|
25812
|
+
});
|
|
26251
25813
|
},
|
|
26252
25814
|
treeClick(data) {
|
|
26253
25815
|
// 单选
|
|
@@ -26365,13 +25927,13 @@ var customMobileDialogvue_type_template_id_51151f21_scoped_true_staticRenderFns
|
|
|
26365
25927
|
}
|
|
26366
25928
|
// 添加用户id 岗位id 组织id
|
|
26367
25929
|
try {
|
|
26368
|
-
if (this.$requestConfig.getUserId
|
|
25930
|
+
if (this.$requestConfig.getUserId()) {
|
|
26369
25931
|
ctx.userId = this.$requestConfig.getUserId();
|
|
26370
25932
|
}
|
|
26371
|
-
if (this.$requestConfig.getOrgId
|
|
25933
|
+
if (this.$requestConfig.getOrgId()) {
|
|
26372
25934
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
26373
25935
|
}
|
|
26374
|
-
if (this.$requestConfig.getPostId
|
|
25936
|
+
if (this.$requestConfig.getPostId()) {
|
|
26375
25937
|
ctx.postId = this.$requestConfig.getPostId();
|
|
26376
25938
|
}
|
|
26377
25939
|
} catch (e) {
|
|
@@ -26456,13 +26018,8 @@ var customMobileDialogvue_type_template_id_51151f21_scoped_true_staticRenderFns
|
|
|
26456
26018
|
this.selectOrgs = this.convertComment2Field(str, field);
|
|
26457
26019
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
26458
26020
|
var val = '';
|
|
26459
|
-
str.forEach(
|
|
26460
|
-
|
|
26461
|
-
if (this.jumpParamKey && this.isHaveJumpUrl && (this.modelName == 'data.' + con['target'][0] || this.modelName.includes('item.') && con['target'][0].endsWith(this.modelName.split('.')[1]))) {
|
|
26462
|
-
val += `${item[con.from]}¯${this.jumpParamKey}:${this.selectOrgs[index][this.jumpParamKey]},`;
|
|
26463
|
-
} else {
|
|
26464
|
-
val += item[con.from] + ',';
|
|
26465
|
-
}
|
|
26021
|
+
str.forEach(item => {
|
|
26022
|
+
val += item[con.from] + ',';
|
|
26466
26023
|
});
|
|
26467
26024
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
26468
26025
|
utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
|
|
@@ -26535,19 +26092,6 @@ var customMobileDialogvue_type_template_id_51151f21_scoped_true_staticRenderFns
|
|
|
26535
26092
|
//用户输入的
|
|
26536
26093
|
if (this.queryParams.length != 0 && this.queryParams[0] != '') {
|
|
26537
26094
|
this.conditionBind.forEach((item, index) => {
|
|
26538
|
-
// 日期范围特殊处理
|
|
26539
|
-
if (item.dbType == 'date' && item.condition == 'BETWEEN') {
|
|
26540
|
-
if (this.queryParams[index].startDate && !this.queryParams[index].endDate || !this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
26541
|
-
flag = true;
|
|
26542
|
-
this.$message.info('日期范围未填写完整!');
|
|
26543
|
-
return;
|
|
26544
|
-
}
|
|
26545
|
-
if (this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
26546
|
-
this.queryParams[index][item.field] = `${this.queryParams[index].startDate},${this.queryParams[index].endDate}`;
|
|
26547
|
-
} else {
|
|
26548
|
-
this.queryParams[index][item.field] = '';
|
|
26549
|
-
}
|
|
26550
|
-
}
|
|
26551
26095
|
if (this.queryParams[index][item.field]) {
|
|
26552
26096
|
querys.push({
|
|
26553
26097
|
property: item.field,
|
|
@@ -26596,13 +26140,13 @@ var customMobileDialogvue_type_template_id_51151f21_scoped_true_staticRenderFns
|
|
|
26596
26140
|
ctx.total = pageBean.pageBean.total;
|
|
26597
26141
|
// 添加用户id 岗位id 组织id
|
|
26598
26142
|
try {
|
|
26599
|
-
if (this.$requestConfig.getUserId
|
|
26143
|
+
if (this.$requestConfig.getUserId()) {
|
|
26600
26144
|
ctx.userId = this.$requestConfig.getUserId();
|
|
26601
26145
|
}
|
|
26602
|
-
if (this.$requestConfig.getOrgId
|
|
26146
|
+
if (this.$requestConfig.getOrgId()) {
|
|
26603
26147
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
26604
26148
|
}
|
|
26605
|
-
if (this.$requestConfig.getPostId
|
|
26149
|
+
if (this.$requestConfig.getPostId()) {
|
|
26606
26150
|
ctx.postId = this.$requestConfig.getPostId();
|
|
26607
26151
|
}
|
|
26608
26152
|
} catch (e) {
|
|
@@ -26630,8 +26174,6 @@ var customMobileDialogvue_type_template_id_51151f21_scoped_true_staticRenderFns
|
|
|
26630
26174
|
} else {
|
|
26631
26175
|
param.pageBean.pageSize = -1;
|
|
26632
26176
|
}
|
|
26633
|
-
// 日期格式的 改成数组
|
|
26634
|
-
// this.changeDateFormat(param)
|
|
26635
26177
|
//构造请求的参数
|
|
26636
26178
|
let requestParam = {
|
|
26637
26179
|
pageBean: param,
|
|
@@ -26667,15 +26209,6 @@ var customMobileDialogvue_type_template_id_51151f21_scoped_true_staticRenderFns
|
|
|
26667
26209
|
}
|
|
26668
26210
|
}
|
|
26669
26211
|
},
|
|
26670
|
-
changeDateFormat(param) {
|
|
26671
|
-
let dateValidate1 = /^\d{4}\-\d{2}\-\d{2}$/;
|
|
26672
|
-
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$/;
|
|
26673
|
-
Object.keys(param).forEach(key => {
|
|
26674
|
-
if (param[key] && typeof param[key] == 'string' && param[key].includes(',') && (dateValidate1.test(param[key].split(',')[0]) || dateValidate2.test(param[key].split(',')[0]))) {
|
|
26675
|
-
param[key] = param[key].split(',');
|
|
26676
|
-
}
|
|
26677
|
-
});
|
|
26678
|
-
},
|
|
26679
26212
|
getSearchValueByKey() {
|
|
26680
26213
|
let queryParamsObj = {};
|
|
26681
26214
|
if (this.queryParams.length > 0) {
|
|
@@ -26874,31 +26407,13 @@ var customMobileDialogvue_type_template_id_51151f21_scoped_true_staticRenderFns
|
|
|
26874
26407
|
}
|
|
26875
26408
|
}
|
|
26876
26409
|
}
|
|
26877
|
-
// 如果是查询中使用的对话框
|
|
26878
|
-
if (this.dialogType == 'search') {
|
|
26879
|
-
let returnVal = [];
|
|
26880
|
-
str.forEach(item => {
|
|
26881
|
-
returnVal.push(decodeURIComponent(item[this.modelName]));
|
|
26882
|
-
});
|
|
26883
|
-
this.$emit('updateInput', returnVal.join(','));
|
|
26884
|
-
return;
|
|
26885
|
-
}
|
|
26886
26410
|
const pInst = utils["a" /* default */].getOnlineFormInstance(this);
|
|
26887
26411
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
26888
26412
|
var val = '';
|
|
26889
26413
|
var from = con.from.toLowerCase();
|
|
26890
26414
|
str.forEach(item => {
|
|
26891
26415
|
if (item) {
|
|
26892
|
-
|
|
26893
|
-
// 需根据key 找到对应 返回数据的返回名称
|
|
26894
|
-
let returnMap = returnStr.find(k => {
|
|
26895
|
-
return k.field.toLowerCase() == this.jumpParamKey.toLowerCase();
|
|
26896
|
-
});
|
|
26897
|
-
let returnMapKey = returnMap ? returnMap.comment : '';
|
|
26898
|
-
val += `${decodeURIComponent(item[from])}¯${this.jumpParamKey}:${decodeURIComponent(item[returnMapKey])},`;
|
|
26899
|
-
} else {
|
|
26900
|
-
val += decodeURIComponent(item[from]) + ',';
|
|
26901
|
-
}
|
|
26416
|
+
val += decodeURIComponent(item[from]) + ',';
|
|
26902
26417
|
}
|
|
26903
26418
|
});
|
|
26904
26419
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
@@ -26935,6 +26450,20 @@ var customMobileDialogvue_type_template_id_51151f21_scoped_true_staticRenderFns
|
|
|
26935
26450
|
}
|
|
26936
26451
|
}
|
|
26937
26452
|
},
|
|
26453
|
+
// getSelected() {
|
|
26454
|
+
// let arr = []
|
|
26455
|
+
// this.selectIds.forEach((item) => {
|
|
26456
|
+
// debugger
|
|
26457
|
+
// let obj = this.dialogData.find((sub) => {
|
|
26458
|
+
// return sub.id_ === item
|
|
26459
|
+
// })
|
|
26460
|
+
// if (obj) {
|
|
26461
|
+
// arr.push(obj)
|
|
26462
|
+
// }
|
|
26463
|
+
// })
|
|
26464
|
+
|
|
26465
|
+
// return arr
|
|
26466
|
+
// },
|
|
26938
26467
|
calacInputSuffixHeight() {
|
|
26939
26468
|
this.$emit('calacInputSuffixHeight');
|
|
26940
26469
|
},
|
|
@@ -27136,11 +26665,11 @@ var customMobileDialogvue_type_template_id_51151f21_scoped_true_staticRenderFns
|
|
|
27136
26665
|
});
|
|
27137
26666
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=script&lang=js&
|
|
27138
26667
|
/* harmony default export */ var src_customMobileDialogvue_type_script_lang_js_ = (customMobileDialogvue_type_script_lang_js_);
|
|
27139
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=
|
|
27140
|
-
var
|
|
26668
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=1661eebb&prod&lang=scss&scoped=true&
|
|
26669
|
+
var customMobileDialogvue_type_style_index_0_id_1661eebb_prod_lang_scss_scoped_true_ = __webpack_require__("de6a");
|
|
27141
26670
|
|
|
27142
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=
|
|
27143
|
-
var
|
|
26671
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=1661eebb&prod&lang=scss&
|
|
26672
|
+
var customMobileDialogvue_type_style_index_1_id_1661eebb_prod_lang_scss_ = __webpack_require__("49f9");
|
|
27144
26673
|
|
|
27145
26674
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue
|
|
27146
26675
|
|
|
@@ -27154,11 +26683,11 @@ var customMobileDialogvue_type_style_index_1_id_51151f21_prod_lang_scss_ = __web
|
|
|
27154
26683
|
|
|
27155
26684
|
var customMobileDialog_component = normalizeComponent(
|
|
27156
26685
|
src_customMobileDialogvue_type_script_lang_js_,
|
|
27157
|
-
|
|
27158
|
-
|
|
26686
|
+
customMobileDialogvue_type_template_id_1661eebb_scoped_true_render,
|
|
26687
|
+
customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns,
|
|
27159
26688
|
false,
|
|
27160
26689
|
null,
|
|
27161
|
-
"
|
|
26690
|
+
"1661eebb",
|
|
27162
26691
|
null
|
|
27163
26692
|
|
|
27164
26693
|
)
|
|
@@ -27302,17 +26831,6 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27302
26831
|
//
|
|
27303
26832
|
//
|
|
27304
26833
|
//
|
|
27305
|
-
//
|
|
27306
|
-
//
|
|
27307
|
-
//
|
|
27308
|
-
//
|
|
27309
|
-
//
|
|
27310
|
-
//
|
|
27311
|
-
//
|
|
27312
|
-
//
|
|
27313
|
-
//
|
|
27314
|
-
//
|
|
27315
|
-
//
|
|
27316
26834
|
|
|
27317
26835
|
|
|
27318
26836
|
|
|
@@ -27344,17 +26862,10 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27344
26862
|
subIndex: Number,
|
|
27345
26863
|
sunIndex: Number,
|
|
27346
26864
|
subPath: String,
|
|
27347
|
-
currentSubData: Array
|
|
27348
|
-
dialogType: {
|
|
27349
|
-
// search表示在查询条件使用 form表示在表单中使用
|
|
27350
|
-
type: String,
|
|
27351
|
-
default: 'form'
|
|
27352
|
-
}
|
|
26865
|
+
currentSubData: Array
|
|
27353
26866
|
},
|
|
27354
26867
|
data() {
|
|
27355
26868
|
return {
|
|
27356
|
-
dialogConfig: null,
|
|
27357
|
-
// 对话框配置信息
|
|
27358
26869
|
isEditInputShow: false,
|
|
27359
26870
|
customValue: '',
|
|
27360
26871
|
defualtTooltipplacement: 'bottom',
|
|
@@ -27403,24 +26914,9 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27403
26914
|
}
|
|
27404
26915
|
let result = [];
|
|
27405
26916
|
nameAry.forEach(m => {
|
|
27406
|
-
|
|
27407
|
-
|
|
27408
|
-
|
|
27409
|
-
if (m.includes('¯') && m.split('¯')[1] || m.includes('ˉ') && m.split('ˉ')[1]) {
|
|
27410
|
-
let val1 = m.includes('¯') ? m.split('¯')[0] : m.split('ˉ')[0];
|
|
27411
|
-
let val2 = m.includes('¯') ? m.split('¯')[1] : m.split('ˉ')[1];
|
|
27412
|
-
n.value = val1;
|
|
27413
|
-
let jumpParamStr = val2;
|
|
27414
|
-
if (jumpParamStr) {
|
|
27415
|
-
let jumpParam = jumpParamStr.split(':');
|
|
27416
|
-
n.jumpParamKey = jumpParam[0];
|
|
27417
|
-
n.jumpParamValue = jumpParam[1];
|
|
27418
|
-
}
|
|
27419
|
-
} else {
|
|
27420
|
-
n = {
|
|
27421
|
-
value: m
|
|
27422
|
-
};
|
|
27423
|
-
}
|
|
26917
|
+
let n = {
|
|
26918
|
+
value: m
|
|
26919
|
+
};
|
|
27424
26920
|
result.push(n);
|
|
27425
26921
|
});
|
|
27426
26922
|
return result;
|
|
@@ -27428,16 +26924,8 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27428
26924
|
},
|
|
27429
26925
|
isAllowCustom() {
|
|
27430
26926
|
return this.custdialog && this.custdialog.allowInput;
|
|
27431
|
-
},
|
|
27432
|
-
// 是否展示可跳转颜色
|
|
27433
|
-
isSrcColor() {
|
|
27434
|
-
return this.dialogConfig && this.dialogType !== 'search' && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
27435
26927
|
}
|
|
27436
26928
|
},
|
|
27437
|
-
created() {
|
|
27438
|
-
// 获取对话框配置,看是否有配置url跳转
|
|
27439
|
-
this.getDialogConfig();
|
|
27440
|
-
},
|
|
27441
26929
|
mounted() {
|
|
27442
26930
|
setTimeout(() => {
|
|
27443
26931
|
const {
|
|
@@ -27455,69 +26943,9 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27455
26943
|
}
|
|
27456
26944
|
//获取对话框按钮名称宽度
|
|
27457
26945
|
this.calacInputSuffixWidth();
|
|
27458
|
-
if (this.value && this.inputWriteable) {
|
|
27459
|
-
this.calacInputSuffixHeight();
|
|
27460
|
-
}
|
|
27461
26946
|
}, 50);
|
|
27462
26947
|
},
|
|
27463
26948
|
methods: {
|
|
27464
|
-
// 跳转url页面
|
|
27465
|
-
jumpUrl(item) {
|
|
27466
|
-
if (!this.isSrcColor) {
|
|
27467
|
-
if (this.inputWriteable) {
|
|
27468
|
-
this.showEditInput();
|
|
27469
|
-
}
|
|
27470
|
-
return;
|
|
27471
|
-
}
|
|
27472
|
-
let url = this.isMobile ? this.dialogConfig.mobileUrl : this.dialogConfig.pcUrl;
|
|
27473
|
-
// 获取通用token 和 url翻译
|
|
27474
|
-
Promise.all([this.$requestConfig.getThreeTreeToken(), this.transformUrl(url)]).then(res => {
|
|
27475
|
-
if (res[0] && res[0].code == 200) {
|
|
27476
|
-
let token = res[0].value;
|
|
27477
|
-
let endUrl = res[1];
|
|
27478
|
-
// 拼接参数 token和参数
|
|
27479
|
-
if (endUrl.indexOf('?') == -1) {
|
|
27480
|
-
endUrl += `?bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
|
|
27481
|
-
} else {
|
|
27482
|
-
endUrl += `&bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
|
|
27483
|
-
}
|
|
27484
|
-
window.open(endUrl);
|
|
27485
|
-
} else {
|
|
27486
|
-
this.$message.info(res.message || '获取token失败!');
|
|
27487
|
-
}
|
|
27488
|
-
});
|
|
27489
|
-
},
|
|
27490
|
-
// 替换url中域名通配符 需要发送接口
|
|
27491
|
-
transformUrl(url) {
|
|
27492
|
-
return new Promise(resolve => {
|
|
27493
|
-
var reg = /(\$\{(\w+)\})/;
|
|
27494
|
-
var match = reg.exec(url);
|
|
27495
|
-
if (match) {
|
|
27496
|
-
let alias = match[2];
|
|
27497
|
-
if (alias) {
|
|
27498
|
-
this.$requestConfig.getHostByAlias(alias).then(res => {
|
|
27499
|
-
if (res && res.value && res.value.rootAddress) {
|
|
27500
|
-
resolve(url.replace(match[1], res.value.rootAddress));
|
|
27501
|
-
} else {
|
|
27502
|
-
resolve(url);
|
|
27503
|
-
}
|
|
27504
|
-
});
|
|
27505
|
-
} else {
|
|
27506
|
-
resolve(url);
|
|
27507
|
-
}
|
|
27508
|
-
} else {
|
|
27509
|
-
resolve(url);
|
|
27510
|
-
}
|
|
27511
|
-
});
|
|
27512
|
-
},
|
|
27513
|
-
// 获取对话框配置
|
|
27514
|
-
getDialogConfig() {
|
|
27515
|
-
if (this.custdialog && this.custdialog.custDialog && this.custdialog.custDialog.alias) this.$requestConfig.getCustomDialogByAlias(this.custdialog.custDialog.alias).then(response => {
|
|
27516
|
-
if (response) {
|
|
27517
|
-
this.dialogConfig = response;
|
|
27518
|
-
}
|
|
27519
|
-
});
|
|
27520
|
-
},
|
|
27521
26949
|
editInputBlur() {
|
|
27522
26950
|
this.$emit('input', this.customValue);
|
|
27523
26951
|
this.isEditInputShow = false;
|
|
@@ -27592,8 +27020,8 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27592
27020
|
});
|
|
27593
27021
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=script&lang=js&
|
|
27594
27022
|
/* harmony default export */ var packages_CustomDialog_src_mainvue_type_script_lang_js_ = (CustomDialog_src_mainvue_type_script_lang_js_);
|
|
27595
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=
|
|
27596
|
-
var
|
|
27023
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=0b5eb5e6&prod&lang=scss&scoped=true&
|
|
27024
|
+
var mainvue_type_style_index_0_id_0b5eb5e6_prod_lang_scss_scoped_true_ = __webpack_require__("be12");
|
|
27597
27025
|
|
|
27598
27026
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue
|
|
27599
27027
|
|
|
@@ -27606,11 +27034,11 @@ var mainvue_type_style_index_0_id_16ccb9a5_prod_lang_scss_scoped_true_ = __webpa
|
|
|
27606
27034
|
|
|
27607
27035
|
var CustomDialog_src_main_component = normalizeComponent(
|
|
27608
27036
|
packages_CustomDialog_src_mainvue_type_script_lang_js_,
|
|
27609
|
-
|
|
27610
|
-
|
|
27037
|
+
mainvue_type_template_id_0b5eb5e6_scoped_true_render,
|
|
27038
|
+
mainvue_type_template_id_0b5eb5e6_scoped_true_staticRenderFns,
|
|
27611
27039
|
false,
|
|
27612
27040
|
null,
|
|
27613
|
-
"
|
|
27041
|
+
"0b5eb5e6",
|
|
27614
27042
|
null
|
|
27615
27043
|
|
|
27616
27044
|
)
|