three-trees-ui 1.0.0 → 1.0.2
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 +497 -335
- package/lib/three-trees-ui.css +1 -1
- package/lib/three-trees-ui.umd.js +497 -335
- package/lib/three-trees-ui.umd.min.js +1 -1
- package/package.json +1 -1
- package/packages/CustomDialog/src/customDialog.vue +213 -134
- package/packages/CustomDialog/src/customMobileDialog.vue +166 -111
- package/packages/CustomDialog/src/main.vue +110 -5
|
@@ -1671,17 +1671,6 @@ const btnList = [{
|
|
|
1671
1671
|
|
|
1672
1672
|
// extracted by mini-css-extract-plugin
|
|
1673
1673
|
|
|
1674
|
-
/***/ }),
|
|
1675
|
-
|
|
1676
|
-
/***/ "120b":
|
|
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_customDialog_vue_vue_type_style_index_0_id_5a92d302_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("4975");
|
|
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_customDialog_vue_vue_type_style_index_0_id_5a92d302_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_5a92d302_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
1682
|
-
/* unused harmony reexport * */
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
1674
|
/***/ }),
|
|
1686
1675
|
|
|
1687
1676
|
/***/ "1303":
|
|
@@ -1881,6 +1870,13 @@ const SubPagination = {
|
|
|
1881
1870
|
/* unused harmony reexport * */
|
|
1882
1871
|
|
|
1883
1872
|
|
|
1873
|
+
/***/ }),
|
|
1874
|
+
|
|
1875
|
+
/***/ "1737":
|
|
1876
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1877
|
+
|
|
1878
|
+
// extracted by mini-css-extract-plugin
|
|
1879
|
+
|
|
1884
1880
|
/***/ }),
|
|
1885
1881
|
|
|
1886
1882
|
/***/ "17b6":
|
|
@@ -1924,17 +1920,6 @@ const SubPagination = {
|
|
|
1924
1920
|
/* unused harmony reexport * */
|
|
1925
1921
|
|
|
1926
1922
|
|
|
1927
|
-
/***/ }),
|
|
1928
|
-
|
|
1929
|
-
/***/ "1b91":
|
|
1930
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1931
|
-
|
|
1932
|
-
"use strict";
|
|
1933
|
-
/* 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_3c53678f_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("d284");
|
|
1934
|
-
/* 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_3c53678f_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_3c53678f_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
1935
|
-
/* unused harmony reexport * */
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
1923
|
/***/ }),
|
|
1939
1924
|
|
|
1940
1925
|
/***/ "1ccc":
|
|
@@ -2089,6 +2074,17 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__289a__;
|
|
|
2089
2074
|
/* unused harmony reexport * */
|
|
2090
2075
|
|
|
2091
2076
|
|
|
2077
|
+
/***/ }),
|
|
2078
|
+
|
|
2079
|
+
/***/ "2f41":
|
|
2080
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2081
|
+
|
|
2082
|
+
"use strict";
|
|
2083
|
+
/* 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");
|
|
2084
|
+
/* 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__);
|
|
2085
|
+
/* unused harmony reexport * */
|
|
2086
|
+
|
|
2087
|
+
|
|
2092
2088
|
/***/ }),
|
|
2093
2089
|
|
|
2094
2090
|
/***/ "2fee":
|
|
@@ -2948,54 +2944,47 @@ Formulas.install = Vue => {
|
|
|
2948
2944
|
|
|
2949
2945
|
/***/ }),
|
|
2950
2946
|
|
|
2951
|
-
/***/ "
|
|
2947
|
+
/***/ "49f8":
|
|
2952
2948
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2953
2949
|
|
|
2954
2950
|
// extracted by mini-css-extract-plugin
|
|
2955
2951
|
|
|
2956
2952
|
/***/ }),
|
|
2957
2953
|
|
|
2958
|
-
/***/ "
|
|
2954
|
+
/***/ "4a17":
|
|
2959
2955
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2960
2956
|
|
|
2961
2957
|
// extracted by mini-css-extract-plugin
|
|
2962
2958
|
|
|
2963
2959
|
/***/ }),
|
|
2964
2960
|
|
|
2965
|
-
/***/ "
|
|
2961
|
+
/***/ "4b7c":
|
|
2966
2962
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2967
2963
|
|
|
2968
2964
|
"use strict";
|
|
2969
|
-
/* harmony import */ var
|
|
2970
|
-
/* harmony import */ var
|
|
2965
|
+
/* 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_PolicyUser_vue_vue_type_style_index_0_id_52240ec3_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("0b26");
|
|
2966
|
+
/* 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_PolicyUser_vue_vue_type_style_index_0_id_52240ec3_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_PolicyUser_vue_vue_type_style_index_0_id_52240ec3_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
2971
2967
|
/* unused harmony reexport * */
|
|
2972
2968
|
|
|
2973
2969
|
|
|
2974
2970
|
/***/ }),
|
|
2975
2971
|
|
|
2976
|
-
/***/ "
|
|
2972
|
+
/***/ "4be9":
|
|
2977
2973
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2978
2974
|
|
|
2979
2975
|
// extracted by mini-css-extract-plugin
|
|
2980
2976
|
|
|
2981
2977
|
/***/ }),
|
|
2982
2978
|
|
|
2983
|
-
/***/ "
|
|
2979
|
+
/***/ "4dad":
|
|
2984
2980
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2985
2981
|
|
|
2986
2982
|
"use strict";
|
|
2987
|
-
/* harmony import */ var
|
|
2988
|
-
/* harmony import */ var
|
|
2983
|
+
/* 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");
|
|
2984
|
+
/* 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__);
|
|
2989
2985
|
/* unused harmony reexport * */
|
|
2990
2986
|
|
|
2991
2987
|
|
|
2992
|
-
/***/ }),
|
|
2993
|
-
|
|
2994
|
-
/***/ "4be9":
|
|
2995
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2996
|
-
|
|
2997
|
-
// extracted by mini-css-extract-plugin
|
|
2998
|
-
|
|
2999
2988
|
/***/ }),
|
|
3000
2989
|
|
|
3001
2990
|
/***/ "503b":
|
|
@@ -3479,6 +3468,17 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__5f72__;
|
|
|
3479
3468
|
|
|
3480
3469
|
module.exports = require("element-resize-detector");
|
|
3481
3470
|
|
|
3471
|
+
/***/ }),
|
|
3472
|
+
|
|
3473
|
+
/***/ "5fdd":
|
|
3474
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3475
|
+
|
|
3476
|
+
"use strict";
|
|
3477
|
+
/* 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");
|
|
3478
|
+
/* 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__);
|
|
3479
|
+
/* unused harmony reexport * */
|
|
3480
|
+
|
|
3481
|
+
|
|
3482
3482
|
/***/ }),
|
|
3483
3483
|
|
|
3484
3484
|
/***/ "60bb":
|
|
@@ -3871,6 +3871,13 @@ const {
|
|
|
3871
3871
|
|
|
3872
3872
|
/***/ }),
|
|
3873
3873
|
|
|
3874
|
+
/***/ "67de":
|
|
3875
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3876
|
+
|
|
3877
|
+
// extracted by mini-css-extract-plugin
|
|
3878
|
+
|
|
3879
|
+
/***/ }),
|
|
3880
|
+
|
|
3874
3881
|
/***/ "68cf":
|
|
3875
3882
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3876
3883
|
|
|
@@ -4288,13 +4295,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4288
4295
|
|
|
4289
4296
|
/***/ }),
|
|
4290
4297
|
|
|
4291
|
-
/***/ "7c6e":
|
|
4292
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4293
|
-
|
|
4294
|
-
// extracted by mini-css-extract-plugin
|
|
4295
|
-
|
|
4296
|
-
/***/ }),
|
|
4297
|
-
|
|
4298
4298
|
/***/ "7d0a":
|
|
4299
4299
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4300
4300
|
|
|
@@ -4771,14 +4771,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
4771
4771
|
/***/ "9224":
|
|
4772
4772
|
/***/ (function(module) {
|
|
4773
4773
|
|
|
4774
|
-
module.exports = JSON.parse("{\"a\":\"1.0.
|
|
4775
|
-
|
|
4776
|
-
/***/ }),
|
|
4777
|
-
|
|
4778
|
-
/***/ "923d":
|
|
4779
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4780
|
-
|
|
4781
|
-
// extracted by mini-css-extract-plugin
|
|
4774
|
+
module.exports = JSON.parse("{\"a\":\"1.0.2\"}");
|
|
4782
4775
|
|
|
4783
4776
|
/***/ }),
|
|
4784
4777
|
|
|
@@ -4894,6 +4887,17 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHoAAABMCAYAAACi
|
|
|
4894
4887
|
/* unused harmony reexport * */
|
|
4895
4888
|
|
|
4896
4889
|
|
|
4890
|
+
/***/ }),
|
|
4891
|
+
|
|
4892
|
+
/***/ "a59b":
|
|
4893
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4894
|
+
|
|
4895
|
+
"use strict";
|
|
4896
|
+
/* 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");
|
|
4897
|
+
/* 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__);
|
|
4898
|
+
/* unused harmony reexport * */
|
|
4899
|
+
|
|
4900
|
+
|
|
4897
4901
|
/***/ }),
|
|
4898
4902
|
|
|
4899
4903
|
/***/ "a6f4":
|
|
@@ -4912,6 +4916,13 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHoAAABMCAYAAACi
|
|
|
4912
4916
|
/* unused harmony reexport * */
|
|
4913
4917
|
|
|
4914
4918
|
|
|
4919
|
+
/***/ }),
|
|
4920
|
+
|
|
4921
|
+
/***/ "a7e3":
|
|
4922
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4923
|
+
|
|
4924
|
+
// extracted by mini-css-extract-plugin
|
|
4925
|
+
|
|
4915
4926
|
/***/ }),
|
|
4916
4927
|
|
|
4917
4928
|
/***/ "a96c":
|
|
@@ -6592,6 +6603,13 @@ module.exports = __WEBPACK_EXTERNAL_MODULE_c5e1__;
|
|
|
6592
6603
|
/* unused harmony reexport * */
|
|
6593
6604
|
|
|
6594
6605
|
|
|
6606
|
+
/***/ }),
|
|
6607
|
+
|
|
6608
|
+
/***/ "c82d":
|
|
6609
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
6610
|
+
|
|
6611
|
+
// extracted by mini-css-extract-plugin
|
|
6612
|
+
|
|
6595
6613
|
/***/ }),
|
|
6596
6614
|
|
|
6597
6615
|
/***/ "c8ba":
|
|
@@ -6776,13 +6794,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE_cebe__;
|
|
|
6776
6794
|
|
|
6777
6795
|
/***/ }),
|
|
6778
6796
|
|
|
6779
|
-
/***/ "d284":
|
|
6780
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
6781
|
-
|
|
6782
|
-
// extracted by mini-css-extract-plugin
|
|
6783
|
-
|
|
6784
|
-
/***/ }),
|
|
6785
|
-
|
|
6786
6797
|
/***/ "d3a3":
|
|
6787
6798
|
/***/ (function(module, exports, __webpack_require__) {
|
|
6788
6799
|
|
|
@@ -7191,17 +7202,6 @@ module.exports = require("deepmerge");
|
|
|
7191
7202
|
/* unused harmony reexport * */
|
|
7192
7203
|
|
|
7193
7204
|
|
|
7194
|
-
/***/ }),
|
|
7195
|
-
|
|
7196
|
-
/***/ "de6a":
|
|
7197
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7198
|
-
|
|
7199
|
-
"use strict";
|
|
7200
|
-
/* 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");
|
|
7201
|
-
/* 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__);
|
|
7202
|
-
/* unused harmony reexport * */
|
|
7203
|
-
|
|
7204
|
-
|
|
7205
7205
|
/***/ }),
|
|
7206
7206
|
|
|
7207
7207
|
/***/ "de9c":
|
|
@@ -23547,8 +23547,8 @@ Dialog_src_main.install = function (Vue) {
|
|
|
23547
23547
|
Vue.component(Dialog_src_main.name, Dialog_src_main);
|
|
23548
23548
|
};
|
|
23549
23549
|
/* harmony default export */ var Dialog = (Dialog_src_main);
|
|
23550
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/main.vue?vue&type=template&id=
|
|
23551
|
-
var
|
|
23550
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/main.vue?vue&type=template&id=20c83109&scoped=true&
|
|
23551
|
+
var mainvue_type_template_id_20c83109_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":function($event){$event.stopPropagation();return _vm.jumpUrl(item)}}},[_c('span',{staticClass:"el-select__tags-text",class:{ 'src-color': _vm.isSrcColor }},[_vm._v("\n "+_vm._s(item.value)+"\n ")]),_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:({
|
|
23552
23552
|
right: _vm.inputSuffixWidth - 1 + 'px',
|
|
23553
23553
|
width: 'auto!important',
|
|
23554
23554
|
height: _vm.inputSuffixHeight - 4 + 'px',
|
|
@@ -23557,11 +23557,11 @@ var mainvue_type_template_id_3c53678f_scoped_true_render = function () {var _vm=
|
|
|
23557
23557
|
: 'el-input__icon icon-duihuakuang',style:({
|
|
23558
23558
|
fontSize: '17px',
|
|
23559
23559
|
lineHeight: _vm.inputSuffixHeight + 'px',
|
|
23560
|
-
})}),_vm._v("\n "+_vm._s(_vm.custdialog.name)+"\n ")])],1)])],1)]):_vm._e()]),(!_vm.inputWriteable)?_c('span',_vm._l((_vm.inputVal),function(item){return _c('span',{key:item.value,staticClass:"el-tag el-tag--info el-tag--small",staticStyle:{"margin-right":"8px"},on:{"click":function($event){$event.stopPropagation();}}},[_c('span',{staticClass:"el-select__tags-text"},[_vm._v(_vm._s(item.value))])])}),0):_vm._e(),(_vm.isMobile)?_c('custom-mobile-dialog',{ref:"customMobileDialogRef",attrs:{"model-name":_vm.modelName,"custdialog":_vm.custdialog,"sub-index":_vm.subIndex,"sun-index":_vm.sunIndex,"sub-path":_vm.subPath,"current-sub-data":_vm.currentSubData},on:{"calacInputSuffixHeight":_vm.calacInputSuffixHeight,"updateInput":_vm.updateInput}}):_c('custom-dialog',{ref:"customDialogRef",attrs:{"model-name":_vm.modelName,"custdialog":_vm.custdialog,"sub-index":_vm.subIndex,"sun-index":_vm.sunIndex,"sub-path":_vm.subPath,"current-sub-data":_vm.currentSubData},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)}
|
|
23561
|
-
var
|
|
23560
|
+
})}),_vm._v("\n "+_vm._s(_vm.custdialog.name)+"\n ")])],1)])],1)]):_vm._e()]),(!_vm.inputWriteable)?_c('span',_vm._l((_vm.inputVal),function(item){return _c('span',{key:item.value,staticClass:"el-tag el-tag--info el-tag--small",staticStyle:{"margin-right":"8px"},on:{"click":function($event){$event.stopPropagation();return _vm.jumpUrl(item)}}},[_c('span',{staticClass:"el-select__tags-text",class:{ 'src-color': _vm.isSrcColor }},[_vm._v("\n "+_vm._s(item.value)+"\n ")])])}),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,"dialog-config":_vm.dialogConfig},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,"dialog-config":_vm.dialogConfig},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)}
|
|
23561
|
+
var mainvue_type_template_id_20c83109_scoped_true_staticRenderFns = []
|
|
23562
23562
|
|
|
23563
23563
|
|
|
23564
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=
|
|
23564
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=20c83109&scoped=true&
|
|
23565
23565
|
|
|
23566
23566
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.js
|
|
23567
23567
|
|
|
@@ -23683,19 +23683,19 @@ var mainvue_type_template_id_3c53678f_scoped_true_staticRenderFns = []
|
|
|
23683
23683
|
}
|
|
23684
23684
|
}
|
|
23685
23685
|
});
|
|
23686
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=
|
|
23687
|
-
var
|
|
23686
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=4d56e14d&scoped=true&
|
|
23687
|
+
var customDialogvue_type_template_id_4d56e14d_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-dialog',{attrs:{"visible":_vm.customDialogShowList,"title":_vm.customDialog.name,"close-on-click-modal":false,"before-close":_vm.dialogCancel,"append-to-body":"","top":"6vh","width":"60%"},on:{"update:visible":function($event){_vm.customDialogShowList=$event},"opened":_vm.afterOpen}},[_c('el-container',{staticStyle:{"overflow":"auto"},style:(_vm.style)},[(_vm.customDialog.style == 2)?_c('el-aside',{directives:[{name:"show",rawName:"v-show",value:(_vm.treeShow),expression:"treeShow"}],staticStyle:{"width":"23%"}},[_c('el-card',[_c('div',{staticClass:"clearfix",attrs:{"slot":"header"},slot:"header"},[_c('span',{staticStyle:{"font-size":"16px"}},[_vm._v(_vm._s(_vm.leftTreeTitle))])]),_c('el-tree',{ref:"combinationTree",attrs:{"data":_vm.combinationTreeData,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","check-on-click-node":true,"lazy":"","load":_vm.loadTree},on:{"node-click":_vm.combiTreeClick}})],1)],1):_vm._e(),(_vm.customDialog.style == 2)?_c('el-divider',{attrs:{"direction":"vertical"}}):_vm._e(),_c('el-container',[(_vm.querysShow)?_c('el-header',{staticClass:"middle-header"},[_vm._l((_vm.conditionBind),function(condition,index){return _c('div',{key:index,staticClass:"search-item"},[_c('p',{staticStyle:{"font-size":"14px"}},[_vm._v(_vm._s(condition.comment)+":")]),(condition.controllerType == '1')?_c('div',[_c('el-input',{staticStyle:{"width":"180px","padding":"10px 0","margin":"0 5px 0 5px"},attrs:{"size":"small","clearable":"","placeholder":_vm.placeholders[index],"prefix-icon":"el-icon-search"},nativeOn:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.searchEnterFun($event)}},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '2')?_c('div',{staticStyle:{"margin-right":"10px"}},_vm._l((condition.config.options),function(itemR,$index1){return _c('el-radio',{key:$index1,attrs:{"label":itemR.key},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}},[_vm._v("\n "+_vm._s(itemR.value)+"\n ")])}),1):_vm._e(),(condition.controllerType == '3')?_c('div',{staticStyle:{"margin-right":"10px"}},[(condition.config.choiceType == 'static')?_c('ht-select',{attrs:{"placeholder":_vm.quickSearch,"options":condition.config.options},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}}):_c('eip-select-dia',{attrs:{"placeholder":_vm.quickSearch,"ganged":{
|
|
23688
23688
|
alias: condition.config.customQuery.alias,
|
|
23689
23689
|
valueBind: condition.config.customQuery.valueBind,
|
|
23690
23690
|
noInit: '',
|
|
23691
23691
|
labelBind: condition.config.customQuery.labelBind,
|
|
23692
23692
|
gangedBind: '{}',
|
|
23693
23693
|
bind: condition.config.bind,
|
|
23694
|
-
},"multiple":false,"filterable":false,"allow-create":false,"selectlist":[],"query-params":_vm.queryParams},model:{value:(_vm.queryParams[condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams, condition.field, $$v)},expression:"queryParams[condition.field]"}})],1):_vm._e(),(condition.controllerType == '4')?_c('div',{staticStyle:{"margin-right":"10px"}},[_c('eip-tag',{attrs:{"tag-key":condition.config.tag,"placeholder":_vm.quickSearch,"filterable":condition.config.filterable,"expand":condition.config.expand},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e()])}),(_vm.conditionBind && _vm.conditionBind.length > 0)?_c('div',{staticClass:"btn-wrap"},[_c('el-button',{staticStyle:{"margin-left":"20px"},attrs:{"size":"small","type":"primary","icon":"el-icon-search"},on:{"click":function($event){return _vm.search(true)}}},[_vm._v("\n 查询\n ")]),_c('el-button',{attrs:{"size":"small","icon":"el-icon-refresh"},on:{"click":_vm.reset}},[_vm._v("\n 重置\n ")])],1):_vm._e()],2):_vm._e(),_c('el-main',{staticClass:"custom-dialog_main"},[_c('el-table',{ref:"orgTable",staticClass:"org-table",staticStyle:{"width":"100%"},attrs:{"data":_vm.dialogData,"stripe":"","border":"","size":"medium"},on:{"row-click":_vm.orgRowClick,"selection-change":_vm.orgTableSelection,"select":_vm.onTableSelect,"select-all":_vm.selectAll}},[(_vm.customDialog.selectNum != 1)?_c('el-table-column',{attrs:{"type":"selection","align":"center","width":"55"}}):_vm._e(),(_vm.customDialog.selectNum === 1)?_c('el-table-column',{attrs:{"align":"center","width":"55"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-radio',{staticClass:"textRadio",attrs:{"label":scope.$index},on:{"selection-change":_vm.orgTableSelection},model:{value:(_vm.tableRadioVal),callback:function ($$v) {_vm.tableRadioVal=$$v},expression:"tableRadioVal"}},[_vm._v("\n \n ")])]}}],null,false,918943478)}):_vm._e(),_c('el-table-column',{attrs:{"type":"index","width":"50","align":"center","label":"序号"}}),_vm._l((_vm.displayfield),function(field){return _c('el-table-column',{key:field.field,staticStyle:{"width":"100%"},attrs:{"show-overflow-tooltip":true,"prop":field.field,"label":field.comment}})})],2)],1),_c('el-footer',[(_vm.customDialog.needPage)?_c('el-row',{staticStyle:{"padding-top":"15px","justify-content":"space-between"},attrs:{"type":"flex","justify":"end"}},[(_vm.customDialog.style == 2)?_c('el-button',{attrs:{"icon":_vm.toggleBtn,"size":"mini","type":"default"},on:{"click":_vm.toggleTree}}):_vm._e(),_c('el-pagination',{attrs:{"small":"","current-page":_vm.pagination.page,"page-sizes":[10, 20, 50, 100],"page-size":_vm.pagination.pageSize,"layout":"total, sizes, prev, pager, next, jumper","total":_vm.total},on:{"size-change":_vm.handleSizeChange,"current-change":_vm.handleCurrentChange}})],1):_vm._e()],1)],1)],1),_c('span',{staticClass:"dialog-footer",staticStyle:{"text-align":"center"},attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.dialogConfirm}},[_vm._v("\n 确认\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.dialogCancel}},[_vm._v("取 消")])],1)],1),_c('el-dialog',{attrs:{"title":"动态传入参数查询","width":"500px","visible":_vm.dialogVisible,"before-close":_vm.handleClose,"close-on-click-modal":false,"top":"6vh"},on:{"update:visible":function($event){_vm.dialogVisible=$event}}},[_c('table',{staticClass:"form-table",staticStyle:{"margin-left":"20px","width":"90%"},attrs:{"cellspacing":"0","cellpadding":"0","border":"0"}},_vm._l((_vm.conditionfieldTree),function(item,$index){return _c('tbody',{key:$index},[(item.defaultType == '4')?_c('tr',[_c('th',{attrs:{"width":"130px"}},[_vm._v(_vm._s(item.comment)+":")]),_c('td',[(item.type != 'date')?_c('ht-input',{staticStyle:{"width":"100%"},attrs:{"type":"text","placeholder":'请输入' + item.comment,"autocomplete":"off"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e(),(item.type == 'date')?_c('ht-date',{staticStyle:{"width":"100%"},attrs:{"placeholder":'请输入' + item.comment,"format":"yyyy-MM-dd"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e()],1)]):_vm._e()])}),0),_c('div',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"type":"primary"},on:{"click":_vm.handleSave}},[_vm._v("确 定")]),_c('el-button',{on:{"click":_vm.handleClose}},[_vm._v("取 消")])],1)]),_c('el-dialog',{attrs:{"visible":_vm.customDialogShowTree,"title":_vm.customDialog.name,"close-on-click-modal":false,"before-close":_vm.dialogCancelTree,"append-to-body":"","top":"6vh","width":"500px"},on:{"update:visible":function($event){_vm.customDialogShowTree=$event}}},[_c('el-container',{staticStyle:{"overflow":"auto"},style:(_vm.style)},[_c('el-tree',{ref:"tree",staticStyle:{"width":"100%"},attrs:{"data":_vm.props1,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","show-checkbox":_vm.customDialog.selectNum === -1,"check-on-click-node":true,"check-strictly":false,"lazy":"","load":_vm.loadTree,"default-expanded-keys":_vm.defaultExpandedKeys},on:{"node-click":_vm.treeClick,"check-change":_vm.getChecked}})],1),_c('span',{staticClass:"dialog-footer",staticStyle:{"text-align":"center"},attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.dialogTreeConfirm}},[_vm._v("\n 确认\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.dialogCancelTree}},[_vm._v("取 消")])],1)],1)],1)}
|
|
23695
|
-
var
|
|
23694
|
+
},"multiple":false,"filterable":false,"allow-create":false,"selectlist":[],"query-params":_vm.queryParams},model:{value:(_vm.queryParams[condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams, condition.field, $$v)},expression:"queryParams[condition.field]"}})],1):_vm._e(),(condition.controllerType == '4')?_c('div',{staticStyle:{"margin-right":"10px"}},[_c('eip-tag',{attrs:{"tag-key":condition.config.tag,"placeholder":_vm.quickSearch,"filterable":condition.config.filterable,"expand":condition.config.expand},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e()])}),(_vm.conditionBind && _vm.conditionBind.length > 0)?_c('div',{staticClass:"btn-wrap"},[_c('el-button',{staticStyle:{"margin-left":"20px"},attrs:{"size":"small","type":"primary","icon":"el-icon-search"},on:{"click":function($event){return _vm.search(true)}}},[_vm._v("\n 查询\n ")]),_c('el-button',{attrs:{"size":"small","icon":"el-icon-refresh"},on:{"click":_vm.reset}},[_vm._v("\n 重置\n ")])],1):_vm._e()],2):_vm._e(),_c('el-main',{staticClass:"custom-dialog_main"},[_c('el-table',{ref:"orgTable",staticClass:"org-table",staticStyle:{"width":"100%"},attrs:{"data":_vm.dialogData,"stripe":"","border":"","size":"medium","height":_vm.tableHeight},on:{"row-click":_vm.orgRowClick,"selection-change":_vm.orgTableSelection,"select":_vm.onTableSelect,"select-all":_vm.selectAll}},[(_vm.customDialog.selectNum != 1)?_c('el-table-column',{attrs:{"type":"selection","align":"center","width":"55"}}):_vm._e(),(_vm.customDialog.selectNum === 1)?_c('el-table-column',{attrs:{"align":"center","width":"55"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-radio',{staticClass:"textRadio",attrs:{"label":scope.$index},on:{"selection-change":_vm.orgTableSelection},model:{value:(_vm.tableRadioVal),callback:function ($$v) {_vm.tableRadioVal=$$v},expression:"tableRadioVal"}},[_vm._v("\n \n ")])]}}],null,false,918943478)}):_vm._e(),_c('el-table-column',{attrs:{"type":"index","width":"50","align":"center","label":"序号"}}),_vm._l((_vm.displayfield),function(field){return _c('el-table-column',{key:field.field,staticStyle:{"width":"100%"},attrs:{"show-overflow-tooltip":true,"prop":field.field,"label":field.comment}})})],2)],1),_c('el-footer',[(_vm.customDialog.needPage)?_c('el-row',{staticStyle:{"padding-top":"15px","justify-content":"space-between"},attrs:{"type":"flex","justify":"end"}},[(_vm.customDialog.style == 2)?_c('el-button',{attrs:{"icon":_vm.toggleBtn,"size":"mini","type":"default"},on:{"click":_vm.toggleTree}}):_vm._e(),_c('el-pagination',{attrs:{"small":"","current-page":_vm.pagination.page,"page-sizes":[10, 20, 50, 100],"page-size":_vm.pagination.pageSize,"layout":"total, sizes, prev, pager, next, jumper","total":_vm.total},on:{"size-change":_vm.handleSizeChange,"current-change":_vm.handleCurrentChange}})],1):_vm._e()],1)],1)],1),_c('span',{staticClass:"dialog-footer",staticStyle:{"text-align":"center"},attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.dialogConfirm}},[_vm._v("\n 确认\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.dialogCancel}},[_vm._v("取 消")])],1)],1),_c('el-dialog',{attrs:{"title":"动态传入参数查询","width":"500px","visible":_vm.dialogVisible,"before-close":_vm.handleClose,"close-on-click-modal":false,"top":"6vh"},on:{"update:visible":function($event){_vm.dialogVisible=$event}}},[_c('table',{staticClass:"form-table",staticStyle:{"margin-left":"20px","width":"90%"},attrs:{"cellspacing":"0","cellpadding":"0","border":"0"}},_vm._l((_vm.conditionfieldTree),function(item,$index){return _c('tbody',{key:$index},[(item.defaultType == '4')?_c('tr',[_c('th',{attrs:{"width":"130px"}},[_vm._v(_vm._s(item.comment)+":")]),_c('td',[(item.type != 'date')?_c('ht-input',{staticStyle:{"width":"100%"},attrs:{"type":"text","placeholder":'请输入' + item.comment,"autocomplete":"off"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e(),(item.type == 'date')?_c('ht-date',{staticStyle:{"width":"100%"},attrs:{"placeholder":'请输入' + item.comment,"format":"yyyy-MM-dd"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e()],1)]):_vm._e()])}),0),_c('div',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"type":"primary"},on:{"click":_vm.handleSave}},[_vm._v("确 定")]),_c('el-button',{on:{"click":_vm.handleClose}},[_vm._v("取 消")])],1)]),_c('el-dialog',{attrs:{"visible":_vm.customDialogShowTree,"title":_vm.customDialog.name,"close-on-click-modal":false,"before-close":_vm.dialogCancelTree,"append-to-body":"","top":"6vh","width":"500px"},on:{"update:visible":function($event){_vm.customDialogShowTree=$event}}},[_c('el-container',{staticStyle:{"overflow":"auto"},style:(_vm.style)},[_c('el-tree',{ref:"tree",staticStyle:{"width":"100%"},attrs:{"data":_vm.props1,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","show-checkbox":_vm.customDialog.selectNum === -1,"check-on-click-node":true,"check-strictly":false,"lazy":"","load":_vm.loadTree,"default-expanded-keys":_vm.defaultExpandedKeys},on:{"node-click":_vm.treeClick,"check-change":_vm.getChecked}})],1),_c('span',{staticClass:"dialog-footer",staticStyle:{"text-align":"center"},attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.dialogTreeConfirm}},[_vm._v("\n 确认\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.dialogCancelTree}},[_vm._v("取 消")])],1)],1)],1)}
|
|
23695
|
+
var customDialogvue_type_template_id_4d56e14d_scoped_true_staticRenderFns = []
|
|
23696
23696
|
|
|
23697
23697
|
|
|
23698
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=
|
|
23698
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=4d56e14d&scoped=true&
|
|
23699
23699
|
|
|
23700
23700
|
// EXTERNAL MODULE: external "jquery"
|
|
23701
23701
|
var external_jquery_ = __webpack_require__("c5e1");
|
|
@@ -24003,6 +24003,7 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24003
24003
|
//
|
|
24004
24004
|
//
|
|
24005
24005
|
//
|
|
24006
|
+
//
|
|
24006
24007
|
|
|
24007
24008
|
|
|
24008
24009
|
|
|
@@ -24026,10 +24027,16 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24026
24027
|
subIndex: Number,
|
|
24027
24028
|
sunIndex: Number,
|
|
24028
24029
|
subPath: String,
|
|
24029
|
-
currentSubData: Array
|
|
24030
|
+
currentSubData: Array,
|
|
24031
|
+
isReadOnly: {
|
|
24032
|
+
type: Boolean,
|
|
24033
|
+
default: false
|
|
24034
|
+
},
|
|
24035
|
+
dialogConfig: Object
|
|
24030
24036
|
},
|
|
24031
24037
|
data() {
|
|
24032
24038
|
return {
|
|
24039
|
+
tableHeight: 350,
|
|
24033
24040
|
isEditInputShow: false,
|
|
24034
24041
|
customValue: '',
|
|
24035
24042
|
defualtTooltipplacement: 'bottom',
|
|
@@ -24109,6 +24116,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24109
24116
|
return [this.props1[0][this.nodeKey]];
|
|
24110
24117
|
}
|
|
24111
24118
|
return [];
|
|
24119
|
+
},
|
|
24120
|
+
jumpParamKey() {
|
|
24121
|
+
return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
|
|
24122
|
+
},
|
|
24123
|
+
// 是否保存成跳转url参数
|
|
24124
|
+
isHaveJumpUrl() {
|
|
24125
|
+
return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
24112
24126
|
}
|
|
24113
24127
|
},
|
|
24114
24128
|
watch: {
|
|
@@ -24128,141 +24142,164 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24128
24142
|
});
|
|
24129
24143
|
}
|
|
24130
24144
|
}
|
|
24145
|
+
this.initTableHeight();
|
|
24131
24146
|
},
|
|
24132
24147
|
immediate: true,
|
|
24133
24148
|
deep: true
|
|
24134
24149
|
}
|
|
24135
24150
|
},
|
|
24136
24151
|
mounted() {
|
|
24137
|
-
|
|
24138
|
-
this.
|
|
24139
|
-
}
|
|
24152
|
+
this.$root.$on('resize', () => {
|
|
24153
|
+
this.initTableHeight();
|
|
24154
|
+
});
|
|
24155
|
+
this.$nextTick(() => {
|
|
24156
|
+
if (this.value && !this.isReadOnly) {
|
|
24157
|
+
this.showDialog(true);
|
|
24158
|
+
}
|
|
24159
|
+
});
|
|
24140
24160
|
},
|
|
24141
24161
|
methods: {
|
|
24142
24162
|
showDialog() {
|
|
24143
24163
|
let isMounted = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
24144
|
-
const this_ = this;
|
|
24145
24164
|
this.fixedParams = {};
|
|
24165
|
+
// 如果已存在配置信息就不去请求配置信息 直接初始化数据
|
|
24166
|
+
if (this.dialogConfig) {
|
|
24167
|
+
this.initDialog(this.dialogConfig, isMounted);
|
|
24168
|
+
return;
|
|
24169
|
+
}
|
|
24146
24170
|
var alias = this.custdialog.custDialog.alias;
|
|
24147
24171
|
this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
|
|
24148
|
-
|
|
24149
|
-
|
|
24150
|
-
|
|
24151
|
-
|
|
24152
|
-
|
|
24153
|
-
|
|
24154
|
-
|
|
24155
|
-
|
|
24156
|
-
|
|
24157
|
-
|
|
24158
|
-
|
|
24159
|
-
|
|
24160
|
-
|
|
24161
|
-
|
|
24162
|
-
|
|
24163
|
-
|
|
24164
|
-
|
|
24165
|
-
|
|
24166
|
-
|
|
24167
|
-
|
|
24168
|
-
|
|
24172
|
+
this.initDialog(customDialog, isMounted);
|
|
24173
|
+
});
|
|
24174
|
+
},
|
|
24175
|
+
initDialog(customDialog, isMounted) {
|
|
24176
|
+
let alias = this.custdialog.custDialog.alias;
|
|
24177
|
+
const this_ = this;
|
|
24178
|
+
if (!customDialog || !customDialog.alias) {
|
|
24179
|
+
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
24180
|
+
return;
|
|
24181
|
+
}
|
|
24182
|
+
if (customDialog.style == 1) {
|
|
24183
|
+
var displaylist = JSON.parse(customDialog.displayfield);
|
|
24184
|
+
this_.nodeKey = displaylist.id;
|
|
24185
|
+
}
|
|
24186
|
+
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
24187
|
+
let obj = {};
|
|
24188
|
+
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
24189
|
+
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
24190
|
+
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
24191
|
+
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
24192
|
+
if (exp) {
|
|
24193
|
+
const params = JSON.parse(exp);
|
|
24194
|
+
if (params.pageBean) {
|
|
24195
|
+
this.pagination = {
|
|
24196
|
+
...params.pageBean
|
|
24197
|
+
};
|
|
24169
24198
|
}
|
|
24170
24199
|
}
|
|
24171
|
-
|
|
24172
|
-
|
|
24173
|
-
|
|
24174
|
-
|
|
24175
|
-
|
|
24176
|
-
|
|
24177
|
-
|
|
24178
|
-
|
|
24179
|
-
|
|
24180
|
-
|
|
24181
|
-
|
|
24182
|
-
|
|
24183
|
-
|
|
24184
|
-
|
|
24185
|
-
|
|
24186
|
-
|
|
24187
|
-
|
|
24188
|
-
|
|
24189
|
-
}
|
|
24190
|
-
}
|
|
24191
|
-
}
|
|
24192
|
-
|
|
24193
|
-
|
|
24194
|
-
|
|
24195
|
-
|
|
24196
|
-
|
|
24197
|
-
|
|
24198
|
-
|
|
24199
|
-
|
|
24200
|
-
|
|
24201
|
-
|
|
24202
|
-
|
|
24203
|
-
|
|
24204
|
-
|
|
24205
|
-
|
|
24206
|
-
|
|
24207
|
-
|
|
24208
|
-
|
|
24209
|
-
|
|
24210
|
-
|
|
24211
|
-
|
|
24212
|
-
}
|
|
24213
|
-
|
|
24214
|
-
|
|
24215
|
-
|
|
24216
|
-
|
|
24217
|
-
|
|
24218
|
-
|
|
24219
|
-
|
|
24220
|
-
|
|
24221
|
-
|
|
24222
|
-
|
|
24223
|
-
|
|
24224
|
-
|
|
24225
|
-
|
|
24226
|
-
|
|
24227
|
-
|
|
24228
|
-
|
|
24229
|
-
|
|
24230
|
-
|
|
24231
|
-
|
|
24232
|
-
customDialog: customDialog
|
|
24233
|
-
}, isMounted);
|
|
24234
|
-
}, 100);
|
|
24235
|
-
} else if (customDialog.style == 1) {
|
|
24236
|
-
//树形
|
|
24237
|
-
this_.pageParam = {
|
|
24200
|
+
}
|
|
24201
|
+
//对话框按表单字段查询(参数传入的)
|
|
24202
|
+
let bindList = this_.custdialog.custDialog.conditions;
|
|
24203
|
+
this_.param = []; //绑定的表单字段
|
|
24204
|
+
if (bindList.length > 0) {
|
|
24205
|
+
bindList.forEach(ele => {
|
|
24206
|
+
//绑定表单字段
|
|
24207
|
+
if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
|
|
24208
|
+
let obj = {};
|
|
24209
|
+
obj.field = ele.field;
|
|
24210
|
+
obj.bind = ele.bind;
|
|
24211
|
+
obj.bindType = ele.bindType;
|
|
24212
|
+
this_.param.push(obj);
|
|
24213
|
+
}
|
|
24214
|
+
//取值对象为脚本时获取value
|
|
24215
|
+
if (ele.bindType === 3) {
|
|
24216
|
+
this_.$requestConfig.executeScript(ele.bind).then(res => {
|
|
24217
|
+
this_.executeScriptResult = res && res.value;
|
|
24218
|
+
});
|
|
24219
|
+
}
|
|
24220
|
+
});
|
|
24221
|
+
}
|
|
24222
|
+
//判断对话框查询是否有条件
|
|
24223
|
+
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
24224
|
+
this_.quickSearch = ''; //填写提示 placeholder
|
|
24225
|
+
this_.conditionBind = [];
|
|
24226
|
+
let queryParams = [];
|
|
24227
|
+
let placeholders = [];
|
|
24228
|
+
if (userInputList.length > 0) {
|
|
24229
|
+
userInputList.forEach(ele => {
|
|
24230
|
+
var obj = {};
|
|
24231
|
+
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
24232
|
+
if (ele.defaultType == '1') {
|
|
24233
|
+
obj[ele.field] = '';
|
|
24234
|
+
queryParams.push(obj);
|
|
24235
|
+
// queryParams[ele.field] = "";
|
|
24236
|
+
this_.conditionBind.push(ele);
|
|
24237
|
+
placeholders.push('请输入' + ele.comment);
|
|
24238
|
+
}
|
|
24239
|
+
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
24240
|
+
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
24241
|
+
}
|
|
24242
|
+
});
|
|
24243
|
+
this.$set(this, 'queryParams', queryParams);
|
|
24244
|
+
this.$set(this, 'placeholders', placeholders);
|
|
24245
|
+
}
|
|
24246
|
+
//判断是否显示条件查询输入框
|
|
24247
|
+
if (this_.quickSearch != '') {
|
|
24248
|
+
this_.querysShow = true;
|
|
24249
|
+
} else {
|
|
24250
|
+
this_.querysShow = true;
|
|
24251
|
+
}
|
|
24252
|
+
this_.quickSearch = '请输入' + this.quickSearch + '查询';
|
|
24253
|
+
this_.style = 'height:' + customDialog.height + 'px';
|
|
24254
|
+
if (window.screen.height && window.screen.height <= 900) {
|
|
24255
|
+
this.style = 'height:440px';
|
|
24256
|
+
}
|
|
24257
|
+
if (customDialog.style == 0 || customDialog.style == 2) {
|
|
24258
|
+
//列表
|
|
24259
|
+
setTimeout(() => {
|
|
24260
|
+
this_.customDialogShow({
|
|
24238
24261
|
alias: alias,
|
|
24239
24262
|
customDialog: customDialog
|
|
24240
|
-
};
|
|
24241
|
-
|
|
24242
|
-
|
|
24243
|
-
|
|
24244
|
-
|
|
24245
|
-
|
|
24246
|
-
|
|
24247
|
-
|
|
24248
|
-
|
|
24249
|
-
|
|
24250
|
-
|
|
24251
|
-
|
|
24252
|
-
|
|
24263
|
+
}, isMounted);
|
|
24264
|
+
}, 100);
|
|
24265
|
+
} else if (customDialog.style == 1) {
|
|
24266
|
+
//树形
|
|
24267
|
+
this_.pageParam = {
|
|
24268
|
+
alias: alias,
|
|
24269
|
+
customDialog: customDialog
|
|
24270
|
+
};
|
|
24271
|
+
this_.customDialog = customDialog;
|
|
24272
|
+
let param = {};
|
|
24273
|
+
this_.conditionfieldTree = [];
|
|
24274
|
+
//判断是否存在条件
|
|
24275
|
+
if (customDialog.conditionfield) {
|
|
24276
|
+
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
24277
|
+
if (this_.conditionfieldTree.length > 0) {
|
|
24278
|
+
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
24279
|
+
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
24280
|
+
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
24281
|
+
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
24253
24282
|
}
|
|
24254
24283
|
}
|
|
24255
24284
|
}
|
|
24256
|
-
|
|
24257
|
-
|
|
24258
|
-
|
|
24259
|
-
|
|
24260
|
-
|
|
24261
|
-
|
|
24262
|
-
|
|
24263
|
-
|
|
24285
|
+
}
|
|
24286
|
+
//有动态传入的字段
|
|
24287
|
+
if (!isMounted) {
|
|
24288
|
+
if (JSON.stringify(param) != '{}') {
|
|
24289
|
+
this_.dialogVisible = true;
|
|
24290
|
+
} else {
|
|
24291
|
+
//无动态传入的字段
|
|
24292
|
+
this_.customDialogTreeShow(this_.pageParam);
|
|
24264
24293
|
}
|
|
24265
24294
|
}
|
|
24295
|
+
}
|
|
24296
|
+
},
|
|
24297
|
+
initTableHeight() {
|
|
24298
|
+
this.$nextTick(() => {
|
|
24299
|
+
let mainEl = document.getElementsByClassName('custom-dialog_main');
|
|
24300
|
+
if (mainEl && mainEl.length) {
|
|
24301
|
+
this.tableHeight = mainEl[0].clientHeight - 40;
|
|
24302
|
+
}
|
|
24266
24303
|
});
|
|
24267
24304
|
},
|
|
24268
24305
|
treeClick(data) {
|
|
@@ -24384,13 +24421,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24384
24421
|
}
|
|
24385
24422
|
// 添加用户id 岗位id 组织id
|
|
24386
24423
|
try {
|
|
24387
|
-
if (this.$requestConfig.getUserId()) {
|
|
24424
|
+
if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
|
|
24388
24425
|
ctx.userId = this.$requestConfig.getUserId();
|
|
24389
24426
|
}
|
|
24390
|
-
if (this.$requestConfig.getOrgId()) {
|
|
24427
|
+
if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
|
|
24391
24428
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
24392
24429
|
}
|
|
24393
|
-
if (this.$requestConfig.getPostId()) {
|
|
24430
|
+
if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
|
|
24394
24431
|
ctx.postId = this.$requestConfig.getPostId();
|
|
24395
24432
|
}
|
|
24396
24433
|
} catch (e) {
|
|
@@ -24451,6 +24488,7 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24451
24488
|
if (this.customDialog.selectNum === 1) {
|
|
24452
24489
|
nodes = this.propsData[0];
|
|
24453
24490
|
var temp = '';
|
|
24491
|
+
debugger;
|
|
24454
24492
|
for (var j = 0; j < comment.length; j++) {
|
|
24455
24493
|
temp += '"' + comment[j] + '":"' + nodes[field[j]] + '",';
|
|
24456
24494
|
}
|
|
@@ -24473,10 +24511,15 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24473
24511
|
}
|
|
24474
24512
|
const pInst = utils["a" /* default */].getOnlineFormInstance(this);
|
|
24475
24513
|
this.selectOrgs = this.convertComment2Field(str, field);
|
|
24476
|
-
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
24514
|
+
this.custdialog.custDialog.mappingConf.forEach((con, index) => {
|
|
24477
24515
|
var val = '';
|
|
24478
24516
|
str.forEach(item => {
|
|
24479
|
-
|
|
24517
|
+
// 此处添加url跳转参数保存逻辑
|
|
24518
|
+
if (this.jumpParamKey && this.isHaveJumpUrl && this.modelName == 'data.' + con['target'][0]) {
|
|
24519
|
+
val += `${item[con.from]}¯${this.jumpParamKey}:${this.selectOrgs[index][this.jumpParamKey]},`;
|
|
24520
|
+
} else {
|
|
24521
|
+
val += item[con.from] + ',';
|
|
24522
|
+
}
|
|
24480
24523
|
});
|
|
24481
24524
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
24482
24525
|
utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
|
|
@@ -24598,13 +24641,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24598
24641
|
queryParamMap.total = pageBean.pageBean.total;
|
|
24599
24642
|
// 添加用户id 岗位id 组织id
|
|
24600
24643
|
try {
|
|
24601
|
-
if (this.$requestConfig.getUserId()) {
|
|
24644
|
+
if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
|
|
24602
24645
|
ctx.userId = this.$requestConfig.getUserId();
|
|
24603
24646
|
}
|
|
24604
|
-
if (this.$requestConfig.getOrgId()) {
|
|
24647
|
+
if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
|
|
24605
24648
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
24606
24649
|
}
|
|
24607
|
-
if (this.$requestConfig.getPostId()) {
|
|
24650
|
+
if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
|
|
24608
24651
|
ctx.postId = this.$requestConfig.getPostId();
|
|
24609
24652
|
}
|
|
24610
24653
|
} catch (e) {
|
|
@@ -24625,7 +24668,7 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24625
24668
|
value: queryParamMap[bindKey] || ctx[bindKey] || ''
|
|
24626
24669
|
};
|
|
24627
24670
|
});
|
|
24628
|
-
param.querys = queryList;
|
|
24671
|
+
param.querys = queryList || [];
|
|
24629
24672
|
if (this.customDialog.needPage) {
|
|
24630
24673
|
param.pageBean = obj;
|
|
24631
24674
|
} else {
|
|
@@ -24892,6 +24935,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24892
24935
|
},
|
|
24893
24936
|
// 同步选择结果
|
|
24894
24937
|
syncInputValue() {
|
|
24938
|
+
// 对话框跳转url需要两个参数 1当前控件绑定的对象参数modelName 2对话框配置中配置的key名称
|
|
24939
|
+
// 同步值时,如果有绑定url跳转参数,值格式为 名称¯跳转key:跳转value
|
|
24895
24940
|
let thisIndex = null; //当前数据所在下标
|
|
24896
24941
|
let parentIndex = null; //父节点所在下标
|
|
24897
24942
|
if (this.$parent.$el) {
|
|
@@ -24970,8 +25015,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24970
25015
|
var val = '';
|
|
24971
25016
|
var from = con.from.toLowerCase();
|
|
24972
25017
|
str.forEach(item => {
|
|
25018
|
+
// 如果有绑定url跳转参数 需获取跳转参数的key
|
|
24973
25019
|
if (item) {
|
|
24974
|
-
|
|
25020
|
+
if (this.jumpParamKey && this.isHaveJumpUrl && this.modelName == 'data.' + con['target'][0]) {
|
|
25021
|
+
val += `${decodeURIComponent(item[from])}¯${this.jumpParamKey}:${item[this.jumpParamKey]},`;
|
|
25022
|
+
} else {
|
|
25023
|
+
val += decodeURIComponent(item[from]) + ',';
|
|
25024
|
+
}
|
|
24975
25025
|
}
|
|
24976
25026
|
});
|
|
24977
25027
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
@@ -25222,8 +25272,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25222
25272
|
});
|
|
25223
25273
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=script&lang=js&
|
|
25224
25274
|
/* harmony default export */ var src_customDialogvue_type_script_lang_js_ = (customDialogvue_type_script_lang_js_);
|
|
25225
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=
|
|
25226
|
-
var
|
|
25275
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=4d56e14d&prod&lang=scss&scoped=true&
|
|
25276
|
+
var customDialogvue_type_style_index_0_id_4d56e14d_prod_lang_scss_scoped_true_ = __webpack_require__("5fdd");
|
|
25227
25277
|
|
|
25228
25278
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue
|
|
25229
25279
|
|
|
@@ -25236,18 +25286,18 @@ var customDialogvue_type_style_index_0_id_5a92d302_prod_lang_scss_scoped_true_ =
|
|
|
25236
25286
|
|
|
25237
25287
|
var customDialog_component = normalizeComponent(
|
|
25238
25288
|
src_customDialogvue_type_script_lang_js_,
|
|
25239
|
-
|
|
25240
|
-
|
|
25289
|
+
customDialogvue_type_template_id_4d56e14d_scoped_true_render,
|
|
25290
|
+
customDialogvue_type_template_id_4d56e14d_scoped_true_staticRenderFns,
|
|
25241
25291
|
false,
|
|
25242
25292
|
null,
|
|
25243
|
-
"
|
|
25293
|
+
"4d56e14d",
|
|
25244
25294
|
null
|
|
25245
25295
|
|
|
25246
25296
|
)
|
|
25247
25297
|
|
|
25248
25298
|
/* harmony default export */ var CustomDialog_src_customDialog = (customDialog_component.exports);
|
|
25249
|
-
// 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=
|
|
25250
|
-
var
|
|
25299
|
+
// 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=0c95bb92&scoped=true&
|
|
25300
|
+
var customMobileDialogvue_type_template_id_0c95bb92_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":{
|
|
25251
25301
|
alias: condition.config.customQuery.alias,
|
|
25252
25302
|
valueBind: condition.config.customQuery.valueBind,
|
|
25253
25303
|
noInit: '',
|
|
@@ -25257,10 +25307,10 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_render = functio
|
|
|
25257
25307
|
},"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(
|
|
25258
25308
|
function (k) { return k.defaultType == '4'; }
|
|
25259
25309
|
)),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)}
|
|
25260
|
-
var
|
|
25310
|
+
var customMobileDialogvue_type_template_id_0c95bb92_scoped_true_staticRenderFns = []
|
|
25261
25311
|
|
|
25262
25312
|
|
|
25263
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=
|
|
25313
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=0c95bb92&scoped=true&
|
|
25264
25314
|
|
|
25265
25315
|
// 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&
|
|
25266
25316
|
//
|
|
@@ -25542,7 +25592,8 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25542
25592
|
subIndex: Number,
|
|
25543
25593
|
sunIndex: Number,
|
|
25544
25594
|
subPath: String,
|
|
25545
|
-
currentSubData: Array
|
|
25595
|
+
currentSubData: Array,
|
|
25596
|
+
dialogConfig: Object
|
|
25546
25597
|
},
|
|
25547
25598
|
data() {
|
|
25548
25599
|
return {
|
|
@@ -25625,6 +25676,13 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25625
25676
|
sureButtonText() {
|
|
25626
25677
|
const selectedText = this.selectIds.length > 0 ? `(${this.selectIds.length})` : '';
|
|
25627
25678
|
return `${this.$t('ht.common.confirm')}${selectedText}`;
|
|
25679
|
+
},
|
|
25680
|
+
jumpParamKey() {
|
|
25681
|
+
return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
|
|
25682
|
+
},
|
|
25683
|
+
// 是否保存成跳转url参数
|
|
25684
|
+
isHaveJumpUrl() {
|
|
25685
|
+
return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
25628
25686
|
}
|
|
25629
25687
|
},
|
|
25630
25688
|
methods: {
|
|
@@ -25673,112 +25731,121 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25673
25731
|
this.search(true);
|
|
25674
25732
|
},
|
|
25675
25733
|
showDialog() {
|
|
25676
|
-
const this_ = this;
|
|
25677
25734
|
this.fixedParams = {};
|
|
25735
|
+
// 如果已存在配置信息就不去请求配置信息 直接初始化数据
|
|
25736
|
+
if (this.dialogConfig) {
|
|
25737
|
+
this.initDialog(this.dialogConfig);
|
|
25738
|
+
return;
|
|
25739
|
+
}
|
|
25678
25740
|
var alias = this.custdialog.custDialog.alias;
|
|
25679
25741
|
this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
|
|
25680
|
-
|
|
25681
|
-
|
|
25682
|
-
|
|
25683
|
-
|
|
25684
|
-
|
|
25685
|
-
|
|
25686
|
-
|
|
25687
|
-
|
|
25688
|
-
|
|
25689
|
-
|
|
25690
|
-
|
|
25691
|
-
|
|
25692
|
-
|
|
25693
|
-
|
|
25694
|
-
|
|
25695
|
-
|
|
25696
|
-
|
|
25697
|
-
|
|
25698
|
-
|
|
25699
|
-
|
|
25700
|
-
|
|
25742
|
+
this.initDialog(customDialog);
|
|
25743
|
+
});
|
|
25744
|
+
},
|
|
25745
|
+
initDialog(customDialog) {
|
|
25746
|
+
let alias = this.custdialog.custDialog.alias;
|
|
25747
|
+
const this_ = this;
|
|
25748
|
+
if (!customDialog || !customDialog.alias) {
|
|
25749
|
+
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
25750
|
+
return;
|
|
25751
|
+
}
|
|
25752
|
+
if (customDialog.style == 1) {
|
|
25753
|
+
var displaylist = JSON.parse(customDialog.displayfield);
|
|
25754
|
+
this_.nodeKey = displaylist.id;
|
|
25755
|
+
}
|
|
25756
|
+
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
25757
|
+
let obj = {};
|
|
25758
|
+
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
25759
|
+
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
25760
|
+
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
25761
|
+
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
25762
|
+
if (exp) {
|
|
25763
|
+
const params = JSON.parse(exp);
|
|
25764
|
+
if (params.pageBean) {
|
|
25765
|
+
this.pagination = {
|
|
25766
|
+
...params.pageBean
|
|
25767
|
+
};
|
|
25701
25768
|
}
|
|
25702
25769
|
}
|
|
25703
|
-
|
|
25704
|
-
|
|
25705
|
-
|
|
25706
|
-
|
|
25707
|
-
|
|
25708
|
-
|
|
25709
|
-
|
|
25710
|
-
|
|
25711
|
-
|
|
25712
|
-
|
|
25713
|
-
|
|
25714
|
-
|
|
25715
|
-
|
|
25716
|
-
|
|
25717
|
-
|
|
25718
|
-
|
|
25719
|
-
|
|
25720
|
-
}
|
|
25721
|
-
}
|
|
25770
|
+
}
|
|
25771
|
+
//对话框按表单字段查询(参数传入的)
|
|
25772
|
+
let bindList = this_.custdialog.custDialog.conditions;
|
|
25773
|
+
this_.param = []; //绑定的表单字段
|
|
25774
|
+
if (bindList.length > 0) {
|
|
25775
|
+
bindList.forEach(ele => {
|
|
25776
|
+
//绑定表单字段
|
|
25777
|
+
if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
|
|
25778
|
+
let obj = {};
|
|
25779
|
+
obj.field = ele.field;
|
|
25780
|
+
obj.bind = ele.bind;
|
|
25781
|
+
obj.bindType = ele.bindType;
|
|
25782
|
+
this_.param.push(obj);
|
|
25783
|
+
}
|
|
25784
|
+
// bindType 1 表单字段 2固定 3脚本
|
|
25785
|
+
if (ele.defaultType == '3' && ele.bindType === 2) {
|
|
25786
|
+
this_.fixedParams[ele.field] = ele.bind || '';
|
|
25787
|
+
}
|
|
25788
|
+
});
|
|
25789
|
+
}
|
|
25722
25790
|
|
|
25723
|
-
|
|
25724
|
-
|
|
25725
|
-
|
|
25726
|
-
|
|
25727
|
-
|
|
25728
|
-
|
|
25729
|
-
|
|
25730
|
-
|
|
25731
|
-
|
|
25732
|
-
|
|
25733
|
-
|
|
25734
|
-
|
|
25735
|
-
|
|
25736
|
-
|
|
25737
|
-
|
|
25738
|
-
|
|
25739
|
-
|
|
25740
|
-
|
|
25741
|
-
|
|
25742
|
-
|
|
25743
|
-
|
|
25744
|
-
|
|
25745
|
-
|
|
25746
|
-
|
|
25747
|
-
|
|
25748
|
-
|
|
25749
|
-
|
|
25750
|
-
|
|
25751
|
-
|
|
25752
|
-
|
|
25753
|
-
|
|
25754
|
-
|
|
25755
|
-
|
|
25756
|
-
|
|
25757
|
-
|
|
25758
|
-
|
|
25759
|
-
|
|
25760
|
-
|
|
25761
|
-
|
|
25762
|
-
|
|
25763
|
-
|
|
25764
|
-
|
|
25765
|
-
|
|
25766
|
-
|
|
25767
|
-
|
|
25768
|
-
|
|
25769
|
-
}
|
|
25791
|
+
//判断对话框查询是否有条件
|
|
25792
|
+
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
25793
|
+
this_.conditionBind = [];
|
|
25794
|
+
let queryParams = [];
|
|
25795
|
+
let placeholders = [];
|
|
25796
|
+
if (userInputList.length > 0) {
|
|
25797
|
+
userInputList.forEach(ele => {
|
|
25798
|
+
var obj = {};
|
|
25799
|
+
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
25800
|
+
if (ele.defaultType == '1') {
|
|
25801
|
+
obj[ele.field] = '';
|
|
25802
|
+
queryParams.push(obj);
|
|
25803
|
+
// queryParams[ele.field] = "";
|
|
25804
|
+
this_.conditionBind.push(ele);
|
|
25805
|
+
placeholders.push('请输入' + ele.comment);
|
|
25806
|
+
}
|
|
25807
|
+
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
25808
|
+
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
25809
|
+
}
|
|
25810
|
+
});
|
|
25811
|
+
this.$set(this, 'queryParams', queryParams);
|
|
25812
|
+
this.$set(this, 'placeholders', placeholders);
|
|
25813
|
+
}
|
|
25814
|
+
if (customDialog.style == 0 || customDialog.style == 2) {
|
|
25815
|
+
//列表
|
|
25816
|
+
this_.customDialogShow({
|
|
25817
|
+
alias: alias,
|
|
25818
|
+
customDialog: customDialog
|
|
25819
|
+
});
|
|
25820
|
+
} else if (customDialog.style == 1) {
|
|
25821
|
+
//树形
|
|
25822
|
+
this_.pageParam = {
|
|
25823
|
+
alias: alias,
|
|
25824
|
+
customDialog: customDialog
|
|
25825
|
+
};
|
|
25826
|
+
this_.customDialog = customDialog;
|
|
25827
|
+
let param = {};
|
|
25828
|
+
this_.conditionfieldTree = [];
|
|
25829
|
+
//判断是否存在条件
|
|
25830
|
+
if (customDialog.conditionfield) {
|
|
25831
|
+
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
25832
|
+
if (this_.conditionfieldTree.length > 0) {
|
|
25833
|
+
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
25834
|
+
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
25835
|
+
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
25836
|
+
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
25770
25837
|
}
|
|
25771
25838
|
}
|
|
25772
25839
|
}
|
|
25773
|
-
//有动态传入的字段
|
|
25774
|
-
if (JSON.stringify(param) != '{}') {
|
|
25775
|
-
this_.dialogVisible = true;
|
|
25776
|
-
} else {
|
|
25777
|
-
//无动态传入的字段
|
|
25778
|
-
this_.customDialogTreeShow(this_.pageParam);
|
|
25779
|
-
}
|
|
25780
25840
|
}
|
|
25781
|
-
|
|
25841
|
+
//有动态传入的字段
|
|
25842
|
+
if (JSON.stringify(param) != '{}') {
|
|
25843
|
+
this_.dialogVisible = true;
|
|
25844
|
+
} else {
|
|
25845
|
+
//无动态传入的字段
|
|
25846
|
+
this_.customDialogTreeShow(this_.pageParam);
|
|
25847
|
+
}
|
|
25848
|
+
}
|
|
25782
25849
|
},
|
|
25783
25850
|
treeClick(data) {
|
|
25784
25851
|
// 单选
|
|
@@ -25896,13 +25963,13 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25896
25963
|
}
|
|
25897
25964
|
// 添加用户id 岗位id 组织id
|
|
25898
25965
|
try {
|
|
25899
|
-
if (this.$requestConfig.getUserId()) {
|
|
25966
|
+
if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
|
|
25900
25967
|
ctx.userId = this.$requestConfig.getUserId();
|
|
25901
25968
|
}
|
|
25902
|
-
if (this.$requestConfig.getOrgId()) {
|
|
25969
|
+
if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
|
|
25903
25970
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
25904
25971
|
}
|
|
25905
|
-
if (this.$requestConfig.getPostId()) {
|
|
25972
|
+
if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
|
|
25906
25973
|
ctx.postId = this.$requestConfig.getPostId();
|
|
25907
25974
|
}
|
|
25908
25975
|
} catch (e) {
|
|
@@ -25987,8 +26054,13 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25987
26054
|
this.selectOrgs = this.convertComment2Field(str, field);
|
|
25988
26055
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
25989
26056
|
var val = '';
|
|
25990
|
-
str.forEach(item => {
|
|
25991
|
-
|
|
26057
|
+
str.forEach((item, index) => {
|
|
26058
|
+
// 此处添加url跳转参数保存逻辑
|
|
26059
|
+
if (this.jumpParamKey && this.isHaveJumpUrl && this.modelName == 'data.' + con['target'][0]) {
|
|
26060
|
+
val += `${item[con.from]}¯${this.jumpParamKey}:${this.selectOrgs[index][this.jumpParamKey]},`;
|
|
26061
|
+
} else {
|
|
26062
|
+
val += item[con.from] + ',';
|
|
26063
|
+
}
|
|
25992
26064
|
});
|
|
25993
26065
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
25994
26066
|
utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
|
|
@@ -26109,13 +26181,13 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26109
26181
|
ctx.total = pageBean.pageBean.total;
|
|
26110
26182
|
// 添加用户id 岗位id 组织id
|
|
26111
26183
|
try {
|
|
26112
|
-
if (this.$requestConfig.getUserId()) {
|
|
26184
|
+
if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
|
|
26113
26185
|
ctx.userId = this.$requestConfig.getUserId();
|
|
26114
26186
|
}
|
|
26115
|
-
if (this.$requestConfig.getOrgId()) {
|
|
26187
|
+
if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
|
|
26116
26188
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
26117
26189
|
}
|
|
26118
|
-
if (this.$requestConfig.getPostId()) {
|
|
26190
|
+
if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
|
|
26119
26191
|
ctx.postId = this.$requestConfig.getPostId();
|
|
26120
26192
|
}
|
|
26121
26193
|
} catch (e) {
|
|
@@ -26382,7 +26454,11 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26382
26454
|
var from = con.from.toLowerCase();
|
|
26383
26455
|
str.forEach(item => {
|
|
26384
26456
|
if (item) {
|
|
26385
|
-
|
|
26457
|
+
if (this.jumpParamKey && this.isHaveJumpUrl && this.modelName == 'data.' + con['target'][0]) {
|
|
26458
|
+
val += `${decodeURIComponent(item[from])}¯${this.jumpParamKey}:${item[this.jumpParamKey]},`;
|
|
26459
|
+
} else {
|
|
26460
|
+
val += decodeURIComponent(item[from]) + ',';
|
|
26461
|
+
}
|
|
26386
26462
|
}
|
|
26387
26463
|
});
|
|
26388
26464
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
@@ -26634,11 +26710,11 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26634
26710
|
});
|
|
26635
26711
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=script&lang=js&
|
|
26636
26712
|
/* harmony default export */ var src_customMobileDialogvue_type_script_lang_js_ = (customMobileDialogvue_type_script_lang_js_);
|
|
26637
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=
|
|
26638
|
-
var
|
|
26713
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=0c95bb92&prod&lang=scss&scoped=true&
|
|
26714
|
+
var customMobileDialogvue_type_style_index_0_id_0c95bb92_prod_lang_scss_scoped_true_ = __webpack_require__("2f41");
|
|
26639
26715
|
|
|
26640
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=
|
|
26641
|
-
var
|
|
26716
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=0c95bb92&prod&lang=scss&
|
|
26717
|
+
var customMobileDialogvue_type_style_index_1_id_0c95bb92_prod_lang_scss_ = __webpack_require__("4dad");
|
|
26642
26718
|
|
|
26643
26719
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue
|
|
26644
26720
|
|
|
@@ -26652,11 +26728,11 @@ var customMobileDialogvue_type_style_index_1_id_1661eebb_prod_lang_scss_ = __web
|
|
|
26652
26728
|
|
|
26653
26729
|
var customMobileDialog_component = normalizeComponent(
|
|
26654
26730
|
src_customMobileDialogvue_type_script_lang_js_,
|
|
26655
|
-
|
|
26656
|
-
|
|
26731
|
+
customMobileDialogvue_type_template_id_0c95bb92_scoped_true_render,
|
|
26732
|
+
customMobileDialogvue_type_template_id_0c95bb92_scoped_true_staticRenderFns,
|
|
26657
26733
|
false,
|
|
26658
26734
|
null,
|
|
26659
|
-
"
|
|
26735
|
+
"0c95bb92",
|
|
26660
26736
|
null
|
|
26661
26737
|
|
|
26662
26738
|
)
|
|
@@ -26795,6 +26871,16 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26795
26871
|
//
|
|
26796
26872
|
//
|
|
26797
26873
|
//
|
|
26874
|
+
//
|
|
26875
|
+
//
|
|
26876
|
+
//
|
|
26877
|
+
//
|
|
26878
|
+
//
|
|
26879
|
+
//
|
|
26880
|
+
//
|
|
26881
|
+
//
|
|
26882
|
+
//
|
|
26883
|
+
//
|
|
26798
26884
|
|
|
26799
26885
|
|
|
26800
26886
|
|
|
@@ -26830,6 +26916,8 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26830
26916
|
},
|
|
26831
26917
|
data() {
|
|
26832
26918
|
return {
|
|
26919
|
+
dialogConfig: null,
|
|
26920
|
+
// 对话框配置信息
|
|
26833
26921
|
isEditInputShow: false,
|
|
26834
26922
|
customValue: '',
|
|
26835
26923
|
defualtTooltipplacement: 'bottom',
|
|
@@ -26878,9 +26966,21 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26878
26966
|
}
|
|
26879
26967
|
let result = [];
|
|
26880
26968
|
nameAry.forEach(m => {
|
|
26881
|
-
|
|
26882
|
-
|
|
26883
|
-
|
|
26969
|
+
// 带url跳转参数的 使用上横杆区分参数 值格式为 名称¯跳转key:跳转value
|
|
26970
|
+
let n = {};
|
|
26971
|
+
if (m.includes('¯') && m.split('¯')[1]) {
|
|
26972
|
+
n.value = m.split('¯')[0];
|
|
26973
|
+
let jumpParamStr = m.split('¯')[1];
|
|
26974
|
+
if (jumpParamStr) {
|
|
26975
|
+
let jumpParam = jumpParamStr.split(':');
|
|
26976
|
+
n.jumpParamKey = jumpParam[0];
|
|
26977
|
+
n.jumpParamValue = jumpParam[1];
|
|
26978
|
+
}
|
|
26979
|
+
} else {
|
|
26980
|
+
n = {
|
|
26981
|
+
value: m
|
|
26982
|
+
};
|
|
26983
|
+
}
|
|
26884
26984
|
result.push(n);
|
|
26885
26985
|
});
|
|
26886
26986
|
return result;
|
|
@@ -26888,8 +26988,16 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26888
26988
|
},
|
|
26889
26989
|
isAllowCustom() {
|
|
26890
26990
|
return this.custdialog && this.custdialog.allowInput;
|
|
26991
|
+
},
|
|
26992
|
+
// 是否展示可跳转颜色
|
|
26993
|
+
isSrcColor() {
|
|
26994
|
+
return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
26891
26995
|
}
|
|
26892
26996
|
},
|
|
26997
|
+
created() {
|
|
26998
|
+
// 获取对话框配置,看是否有配置url跳转
|
|
26999
|
+
this.getDialogConfig();
|
|
27000
|
+
},
|
|
26893
27001
|
mounted() {
|
|
26894
27002
|
const {
|
|
26895
27003
|
subScopeEl
|
|
@@ -26908,6 +27016,60 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26908
27016
|
this.calacInputSuffixWidth();
|
|
26909
27017
|
},
|
|
26910
27018
|
methods: {
|
|
27019
|
+
// 跳转url页面
|
|
27020
|
+
jumpUrl(item) {
|
|
27021
|
+
if (!this.dialogConfig || !this.dialogConfig.pcUrl) {
|
|
27022
|
+
return;
|
|
27023
|
+
}
|
|
27024
|
+
let url = this.isMobile ? this.dialogConfig.mobileUrl : this.dialogConfig.pcUrl;
|
|
27025
|
+
// 获取通用token 和 url翻译
|
|
27026
|
+
Promise.all([this.$requestConfig.getThreeTreeToken(), this.transformUrl(url)]).then(res => {
|
|
27027
|
+
if (res[0] && res[0].code == 200) {
|
|
27028
|
+
let token = res[0].value;
|
|
27029
|
+
let endUrl = res[1];
|
|
27030
|
+
// 拼接参数 token和参数
|
|
27031
|
+
if (endUrl.indexOf('?') == -1) {
|
|
27032
|
+
endUrl += `?bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
|
|
27033
|
+
} else {
|
|
27034
|
+
endUrl += `&bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
|
|
27035
|
+
}
|
|
27036
|
+
window.open(endUrl);
|
|
27037
|
+
} else {
|
|
27038
|
+
this.$message.info(res.message || '获取token失败!');
|
|
27039
|
+
}
|
|
27040
|
+
});
|
|
27041
|
+
},
|
|
27042
|
+
// 替换url中域名通配符 需要发送接口
|
|
27043
|
+
transformUrl(url) {
|
|
27044
|
+
return new Promise(resolve => {
|
|
27045
|
+
var reg = /(\$\{(\w+)\})/;
|
|
27046
|
+
var match = reg.exec(url);
|
|
27047
|
+
if (match) {
|
|
27048
|
+
let alias = match[2];
|
|
27049
|
+
if (alias) {
|
|
27050
|
+
this.$requestConfig.getHostByAlias(alias).then(res => {
|
|
27051
|
+
if (res && res.value && res.value.rootAddress) {
|
|
27052
|
+
resolve(url.replace(match[1], res.value.rootAddress));
|
|
27053
|
+
} else {
|
|
27054
|
+
resolve(url);
|
|
27055
|
+
}
|
|
27056
|
+
});
|
|
27057
|
+
} else {
|
|
27058
|
+
resolve(url);
|
|
27059
|
+
}
|
|
27060
|
+
} else {
|
|
27061
|
+
resolve(url);
|
|
27062
|
+
}
|
|
27063
|
+
});
|
|
27064
|
+
},
|
|
27065
|
+
// 获取对话框配置
|
|
27066
|
+
getDialogConfig() {
|
|
27067
|
+
if (this.custdialog && this.custdialog.custDialog && this.custdialog.custDialog.alias) this.$requestConfig.getCustomDialogByAlias(this.custdialog.custDialog.alias).then(response => {
|
|
27068
|
+
if (response) {
|
|
27069
|
+
this.dialogConfig = response;
|
|
27070
|
+
}
|
|
27071
|
+
});
|
|
27072
|
+
},
|
|
26911
27073
|
editInputBlur() {
|
|
26912
27074
|
this.$emit('input', this.customValue);
|
|
26913
27075
|
this.isEditInputShow = false;
|
|
@@ -26982,8 +27144,8 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26982
27144
|
});
|
|
26983
27145
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=script&lang=js&
|
|
26984
27146
|
/* harmony default export */ var packages_CustomDialog_src_mainvue_type_script_lang_js_ = (CustomDialog_src_mainvue_type_script_lang_js_);
|
|
26985
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=
|
|
26986
|
-
var
|
|
27147
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=20c83109&prod&lang=scss&scoped=true&
|
|
27148
|
+
var mainvue_type_style_index_0_id_20c83109_prod_lang_scss_scoped_true_ = __webpack_require__("a59b");
|
|
26987
27149
|
|
|
26988
27150
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue
|
|
26989
27151
|
|
|
@@ -26996,11 +27158,11 @@ var mainvue_type_style_index_0_id_3c53678f_prod_lang_scss_scoped_true_ = __webpa
|
|
|
26996
27158
|
|
|
26997
27159
|
var CustomDialog_src_main_component = normalizeComponent(
|
|
26998
27160
|
packages_CustomDialog_src_mainvue_type_script_lang_js_,
|
|
26999
|
-
|
|
27000
|
-
|
|
27161
|
+
mainvue_type_template_id_20c83109_scoped_true_render,
|
|
27162
|
+
mainvue_type_template_id_20c83109_scoped_true_staticRenderFns,
|
|
27001
27163
|
false,
|
|
27002
27164
|
null,
|
|
27003
|
-
"
|
|
27165
|
+
"20c83109",
|
|
27004
27166
|
null
|
|
27005
27167
|
|
|
27006
27168
|
)
|