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
|
@@ -1659,32 +1659,21 @@ const btnList = [{
|
|
|
1659
1659
|
|
|
1660
1660
|
/***/ }),
|
|
1661
1661
|
|
|
1662
|
-
/***/ "
|
|
1662
|
+
/***/ "0ca0":
|
|
1663
1663
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1664
1664
|
|
|
1665
1665
|
// extracted by mini-css-extract-plugin
|
|
1666
1666
|
|
|
1667
1667
|
/***/ }),
|
|
1668
1668
|
|
|
1669
|
-
/***/ "
|
|
1669
|
+
/***/ "0edb":
|
|
1670
1670
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1671
1671
|
|
|
1672
1672
|
// extracted by mini-css-extract-plugin
|
|
1673
1673
|
|
|
1674
1674
|
/***/ }),
|
|
1675
1675
|
|
|
1676
|
-
/***/ "
|
|
1677
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1678
|
-
|
|
1679
|
-
"use strict";
|
|
1680
|
-
/* 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");
|
|
1681
|
-
/* 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__);
|
|
1682
|
-
/* unused harmony reexport * */
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
/***/ }),
|
|
1686
|
-
|
|
1687
|
-
/***/ "11c6":
|
|
1676
|
+
/***/ "0f2d":
|
|
1688
1677
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1689
1678
|
|
|
1690
1679
|
// extracted by mini-css-extract-plugin
|
|
@@ -1731,13 +1720,6 @@ const btnList = [{
|
|
|
1731
1720
|
|
|
1732
1721
|
/***/ }),
|
|
1733
1722
|
|
|
1734
|
-
/***/ "1561":
|
|
1735
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1736
|
-
|
|
1737
|
-
// extracted by mini-css-extract-plugin
|
|
1738
|
-
|
|
1739
|
-
/***/ }),
|
|
1740
|
-
|
|
1741
1723
|
/***/ "1639":
|
|
1742
1724
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1743
1725
|
|
|
@@ -1909,6 +1891,13 @@ const SubPagination = {
|
|
|
1909
1891
|
/* unused harmony reexport * */
|
|
1910
1892
|
|
|
1911
1893
|
|
|
1894
|
+
/***/ }),
|
|
1895
|
+
|
|
1896
|
+
/***/ "1ccc":
|
|
1897
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1898
|
+
|
|
1899
|
+
// extracted by mini-css-extract-plugin
|
|
1900
|
+
|
|
1912
1901
|
/***/ }),
|
|
1913
1902
|
|
|
1914
1903
|
/***/ "200a":
|
|
@@ -1966,17 +1955,6 @@ const SubPagination = {
|
|
|
1966
1955
|
/* unused harmony reexport * */
|
|
1967
1956
|
|
|
1968
1957
|
|
|
1969
|
-
/***/ }),
|
|
1970
|
-
|
|
1971
|
-
/***/ "2662":
|
|
1972
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1973
|
-
|
|
1974
|
-
"use strict";
|
|
1975
|
-
/* 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");
|
|
1976
|
-
/* 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__);
|
|
1977
|
-
/* unused harmony reexport * */
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
1958
|
/***/ }),
|
|
1981
1959
|
|
|
1982
1960
|
/***/ "289a":
|
|
@@ -2083,6 +2061,13 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__289a__;
|
|
|
2083
2061
|
|
|
2084
2062
|
/***/ }),
|
|
2085
2063
|
|
|
2064
|
+
/***/ "333d":
|
|
2065
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2066
|
+
|
|
2067
|
+
// extracted by mini-css-extract-plugin
|
|
2068
|
+
|
|
2069
|
+
/***/ }),
|
|
2070
|
+
|
|
2086
2071
|
/***/ "33ce":
|
|
2087
2072
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2088
2073
|
|
|
@@ -2870,6 +2855,17 @@ Formulas.install = Vue => {
|
|
|
2870
2855
|
/* unused harmony reexport * */
|
|
2871
2856
|
|
|
2872
2857
|
|
|
2858
|
+
/***/ }),
|
|
2859
|
+
|
|
2860
|
+
/***/ "48f7":
|
|
2861
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2862
|
+
|
|
2863
|
+
"use strict";
|
|
2864
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_5731e345_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1ccc");
|
|
2865
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_5731e345_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_5731e345_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
2866
|
+
/* unused harmony reexport * */
|
|
2867
|
+
|
|
2868
|
+
|
|
2873
2869
|
/***/ }),
|
|
2874
2870
|
|
|
2875
2871
|
/***/ "4919":
|
|
@@ -2902,6 +2898,17 @@ Formulas.install = Vue => {
|
|
|
2902
2898
|
|
|
2903
2899
|
// extracted by mini-css-extract-plugin
|
|
2904
2900
|
|
|
2901
|
+
/***/ }),
|
|
2902
|
+
|
|
2903
|
+
/***/ "49f9":
|
|
2904
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2905
|
+
|
|
2906
|
+
"use strict";
|
|
2907
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_1_id_1661eebb_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("7c6e");
|
|
2908
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_1_id_1661eebb_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_1_id_1661eebb_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
2909
|
+
/* unused harmony reexport * */
|
|
2910
|
+
|
|
2911
|
+
|
|
2905
2912
|
/***/ }),
|
|
2906
2913
|
|
|
2907
2914
|
/***/ "4a17":
|
|
@@ -3040,13 +3047,6 @@ exports.clearImmediate = (typeof self !== "undefined" && self.clearImmediate) ||
|
|
|
3040
3047
|
|
|
3041
3048
|
/***/ }),
|
|
3042
3049
|
|
|
3043
|
-
/***/ "569e":
|
|
3044
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
3045
|
-
|
|
3046
|
-
// extracted by mini-css-extract-plugin
|
|
3047
|
-
|
|
3048
|
-
/***/ }),
|
|
3049
|
-
|
|
3050
3050
|
/***/ "5877":
|
|
3051
3051
|
/***/ (function(module, exports) {
|
|
3052
3052
|
|
|
@@ -4137,13 +4137,6 @@ const dict = {
|
|
|
4137
4137
|
|
|
4138
4138
|
/***/ }),
|
|
4139
4139
|
|
|
4140
|
-
/***/ "6ebe":
|
|
4141
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4142
|
-
|
|
4143
|
-
// extracted by mini-css-extract-plugin
|
|
4144
|
-
|
|
4145
|
-
/***/ }),
|
|
4146
|
-
|
|
4147
4140
|
/***/ "6f28":
|
|
4148
4141
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4149
4142
|
|
|
@@ -4210,13 +4203,6 @@ const dict = {
|
|
|
4210
4203
|
/* unused harmony reexport * */
|
|
4211
4204
|
|
|
4212
4205
|
|
|
4213
|
-
/***/ }),
|
|
4214
|
-
|
|
4215
|
-
/***/ "72c1":
|
|
4216
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4217
|
-
|
|
4218
|
-
// extracted by mini-css-extract-plugin
|
|
4219
|
-
|
|
4220
4206
|
/***/ }),
|
|
4221
4207
|
|
|
4222
4208
|
/***/ "768a":
|
|
@@ -4258,6 +4244,13 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4258
4244
|
|
|
4259
4245
|
/***/ }),
|
|
4260
4246
|
|
|
4247
|
+
/***/ "7c6e":
|
|
4248
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4249
|
+
|
|
4250
|
+
// extracted by mini-css-extract-plugin
|
|
4251
|
+
|
|
4252
|
+
/***/ }),
|
|
4253
|
+
|
|
4261
4254
|
/***/ "7d0a":
|
|
4262
4255
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4263
4256
|
|
|
@@ -4285,6 +4278,17 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4285
4278
|
|
|
4286
4279
|
// extracted by mini-css-extract-plugin
|
|
4287
4280
|
|
|
4281
|
+
/***/ }),
|
|
4282
|
+
|
|
4283
|
+
/***/ "7ff9":
|
|
4284
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4285
|
+
|
|
4286
|
+
"use strict";
|
|
4287
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customDialog_vue_vue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("333d");
|
|
4288
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customDialog_vue_vue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customDialog_vue_vue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
4289
|
+
/* unused harmony reexport * */
|
|
4290
|
+
|
|
4291
|
+
|
|
4288
4292
|
/***/ }),
|
|
4289
4293
|
|
|
4290
4294
|
/***/ "8262":
|
|
@@ -4720,7 +4724,14 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
4720
4724
|
/***/ "9224":
|
|
4721
4725
|
/***/ (function(module) {
|
|
4722
4726
|
|
|
4723
|
-
module.exports = JSON.parse("{\"a\":\"1.0.
|
|
4727
|
+
module.exports = JSON.parse("{\"a\":\"1.0.14\"}");
|
|
4728
|
+
|
|
4729
|
+
/***/ }),
|
|
4730
|
+
|
|
4731
|
+
/***/ "923d":
|
|
4732
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4733
|
+
|
|
4734
|
+
// extracted by mini-css-extract-plugin
|
|
4724
4735
|
|
|
4725
4736
|
/***/ }),
|
|
4726
4737
|
|
|
@@ -4802,13 +4813,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHoAAABMCAYAAACi
|
|
|
4802
4813
|
|
|
4803
4814
|
/***/ }),
|
|
4804
4815
|
|
|
4805
|
-
/***/ "a0ca":
|
|
4806
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4807
|
-
|
|
4808
|
-
// extracted by mini-css-extract-plugin
|
|
4809
|
-
|
|
4810
|
-
/***/ }),
|
|
4811
|
-
|
|
4812
4816
|
/***/ "a1fa":
|
|
4813
4817
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4814
4818
|
|
|
@@ -4852,6 +4856,13 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHoAAABMCAYAAACi
|
|
|
4852
4856
|
|
|
4853
4857
|
/***/ }),
|
|
4854
4858
|
|
|
4859
|
+
/***/ "a707":
|
|
4860
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4861
|
+
|
|
4862
|
+
// extracted by mini-css-extract-plugin
|
|
4863
|
+
|
|
4864
|
+
/***/ }),
|
|
4865
|
+
|
|
4855
4866
|
/***/ "a751":
|
|
4856
4867
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4857
4868
|
|
|
@@ -6299,17 +6310,6 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
|
|
|
6299
6310
|
/* unused harmony reexport * */
|
|
6300
6311
|
|
|
6301
6312
|
|
|
6302
|
-
/***/ }),
|
|
6303
|
-
|
|
6304
|
-
/***/ "b8c3":
|
|
6305
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6306
|
-
|
|
6307
|
-
"use strict";
|
|
6308
|
-
/* 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");
|
|
6309
|
-
/* 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__);
|
|
6310
|
-
/* unused harmony reexport * */
|
|
6311
|
-
|
|
6312
|
-
|
|
6313
6313
|
/***/ }),
|
|
6314
6314
|
|
|
6315
6315
|
/***/ "b944":
|
|
@@ -6440,6 +6440,17 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
|
|
|
6440
6440
|
|
|
6441
6441
|
// extracted by mini-css-extract-plugin
|
|
6442
6442
|
|
|
6443
|
+
/***/ }),
|
|
6444
|
+
|
|
6445
|
+
/***/ "be12":
|
|
6446
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6447
|
+
|
|
6448
|
+
"use strict";
|
|
6449
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_0b5eb5e6_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("0ca0");
|
|
6450
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_0b5eb5e6_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_0b5eb5e6_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
6451
|
+
/* unused harmony reexport * */
|
|
6452
|
+
|
|
6453
|
+
|
|
6443
6454
|
/***/ }),
|
|
6444
6455
|
|
|
6445
6456
|
/***/ "c0a9":
|
|
@@ -6458,6 +6469,17 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
|
|
|
6458
6469
|
|
|
6459
6470
|
module.exports = require("moment");
|
|
6460
6471
|
|
|
6472
|
+
/***/ }),
|
|
6473
|
+
|
|
6474
|
+
/***/ "c33b":
|
|
6475
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6476
|
+
|
|
6477
|
+
"use strict";
|
|
6478
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a707");
|
|
6479
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
6480
|
+
/* unused harmony reexport * */
|
|
6481
|
+
|
|
6482
|
+
|
|
6461
6483
|
/***/ }),
|
|
6462
6484
|
|
|
6463
6485
|
/***/ "c429":
|
|
@@ -6590,17 +6612,6 @@ module.exports = g;
|
|
|
6590
6612
|
/* unused harmony reexport * */
|
|
6591
6613
|
|
|
6592
6614
|
|
|
6593
|
-
/***/ }),
|
|
6594
|
-
|
|
6595
|
-
/***/ "cc2b":
|
|
6596
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6597
|
-
|
|
6598
|
-
"use strict";
|
|
6599
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_10f71c00_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("569e");
|
|
6600
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_10f71c00_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_10f71c00_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
6601
|
-
/* unused harmony reexport * */
|
|
6602
|
-
|
|
6603
|
-
|
|
6604
6615
|
/***/ }),
|
|
6605
6616
|
|
|
6606
6617
|
/***/ "cd87":
|
|
@@ -7089,17 +7100,6 @@ const {
|
|
|
7089
7100
|
}
|
|
7090
7101
|
});
|
|
7091
7102
|
|
|
7092
|
-
/***/ }),
|
|
7093
|
-
|
|
7094
|
-
/***/ "d656":
|
|
7095
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7096
|
-
|
|
7097
|
-
"use strict";
|
|
7098
|
-
/* 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");
|
|
7099
|
-
/* 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__);
|
|
7100
|
-
/* unused harmony reexport * */
|
|
7101
|
-
|
|
7102
|
-
|
|
7103
7103
|
/***/ }),
|
|
7104
7104
|
|
|
7105
7105
|
/***/ "d705":
|
|
@@ -7166,23 +7166,23 @@ module.exports = require("deepmerge");
|
|
|
7166
7166
|
|
|
7167
7167
|
/***/ }),
|
|
7168
7168
|
|
|
7169
|
-
/***/ "
|
|
7169
|
+
/***/ "dccc":
|
|
7170
7170
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7171
7171
|
|
|
7172
7172
|
"use strict";
|
|
7173
|
-
/* harmony import */ var
|
|
7174
|
-
/* harmony import */ var
|
|
7173
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_68e2d4a1_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("8728");
|
|
7174
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_68e2d4a1_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_68e2d4a1_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
7175
7175
|
/* unused harmony reexport * */
|
|
7176
7176
|
|
|
7177
7177
|
|
|
7178
7178
|
/***/ }),
|
|
7179
7179
|
|
|
7180
|
-
/***/ "
|
|
7180
|
+
/***/ "de6a":
|
|
7181
7181
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7182
7182
|
|
|
7183
7183
|
"use strict";
|
|
7184
|
-
/* harmony import */ var
|
|
7185
|
-
/* harmony import */ var
|
|
7184
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_0_id_1661eebb_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("923d");
|
|
7185
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_0_id_1661eebb_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_0_id_1661eebb_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
7186
7186
|
/* unused harmony reexport * */
|
|
7187
7187
|
|
|
7188
7188
|
|
|
@@ -15615,17 +15615,17 @@ Demension_src_main.install = function (Vue) {
|
|
|
15615
15615
|
Vue.component(Demension_src_main.name, Demension_src_main);
|
|
15616
15616
|
};
|
|
15617
15617
|
/* harmony default export */ var Demension = (Demension_src_main);
|
|
15618
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/Tree/src/main.vue?vue&type=template&id=
|
|
15619
|
-
var
|
|
15618
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/Tree/src/main.vue?vue&type=template&id=5731e345&scoped=true&
|
|
15619
|
+
var mainvue_type_template_id_5731e345_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{style:(_vm.containerStyle)},[(_vm.supportFilter)?_c('div',{staticClass:"tree-header flex"},[_vm._t("custom-prefix"),_c('el-input',{attrs:{"placeholder":_vm.t('ht.tree.filterText'),"clearable":""},model:{value:(_vm.filterText),callback:function ($$v) {_vm.filterText=$$v},expression:"filterText"}},[_c('i',{staticClass:"el-input__icon el-icon-search",attrs:{"slot":"prefix"},slot:"prefix"})]),_c('div',{class:_vm.isIeExplorer
|
|
15620
15620
|
? 'tree-button-group is-ie-explorer flex'
|
|
15621
15621
|
: 'tree-button-group flex'},[_vm._t("custom-button"),_c('ht-icon',{staticClass:"tree-icon",attrs:{"name":_vm.isExpand ? 'simple-collapse' : 'simple-expand',"title":_vm.isExpand ? '收起' : '展开',"scale":"1.2"},on:{"click":_vm.handleExpandCollapse}}),_c('ht-icon',{staticClass:"tree-icon refresh",attrs:{"name":"refresh","pulse":_vm.loading,"scale":"1.1","title":"刷新"},on:{"click":_vm.refresh}})],2)],2):_vm._e(),(_vm.isShowEmpty)?_c('el-empty',{attrs:{"image":_vm.treeNoDataImg,"image-size":_vm.imageSize}}):_c('el-tree',{ref:"elTree",staticClass:"el-tree__wrapper",style:(_vm.elTreeStyle),attrs:{"data":_vm.data ? _vm.data : _vm.treeData,"props":_vm.props,"empty-text":_vm.emptyText,"default-expand-all":_vm.defaultExpandAll,"filter-node-method":_vm.filterNode,"load":_vm.load,"lazy":_vm.lazy,"show-checkbox":_vm.showCheckbox,"accordion":_vm.accordion,"node-key":_vm.nodeKey,"default-expanded-keys":_vm.defaultExpandedKeys,"highlight-current":_vm.highlightCurrent,"render-after-expand":_vm.renderAfterExpand,"render-content":_vm.renderContent,"check-on-click-node":_vm.checkOnClickNode,"auto-expand-parent":_vm.autoExpandParent,"check-strictly":_vm.checkStrictly,"current-node-key":_vm.currentNodeKey,"indent":_vm.indent,"icon-class":_vm.iconClass,"draggable":_vm.draggable,"allow-drag":_vm.allowDrag,"allow-drop":_vm.allowDrop,"expand-on-click-node":_vm.expandOnClickNode,"default-checked-keys":_vm.defaultCheckedKeys},on:{"node-click":_vm.handleNodeClick,"node-contextmenu":_vm.nodeContextmenu,"check-change":_vm.checkChange,"check":_vm.check,"current-change":_vm.currentChange,"node-expand":_vm.nodeExpand,"node-collapse":_vm.nodeCollapse,"node-drag-start":_vm.nodeDragStart,"node-drag-enter":_vm.nodeDragEnter,"node-drag-leave":_vm.nodeDragLeave,"node-drag-over":_vm.nodeDragOver,"node-drag-end":_vm.nodeDragEnd,"node-drop":_vm.nodeDrop},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
15622
15622
|
var node = ref.node;
|
|
15623
15623
|
var subData = ref.data;
|
|
15624
15624
|
return (_vm.$scopedSlots['default'])?_vm._t("default",null,{"node":node,"data":subData}):[_c('span',{staticClass:"el-tree-node__label show-ellipsis",class:{ 'full-width': !_vm.showMoreButton },attrs:{"title":node.label}},[_vm._v("\n "+_vm._s(node.label)+"\n ")])]}}],null,true)})],1)}
|
|
15625
|
-
var
|
|
15625
|
+
var mainvue_type_template_id_5731e345_scoped_true_staticRenderFns = []
|
|
15626
15626
|
|
|
15627
15627
|
|
|
15628
|
-
// CONCATENATED MODULE: ./packages/Tree/src/main.vue?vue&type=template&id=
|
|
15628
|
+
// CONCATENATED MODULE: ./packages/Tree/src/main.vue?vue&type=template&id=5731e345&scoped=true&
|
|
15629
15629
|
|
|
15630
15630
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/Tree/src/main.vue?vue&type=script&lang=js&
|
|
15631
15631
|
//
|
|
@@ -15900,11 +15900,7 @@ var mainvue_type_template_id_10f71c00_scoped_true_staticRenderFns = []
|
|
|
15900
15900
|
},
|
|
15901
15901
|
watch: {
|
|
15902
15902
|
filterText(val) {
|
|
15903
|
-
|
|
15904
|
-
this.$emit('loadALL', val);
|
|
15905
|
-
} else {
|
|
15906
|
-
this.$refs.elTree.filter(val);
|
|
15907
|
-
}
|
|
15903
|
+
this.$refs.elTree.filter(val);
|
|
15908
15904
|
},
|
|
15909
15905
|
defaultCheckedKeys(val) {
|
|
15910
15906
|
this.$refs.elTree.setCheckedKeys(val);
|
|
@@ -15997,8 +15993,8 @@ var mainvue_type_template_id_10f71c00_scoped_true_staticRenderFns = []
|
|
|
15997
15993
|
});
|
|
15998
15994
|
// CONCATENATED MODULE: ./packages/Tree/src/main.vue?vue&type=script&lang=js&
|
|
15999
15995
|
/* harmony default export */ var packages_Tree_src_mainvue_type_script_lang_js_ = (Tree_src_mainvue_type_script_lang_js_);
|
|
16000
|
-
// EXTERNAL MODULE: ./packages/Tree/src/main.vue?vue&type=style&index=0&id=
|
|
16001
|
-
var
|
|
15996
|
+
// EXTERNAL MODULE: ./packages/Tree/src/main.vue?vue&type=style&index=0&id=5731e345&prod&lang=scss&scoped=true&
|
|
15997
|
+
var mainvue_type_style_index_0_id_5731e345_prod_lang_scss_scoped_true_ = __webpack_require__("48f7");
|
|
16002
15998
|
|
|
16003
15999
|
// CONCATENATED MODULE: ./packages/Tree/src/main.vue
|
|
16004
16000
|
|
|
@@ -16011,11 +16007,11 @@ var mainvue_type_style_index_0_id_10f71c00_prod_lang_scss_scoped_true_ = __webpa
|
|
|
16011
16007
|
|
|
16012
16008
|
var Tree_src_main_component = normalizeComponent(
|
|
16013
16009
|
packages_Tree_src_mainvue_type_script_lang_js_,
|
|
16014
|
-
|
|
16015
|
-
|
|
16010
|
+
mainvue_type_template_id_5731e345_scoped_true_render,
|
|
16011
|
+
mainvue_type_template_id_5731e345_scoped_true_staticRenderFns,
|
|
16016
16012
|
false,
|
|
16017
16013
|
null,
|
|
16018
|
-
"
|
|
16014
|
+
"5731e345",
|
|
16019
16015
|
null
|
|
16020
16016
|
|
|
16021
16017
|
)
|
|
@@ -22507,8 +22503,8 @@ PostSelector_src_main.install = function (Vue) {
|
|
|
22507
22503
|
Vue.component(PostSelector_src_main.name, PostSelector_src_main);
|
|
22508
22504
|
};
|
|
22509
22505
|
/* harmony default export */ var PostSelector = (PostSelector_src_main);
|
|
22510
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/DimensionSelector/src/main.vue?vue&type=template&id=
|
|
22511
|
-
var
|
|
22506
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/DimensionSelector/src/main.vue?vue&type=template&id=10681225&scoped=true&
|
|
22507
|
+
var mainvue_type_template_id_10681225_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.permission !== 'n')?_c('div',{class:[
|
|
22512
22508
|
'inputs',
|
|
22513
22509
|
_vm.formInputsDisplay == 'block'
|
|
22514
22510
|
? 'ht-form-inputs__block'
|
|
@@ -22523,10 +22519,10 @@ var mainvue_type_template_id_8015cf1e_scoped_true_render = function () {var _vm=
|
|
|
22523
22519
|
return [_c('ht-icon',{staticClass:"follow-theme-color",staticStyle:{"margin-left":"15px","width":"36px","height":"36px"},attrs:{"name":"demension"}}),_c('div',{staticClass:"selector-item__detail"},[_c('div',{staticClass:"selector-detail__name"},[_c('label',[_vm._v(_vm._s(item[_vm.selectLabel]))]),_c('span',[_vm._v("("+_vm._s(item['code'])+")")])])])]}},{key:"selected",fn:function(ref){
|
|
22524
22520
|
var select = ref.select;
|
|
22525
22521
|
return [_c('ht-icon',{staticClass:"follow-theme-color",staticStyle:{"margin-left":"15px","width":"36px","height":"36px"},attrs:{"name":"demension"}}),_c('p',{staticClass:"selector-selected__label",attrs:{"title":((select[_vm.selectLabel]) + "(" + (select['code']) + ")")}},[_vm._v("\n "+_vm._s(((select[_vm.selectLabel]) + "(" + (select['code']) + ")"))+"\n ")])]}}],null,false,3344182147),model:{value:(_vm.demensions),callback:function ($$v) {_vm.demensions=$$v},expression:"demensions"}})],1),_c('div',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"type":"primary","size":"small"},on:{"click":_vm.handleDialogSure}},[_vm._v("\n 确 定\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.handleDialogCancel}},[_vm._v("取 消")])],1)])],1):_vm._e()}
|
|
22526
|
-
var
|
|
22522
|
+
var mainvue_type_template_id_10681225_scoped_true_staticRenderFns = []
|
|
22527
22523
|
|
|
22528
22524
|
|
|
22529
|
-
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=template&id=
|
|
22525
|
+
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=template&id=10681225&scoped=true&
|
|
22530
22526
|
|
|
22531
22527
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/DimensionSelector/src/main.vue?vue&type=script&lang=js&
|
|
22532
22528
|
//
|
|
@@ -22785,8 +22781,6 @@ var mainvue_type_template_id_8015cf1e_scoped_true_staticRenderFns = []
|
|
|
22785
22781
|
if (this.config.hasOwnProperty('demName')) {
|
|
22786
22782
|
utils["a" /* default */].setValueByConfigKey(this, this.config, 'demName', demNameAry.join(','));
|
|
22787
22783
|
}
|
|
22788
|
-
} else {
|
|
22789
|
-
this.$emit('change', newVal);
|
|
22790
22784
|
}
|
|
22791
22785
|
// 通过valueChange事件发布值变更消息
|
|
22792
22786
|
this.$emit('valueChange', ary.join(','), newVal);
|
|
@@ -22916,8 +22910,8 @@ var mainvue_type_template_id_8015cf1e_scoped_true_staticRenderFns = []
|
|
|
22916
22910
|
});
|
|
22917
22911
|
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=script&lang=js&
|
|
22918
22912
|
/* harmony default export */ var packages_DimensionSelector_src_mainvue_type_script_lang_js_ = (DimensionSelector_src_mainvue_type_script_lang_js_);
|
|
22919
|
-
// EXTERNAL MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=style&index=0&id=
|
|
22920
|
-
var
|
|
22913
|
+
// EXTERNAL MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=style&index=0&id=10681225&prod&lang=scss&scoped=true&
|
|
22914
|
+
var mainvue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true_ = __webpack_require__("c33b");
|
|
22921
22915
|
|
|
22922
22916
|
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue
|
|
22923
22917
|
|
|
@@ -22930,11 +22924,11 @@ var mainvue_type_style_index_0_id_8015cf1e_prod_lang_scss_scoped_true_ = __webpa
|
|
|
22930
22924
|
|
|
22931
22925
|
var DimensionSelector_src_main_component = normalizeComponent(
|
|
22932
22926
|
packages_DimensionSelector_src_mainvue_type_script_lang_js_,
|
|
22933
|
-
|
|
22934
|
-
|
|
22927
|
+
mainvue_type_template_id_10681225_scoped_true_render,
|
|
22928
|
+
mainvue_type_template_id_10681225_scoped_true_staticRenderFns,
|
|
22935
22929
|
false,
|
|
22936
22930
|
null,
|
|
22937
|
-
"
|
|
22931
|
+
"10681225",
|
|
22938
22932
|
null
|
|
22939
22933
|
|
|
22940
22934
|
)
|
|
@@ -23562,8 +23556,8 @@ Dialog_src_main.install = function (Vue) {
|
|
|
23562
23556
|
Vue.component(Dialog_src_main.name, Dialog_src_main);
|
|
23563
23557
|
};
|
|
23564
23558
|
/* harmony default export */ var Dialog = (Dialog_src_main);
|
|
23565
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/main.vue?vue&type=template&id=
|
|
23566
|
-
var
|
|
23559
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/main.vue?vue&type=template&id=0b5eb5e6&scoped=true&
|
|
23560
|
+
var mainvue_type_template_id_0b5eb5e6_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"inputs"},[_c('el-tooltip',{attrs:{"placement":_vm.tooltipplacement || _vm.defualtTooltipplacement,"disabled":_vm.inputWriteable && _vm.errors && !_vm.errors.has('custom-form.' + _vm.inputName)}},[(_vm.errors && _vm.errors.first)?_c('div',{attrs:{"slot":"content"},slot:"content"},[_vm._v("\n "+_vm._s(_vm.errors.first('custom-form.' + _vm.inputName))+"\n ")]):_vm._e(),(_vm.inputWriteable)?_c('div',{staticClass:"el-select",class:{ 'has-value': _vm.value },staticStyle:{"width":"100%"}},[_c('div',{ref:"tagSpans",staticClass:"el-select__tags",style:({ width: 'calc(100% - 10px - ' + _vm.inputSuffixWidth + 'px)' }),on:{"click":_vm.showEditInput}},[_c('span',{staticClass:"tag-wrap"},_vm._l((_vm.inputVal),function(item,index){return _c('span',{key:item.value,staticClass:"el-tag el-tag--info el-tag--small",on:{"click":_vm.showEditInput}},[_c('span',{staticClass:"el-select__tags-text"},[_vm._v(_vm._s(item.value))]),_c('i',{staticClass:"el-tag__close el-icon-close",on:{"click":function($event){$event.stopPropagation();return _vm.removeSelectOrg(index)}}})])}),0)]),_c('div',{staticClass:"el-input el-input--suffix"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.inputVal),expression:"inputVal"},{name:"validate",rawName:"v-validate",value:(_vm.inputValidate),expression:"inputValidate"}],staticClass:"el-input__inner",style:({ height: _vm.inputSuffixHeight + 'px' }),attrs:{"type":"text","readonly":"readonly","name":_vm.inputName,"autocomplete":"off","placeholder":_vm.placeholder},domProps:{"value":(_vm.inputVal)},on:{"click":_vm.showEditInput,"input":function($event){if($event.target.composing){ return; }_vm.inputVal=$event.target.value}}}),(_vm.isAllowCustom && _vm.isEditInputShow)?_c('el-input',{ref:"editInputRef",staticClass:"edit-input",style:({
|
|
23567
23561
|
right: _vm.inputSuffixWidth - 1 + 'px',
|
|
23568
23562
|
width: 'auto!important',
|
|
23569
23563
|
height: _vm.inputSuffixHeight - 4 + 'px',
|
|
@@ -23572,11 +23566,11 @@ var mainvue_type_template_id_2bda41f4_scoped_true_render = function () {var _vm=
|
|
|
23572
23566
|
: 'el-input__icon icon-duihuakuang',style:({
|
|
23573
23567
|
fontSize: '17px',
|
|
23574
23568
|
lineHeight: _vm.inputSuffixHeight + 'px',
|
|
23575
|
-
})}),_vm._v("\n "+_vm._s(_vm.custdialog.name)+"\n ")])],1)])],1)]):_vm._e()]),(!_vm.inputWriteable)?_c('span',
|
|
23576
|
-
var
|
|
23569
|
+
})}),_vm._v("\n "+_vm._s(_vm.custdialog.name)+"\n ")])],1)])],1)]):_vm._e()]),(!_vm.inputWriteable)?_c('span',_vm._l((_vm.inputVal),function(item){return _c('span',{key:item.value,staticClass:"el-tag el-tag--info el-tag--small",staticStyle:{"margin-right":"8px"},on:{"click":function($event){$event.stopPropagation();}}},[_c('span',{staticClass:"el-select__tags-text"},[_vm._v(_vm._s(item.value))])])}),0):_vm._e(),(_vm.isMobile)?_c('custom-mobile-dialog',{ref:"customMobileDialogRef",attrs:{"model-name":_vm.modelName,"custdialog":_vm.custdialog,"sub-index":_vm.subIndex,"sun-index":_vm.sunIndex,"sub-path":_vm.subPath,"current-sub-data":_vm.currentSubData},on:{"calacInputSuffixHeight":_vm.calacInputSuffixHeight,"updateInput":_vm.updateInput}}):_c('custom-dialog',{ref:"customDialogRef",attrs:{"model-name":_vm.modelName,"custdialog":_vm.custdialog,"sub-index":_vm.subIndex,"sun-index":_vm.sunIndex,"sub-path":_vm.subPath,"current-sub-data":_vm.currentSubData,"is-read-only":!_vm.inputWriteable},on:{"calacInputSuffixHeight":_vm.calacInputSuffixHeight,"updateInput":_vm.updateInput},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v},expression:"value"}}),_c('span',{staticStyle:{"display":"none"}},[_vm._t("labeldesc",[_vm._v(_vm._s(_vm.inputName))])],2),_c('ht-field-tail',{attrs:{"field-name":_vm.inputName,"input-value":_vm.value}})],1)}
|
|
23570
|
+
var mainvue_type_template_id_0b5eb5e6_scoped_true_staticRenderFns = []
|
|
23577
23571
|
|
|
23578
23572
|
|
|
23579
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=
|
|
23573
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=0b5eb5e6&scoped=true&
|
|
23580
23574
|
|
|
23581
23575
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.js
|
|
23582
23576
|
|
|
@@ -23698,35 +23692,19 @@ var mainvue_type_template_id_2bda41f4_scoped_true_staticRenderFns = []
|
|
|
23698
23692
|
}
|
|
23699
23693
|
}
|
|
23700
23694
|
});
|
|
23701
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=
|
|
23702
|
-
var
|
|
23703
|
-
|
|
23704
|
-
|
|
23705
|
-
|
|
23706
|
-
|
|
23707
|
-
|
|
23708
|
-
|
|
23709
|
-
|
|
23710
|
-
|
|
23711
|
-
|
|
23712
|
-
|
|
23713
|
-
|
|
23714
|
-
}},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":{
|
|
23715
|
-
name: '请选择',
|
|
23716
|
-
icon: '',
|
|
23717
|
-
custDialog: {
|
|
23718
|
-
selectNum: 1,
|
|
23719
|
-
conditions: [],
|
|
23720
|
-
mappingConf: [],
|
|
23721
|
-
custQueryJson: [],
|
|
23722
|
-
alias: condition.config.alias,
|
|
23723
|
-
type: 'custDialog',
|
|
23724
|
-
},
|
|
23725
|
-
}},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)}
|
|
23726
|
-
var customDialogvue_type_template_id_df767308_scoped_true_staticRenderFns = []
|
|
23727
|
-
|
|
23728
|
-
|
|
23729
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=df767308&scoped=true&
|
|
23695
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=3a57945e&scoped=true&
|
|
23696
|
+
var customDialogvue_type_template_id_3a57945e_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-dialog',{attrs:{"visible":_vm.customDialogShowList,"title":_vm.customDialog.name,"close-on-click-modal":false,"before-close":_vm.dialogCancel,"append-to-body":"","top":"6vh","width":"60%"},on:{"update:visible":function($event){_vm.customDialogShowList=$event},"opened":_vm.afterOpen}},[_c('el-container',{staticStyle:{"overflow":"auto"},style:(_vm.style)},[(_vm.customDialog.style == 2)?_c('el-aside',{directives:[{name:"show",rawName:"v-show",value:(_vm.treeShow),expression:"treeShow"}],staticStyle:{"width":"23%"}},[_c('el-card',[_c('div',{staticClass:"clearfix",attrs:{"slot":"header"},slot:"header"},[_c('span',{staticStyle:{"font-size":"16px"}},[_vm._v(_vm._s(_vm.leftTreeTitle))])]),_c('el-tree',{ref:"combinationTree",attrs:{"data":_vm.combinationTreeData,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","check-on-click-node":true,"lazy":"","load":_vm.loadTree},on:{"node-click":_vm.combiTreeClick}})],1)],1):_vm._e(),(_vm.customDialog.style == 2)?_c('el-divider',{attrs:{"direction":"vertical"}}):_vm._e(),_c('el-container',[(_vm.querysShow)?_c('el-header',{staticClass:"middle-header"},[_vm._l((_vm.conditionBind),function(condition,index){return _c('div',{key:index,staticClass:"search-item"},[_c('p',{staticStyle:{"font-size":"14px"}},[_vm._v(_vm._s(condition.comment)+":")]),(condition.controllerType == '1')?_c('div',[_c('el-input',{staticStyle:{"width":"180px","padding":"10px 0","margin":"0 5px 0 5px"},attrs:{"size":"small","clearable":"","placeholder":_vm.placeholders[index],"prefix-icon":"el-icon-search"},nativeOn:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.searchEnterFun($event)}},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '2')?_c('div',{staticStyle:{"margin-right":"10px"}},_vm._l((condition.config.options),function(itemR,$index1){return _c('el-radio',{key:$index1,attrs:{"label":itemR.key},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}},[_vm._v("\n "+_vm._s(itemR.value)+"\n ")])}),1):_vm._e(),(condition.controllerType == '3')?_c('div',{staticStyle:{"margin-right":"10px"}},[(condition.config.choiceType == 'static')?_c('ht-select',{attrs:{"placeholder":_vm.quickSearch,"options":condition.config.options},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}}):_c('eip-select-dia',{attrs:{"placeholder":_vm.quickSearch,"ganged":{
|
|
23697
|
+
alias: condition.config.customQuery.alias,
|
|
23698
|
+
valueBind: condition.config.customQuery.valueBind,
|
|
23699
|
+
noInit: '',
|
|
23700
|
+
labelBind: condition.config.customQuery.labelBind,
|
|
23701
|
+
gangedBind: '{}',
|
|
23702
|
+
bind: condition.config.bind,
|
|
23703
|
+
},"multiple":false,"filterable":false,"allow-create":false,"selectlist":[],"query-params":_vm.queryParams},model:{value:(_vm.queryParams[condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams, condition.field, $$v)},expression:"queryParams[condition.field]"}})],1):_vm._e(),(condition.controllerType == '4')?_c('div',{staticStyle:{"margin-right":"10px"}},[_c('eip-tag',{attrs:{"tag-key":condition.config.tag,"placeholder":_vm.quickSearch,"filterable":condition.config.filterable,"expand":condition.config.expand},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e()])}),(_vm.conditionBind && _vm.conditionBind.length > 0)?_c('div',{staticClass:"btn-wrap"},[_c('el-button',{staticStyle:{"margin-left":"20px"},attrs:{"size":"small","type":"primary","icon":"el-icon-search"},on:{"click":function($event){return _vm.search(true)}}},[_vm._v("\n 查询\n ")]),_c('el-button',{attrs:{"size":"small","icon":"el-icon-refresh"},on:{"click":_vm.reset}},[_vm._v("\n 重置\n ")])],1):_vm._e()],2):_vm._e(),_c('el-main',{ref:"customTableRef",staticClass:"custom-dialog_main"},[_c('el-table',{ref:"orgTable",staticClass:"org-table",staticStyle:{"width":"100%"},attrs:{"data":_vm.dialogData,"stripe":"","border":"","size":"medium","height":_vm.tableHeight},on:{"row-click":_vm.orgRowClick,"selection-change":_vm.orgTableSelection,"select":_vm.onTableSelect,"select-all":_vm.selectAll}},[(_vm.customDialog.selectNum != 1)?_c('el-table-column',{attrs:{"type":"selection","align":"center","width":"55"}}):_vm._e(),(_vm.customDialog.selectNum === 1)?_c('el-table-column',{attrs:{"align":"center","width":"55"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-radio',{staticClass:"textRadio",attrs:{"label":scope.$index},on:{"selection-change":_vm.orgTableSelection},model:{value:(_vm.tableRadioVal),callback:function ($$v) {_vm.tableRadioVal=$$v},expression:"tableRadioVal"}},[_vm._v("\n \n ")])]}}],null,false,918943478)}):_vm._e(),_c('el-table-column',{attrs:{"type":"index","width":"50","align":"center","label":"序号"}}),_vm._l((_vm.displayfield),function(field){return _c('el-table-column',{key:field.field,staticStyle:{"width":"100%"},attrs:{"show-overflow-tooltip":true,"prop":field.field,"label":field.comment}})})],2)],1),_c('el-footer',[(_vm.customDialog.needPage)?_c('el-row',{staticStyle:{"padding-top":"15px","justify-content":"space-between"},attrs:{"type":"flex","justify":"end"}},[(_vm.customDialog.style == 2)?_c('el-button',{attrs:{"icon":_vm.toggleBtn,"size":"mini","type":"default"},on:{"click":_vm.toggleTree}}):_vm._e(),_c('el-pagination',{attrs:{"small":"","current-page":_vm.pagination.page,"page-sizes":[10, 20, 50, 100],"page-size":_vm.pagination.pageSize,"layout":"total, sizes, prev, pager, next, jumper","total":_vm.total},on:{"size-change":_vm.handleSizeChange,"current-change":_vm.handleCurrentChange}})],1):_vm._e()],1)],1)],1),_c('span',{staticClass:"dialog-footer",staticStyle:{"text-align":"center"},attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.dialogConfirm}},[_vm._v("\n 确认\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.dialogCancel}},[_vm._v("取 消")])],1)],1),_c('el-dialog',{attrs:{"title":"动态传入参数查询","width":"500px","visible":_vm.dialogVisible,"before-close":_vm.handleClose,"close-on-click-modal":false,"top":"6vh"},on:{"update:visible":function($event){_vm.dialogVisible=$event}}},[_c('table',{staticClass:"form-table",staticStyle:{"margin-left":"20px","width":"90%"},attrs:{"cellspacing":"0","cellpadding":"0","border":"0"}},_vm._l((_vm.conditionfieldTree),function(item,$index){return _c('tbody',{key:$index},[(item.defaultType == '4')?_c('tr',[_c('th',{attrs:{"width":"130px"}},[_vm._v(_vm._s(item.comment)+":")]),_c('td',[(item.type != 'date')?_c('ht-input',{staticStyle:{"width":"100%"},attrs:{"type":"text","placeholder":'请输入' + item.comment,"autocomplete":"off"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e(),(item.type == 'date')?_c('ht-date',{staticStyle:{"width":"100%"},attrs:{"placeholder":'请输入' + item.comment,"format":"yyyy-MM-dd"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e()],1)]):_vm._e()])}),0),_c('div',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"type":"primary"},on:{"click":_vm.handleSave}},[_vm._v("确 定")]),_c('el-button',{on:{"click":_vm.handleClose}},[_vm._v("取 消")])],1)]),_c('el-dialog',{attrs:{"visible":_vm.customDialogShowTree,"title":_vm.customDialog.name,"close-on-click-modal":false,"before-close":_vm.dialogCancelTree,"append-to-body":"","top":"6vh","width":"500px"},on:{"update:visible":function($event){_vm.customDialogShowTree=$event}}},[_c('el-container',{staticStyle:{"overflow":"auto"},style:(_vm.style)},[_c('el-tree',{ref:"tree",staticStyle:{"width":"100%"},attrs:{"data":_vm.props1,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","show-checkbox":_vm.customDialog.selectNum === -1,"check-on-click-node":true,"check-strictly":false,"lazy":"","load":_vm.loadTree,"default-expanded-keys":_vm.defaultExpandedKeys},on:{"node-click":_vm.treeClick,"check-change":_vm.getChecked}})],1),_c('span',{staticClass:"dialog-footer",staticStyle:{"text-align":"center"},attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.dialogTreeConfirm}},[_vm._v("\n 确认\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.dialogCancelTree}},[_vm._v("取 消")])],1)],1)],1)}
|
|
23704
|
+
var customDialogvue_type_template_id_3a57945e_scoped_true_staticRenderFns = []
|
|
23705
|
+
|
|
23706
|
+
|
|
23707
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=3a57945e&scoped=true&
|
|
23730
23708
|
|
|
23731
23709
|
// EXTERNAL MODULE: external "jquery"
|
|
23732
23710
|
var external_jquery_ = __webpack_require__("c5e1");
|
|
@@ -24035,121 +24013,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24035
24013
|
//
|
|
24036
24014
|
//
|
|
24037
24015
|
//
|
|
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
|
-
//
|
|
24145
|
-
//
|
|
24146
|
-
//
|
|
24147
|
-
//
|
|
24148
|
-
//
|
|
24149
|
-
//
|
|
24150
|
-
//
|
|
24151
|
-
//
|
|
24152
|
-
//
|
|
24153
24016
|
|
|
24154
24017
|
|
|
24155
24018
|
|
|
@@ -24177,16 +24040,10 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24177
24040
|
isReadOnly: {
|
|
24178
24041
|
type: Boolean,
|
|
24179
24042
|
default: false
|
|
24180
|
-
}
|
|
24181
|
-
dialogConfig: Object,
|
|
24182
|
-
dialogType: String
|
|
24043
|
+
}
|
|
24183
24044
|
},
|
|
24184
24045
|
data() {
|
|
24185
24046
|
return {
|
|
24186
|
-
startDate: '',
|
|
24187
|
-
// 日期控件
|
|
24188
|
-
endDate: '',
|
|
24189
|
-
// 日期控件
|
|
24190
24047
|
tableHeight: 350,
|
|
24191
24048
|
isEditInputShow: false,
|
|
24192
24049
|
customValue: '',
|
|
@@ -24267,18 +24124,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24267
24124
|
return [this.props1[0][this.nodeKey]];
|
|
24268
24125
|
}
|
|
24269
24126
|
return [];
|
|
24270
|
-
},
|
|
24271
|
-
jumpParamKey() {
|
|
24272
|
-
return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
|
|
24273
|
-
},
|
|
24274
|
-
// 是否保存成跳转url参数
|
|
24275
|
-
isHaveJumpUrl() {
|
|
24276
|
-
return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
24277
|
-
},
|
|
24278
|
-
sortDisplayfield() {
|
|
24279
|
-
return this.displayfield.sort((a, b) => {
|
|
24280
|
-
return a.sort > b.sort ? 1 : -1;
|
|
24281
|
-
});
|
|
24282
24127
|
}
|
|
24283
24128
|
},
|
|
24284
24129
|
watch: {
|
|
@@ -24314,151 +24159,131 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24314
24159
|
});
|
|
24315
24160
|
},
|
|
24316
24161
|
methods: {
|
|
24317
|
-
// 获取已选择的选择器数据id
|
|
24318
|
-
getSelectId(data) {
|
|
24319
|
-
if (!data || !data.length) {
|
|
24320
|
-
return '';
|
|
24321
|
-
}
|
|
24322
|
-
let ids = [];
|
|
24323
|
-
data.forEach(item => {
|
|
24324
|
-
ids.push(item.id);
|
|
24325
|
-
});
|
|
24326
|
-
return ids.join(',');
|
|
24327
|
-
},
|
|
24328
24162
|
showDialog() {
|
|
24329
24163
|
let isMounted = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
24164
|
+
const this_ = this;
|
|
24330
24165
|
this.fixedParams = {};
|
|
24331
|
-
// 如果已存在配置信息就不去请求配置信息 直接初始化数据
|
|
24332
|
-
if (this.dialogConfig) {
|
|
24333
|
-
this.initDialog(this.dialogConfig, isMounted);
|
|
24334
|
-
return;
|
|
24335
|
-
}
|
|
24336
24166
|
var alias = this.custdialog.custDialog.alias;
|
|
24337
24167
|
this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
|
|
24338
|
-
|
|
24339
|
-
|
|
24340
|
-
|
|
24341
|
-
initDialog(customDialog, isMounted) {
|
|
24342
|
-
let alias = this.custdialog.custDialog.alias;
|
|
24343
|
-
const this_ = this;
|
|
24344
|
-
if (!customDialog || !customDialog.alias) {
|
|
24345
|
-
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
24346
|
-
return;
|
|
24347
|
-
}
|
|
24348
|
-
if (customDialog.style == 1) {
|
|
24349
|
-
var displaylist = JSON.parse(customDialog.displayfield);
|
|
24350
|
-
this_.nodeKey = displaylist.id;
|
|
24351
|
-
}
|
|
24352
|
-
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
24353
|
-
let obj = {};
|
|
24354
|
-
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
24355
|
-
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
24356
|
-
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
24357
|
-
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
24358
|
-
if (exp) {
|
|
24359
|
-
const params = JSON.parse(exp);
|
|
24360
|
-
if (params.pageBean) {
|
|
24361
|
-
this.pagination = {
|
|
24362
|
-
...params.pageBean
|
|
24363
|
-
};
|
|
24364
|
-
}
|
|
24168
|
+
if (!customDialog || !customDialog.alias) {
|
|
24169
|
+
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
24170
|
+
return;
|
|
24365
24171
|
}
|
|
24366
|
-
|
|
24367
|
-
|
|
24368
|
-
|
|
24369
|
-
|
|
24370
|
-
|
|
24371
|
-
|
|
24372
|
-
|
|
24373
|
-
|
|
24374
|
-
|
|
24375
|
-
|
|
24376
|
-
|
|
24377
|
-
|
|
24378
|
-
|
|
24379
|
-
|
|
24380
|
-
|
|
24381
|
-
|
|
24382
|
-
|
|
24383
|
-
this_.executeScriptResult = res && res.value;
|
|
24384
|
-
});
|
|
24385
|
-
}
|
|
24386
|
-
});
|
|
24387
|
-
}
|
|
24388
|
-
//判断对话框查询是否有条件
|
|
24389
|
-
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
24390
|
-
this_.quickSearch = ''; //填写提示 placeholder
|
|
24391
|
-
this_.conditionBind = [];
|
|
24392
|
-
let queryParams = [];
|
|
24393
|
-
let placeholders = [];
|
|
24394
|
-
if (userInputList.length > 0) {
|
|
24395
|
-
userInputList.forEach(ele => {
|
|
24396
|
-
var obj = {};
|
|
24397
|
-
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
24398
|
-
if (ele.defaultType == '1') {
|
|
24399
|
-
obj[ele.field] = '';
|
|
24400
|
-
queryParams.push(obj);
|
|
24401
|
-
// queryParams[ele.field] = "";
|
|
24402
|
-
this_.conditionBind.push(ele);
|
|
24403
|
-
placeholders.push('请输入' + ele.comment);
|
|
24404
|
-
}
|
|
24405
|
-
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
24406
|
-
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
24172
|
+
if (customDialog.style == 1) {
|
|
24173
|
+
var displaylist = JSON.parse(customDialog.displayfield);
|
|
24174
|
+
this_.nodeKey = displaylist.id;
|
|
24175
|
+
}
|
|
24176
|
+
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
24177
|
+
let obj = {};
|
|
24178
|
+
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
24179
|
+
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
24180
|
+
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
24181
|
+
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
24182
|
+
if (exp) {
|
|
24183
|
+
const params = JSON.parse(exp);
|
|
24184
|
+
if (params.pageBean) {
|
|
24185
|
+
this.pagination = {
|
|
24186
|
+
...params.pageBean
|
|
24187
|
+
};
|
|
24188
|
+
}
|
|
24407
24189
|
}
|
|
24408
|
-
}
|
|
24409
|
-
|
|
24410
|
-
|
|
24411
|
-
|
|
24412
|
-
|
|
24413
|
-
|
|
24414
|
-
|
|
24415
|
-
|
|
24416
|
-
|
|
24417
|
-
|
|
24418
|
-
|
|
24419
|
-
|
|
24420
|
-
|
|
24421
|
-
|
|
24422
|
-
|
|
24423
|
-
|
|
24424
|
-
|
|
24425
|
-
|
|
24426
|
-
|
|
24190
|
+
}
|
|
24191
|
+
//对话框按表单字段查询(参数传入的)
|
|
24192
|
+
let bindList = this_.custdialog.custDialog.conditions;
|
|
24193
|
+
this_.param = []; //绑定的表单字段
|
|
24194
|
+
if (bindList.length > 0) {
|
|
24195
|
+
bindList.forEach(ele => {
|
|
24196
|
+
//绑定表单字段
|
|
24197
|
+
if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
|
|
24198
|
+
let obj = {};
|
|
24199
|
+
obj.field = ele.field;
|
|
24200
|
+
obj.bind = ele.bind;
|
|
24201
|
+
obj.bindType = ele.bindType;
|
|
24202
|
+
this_.param.push(obj);
|
|
24203
|
+
}
|
|
24204
|
+
//取值对象为脚本时获取value
|
|
24205
|
+
if (ele.bindType === 3) {
|
|
24206
|
+
this_.$requestConfig.executeScript(ele.bind).then(res => {
|
|
24207
|
+
this_.executeScriptResult = res && res.value;
|
|
24208
|
+
});
|
|
24209
|
+
}
|
|
24210
|
+
});
|
|
24211
|
+
}
|
|
24212
|
+
//判断对话框查询是否有条件
|
|
24213
|
+
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
24214
|
+
this_.quickSearch = ''; //填写提示 placeholder
|
|
24215
|
+
this_.conditionBind = [];
|
|
24216
|
+
let queryParams = [];
|
|
24217
|
+
let placeholders = [];
|
|
24218
|
+
if (userInputList.length > 0) {
|
|
24219
|
+
userInputList.forEach(ele => {
|
|
24220
|
+
var obj = {};
|
|
24221
|
+
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
24222
|
+
if (ele.defaultType == '1') {
|
|
24223
|
+
obj[ele.field] = '';
|
|
24224
|
+
queryParams.push(obj);
|
|
24225
|
+
// queryParams[ele.field] = "";
|
|
24226
|
+
this_.conditionBind.push(ele);
|
|
24227
|
+
placeholders.push('请输入' + ele.comment);
|
|
24228
|
+
}
|
|
24229
|
+
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
24230
|
+
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
24231
|
+
}
|
|
24232
|
+
});
|
|
24233
|
+
this.$set(this, 'queryParams', queryParams);
|
|
24234
|
+
this.$set(this, 'placeholders', placeholders);
|
|
24235
|
+
}
|
|
24236
|
+
//判断是否显示条件查询输入框
|
|
24237
|
+
if (this_.quickSearch != '') {
|
|
24238
|
+
this_.querysShow = true;
|
|
24239
|
+
} else {
|
|
24240
|
+
this_.querysShow = true;
|
|
24241
|
+
}
|
|
24242
|
+
this_.quickSearch = '请输入' + this.quickSearch + '查询';
|
|
24243
|
+
this_.style = 'height:' + customDialog.height + 'px';
|
|
24244
|
+
if (window.screen.height && window.screen.height <= 900) {
|
|
24245
|
+
this.style = 'height:440px';
|
|
24246
|
+
}
|
|
24247
|
+
if (customDialog.style == 0 || customDialog.style == 2) {
|
|
24248
|
+
//列表
|
|
24249
|
+
setTimeout(() => {
|
|
24250
|
+
this_.customDialogShow({
|
|
24251
|
+
alias: alias,
|
|
24252
|
+
customDialog: customDialog
|
|
24253
|
+
}, isMounted);
|
|
24254
|
+
}, 100);
|
|
24255
|
+
} else if (customDialog.style == 1) {
|
|
24256
|
+
//树形
|
|
24257
|
+
this_.pageParam = {
|
|
24427
24258
|
alias: alias,
|
|
24428
24259
|
customDialog: customDialog
|
|
24429
|
-
}
|
|
24430
|
-
|
|
24431
|
-
|
|
24432
|
-
|
|
24433
|
-
|
|
24434
|
-
|
|
24435
|
-
|
|
24436
|
-
|
|
24437
|
-
|
|
24438
|
-
|
|
24439
|
-
|
|
24440
|
-
|
|
24441
|
-
|
|
24442
|
-
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
24443
|
-
if (this_.conditionfieldTree.length > 0) {
|
|
24444
|
-
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
24445
|
-
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
24446
|
-
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
24447
|
-
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
24260
|
+
};
|
|
24261
|
+
this_.customDialog = customDialog;
|
|
24262
|
+
let param = {};
|
|
24263
|
+
this_.conditionfieldTree = [];
|
|
24264
|
+
//判断是否存在条件
|
|
24265
|
+
if (customDialog.conditionfield) {
|
|
24266
|
+
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
24267
|
+
if (this_.conditionfieldTree.length > 0) {
|
|
24268
|
+
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
24269
|
+
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
24270
|
+
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
24271
|
+
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
24272
|
+
}
|
|
24448
24273
|
}
|
|
24449
24274
|
}
|
|
24450
24275
|
}
|
|
24451
|
-
|
|
24452
|
-
|
|
24453
|
-
|
|
24454
|
-
|
|
24455
|
-
|
|
24456
|
-
|
|
24457
|
-
|
|
24458
|
-
|
|
24276
|
+
//有动态传入的字段
|
|
24277
|
+
if (!isMounted) {
|
|
24278
|
+
if (JSON.stringify(param) != '{}') {
|
|
24279
|
+
this_.dialogVisible = true;
|
|
24280
|
+
} else {
|
|
24281
|
+
//无动态传入的字段
|
|
24282
|
+
this_.customDialogTreeShow(this_.pageParam);
|
|
24283
|
+
}
|
|
24459
24284
|
}
|
|
24460
24285
|
}
|
|
24461
|
-
}
|
|
24286
|
+
});
|
|
24462
24287
|
},
|
|
24463
24288
|
initTableHeight() {
|
|
24464
24289
|
this.$nextTick(() => {
|
|
@@ -24587,13 +24412,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24587
24412
|
}
|
|
24588
24413
|
// 添加用户id 岗位id 组织id
|
|
24589
24414
|
try {
|
|
24590
|
-
if (this.$requestConfig.getUserId
|
|
24415
|
+
if (this.$requestConfig.getUserId()) {
|
|
24591
24416
|
ctx.userId = this.$requestConfig.getUserId();
|
|
24592
24417
|
}
|
|
24593
|
-
if (this.$requestConfig.getOrgId
|
|
24418
|
+
if (this.$requestConfig.getOrgId()) {
|
|
24594
24419
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
24595
24420
|
}
|
|
24596
|
-
if (this.$requestConfig.getPostId
|
|
24421
|
+
if (this.$requestConfig.getPostId()) {
|
|
24597
24422
|
ctx.postId = this.$requestConfig.getPostId();
|
|
24598
24423
|
}
|
|
24599
24424
|
} catch (e) {
|
|
@@ -24678,13 +24503,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24678
24503
|
this.selectOrgs = this.convertComment2Field(str, field);
|
|
24679
24504
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
24680
24505
|
var val = '';
|
|
24681
|
-
str.forEach(
|
|
24682
|
-
|
|
24683
|
-
if (this.jumpParamKey && this.isHaveJumpUrl && (this.modelName == 'data.' + con['target'][0] || this.modelName.includes('item.') && con['target'][0].endsWith(this.modelName.split('.')[1]))) {
|
|
24684
|
-
val += `${item[con.from]}¯${this.jumpParamKey}:${this.selectOrgs[index][this.jumpParamKey]},`;
|
|
24685
|
-
} else {
|
|
24686
|
-
val += item[con.from] + ',';
|
|
24687
|
-
}
|
|
24506
|
+
str.forEach(item => {
|
|
24507
|
+
val += item[con.from] + ',';
|
|
24688
24508
|
});
|
|
24689
24509
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
24690
24510
|
utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
|
|
@@ -24755,36 +24575,19 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24755
24575
|
};
|
|
24756
24576
|
}
|
|
24757
24577
|
//用户输入的
|
|
24758
|
-
let flag = false;
|
|
24759
24578
|
if (this.queryParams.length != 0 && this.queryParams[0] != '') {
|
|
24760
24579
|
this.conditionBind.forEach((item, index) => {
|
|
24761
|
-
// 日期范围特殊处理
|
|
24762
|
-
if (item.dbType == 'date' && item.condition == 'BETWEEN') {
|
|
24763
|
-
if (this.queryParams[index].startDate && !this.queryParams[index].endDate || !this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
24764
|
-
flag = true;
|
|
24765
|
-
this.$message.info('日期范围未填写完整!');
|
|
24766
|
-
return;
|
|
24767
|
-
}
|
|
24768
|
-
if (this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
24769
|
-
this.queryParams[index][item.field] = `${this.queryParams[index].startDate},${this.queryParams[index].endDate}`;
|
|
24770
|
-
} else {
|
|
24771
|
-
this.queryParams[index][item.field] = '';
|
|
24772
|
-
}
|
|
24773
|
-
}
|
|
24774
24580
|
if (this.queryParams[index][item.field]) {
|
|
24775
24581
|
querys.push({
|
|
24776
24582
|
property: item.field,
|
|
24777
24583
|
value: this.queryParams[index][item.field],
|
|
24778
24584
|
group: 'main',
|
|
24779
|
-
operation:
|
|
24585
|
+
operation: 'LIKE',
|
|
24780
24586
|
relation: 'AND'
|
|
24781
24587
|
});
|
|
24782
24588
|
}
|
|
24783
24589
|
});
|
|
24784
24590
|
}
|
|
24785
|
-
if (flag) {
|
|
24786
|
-
return;
|
|
24787
|
-
}
|
|
24788
24591
|
//参数传入的查询拼接
|
|
24789
24592
|
if (this.param) {
|
|
24790
24593
|
this.param.forEach(item => {
|
|
@@ -24823,13 +24626,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24823
24626
|
queryParamMap.total = pageBean.pageBean.total;
|
|
24824
24627
|
// 添加用户id 岗位id 组织id
|
|
24825
24628
|
try {
|
|
24826
|
-
if (this.$requestConfig.getUserId
|
|
24629
|
+
if (this.$requestConfig.getUserId()) {
|
|
24827
24630
|
ctx.userId = this.$requestConfig.getUserId();
|
|
24828
24631
|
}
|
|
24829
|
-
if (this.$requestConfig.getOrgId
|
|
24632
|
+
if (this.$requestConfig.getOrgId()) {
|
|
24830
24633
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
24831
24634
|
}
|
|
24832
|
-
if (this.$requestConfig.getPostId
|
|
24635
|
+
if (this.$requestConfig.getPostId()) {
|
|
24833
24636
|
ctx.postId = this.$requestConfig.getPostId();
|
|
24834
24637
|
}
|
|
24835
24638
|
} catch (e) {
|
|
@@ -24850,14 +24653,12 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24850
24653
|
value: queryParamMap[bindKey] || ctx[bindKey] || ''
|
|
24851
24654
|
};
|
|
24852
24655
|
});
|
|
24853
|
-
param.querys = queryList
|
|
24656
|
+
param.querys = queryList;
|
|
24854
24657
|
if (this.customDialog.needPage) {
|
|
24855
24658
|
param.pageBean = obj;
|
|
24856
24659
|
} else {
|
|
24857
24660
|
param.pageBean.pageSize = -1;
|
|
24858
24661
|
}
|
|
24859
|
-
// 日期格式的 改成数组
|
|
24860
|
-
// this.changeDateFormat(param)
|
|
24861
24662
|
//构造请求的参数
|
|
24862
24663
|
let requestParam = {
|
|
24863
24664
|
pageBean: param,
|
|
@@ -24897,15 +24698,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24897
24698
|
}
|
|
24898
24699
|
this.tableRadioVal = '';
|
|
24899
24700
|
},
|
|
24900
|
-
changeDateFormat(param) {
|
|
24901
|
-
let dateValidate1 = /^\d{4}\-\d{2}\-\d{2}$/;
|
|
24902
|
-
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$/;
|
|
24903
|
-
Object.keys(param).forEach(key => {
|
|
24904
|
-
if (param[key] && typeof param[key] == 'string' && param[key].includes(',') && (dateValidate1.test(param[key].split(',')[0]) || dateValidate2.test(param[key].split(',')[0]))) {
|
|
24905
|
-
param[key] = param[key].split(',');
|
|
24906
|
-
}
|
|
24907
|
-
});
|
|
24908
|
-
},
|
|
24909
24701
|
getSearchValueByKey() {
|
|
24910
24702
|
let queryParamsObj = {};
|
|
24911
24703
|
if (this.queryParams.length > 0) {
|
|
@@ -25131,8 +24923,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25131
24923
|
},
|
|
25132
24924
|
// 同步选择结果
|
|
25133
24925
|
syncInputValue() {
|
|
25134
|
-
// 对话框跳转url需要两个参数 1当前控件绑定的对象参数modelName 2对话框配置中配置的key名称
|
|
25135
|
-
// 同步值时,如果有绑定url跳转参数,值格式为 名称¯跳转key:跳转value
|
|
25136
24926
|
let thisIndex = null; //当前数据所在下标
|
|
25137
24927
|
let parentIndex = null; //父节点所在下标
|
|
25138
24928
|
if (this.$parent.$el) {
|
|
@@ -25206,31 +24996,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25206
24996
|
}
|
|
25207
24997
|
}
|
|
25208
24998
|
}
|
|
25209
|
-
// 如果是查询中使用的对话框
|
|
25210
|
-
if (this.dialogType == 'search') {
|
|
25211
|
-
let returnVal = [];
|
|
25212
|
-
str.forEach(item => {
|
|
25213
|
-
returnVal.push(decodeURIComponent(item[this.modelName]));
|
|
25214
|
-
});
|
|
25215
|
-
this.$emit('updateInput', returnVal.join(','));
|
|
25216
|
-
return;
|
|
25217
|
-
}
|
|
25218
24999
|
const pInst = utils["a" /* default */].getOnlineFormInstance(this);
|
|
25219
25000
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
25220
25001
|
var val = '';
|
|
25221
25002
|
var from = con.from.toLowerCase();
|
|
25222
25003
|
str.forEach(item => {
|
|
25223
|
-
// 如果有绑定url跳转参数 需获取跳转参数的key
|
|
25224
25004
|
if (item) {
|
|
25225
|
-
|
|
25226
|
-
// 需根据key 找到对应 返回数据的返回名称
|
|
25227
|
-
let returnMapKey = returnStr.find(k => {
|
|
25228
|
-
return k.field == this.jumpParamKey;
|
|
25229
|
-
}).comment;
|
|
25230
|
-
val += `${decodeURIComponent(item[from])}¯${this.jumpParamKey}:${item[returnMapKey]},`;
|
|
25231
|
-
} else {
|
|
25232
|
-
val += decodeURIComponent(item[from]) + ',';
|
|
25233
|
-
}
|
|
25005
|
+
val += decodeURIComponent(item[from]) + ',';
|
|
25234
25006
|
}
|
|
25235
25007
|
});
|
|
25236
25008
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
@@ -25249,6 +25021,7 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25249
25021
|
const _val = val.substring(0, val.length - 1);
|
|
25250
25022
|
if (path) {
|
|
25251
25023
|
if (this.modelName && this.modelName.endsWith(path)) {
|
|
25024
|
+
// this.$emit('input', _val)
|
|
25252
25025
|
this.$emit('updateInput', _val);
|
|
25253
25026
|
}
|
|
25254
25027
|
utils["a" /* default */].setValueByPath(pInst, `${pInst.data ? 'data.' : 'model.'}${path}`, _val, thisIndex);
|
|
@@ -25450,209 +25223,77 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25450
25223
|
}
|
|
25451
25224
|
let requestParams = {};
|
|
25452
25225
|
requestParams.requestType = requestType;
|
|
25453
|
-
requestParams.url = url;
|
|
25454
|
-
requestParams.paramsObj = paramsObj;
|
|
25455
|
-
this.$requestConfig.request({
|
|
25456
|
-
url: requestParams.url,
|
|
25457
|
-
method: 'get'
|
|
25458
|
-
}).then(resp => {
|
|
25459
|
-
if (treeDialog.displayfield && treeDialog.resultfield) {
|
|
25460
|
-
let displayField = JSON.parse(treeDialog.displayfield);
|
|
25461
|
-
let resultfield = JSON.parse(treeDialog.resultfield);
|
|
25462
|
-
this.defaultProps.label = displayField.displayName;
|
|
25463
|
-
this.treeList = resp;
|
|
25464
|
-
this.combiTreeDisplayField = displayField;
|
|
25465
|
-
this.combinationTreeData = this.toTreeData(resp, displayField.id, displayField.pid, displayField.displayName, displayField.pvalue ? displayField.pvalue : '0', resultfield);
|
|
25466
|
-
}
|
|
25467
|
-
});
|
|
25468
|
-
});
|
|
25469
|
-
},
|
|
25470
|
-
//打开树形动态参数输入值的对话框
|
|
25471
|
-
handleSave() {
|
|
25472
|
-
this.customDialogTreeShow(this.pageParam);
|
|
25473
|
-
this.dialogVisible = false;
|
|
25474
|
-
},
|
|
25475
|
-
//关闭树形动态参数输入值的对话框
|
|
25476
|
-
handleClose() {
|
|
25477
|
-
this.dialogVisible = false;
|
|
25478
|
-
}
|
|
25479
|
-
}
|
|
25480
|
-
});
|
|
25481
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=script&lang=js&
|
|
25482
|
-
/* harmony default export */ var src_customDialogvue_type_script_lang_js_ = (customDialogvue_type_script_lang_js_);
|
|
25483
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=
|
|
25484
|
-
var
|
|
25485
|
-
|
|
25486
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue
|
|
25487
|
-
|
|
25488
|
-
|
|
25489
|
-
|
|
25490
|
-
|
|
25491
|
-
|
|
25492
|
-
|
|
25493
|
-
/* normalize component */
|
|
25494
|
-
|
|
25495
|
-
var customDialog_component = normalizeComponent(
|
|
25496
|
-
src_customDialogvue_type_script_lang_js_,
|
|
25497
|
-
|
|
25498
|
-
|
|
25499
|
-
false,
|
|
25500
|
-
null,
|
|
25501
|
-
"
|
|
25502
|
-
null
|
|
25503
|
-
|
|
25504
|
-
)
|
|
25505
|
-
|
|
25506
|
-
/* harmony default export */ var CustomDialog_src_customDialog = (customDialog_component.exports);
|
|
25507
|
-
// 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=
|
|
25508
|
-
var
|
|
25509
|
-
|
|
25510
|
-
|
|
25511
|
-
|
|
25512
|
-
|
|
25513
|
-
|
|
25514
|
-
|
|
25515
|
-
|
|
25516
|
-
|
|
25517
|
-
|
|
25518
|
-
|
|
25519
|
-
|
|
25520
|
-
|
|
25521
|
-
|
|
25522
|
-
|
|
25523
|
-
|
|
25524
|
-
selectNum: 1,
|
|
25525
|
-
conditions: [],
|
|
25526
|
-
mappingConf: [],
|
|
25527
|
-
custQueryJson: [],
|
|
25528
|
-
alias: condition.config.alias,
|
|
25529
|
-
type: 'custDialog',
|
|
25530
|
-
},
|
|
25531
|
-
}},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(
|
|
25532
|
-
function (k) { return k.defaultType == '4'; }
|
|
25533
|
-
)),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)}
|
|
25534
|
-
var customMobileDialogvue_type_template_id_8c0b36ee_scoped_true_staticRenderFns = []
|
|
25535
|
-
|
|
25536
|
-
|
|
25537
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=8c0b36ee&scoped=true&
|
|
25538
|
-
|
|
25539
|
-
// 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&
|
|
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
|
-
//
|
|
25647
|
-
//
|
|
25648
|
-
//
|
|
25649
|
-
//
|
|
25650
|
-
//
|
|
25651
|
-
//
|
|
25652
|
-
//
|
|
25653
|
-
//
|
|
25654
|
-
//
|
|
25655
|
-
//
|
|
25226
|
+
requestParams.url = url;
|
|
25227
|
+
requestParams.paramsObj = paramsObj;
|
|
25228
|
+
this.$requestConfig.request({
|
|
25229
|
+
url: requestParams.url,
|
|
25230
|
+
method: 'get'
|
|
25231
|
+
}).then(resp => {
|
|
25232
|
+
if (treeDialog.displayfield && treeDialog.resultfield) {
|
|
25233
|
+
let displayField = JSON.parse(treeDialog.displayfield);
|
|
25234
|
+
let resultfield = JSON.parse(treeDialog.resultfield);
|
|
25235
|
+
this.defaultProps.label = displayField.displayName;
|
|
25236
|
+
this.treeList = resp;
|
|
25237
|
+
this.combiTreeDisplayField = displayField;
|
|
25238
|
+
this.combinationTreeData = this.toTreeData(resp, displayField.id, displayField.pid, displayField.displayName, displayField.pvalue ? displayField.pvalue : '0', resultfield);
|
|
25239
|
+
}
|
|
25240
|
+
});
|
|
25241
|
+
});
|
|
25242
|
+
},
|
|
25243
|
+
//打开树形动态参数输入值的对话框
|
|
25244
|
+
handleSave() {
|
|
25245
|
+
this.customDialogTreeShow(this.pageParam);
|
|
25246
|
+
this.dialogVisible = false;
|
|
25247
|
+
},
|
|
25248
|
+
//关闭树形动态参数输入值的对话框
|
|
25249
|
+
handleClose() {
|
|
25250
|
+
this.dialogVisible = false;
|
|
25251
|
+
}
|
|
25252
|
+
}
|
|
25253
|
+
});
|
|
25254
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=script&lang=js&
|
|
25255
|
+
/* harmony default export */ var src_customDialogvue_type_script_lang_js_ = (customDialogvue_type_script_lang_js_);
|
|
25256
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=3a57945e&prod&lang=scss&scoped=true&
|
|
25257
|
+
var customDialogvue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true_ = __webpack_require__("7ff9");
|
|
25258
|
+
|
|
25259
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue
|
|
25260
|
+
|
|
25261
|
+
|
|
25262
|
+
|
|
25263
|
+
|
|
25264
|
+
|
|
25265
|
+
|
|
25266
|
+
/* normalize component */
|
|
25267
|
+
|
|
25268
|
+
var customDialog_component = normalizeComponent(
|
|
25269
|
+
src_customDialogvue_type_script_lang_js_,
|
|
25270
|
+
customDialogvue_type_template_id_3a57945e_scoped_true_render,
|
|
25271
|
+
customDialogvue_type_template_id_3a57945e_scoped_true_staticRenderFns,
|
|
25272
|
+
false,
|
|
25273
|
+
null,
|
|
25274
|
+
"3a57945e",
|
|
25275
|
+
null
|
|
25276
|
+
|
|
25277
|
+
)
|
|
25278
|
+
|
|
25279
|
+
/* harmony default export */ var CustomDialog_src_customDialog = (customDialog_component.exports);
|
|
25280
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=1661eebb&scoped=true&
|
|
25281
|
+
var customMobileDialogvue_type_template_id_1661eebb_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('van-action-sheet',{staticClass:"mobile-van-action min-height-action",attrs:{"cancel-text":_vm.sureButtonText,"get-container":"body"},on:{"cancel":_vm.handleDialogSure,"click-overlay":_vm.dialogCancel,"opened":_vm.afterOpen},scopedSlots:_vm._u([{key:"description",fn:function(){return [_c('span',{staticClass:"dialog-mobile__title"},[_vm._v(_vm._s(_vm.customDialog.name))]),_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":_vm.dialogCancel}})]},proxy:true}]),model:{value:(_vm.customDialogShowList),callback:function ($$v) {_vm.customDialogShowList=$$v},expression:"customDialogShowList"}},[[_c('div',{staticClass:"search-box"},[_c('ht-icon',{staticClass:"unfold-icon",attrs:{"scale":"1.2","name":_vm.isShowMoreSearch ? 'upFold' : 'downUnfold'},on:{"click":function($event){_vm.isShowMoreSearch = !_vm.isShowMoreSearch}}}),_vm._l((_vm.conditionBind),function(condition,index){return _c('div',{directives:[{name:"show",rawName:"v-show",value:(index === 0 || (index > 0 && _vm.isShowMoreSearch)),expression:"index === 0 || (index > 0 && isShowMoreSearch)"}],key:index,staticClass:"search-item"},[_c('p',[_vm._v(_vm._s(condition.comment)+":")]),(condition.controllerType == '1')?_c('div',[_c('el-input',{attrs:{"size":"small","clearable":"","placeholder":_vm.placeholders[index]},on:{"change":_vm.searchInputChange},nativeOn:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.hideSearch($event)}},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '2')?_c('div',{staticStyle:{"margin-right":"10px"}},_vm._l((condition.config.options),function(itemR,$index1){return _c('el-radio',{key:$index1,attrs:{"label":itemR.key},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}},[_vm._v("\n "+_vm._s(itemR.value)+"\n ")])}),1):_vm._e(),(condition.controllerType == '3')?_c('div',{staticStyle:{"margin-right":"10px"}},[(condition.config.choiceType == 'static')?_c('ht-select',{attrs:{"options":condition.config.options},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}}):_c('eip-select-dia',{attrs:{"ganged":{
|
|
25282
|
+
alias: condition.config.customQuery.alias,
|
|
25283
|
+
valueBind: condition.config.customQuery.valueBind,
|
|
25284
|
+
noInit: '',
|
|
25285
|
+
labelBind: condition.config.customQuery.labelBind,
|
|
25286
|
+
gangedBind: '{}',
|
|
25287
|
+
bind: condition.config.bind,
|
|
25288
|
+
},"multiple":false,"filterable":false,"allow-create":false,"selectlist":[],"query-params":_vm.queryParams},model:{value:(_vm.queryParams[condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams, condition.field, $$v)},expression:"queryParams[condition.field]"}})],1):_vm._e(),(condition.controllerType == '4')?_c('div',{staticStyle:{"margin-right":"10px"}},[_c('eip-tag',{attrs:{"tag-key":condition.config.tag,"placeholder":_vm.quickSearch,"filterable":condition.config.filterable,"expand":condition.config.expand},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e()])}),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isShowMoreSearch),expression:"isShowMoreSearch"}],staticClass:"search-btns"},[_c('el-button',{staticStyle:{"margin-left":"20px"},attrs:{"size":"small","type":"primary"},on:{"click":_vm.hideSearch}},[_vm._v("\n 搜索\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.reset}},[_vm._v("重置")])],1)],2)],(_vm.customDialog.style == 2)?_c('van-popover',{staticClass:"custom-dialog-popover",attrs:{"trigger":"click"},scopedSlots:_vm._u([{key:"reference",fn:function(){return [_c('div',{staticClass:"mobile-tree-select"},[(_vm.treeSelectText)?_c('span',{staticClass:"active-text"},[_vm._v("\n "+_vm._s(_vm.treeSelectText)+"\n ")]):_c('span',[_vm._v("请选择"+_vm._s(_vm.leftTreeTitle))]),(_vm.treeSelectText)?_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":function($event){$event.stopPropagation();return _vm.clearTreeSelect($event)}}}):_vm._e()],1)]},proxy:true}],null,false,3189508719),model:{value:(_vm.isSelectTreeShow),callback:function ($$v) {_vm.isSelectTreeShow=$$v},expression:"isSelectTreeShow"}},[_c('div',{staticClass:"custom-dialog-popover_content"},[_c('el-tree',{ref:"combinationTree",attrs:{"data":_vm.combinationTreeData,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","check-on-click-node":true},on:{"node-click":_vm.combiTreeClick}})],1)]):_vm._e(),_c('van-pull-refresh',{on:{"refresh":_vm.onRefresh},model:{value:(_vm.isDownLoading),callback:function ($$v) {_vm.isDownLoading=$$v},expression:"isDownLoading"}},[_c('van-list',{attrs:{"finished":_vm.finished,"finished-text":"没有更多了","offset":20,"immediate-check":false},on:{"load":_vm.loadMore},model:{value:(_vm.isPullLoading),callback:function ($$v) {_vm.isPullLoading=$$v},expression:"isPullLoading"}},_vm._l((_vm.dialogData),function(item,index){return _c('van-cell',{key:index,attrs:{"clickable":""},scopedSlots:_vm._u([{key:"icon",fn:function(){return [_c('van-checkbox',{attrs:{"value":_vm.indexArray(_vm.selectIds, item) > -1,"shape":_vm.customDialog.selectNum === 1 ? 'round' : 'square'},on:{"click":function($event){return _vm.checkboxChange(item)}}})]},proxy:true}],null,true)},[_c('div',{staticClass:"custom-mobile_box"},_vm._l((_vm.displayfield),function(field){return _c('div',{key:field.field,staticClass:"custom-mobile_box_item"},[_c('label',[_vm._v(_vm._s(field.comment)+":")]),_c('div',[_vm._v(_vm._s(item[field.field]))])])}),0)])}),1)],1)],2),_c('van-action-sheet',{staticClass:"mobile-van-action",attrs:{"cancel-text":_vm.sureButtonText,"get-container":"body"},on:{"cancel":_vm.handleSave},scopedSlots:_vm._u([{key:"description",fn:function(){return [_c('span',{staticClass:"dialog-mobile__title"},[_vm._v("动态传入参数查询")]),_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":function($event){_vm.dialogVisible = false}}})]},proxy:true}]),model:{value:(_vm.dialogVisible),callback:function ($$v) {_vm.dialogVisible=$$v},expression:"dialogVisible"}},[_c('van-cell-group',_vm._l((_vm.conditionfieldTree.filter(
|
|
25289
|
+
function (k) { return k.defaultType == '4'; }
|
|
25290
|
+
)),function(item,$index){return _c('div',{key:$index},[(item.type != 'date')?_c('van-field',{attrs:{"label":item.comment,"placeholder":'请输入' + item.comment},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e(),(item.type == 'date')?_c('ht-date',{staticStyle:{"width":"100%"},attrs:{"placeholder":'请选择' + item.comment,"format":"yyyy-MM-dd"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e()],1)}),0)],1),_c('van-action-sheet',{staticClass:"mobile-van-action",attrs:{"cancel-text":_vm.sureButtonText,"get-container":"body"},on:{"cancel":_vm.dialogTreeConfirm},scopedSlots:_vm._u([{key:"description",fn:function(){return [_c('span',{staticClass:"dialog-mobile__title"},[_vm._v(_vm._s(_vm.customDialog.name))]),_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":_vm.dialogCancelTree}})]},proxy:true}]),model:{value:(_vm.customDialogShowTree),callback:function ($$v) {_vm.customDialogShowTree=$$v},expression:"customDialogShowTree"}},[_c('el-tree',{ref:"tree",staticStyle:{"width":"100%"},attrs:{"data":_vm.props1,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","show-checkbox":_vm.customDialog.selectNum === -1,"check-on-click-node":true,"check-strictly":false,"lazy":"","load":_vm.loadTree,"default-expanded-keys":_vm.defaultExpandedKeys},on:{"node-click":_vm.treeClick,"check-change":_vm.getChecked}})],1)],1)}
|
|
25291
|
+
var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns = []
|
|
25292
|
+
|
|
25293
|
+
|
|
25294
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=1661eebb&scoped=true&
|
|
25295
|
+
|
|
25296
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/customMobileDialog.vue?vue&type=script&lang=js&
|
|
25656
25297
|
//
|
|
25657
25298
|
//
|
|
25658
25299
|
//
|
|
@@ -25932,17 +25573,10 @@ var customMobileDialogvue_type_template_id_8c0b36ee_scoped_true_staticRenderFns
|
|
|
25932
25573
|
subIndex: Number,
|
|
25933
25574
|
sunIndex: Number,
|
|
25934
25575
|
subPath: String,
|
|
25935
|
-
currentSubData: Array
|
|
25936
|
-
dialogConfig: Object,
|
|
25937
|
-
dialogType: String
|
|
25576
|
+
currentSubData: Array
|
|
25938
25577
|
},
|
|
25939
25578
|
data() {
|
|
25940
25579
|
return {
|
|
25941
|
-
dateType: 'date',
|
|
25942
|
-
currentDate: '',
|
|
25943
|
-
// 当前日期
|
|
25944
|
-
isShowDatePop: false,
|
|
25945
|
-
// 是否显示日期选择控件
|
|
25946
25580
|
isShowMoreSearch: false,
|
|
25947
25581
|
treeSelectText: '',
|
|
25948
25582
|
// 组合树时选中的查询条件
|
|
@@ -26022,47 +25656,9 @@ var customMobileDialogvue_type_template_id_8c0b36ee_scoped_true_staticRenderFns
|
|
|
26022
25656
|
sureButtonText() {
|
|
26023
25657
|
const selectedText = this.selectIds.length > 0 ? `(${this.selectIds.length})` : '';
|
|
26024
25658
|
return `${this.$t('ht.common.confirm')}${selectedText}`;
|
|
26025
|
-
},
|
|
26026
|
-
jumpParamKey() {
|
|
26027
|
-
return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
|
|
26028
|
-
},
|
|
26029
|
-
// 是否保存成跳转url参数
|
|
26030
|
-
isHaveJumpUrl() {
|
|
26031
|
-
return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
26032
|
-
},
|
|
26033
|
-
sortDisplayfield() {
|
|
26034
|
-
return this.displayfield.sort((a, b) => {
|
|
26035
|
-
return a.sort > b.sort ? 1 : -1;
|
|
26036
|
-
});
|
|
26037
25659
|
}
|
|
26038
25660
|
},
|
|
26039
25661
|
methods: {
|
|
26040
|
-
// 获取已选择的选择器数据id
|
|
26041
|
-
getSelectId(data) {
|
|
26042
|
-
if (!data || !data.length) {
|
|
26043
|
-
return '';
|
|
26044
|
-
}
|
|
26045
|
-
let ids = [];
|
|
26046
|
-
data.forEach(item => {
|
|
26047
|
-
ids.push(item.id);
|
|
26048
|
-
});
|
|
26049
|
-
return ids.join(',');
|
|
26050
|
-
},
|
|
26051
|
-
showDate(index, key) {
|
|
26052
|
-
this.dateType = this.conditionBind[index].config.inputFormat.includes('mm:') ? 'datetime' : 'date';
|
|
26053
|
-
this.currentDateData = {
|
|
26054
|
-
index,
|
|
26055
|
-
key
|
|
26056
|
-
};
|
|
26057
|
-
this.currentDate = this.queryParams[index][key] ? new Date(this.queryParams[index][key].replace(/-/g, '/')) : new Date();
|
|
26058
|
-
this.isShowDatePop = true;
|
|
26059
|
-
},
|
|
26060
|
-
// 日期确认
|
|
26061
|
-
confirmFn() {
|
|
26062
|
-
let currentConfig = this.conditionBind[this.currentDateData.index];
|
|
26063
|
-
this.queryParams[this.currentDateData.index][this.currentDateData.key] = this.currentDate.format(currentConfig.config.inputFormat);
|
|
26064
|
-
this.isShowDatePop = false;
|
|
26065
|
-
},
|
|
26066
25662
|
searchInputChange() {
|
|
26067
25663
|
if (!this.isShowMoreSearch) {
|
|
26068
25664
|
this.search(true);
|
|
@@ -26108,121 +25704,112 @@ var customMobileDialogvue_type_template_id_8c0b36ee_scoped_true_staticRenderFns
|
|
|
26108
25704
|
this.search(true);
|
|
26109
25705
|
},
|
|
26110
25706
|
showDialog() {
|
|
25707
|
+
const this_ = this;
|
|
26111
25708
|
this.fixedParams = {};
|
|
26112
|
-
// 如果已存在配置信息就不去请求配置信息 直接初始化数据
|
|
26113
|
-
if (this.dialogConfig) {
|
|
26114
|
-
this.initDialog(this.dialogConfig);
|
|
26115
|
-
return;
|
|
26116
|
-
}
|
|
26117
25709
|
var alias = this.custdialog.custDialog.alias;
|
|
26118
25710
|
this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
|
|
26119
|
-
|
|
26120
|
-
|
|
26121
|
-
|
|
26122
|
-
initDialog(customDialog) {
|
|
26123
|
-
let alias = this.custdialog.custDialog.alias;
|
|
26124
|
-
const this_ = this;
|
|
26125
|
-
if (!customDialog || !customDialog.alias) {
|
|
26126
|
-
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
26127
|
-
return;
|
|
26128
|
-
}
|
|
26129
|
-
if (customDialog.style == 1) {
|
|
26130
|
-
var displaylist = JSON.parse(customDialog.displayfield);
|
|
26131
|
-
this_.nodeKey = displaylist.id;
|
|
26132
|
-
}
|
|
26133
|
-
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
26134
|
-
let obj = {};
|
|
26135
|
-
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
26136
|
-
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
26137
|
-
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
26138
|
-
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
26139
|
-
if (exp) {
|
|
26140
|
-
const params = JSON.parse(exp);
|
|
26141
|
-
if (params.pageBean) {
|
|
26142
|
-
this.pagination = {
|
|
26143
|
-
...params.pageBean
|
|
26144
|
-
};
|
|
26145
|
-
}
|
|
25711
|
+
if (!customDialog || !customDialog.alias) {
|
|
25712
|
+
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
25713
|
+
return;
|
|
26146
25714
|
}
|
|
26147
|
-
|
|
26148
|
-
|
|
26149
|
-
|
|
26150
|
-
|
|
26151
|
-
|
|
26152
|
-
|
|
26153
|
-
|
|
26154
|
-
|
|
26155
|
-
|
|
26156
|
-
|
|
26157
|
-
|
|
26158
|
-
|
|
26159
|
-
|
|
26160
|
-
|
|
26161
|
-
|
|
26162
|
-
|
|
26163
|
-
|
|
25715
|
+
if (customDialog.style == 1) {
|
|
25716
|
+
var displaylist = JSON.parse(customDialog.displayfield);
|
|
25717
|
+
this_.nodeKey = displaylist.id;
|
|
25718
|
+
}
|
|
25719
|
+
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
25720
|
+
let obj = {};
|
|
25721
|
+
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
25722
|
+
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
25723
|
+
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
25724
|
+
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
25725
|
+
if (exp) {
|
|
25726
|
+
const params = JSON.parse(exp);
|
|
25727
|
+
if (params.pageBean) {
|
|
25728
|
+
this.pagination = {
|
|
25729
|
+
...params.pageBean
|
|
25730
|
+
};
|
|
25731
|
+
}
|
|
26164
25732
|
}
|
|
26165
|
-
}
|
|
26166
|
-
|
|
25733
|
+
}
|
|
25734
|
+
//对话框按表单字段查询(参数传入的)
|
|
25735
|
+
let bindList = this_.custdialog.custDialog.conditions;
|
|
25736
|
+
this_.param = []; //绑定的表单字段
|
|
25737
|
+
if (bindList.length > 0) {
|
|
25738
|
+
bindList.forEach(ele => {
|
|
25739
|
+
//绑定表单字段
|
|
25740
|
+
if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
|
|
25741
|
+
let obj = {};
|
|
25742
|
+
obj.field = ele.field;
|
|
25743
|
+
obj.bind = ele.bind;
|
|
25744
|
+
obj.bindType = ele.bindType;
|
|
25745
|
+
this_.param.push(obj);
|
|
25746
|
+
}
|
|
25747
|
+
// bindType 1 表单字段 2固定 3脚本
|
|
25748
|
+
if (ele.defaultType == '3' && ele.bindType === 2) {
|
|
25749
|
+
this_.fixedParams[ele.field] = ele.bind || '';
|
|
25750
|
+
}
|
|
25751
|
+
});
|
|
25752
|
+
}
|
|
26167
25753
|
|
|
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
|
-
|
|
26205
|
-
|
|
26206
|
-
|
|
26207
|
-
|
|
26208
|
-
|
|
26209
|
-
|
|
26210
|
-
|
|
26211
|
-
|
|
26212
|
-
|
|
26213
|
-
|
|
25754
|
+
//判断对话框查询是否有条件
|
|
25755
|
+
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
25756
|
+
this_.conditionBind = [];
|
|
25757
|
+
let queryParams = [];
|
|
25758
|
+
let placeholders = [];
|
|
25759
|
+
if (userInputList.length > 0) {
|
|
25760
|
+
userInputList.forEach(ele => {
|
|
25761
|
+
var obj = {};
|
|
25762
|
+
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
25763
|
+
if (ele.defaultType == '1') {
|
|
25764
|
+
obj[ele.field] = '';
|
|
25765
|
+
queryParams.push(obj);
|
|
25766
|
+
// queryParams[ele.field] = "";
|
|
25767
|
+
this_.conditionBind.push(ele);
|
|
25768
|
+
placeholders.push('请输入' + ele.comment);
|
|
25769
|
+
}
|
|
25770
|
+
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
25771
|
+
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
25772
|
+
}
|
|
25773
|
+
});
|
|
25774
|
+
this.$set(this, 'queryParams', queryParams);
|
|
25775
|
+
this.$set(this, 'placeholders', placeholders);
|
|
25776
|
+
}
|
|
25777
|
+
if (customDialog.style == 0 || customDialog.style == 2) {
|
|
25778
|
+
//列表
|
|
25779
|
+
this_.customDialogShow({
|
|
25780
|
+
alias: alias,
|
|
25781
|
+
customDialog: customDialog
|
|
25782
|
+
});
|
|
25783
|
+
} else if (customDialog.style == 1) {
|
|
25784
|
+
//树形
|
|
25785
|
+
this_.pageParam = {
|
|
25786
|
+
alias: alias,
|
|
25787
|
+
customDialog: customDialog
|
|
25788
|
+
};
|
|
25789
|
+
this_.customDialog = customDialog;
|
|
25790
|
+
let param = {};
|
|
25791
|
+
this_.conditionfieldTree = [];
|
|
25792
|
+
//判断是否存在条件
|
|
25793
|
+
if (customDialog.conditionfield) {
|
|
25794
|
+
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
25795
|
+
if (this_.conditionfieldTree.length > 0) {
|
|
25796
|
+
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
25797
|
+
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
25798
|
+
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
25799
|
+
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
25800
|
+
}
|
|
26214
25801
|
}
|
|
26215
25802
|
}
|
|
26216
25803
|
}
|
|
25804
|
+
//有动态传入的字段
|
|
25805
|
+
if (JSON.stringify(param) != '{}') {
|
|
25806
|
+
this_.dialogVisible = true;
|
|
25807
|
+
} else {
|
|
25808
|
+
//无动态传入的字段
|
|
25809
|
+
this_.customDialogTreeShow(this_.pageParam);
|
|
25810
|
+
}
|
|
26217
25811
|
}
|
|
26218
|
-
|
|
26219
|
-
if (JSON.stringify(param) != '{}') {
|
|
26220
|
-
this_.dialogVisible = true;
|
|
26221
|
-
} else {
|
|
26222
|
-
//无动态传入的字段
|
|
26223
|
-
this_.customDialogTreeShow(this_.pageParam);
|
|
26224
|
-
}
|
|
26225
|
-
}
|
|
25812
|
+
});
|
|
26226
25813
|
},
|
|
26227
25814
|
treeClick(data) {
|
|
26228
25815
|
// 单选
|
|
@@ -26340,13 +25927,13 @@ var customMobileDialogvue_type_template_id_8c0b36ee_scoped_true_staticRenderFns
|
|
|
26340
25927
|
}
|
|
26341
25928
|
// 添加用户id 岗位id 组织id
|
|
26342
25929
|
try {
|
|
26343
|
-
if (this.$requestConfig.getUserId
|
|
25930
|
+
if (this.$requestConfig.getUserId()) {
|
|
26344
25931
|
ctx.userId = this.$requestConfig.getUserId();
|
|
26345
25932
|
}
|
|
26346
|
-
if (this.$requestConfig.getOrgId
|
|
25933
|
+
if (this.$requestConfig.getOrgId()) {
|
|
26347
25934
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
26348
25935
|
}
|
|
26349
|
-
if (this.$requestConfig.getPostId
|
|
25936
|
+
if (this.$requestConfig.getPostId()) {
|
|
26350
25937
|
ctx.postId = this.$requestConfig.getPostId();
|
|
26351
25938
|
}
|
|
26352
25939
|
} catch (e) {
|
|
@@ -26431,13 +26018,8 @@ var customMobileDialogvue_type_template_id_8c0b36ee_scoped_true_staticRenderFns
|
|
|
26431
26018
|
this.selectOrgs = this.convertComment2Field(str, field);
|
|
26432
26019
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
26433
26020
|
var val = '';
|
|
26434
|
-
str.forEach(
|
|
26435
|
-
|
|
26436
|
-
if (this.jumpParamKey && this.isHaveJumpUrl && (this.modelName == 'data.' + con['target'][0] || this.modelName.includes('item.') && con['target'][0].endsWith(this.modelName.split('.')[1]))) {
|
|
26437
|
-
val += `${item[con.from]}¯${this.jumpParamKey}:${this.selectOrgs[index][this.jumpParamKey]},`;
|
|
26438
|
-
} else {
|
|
26439
|
-
val += item[con.from] + ',';
|
|
26440
|
-
}
|
|
26021
|
+
str.forEach(item => {
|
|
26022
|
+
val += item[con.from] + ',';
|
|
26441
26023
|
});
|
|
26442
26024
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
26443
26025
|
utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
|
|
@@ -26510,19 +26092,6 @@ var customMobileDialogvue_type_template_id_8c0b36ee_scoped_true_staticRenderFns
|
|
|
26510
26092
|
//用户输入的
|
|
26511
26093
|
if (this.queryParams.length != 0 && this.queryParams[0] != '') {
|
|
26512
26094
|
this.conditionBind.forEach((item, index) => {
|
|
26513
|
-
// 日期范围特殊处理
|
|
26514
|
-
if (item.dbType == 'date' && item.condition == 'BETWEEN') {
|
|
26515
|
-
if (this.queryParams[index].startDate && !this.queryParams[index].endDate || !this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
26516
|
-
flag = true;
|
|
26517
|
-
this.$message.info('日期范围未填写完整!');
|
|
26518
|
-
return;
|
|
26519
|
-
}
|
|
26520
|
-
if (this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
26521
|
-
this.queryParams[index][item.field] = `${this.queryParams[index].startDate},${this.queryParams[index].endDate}`;
|
|
26522
|
-
} else {
|
|
26523
|
-
this.queryParams[index][item.field] = '';
|
|
26524
|
-
}
|
|
26525
|
-
}
|
|
26526
26095
|
if (this.queryParams[index][item.field]) {
|
|
26527
26096
|
querys.push({
|
|
26528
26097
|
property: item.field,
|
|
@@ -26571,13 +26140,13 @@ var customMobileDialogvue_type_template_id_8c0b36ee_scoped_true_staticRenderFns
|
|
|
26571
26140
|
ctx.total = pageBean.pageBean.total;
|
|
26572
26141
|
// 添加用户id 岗位id 组织id
|
|
26573
26142
|
try {
|
|
26574
|
-
if (this.$requestConfig.getUserId
|
|
26143
|
+
if (this.$requestConfig.getUserId()) {
|
|
26575
26144
|
ctx.userId = this.$requestConfig.getUserId();
|
|
26576
26145
|
}
|
|
26577
|
-
if (this.$requestConfig.getOrgId
|
|
26146
|
+
if (this.$requestConfig.getOrgId()) {
|
|
26578
26147
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
26579
26148
|
}
|
|
26580
|
-
if (this.$requestConfig.getPostId
|
|
26149
|
+
if (this.$requestConfig.getPostId()) {
|
|
26581
26150
|
ctx.postId = this.$requestConfig.getPostId();
|
|
26582
26151
|
}
|
|
26583
26152
|
} catch (e) {
|
|
@@ -26605,8 +26174,6 @@ var customMobileDialogvue_type_template_id_8c0b36ee_scoped_true_staticRenderFns
|
|
|
26605
26174
|
} else {
|
|
26606
26175
|
param.pageBean.pageSize = -1;
|
|
26607
26176
|
}
|
|
26608
|
-
// 日期格式的 改成数组
|
|
26609
|
-
// this.changeDateFormat(param)
|
|
26610
26177
|
//构造请求的参数
|
|
26611
26178
|
let requestParam = {
|
|
26612
26179
|
pageBean: param,
|
|
@@ -26642,15 +26209,6 @@ var customMobileDialogvue_type_template_id_8c0b36ee_scoped_true_staticRenderFns
|
|
|
26642
26209
|
}
|
|
26643
26210
|
}
|
|
26644
26211
|
},
|
|
26645
|
-
changeDateFormat(param) {
|
|
26646
|
-
let dateValidate1 = /^\d{4}\-\d{2}\-\d{2}$/;
|
|
26647
|
-
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$/;
|
|
26648
|
-
Object.keys(param).forEach(key => {
|
|
26649
|
-
if (param[key] && typeof param[key] == 'string' && param[key].includes(',') && (dateValidate1.test(param[key].split(',')[0]) || dateValidate2.test(param[key].split(',')[0]))) {
|
|
26650
|
-
param[key] = param[key].split(',');
|
|
26651
|
-
}
|
|
26652
|
-
});
|
|
26653
|
-
},
|
|
26654
26212
|
getSearchValueByKey() {
|
|
26655
26213
|
let queryParamsObj = {};
|
|
26656
26214
|
if (this.queryParams.length > 0) {
|
|
@@ -26849,30 +26407,13 @@ var customMobileDialogvue_type_template_id_8c0b36ee_scoped_true_staticRenderFns
|
|
|
26849
26407
|
}
|
|
26850
26408
|
}
|
|
26851
26409
|
}
|
|
26852
|
-
// 如果是查询中使用的对话框
|
|
26853
|
-
if (this.dialogType == 'search') {
|
|
26854
|
-
let returnVal = [];
|
|
26855
|
-
str.forEach(item => {
|
|
26856
|
-
returnVal.push(decodeURIComponent(item[this.modelName]));
|
|
26857
|
-
});
|
|
26858
|
-
this.$emit('updateInput', returnVal.join(','));
|
|
26859
|
-
return;
|
|
26860
|
-
}
|
|
26861
26410
|
const pInst = utils["a" /* default */].getOnlineFormInstance(this);
|
|
26862
26411
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
26863
26412
|
var val = '';
|
|
26864
26413
|
var from = con.from.toLowerCase();
|
|
26865
26414
|
str.forEach(item => {
|
|
26866
26415
|
if (item) {
|
|
26867
|
-
|
|
26868
|
-
// 需根据key 找到对应 返回数据的返回名称
|
|
26869
|
-
let returnMapKey = returnStr.find(k => {
|
|
26870
|
-
return k.field == this.jumpParamKey;
|
|
26871
|
-
}).comment;
|
|
26872
|
-
val += `${decodeURIComponent(item[from])}¯${this.jumpParamKey}:${item[returnMapKey]},`;
|
|
26873
|
-
} else {
|
|
26874
|
-
val += decodeURIComponent(item[from]) + ',';
|
|
26875
|
-
}
|
|
26416
|
+
val += decodeURIComponent(item[from]) + ',';
|
|
26876
26417
|
}
|
|
26877
26418
|
});
|
|
26878
26419
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
@@ -26909,6 +26450,20 @@ var customMobileDialogvue_type_template_id_8c0b36ee_scoped_true_staticRenderFns
|
|
|
26909
26450
|
}
|
|
26910
26451
|
}
|
|
26911
26452
|
},
|
|
26453
|
+
// getSelected() {
|
|
26454
|
+
// let arr = []
|
|
26455
|
+
// this.selectIds.forEach((item) => {
|
|
26456
|
+
// debugger
|
|
26457
|
+
// let obj = this.dialogData.find((sub) => {
|
|
26458
|
+
// return sub.id_ === item
|
|
26459
|
+
// })
|
|
26460
|
+
// if (obj) {
|
|
26461
|
+
// arr.push(obj)
|
|
26462
|
+
// }
|
|
26463
|
+
// })
|
|
26464
|
+
|
|
26465
|
+
// return arr
|
|
26466
|
+
// },
|
|
26912
26467
|
calacInputSuffixHeight() {
|
|
26913
26468
|
this.$emit('calacInputSuffixHeight');
|
|
26914
26469
|
},
|
|
@@ -27110,11 +26665,11 @@ var customMobileDialogvue_type_template_id_8c0b36ee_scoped_true_staticRenderFns
|
|
|
27110
26665
|
});
|
|
27111
26666
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=script&lang=js&
|
|
27112
26667
|
/* harmony default export */ var src_customMobileDialogvue_type_script_lang_js_ = (customMobileDialogvue_type_script_lang_js_);
|
|
27113
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=
|
|
27114
|
-
var
|
|
26668
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=1661eebb&prod&lang=scss&scoped=true&
|
|
26669
|
+
var customMobileDialogvue_type_style_index_0_id_1661eebb_prod_lang_scss_scoped_true_ = __webpack_require__("de6a");
|
|
27115
26670
|
|
|
27116
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=
|
|
27117
|
-
var
|
|
26671
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=1661eebb&prod&lang=scss&
|
|
26672
|
+
var customMobileDialogvue_type_style_index_1_id_1661eebb_prod_lang_scss_ = __webpack_require__("49f9");
|
|
27118
26673
|
|
|
27119
26674
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue
|
|
27120
26675
|
|
|
@@ -27128,11 +26683,11 @@ var customMobileDialogvue_type_style_index_1_id_8c0b36ee_prod_lang_scss_ = __web
|
|
|
27128
26683
|
|
|
27129
26684
|
var customMobileDialog_component = normalizeComponent(
|
|
27130
26685
|
src_customMobileDialogvue_type_script_lang_js_,
|
|
27131
|
-
|
|
27132
|
-
|
|
26686
|
+
customMobileDialogvue_type_template_id_1661eebb_scoped_true_render,
|
|
26687
|
+
customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns,
|
|
27133
26688
|
false,
|
|
27134
26689
|
null,
|
|
27135
|
-
"
|
|
26690
|
+
"1661eebb",
|
|
27136
26691
|
null
|
|
27137
26692
|
|
|
27138
26693
|
)
|
|
@@ -27276,17 +26831,6 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27276
26831
|
//
|
|
27277
26832
|
//
|
|
27278
26833
|
//
|
|
27279
|
-
//
|
|
27280
|
-
//
|
|
27281
|
-
//
|
|
27282
|
-
//
|
|
27283
|
-
//
|
|
27284
|
-
//
|
|
27285
|
-
//
|
|
27286
|
-
//
|
|
27287
|
-
//
|
|
27288
|
-
//
|
|
27289
|
-
//
|
|
27290
26834
|
|
|
27291
26835
|
|
|
27292
26836
|
|
|
@@ -27318,17 +26862,10 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27318
26862
|
subIndex: Number,
|
|
27319
26863
|
sunIndex: Number,
|
|
27320
26864
|
subPath: String,
|
|
27321
|
-
currentSubData: Array
|
|
27322
|
-
dialogType: {
|
|
27323
|
-
// search表示在查询条件使用 form表示在表单中使用
|
|
27324
|
-
type: String,
|
|
27325
|
-
default: 'form'
|
|
27326
|
-
}
|
|
26865
|
+
currentSubData: Array
|
|
27327
26866
|
},
|
|
27328
26867
|
data() {
|
|
27329
26868
|
return {
|
|
27330
|
-
dialogConfig: null,
|
|
27331
|
-
// 对话框配置信息
|
|
27332
26869
|
isEditInputShow: false,
|
|
27333
26870
|
customValue: '',
|
|
27334
26871
|
defualtTooltipplacement: 'bottom',
|
|
@@ -27377,24 +26914,9 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27377
26914
|
}
|
|
27378
26915
|
let result = [];
|
|
27379
26916
|
nameAry.forEach(m => {
|
|
27380
|
-
|
|
27381
|
-
|
|
27382
|
-
|
|
27383
|
-
if (m.includes('¯') && m.split('¯')[1] || m.includes('ˉ') && m.split('ˉ')[1]) {
|
|
27384
|
-
let val1 = m.includes('¯') ? m.split('¯')[0] : m.split('ˉ')[0];
|
|
27385
|
-
let val2 = m.includes('¯') ? m.split('¯')[1] : m.split('ˉ')[1];
|
|
27386
|
-
n.value = val1;
|
|
27387
|
-
let jumpParamStr = val2;
|
|
27388
|
-
if (jumpParamStr) {
|
|
27389
|
-
let jumpParam = jumpParamStr.split(':');
|
|
27390
|
-
n.jumpParamKey = jumpParam[0];
|
|
27391
|
-
n.jumpParamValue = jumpParam[1];
|
|
27392
|
-
}
|
|
27393
|
-
} else {
|
|
27394
|
-
n = {
|
|
27395
|
-
value: m
|
|
27396
|
-
};
|
|
27397
|
-
}
|
|
26917
|
+
let n = {
|
|
26918
|
+
value: m
|
|
26919
|
+
};
|
|
27398
26920
|
result.push(n);
|
|
27399
26921
|
});
|
|
27400
26922
|
return result;
|
|
@@ -27402,16 +26924,8 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27402
26924
|
},
|
|
27403
26925
|
isAllowCustom() {
|
|
27404
26926
|
return this.custdialog && this.custdialog.allowInput;
|
|
27405
|
-
},
|
|
27406
|
-
// 是否展示可跳转颜色
|
|
27407
|
-
isSrcColor() {
|
|
27408
|
-
return this.dialogConfig && this.dialogType !== 'search' && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
27409
26927
|
}
|
|
27410
26928
|
},
|
|
27411
|
-
created() {
|
|
27412
|
-
// 获取对话框配置,看是否有配置url跳转
|
|
27413
|
-
this.getDialogConfig();
|
|
27414
|
-
},
|
|
27415
26929
|
mounted() {
|
|
27416
26930
|
setTimeout(() => {
|
|
27417
26931
|
const {
|
|
@@ -27432,63 +26946,6 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27432
26946
|
}, 50);
|
|
27433
26947
|
},
|
|
27434
26948
|
methods: {
|
|
27435
|
-
// 跳转url页面
|
|
27436
|
-
jumpUrl(item) {
|
|
27437
|
-
if (!this.isSrcColor) {
|
|
27438
|
-
if (this.inputWriteable) {
|
|
27439
|
-
this.showEditInput();
|
|
27440
|
-
}
|
|
27441
|
-
return;
|
|
27442
|
-
}
|
|
27443
|
-
let url = this.isMobile ? this.dialogConfig.mobileUrl : this.dialogConfig.pcUrl;
|
|
27444
|
-
// 获取通用token 和 url翻译
|
|
27445
|
-
Promise.all([this.$requestConfig.getThreeTreeToken(), this.transformUrl(url)]).then(res => {
|
|
27446
|
-
if (res[0] && res[0].code == 200) {
|
|
27447
|
-
let token = res[0].value;
|
|
27448
|
-
let endUrl = res[1];
|
|
27449
|
-
// 拼接参数 token和参数
|
|
27450
|
-
if (endUrl.indexOf('?') == -1) {
|
|
27451
|
-
endUrl += `?bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
|
|
27452
|
-
} else {
|
|
27453
|
-
endUrl += `&bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
|
|
27454
|
-
}
|
|
27455
|
-
window.open(endUrl);
|
|
27456
|
-
} else {
|
|
27457
|
-
this.$message.info(res.message || '获取token失败!');
|
|
27458
|
-
}
|
|
27459
|
-
});
|
|
27460
|
-
},
|
|
27461
|
-
// 替换url中域名通配符 需要发送接口
|
|
27462
|
-
transformUrl(url) {
|
|
27463
|
-
return new Promise(resolve => {
|
|
27464
|
-
var reg = /(\$\{(\w+)\})/;
|
|
27465
|
-
var match = reg.exec(url);
|
|
27466
|
-
if (match) {
|
|
27467
|
-
let alias = match[2];
|
|
27468
|
-
if (alias) {
|
|
27469
|
-
this.$requestConfig.getHostByAlias(alias).then(res => {
|
|
27470
|
-
if (res && res.value && res.value.rootAddress) {
|
|
27471
|
-
resolve(url.replace(match[1], res.value.rootAddress));
|
|
27472
|
-
} else {
|
|
27473
|
-
resolve(url);
|
|
27474
|
-
}
|
|
27475
|
-
});
|
|
27476
|
-
} else {
|
|
27477
|
-
resolve(url);
|
|
27478
|
-
}
|
|
27479
|
-
} else {
|
|
27480
|
-
resolve(url);
|
|
27481
|
-
}
|
|
27482
|
-
});
|
|
27483
|
-
},
|
|
27484
|
-
// 获取对话框配置
|
|
27485
|
-
getDialogConfig() {
|
|
27486
|
-
if (this.custdialog && this.custdialog.custDialog && this.custdialog.custDialog.alias) this.$requestConfig.getCustomDialogByAlias(this.custdialog.custDialog.alias).then(response => {
|
|
27487
|
-
if (response) {
|
|
27488
|
-
this.dialogConfig = response;
|
|
27489
|
-
}
|
|
27490
|
-
});
|
|
27491
|
-
},
|
|
27492
26949
|
editInputBlur() {
|
|
27493
26950
|
this.$emit('input', this.customValue);
|
|
27494
26951
|
this.isEditInputShow = false;
|
|
@@ -27563,8 +27020,8 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27563
27020
|
});
|
|
27564
27021
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=script&lang=js&
|
|
27565
27022
|
/* harmony default export */ var packages_CustomDialog_src_mainvue_type_script_lang_js_ = (CustomDialog_src_mainvue_type_script_lang_js_);
|
|
27566
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=
|
|
27567
|
-
var
|
|
27023
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=0b5eb5e6&prod&lang=scss&scoped=true&
|
|
27024
|
+
var mainvue_type_style_index_0_id_0b5eb5e6_prod_lang_scss_scoped_true_ = __webpack_require__("be12");
|
|
27568
27025
|
|
|
27569
27026
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue
|
|
27570
27027
|
|
|
@@ -27577,11 +27034,11 @@ var mainvue_type_style_index_0_id_2bda41f4_prod_lang_scss_scoped_true_ = __webpa
|
|
|
27577
27034
|
|
|
27578
27035
|
var CustomDialog_src_main_component = normalizeComponent(
|
|
27579
27036
|
packages_CustomDialog_src_mainvue_type_script_lang_js_,
|
|
27580
|
-
|
|
27581
|
-
|
|
27037
|
+
mainvue_type_template_id_0b5eb5e6_scoped_true_render,
|
|
27038
|
+
mainvue_type_template_id_0b5eb5e6_scoped_true_staticRenderFns,
|
|
27582
27039
|
false,
|
|
27583
27040
|
null,
|
|
27584
|
-
"
|
|
27041
|
+
"0b5eb5e6",
|
|
27585
27042
|
null
|
|
27586
27043
|
|
|
27587
27044
|
)
|