three-trees-ui 1.0.2 → 1.0.4
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 +347 -480
- package/lib/three-trees-ui.css +1 -1
- package/lib/three-trees-ui.umd.js +347 -480
- package/lib/three-trees-ui.umd.min.js +1 -1
- package/package.json +1 -1
- package/packages/CustomDialog/src/customDialog.vue +142 -195
- package/packages/CustomDialog/src/customMobileDialog.vue +111 -166
- package/packages/CustomDialog/src/main.vue +5 -109
- package/src/mixins/templatePreview.js +60 -29
|
@@ -1861,13 +1861,6 @@ const SubPagination = {
|
|
|
1861
1861
|
/* unused harmony reexport * */
|
|
1862
1862
|
|
|
1863
1863
|
|
|
1864
|
-
/***/ }),
|
|
1865
|
-
|
|
1866
|
-
/***/ "1737":
|
|
1867
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1868
|
-
|
|
1869
|
-
// extracted by mini-css-extract-plugin
|
|
1870
|
-
|
|
1871
1864
|
/***/ }),
|
|
1872
1865
|
|
|
1873
1866
|
/***/ "17b6":
|
|
@@ -1911,6 +1904,13 @@ const SubPagination = {
|
|
|
1911
1904
|
/* unused harmony reexport * */
|
|
1912
1905
|
|
|
1913
1906
|
|
|
1907
|
+
/***/ }),
|
|
1908
|
+
|
|
1909
|
+
/***/ "1c11":
|
|
1910
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1911
|
+
|
|
1912
|
+
// extracted by mini-css-extract-plugin
|
|
1913
|
+
|
|
1914
1914
|
/***/ }),
|
|
1915
1915
|
|
|
1916
1916
|
/***/ "1ccc":
|
|
@@ -2065,17 +2065,6 @@ module.exports = require("vuedraggable");
|
|
|
2065
2065
|
/* unused harmony reexport * */
|
|
2066
2066
|
|
|
2067
2067
|
|
|
2068
|
-
/***/ }),
|
|
2069
|
-
|
|
2070
|
-
/***/ "2f41":
|
|
2071
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2072
|
-
|
|
2073
|
-
"use strict";
|
|
2074
|
-
/* 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_0c95bb92_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("c82d");
|
|
2075
|
-
/* 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_0c95bb92_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_0c95bb92_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
2076
|
-
/* unused harmony reexport * */
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
2068
|
/***/ }),
|
|
2080
2069
|
|
|
2081
2070
|
/***/ "2fee":
|
|
@@ -2103,6 +2092,13 @@ module.exports = require("vuedraggable");
|
|
|
2103
2092
|
|
|
2104
2093
|
/***/ }),
|
|
2105
2094
|
|
|
2095
|
+
/***/ "333d":
|
|
2096
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2097
|
+
|
|
2098
|
+
// extracted by mini-css-extract-plugin
|
|
2099
|
+
|
|
2100
|
+
/***/ }),
|
|
2101
|
+
|
|
2106
2102
|
/***/ "33ce":
|
|
2107
2103
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2108
2104
|
|
|
@@ -2940,6 +2936,17 @@ Formulas.install = Vue => {
|
|
|
2940
2936
|
|
|
2941
2937
|
// extracted by mini-css-extract-plugin
|
|
2942
2938
|
|
|
2939
|
+
/***/ }),
|
|
2940
|
+
|
|
2941
|
+
/***/ "49f9":
|
|
2942
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2943
|
+
|
|
2944
|
+
"use strict";
|
|
2945
|
+
/* 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");
|
|
2946
|
+
/* 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__);
|
|
2947
|
+
/* unused harmony reexport * */
|
|
2948
|
+
|
|
2949
|
+
|
|
2943
2950
|
/***/ }),
|
|
2944
2951
|
|
|
2945
2952
|
/***/ "4a17":
|
|
@@ -2965,17 +2972,6 @@ Formulas.install = Vue => {
|
|
|
2965
2972
|
|
|
2966
2973
|
// extracted by mini-css-extract-plugin
|
|
2967
2974
|
|
|
2968
|
-
/***/ }),
|
|
2969
|
-
|
|
2970
|
-
/***/ "4dad":
|
|
2971
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2972
|
-
|
|
2973
|
-
"use strict";
|
|
2974
|
-
/* 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_0c95bb92_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1737");
|
|
2975
|
-
/* 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_0c95bb92_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_0c95bb92_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
2976
|
-
/* unused harmony reexport * */
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
2975
|
/***/ }),
|
|
2980
2976
|
|
|
2981
2977
|
/***/ "503b":
|
|
@@ -3459,17 +3455,6 @@ module.exports = require("element-ui");
|
|
|
3459
3455
|
|
|
3460
3456
|
module.exports = require("element-resize-detector");
|
|
3461
3457
|
|
|
3462
|
-
/***/ }),
|
|
3463
|
-
|
|
3464
|
-
/***/ "5fdd":
|
|
3465
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3466
|
-
|
|
3467
|
-
"use strict";
|
|
3468
|
-
/* 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_4d56e14d_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a7e3");
|
|
3469
|
-
/* 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_4d56e14d_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_4d56e14d_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
3470
|
-
/* unused harmony reexport * */
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
3458
|
/***/ }),
|
|
3474
3459
|
|
|
3475
3460
|
/***/ "60bb":
|
|
@@ -3862,13 +3847,6 @@ const {
|
|
|
3862
3847
|
|
|
3863
3848
|
/***/ }),
|
|
3864
3849
|
|
|
3865
|
-
/***/ "67de":
|
|
3866
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
3867
|
-
|
|
3868
|
-
// extracted by mini-css-extract-plugin
|
|
3869
|
-
|
|
3870
|
-
/***/ }),
|
|
3871
|
-
|
|
3872
3850
|
/***/ "68cf":
|
|
3873
3851
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3874
3852
|
|
|
@@ -4286,6 +4264,13 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4286
4264
|
|
|
4287
4265
|
/***/ }),
|
|
4288
4266
|
|
|
4267
|
+
/***/ "7c6e":
|
|
4268
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4269
|
+
|
|
4270
|
+
// extracted by mini-css-extract-plugin
|
|
4271
|
+
|
|
4272
|
+
/***/ }),
|
|
4273
|
+
|
|
4289
4274
|
/***/ "7d0a":
|
|
4290
4275
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4291
4276
|
|
|
@@ -4313,6 +4298,17 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4313
4298
|
|
|
4314
4299
|
// extracted by mini-css-extract-plugin
|
|
4315
4300
|
|
|
4301
|
+
/***/ }),
|
|
4302
|
+
|
|
4303
|
+
/***/ "7ff9":
|
|
4304
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4305
|
+
|
|
4306
|
+
"use strict";
|
|
4307
|
+
/* 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");
|
|
4308
|
+
/* 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__);
|
|
4309
|
+
/* unused harmony reexport * */
|
|
4310
|
+
|
|
4311
|
+
|
|
4316
4312
|
/***/ }),
|
|
4317
4313
|
|
|
4318
4314
|
/***/ "81f7":
|
|
@@ -4762,7 +4758,14 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
4762
4758
|
/***/ "9224":
|
|
4763
4759
|
/***/ (function(module) {
|
|
4764
4760
|
|
|
4765
|
-
module.exports = JSON.parse("{\"a\":\"1.0.
|
|
4761
|
+
module.exports = JSON.parse("{\"a\":\"1.0.4\"}");
|
|
4762
|
+
|
|
4763
|
+
/***/ }),
|
|
4764
|
+
|
|
4765
|
+
/***/ "923d":
|
|
4766
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4767
|
+
|
|
4768
|
+
// extracted by mini-css-extract-plugin
|
|
4766
4769
|
|
|
4767
4770
|
/***/ }),
|
|
4768
4771
|
|
|
@@ -4878,17 +4881,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHoAAABMCAYAAACi
|
|
|
4878
4881
|
/* unused harmony reexport * */
|
|
4879
4882
|
|
|
4880
4883
|
|
|
4881
|
-
/***/ }),
|
|
4882
|
-
|
|
4883
|
-
/***/ "a59b":
|
|
4884
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4885
|
-
|
|
4886
|
-
"use strict";
|
|
4887
|
-
/* 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_20c83109_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("67de");
|
|
4888
|
-
/* 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_20c83109_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_20c83109_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
4889
|
-
/* unused harmony reexport * */
|
|
4890
|
-
|
|
4891
|
-
|
|
4892
4884
|
/***/ }),
|
|
4893
4885
|
|
|
4894
4886
|
/***/ "a6f4":
|
|
@@ -4907,13 +4899,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHoAAABMCAYAAACi
|
|
|
4907
4899
|
/* unused harmony reexport * */
|
|
4908
4900
|
|
|
4909
4901
|
|
|
4910
|
-
/***/ }),
|
|
4911
|
-
|
|
4912
|
-
/***/ "a7e3":
|
|
4913
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4914
|
-
|
|
4915
|
-
// extracted by mini-css-extract-plugin
|
|
4916
|
-
|
|
4917
4902
|
/***/ }),
|
|
4918
4903
|
|
|
4919
4904
|
/***/ "a96c":
|
|
@@ -6471,6 +6456,17 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
|
|
|
6471
6456
|
|
|
6472
6457
|
// extracted by mini-css-extract-plugin
|
|
6473
6458
|
|
|
6459
|
+
/***/ }),
|
|
6460
|
+
|
|
6461
|
+
/***/ "bf72":
|
|
6462
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6463
|
+
|
|
6464
|
+
"use strict";
|
|
6465
|
+
/* 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_37fe7c68_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1c11");
|
|
6466
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_37fe7c68_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_37fe7c68_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
6467
|
+
/* unused harmony reexport * */
|
|
6468
|
+
|
|
6469
|
+
|
|
6474
6470
|
/***/ }),
|
|
6475
6471
|
|
|
6476
6472
|
/***/ "c0a9":
|
|
@@ -6594,13 +6590,6 @@ module.exports = require("jquery");
|
|
|
6594
6590
|
/* unused harmony reexport * */
|
|
6595
6591
|
|
|
6596
6592
|
|
|
6597
|
-
/***/ }),
|
|
6598
|
-
|
|
6599
|
-
/***/ "c82d":
|
|
6600
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
6601
|
-
|
|
6602
|
-
// extracted by mini-css-extract-plugin
|
|
6603
|
-
|
|
6604
6593
|
/***/ }),
|
|
6605
6594
|
|
|
6606
6595
|
/***/ "c8ba":
|
|
@@ -7193,6 +7182,17 @@ module.exports = require("deepmerge");
|
|
|
7193
7182
|
/* unused harmony reexport * */
|
|
7194
7183
|
|
|
7195
7184
|
|
|
7185
|
+
/***/ }),
|
|
7186
|
+
|
|
7187
|
+
/***/ "de6a":
|
|
7188
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7189
|
+
|
|
7190
|
+
"use strict";
|
|
7191
|
+
/* 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");
|
|
7192
|
+
/* 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__);
|
|
7193
|
+
/* unused harmony reexport * */
|
|
7194
|
+
|
|
7195
|
+
|
|
7196
7196
|
/***/ }),
|
|
7197
7197
|
|
|
7198
7198
|
/***/ "de9c":
|
|
@@ -23538,8 +23538,8 @@ Dialog_src_main.install = function (Vue) {
|
|
|
23538
23538
|
Vue.component(Dialog_src_main.name, Dialog_src_main);
|
|
23539
23539
|
};
|
|
23540
23540
|
/* harmony default export */ var Dialog = (Dialog_src_main);
|
|
23541
|
-
// 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=
|
|
23542
|
-
var
|
|
23541
|
+
// 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=37fe7c68&scoped=true&
|
|
23542
|
+
var mainvue_type_template_id_37fe7c68_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.has('custom-form.' + _vm.inputName)}},[_c('div',{attrs:{"slot":"content"},slot:"content"},[_vm._v(_vm._s(_vm.errors.first('custom-form.' + _vm.inputName)))]),(_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:({
|
|
23543
23543
|
right: _vm.inputSuffixWidth - 1 + 'px',
|
|
23544
23544
|
width: 'auto!important',
|
|
23545
23545
|
height: _vm.inputSuffixHeight - 4 + 'px',
|
|
@@ -23548,11 +23548,11 @@ var mainvue_type_template_id_20c83109_scoped_true_render = function () {var _vm=
|
|
|
23548
23548
|
: 'el-input__icon icon-duihuakuang',style:({
|
|
23549
23549
|
fontSize: '17px',
|
|
23550
23550
|
lineHeight: _vm.inputSuffixHeight + 'px',
|
|
23551
|
-
})}),_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();
|
|
23552
|
-
var
|
|
23551
|
+
})}),_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',{directives:[{name:"validate",rawName:"v-validate"}],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)}
|
|
23552
|
+
var mainvue_type_template_id_37fe7c68_scoped_true_staticRenderFns = []
|
|
23553
23553
|
|
|
23554
23554
|
|
|
23555
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=
|
|
23555
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=37fe7c68&scoped=true&
|
|
23556
23556
|
|
|
23557
23557
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.js
|
|
23558
23558
|
|
|
@@ -23674,19 +23674,19 @@ var mainvue_type_template_id_20c83109_scoped_true_staticRenderFns = []
|
|
|
23674
23674
|
}
|
|
23675
23675
|
}
|
|
23676
23676
|
});
|
|
23677
|
-
// 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=
|
|
23678
|
-
var
|
|
23677
|
+
// 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&
|
|
23678
|
+
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":{
|
|
23679
23679
|
alias: condition.config.customQuery.alias,
|
|
23680
23680
|
valueBind: condition.config.customQuery.valueBind,
|
|
23681
23681
|
noInit: '',
|
|
23682
23682
|
labelBind: condition.config.customQuery.labelBind,
|
|
23683
23683
|
gangedBind: '{}',
|
|
23684
23684
|
bind: condition.config.bind,
|
|
23685
|
-
},"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',{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)}
|
|
23686
|
-
var
|
|
23685
|
+
},"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)}
|
|
23686
|
+
var customDialogvue_type_template_id_3a57945e_scoped_true_staticRenderFns = []
|
|
23687
23687
|
|
|
23688
23688
|
|
|
23689
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=
|
|
23689
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=3a57945e&scoped=true&
|
|
23690
23690
|
|
|
23691
23691
|
// EXTERNAL MODULE: external "jquery"
|
|
23692
23692
|
var external_jquery_ = __webpack_require__("c5e1");
|
|
@@ -24022,8 +24022,7 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24022
24022
|
isReadOnly: {
|
|
24023
24023
|
type: Boolean,
|
|
24024
24024
|
default: false
|
|
24025
|
-
}
|
|
24026
|
-
dialogConfig: Object
|
|
24025
|
+
}
|
|
24027
24026
|
},
|
|
24028
24027
|
data() {
|
|
24029
24028
|
return {
|
|
@@ -24107,13 +24106,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24107
24106
|
return [this.props1[0][this.nodeKey]];
|
|
24108
24107
|
}
|
|
24109
24108
|
return [];
|
|
24110
|
-
},
|
|
24111
|
-
jumpParamKey() {
|
|
24112
|
-
return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
|
|
24113
|
-
},
|
|
24114
|
-
// 是否保存成跳转url参数
|
|
24115
|
-
isHaveJumpUrl() {
|
|
24116
|
-
return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
24117
24109
|
}
|
|
24118
24110
|
},
|
|
24119
24111
|
watch: {
|
|
@@ -24133,7 +24125,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24133
24125
|
});
|
|
24134
24126
|
}
|
|
24135
24127
|
}
|
|
24136
|
-
this.initTableHeight();
|
|
24137
24128
|
},
|
|
24138
24129
|
immediate: true,
|
|
24139
24130
|
deep: true
|
|
@@ -24152,144 +24143,135 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24152
24143
|
methods: {
|
|
24153
24144
|
showDialog() {
|
|
24154
24145
|
let isMounted = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
24146
|
+
const this_ = this;
|
|
24155
24147
|
this.fixedParams = {};
|
|
24156
|
-
// 如果已存在配置信息就不去请求配置信息 直接初始化数据
|
|
24157
|
-
if (this.dialogConfig) {
|
|
24158
|
-
this.initDialog(this.dialogConfig, isMounted);
|
|
24159
|
-
return;
|
|
24160
|
-
}
|
|
24161
24148
|
var alias = this.custdialog.custDialog.alias;
|
|
24162
24149
|
this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
|
|
24163
|
-
|
|
24164
|
-
|
|
24165
|
-
|
|
24166
|
-
initDialog(customDialog, isMounted) {
|
|
24167
|
-
let alias = this.custdialog.custDialog.alias;
|
|
24168
|
-
const this_ = this;
|
|
24169
|
-
if (!customDialog || !customDialog.alias) {
|
|
24170
|
-
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
24171
|
-
return;
|
|
24172
|
-
}
|
|
24173
|
-
if (customDialog.style == 1) {
|
|
24174
|
-
var displaylist = JSON.parse(customDialog.displayfield);
|
|
24175
|
-
this_.nodeKey = displaylist.id;
|
|
24176
|
-
}
|
|
24177
|
-
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
24178
|
-
let obj = {};
|
|
24179
|
-
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
24180
|
-
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
24181
|
-
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
24182
|
-
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
24183
|
-
if (exp) {
|
|
24184
|
-
const params = JSON.parse(exp);
|
|
24185
|
-
if (params.pageBean) {
|
|
24186
|
-
this.pagination = {
|
|
24187
|
-
...params.pageBean
|
|
24188
|
-
};
|
|
24189
|
-
}
|
|
24150
|
+
if (!customDialog || !customDialog.alias) {
|
|
24151
|
+
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
24152
|
+
return;
|
|
24190
24153
|
}
|
|
24191
|
-
|
|
24192
|
-
|
|
24193
|
-
|
|
24194
|
-
|
|
24195
|
-
|
|
24196
|
-
|
|
24197
|
-
|
|
24198
|
-
|
|
24199
|
-
|
|
24200
|
-
|
|
24201
|
-
|
|
24202
|
-
|
|
24203
|
-
|
|
24204
|
-
|
|
24205
|
-
|
|
24206
|
-
|
|
24207
|
-
|
|
24208
|
-
this_.executeScriptResult = res && res.value;
|
|
24209
|
-
});
|
|
24210
|
-
}
|
|
24211
|
-
});
|
|
24212
|
-
}
|
|
24213
|
-
//判断对话框查询是否有条件
|
|
24214
|
-
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
24215
|
-
this_.quickSearch = ''; //填写提示 placeholder
|
|
24216
|
-
this_.conditionBind = [];
|
|
24217
|
-
let queryParams = [];
|
|
24218
|
-
let placeholders = [];
|
|
24219
|
-
if (userInputList.length > 0) {
|
|
24220
|
-
userInputList.forEach(ele => {
|
|
24221
|
-
var obj = {};
|
|
24222
|
-
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
24223
|
-
if (ele.defaultType == '1') {
|
|
24224
|
-
obj[ele.field] = '';
|
|
24225
|
-
queryParams.push(obj);
|
|
24226
|
-
// queryParams[ele.field] = "";
|
|
24227
|
-
this_.conditionBind.push(ele);
|
|
24228
|
-
placeholders.push('请输入' + ele.comment);
|
|
24229
|
-
}
|
|
24230
|
-
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
24231
|
-
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
24154
|
+
if (customDialog.style == 1) {
|
|
24155
|
+
var displaylist = JSON.parse(customDialog.displayfield);
|
|
24156
|
+
this_.nodeKey = displaylist.id;
|
|
24157
|
+
}
|
|
24158
|
+
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
24159
|
+
let obj = {};
|
|
24160
|
+
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
24161
|
+
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
24162
|
+
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
24163
|
+
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
24164
|
+
if (exp) {
|
|
24165
|
+
const params = JSON.parse(exp);
|
|
24166
|
+
if (params.pageBean) {
|
|
24167
|
+
this.pagination = {
|
|
24168
|
+
...params.pageBean
|
|
24169
|
+
};
|
|
24170
|
+
}
|
|
24232
24171
|
}
|
|
24233
|
-
}
|
|
24234
|
-
|
|
24235
|
-
|
|
24236
|
-
|
|
24237
|
-
|
|
24238
|
-
|
|
24239
|
-
|
|
24240
|
-
|
|
24241
|
-
|
|
24242
|
-
|
|
24243
|
-
|
|
24244
|
-
|
|
24245
|
-
|
|
24246
|
-
|
|
24247
|
-
|
|
24248
|
-
|
|
24249
|
-
|
|
24250
|
-
|
|
24251
|
-
|
|
24172
|
+
}
|
|
24173
|
+
//对话框按表单字段查询(参数传入的)
|
|
24174
|
+
let bindList = this_.custdialog.custDialog.conditions;
|
|
24175
|
+
this_.param = []; //绑定的表单字段
|
|
24176
|
+
if (bindList.length > 0) {
|
|
24177
|
+
bindList.forEach(ele => {
|
|
24178
|
+
//绑定表单字段
|
|
24179
|
+
if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
|
|
24180
|
+
let obj = {};
|
|
24181
|
+
obj.field = ele.field;
|
|
24182
|
+
obj.bind = ele.bind;
|
|
24183
|
+
obj.bindType = ele.bindType;
|
|
24184
|
+
this_.param.push(obj);
|
|
24185
|
+
}
|
|
24186
|
+
//取值对象为脚本时获取value
|
|
24187
|
+
if (ele.bindType === 3) {
|
|
24188
|
+
this_.$requestConfig.executeScript(ele.bind).then(res => {
|
|
24189
|
+
this_.executeScriptResult = res && res.value;
|
|
24190
|
+
});
|
|
24191
|
+
}
|
|
24192
|
+
});
|
|
24193
|
+
}
|
|
24194
|
+
//判断对话框查询是否有条件
|
|
24195
|
+
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
24196
|
+
this_.quickSearch = ''; //填写提示 placeholder
|
|
24197
|
+
this_.conditionBind = [];
|
|
24198
|
+
let queryParams = [];
|
|
24199
|
+
let placeholders = [];
|
|
24200
|
+
if (userInputList.length > 0) {
|
|
24201
|
+
userInputList.forEach(ele => {
|
|
24202
|
+
var obj = {};
|
|
24203
|
+
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
24204
|
+
if (ele.defaultType == '1') {
|
|
24205
|
+
obj[ele.field] = '';
|
|
24206
|
+
queryParams.push(obj);
|
|
24207
|
+
// queryParams[ele.field] = "";
|
|
24208
|
+
this_.conditionBind.push(ele);
|
|
24209
|
+
placeholders.push('请输入' + ele.comment);
|
|
24210
|
+
}
|
|
24211
|
+
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
24212
|
+
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
24213
|
+
}
|
|
24214
|
+
});
|
|
24215
|
+
this.$set(this, 'queryParams', queryParams);
|
|
24216
|
+
this.$set(this, 'placeholders', placeholders);
|
|
24217
|
+
}
|
|
24218
|
+
//判断是否显示条件查询输入框
|
|
24219
|
+
if (this_.quickSearch != '') {
|
|
24220
|
+
this_.querysShow = true;
|
|
24221
|
+
} else {
|
|
24222
|
+
this_.querysShow = true;
|
|
24223
|
+
}
|
|
24224
|
+
this_.quickSearch = '请输入' + this.quickSearch + '查询';
|
|
24225
|
+
this_.style = 'height:' + customDialog.height + 'px';
|
|
24226
|
+
if (window.screen.height && window.screen.height <= 900) {
|
|
24227
|
+
this.style = 'height:440px';
|
|
24228
|
+
}
|
|
24229
|
+
if (customDialog.style == 0 || customDialog.style == 2) {
|
|
24230
|
+
//列表
|
|
24231
|
+
setTimeout(() => {
|
|
24232
|
+
this_.customDialogShow({
|
|
24233
|
+
alias: alias,
|
|
24234
|
+
customDialog: customDialog
|
|
24235
|
+
}, isMounted);
|
|
24236
|
+
}, 100);
|
|
24237
|
+
} else if (customDialog.style == 1) {
|
|
24238
|
+
//树形
|
|
24239
|
+
this_.pageParam = {
|
|
24252
24240
|
alias: alias,
|
|
24253
24241
|
customDialog: customDialog
|
|
24254
|
-
}
|
|
24255
|
-
|
|
24256
|
-
|
|
24257
|
-
|
|
24258
|
-
|
|
24259
|
-
|
|
24260
|
-
|
|
24261
|
-
|
|
24262
|
-
|
|
24263
|
-
|
|
24264
|
-
|
|
24265
|
-
|
|
24266
|
-
|
|
24267
|
-
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
24268
|
-
if (this_.conditionfieldTree.length > 0) {
|
|
24269
|
-
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
24270
|
-
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
24271
|
-
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
24272
|
-
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
24242
|
+
};
|
|
24243
|
+
this_.customDialog = customDialog;
|
|
24244
|
+
let param = {};
|
|
24245
|
+
this_.conditionfieldTree = [];
|
|
24246
|
+
//判断是否存在条件
|
|
24247
|
+
if (customDialog.conditionfield) {
|
|
24248
|
+
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
24249
|
+
if (this_.conditionfieldTree.length > 0) {
|
|
24250
|
+
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
24251
|
+
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
24252
|
+
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
24253
|
+
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
24254
|
+
}
|
|
24273
24255
|
}
|
|
24274
24256
|
}
|
|
24275
24257
|
}
|
|
24276
|
-
|
|
24277
|
-
|
|
24278
|
-
|
|
24279
|
-
|
|
24280
|
-
|
|
24281
|
-
|
|
24282
|
-
|
|
24283
|
-
|
|
24258
|
+
//有动态传入的字段
|
|
24259
|
+
if (!isMounted) {
|
|
24260
|
+
if (JSON.stringify(param) != '{}') {
|
|
24261
|
+
this_.dialogVisible = true;
|
|
24262
|
+
} else {
|
|
24263
|
+
//无动态传入的字段
|
|
24264
|
+
this_.customDialogTreeShow(this_.pageParam);
|
|
24265
|
+
}
|
|
24284
24266
|
}
|
|
24285
24267
|
}
|
|
24286
|
-
}
|
|
24268
|
+
});
|
|
24287
24269
|
},
|
|
24288
24270
|
initTableHeight() {
|
|
24289
24271
|
this.$nextTick(() => {
|
|
24290
|
-
let mainEl =
|
|
24291
|
-
if (mainEl
|
|
24292
|
-
this.tableHeight = mainEl
|
|
24272
|
+
let mainEl = this.$refs.customTableRef;
|
|
24273
|
+
if (mainEl) {
|
|
24274
|
+
this.tableHeight = mainEl.$el.clientHeight - 2 > 350 ? mainEl.$el.clientHeight - 2 : 350;
|
|
24293
24275
|
}
|
|
24294
24276
|
});
|
|
24295
24277
|
},
|
|
@@ -24412,13 +24394,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24412
24394
|
}
|
|
24413
24395
|
// 添加用户id 岗位id 组织id
|
|
24414
24396
|
try {
|
|
24415
|
-
if (this.$requestConfig.getUserId
|
|
24397
|
+
if (this.$requestConfig.getUserId()) {
|
|
24416
24398
|
ctx.userId = this.$requestConfig.getUserId();
|
|
24417
24399
|
}
|
|
24418
|
-
if (this.$requestConfig.getOrgId
|
|
24400
|
+
if (this.$requestConfig.getOrgId()) {
|
|
24419
24401
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
24420
24402
|
}
|
|
24421
|
-
if (this.$requestConfig.getPostId
|
|
24403
|
+
if (this.$requestConfig.getPostId()) {
|
|
24422
24404
|
ctx.postId = this.$requestConfig.getPostId();
|
|
24423
24405
|
}
|
|
24424
24406
|
} catch (e) {
|
|
@@ -24479,7 +24461,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24479
24461
|
if (this.customDialog.selectNum === 1) {
|
|
24480
24462
|
nodes = this.propsData[0];
|
|
24481
24463
|
var temp = '';
|
|
24482
|
-
debugger;
|
|
24483
24464
|
for (var j = 0; j < comment.length; j++) {
|
|
24484
24465
|
temp += '"' + comment[j] + '":"' + nodes[field[j]] + '",';
|
|
24485
24466
|
}
|
|
@@ -24502,15 +24483,10 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24502
24483
|
}
|
|
24503
24484
|
const pInst = utils["a" /* default */].getOnlineFormInstance(this);
|
|
24504
24485
|
this.selectOrgs = this.convertComment2Field(str, field);
|
|
24505
|
-
this.custdialog.custDialog.mappingConf.forEach(
|
|
24486
|
+
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
24506
24487
|
var val = '';
|
|
24507
24488
|
str.forEach(item => {
|
|
24508
|
-
|
|
24509
|
-
if (this.jumpParamKey && this.isHaveJumpUrl && this.modelName == 'data.' + con['target'][0]) {
|
|
24510
|
-
val += `${item[con.from]}¯${this.jumpParamKey}:${this.selectOrgs[index][this.jumpParamKey]},`;
|
|
24511
|
-
} else {
|
|
24512
|
-
val += item[con.from] + ',';
|
|
24513
|
-
}
|
|
24489
|
+
val += item[con.from] + ',';
|
|
24514
24490
|
});
|
|
24515
24491
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
24516
24492
|
utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
|
|
@@ -24632,13 +24608,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24632
24608
|
queryParamMap.total = pageBean.pageBean.total;
|
|
24633
24609
|
// 添加用户id 岗位id 组织id
|
|
24634
24610
|
try {
|
|
24635
|
-
if (this.$requestConfig.getUserId
|
|
24611
|
+
if (this.$requestConfig.getUserId()) {
|
|
24636
24612
|
ctx.userId = this.$requestConfig.getUserId();
|
|
24637
24613
|
}
|
|
24638
|
-
if (this.$requestConfig.getOrgId
|
|
24614
|
+
if (this.$requestConfig.getOrgId()) {
|
|
24639
24615
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
24640
24616
|
}
|
|
24641
|
-
if (this.$requestConfig.getPostId
|
|
24617
|
+
if (this.$requestConfig.getPostId()) {
|
|
24642
24618
|
ctx.postId = this.$requestConfig.getPostId();
|
|
24643
24619
|
}
|
|
24644
24620
|
} catch (e) {
|
|
@@ -24659,7 +24635,7 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24659
24635
|
value: queryParamMap[bindKey] || ctx[bindKey] || ''
|
|
24660
24636
|
};
|
|
24661
24637
|
});
|
|
24662
|
-
param.querys = queryList
|
|
24638
|
+
param.querys = queryList;
|
|
24663
24639
|
if (this.customDialog.needPage) {
|
|
24664
24640
|
param.pageBean = obj;
|
|
24665
24641
|
} else {
|
|
@@ -24677,6 +24653,7 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24677
24653
|
totalKey: this.customDialog.totalKey
|
|
24678
24654
|
};
|
|
24679
24655
|
this.getDialoglistJson(requestParam).then(() => {
|
|
24656
|
+
this.initTableHeight();
|
|
24680
24657
|
this.checkList();
|
|
24681
24658
|
});
|
|
24682
24659
|
} catch (e) {
|
|
@@ -24690,11 +24667,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24690
24667
|
});
|
|
24691
24668
|
this.customDialog.pageBean = queryFilter;
|
|
24692
24669
|
this.getDialoglistJson(this.customDialog).then(() => {
|
|
24670
|
+
this.initTableHeight();
|
|
24693
24671
|
this.checkList();
|
|
24694
24672
|
});
|
|
24695
24673
|
} else {
|
|
24696
24674
|
this.customDialog.pageBean = pageBean;
|
|
24697
24675
|
this.getDialoglistJson(this.customDialog).then(() => {
|
|
24676
|
+
this.initTableHeight();
|
|
24698
24677
|
this.checkList();
|
|
24699
24678
|
});
|
|
24700
24679
|
}
|
|
@@ -24926,8 +24905,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24926
24905
|
},
|
|
24927
24906
|
// 同步选择结果
|
|
24928
24907
|
syncInputValue() {
|
|
24929
|
-
// 对话框跳转url需要两个参数 1当前控件绑定的对象参数modelName 2对话框配置中配置的key名称
|
|
24930
|
-
// 同步值时,如果有绑定url跳转参数,值格式为 名称¯跳转key:跳转value
|
|
24931
24908
|
let thisIndex = null; //当前数据所在下标
|
|
24932
24909
|
let parentIndex = null; //父节点所在下标
|
|
24933
24910
|
if (this.$parent.$el) {
|
|
@@ -25006,13 +24983,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25006
24983
|
var val = '';
|
|
25007
24984
|
var from = con.from.toLowerCase();
|
|
25008
24985
|
str.forEach(item => {
|
|
25009
|
-
// 如果有绑定url跳转参数 需获取跳转参数的key
|
|
25010
24986
|
if (item) {
|
|
25011
|
-
|
|
25012
|
-
val += `${decodeURIComponent(item[from])}¯${this.jumpParamKey}:${item[this.jumpParamKey]},`;
|
|
25013
|
-
} else {
|
|
25014
|
-
val += decodeURIComponent(item[from]) + ',';
|
|
25015
|
-
}
|
|
24987
|
+
val += decodeURIComponent(item[from]) + ',';
|
|
25016
24988
|
}
|
|
25017
24989
|
});
|
|
25018
24990
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
@@ -25263,8 +25235,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25263
25235
|
});
|
|
25264
25236
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=script&lang=js&
|
|
25265
25237
|
/* harmony default export */ var src_customDialogvue_type_script_lang_js_ = (customDialogvue_type_script_lang_js_);
|
|
25266
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=
|
|
25267
|
-
var
|
|
25238
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=3a57945e&prod&lang=scss&scoped=true&
|
|
25239
|
+
var customDialogvue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true_ = __webpack_require__("7ff9");
|
|
25268
25240
|
|
|
25269
25241
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue
|
|
25270
25242
|
|
|
@@ -25277,18 +25249,18 @@ var customDialogvue_type_style_index_0_id_4d56e14d_prod_lang_scss_scoped_true_ =
|
|
|
25277
25249
|
|
|
25278
25250
|
var customDialog_component = normalizeComponent(
|
|
25279
25251
|
src_customDialogvue_type_script_lang_js_,
|
|
25280
|
-
|
|
25281
|
-
|
|
25252
|
+
customDialogvue_type_template_id_3a57945e_scoped_true_render,
|
|
25253
|
+
customDialogvue_type_template_id_3a57945e_scoped_true_staticRenderFns,
|
|
25282
25254
|
false,
|
|
25283
25255
|
null,
|
|
25284
|
-
"
|
|
25256
|
+
"3a57945e",
|
|
25285
25257
|
null
|
|
25286
25258
|
|
|
25287
25259
|
)
|
|
25288
25260
|
|
|
25289
25261
|
/* harmony default export */ var CustomDialog_src_customDialog = (customDialog_component.exports);
|
|
25290
|
-
// 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=
|
|
25291
|
-
var
|
|
25262
|
+
// 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&
|
|
25263
|
+
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":{
|
|
25292
25264
|
alias: condition.config.customQuery.alias,
|
|
25293
25265
|
valueBind: condition.config.customQuery.valueBind,
|
|
25294
25266
|
noInit: '',
|
|
@@ -25298,10 +25270,10 @@ var customMobileDialogvue_type_template_id_0c95bb92_scoped_true_render = functio
|
|
|
25298
25270
|
},"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(
|
|
25299
25271
|
function (k) { return k.defaultType == '4'; }
|
|
25300
25272
|
)),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)}
|
|
25301
|
-
var
|
|
25273
|
+
var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns = []
|
|
25302
25274
|
|
|
25303
25275
|
|
|
25304
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=
|
|
25276
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=1661eebb&scoped=true&
|
|
25305
25277
|
|
|
25306
25278
|
// 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&
|
|
25307
25279
|
//
|
|
@@ -25583,8 +25555,7 @@ var customMobileDialogvue_type_template_id_0c95bb92_scoped_true_staticRenderFns
|
|
|
25583
25555
|
subIndex: Number,
|
|
25584
25556
|
sunIndex: Number,
|
|
25585
25557
|
subPath: String,
|
|
25586
|
-
currentSubData: Array
|
|
25587
|
-
dialogConfig: Object
|
|
25558
|
+
currentSubData: Array
|
|
25588
25559
|
},
|
|
25589
25560
|
data() {
|
|
25590
25561
|
return {
|
|
@@ -25667,13 +25638,6 @@ var customMobileDialogvue_type_template_id_0c95bb92_scoped_true_staticRenderFns
|
|
|
25667
25638
|
sureButtonText() {
|
|
25668
25639
|
const selectedText = this.selectIds.length > 0 ? `(${this.selectIds.length})` : '';
|
|
25669
25640
|
return `${this.$t('ht.common.confirm')}${selectedText}`;
|
|
25670
|
-
},
|
|
25671
|
-
jumpParamKey() {
|
|
25672
|
-
return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
|
|
25673
|
-
},
|
|
25674
|
-
// 是否保存成跳转url参数
|
|
25675
|
-
isHaveJumpUrl() {
|
|
25676
|
-
return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
25677
25641
|
}
|
|
25678
25642
|
},
|
|
25679
25643
|
methods: {
|
|
@@ -25722,121 +25686,112 @@ var customMobileDialogvue_type_template_id_0c95bb92_scoped_true_staticRenderFns
|
|
|
25722
25686
|
this.search(true);
|
|
25723
25687
|
},
|
|
25724
25688
|
showDialog() {
|
|
25689
|
+
const this_ = this;
|
|
25725
25690
|
this.fixedParams = {};
|
|
25726
|
-
// 如果已存在配置信息就不去请求配置信息 直接初始化数据
|
|
25727
|
-
if (this.dialogConfig) {
|
|
25728
|
-
this.initDialog(this.dialogConfig);
|
|
25729
|
-
return;
|
|
25730
|
-
}
|
|
25731
25691
|
var alias = this.custdialog.custDialog.alias;
|
|
25732
25692
|
this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
|
|
25733
|
-
|
|
25734
|
-
|
|
25735
|
-
|
|
25736
|
-
initDialog(customDialog) {
|
|
25737
|
-
let alias = this.custdialog.custDialog.alias;
|
|
25738
|
-
const this_ = this;
|
|
25739
|
-
if (!customDialog || !customDialog.alias) {
|
|
25740
|
-
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
25741
|
-
return;
|
|
25742
|
-
}
|
|
25743
|
-
if (customDialog.style == 1) {
|
|
25744
|
-
var displaylist = JSON.parse(customDialog.displayfield);
|
|
25745
|
-
this_.nodeKey = displaylist.id;
|
|
25746
|
-
}
|
|
25747
|
-
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
25748
|
-
let obj = {};
|
|
25749
|
-
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
25750
|
-
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
25751
|
-
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
25752
|
-
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
25753
|
-
if (exp) {
|
|
25754
|
-
const params = JSON.parse(exp);
|
|
25755
|
-
if (params.pageBean) {
|
|
25756
|
-
this.pagination = {
|
|
25757
|
-
...params.pageBean
|
|
25758
|
-
};
|
|
25759
|
-
}
|
|
25693
|
+
if (!customDialog || !customDialog.alias) {
|
|
25694
|
+
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
25695
|
+
return;
|
|
25760
25696
|
}
|
|
25761
|
-
|
|
25762
|
-
|
|
25763
|
-
|
|
25764
|
-
|
|
25765
|
-
|
|
25766
|
-
|
|
25767
|
-
|
|
25768
|
-
|
|
25769
|
-
|
|
25770
|
-
|
|
25771
|
-
|
|
25772
|
-
|
|
25773
|
-
|
|
25774
|
-
|
|
25775
|
-
|
|
25776
|
-
|
|
25777
|
-
|
|
25697
|
+
if (customDialog.style == 1) {
|
|
25698
|
+
var displaylist = JSON.parse(customDialog.displayfield);
|
|
25699
|
+
this_.nodeKey = displaylist.id;
|
|
25700
|
+
}
|
|
25701
|
+
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
25702
|
+
let obj = {};
|
|
25703
|
+
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
25704
|
+
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
25705
|
+
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
25706
|
+
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
25707
|
+
if (exp) {
|
|
25708
|
+
const params = JSON.parse(exp);
|
|
25709
|
+
if (params.pageBean) {
|
|
25710
|
+
this.pagination = {
|
|
25711
|
+
...params.pageBean
|
|
25712
|
+
};
|
|
25713
|
+
}
|
|
25778
25714
|
}
|
|
25779
|
-
}
|
|
25780
|
-
|
|
25715
|
+
}
|
|
25716
|
+
//对话框按表单字段查询(参数传入的)
|
|
25717
|
+
let bindList = this_.custdialog.custDialog.conditions;
|
|
25718
|
+
this_.param = []; //绑定的表单字段
|
|
25719
|
+
if (bindList.length > 0) {
|
|
25720
|
+
bindList.forEach(ele => {
|
|
25721
|
+
//绑定表单字段
|
|
25722
|
+
if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
|
|
25723
|
+
let obj = {};
|
|
25724
|
+
obj.field = ele.field;
|
|
25725
|
+
obj.bind = ele.bind;
|
|
25726
|
+
obj.bindType = ele.bindType;
|
|
25727
|
+
this_.param.push(obj);
|
|
25728
|
+
}
|
|
25729
|
+
// bindType 1 表单字段 2固定 3脚本
|
|
25730
|
+
if (ele.defaultType == '3' && ele.bindType === 2) {
|
|
25731
|
+
this_.fixedParams[ele.field] = ele.bind || '';
|
|
25732
|
+
}
|
|
25733
|
+
});
|
|
25734
|
+
}
|
|
25781
25735
|
|
|
25782
|
-
|
|
25783
|
-
|
|
25784
|
-
|
|
25785
|
-
|
|
25786
|
-
|
|
25787
|
-
|
|
25788
|
-
|
|
25789
|
-
|
|
25790
|
-
|
|
25791
|
-
|
|
25792
|
-
|
|
25793
|
-
|
|
25794
|
-
|
|
25795
|
-
|
|
25796
|
-
|
|
25797
|
-
|
|
25798
|
-
|
|
25799
|
-
|
|
25800
|
-
|
|
25801
|
-
|
|
25802
|
-
|
|
25803
|
-
|
|
25804
|
-
|
|
25805
|
-
|
|
25806
|
-
|
|
25807
|
-
|
|
25808
|
-
|
|
25809
|
-
|
|
25810
|
-
|
|
25811
|
-
|
|
25812
|
-
|
|
25813
|
-
|
|
25814
|
-
|
|
25815
|
-
|
|
25816
|
-
|
|
25817
|
-
|
|
25818
|
-
|
|
25819
|
-
|
|
25820
|
-
|
|
25821
|
-
|
|
25822
|
-
|
|
25823
|
-
|
|
25824
|
-
|
|
25825
|
-
|
|
25826
|
-
|
|
25827
|
-
|
|
25736
|
+
//判断对话框查询是否有条件
|
|
25737
|
+
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
25738
|
+
this_.conditionBind = [];
|
|
25739
|
+
let queryParams = [];
|
|
25740
|
+
let placeholders = [];
|
|
25741
|
+
if (userInputList.length > 0) {
|
|
25742
|
+
userInputList.forEach(ele => {
|
|
25743
|
+
var obj = {};
|
|
25744
|
+
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
25745
|
+
if (ele.defaultType == '1') {
|
|
25746
|
+
obj[ele.field] = '';
|
|
25747
|
+
queryParams.push(obj);
|
|
25748
|
+
// queryParams[ele.field] = "";
|
|
25749
|
+
this_.conditionBind.push(ele);
|
|
25750
|
+
placeholders.push('请输入' + ele.comment);
|
|
25751
|
+
}
|
|
25752
|
+
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
25753
|
+
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
25754
|
+
}
|
|
25755
|
+
});
|
|
25756
|
+
this.$set(this, 'queryParams', queryParams);
|
|
25757
|
+
this.$set(this, 'placeholders', placeholders);
|
|
25758
|
+
}
|
|
25759
|
+
if (customDialog.style == 0 || customDialog.style == 2) {
|
|
25760
|
+
//列表
|
|
25761
|
+
this_.customDialogShow({
|
|
25762
|
+
alias: alias,
|
|
25763
|
+
customDialog: customDialog
|
|
25764
|
+
});
|
|
25765
|
+
} else if (customDialog.style == 1) {
|
|
25766
|
+
//树形
|
|
25767
|
+
this_.pageParam = {
|
|
25768
|
+
alias: alias,
|
|
25769
|
+
customDialog: customDialog
|
|
25770
|
+
};
|
|
25771
|
+
this_.customDialog = customDialog;
|
|
25772
|
+
let param = {};
|
|
25773
|
+
this_.conditionfieldTree = [];
|
|
25774
|
+
//判断是否存在条件
|
|
25775
|
+
if (customDialog.conditionfield) {
|
|
25776
|
+
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
25777
|
+
if (this_.conditionfieldTree.length > 0) {
|
|
25778
|
+
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
25779
|
+
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
25780
|
+
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
25781
|
+
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
25782
|
+
}
|
|
25828
25783
|
}
|
|
25829
25784
|
}
|
|
25830
25785
|
}
|
|
25786
|
+
//有动态传入的字段
|
|
25787
|
+
if (JSON.stringify(param) != '{}') {
|
|
25788
|
+
this_.dialogVisible = true;
|
|
25789
|
+
} else {
|
|
25790
|
+
//无动态传入的字段
|
|
25791
|
+
this_.customDialogTreeShow(this_.pageParam);
|
|
25792
|
+
}
|
|
25831
25793
|
}
|
|
25832
|
-
|
|
25833
|
-
if (JSON.stringify(param) != '{}') {
|
|
25834
|
-
this_.dialogVisible = true;
|
|
25835
|
-
} else {
|
|
25836
|
-
//无动态传入的字段
|
|
25837
|
-
this_.customDialogTreeShow(this_.pageParam);
|
|
25838
|
-
}
|
|
25839
|
-
}
|
|
25794
|
+
});
|
|
25840
25795
|
},
|
|
25841
25796
|
treeClick(data) {
|
|
25842
25797
|
// 单选
|
|
@@ -25954,13 +25909,13 @@ var customMobileDialogvue_type_template_id_0c95bb92_scoped_true_staticRenderFns
|
|
|
25954
25909
|
}
|
|
25955
25910
|
// 添加用户id 岗位id 组织id
|
|
25956
25911
|
try {
|
|
25957
|
-
if (this.$requestConfig.getUserId
|
|
25912
|
+
if (this.$requestConfig.getUserId()) {
|
|
25958
25913
|
ctx.userId = this.$requestConfig.getUserId();
|
|
25959
25914
|
}
|
|
25960
|
-
if (this.$requestConfig.getOrgId
|
|
25915
|
+
if (this.$requestConfig.getOrgId()) {
|
|
25961
25916
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
25962
25917
|
}
|
|
25963
|
-
if (this.$requestConfig.getPostId
|
|
25918
|
+
if (this.$requestConfig.getPostId()) {
|
|
25964
25919
|
ctx.postId = this.$requestConfig.getPostId();
|
|
25965
25920
|
}
|
|
25966
25921
|
} catch (e) {
|
|
@@ -26045,13 +26000,8 @@ var customMobileDialogvue_type_template_id_0c95bb92_scoped_true_staticRenderFns
|
|
|
26045
26000
|
this.selectOrgs = this.convertComment2Field(str, field);
|
|
26046
26001
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
26047
26002
|
var val = '';
|
|
26048
|
-
str.forEach(
|
|
26049
|
-
|
|
26050
|
-
if (this.jumpParamKey && this.isHaveJumpUrl && this.modelName == 'data.' + con['target'][0]) {
|
|
26051
|
-
val += `${item[con.from]}¯${this.jumpParamKey}:${this.selectOrgs[index][this.jumpParamKey]},`;
|
|
26052
|
-
} else {
|
|
26053
|
-
val += item[con.from] + ',';
|
|
26054
|
-
}
|
|
26003
|
+
str.forEach(item => {
|
|
26004
|
+
val += item[con.from] + ',';
|
|
26055
26005
|
});
|
|
26056
26006
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
26057
26007
|
utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
|
|
@@ -26172,13 +26122,13 @@ var customMobileDialogvue_type_template_id_0c95bb92_scoped_true_staticRenderFns
|
|
|
26172
26122
|
ctx.total = pageBean.pageBean.total;
|
|
26173
26123
|
// 添加用户id 岗位id 组织id
|
|
26174
26124
|
try {
|
|
26175
|
-
if (this.$requestConfig.getUserId
|
|
26125
|
+
if (this.$requestConfig.getUserId()) {
|
|
26176
26126
|
ctx.userId = this.$requestConfig.getUserId();
|
|
26177
26127
|
}
|
|
26178
|
-
if (this.$requestConfig.getOrgId
|
|
26128
|
+
if (this.$requestConfig.getOrgId()) {
|
|
26179
26129
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
26180
26130
|
}
|
|
26181
|
-
if (this.$requestConfig.getPostId
|
|
26131
|
+
if (this.$requestConfig.getPostId()) {
|
|
26182
26132
|
ctx.postId = this.$requestConfig.getPostId();
|
|
26183
26133
|
}
|
|
26184
26134
|
} catch (e) {
|
|
@@ -26445,11 +26395,7 @@ var customMobileDialogvue_type_template_id_0c95bb92_scoped_true_staticRenderFns
|
|
|
26445
26395
|
var from = con.from.toLowerCase();
|
|
26446
26396
|
str.forEach(item => {
|
|
26447
26397
|
if (item) {
|
|
26448
|
-
|
|
26449
|
-
val += `${decodeURIComponent(item[from])}¯${this.jumpParamKey}:${item[this.jumpParamKey]},`;
|
|
26450
|
-
} else {
|
|
26451
|
-
val += decodeURIComponent(item[from]) + ',';
|
|
26452
|
-
}
|
|
26398
|
+
val += decodeURIComponent(item[from]) + ',';
|
|
26453
26399
|
}
|
|
26454
26400
|
});
|
|
26455
26401
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
@@ -26701,11 +26647,11 @@ var customMobileDialogvue_type_template_id_0c95bb92_scoped_true_staticRenderFns
|
|
|
26701
26647
|
});
|
|
26702
26648
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=script&lang=js&
|
|
26703
26649
|
/* harmony default export */ var src_customMobileDialogvue_type_script_lang_js_ = (customMobileDialogvue_type_script_lang_js_);
|
|
26704
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=
|
|
26705
|
-
var
|
|
26650
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=1661eebb&prod&lang=scss&scoped=true&
|
|
26651
|
+
var customMobileDialogvue_type_style_index_0_id_1661eebb_prod_lang_scss_scoped_true_ = __webpack_require__("de6a");
|
|
26706
26652
|
|
|
26707
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=
|
|
26708
|
-
var
|
|
26653
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=1661eebb&prod&lang=scss&
|
|
26654
|
+
var customMobileDialogvue_type_style_index_1_id_1661eebb_prod_lang_scss_ = __webpack_require__("49f9");
|
|
26709
26655
|
|
|
26710
26656
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue
|
|
26711
26657
|
|
|
@@ -26719,11 +26665,11 @@ var customMobileDialogvue_type_style_index_1_id_0c95bb92_prod_lang_scss_ = __web
|
|
|
26719
26665
|
|
|
26720
26666
|
var customMobileDialog_component = normalizeComponent(
|
|
26721
26667
|
src_customMobileDialogvue_type_script_lang_js_,
|
|
26722
|
-
|
|
26723
|
-
|
|
26668
|
+
customMobileDialogvue_type_template_id_1661eebb_scoped_true_render,
|
|
26669
|
+
customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns,
|
|
26724
26670
|
false,
|
|
26725
26671
|
null,
|
|
26726
|
-
"
|
|
26672
|
+
"1661eebb",
|
|
26727
26673
|
null
|
|
26728
26674
|
|
|
26729
26675
|
)
|
|
@@ -26863,15 +26809,6 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26863
26809
|
//
|
|
26864
26810
|
//
|
|
26865
26811
|
//
|
|
26866
|
-
//
|
|
26867
|
-
//
|
|
26868
|
-
//
|
|
26869
|
-
//
|
|
26870
|
-
//
|
|
26871
|
-
//
|
|
26872
|
-
//
|
|
26873
|
-
//
|
|
26874
|
-
//
|
|
26875
26812
|
|
|
26876
26813
|
|
|
26877
26814
|
|
|
@@ -26907,8 +26844,6 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26907
26844
|
},
|
|
26908
26845
|
data() {
|
|
26909
26846
|
return {
|
|
26910
|
-
dialogConfig: null,
|
|
26911
|
-
// 对话框配置信息
|
|
26912
26847
|
isEditInputShow: false,
|
|
26913
26848
|
customValue: '',
|
|
26914
26849
|
defualtTooltipplacement: 'bottom',
|
|
@@ -26957,21 +26892,9 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26957
26892
|
}
|
|
26958
26893
|
let result = [];
|
|
26959
26894
|
nameAry.forEach(m => {
|
|
26960
|
-
|
|
26961
|
-
|
|
26962
|
-
|
|
26963
|
-
n.value = m.split('¯')[0];
|
|
26964
|
-
let jumpParamStr = m.split('¯')[1];
|
|
26965
|
-
if (jumpParamStr) {
|
|
26966
|
-
let jumpParam = jumpParamStr.split(':');
|
|
26967
|
-
n.jumpParamKey = jumpParam[0];
|
|
26968
|
-
n.jumpParamValue = jumpParam[1];
|
|
26969
|
-
}
|
|
26970
|
-
} else {
|
|
26971
|
-
n = {
|
|
26972
|
-
value: m
|
|
26973
|
-
};
|
|
26974
|
-
}
|
|
26895
|
+
let n = {
|
|
26896
|
+
value: m
|
|
26897
|
+
};
|
|
26975
26898
|
result.push(n);
|
|
26976
26899
|
});
|
|
26977
26900
|
return result;
|
|
@@ -26979,16 +26902,8 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26979
26902
|
},
|
|
26980
26903
|
isAllowCustom() {
|
|
26981
26904
|
return this.custdialog && this.custdialog.allowInput;
|
|
26982
|
-
},
|
|
26983
|
-
// 是否展示可跳转颜色
|
|
26984
|
-
isSrcColor() {
|
|
26985
|
-
return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
26986
26905
|
}
|
|
26987
26906
|
},
|
|
26988
|
-
created() {
|
|
26989
|
-
// 获取对话框配置,看是否有配置url跳转
|
|
26990
|
-
this.getDialogConfig();
|
|
26991
|
-
},
|
|
26992
26907
|
mounted() {
|
|
26993
26908
|
const {
|
|
26994
26909
|
subScopeEl
|
|
@@ -27007,60 +26922,6 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27007
26922
|
this.calacInputSuffixWidth();
|
|
27008
26923
|
},
|
|
27009
26924
|
methods: {
|
|
27010
|
-
// 跳转url页面
|
|
27011
|
-
jumpUrl(item) {
|
|
27012
|
-
if (!this.dialogConfig || !this.dialogConfig.pcUrl) {
|
|
27013
|
-
return;
|
|
27014
|
-
}
|
|
27015
|
-
let url = this.isMobile ? this.dialogConfig.mobileUrl : this.dialogConfig.pcUrl;
|
|
27016
|
-
// 获取通用token 和 url翻译
|
|
27017
|
-
Promise.all([this.$requestConfig.getThreeTreeToken(), this.transformUrl(url)]).then(res => {
|
|
27018
|
-
if (res[0] && res[0].code == 200) {
|
|
27019
|
-
let token = res[0].value;
|
|
27020
|
-
let endUrl = res[1];
|
|
27021
|
-
// 拼接参数 token和参数
|
|
27022
|
-
if (endUrl.indexOf('?') == -1) {
|
|
27023
|
-
endUrl += `?bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
|
|
27024
|
-
} else {
|
|
27025
|
-
endUrl += `&bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
|
|
27026
|
-
}
|
|
27027
|
-
window.open(endUrl);
|
|
27028
|
-
} else {
|
|
27029
|
-
this.$message.info(res.message || '获取token失败!');
|
|
27030
|
-
}
|
|
27031
|
-
});
|
|
27032
|
-
},
|
|
27033
|
-
// 替换url中域名通配符 需要发送接口
|
|
27034
|
-
transformUrl(url) {
|
|
27035
|
-
return new Promise(resolve => {
|
|
27036
|
-
var reg = /(\$\{(\w+)\})/;
|
|
27037
|
-
var match = reg.exec(url);
|
|
27038
|
-
if (match) {
|
|
27039
|
-
let alias = match[2];
|
|
27040
|
-
if (alias) {
|
|
27041
|
-
this.$requestConfig.getHostByAlias(alias).then(res => {
|
|
27042
|
-
if (res && res.value && res.value.rootAddress) {
|
|
27043
|
-
resolve(url.replace(match[1], res.value.rootAddress));
|
|
27044
|
-
} else {
|
|
27045
|
-
resolve(url);
|
|
27046
|
-
}
|
|
27047
|
-
});
|
|
27048
|
-
} else {
|
|
27049
|
-
resolve(url);
|
|
27050
|
-
}
|
|
27051
|
-
} else {
|
|
27052
|
-
resolve(url);
|
|
27053
|
-
}
|
|
27054
|
-
});
|
|
27055
|
-
},
|
|
27056
|
-
// 获取对话框配置
|
|
27057
|
-
getDialogConfig() {
|
|
27058
|
-
if (this.custdialog && this.custdialog.custDialog && this.custdialog.custDialog.alias) this.$requestConfig.getCustomDialogByAlias(this.custdialog.custDialog.alias).then(response => {
|
|
27059
|
-
if (response) {
|
|
27060
|
-
this.dialogConfig = response;
|
|
27061
|
-
}
|
|
27062
|
-
});
|
|
27063
|
-
},
|
|
27064
26925
|
editInputBlur() {
|
|
27065
26926
|
this.$emit('input', this.customValue);
|
|
27066
26927
|
this.isEditInputShow = false;
|
|
@@ -27135,8 +26996,8 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27135
26996
|
});
|
|
27136
26997
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=script&lang=js&
|
|
27137
26998
|
/* harmony default export */ var packages_CustomDialog_src_mainvue_type_script_lang_js_ = (CustomDialog_src_mainvue_type_script_lang_js_);
|
|
27138
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=
|
|
27139
|
-
var
|
|
26999
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=37fe7c68&prod&lang=scss&scoped=true&
|
|
27000
|
+
var mainvue_type_style_index_0_id_37fe7c68_prod_lang_scss_scoped_true_ = __webpack_require__("bf72");
|
|
27140
27001
|
|
|
27141
27002
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue
|
|
27142
27003
|
|
|
@@ -27149,11 +27010,11 @@ var mainvue_type_style_index_0_id_20c83109_prod_lang_scss_scoped_true_ = __webpa
|
|
|
27149
27010
|
|
|
27150
27011
|
var CustomDialog_src_main_component = normalizeComponent(
|
|
27151
27012
|
packages_CustomDialog_src_mainvue_type_script_lang_js_,
|
|
27152
|
-
|
|
27153
|
-
|
|
27013
|
+
mainvue_type_template_id_37fe7c68_scoped_true_render,
|
|
27014
|
+
mainvue_type_template_id_37fe7c68_scoped_true_staticRenderFns,
|
|
27154
27015
|
false,
|
|
27155
27016
|
null,
|
|
27156
|
-
"
|
|
27017
|
+
"37fe7c68",
|
|
27157
27018
|
null
|
|
27158
27019
|
|
|
27159
27020
|
)
|
|
@@ -45668,6 +45529,12 @@ const req = function (url) {
|
|
|
45668
45529
|
if (this.templateInfo.summaryRegionHtml) {
|
|
45669
45530
|
this.loadCompiledCustomSummary();
|
|
45670
45531
|
}
|
|
45532
|
+
// 修复初始化时 有的表格滚动不到底部的bug
|
|
45533
|
+
this.$nextTick(() => {
|
|
45534
|
+
if (this.pagination.page == 1) {
|
|
45535
|
+
this.$refs.multipleTemplateTable && this.$refs.multipleTemplateTable.calcTableHeight(300);
|
|
45536
|
+
}
|
|
45537
|
+
});
|
|
45671
45538
|
}).finally(() => {
|
|
45672
45539
|
this.multipleTemplateTableloading = false;
|
|
45673
45540
|
cb1 && cb1();
|