three-trees-ui 1.0.12 → 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 +468 -1011
- package/lib/three-trees-ui.css +1 -1
- package/lib/three-trees-ui.umd.js +468 -1011
- package/lib/three-trees-ui.umd.min.js +1 -1
- package/package.json +1 -1
- package/packages/CustomDialog/src/customDialog.vue +165 -454
- package/packages/CustomDialog/src/customMobileDialog.vue +155 -456
- package/packages/CustomDialog/src/main.vue +8 -147
- package/packages/DimensionSelector/src/main.vue +0 -2
- package/packages/Tree/src/main.vue +2 -7
|
@@ -1650,32 +1650,21 @@ const btnList = [{
|
|
|
1650
1650
|
|
|
1651
1651
|
/***/ }),
|
|
1652
1652
|
|
|
1653
|
-
/***/ "
|
|
1653
|
+
/***/ "0ca0":
|
|
1654
1654
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1655
1655
|
|
|
1656
1656
|
// extracted by mini-css-extract-plugin
|
|
1657
1657
|
|
|
1658
1658
|
/***/ }),
|
|
1659
1659
|
|
|
1660
|
-
/***/ "
|
|
1660
|
+
/***/ "0edb":
|
|
1661
1661
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1662
1662
|
|
|
1663
1663
|
// extracted by mini-css-extract-plugin
|
|
1664
1664
|
|
|
1665
1665
|
/***/ }),
|
|
1666
1666
|
|
|
1667
|
-
/***/ "
|
|
1668
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1669
|
-
|
|
1670
|
-
"use strict";
|
|
1671
|
-
/* 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_8c0b36ee_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1561");
|
|
1672
|
-
/* 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_8c0b36ee_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_8c0b36ee_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
1673
|
-
/* unused harmony reexport * */
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
/***/ }),
|
|
1677
|
-
|
|
1678
|
-
/***/ "11c6":
|
|
1667
|
+
/***/ "0f2d":
|
|
1679
1668
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1680
1669
|
|
|
1681
1670
|
// extracted by mini-css-extract-plugin
|
|
@@ -1722,13 +1711,6 @@ const btnList = [{
|
|
|
1722
1711
|
|
|
1723
1712
|
/***/ }),
|
|
1724
1713
|
|
|
1725
|
-
/***/ "1561":
|
|
1726
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1727
|
-
|
|
1728
|
-
// extracted by mini-css-extract-plugin
|
|
1729
|
-
|
|
1730
|
-
/***/ }),
|
|
1731
|
-
|
|
1732
1714
|
/***/ "1639":
|
|
1733
1715
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1734
1716
|
|
|
@@ -1900,6 +1882,13 @@ const SubPagination = {
|
|
|
1900
1882
|
/* unused harmony reexport * */
|
|
1901
1883
|
|
|
1902
1884
|
|
|
1885
|
+
/***/ }),
|
|
1886
|
+
|
|
1887
|
+
/***/ "1ccc":
|
|
1888
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1889
|
+
|
|
1890
|
+
// extracted by mini-css-extract-plugin
|
|
1891
|
+
|
|
1903
1892
|
/***/ }),
|
|
1904
1893
|
|
|
1905
1894
|
/***/ "200a":
|
|
@@ -1957,17 +1946,6 @@ const SubPagination = {
|
|
|
1957
1946
|
/* unused harmony reexport * */
|
|
1958
1947
|
|
|
1959
1948
|
|
|
1960
|
-
/***/ }),
|
|
1961
|
-
|
|
1962
|
-
/***/ "2662":
|
|
1963
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1964
|
-
|
|
1965
|
-
"use strict";
|
|
1966
|
-
/* 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_df767308_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("11c6");
|
|
1967
|
-
/* 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_df767308_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_df767308_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
1968
|
-
/* unused harmony reexport * */
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
1949
|
/***/ }),
|
|
1972
1950
|
|
|
1973
1951
|
/***/ "289a":
|
|
@@ -2074,6 +2052,13 @@ module.exports = require("vuedraggable");
|
|
|
2074
2052
|
|
|
2075
2053
|
/***/ }),
|
|
2076
2054
|
|
|
2055
|
+
/***/ "333d":
|
|
2056
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2057
|
+
|
|
2058
|
+
// extracted by mini-css-extract-plugin
|
|
2059
|
+
|
|
2060
|
+
/***/ }),
|
|
2061
|
+
|
|
2077
2062
|
/***/ "33ce":
|
|
2078
2063
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2079
2064
|
|
|
@@ -2861,6 +2846,17 @@ Formulas.install = Vue => {
|
|
|
2861
2846
|
/* unused harmony reexport * */
|
|
2862
2847
|
|
|
2863
2848
|
|
|
2849
|
+
/***/ }),
|
|
2850
|
+
|
|
2851
|
+
/***/ "48f7":
|
|
2852
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2853
|
+
|
|
2854
|
+
"use strict";
|
|
2855
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_5731e345_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1ccc");
|
|
2856
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_5731e345_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_5731e345_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
2857
|
+
/* unused harmony reexport * */
|
|
2858
|
+
|
|
2859
|
+
|
|
2864
2860
|
/***/ }),
|
|
2865
2861
|
|
|
2866
2862
|
/***/ "4919":
|
|
@@ -2893,6 +2889,17 @@ Formulas.install = Vue => {
|
|
|
2893
2889
|
|
|
2894
2890
|
// extracted by mini-css-extract-plugin
|
|
2895
2891
|
|
|
2892
|
+
/***/ }),
|
|
2893
|
+
|
|
2894
|
+
/***/ "49f9":
|
|
2895
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2896
|
+
|
|
2897
|
+
"use strict";
|
|
2898
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_1_id_1661eebb_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("7c6e");
|
|
2899
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_1_id_1661eebb_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_1_id_1661eebb_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
2900
|
+
/* unused harmony reexport * */
|
|
2901
|
+
|
|
2902
|
+
|
|
2896
2903
|
/***/ }),
|
|
2897
2904
|
|
|
2898
2905
|
/***/ "4a17":
|
|
@@ -3031,13 +3038,6 @@ exports.clearImmediate = (typeof self !== "undefined" && self.clearImmediate) ||
|
|
|
3031
3038
|
|
|
3032
3039
|
/***/ }),
|
|
3033
3040
|
|
|
3034
|
-
/***/ "569e":
|
|
3035
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
3036
|
-
|
|
3037
|
-
// extracted by mini-css-extract-plugin
|
|
3038
|
-
|
|
3039
|
-
/***/ }),
|
|
3040
|
-
|
|
3041
3041
|
/***/ "5877":
|
|
3042
3042
|
/***/ (function(module, exports) {
|
|
3043
3043
|
|
|
@@ -4128,13 +4128,6 @@ const dict = {
|
|
|
4128
4128
|
|
|
4129
4129
|
/***/ }),
|
|
4130
4130
|
|
|
4131
|
-
/***/ "6ebe":
|
|
4132
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4133
|
-
|
|
4134
|
-
// extracted by mini-css-extract-plugin
|
|
4135
|
-
|
|
4136
|
-
/***/ }),
|
|
4137
|
-
|
|
4138
4131
|
/***/ "6f28":
|
|
4139
4132
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4140
4133
|
|
|
@@ -4201,13 +4194,6 @@ const dict = {
|
|
|
4201
4194
|
/* unused harmony reexport * */
|
|
4202
4195
|
|
|
4203
4196
|
|
|
4204
|
-
/***/ }),
|
|
4205
|
-
|
|
4206
|
-
/***/ "72c1":
|
|
4207
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4208
|
-
|
|
4209
|
-
// extracted by mini-css-extract-plugin
|
|
4210
|
-
|
|
4211
4197
|
/***/ }),
|
|
4212
4198
|
|
|
4213
4199
|
/***/ "768a":
|
|
@@ -4249,6 +4235,13 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4249
4235
|
|
|
4250
4236
|
/***/ }),
|
|
4251
4237
|
|
|
4238
|
+
/***/ "7c6e":
|
|
4239
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4240
|
+
|
|
4241
|
+
// extracted by mini-css-extract-plugin
|
|
4242
|
+
|
|
4243
|
+
/***/ }),
|
|
4244
|
+
|
|
4252
4245
|
/***/ "7d0a":
|
|
4253
4246
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4254
4247
|
|
|
@@ -4276,6 +4269,17 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4276
4269
|
|
|
4277
4270
|
// extracted by mini-css-extract-plugin
|
|
4278
4271
|
|
|
4272
|
+
/***/ }),
|
|
4273
|
+
|
|
4274
|
+
/***/ "7ff9":
|
|
4275
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4276
|
+
|
|
4277
|
+
"use strict";
|
|
4278
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customDialog_vue_vue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("333d");
|
|
4279
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customDialog_vue_vue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customDialog_vue_vue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
4280
|
+
/* unused harmony reexport * */
|
|
4281
|
+
|
|
4282
|
+
|
|
4279
4283
|
/***/ }),
|
|
4280
4284
|
|
|
4281
4285
|
/***/ "8262":
|
|
@@ -4711,7 +4715,14 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
4711
4715
|
/***/ "9224":
|
|
4712
4716
|
/***/ (function(module) {
|
|
4713
4717
|
|
|
4714
|
-
module.exports = JSON.parse("{\"a\":\"1.0.
|
|
4718
|
+
module.exports = JSON.parse("{\"a\":\"1.0.14\"}");
|
|
4719
|
+
|
|
4720
|
+
/***/ }),
|
|
4721
|
+
|
|
4722
|
+
/***/ "923d":
|
|
4723
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4724
|
+
|
|
4725
|
+
// extracted by mini-css-extract-plugin
|
|
4715
4726
|
|
|
4716
4727
|
/***/ }),
|
|
4717
4728
|
|
|
@@ -4793,13 +4804,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHoAAABMCAYAAACi
|
|
|
4793
4804
|
|
|
4794
4805
|
/***/ }),
|
|
4795
4806
|
|
|
4796
|
-
/***/ "a0ca":
|
|
4797
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4798
|
-
|
|
4799
|
-
// extracted by mini-css-extract-plugin
|
|
4800
|
-
|
|
4801
|
-
/***/ }),
|
|
4802
|
-
|
|
4803
4807
|
/***/ "a1fa":
|
|
4804
4808
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4805
4809
|
|
|
@@ -4843,6 +4847,13 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHoAAABMCAYAAACi
|
|
|
4843
4847
|
|
|
4844
4848
|
/***/ }),
|
|
4845
4849
|
|
|
4850
|
+
/***/ "a707":
|
|
4851
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4852
|
+
|
|
4853
|
+
// extracted by mini-css-extract-plugin
|
|
4854
|
+
|
|
4855
|
+
/***/ }),
|
|
4856
|
+
|
|
4846
4857
|
/***/ "a751":
|
|
4847
4858
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4848
4859
|
|
|
@@ -6290,17 +6301,6 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
|
|
|
6290
6301
|
/* unused harmony reexport * */
|
|
6291
6302
|
|
|
6292
6303
|
|
|
6293
|
-
/***/ }),
|
|
6294
|
-
|
|
6295
|
-
/***/ "b8c3":
|
|
6296
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6297
|
-
|
|
6298
|
-
"use strict";
|
|
6299
|
-
/* 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_2bda41f4_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("72c1");
|
|
6300
|
-
/* 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_2bda41f4_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_2bda41f4_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
6301
|
-
/* unused harmony reexport * */
|
|
6302
|
-
|
|
6303
|
-
|
|
6304
6304
|
/***/ }),
|
|
6305
6305
|
|
|
6306
6306
|
/***/ "b944":
|
|
@@ -6431,6 +6431,17 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
|
|
|
6431
6431
|
|
|
6432
6432
|
// extracted by mini-css-extract-plugin
|
|
6433
6433
|
|
|
6434
|
+
/***/ }),
|
|
6435
|
+
|
|
6436
|
+
/***/ "be12":
|
|
6437
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6438
|
+
|
|
6439
|
+
"use strict";
|
|
6440
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_0b5eb5e6_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("0ca0");
|
|
6441
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_0b5eb5e6_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_0b5eb5e6_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
6442
|
+
/* unused harmony reexport * */
|
|
6443
|
+
|
|
6444
|
+
|
|
6434
6445
|
/***/ }),
|
|
6435
6446
|
|
|
6436
6447
|
/***/ "c0a9":
|
|
@@ -6449,6 +6460,17 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
|
|
|
6449
6460
|
|
|
6450
6461
|
module.exports = require("moment");
|
|
6451
6462
|
|
|
6463
|
+
/***/ }),
|
|
6464
|
+
|
|
6465
|
+
/***/ "c33b":
|
|
6466
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6467
|
+
|
|
6468
|
+
"use strict";
|
|
6469
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a707");
|
|
6470
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
6471
|
+
/* unused harmony reexport * */
|
|
6472
|
+
|
|
6473
|
+
|
|
6452
6474
|
/***/ }),
|
|
6453
6475
|
|
|
6454
6476
|
/***/ "c429":
|
|
@@ -6581,17 +6603,6 @@ module.exports = g;
|
|
|
6581
6603
|
/* unused harmony reexport * */
|
|
6582
6604
|
|
|
6583
6605
|
|
|
6584
|
-
/***/ }),
|
|
6585
|
-
|
|
6586
|
-
/***/ "cc2b":
|
|
6587
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6588
|
-
|
|
6589
|
-
"use strict";
|
|
6590
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_10f71c00_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("569e");
|
|
6591
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_10f71c00_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_10f71c00_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
6592
|
-
/* unused harmony reexport * */
|
|
6593
|
-
|
|
6594
|
-
|
|
6595
6606
|
/***/ }),
|
|
6596
6607
|
|
|
6597
6608
|
/***/ "cd87":
|
|
@@ -7080,17 +7091,6 @@ const {
|
|
|
7080
7091
|
}
|
|
7081
7092
|
});
|
|
7082
7093
|
|
|
7083
|
-
/***/ }),
|
|
7084
|
-
|
|
7085
|
-
/***/ "d656":
|
|
7086
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7087
|
-
|
|
7088
|
-
"use strict";
|
|
7089
|
-
/* 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_8c0b36ee_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a0ca");
|
|
7090
|
-
/* 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_8c0b36ee_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_8c0b36ee_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
7091
|
-
/* unused harmony reexport * */
|
|
7092
|
-
|
|
7093
|
-
|
|
7094
7094
|
/***/ }),
|
|
7095
7095
|
|
|
7096
7096
|
/***/ "d705":
|
|
@@ -7157,23 +7157,23 @@ module.exports = require("deepmerge");
|
|
|
7157
7157
|
|
|
7158
7158
|
/***/ }),
|
|
7159
7159
|
|
|
7160
|
-
/***/ "
|
|
7160
|
+
/***/ "dccc":
|
|
7161
7161
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7162
7162
|
|
|
7163
7163
|
"use strict";
|
|
7164
|
-
/* harmony import */ var
|
|
7165
|
-
/* harmony import */ var
|
|
7164
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_68e2d4a1_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("8728");
|
|
7165
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_68e2d4a1_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_68e2d4a1_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
7166
7166
|
/* unused harmony reexport * */
|
|
7167
7167
|
|
|
7168
7168
|
|
|
7169
7169
|
/***/ }),
|
|
7170
7170
|
|
|
7171
|
-
/***/ "
|
|
7171
|
+
/***/ "de6a":
|
|
7172
7172
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7173
7173
|
|
|
7174
7174
|
"use strict";
|
|
7175
|
-
/* harmony import */ var
|
|
7176
|
-
/* harmony import */ var
|
|
7175
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_0_id_1661eebb_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("923d");
|
|
7176
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_0_id_1661eebb_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_0_id_1661eebb_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
7177
7177
|
/* unused harmony reexport * */
|
|
7178
7178
|
|
|
7179
7179
|
|
|
@@ -15606,17 +15606,17 @@ Demension_src_main.install = function (Vue) {
|
|
|
15606
15606
|
Vue.component(Demension_src_main.name, Demension_src_main);
|
|
15607
15607
|
};
|
|
15608
15608
|
/* harmony default export */ var Demension = (Demension_src_main);
|
|
15609
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/Tree/src/main.vue?vue&type=template&id=
|
|
15610
|
-
var
|
|
15609
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/Tree/src/main.vue?vue&type=template&id=5731e345&scoped=true&
|
|
15610
|
+
var mainvue_type_template_id_5731e345_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{style:(_vm.containerStyle)},[(_vm.supportFilter)?_c('div',{staticClass:"tree-header flex"},[_vm._t("custom-prefix"),_c('el-input',{attrs:{"placeholder":_vm.t('ht.tree.filterText'),"clearable":""},model:{value:(_vm.filterText),callback:function ($$v) {_vm.filterText=$$v},expression:"filterText"}},[_c('i',{staticClass:"el-input__icon el-icon-search",attrs:{"slot":"prefix"},slot:"prefix"})]),_c('div',{class:_vm.isIeExplorer
|
|
15611
15611
|
? 'tree-button-group is-ie-explorer flex'
|
|
15612
15612
|
: 'tree-button-group flex'},[_vm._t("custom-button"),_c('ht-icon',{staticClass:"tree-icon",attrs:{"name":_vm.isExpand ? 'simple-collapse' : 'simple-expand',"title":_vm.isExpand ? '收起' : '展开',"scale":"1.2"},on:{"click":_vm.handleExpandCollapse}}),_c('ht-icon',{staticClass:"tree-icon refresh",attrs:{"name":"refresh","pulse":_vm.loading,"scale":"1.1","title":"刷新"},on:{"click":_vm.refresh}})],2)],2):_vm._e(),(_vm.isShowEmpty)?_c('el-empty',{attrs:{"image":_vm.treeNoDataImg,"image-size":_vm.imageSize}}):_c('el-tree',{ref:"elTree",staticClass:"el-tree__wrapper",style:(_vm.elTreeStyle),attrs:{"data":_vm.data ? _vm.data : _vm.treeData,"props":_vm.props,"empty-text":_vm.emptyText,"default-expand-all":_vm.defaultExpandAll,"filter-node-method":_vm.filterNode,"load":_vm.load,"lazy":_vm.lazy,"show-checkbox":_vm.showCheckbox,"accordion":_vm.accordion,"node-key":_vm.nodeKey,"default-expanded-keys":_vm.defaultExpandedKeys,"highlight-current":_vm.highlightCurrent,"render-after-expand":_vm.renderAfterExpand,"render-content":_vm.renderContent,"check-on-click-node":_vm.checkOnClickNode,"auto-expand-parent":_vm.autoExpandParent,"check-strictly":_vm.checkStrictly,"current-node-key":_vm.currentNodeKey,"indent":_vm.indent,"icon-class":_vm.iconClass,"draggable":_vm.draggable,"allow-drag":_vm.allowDrag,"allow-drop":_vm.allowDrop,"expand-on-click-node":_vm.expandOnClickNode,"default-checked-keys":_vm.defaultCheckedKeys},on:{"node-click":_vm.handleNodeClick,"node-contextmenu":_vm.nodeContextmenu,"check-change":_vm.checkChange,"check":_vm.check,"current-change":_vm.currentChange,"node-expand":_vm.nodeExpand,"node-collapse":_vm.nodeCollapse,"node-drag-start":_vm.nodeDragStart,"node-drag-enter":_vm.nodeDragEnter,"node-drag-leave":_vm.nodeDragLeave,"node-drag-over":_vm.nodeDragOver,"node-drag-end":_vm.nodeDragEnd,"node-drop":_vm.nodeDrop},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
15613
15613
|
var node = ref.node;
|
|
15614
15614
|
var subData = ref.data;
|
|
15615
15615
|
return (_vm.$scopedSlots['default'])?_vm._t("default",null,{"node":node,"data":subData}):[_c('span',{staticClass:"el-tree-node__label show-ellipsis",class:{ 'full-width': !_vm.showMoreButton },attrs:{"title":node.label}},[_vm._v("\n "+_vm._s(node.label)+"\n ")])]}}],null,true)})],1)}
|
|
15616
|
-
var
|
|
15616
|
+
var mainvue_type_template_id_5731e345_scoped_true_staticRenderFns = []
|
|
15617
15617
|
|
|
15618
15618
|
|
|
15619
|
-
// CONCATENATED MODULE: ./packages/Tree/src/main.vue?vue&type=template&id=
|
|
15619
|
+
// CONCATENATED MODULE: ./packages/Tree/src/main.vue?vue&type=template&id=5731e345&scoped=true&
|
|
15620
15620
|
|
|
15621
15621
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/Tree/src/main.vue?vue&type=script&lang=js&
|
|
15622
15622
|
//
|
|
@@ -15891,11 +15891,7 @@ var mainvue_type_template_id_10f71c00_scoped_true_staticRenderFns = []
|
|
|
15891
15891
|
},
|
|
15892
15892
|
watch: {
|
|
15893
15893
|
filterText(val) {
|
|
15894
|
-
|
|
15895
|
-
this.$emit('loadALL', val);
|
|
15896
|
-
} else {
|
|
15897
|
-
this.$refs.elTree.filter(val);
|
|
15898
|
-
}
|
|
15894
|
+
this.$refs.elTree.filter(val);
|
|
15899
15895
|
},
|
|
15900
15896
|
defaultCheckedKeys(val) {
|
|
15901
15897
|
this.$refs.elTree.setCheckedKeys(val);
|
|
@@ -15988,8 +15984,8 @@ var mainvue_type_template_id_10f71c00_scoped_true_staticRenderFns = []
|
|
|
15988
15984
|
});
|
|
15989
15985
|
// CONCATENATED MODULE: ./packages/Tree/src/main.vue?vue&type=script&lang=js&
|
|
15990
15986
|
/* harmony default export */ var packages_Tree_src_mainvue_type_script_lang_js_ = (Tree_src_mainvue_type_script_lang_js_);
|
|
15991
|
-
// EXTERNAL MODULE: ./packages/Tree/src/main.vue?vue&type=style&index=0&id=
|
|
15992
|
-
var
|
|
15987
|
+
// EXTERNAL MODULE: ./packages/Tree/src/main.vue?vue&type=style&index=0&id=5731e345&prod&lang=scss&scoped=true&
|
|
15988
|
+
var mainvue_type_style_index_0_id_5731e345_prod_lang_scss_scoped_true_ = __webpack_require__("48f7");
|
|
15993
15989
|
|
|
15994
15990
|
// CONCATENATED MODULE: ./packages/Tree/src/main.vue
|
|
15995
15991
|
|
|
@@ -16002,11 +15998,11 @@ var mainvue_type_style_index_0_id_10f71c00_prod_lang_scss_scoped_true_ = __webpa
|
|
|
16002
15998
|
|
|
16003
15999
|
var Tree_src_main_component = normalizeComponent(
|
|
16004
16000
|
packages_Tree_src_mainvue_type_script_lang_js_,
|
|
16005
|
-
|
|
16006
|
-
|
|
16001
|
+
mainvue_type_template_id_5731e345_scoped_true_render,
|
|
16002
|
+
mainvue_type_template_id_5731e345_scoped_true_staticRenderFns,
|
|
16007
16003
|
false,
|
|
16008
16004
|
null,
|
|
16009
|
-
"
|
|
16005
|
+
"5731e345",
|
|
16010
16006
|
null
|
|
16011
16007
|
|
|
16012
16008
|
)
|
|
@@ -22498,8 +22494,8 @@ PostSelector_src_main.install = function (Vue) {
|
|
|
22498
22494
|
Vue.component(PostSelector_src_main.name, PostSelector_src_main);
|
|
22499
22495
|
};
|
|
22500
22496
|
/* harmony default export */ var PostSelector = (PostSelector_src_main);
|
|
22501
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/DimensionSelector/src/main.vue?vue&type=template&id=
|
|
22502
|
-
var
|
|
22497
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/DimensionSelector/src/main.vue?vue&type=template&id=10681225&scoped=true&
|
|
22498
|
+
var mainvue_type_template_id_10681225_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.permission !== 'n')?_c('div',{class:[
|
|
22503
22499
|
'inputs',
|
|
22504
22500
|
_vm.formInputsDisplay == 'block'
|
|
22505
22501
|
? 'ht-form-inputs__block'
|
|
@@ -22514,10 +22510,10 @@ var mainvue_type_template_id_8015cf1e_scoped_true_render = function () {var _vm=
|
|
|
22514
22510
|
return [_c('ht-icon',{staticClass:"follow-theme-color",staticStyle:{"margin-left":"15px","width":"36px","height":"36px"},attrs:{"name":"demension"}}),_c('div',{staticClass:"selector-item__detail"},[_c('div',{staticClass:"selector-detail__name"},[_c('label',[_vm._v(_vm._s(item[_vm.selectLabel]))]),_c('span',[_vm._v("("+_vm._s(item['code'])+")")])])])]}},{key:"selected",fn:function(ref){
|
|
22515
22511
|
var select = ref.select;
|
|
22516
22512
|
return [_c('ht-icon',{staticClass:"follow-theme-color",staticStyle:{"margin-left":"15px","width":"36px","height":"36px"},attrs:{"name":"demension"}}),_c('p',{staticClass:"selector-selected__label",attrs:{"title":((select[_vm.selectLabel]) + "(" + (select['code']) + ")")}},[_vm._v("\n "+_vm._s(((select[_vm.selectLabel]) + "(" + (select['code']) + ")"))+"\n ")])]}}],null,false,3344182147),model:{value:(_vm.demensions),callback:function ($$v) {_vm.demensions=$$v},expression:"demensions"}})],1),_c('div',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"type":"primary","size":"small"},on:{"click":_vm.handleDialogSure}},[_vm._v("\n 确 定\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.handleDialogCancel}},[_vm._v("取 消")])],1)])],1):_vm._e()}
|
|
22517
|
-
var
|
|
22513
|
+
var mainvue_type_template_id_10681225_scoped_true_staticRenderFns = []
|
|
22518
22514
|
|
|
22519
22515
|
|
|
22520
|
-
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=template&id=
|
|
22516
|
+
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=template&id=10681225&scoped=true&
|
|
22521
22517
|
|
|
22522
22518
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/DimensionSelector/src/main.vue?vue&type=script&lang=js&
|
|
22523
22519
|
//
|
|
@@ -22776,8 +22772,6 @@ var mainvue_type_template_id_8015cf1e_scoped_true_staticRenderFns = []
|
|
|
22776
22772
|
if (this.config.hasOwnProperty('demName')) {
|
|
22777
22773
|
utils["a" /* default */].setValueByConfigKey(this, this.config, 'demName', demNameAry.join(','));
|
|
22778
22774
|
}
|
|
22779
|
-
} else {
|
|
22780
|
-
this.$emit('change', newVal);
|
|
22781
22775
|
}
|
|
22782
22776
|
// 通过valueChange事件发布值变更消息
|
|
22783
22777
|
this.$emit('valueChange', ary.join(','), newVal);
|
|
@@ -22907,8 +22901,8 @@ var mainvue_type_template_id_8015cf1e_scoped_true_staticRenderFns = []
|
|
|
22907
22901
|
});
|
|
22908
22902
|
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=script&lang=js&
|
|
22909
22903
|
/* harmony default export */ var packages_DimensionSelector_src_mainvue_type_script_lang_js_ = (DimensionSelector_src_mainvue_type_script_lang_js_);
|
|
22910
|
-
// EXTERNAL MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=style&index=0&id=
|
|
22911
|
-
var
|
|
22904
|
+
// EXTERNAL MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=style&index=0&id=10681225&prod&lang=scss&scoped=true&
|
|
22905
|
+
var mainvue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true_ = __webpack_require__("c33b");
|
|
22912
22906
|
|
|
22913
22907
|
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue
|
|
22914
22908
|
|
|
@@ -22921,11 +22915,11 @@ var mainvue_type_style_index_0_id_8015cf1e_prod_lang_scss_scoped_true_ = __webpa
|
|
|
22921
22915
|
|
|
22922
22916
|
var DimensionSelector_src_main_component = normalizeComponent(
|
|
22923
22917
|
packages_DimensionSelector_src_mainvue_type_script_lang_js_,
|
|
22924
|
-
|
|
22925
|
-
|
|
22918
|
+
mainvue_type_template_id_10681225_scoped_true_render,
|
|
22919
|
+
mainvue_type_template_id_10681225_scoped_true_staticRenderFns,
|
|
22926
22920
|
false,
|
|
22927
22921
|
null,
|
|
22928
|
-
"
|
|
22922
|
+
"10681225",
|
|
22929
22923
|
null
|
|
22930
22924
|
|
|
22931
22925
|
)
|
|
@@ -23553,8 +23547,8 @@ Dialog_src_main.install = function (Vue) {
|
|
|
23553
23547
|
Vue.component(Dialog_src_main.name, Dialog_src_main);
|
|
23554
23548
|
};
|
|
23555
23549
|
/* harmony default export */ var Dialog = (Dialog_src_main);
|
|
23556
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/main.vue?vue&type=template&id=
|
|
23557
|
-
var
|
|
23550
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/main.vue?vue&type=template&id=0b5eb5e6&scoped=true&
|
|
23551
|
+
var mainvue_type_template_id_0b5eb5e6_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"inputs"},[_c('el-tooltip',{attrs:{"placement":_vm.tooltipplacement || _vm.defualtTooltipplacement,"disabled":_vm.inputWriteable && _vm.errors && !_vm.errors.has('custom-form.' + _vm.inputName)}},[(_vm.errors && _vm.errors.first)?_c('div',{attrs:{"slot":"content"},slot:"content"},[_vm._v("\n "+_vm._s(_vm.errors.first('custom-form.' + _vm.inputName))+"\n ")]):_vm._e(),(_vm.inputWriteable)?_c('div',{staticClass:"el-select",class:{ 'has-value': _vm.value },staticStyle:{"width":"100%"}},[_c('div',{ref:"tagSpans",staticClass:"el-select__tags",style:({ width: 'calc(100% - 10px - ' + _vm.inputSuffixWidth + 'px)' }),on:{"click":_vm.showEditInput}},[_c('span',{staticClass:"tag-wrap"},_vm._l((_vm.inputVal),function(item,index){return _c('span',{key:item.value,staticClass:"el-tag el-tag--info el-tag--small",on:{"click":_vm.showEditInput}},[_c('span',{staticClass:"el-select__tags-text"},[_vm._v(_vm._s(item.value))]),_c('i',{staticClass:"el-tag__close el-icon-close",on:{"click":function($event){$event.stopPropagation();return _vm.removeSelectOrg(index)}}})])}),0)]),_c('div',{staticClass:"el-input el-input--suffix"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.inputVal),expression:"inputVal"},{name:"validate",rawName:"v-validate",value:(_vm.inputValidate),expression:"inputValidate"}],staticClass:"el-input__inner",style:({ height: _vm.inputSuffixHeight + 'px' }),attrs:{"type":"text","readonly":"readonly","name":_vm.inputName,"autocomplete":"off","placeholder":_vm.placeholder},domProps:{"value":(_vm.inputVal)},on:{"click":_vm.showEditInput,"input":function($event){if($event.target.composing){ return; }_vm.inputVal=$event.target.value}}}),(_vm.isAllowCustom && _vm.isEditInputShow)?_c('el-input',{ref:"editInputRef",staticClass:"edit-input",style:({
|
|
23558
23552
|
right: _vm.inputSuffixWidth - 1 + 'px',
|
|
23559
23553
|
width: 'auto!important',
|
|
23560
23554
|
height: _vm.inputSuffixHeight - 4 + 'px',
|
|
@@ -23563,11 +23557,11 @@ var mainvue_type_template_id_2bda41f4_scoped_true_render = function () {var _vm=
|
|
|
23563
23557
|
: 'el-input__icon icon-duihuakuang',style:({
|
|
23564
23558
|
fontSize: '17px',
|
|
23565
23559
|
lineHeight: _vm.inputSuffixHeight + 'px',
|
|
23566
|
-
})}),_vm._v("\n "+_vm._s(_vm.custdialog.name)+"\n ")])],1)])],1)]):_vm._e()]),(!_vm.inputWriteable)?_c('span',
|
|
23567
|
-
var
|
|
23560
|
+
})}),_vm._v("\n "+_vm._s(_vm.custdialog.name)+"\n ")])],1)])],1)]):_vm._e()]),(!_vm.inputWriteable)?_c('span',_vm._l((_vm.inputVal),function(item){return _c('span',{key:item.value,staticClass:"el-tag el-tag--info el-tag--small",staticStyle:{"margin-right":"8px"},on:{"click":function($event){$event.stopPropagation();}}},[_c('span',{staticClass:"el-select__tags-text"},[_vm._v(_vm._s(item.value))])])}),0):_vm._e(),(_vm.isMobile)?_c('custom-mobile-dialog',{ref:"customMobileDialogRef",attrs:{"model-name":_vm.modelName,"custdialog":_vm.custdialog,"sub-index":_vm.subIndex,"sun-index":_vm.sunIndex,"sub-path":_vm.subPath,"current-sub-data":_vm.currentSubData},on:{"calacInputSuffixHeight":_vm.calacInputSuffixHeight,"updateInput":_vm.updateInput}}):_c('custom-dialog',{ref:"customDialogRef",attrs:{"model-name":_vm.modelName,"custdialog":_vm.custdialog,"sub-index":_vm.subIndex,"sun-index":_vm.sunIndex,"sub-path":_vm.subPath,"current-sub-data":_vm.currentSubData,"is-read-only":!_vm.inputWriteable},on:{"calacInputSuffixHeight":_vm.calacInputSuffixHeight,"updateInput":_vm.updateInput},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v},expression:"value"}}),_c('span',{staticStyle:{"display":"none"}},[_vm._t("labeldesc",[_vm._v(_vm._s(_vm.inputName))])],2),_c('ht-field-tail',{attrs:{"field-name":_vm.inputName,"input-value":_vm.value}})],1)}
|
|
23561
|
+
var mainvue_type_template_id_0b5eb5e6_scoped_true_staticRenderFns = []
|
|
23568
23562
|
|
|
23569
23563
|
|
|
23570
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=
|
|
23564
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=0b5eb5e6&scoped=true&
|
|
23571
23565
|
|
|
23572
23566
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.js
|
|
23573
23567
|
|
|
@@ -23689,35 +23683,19 @@ var mainvue_type_template_id_2bda41f4_scoped_true_staticRenderFns = []
|
|
|
23689
23683
|
}
|
|
23690
23684
|
}
|
|
23691
23685
|
});
|
|
23692
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=
|
|
23693
|
-
var
|
|
23694
|
-
|
|
23695
|
-
|
|
23696
|
-
|
|
23697
|
-
|
|
23698
|
-
|
|
23699
|
-
|
|
23700
|
-
|
|
23701
|
-
|
|
23702
|
-
|
|
23703
|
-
|
|
23704
|
-
|
|
23705
|
-
}},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_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":{
|
|
23706
|
-
name: '请选择',
|
|
23707
|
-
icon: '',
|
|
23708
|
-
custDialog: {
|
|
23709
|
-
selectNum: 1,
|
|
23710
|
-
conditions: [],
|
|
23711
|
-
mappingConf: [],
|
|
23712
|
-
custQueryJson: [],
|
|
23713
|
-
alias: condition.config.alias,
|
|
23714
|
-
type: 'custDialog',
|
|
23715
|
-
},
|
|
23716
|
-
}},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)}
|
|
23717
|
-
var customDialogvue_type_template_id_df767308_scoped_true_staticRenderFns = []
|
|
23718
|
-
|
|
23719
|
-
|
|
23720
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=df767308&scoped=true&
|
|
23686
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=3a57945e&scoped=true&
|
|
23687
|
+
var customDialogvue_type_template_id_3a57945e_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-dialog',{attrs:{"visible":_vm.customDialogShowList,"title":_vm.customDialog.name,"close-on-click-modal":false,"before-close":_vm.dialogCancel,"append-to-body":"","top":"6vh","width":"60%"},on:{"update:visible":function($event){_vm.customDialogShowList=$event},"opened":_vm.afterOpen}},[_c('el-container',{staticStyle:{"overflow":"auto"},style:(_vm.style)},[(_vm.customDialog.style == 2)?_c('el-aside',{directives:[{name:"show",rawName:"v-show",value:(_vm.treeShow),expression:"treeShow"}],staticStyle:{"width":"23%"}},[_c('el-card',[_c('div',{staticClass:"clearfix",attrs:{"slot":"header"},slot:"header"},[_c('span',{staticStyle:{"font-size":"16px"}},[_vm._v(_vm._s(_vm.leftTreeTitle))])]),_c('el-tree',{ref:"combinationTree",attrs:{"data":_vm.combinationTreeData,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","check-on-click-node":true,"lazy":"","load":_vm.loadTree},on:{"node-click":_vm.combiTreeClick}})],1)],1):_vm._e(),(_vm.customDialog.style == 2)?_c('el-divider',{attrs:{"direction":"vertical"}}):_vm._e(),_c('el-container',[(_vm.querysShow)?_c('el-header',{staticClass:"middle-header"},[_vm._l((_vm.conditionBind),function(condition,index){return _c('div',{key:index,staticClass:"search-item"},[_c('p',{staticStyle:{"font-size":"14px"}},[_vm._v(_vm._s(condition.comment)+":")]),(condition.controllerType == '1')?_c('div',[_c('el-input',{staticStyle:{"width":"180px","padding":"10px 0","margin":"0 5px 0 5px"},attrs:{"size":"small","clearable":"","placeholder":_vm.placeholders[index],"prefix-icon":"el-icon-search"},nativeOn:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.searchEnterFun($event)}},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '2')?_c('div',{staticStyle:{"margin-right":"10px"}},_vm._l((condition.config.options),function(itemR,$index1){return _c('el-radio',{key:$index1,attrs:{"label":itemR.key},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}},[_vm._v("\n "+_vm._s(itemR.value)+"\n ")])}),1):_vm._e(),(condition.controllerType == '3')?_c('div',{staticStyle:{"margin-right":"10px"}},[(condition.config.choiceType == 'static')?_c('ht-select',{attrs:{"placeholder":_vm.quickSearch,"options":condition.config.options},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}}):_c('eip-select-dia',{attrs:{"placeholder":_vm.quickSearch,"ganged":{
|
|
23688
|
+
alias: condition.config.customQuery.alias,
|
|
23689
|
+
valueBind: condition.config.customQuery.valueBind,
|
|
23690
|
+
noInit: '',
|
|
23691
|
+
labelBind: condition.config.customQuery.labelBind,
|
|
23692
|
+
gangedBind: '{}',
|
|
23693
|
+
bind: condition.config.bind,
|
|
23694
|
+
},"multiple":false,"filterable":false,"allow-create":false,"selectlist":[],"query-params":_vm.queryParams},model:{value:(_vm.queryParams[condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams, condition.field, $$v)},expression:"queryParams[condition.field]"}})],1):_vm._e(),(condition.controllerType == '4')?_c('div',{staticStyle:{"margin-right":"10px"}},[_c('eip-tag',{attrs:{"tag-key":condition.config.tag,"placeholder":_vm.quickSearch,"filterable":condition.config.filterable,"expand":condition.config.expand},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e()])}),(_vm.conditionBind && _vm.conditionBind.length > 0)?_c('div',{staticClass:"btn-wrap"},[_c('el-button',{staticStyle:{"margin-left":"20px"},attrs:{"size":"small","type":"primary","icon":"el-icon-search"},on:{"click":function($event){return _vm.search(true)}}},[_vm._v("\n 查询\n ")]),_c('el-button',{attrs:{"size":"small","icon":"el-icon-refresh"},on:{"click":_vm.reset}},[_vm._v("\n 重置\n ")])],1):_vm._e()],2):_vm._e(),_c('el-main',{ref:"customTableRef",staticClass:"custom-dialog_main"},[_c('el-table',{ref:"orgTable",staticClass:"org-table",staticStyle:{"width":"100%"},attrs:{"data":_vm.dialogData,"stripe":"","border":"","size":"medium","height":_vm.tableHeight},on:{"row-click":_vm.orgRowClick,"selection-change":_vm.orgTableSelection,"select":_vm.onTableSelect,"select-all":_vm.selectAll}},[(_vm.customDialog.selectNum != 1)?_c('el-table-column',{attrs:{"type":"selection","align":"center","width":"55"}}):_vm._e(),(_vm.customDialog.selectNum === 1)?_c('el-table-column',{attrs:{"align":"center","width":"55"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-radio',{staticClass:"textRadio",attrs:{"label":scope.$index},on:{"selection-change":_vm.orgTableSelection},model:{value:(_vm.tableRadioVal),callback:function ($$v) {_vm.tableRadioVal=$$v},expression:"tableRadioVal"}},[_vm._v("\n \n ")])]}}],null,false,918943478)}):_vm._e(),_c('el-table-column',{attrs:{"type":"index","width":"50","align":"center","label":"序号"}}),_vm._l((_vm.displayfield),function(field){return _c('el-table-column',{key:field.field,staticStyle:{"width":"100%"},attrs:{"show-overflow-tooltip":true,"prop":field.field,"label":field.comment}})})],2)],1),_c('el-footer',[(_vm.customDialog.needPage)?_c('el-row',{staticStyle:{"padding-top":"15px","justify-content":"space-between"},attrs:{"type":"flex","justify":"end"}},[(_vm.customDialog.style == 2)?_c('el-button',{attrs:{"icon":_vm.toggleBtn,"size":"mini","type":"default"},on:{"click":_vm.toggleTree}}):_vm._e(),_c('el-pagination',{attrs:{"small":"","current-page":_vm.pagination.page,"page-sizes":[10, 20, 50, 100],"page-size":_vm.pagination.pageSize,"layout":"total, sizes, prev, pager, next, jumper","total":_vm.total},on:{"size-change":_vm.handleSizeChange,"current-change":_vm.handleCurrentChange}})],1):_vm._e()],1)],1)],1),_c('span',{staticClass:"dialog-footer",staticStyle:{"text-align":"center"},attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.dialogConfirm}},[_vm._v("\n 确认\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.dialogCancel}},[_vm._v("取 消")])],1)],1),_c('el-dialog',{attrs:{"title":"动态传入参数查询","width":"500px","visible":_vm.dialogVisible,"before-close":_vm.handleClose,"close-on-click-modal":false,"top":"6vh"},on:{"update:visible":function($event){_vm.dialogVisible=$event}}},[_c('table',{staticClass:"form-table",staticStyle:{"margin-left":"20px","width":"90%"},attrs:{"cellspacing":"0","cellpadding":"0","border":"0"}},_vm._l((_vm.conditionfieldTree),function(item,$index){return _c('tbody',{key:$index},[(item.defaultType == '4')?_c('tr',[_c('th',{attrs:{"width":"130px"}},[_vm._v(_vm._s(item.comment)+":")]),_c('td',[(item.type != 'date')?_c('ht-input',{staticStyle:{"width":"100%"},attrs:{"type":"text","placeholder":'请输入' + item.comment,"autocomplete":"off"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e(),(item.type == 'date')?_c('ht-date',{staticStyle:{"width":"100%"},attrs:{"placeholder":'请输入' + item.comment,"format":"yyyy-MM-dd"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e()],1)]):_vm._e()])}),0),_c('div',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"type":"primary"},on:{"click":_vm.handleSave}},[_vm._v("确 定")]),_c('el-button',{on:{"click":_vm.handleClose}},[_vm._v("取 消")])],1)]),_c('el-dialog',{attrs:{"visible":_vm.customDialogShowTree,"title":_vm.customDialog.name,"close-on-click-modal":false,"before-close":_vm.dialogCancelTree,"append-to-body":"","top":"6vh","width":"500px"},on:{"update:visible":function($event){_vm.customDialogShowTree=$event}}},[_c('el-container',{staticStyle:{"overflow":"auto"},style:(_vm.style)},[_c('el-tree',{ref:"tree",staticStyle:{"width":"100%"},attrs:{"data":_vm.props1,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","show-checkbox":_vm.customDialog.selectNum === -1,"check-on-click-node":true,"check-strictly":false,"lazy":"","load":_vm.loadTree,"default-expanded-keys":_vm.defaultExpandedKeys},on:{"node-click":_vm.treeClick,"check-change":_vm.getChecked}})],1),_c('span',{staticClass:"dialog-footer",staticStyle:{"text-align":"center"},attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.dialogTreeConfirm}},[_vm._v("\n 确认\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.dialogCancelTree}},[_vm._v("取 消")])],1)],1)],1)}
|
|
23695
|
+
var customDialogvue_type_template_id_3a57945e_scoped_true_staticRenderFns = []
|
|
23696
|
+
|
|
23697
|
+
|
|
23698
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=3a57945e&scoped=true&
|
|
23721
23699
|
|
|
23722
23700
|
// EXTERNAL MODULE: external "jquery"
|
|
23723
23701
|
var external_jquery_ = __webpack_require__("c5e1");
|
|
@@ -24026,121 +24004,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24026
24004
|
//
|
|
24027
24005
|
//
|
|
24028
24006
|
//
|
|
24029
|
-
//
|
|
24030
|
-
//
|
|
24031
|
-
//
|
|
24032
|
-
//
|
|
24033
|
-
//
|
|
24034
|
-
//
|
|
24035
|
-
//
|
|
24036
|
-
//
|
|
24037
|
-
//
|
|
24038
|
-
//
|
|
24039
|
-
//
|
|
24040
|
-
//
|
|
24041
|
-
//
|
|
24042
|
-
//
|
|
24043
|
-
//
|
|
24044
|
-
//
|
|
24045
|
-
//
|
|
24046
|
-
//
|
|
24047
|
-
//
|
|
24048
|
-
//
|
|
24049
|
-
//
|
|
24050
|
-
//
|
|
24051
|
-
//
|
|
24052
|
-
//
|
|
24053
|
-
//
|
|
24054
|
-
//
|
|
24055
|
-
//
|
|
24056
|
-
//
|
|
24057
|
-
//
|
|
24058
|
-
//
|
|
24059
|
-
//
|
|
24060
|
-
//
|
|
24061
|
-
//
|
|
24062
|
-
//
|
|
24063
|
-
//
|
|
24064
|
-
//
|
|
24065
|
-
//
|
|
24066
|
-
//
|
|
24067
|
-
//
|
|
24068
|
-
//
|
|
24069
|
-
//
|
|
24070
|
-
//
|
|
24071
|
-
//
|
|
24072
|
-
//
|
|
24073
|
-
//
|
|
24074
|
-
//
|
|
24075
|
-
//
|
|
24076
|
-
//
|
|
24077
|
-
//
|
|
24078
|
-
//
|
|
24079
|
-
//
|
|
24080
|
-
//
|
|
24081
|
-
//
|
|
24082
|
-
//
|
|
24083
|
-
//
|
|
24084
|
-
//
|
|
24085
|
-
//
|
|
24086
|
-
//
|
|
24087
|
-
//
|
|
24088
|
-
//
|
|
24089
|
-
//
|
|
24090
|
-
//
|
|
24091
|
-
//
|
|
24092
|
-
//
|
|
24093
|
-
//
|
|
24094
|
-
//
|
|
24095
|
-
//
|
|
24096
|
-
//
|
|
24097
|
-
//
|
|
24098
|
-
//
|
|
24099
|
-
//
|
|
24100
|
-
//
|
|
24101
|
-
//
|
|
24102
|
-
//
|
|
24103
|
-
//
|
|
24104
|
-
//
|
|
24105
|
-
//
|
|
24106
|
-
//
|
|
24107
|
-
//
|
|
24108
|
-
//
|
|
24109
|
-
//
|
|
24110
|
-
//
|
|
24111
|
-
//
|
|
24112
|
-
//
|
|
24113
|
-
//
|
|
24114
|
-
//
|
|
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
24007
|
|
|
24145
24008
|
|
|
24146
24009
|
|
|
@@ -24168,16 +24031,10 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24168
24031
|
isReadOnly: {
|
|
24169
24032
|
type: Boolean,
|
|
24170
24033
|
default: false
|
|
24171
|
-
}
|
|
24172
|
-
dialogConfig: Object,
|
|
24173
|
-
dialogType: String
|
|
24034
|
+
}
|
|
24174
24035
|
},
|
|
24175
24036
|
data() {
|
|
24176
24037
|
return {
|
|
24177
|
-
startDate: '',
|
|
24178
|
-
// 日期控件
|
|
24179
|
-
endDate: '',
|
|
24180
|
-
// 日期控件
|
|
24181
24038
|
tableHeight: 350,
|
|
24182
24039
|
isEditInputShow: false,
|
|
24183
24040
|
customValue: '',
|
|
@@ -24258,18 +24115,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24258
24115
|
return [this.props1[0][this.nodeKey]];
|
|
24259
24116
|
}
|
|
24260
24117
|
return [];
|
|
24261
|
-
},
|
|
24262
|
-
jumpParamKey() {
|
|
24263
|
-
return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
|
|
24264
|
-
},
|
|
24265
|
-
// 是否保存成跳转url参数
|
|
24266
|
-
isHaveJumpUrl() {
|
|
24267
|
-
return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
24268
|
-
},
|
|
24269
|
-
sortDisplayfield() {
|
|
24270
|
-
return this.displayfield.sort((a, b) => {
|
|
24271
|
-
return a.sort > b.sort ? 1 : -1;
|
|
24272
|
-
});
|
|
24273
24118
|
}
|
|
24274
24119
|
},
|
|
24275
24120
|
watch: {
|
|
@@ -24305,151 +24150,131 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24305
24150
|
});
|
|
24306
24151
|
},
|
|
24307
24152
|
methods: {
|
|
24308
|
-
// 获取已选择的选择器数据id
|
|
24309
|
-
getSelectId(data) {
|
|
24310
|
-
if (!data || !data.length) {
|
|
24311
|
-
return '';
|
|
24312
|
-
}
|
|
24313
|
-
let ids = [];
|
|
24314
|
-
data.forEach(item => {
|
|
24315
|
-
ids.push(item.id);
|
|
24316
|
-
});
|
|
24317
|
-
return ids.join(',');
|
|
24318
|
-
},
|
|
24319
24153
|
showDialog() {
|
|
24320
24154
|
let isMounted = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
24155
|
+
const this_ = this;
|
|
24321
24156
|
this.fixedParams = {};
|
|
24322
|
-
// 如果已存在配置信息就不去请求配置信息 直接初始化数据
|
|
24323
|
-
if (this.dialogConfig) {
|
|
24324
|
-
this.initDialog(this.dialogConfig, isMounted);
|
|
24325
|
-
return;
|
|
24326
|
-
}
|
|
24327
24157
|
var alias = this.custdialog.custDialog.alias;
|
|
24328
24158
|
this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
|
|
24329
|
-
|
|
24330
|
-
|
|
24331
|
-
|
|
24332
|
-
initDialog(customDialog, isMounted) {
|
|
24333
|
-
let alias = this.custdialog.custDialog.alias;
|
|
24334
|
-
const this_ = this;
|
|
24335
|
-
if (!customDialog || !customDialog.alias) {
|
|
24336
|
-
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
24337
|
-
return;
|
|
24338
|
-
}
|
|
24339
|
-
if (customDialog.style == 1) {
|
|
24340
|
-
var displaylist = JSON.parse(customDialog.displayfield);
|
|
24341
|
-
this_.nodeKey = displaylist.id;
|
|
24342
|
-
}
|
|
24343
|
-
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
24344
|
-
let obj = {};
|
|
24345
|
-
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
24346
|
-
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
24347
|
-
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
24348
|
-
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
24349
|
-
if (exp) {
|
|
24350
|
-
const params = JSON.parse(exp);
|
|
24351
|
-
if (params.pageBean) {
|
|
24352
|
-
this.pagination = {
|
|
24353
|
-
...params.pageBean
|
|
24354
|
-
};
|
|
24355
|
-
}
|
|
24159
|
+
if (!customDialog || !customDialog.alias) {
|
|
24160
|
+
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
24161
|
+
return;
|
|
24356
24162
|
}
|
|
24357
|
-
|
|
24358
|
-
|
|
24359
|
-
|
|
24360
|
-
|
|
24361
|
-
|
|
24362
|
-
|
|
24363
|
-
|
|
24364
|
-
|
|
24365
|
-
|
|
24366
|
-
|
|
24367
|
-
|
|
24368
|
-
|
|
24369
|
-
|
|
24370
|
-
|
|
24371
|
-
|
|
24372
|
-
|
|
24373
|
-
|
|
24374
|
-
this_.executeScriptResult = res && res.value;
|
|
24375
|
-
});
|
|
24376
|
-
}
|
|
24377
|
-
});
|
|
24378
|
-
}
|
|
24379
|
-
//判断对话框查询是否有条件
|
|
24380
|
-
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
24381
|
-
this_.quickSearch = ''; //填写提示 placeholder
|
|
24382
|
-
this_.conditionBind = [];
|
|
24383
|
-
let queryParams = [];
|
|
24384
|
-
let placeholders = [];
|
|
24385
|
-
if (userInputList.length > 0) {
|
|
24386
|
-
userInputList.forEach(ele => {
|
|
24387
|
-
var obj = {};
|
|
24388
|
-
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
24389
|
-
if (ele.defaultType == '1') {
|
|
24390
|
-
obj[ele.field] = '';
|
|
24391
|
-
queryParams.push(obj);
|
|
24392
|
-
// queryParams[ele.field] = "";
|
|
24393
|
-
this_.conditionBind.push(ele);
|
|
24394
|
-
placeholders.push('请输入' + ele.comment);
|
|
24395
|
-
}
|
|
24396
|
-
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
24397
|
-
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
24163
|
+
if (customDialog.style == 1) {
|
|
24164
|
+
var displaylist = JSON.parse(customDialog.displayfield);
|
|
24165
|
+
this_.nodeKey = displaylist.id;
|
|
24166
|
+
}
|
|
24167
|
+
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
24168
|
+
let obj = {};
|
|
24169
|
+
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
24170
|
+
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
24171
|
+
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
24172
|
+
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
24173
|
+
if (exp) {
|
|
24174
|
+
const params = JSON.parse(exp);
|
|
24175
|
+
if (params.pageBean) {
|
|
24176
|
+
this.pagination = {
|
|
24177
|
+
...params.pageBean
|
|
24178
|
+
};
|
|
24179
|
+
}
|
|
24398
24180
|
}
|
|
24399
|
-
}
|
|
24400
|
-
|
|
24401
|
-
|
|
24402
|
-
|
|
24403
|
-
|
|
24404
|
-
|
|
24405
|
-
|
|
24406
|
-
|
|
24407
|
-
|
|
24408
|
-
|
|
24409
|
-
|
|
24410
|
-
|
|
24411
|
-
|
|
24412
|
-
|
|
24413
|
-
|
|
24414
|
-
|
|
24415
|
-
|
|
24416
|
-
|
|
24417
|
-
|
|
24181
|
+
}
|
|
24182
|
+
//对话框按表单字段查询(参数传入的)
|
|
24183
|
+
let bindList = this_.custdialog.custDialog.conditions;
|
|
24184
|
+
this_.param = []; //绑定的表单字段
|
|
24185
|
+
if (bindList.length > 0) {
|
|
24186
|
+
bindList.forEach(ele => {
|
|
24187
|
+
//绑定表单字段
|
|
24188
|
+
if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
|
|
24189
|
+
let obj = {};
|
|
24190
|
+
obj.field = ele.field;
|
|
24191
|
+
obj.bind = ele.bind;
|
|
24192
|
+
obj.bindType = ele.bindType;
|
|
24193
|
+
this_.param.push(obj);
|
|
24194
|
+
}
|
|
24195
|
+
//取值对象为脚本时获取value
|
|
24196
|
+
if (ele.bindType === 3) {
|
|
24197
|
+
this_.$requestConfig.executeScript(ele.bind).then(res => {
|
|
24198
|
+
this_.executeScriptResult = res && res.value;
|
|
24199
|
+
});
|
|
24200
|
+
}
|
|
24201
|
+
});
|
|
24202
|
+
}
|
|
24203
|
+
//判断对话框查询是否有条件
|
|
24204
|
+
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
24205
|
+
this_.quickSearch = ''; //填写提示 placeholder
|
|
24206
|
+
this_.conditionBind = [];
|
|
24207
|
+
let queryParams = [];
|
|
24208
|
+
let placeholders = [];
|
|
24209
|
+
if (userInputList.length > 0) {
|
|
24210
|
+
userInputList.forEach(ele => {
|
|
24211
|
+
var obj = {};
|
|
24212
|
+
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
24213
|
+
if (ele.defaultType == '1') {
|
|
24214
|
+
obj[ele.field] = '';
|
|
24215
|
+
queryParams.push(obj);
|
|
24216
|
+
// queryParams[ele.field] = "";
|
|
24217
|
+
this_.conditionBind.push(ele);
|
|
24218
|
+
placeholders.push('请输入' + ele.comment);
|
|
24219
|
+
}
|
|
24220
|
+
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
24221
|
+
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
24222
|
+
}
|
|
24223
|
+
});
|
|
24224
|
+
this.$set(this, 'queryParams', queryParams);
|
|
24225
|
+
this.$set(this, 'placeholders', placeholders);
|
|
24226
|
+
}
|
|
24227
|
+
//判断是否显示条件查询输入框
|
|
24228
|
+
if (this_.quickSearch != '') {
|
|
24229
|
+
this_.querysShow = true;
|
|
24230
|
+
} else {
|
|
24231
|
+
this_.querysShow = true;
|
|
24232
|
+
}
|
|
24233
|
+
this_.quickSearch = '请输入' + this.quickSearch + '查询';
|
|
24234
|
+
this_.style = 'height:' + customDialog.height + 'px';
|
|
24235
|
+
if (window.screen.height && window.screen.height <= 900) {
|
|
24236
|
+
this.style = 'height:440px';
|
|
24237
|
+
}
|
|
24238
|
+
if (customDialog.style == 0 || customDialog.style == 2) {
|
|
24239
|
+
//列表
|
|
24240
|
+
setTimeout(() => {
|
|
24241
|
+
this_.customDialogShow({
|
|
24242
|
+
alias: alias,
|
|
24243
|
+
customDialog: customDialog
|
|
24244
|
+
}, isMounted);
|
|
24245
|
+
}, 100);
|
|
24246
|
+
} else if (customDialog.style == 1) {
|
|
24247
|
+
//树形
|
|
24248
|
+
this_.pageParam = {
|
|
24418
24249
|
alias: alias,
|
|
24419
24250
|
customDialog: customDialog
|
|
24420
|
-
}
|
|
24421
|
-
|
|
24422
|
-
|
|
24423
|
-
|
|
24424
|
-
|
|
24425
|
-
|
|
24426
|
-
|
|
24427
|
-
|
|
24428
|
-
|
|
24429
|
-
|
|
24430
|
-
|
|
24431
|
-
|
|
24432
|
-
|
|
24433
|
-
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
24434
|
-
if (this_.conditionfieldTree.length > 0) {
|
|
24435
|
-
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
24436
|
-
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
24437
|
-
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
24438
|
-
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
24251
|
+
};
|
|
24252
|
+
this_.customDialog = customDialog;
|
|
24253
|
+
let param = {};
|
|
24254
|
+
this_.conditionfieldTree = [];
|
|
24255
|
+
//判断是否存在条件
|
|
24256
|
+
if (customDialog.conditionfield) {
|
|
24257
|
+
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
24258
|
+
if (this_.conditionfieldTree.length > 0) {
|
|
24259
|
+
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
24260
|
+
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
24261
|
+
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
24262
|
+
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
24263
|
+
}
|
|
24439
24264
|
}
|
|
24440
24265
|
}
|
|
24441
24266
|
}
|
|
24442
|
-
|
|
24443
|
-
|
|
24444
|
-
|
|
24445
|
-
|
|
24446
|
-
|
|
24447
|
-
|
|
24448
|
-
|
|
24449
|
-
|
|
24267
|
+
//有动态传入的字段
|
|
24268
|
+
if (!isMounted) {
|
|
24269
|
+
if (JSON.stringify(param) != '{}') {
|
|
24270
|
+
this_.dialogVisible = true;
|
|
24271
|
+
} else {
|
|
24272
|
+
//无动态传入的字段
|
|
24273
|
+
this_.customDialogTreeShow(this_.pageParam);
|
|
24274
|
+
}
|
|
24450
24275
|
}
|
|
24451
24276
|
}
|
|
24452
|
-
}
|
|
24277
|
+
});
|
|
24453
24278
|
},
|
|
24454
24279
|
initTableHeight() {
|
|
24455
24280
|
this.$nextTick(() => {
|
|
@@ -24578,13 +24403,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24578
24403
|
}
|
|
24579
24404
|
// 添加用户id 岗位id 组织id
|
|
24580
24405
|
try {
|
|
24581
|
-
if (this.$requestConfig.getUserId
|
|
24406
|
+
if (this.$requestConfig.getUserId()) {
|
|
24582
24407
|
ctx.userId = this.$requestConfig.getUserId();
|
|
24583
24408
|
}
|
|
24584
|
-
if (this.$requestConfig.getOrgId
|
|
24409
|
+
if (this.$requestConfig.getOrgId()) {
|
|
24585
24410
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
24586
24411
|
}
|
|
24587
|
-
if (this.$requestConfig.getPostId
|
|
24412
|
+
if (this.$requestConfig.getPostId()) {
|
|
24588
24413
|
ctx.postId = this.$requestConfig.getPostId();
|
|
24589
24414
|
}
|
|
24590
24415
|
} catch (e) {
|
|
@@ -24669,13 +24494,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24669
24494
|
this.selectOrgs = this.convertComment2Field(str, field);
|
|
24670
24495
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
24671
24496
|
var val = '';
|
|
24672
|
-
str.forEach(
|
|
24673
|
-
|
|
24674
|
-
if (this.jumpParamKey && this.isHaveJumpUrl && (this.modelName == 'data.' + con['target'][0] || this.modelName.includes('item.') && con['target'][0].endsWith(this.modelName.split('.')[1]))) {
|
|
24675
|
-
val += `${item[con.from]}¯${this.jumpParamKey}:${this.selectOrgs[index][this.jumpParamKey]},`;
|
|
24676
|
-
} else {
|
|
24677
|
-
val += item[con.from] + ',';
|
|
24678
|
-
}
|
|
24497
|
+
str.forEach(item => {
|
|
24498
|
+
val += item[con.from] + ',';
|
|
24679
24499
|
});
|
|
24680
24500
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
24681
24501
|
utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
|
|
@@ -24746,36 +24566,19 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24746
24566
|
};
|
|
24747
24567
|
}
|
|
24748
24568
|
//用户输入的
|
|
24749
|
-
let flag = false;
|
|
24750
24569
|
if (this.queryParams.length != 0 && this.queryParams[0] != '') {
|
|
24751
24570
|
this.conditionBind.forEach((item, index) => {
|
|
24752
|
-
// 日期范围特殊处理
|
|
24753
|
-
if (item.dbType == 'date' && item.condition == 'BETWEEN') {
|
|
24754
|
-
if (this.queryParams[index].startDate && !this.queryParams[index].endDate || !this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
24755
|
-
flag = true;
|
|
24756
|
-
this.$message.info('日期范围未填写完整!');
|
|
24757
|
-
return;
|
|
24758
|
-
}
|
|
24759
|
-
if (this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
24760
|
-
this.queryParams[index][item.field] = `${this.queryParams[index].startDate},${this.queryParams[index].endDate}`;
|
|
24761
|
-
} else {
|
|
24762
|
-
this.queryParams[index][item.field] = '';
|
|
24763
|
-
}
|
|
24764
|
-
}
|
|
24765
24571
|
if (this.queryParams[index][item.field]) {
|
|
24766
24572
|
querys.push({
|
|
24767
24573
|
property: item.field,
|
|
24768
24574
|
value: this.queryParams[index][item.field],
|
|
24769
24575
|
group: 'main',
|
|
24770
|
-
operation:
|
|
24576
|
+
operation: 'LIKE',
|
|
24771
24577
|
relation: 'AND'
|
|
24772
24578
|
});
|
|
24773
24579
|
}
|
|
24774
24580
|
});
|
|
24775
24581
|
}
|
|
24776
|
-
if (flag) {
|
|
24777
|
-
return;
|
|
24778
|
-
}
|
|
24779
24582
|
//参数传入的查询拼接
|
|
24780
24583
|
if (this.param) {
|
|
24781
24584
|
this.param.forEach(item => {
|
|
@@ -24814,13 +24617,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24814
24617
|
queryParamMap.total = pageBean.pageBean.total;
|
|
24815
24618
|
// 添加用户id 岗位id 组织id
|
|
24816
24619
|
try {
|
|
24817
|
-
if (this.$requestConfig.getUserId
|
|
24620
|
+
if (this.$requestConfig.getUserId()) {
|
|
24818
24621
|
ctx.userId = this.$requestConfig.getUserId();
|
|
24819
24622
|
}
|
|
24820
|
-
if (this.$requestConfig.getOrgId
|
|
24623
|
+
if (this.$requestConfig.getOrgId()) {
|
|
24821
24624
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
24822
24625
|
}
|
|
24823
|
-
if (this.$requestConfig.getPostId
|
|
24626
|
+
if (this.$requestConfig.getPostId()) {
|
|
24824
24627
|
ctx.postId = this.$requestConfig.getPostId();
|
|
24825
24628
|
}
|
|
24826
24629
|
} catch (e) {
|
|
@@ -24841,14 +24644,12 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24841
24644
|
value: queryParamMap[bindKey] || ctx[bindKey] || ''
|
|
24842
24645
|
};
|
|
24843
24646
|
});
|
|
24844
|
-
param.querys = queryList
|
|
24647
|
+
param.querys = queryList;
|
|
24845
24648
|
if (this.customDialog.needPage) {
|
|
24846
24649
|
param.pageBean = obj;
|
|
24847
24650
|
} else {
|
|
24848
24651
|
param.pageBean.pageSize = -1;
|
|
24849
24652
|
}
|
|
24850
|
-
// 日期格式的 改成数组
|
|
24851
|
-
// this.changeDateFormat(param)
|
|
24852
24653
|
//构造请求的参数
|
|
24853
24654
|
let requestParam = {
|
|
24854
24655
|
pageBean: param,
|
|
@@ -24888,15 +24689,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24888
24689
|
}
|
|
24889
24690
|
this.tableRadioVal = '';
|
|
24890
24691
|
},
|
|
24891
|
-
changeDateFormat(param) {
|
|
24892
|
-
let dateValidate1 = /^\d{4}\-\d{2}\-\d{2}$/;
|
|
24893
|
-
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$/;
|
|
24894
|
-
Object.keys(param).forEach(key => {
|
|
24895
|
-
if (param[key] && typeof param[key] == 'string' && param[key].includes(',') && (dateValidate1.test(param[key].split(',')[0]) || dateValidate2.test(param[key].split(',')[0]))) {
|
|
24896
|
-
param[key] = param[key].split(',');
|
|
24897
|
-
}
|
|
24898
|
-
});
|
|
24899
|
-
},
|
|
24900
24692
|
getSearchValueByKey() {
|
|
24901
24693
|
let queryParamsObj = {};
|
|
24902
24694
|
if (this.queryParams.length > 0) {
|
|
@@ -25122,8 +24914,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25122
24914
|
},
|
|
25123
24915
|
// 同步选择结果
|
|
25124
24916
|
syncInputValue() {
|
|
25125
|
-
// 对话框跳转url需要两个参数 1当前控件绑定的对象参数modelName 2对话框配置中配置的key名称
|
|
25126
|
-
// 同步值时,如果有绑定url跳转参数,值格式为 名称¯跳转key:跳转value
|
|
25127
24917
|
let thisIndex = null; //当前数据所在下标
|
|
25128
24918
|
let parentIndex = null; //父节点所在下标
|
|
25129
24919
|
if (this.$parent.$el) {
|
|
@@ -25197,31 +24987,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25197
24987
|
}
|
|
25198
24988
|
}
|
|
25199
24989
|
}
|
|
25200
|
-
// 如果是查询中使用的对话框
|
|
25201
|
-
if (this.dialogType == 'search') {
|
|
25202
|
-
let returnVal = [];
|
|
25203
|
-
str.forEach(item => {
|
|
25204
|
-
returnVal.push(decodeURIComponent(item[this.modelName]));
|
|
25205
|
-
});
|
|
25206
|
-
this.$emit('updateInput', returnVal.join(','));
|
|
25207
|
-
return;
|
|
25208
|
-
}
|
|
25209
24990
|
const pInst = utils["a" /* default */].getOnlineFormInstance(this);
|
|
25210
24991
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
25211
24992
|
var val = '';
|
|
25212
24993
|
var from = con.from.toLowerCase();
|
|
25213
24994
|
str.forEach(item => {
|
|
25214
|
-
// 如果有绑定url跳转参数 需获取跳转参数的key
|
|
25215
24995
|
if (item) {
|
|
25216
|
-
|
|
25217
|
-
// 需根据key 找到对应 返回数据的返回名称
|
|
25218
|
-
let returnMapKey = returnStr.find(k => {
|
|
25219
|
-
return k.field == this.jumpParamKey;
|
|
25220
|
-
}).comment;
|
|
25221
|
-
val += `${decodeURIComponent(item[from])}¯${this.jumpParamKey}:${item[returnMapKey]},`;
|
|
25222
|
-
} else {
|
|
25223
|
-
val += decodeURIComponent(item[from]) + ',';
|
|
25224
|
-
}
|
|
24996
|
+
val += decodeURIComponent(item[from]) + ',';
|
|
25225
24997
|
}
|
|
25226
24998
|
});
|
|
25227
24999
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
@@ -25240,6 +25012,7 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25240
25012
|
const _val = val.substring(0, val.length - 1);
|
|
25241
25013
|
if (path) {
|
|
25242
25014
|
if (this.modelName && this.modelName.endsWith(path)) {
|
|
25015
|
+
// this.$emit('input', _val)
|
|
25243
25016
|
this.$emit('updateInput', _val);
|
|
25244
25017
|
}
|
|
25245
25018
|
utils["a" /* default */].setValueByPath(pInst, `${pInst.data ? 'data.' : 'model.'}${path}`, _val, thisIndex);
|
|
@@ -25441,209 +25214,77 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25441
25214
|
}
|
|
25442
25215
|
let requestParams = {};
|
|
25443
25216
|
requestParams.requestType = requestType;
|
|
25444
|
-
requestParams.url = url;
|
|
25445
|
-
requestParams.paramsObj = paramsObj;
|
|
25446
|
-
this.$requestConfig.request({
|
|
25447
|
-
url: requestParams.url,
|
|
25448
|
-
method: 'get'
|
|
25449
|
-
}).then(resp => {
|
|
25450
|
-
if (treeDialog.displayfield && treeDialog.resultfield) {
|
|
25451
|
-
let displayField = JSON.parse(treeDialog.displayfield);
|
|
25452
|
-
let resultfield = JSON.parse(treeDialog.resultfield);
|
|
25453
|
-
this.defaultProps.label = displayField.displayName;
|
|
25454
|
-
this.treeList = resp;
|
|
25455
|
-
this.combiTreeDisplayField = displayField;
|
|
25456
|
-
this.combinationTreeData = this.toTreeData(resp, displayField.id, displayField.pid, displayField.displayName, displayField.pvalue ? displayField.pvalue : '0', resultfield);
|
|
25457
|
-
}
|
|
25458
|
-
});
|
|
25459
|
-
});
|
|
25460
|
-
},
|
|
25461
|
-
//打开树形动态参数输入值的对话框
|
|
25462
|
-
handleSave() {
|
|
25463
|
-
this.customDialogTreeShow(this.pageParam);
|
|
25464
|
-
this.dialogVisible = false;
|
|
25465
|
-
},
|
|
25466
|
-
//关闭树形动态参数输入值的对话框
|
|
25467
|
-
handleClose() {
|
|
25468
|
-
this.dialogVisible = false;
|
|
25469
|
-
}
|
|
25470
|
-
}
|
|
25471
|
-
});
|
|
25472
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=script&lang=js&
|
|
25473
|
-
/* harmony default export */ var src_customDialogvue_type_script_lang_js_ = (customDialogvue_type_script_lang_js_);
|
|
25474
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=
|
|
25475
|
-
var
|
|
25476
|
-
|
|
25477
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue
|
|
25478
|
-
|
|
25479
|
-
|
|
25480
|
-
|
|
25481
|
-
|
|
25482
|
-
|
|
25483
|
-
|
|
25484
|
-
/* normalize component */
|
|
25485
|
-
|
|
25486
|
-
var customDialog_component = normalizeComponent(
|
|
25487
|
-
src_customDialogvue_type_script_lang_js_,
|
|
25488
|
-
|
|
25489
|
-
|
|
25490
|
-
false,
|
|
25491
|
-
null,
|
|
25492
|
-
"
|
|
25493
|
-
null
|
|
25494
|
-
|
|
25495
|
-
)
|
|
25496
|
-
|
|
25497
|
-
/* harmony default export */ var CustomDialog_src_customDialog = (customDialog_component.exports);
|
|
25498
|
-
// 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=
|
|
25499
|
-
var
|
|
25500
|
-
|
|
25501
|
-
|
|
25502
|
-
|
|
25503
|
-
|
|
25504
|
-
|
|
25505
|
-
|
|
25506
|
-
|
|
25507
|
-
|
|
25508
|
-
|
|
25509
|
-
|
|
25510
|
-
|
|
25511
|
-
|
|
25512
|
-
|
|
25513
|
-
|
|
25514
|
-
|
|
25515
|
-
selectNum: 1,
|
|
25516
|
-
conditions: [],
|
|
25517
|
-
mappingConf: [],
|
|
25518
|
-
custQueryJson: [],
|
|
25519
|
-
alias: condition.config.alias,
|
|
25520
|
-
type: 'custDialog',
|
|
25521
|
-
},
|
|
25522
|
-
}},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(
|
|
25523
|
-
function (k) { return k.defaultType == '4'; }
|
|
25524
|
-
)),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)}
|
|
25525
|
-
var customMobileDialogvue_type_template_id_8c0b36ee_scoped_true_staticRenderFns = []
|
|
25526
|
-
|
|
25527
|
-
|
|
25528
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=8c0b36ee&scoped=true&
|
|
25529
|
-
|
|
25530
|
-
// 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&
|
|
25531
|
-
//
|
|
25532
|
-
//
|
|
25533
|
-
//
|
|
25534
|
-
//
|
|
25535
|
-
//
|
|
25536
|
-
//
|
|
25537
|
-
//
|
|
25538
|
-
//
|
|
25539
|
-
//
|
|
25540
|
-
//
|
|
25541
|
-
//
|
|
25542
|
-
//
|
|
25543
|
-
//
|
|
25544
|
-
//
|
|
25545
|
-
//
|
|
25546
|
-
//
|
|
25547
|
-
//
|
|
25548
|
-
//
|
|
25549
|
-
//
|
|
25550
|
-
//
|
|
25551
|
-
//
|
|
25552
|
-
//
|
|
25553
|
-
//
|
|
25554
|
-
//
|
|
25555
|
-
//
|
|
25556
|
-
//
|
|
25557
|
-
//
|
|
25558
|
-
//
|
|
25559
|
-
//
|
|
25560
|
-
//
|
|
25561
|
-
//
|
|
25562
|
-
//
|
|
25563
|
-
//
|
|
25564
|
-
//
|
|
25565
|
-
//
|
|
25566
|
-
//
|
|
25567
|
-
//
|
|
25568
|
-
//
|
|
25569
|
-
//
|
|
25570
|
-
//
|
|
25571
|
-
//
|
|
25572
|
-
//
|
|
25573
|
-
//
|
|
25574
|
-
//
|
|
25575
|
-
//
|
|
25576
|
-
//
|
|
25577
|
-
//
|
|
25578
|
-
//
|
|
25579
|
-
//
|
|
25580
|
-
//
|
|
25581
|
-
//
|
|
25582
|
-
//
|
|
25583
|
-
//
|
|
25584
|
-
//
|
|
25585
|
-
//
|
|
25586
|
-
//
|
|
25587
|
-
//
|
|
25588
|
-
//
|
|
25589
|
-
//
|
|
25590
|
-
//
|
|
25591
|
-
//
|
|
25592
|
-
//
|
|
25593
|
-
//
|
|
25594
|
-
//
|
|
25595
|
-
//
|
|
25596
|
-
//
|
|
25597
|
-
//
|
|
25598
|
-
//
|
|
25599
|
-
//
|
|
25600
|
-
//
|
|
25601
|
-
//
|
|
25602
|
-
//
|
|
25603
|
-
//
|
|
25604
|
-
//
|
|
25605
|
-
//
|
|
25606
|
-
//
|
|
25607
|
-
//
|
|
25608
|
-
//
|
|
25609
|
-
//
|
|
25610
|
-
//
|
|
25611
|
-
//
|
|
25612
|
-
//
|
|
25613
|
-
//
|
|
25614
|
-
//
|
|
25615
|
-
//
|
|
25616
|
-
//
|
|
25617
|
-
//
|
|
25618
|
-
//
|
|
25619
|
-
//
|
|
25620
|
-
//
|
|
25621
|
-
//
|
|
25622
|
-
//
|
|
25623
|
-
//
|
|
25624
|
-
//
|
|
25625
|
-
//
|
|
25626
|
-
//
|
|
25627
|
-
//
|
|
25628
|
-
//
|
|
25629
|
-
//
|
|
25630
|
-
//
|
|
25631
|
-
//
|
|
25632
|
-
//
|
|
25633
|
-
//
|
|
25634
|
-
//
|
|
25635
|
-
//
|
|
25636
|
-
//
|
|
25637
|
-
//
|
|
25638
|
-
//
|
|
25639
|
-
//
|
|
25640
|
-
//
|
|
25641
|
-
//
|
|
25642
|
-
//
|
|
25643
|
-
//
|
|
25644
|
-
//
|
|
25645
|
-
//
|
|
25646
|
-
//
|
|
25217
|
+
requestParams.url = url;
|
|
25218
|
+
requestParams.paramsObj = paramsObj;
|
|
25219
|
+
this.$requestConfig.request({
|
|
25220
|
+
url: requestParams.url,
|
|
25221
|
+
method: 'get'
|
|
25222
|
+
}).then(resp => {
|
|
25223
|
+
if (treeDialog.displayfield && treeDialog.resultfield) {
|
|
25224
|
+
let displayField = JSON.parse(treeDialog.displayfield);
|
|
25225
|
+
let resultfield = JSON.parse(treeDialog.resultfield);
|
|
25226
|
+
this.defaultProps.label = displayField.displayName;
|
|
25227
|
+
this.treeList = resp;
|
|
25228
|
+
this.combiTreeDisplayField = displayField;
|
|
25229
|
+
this.combinationTreeData = this.toTreeData(resp, displayField.id, displayField.pid, displayField.displayName, displayField.pvalue ? displayField.pvalue : '0', resultfield);
|
|
25230
|
+
}
|
|
25231
|
+
});
|
|
25232
|
+
});
|
|
25233
|
+
},
|
|
25234
|
+
//打开树形动态参数输入值的对话框
|
|
25235
|
+
handleSave() {
|
|
25236
|
+
this.customDialogTreeShow(this.pageParam);
|
|
25237
|
+
this.dialogVisible = false;
|
|
25238
|
+
},
|
|
25239
|
+
//关闭树形动态参数输入值的对话框
|
|
25240
|
+
handleClose() {
|
|
25241
|
+
this.dialogVisible = false;
|
|
25242
|
+
}
|
|
25243
|
+
}
|
|
25244
|
+
});
|
|
25245
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=script&lang=js&
|
|
25246
|
+
/* harmony default export */ var src_customDialogvue_type_script_lang_js_ = (customDialogvue_type_script_lang_js_);
|
|
25247
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=3a57945e&prod&lang=scss&scoped=true&
|
|
25248
|
+
var customDialogvue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true_ = __webpack_require__("7ff9");
|
|
25249
|
+
|
|
25250
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue
|
|
25251
|
+
|
|
25252
|
+
|
|
25253
|
+
|
|
25254
|
+
|
|
25255
|
+
|
|
25256
|
+
|
|
25257
|
+
/* normalize component */
|
|
25258
|
+
|
|
25259
|
+
var customDialog_component = normalizeComponent(
|
|
25260
|
+
src_customDialogvue_type_script_lang_js_,
|
|
25261
|
+
customDialogvue_type_template_id_3a57945e_scoped_true_render,
|
|
25262
|
+
customDialogvue_type_template_id_3a57945e_scoped_true_staticRenderFns,
|
|
25263
|
+
false,
|
|
25264
|
+
null,
|
|
25265
|
+
"3a57945e",
|
|
25266
|
+
null
|
|
25267
|
+
|
|
25268
|
+
)
|
|
25269
|
+
|
|
25270
|
+
/* harmony default export */ var CustomDialog_src_customDialog = (customDialog_component.exports);
|
|
25271
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=1661eebb&scoped=true&
|
|
25272
|
+
var customMobileDialogvue_type_template_id_1661eebb_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('van-action-sheet',{staticClass:"mobile-van-action min-height-action",attrs:{"cancel-text":_vm.sureButtonText,"get-container":"body"},on:{"cancel":_vm.handleDialogSure,"click-overlay":_vm.dialogCancel,"opened":_vm.afterOpen},scopedSlots:_vm._u([{key:"description",fn:function(){return [_c('span',{staticClass:"dialog-mobile__title"},[_vm._v(_vm._s(_vm.customDialog.name))]),_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":_vm.dialogCancel}})]},proxy:true}]),model:{value:(_vm.customDialogShowList),callback:function ($$v) {_vm.customDialogShowList=$$v},expression:"customDialogShowList"}},[[_c('div',{staticClass:"search-box"},[_c('ht-icon',{staticClass:"unfold-icon",attrs:{"scale":"1.2","name":_vm.isShowMoreSearch ? 'upFold' : 'downUnfold'},on:{"click":function($event){_vm.isShowMoreSearch = !_vm.isShowMoreSearch}}}),_vm._l((_vm.conditionBind),function(condition,index){return _c('div',{directives:[{name:"show",rawName:"v-show",value:(index === 0 || (index > 0 && _vm.isShowMoreSearch)),expression:"index === 0 || (index > 0 && isShowMoreSearch)"}],key:index,staticClass:"search-item"},[_c('p',[_vm._v(_vm._s(condition.comment)+":")]),(condition.controllerType == '1')?_c('div',[_c('el-input',{attrs:{"size":"small","clearable":"","placeholder":_vm.placeholders[index]},on:{"change":_vm.searchInputChange},nativeOn:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.hideSearch($event)}},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '2')?_c('div',{staticStyle:{"margin-right":"10px"}},_vm._l((condition.config.options),function(itemR,$index1){return _c('el-radio',{key:$index1,attrs:{"label":itemR.key},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}},[_vm._v("\n "+_vm._s(itemR.value)+"\n ")])}),1):_vm._e(),(condition.controllerType == '3')?_c('div',{staticStyle:{"margin-right":"10px"}},[(condition.config.choiceType == 'static')?_c('ht-select',{attrs:{"options":condition.config.options},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}}):_c('eip-select-dia',{attrs:{"ganged":{
|
|
25273
|
+
alias: condition.config.customQuery.alias,
|
|
25274
|
+
valueBind: condition.config.customQuery.valueBind,
|
|
25275
|
+
noInit: '',
|
|
25276
|
+
labelBind: condition.config.customQuery.labelBind,
|
|
25277
|
+
gangedBind: '{}',
|
|
25278
|
+
bind: condition.config.bind,
|
|
25279
|
+
},"multiple":false,"filterable":false,"allow-create":false,"selectlist":[],"query-params":_vm.queryParams},model:{value:(_vm.queryParams[condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams, condition.field, $$v)},expression:"queryParams[condition.field]"}})],1):_vm._e(),(condition.controllerType == '4')?_c('div',{staticStyle:{"margin-right":"10px"}},[_c('eip-tag',{attrs:{"tag-key":condition.config.tag,"placeholder":_vm.quickSearch,"filterable":condition.config.filterable,"expand":condition.config.expand},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e()])}),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isShowMoreSearch),expression:"isShowMoreSearch"}],staticClass:"search-btns"},[_c('el-button',{staticStyle:{"margin-left":"20px"},attrs:{"size":"small","type":"primary"},on:{"click":_vm.hideSearch}},[_vm._v("\n 搜索\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.reset}},[_vm._v("重置")])],1)],2)],(_vm.customDialog.style == 2)?_c('van-popover',{staticClass:"custom-dialog-popover",attrs:{"trigger":"click"},scopedSlots:_vm._u([{key:"reference",fn:function(){return [_c('div',{staticClass:"mobile-tree-select"},[(_vm.treeSelectText)?_c('span',{staticClass:"active-text"},[_vm._v("\n "+_vm._s(_vm.treeSelectText)+"\n ")]):_c('span',[_vm._v("请选择"+_vm._s(_vm.leftTreeTitle))]),(_vm.treeSelectText)?_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":function($event){$event.stopPropagation();return _vm.clearTreeSelect($event)}}}):_vm._e()],1)]},proxy:true}],null,false,3189508719),model:{value:(_vm.isSelectTreeShow),callback:function ($$v) {_vm.isSelectTreeShow=$$v},expression:"isSelectTreeShow"}},[_c('div',{staticClass:"custom-dialog-popover_content"},[_c('el-tree',{ref:"combinationTree",attrs:{"data":_vm.combinationTreeData,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","check-on-click-node":true},on:{"node-click":_vm.combiTreeClick}})],1)]):_vm._e(),_c('van-pull-refresh',{on:{"refresh":_vm.onRefresh},model:{value:(_vm.isDownLoading),callback:function ($$v) {_vm.isDownLoading=$$v},expression:"isDownLoading"}},[_c('van-list',{attrs:{"finished":_vm.finished,"finished-text":"没有更多了","offset":20,"immediate-check":false},on:{"load":_vm.loadMore},model:{value:(_vm.isPullLoading),callback:function ($$v) {_vm.isPullLoading=$$v},expression:"isPullLoading"}},_vm._l((_vm.dialogData),function(item,index){return _c('van-cell',{key:index,attrs:{"clickable":""},scopedSlots:_vm._u([{key:"icon",fn:function(){return [_c('van-checkbox',{attrs:{"value":_vm.indexArray(_vm.selectIds, item) > -1,"shape":_vm.customDialog.selectNum === 1 ? 'round' : 'square'},on:{"click":function($event){return _vm.checkboxChange(item)}}})]},proxy:true}],null,true)},[_c('div',{staticClass:"custom-mobile_box"},_vm._l((_vm.displayfield),function(field){return _c('div',{key:field.field,staticClass:"custom-mobile_box_item"},[_c('label',[_vm._v(_vm._s(field.comment)+":")]),_c('div',[_vm._v(_vm._s(item[field.field]))])])}),0)])}),1)],1)],2),_c('van-action-sheet',{staticClass:"mobile-van-action",attrs:{"cancel-text":_vm.sureButtonText,"get-container":"body"},on:{"cancel":_vm.handleSave},scopedSlots:_vm._u([{key:"description",fn:function(){return [_c('span',{staticClass:"dialog-mobile__title"},[_vm._v("动态传入参数查询")]),_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":function($event){_vm.dialogVisible = false}}})]},proxy:true}]),model:{value:(_vm.dialogVisible),callback:function ($$v) {_vm.dialogVisible=$$v},expression:"dialogVisible"}},[_c('van-cell-group',_vm._l((_vm.conditionfieldTree.filter(
|
|
25280
|
+
function (k) { return k.defaultType == '4'; }
|
|
25281
|
+
)),function(item,$index){return _c('div',{key:$index},[(item.type != 'date')?_c('van-field',{attrs:{"label":item.comment,"placeholder":'请输入' + item.comment},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e(),(item.type == 'date')?_c('ht-date',{staticStyle:{"width":"100%"},attrs:{"placeholder":'请选择' + item.comment,"format":"yyyy-MM-dd"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e()],1)}),0)],1),_c('van-action-sheet',{staticClass:"mobile-van-action",attrs:{"cancel-text":_vm.sureButtonText,"get-container":"body"},on:{"cancel":_vm.dialogTreeConfirm},scopedSlots:_vm._u([{key:"description",fn:function(){return [_c('span',{staticClass:"dialog-mobile__title"},[_vm._v(_vm._s(_vm.customDialog.name))]),_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":_vm.dialogCancelTree}})]},proxy:true}]),model:{value:(_vm.customDialogShowTree),callback:function ($$v) {_vm.customDialogShowTree=$$v},expression:"customDialogShowTree"}},[_c('el-tree',{ref:"tree",staticStyle:{"width":"100%"},attrs:{"data":_vm.props1,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","show-checkbox":_vm.customDialog.selectNum === -1,"check-on-click-node":true,"check-strictly":false,"lazy":"","load":_vm.loadTree,"default-expanded-keys":_vm.defaultExpandedKeys},on:{"node-click":_vm.treeClick,"check-change":_vm.getChecked}})],1)],1)}
|
|
25282
|
+
var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns = []
|
|
25283
|
+
|
|
25284
|
+
|
|
25285
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=1661eebb&scoped=true&
|
|
25286
|
+
|
|
25287
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/customMobileDialog.vue?vue&type=script&lang=js&
|
|
25647
25288
|
//
|
|
25648
25289
|
//
|
|
25649
25290
|
//
|
|
@@ -25923,17 +25564,10 @@ var customMobileDialogvue_type_template_id_8c0b36ee_scoped_true_staticRenderFns
|
|
|
25923
25564
|
subIndex: Number,
|
|
25924
25565
|
sunIndex: Number,
|
|
25925
25566
|
subPath: String,
|
|
25926
|
-
currentSubData: Array
|
|
25927
|
-
dialogConfig: Object,
|
|
25928
|
-
dialogType: String
|
|
25567
|
+
currentSubData: Array
|
|
25929
25568
|
},
|
|
25930
25569
|
data() {
|
|
25931
25570
|
return {
|
|
25932
|
-
dateType: 'date',
|
|
25933
|
-
currentDate: '',
|
|
25934
|
-
// 当前日期
|
|
25935
|
-
isShowDatePop: false,
|
|
25936
|
-
// 是否显示日期选择控件
|
|
25937
25571
|
isShowMoreSearch: false,
|
|
25938
25572
|
treeSelectText: '',
|
|
25939
25573
|
// 组合树时选中的查询条件
|
|
@@ -26013,47 +25647,9 @@ var customMobileDialogvue_type_template_id_8c0b36ee_scoped_true_staticRenderFns
|
|
|
26013
25647
|
sureButtonText() {
|
|
26014
25648
|
const selectedText = this.selectIds.length > 0 ? `(${this.selectIds.length})` : '';
|
|
26015
25649
|
return `${this.$t('ht.common.confirm')}${selectedText}`;
|
|
26016
|
-
},
|
|
26017
|
-
jumpParamKey() {
|
|
26018
|
-
return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
|
|
26019
|
-
},
|
|
26020
|
-
// 是否保存成跳转url参数
|
|
26021
|
-
isHaveJumpUrl() {
|
|
26022
|
-
return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
26023
|
-
},
|
|
26024
|
-
sortDisplayfield() {
|
|
26025
|
-
return this.displayfield.sort((a, b) => {
|
|
26026
|
-
return a.sort > b.sort ? 1 : -1;
|
|
26027
|
-
});
|
|
26028
25650
|
}
|
|
26029
25651
|
},
|
|
26030
25652
|
methods: {
|
|
26031
|
-
// 获取已选择的选择器数据id
|
|
26032
|
-
getSelectId(data) {
|
|
26033
|
-
if (!data || !data.length) {
|
|
26034
|
-
return '';
|
|
26035
|
-
}
|
|
26036
|
-
let ids = [];
|
|
26037
|
-
data.forEach(item => {
|
|
26038
|
-
ids.push(item.id);
|
|
26039
|
-
});
|
|
26040
|
-
return ids.join(',');
|
|
26041
|
-
},
|
|
26042
|
-
showDate(index, key) {
|
|
26043
|
-
this.dateType = this.conditionBind[index].config.inputFormat.includes('mm:') ? 'datetime' : 'date';
|
|
26044
|
-
this.currentDateData = {
|
|
26045
|
-
index,
|
|
26046
|
-
key
|
|
26047
|
-
};
|
|
26048
|
-
this.currentDate = this.queryParams[index][key] ? new Date(this.queryParams[index][key].replace(/-/g, '/')) : new Date();
|
|
26049
|
-
this.isShowDatePop = true;
|
|
26050
|
-
},
|
|
26051
|
-
// 日期确认
|
|
26052
|
-
confirmFn() {
|
|
26053
|
-
let currentConfig = this.conditionBind[this.currentDateData.index];
|
|
26054
|
-
this.queryParams[this.currentDateData.index][this.currentDateData.key] = this.currentDate.format(currentConfig.config.inputFormat);
|
|
26055
|
-
this.isShowDatePop = false;
|
|
26056
|
-
},
|
|
26057
25653
|
searchInputChange() {
|
|
26058
25654
|
if (!this.isShowMoreSearch) {
|
|
26059
25655
|
this.search(true);
|
|
@@ -26099,121 +25695,112 @@ var customMobileDialogvue_type_template_id_8c0b36ee_scoped_true_staticRenderFns
|
|
|
26099
25695
|
this.search(true);
|
|
26100
25696
|
},
|
|
26101
25697
|
showDialog() {
|
|
25698
|
+
const this_ = this;
|
|
26102
25699
|
this.fixedParams = {};
|
|
26103
|
-
// 如果已存在配置信息就不去请求配置信息 直接初始化数据
|
|
26104
|
-
if (this.dialogConfig) {
|
|
26105
|
-
this.initDialog(this.dialogConfig);
|
|
26106
|
-
return;
|
|
26107
|
-
}
|
|
26108
25700
|
var alias = this.custdialog.custDialog.alias;
|
|
26109
25701
|
this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
|
|
26110
|
-
|
|
26111
|
-
|
|
26112
|
-
|
|
26113
|
-
initDialog(customDialog) {
|
|
26114
|
-
let alias = this.custdialog.custDialog.alias;
|
|
26115
|
-
const this_ = this;
|
|
26116
|
-
if (!customDialog || !customDialog.alias) {
|
|
26117
|
-
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
26118
|
-
return;
|
|
26119
|
-
}
|
|
26120
|
-
if (customDialog.style == 1) {
|
|
26121
|
-
var displaylist = JSON.parse(customDialog.displayfield);
|
|
26122
|
-
this_.nodeKey = displaylist.id;
|
|
26123
|
-
}
|
|
26124
|
-
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
26125
|
-
let obj = {};
|
|
26126
|
-
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
26127
|
-
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
26128
|
-
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
26129
|
-
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
26130
|
-
if (exp) {
|
|
26131
|
-
const params = JSON.parse(exp);
|
|
26132
|
-
if (params.pageBean) {
|
|
26133
|
-
this.pagination = {
|
|
26134
|
-
...params.pageBean
|
|
26135
|
-
};
|
|
26136
|
-
}
|
|
25702
|
+
if (!customDialog || !customDialog.alias) {
|
|
25703
|
+
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
25704
|
+
return;
|
|
26137
25705
|
}
|
|
26138
|
-
|
|
26139
|
-
|
|
26140
|
-
|
|
26141
|
-
|
|
26142
|
-
|
|
26143
|
-
|
|
26144
|
-
|
|
26145
|
-
|
|
26146
|
-
|
|
26147
|
-
|
|
26148
|
-
|
|
26149
|
-
|
|
26150
|
-
|
|
26151
|
-
|
|
26152
|
-
|
|
26153
|
-
|
|
26154
|
-
|
|
25706
|
+
if (customDialog.style == 1) {
|
|
25707
|
+
var displaylist = JSON.parse(customDialog.displayfield);
|
|
25708
|
+
this_.nodeKey = displaylist.id;
|
|
25709
|
+
}
|
|
25710
|
+
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
25711
|
+
let obj = {};
|
|
25712
|
+
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
25713
|
+
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
25714
|
+
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
25715
|
+
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
25716
|
+
if (exp) {
|
|
25717
|
+
const params = JSON.parse(exp);
|
|
25718
|
+
if (params.pageBean) {
|
|
25719
|
+
this.pagination = {
|
|
25720
|
+
...params.pageBean
|
|
25721
|
+
};
|
|
25722
|
+
}
|
|
26155
25723
|
}
|
|
26156
|
-
}
|
|
26157
|
-
|
|
25724
|
+
}
|
|
25725
|
+
//对话框按表单字段查询(参数传入的)
|
|
25726
|
+
let bindList = this_.custdialog.custDialog.conditions;
|
|
25727
|
+
this_.param = []; //绑定的表单字段
|
|
25728
|
+
if (bindList.length > 0) {
|
|
25729
|
+
bindList.forEach(ele => {
|
|
25730
|
+
//绑定表单字段
|
|
25731
|
+
if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
|
|
25732
|
+
let obj = {};
|
|
25733
|
+
obj.field = ele.field;
|
|
25734
|
+
obj.bind = ele.bind;
|
|
25735
|
+
obj.bindType = ele.bindType;
|
|
25736
|
+
this_.param.push(obj);
|
|
25737
|
+
}
|
|
25738
|
+
// bindType 1 表单字段 2固定 3脚本
|
|
25739
|
+
if (ele.defaultType == '3' && ele.bindType === 2) {
|
|
25740
|
+
this_.fixedParams[ele.field] = ele.bind || '';
|
|
25741
|
+
}
|
|
25742
|
+
});
|
|
25743
|
+
}
|
|
26158
25744
|
|
|
26159
|
-
|
|
26160
|
-
|
|
26161
|
-
|
|
26162
|
-
|
|
26163
|
-
|
|
26164
|
-
|
|
26165
|
-
|
|
26166
|
-
|
|
26167
|
-
|
|
26168
|
-
|
|
26169
|
-
|
|
26170
|
-
|
|
26171
|
-
|
|
26172
|
-
|
|
26173
|
-
|
|
26174
|
-
|
|
26175
|
-
|
|
26176
|
-
|
|
26177
|
-
|
|
26178
|
-
|
|
26179
|
-
|
|
26180
|
-
|
|
26181
|
-
|
|
26182
|
-
|
|
26183
|
-
|
|
26184
|
-
|
|
26185
|
-
|
|
26186
|
-
|
|
26187
|
-
|
|
26188
|
-
|
|
26189
|
-
|
|
26190
|
-
|
|
26191
|
-
|
|
26192
|
-
|
|
26193
|
-
|
|
26194
|
-
|
|
26195
|
-
|
|
26196
|
-
|
|
26197
|
-
|
|
26198
|
-
|
|
26199
|
-
|
|
26200
|
-
|
|
26201
|
-
|
|
26202
|
-
|
|
26203
|
-
|
|
26204
|
-
|
|
25745
|
+
//判断对话框查询是否有条件
|
|
25746
|
+
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
25747
|
+
this_.conditionBind = [];
|
|
25748
|
+
let queryParams = [];
|
|
25749
|
+
let placeholders = [];
|
|
25750
|
+
if (userInputList.length > 0) {
|
|
25751
|
+
userInputList.forEach(ele => {
|
|
25752
|
+
var obj = {};
|
|
25753
|
+
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
25754
|
+
if (ele.defaultType == '1') {
|
|
25755
|
+
obj[ele.field] = '';
|
|
25756
|
+
queryParams.push(obj);
|
|
25757
|
+
// queryParams[ele.field] = "";
|
|
25758
|
+
this_.conditionBind.push(ele);
|
|
25759
|
+
placeholders.push('请输入' + ele.comment);
|
|
25760
|
+
}
|
|
25761
|
+
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
25762
|
+
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
25763
|
+
}
|
|
25764
|
+
});
|
|
25765
|
+
this.$set(this, 'queryParams', queryParams);
|
|
25766
|
+
this.$set(this, 'placeholders', placeholders);
|
|
25767
|
+
}
|
|
25768
|
+
if (customDialog.style == 0 || customDialog.style == 2) {
|
|
25769
|
+
//列表
|
|
25770
|
+
this_.customDialogShow({
|
|
25771
|
+
alias: alias,
|
|
25772
|
+
customDialog: customDialog
|
|
25773
|
+
});
|
|
25774
|
+
} else if (customDialog.style == 1) {
|
|
25775
|
+
//树形
|
|
25776
|
+
this_.pageParam = {
|
|
25777
|
+
alias: alias,
|
|
25778
|
+
customDialog: customDialog
|
|
25779
|
+
};
|
|
25780
|
+
this_.customDialog = customDialog;
|
|
25781
|
+
let param = {};
|
|
25782
|
+
this_.conditionfieldTree = [];
|
|
25783
|
+
//判断是否存在条件
|
|
25784
|
+
if (customDialog.conditionfield) {
|
|
25785
|
+
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
25786
|
+
if (this_.conditionfieldTree.length > 0) {
|
|
25787
|
+
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
25788
|
+
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
25789
|
+
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
25790
|
+
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
25791
|
+
}
|
|
26205
25792
|
}
|
|
26206
25793
|
}
|
|
26207
25794
|
}
|
|
25795
|
+
//有动态传入的字段
|
|
25796
|
+
if (JSON.stringify(param) != '{}') {
|
|
25797
|
+
this_.dialogVisible = true;
|
|
25798
|
+
} else {
|
|
25799
|
+
//无动态传入的字段
|
|
25800
|
+
this_.customDialogTreeShow(this_.pageParam);
|
|
25801
|
+
}
|
|
26208
25802
|
}
|
|
26209
|
-
|
|
26210
|
-
if (JSON.stringify(param) != '{}') {
|
|
26211
|
-
this_.dialogVisible = true;
|
|
26212
|
-
} else {
|
|
26213
|
-
//无动态传入的字段
|
|
26214
|
-
this_.customDialogTreeShow(this_.pageParam);
|
|
26215
|
-
}
|
|
26216
|
-
}
|
|
25803
|
+
});
|
|
26217
25804
|
},
|
|
26218
25805
|
treeClick(data) {
|
|
26219
25806
|
// 单选
|
|
@@ -26331,13 +25918,13 @@ var customMobileDialogvue_type_template_id_8c0b36ee_scoped_true_staticRenderFns
|
|
|
26331
25918
|
}
|
|
26332
25919
|
// 添加用户id 岗位id 组织id
|
|
26333
25920
|
try {
|
|
26334
|
-
if (this.$requestConfig.getUserId
|
|
25921
|
+
if (this.$requestConfig.getUserId()) {
|
|
26335
25922
|
ctx.userId = this.$requestConfig.getUserId();
|
|
26336
25923
|
}
|
|
26337
|
-
if (this.$requestConfig.getOrgId
|
|
25924
|
+
if (this.$requestConfig.getOrgId()) {
|
|
26338
25925
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
26339
25926
|
}
|
|
26340
|
-
if (this.$requestConfig.getPostId
|
|
25927
|
+
if (this.$requestConfig.getPostId()) {
|
|
26341
25928
|
ctx.postId = this.$requestConfig.getPostId();
|
|
26342
25929
|
}
|
|
26343
25930
|
} catch (e) {
|
|
@@ -26422,13 +26009,8 @@ var customMobileDialogvue_type_template_id_8c0b36ee_scoped_true_staticRenderFns
|
|
|
26422
26009
|
this.selectOrgs = this.convertComment2Field(str, field);
|
|
26423
26010
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
26424
26011
|
var val = '';
|
|
26425
|
-
str.forEach(
|
|
26426
|
-
|
|
26427
|
-
if (this.jumpParamKey && this.isHaveJumpUrl && (this.modelName == 'data.' + con['target'][0] || this.modelName.includes('item.') && con['target'][0].endsWith(this.modelName.split('.')[1]))) {
|
|
26428
|
-
val += `${item[con.from]}¯${this.jumpParamKey}:${this.selectOrgs[index][this.jumpParamKey]},`;
|
|
26429
|
-
} else {
|
|
26430
|
-
val += item[con.from] + ',';
|
|
26431
|
-
}
|
|
26012
|
+
str.forEach(item => {
|
|
26013
|
+
val += item[con.from] + ',';
|
|
26432
26014
|
});
|
|
26433
26015
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
26434
26016
|
utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
|
|
@@ -26501,19 +26083,6 @@ var customMobileDialogvue_type_template_id_8c0b36ee_scoped_true_staticRenderFns
|
|
|
26501
26083
|
//用户输入的
|
|
26502
26084
|
if (this.queryParams.length != 0 && this.queryParams[0] != '') {
|
|
26503
26085
|
this.conditionBind.forEach((item, index) => {
|
|
26504
|
-
// 日期范围特殊处理
|
|
26505
|
-
if (item.dbType == 'date' && item.condition == 'BETWEEN') {
|
|
26506
|
-
if (this.queryParams[index].startDate && !this.queryParams[index].endDate || !this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
26507
|
-
flag = true;
|
|
26508
|
-
this.$message.info('日期范围未填写完整!');
|
|
26509
|
-
return;
|
|
26510
|
-
}
|
|
26511
|
-
if (this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
26512
|
-
this.queryParams[index][item.field] = `${this.queryParams[index].startDate},${this.queryParams[index].endDate}`;
|
|
26513
|
-
} else {
|
|
26514
|
-
this.queryParams[index][item.field] = '';
|
|
26515
|
-
}
|
|
26516
|
-
}
|
|
26517
26086
|
if (this.queryParams[index][item.field]) {
|
|
26518
26087
|
querys.push({
|
|
26519
26088
|
property: item.field,
|
|
@@ -26562,13 +26131,13 @@ var customMobileDialogvue_type_template_id_8c0b36ee_scoped_true_staticRenderFns
|
|
|
26562
26131
|
ctx.total = pageBean.pageBean.total;
|
|
26563
26132
|
// 添加用户id 岗位id 组织id
|
|
26564
26133
|
try {
|
|
26565
|
-
if (this.$requestConfig.getUserId
|
|
26134
|
+
if (this.$requestConfig.getUserId()) {
|
|
26566
26135
|
ctx.userId = this.$requestConfig.getUserId();
|
|
26567
26136
|
}
|
|
26568
|
-
if (this.$requestConfig.getOrgId
|
|
26137
|
+
if (this.$requestConfig.getOrgId()) {
|
|
26569
26138
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
26570
26139
|
}
|
|
26571
|
-
if (this.$requestConfig.getPostId
|
|
26140
|
+
if (this.$requestConfig.getPostId()) {
|
|
26572
26141
|
ctx.postId = this.$requestConfig.getPostId();
|
|
26573
26142
|
}
|
|
26574
26143
|
} catch (e) {
|
|
@@ -26596,8 +26165,6 @@ var customMobileDialogvue_type_template_id_8c0b36ee_scoped_true_staticRenderFns
|
|
|
26596
26165
|
} else {
|
|
26597
26166
|
param.pageBean.pageSize = -1;
|
|
26598
26167
|
}
|
|
26599
|
-
// 日期格式的 改成数组
|
|
26600
|
-
// this.changeDateFormat(param)
|
|
26601
26168
|
//构造请求的参数
|
|
26602
26169
|
let requestParam = {
|
|
26603
26170
|
pageBean: param,
|
|
@@ -26633,15 +26200,6 @@ var customMobileDialogvue_type_template_id_8c0b36ee_scoped_true_staticRenderFns
|
|
|
26633
26200
|
}
|
|
26634
26201
|
}
|
|
26635
26202
|
},
|
|
26636
|
-
changeDateFormat(param) {
|
|
26637
|
-
let dateValidate1 = /^\d{4}\-\d{2}\-\d{2}$/;
|
|
26638
|
-
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$/;
|
|
26639
|
-
Object.keys(param).forEach(key => {
|
|
26640
|
-
if (param[key] && typeof param[key] == 'string' && param[key].includes(',') && (dateValidate1.test(param[key].split(',')[0]) || dateValidate2.test(param[key].split(',')[0]))) {
|
|
26641
|
-
param[key] = param[key].split(',');
|
|
26642
|
-
}
|
|
26643
|
-
});
|
|
26644
|
-
},
|
|
26645
26203
|
getSearchValueByKey() {
|
|
26646
26204
|
let queryParamsObj = {};
|
|
26647
26205
|
if (this.queryParams.length > 0) {
|
|
@@ -26840,30 +26398,13 @@ var customMobileDialogvue_type_template_id_8c0b36ee_scoped_true_staticRenderFns
|
|
|
26840
26398
|
}
|
|
26841
26399
|
}
|
|
26842
26400
|
}
|
|
26843
|
-
// 如果是查询中使用的对话框
|
|
26844
|
-
if (this.dialogType == 'search') {
|
|
26845
|
-
let returnVal = [];
|
|
26846
|
-
str.forEach(item => {
|
|
26847
|
-
returnVal.push(decodeURIComponent(item[this.modelName]));
|
|
26848
|
-
});
|
|
26849
|
-
this.$emit('updateInput', returnVal.join(','));
|
|
26850
|
-
return;
|
|
26851
|
-
}
|
|
26852
26401
|
const pInst = utils["a" /* default */].getOnlineFormInstance(this);
|
|
26853
26402
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
26854
26403
|
var val = '';
|
|
26855
26404
|
var from = con.from.toLowerCase();
|
|
26856
26405
|
str.forEach(item => {
|
|
26857
26406
|
if (item) {
|
|
26858
|
-
|
|
26859
|
-
// 需根据key 找到对应 返回数据的返回名称
|
|
26860
|
-
let returnMapKey = returnStr.find(k => {
|
|
26861
|
-
return k.field == this.jumpParamKey;
|
|
26862
|
-
}).comment;
|
|
26863
|
-
val += `${decodeURIComponent(item[from])}¯${this.jumpParamKey}:${item[returnMapKey]},`;
|
|
26864
|
-
} else {
|
|
26865
|
-
val += decodeURIComponent(item[from]) + ',';
|
|
26866
|
-
}
|
|
26407
|
+
val += decodeURIComponent(item[from]) + ',';
|
|
26867
26408
|
}
|
|
26868
26409
|
});
|
|
26869
26410
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
@@ -26900,6 +26441,20 @@ var customMobileDialogvue_type_template_id_8c0b36ee_scoped_true_staticRenderFns
|
|
|
26900
26441
|
}
|
|
26901
26442
|
}
|
|
26902
26443
|
},
|
|
26444
|
+
// getSelected() {
|
|
26445
|
+
// let arr = []
|
|
26446
|
+
// this.selectIds.forEach((item) => {
|
|
26447
|
+
// debugger
|
|
26448
|
+
// let obj = this.dialogData.find((sub) => {
|
|
26449
|
+
// return sub.id_ === item
|
|
26450
|
+
// })
|
|
26451
|
+
// if (obj) {
|
|
26452
|
+
// arr.push(obj)
|
|
26453
|
+
// }
|
|
26454
|
+
// })
|
|
26455
|
+
|
|
26456
|
+
// return arr
|
|
26457
|
+
// },
|
|
26903
26458
|
calacInputSuffixHeight() {
|
|
26904
26459
|
this.$emit('calacInputSuffixHeight');
|
|
26905
26460
|
},
|
|
@@ -27101,11 +26656,11 @@ var customMobileDialogvue_type_template_id_8c0b36ee_scoped_true_staticRenderFns
|
|
|
27101
26656
|
});
|
|
27102
26657
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=script&lang=js&
|
|
27103
26658
|
/* harmony default export */ var src_customMobileDialogvue_type_script_lang_js_ = (customMobileDialogvue_type_script_lang_js_);
|
|
27104
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=
|
|
27105
|
-
var
|
|
26659
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=1661eebb&prod&lang=scss&scoped=true&
|
|
26660
|
+
var customMobileDialogvue_type_style_index_0_id_1661eebb_prod_lang_scss_scoped_true_ = __webpack_require__("de6a");
|
|
27106
26661
|
|
|
27107
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=
|
|
27108
|
-
var
|
|
26662
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=1661eebb&prod&lang=scss&
|
|
26663
|
+
var customMobileDialogvue_type_style_index_1_id_1661eebb_prod_lang_scss_ = __webpack_require__("49f9");
|
|
27109
26664
|
|
|
27110
26665
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue
|
|
27111
26666
|
|
|
@@ -27119,11 +26674,11 @@ var customMobileDialogvue_type_style_index_1_id_8c0b36ee_prod_lang_scss_ = __web
|
|
|
27119
26674
|
|
|
27120
26675
|
var customMobileDialog_component = normalizeComponent(
|
|
27121
26676
|
src_customMobileDialogvue_type_script_lang_js_,
|
|
27122
|
-
|
|
27123
|
-
|
|
26677
|
+
customMobileDialogvue_type_template_id_1661eebb_scoped_true_render,
|
|
26678
|
+
customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns,
|
|
27124
26679
|
false,
|
|
27125
26680
|
null,
|
|
27126
|
-
"
|
|
26681
|
+
"1661eebb",
|
|
27127
26682
|
null
|
|
27128
26683
|
|
|
27129
26684
|
)
|
|
@@ -27267,17 +26822,6 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27267
26822
|
//
|
|
27268
26823
|
//
|
|
27269
26824
|
//
|
|
27270
|
-
//
|
|
27271
|
-
//
|
|
27272
|
-
//
|
|
27273
|
-
//
|
|
27274
|
-
//
|
|
27275
|
-
//
|
|
27276
|
-
//
|
|
27277
|
-
//
|
|
27278
|
-
//
|
|
27279
|
-
//
|
|
27280
|
-
//
|
|
27281
26825
|
|
|
27282
26826
|
|
|
27283
26827
|
|
|
@@ -27309,17 +26853,10 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27309
26853
|
subIndex: Number,
|
|
27310
26854
|
sunIndex: Number,
|
|
27311
26855
|
subPath: String,
|
|
27312
|
-
currentSubData: Array
|
|
27313
|
-
dialogType: {
|
|
27314
|
-
// search表示在查询条件使用 form表示在表单中使用
|
|
27315
|
-
type: String,
|
|
27316
|
-
default: 'form'
|
|
27317
|
-
}
|
|
26856
|
+
currentSubData: Array
|
|
27318
26857
|
},
|
|
27319
26858
|
data() {
|
|
27320
26859
|
return {
|
|
27321
|
-
dialogConfig: null,
|
|
27322
|
-
// 对话框配置信息
|
|
27323
26860
|
isEditInputShow: false,
|
|
27324
26861
|
customValue: '',
|
|
27325
26862
|
defualtTooltipplacement: 'bottom',
|
|
@@ -27368,24 +26905,9 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27368
26905
|
}
|
|
27369
26906
|
let result = [];
|
|
27370
26907
|
nameAry.forEach(m => {
|
|
27371
|
-
|
|
27372
|
-
|
|
27373
|
-
|
|
27374
|
-
if (m.includes('¯') && m.split('¯')[1] || m.includes('ˉ') && m.split('ˉ')[1]) {
|
|
27375
|
-
let val1 = m.includes('¯') ? m.split('¯')[0] : m.split('ˉ')[0];
|
|
27376
|
-
let val2 = m.includes('¯') ? m.split('¯')[1] : m.split('ˉ')[1];
|
|
27377
|
-
n.value = val1;
|
|
27378
|
-
let jumpParamStr = val2;
|
|
27379
|
-
if (jumpParamStr) {
|
|
27380
|
-
let jumpParam = jumpParamStr.split(':');
|
|
27381
|
-
n.jumpParamKey = jumpParam[0];
|
|
27382
|
-
n.jumpParamValue = jumpParam[1];
|
|
27383
|
-
}
|
|
27384
|
-
} else {
|
|
27385
|
-
n = {
|
|
27386
|
-
value: m
|
|
27387
|
-
};
|
|
27388
|
-
}
|
|
26908
|
+
let n = {
|
|
26909
|
+
value: m
|
|
26910
|
+
};
|
|
27389
26911
|
result.push(n);
|
|
27390
26912
|
});
|
|
27391
26913
|
return result;
|
|
@@ -27393,16 +26915,8 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27393
26915
|
},
|
|
27394
26916
|
isAllowCustom() {
|
|
27395
26917
|
return this.custdialog && this.custdialog.allowInput;
|
|
27396
|
-
},
|
|
27397
|
-
// 是否展示可跳转颜色
|
|
27398
|
-
isSrcColor() {
|
|
27399
|
-
return this.dialogConfig && this.dialogType !== 'search' && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
27400
26918
|
}
|
|
27401
26919
|
},
|
|
27402
|
-
created() {
|
|
27403
|
-
// 获取对话框配置,看是否有配置url跳转
|
|
27404
|
-
this.getDialogConfig();
|
|
27405
|
-
},
|
|
27406
26920
|
mounted() {
|
|
27407
26921
|
setTimeout(() => {
|
|
27408
26922
|
const {
|
|
@@ -27423,63 +26937,6 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27423
26937
|
}, 50);
|
|
27424
26938
|
},
|
|
27425
26939
|
methods: {
|
|
27426
|
-
// 跳转url页面
|
|
27427
|
-
jumpUrl(item) {
|
|
27428
|
-
if (!this.isSrcColor) {
|
|
27429
|
-
if (this.inputWriteable) {
|
|
27430
|
-
this.showEditInput();
|
|
27431
|
-
}
|
|
27432
|
-
return;
|
|
27433
|
-
}
|
|
27434
|
-
let url = this.isMobile ? this.dialogConfig.mobileUrl : this.dialogConfig.pcUrl;
|
|
27435
|
-
// 获取通用token 和 url翻译
|
|
27436
|
-
Promise.all([this.$requestConfig.getThreeTreeToken(), this.transformUrl(url)]).then(res => {
|
|
27437
|
-
if (res[0] && res[0].code == 200) {
|
|
27438
|
-
let token = res[0].value;
|
|
27439
|
-
let endUrl = res[1];
|
|
27440
|
-
// 拼接参数 token和参数
|
|
27441
|
-
if (endUrl.indexOf('?') == -1) {
|
|
27442
|
-
endUrl += `?bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
|
|
27443
|
-
} else {
|
|
27444
|
-
endUrl += `&bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
|
|
27445
|
-
}
|
|
27446
|
-
window.open(endUrl);
|
|
27447
|
-
} else {
|
|
27448
|
-
this.$message.info(res.message || '获取token失败!');
|
|
27449
|
-
}
|
|
27450
|
-
});
|
|
27451
|
-
},
|
|
27452
|
-
// 替换url中域名通配符 需要发送接口
|
|
27453
|
-
transformUrl(url) {
|
|
27454
|
-
return new Promise(resolve => {
|
|
27455
|
-
var reg = /(\$\{(\w+)\})/;
|
|
27456
|
-
var match = reg.exec(url);
|
|
27457
|
-
if (match) {
|
|
27458
|
-
let alias = match[2];
|
|
27459
|
-
if (alias) {
|
|
27460
|
-
this.$requestConfig.getHostByAlias(alias).then(res => {
|
|
27461
|
-
if (res && res.value && res.value.rootAddress) {
|
|
27462
|
-
resolve(url.replace(match[1], res.value.rootAddress));
|
|
27463
|
-
} else {
|
|
27464
|
-
resolve(url);
|
|
27465
|
-
}
|
|
27466
|
-
});
|
|
27467
|
-
} else {
|
|
27468
|
-
resolve(url);
|
|
27469
|
-
}
|
|
27470
|
-
} else {
|
|
27471
|
-
resolve(url);
|
|
27472
|
-
}
|
|
27473
|
-
});
|
|
27474
|
-
},
|
|
27475
|
-
// 获取对话框配置
|
|
27476
|
-
getDialogConfig() {
|
|
27477
|
-
if (this.custdialog && this.custdialog.custDialog && this.custdialog.custDialog.alias) this.$requestConfig.getCustomDialogByAlias(this.custdialog.custDialog.alias).then(response => {
|
|
27478
|
-
if (response) {
|
|
27479
|
-
this.dialogConfig = response;
|
|
27480
|
-
}
|
|
27481
|
-
});
|
|
27482
|
-
},
|
|
27483
26940
|
editInputBlur() {
|
|
27484
26941
|
this.$emit('input', this.customValue);
|
|
27485
26942
|
this.isEditInputShow = false;
|
|
@@ -27554,8 +27011,8 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27554
27011
|
});
|
|
27555
27012
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=script&lang=js&
|
|
27556
27013
|
/* harmony default export */ var packages_CustomDialog_src_mainvue_type_script_lang_js_ = (CustomDialog_src_mainvue_type_script_lang_js_);
|
|
27557
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=
|
|
27558
|
-
var
|
|
27014
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=0b5eb5e6&prod&lang=scss&scoped=true&
|
|
27015
|
+
var mainvue_type_style_index_0_id_0b5eb5e6_prod_lang_scss_scoped_true_ = __webpack_require__("be12");
|
|
27559
27016
|
|
|
27560
27017
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue
|
|
27561
27018
|
|
|
@@ -27568,11 +27025,11 @@ var mainvue_type_style_index_0_id_2bda41f4_prod_lang_scss_scoped_true_ = __webpa
|
|
|
27568
27025
|
|
|
27569
27026
|
var CustomDialog_src_main_component = normalizeComponent(
|
|
27570
27027
|
packages_CustomDialog_src_mainvue_type_script_lang_js_,
|
|
27571
|
-
|
|
27572
|
-
|
|
27028
|
+
mainvue_type_template_id_0b5eb5e6_scoped_true_render,
|
|
27029
|
+
mainvue_type_template_id_0b5eb5e6_scoped_true_staticRenderFns,
|
|
27573
27030
|
false,
|
|
27574
27031
|
null,
|
|
27575
|
-
"
|
|
27032
|
+
"0b5eb5e6",
|
|
27576
27033
|
null
|
|
27577
27034
|
|
|
27578
27035
|
)
|