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
|
@@ -1662,17 +1662,6 @@ const btnList = [{
|
|
|
1662
1662
|
|
|
1663
1663
|
// extracted by mini-css-extract-plugin
|
|
1664
1664
|
|
|
1665
|
-
/***/ }),
|
|
1666
|
-
|
|
1667
|
-
/***/ "120b":
|
|
1668
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1669
|
-
|
|
1670
|
-
"use strict";
|
|
1671
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customDialog_vue_vue_type_style_index_0_id_5a92d302_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("4975");
|
|
1672
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_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__);
|
|
1673
|
-
/* unused harmony reexport * */
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
1665
|
/***/ }),
|
|
1677
1666
|
|
|
1678
1667
|
/***/ "1303":
|
|
@@ -1872,6 +1861,13 @@ const SubPagination = {
|
|
|
1872
1861
|
/* unused harmony reexport * */
|
|
1873
1862
|
|
|
1874
1863
|
|
|
1864
|
+
/***/ }),
|
|
1865
|
+
|
|
1866
|
+
/***/ "1737":
|
|
1867
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1868
|
+
|
|
1869
|
+
// extracted by mini-css-extract-plugin
|
|
1870
|
+
|
|
1875
1871
|
/***/ }),
|
|
1876
1872
|
|
|
1877
1873
|
/***/ "17b6":
|
|
@@ -1915,17 +1911,6 @@ const SubPagination = {
|
|
|
1915
1911
|
/* unused harmony reexport * */
|
|
1916
1912
|
|
|
1917
1913
|
|
|
1918
|
-
/***/ }),
|
|
1919
|
-
|
|
1920
|
-
/***/ "1b91":
|
|
1921
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1922
|
-
|
|
1923
|
-
"use strict";
|
|
1924
|
-
/* 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");
|
|
1925
|
-
/* 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__);
|
|
1926
|
-
/* unused harmony reexport * */
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
1914
|
/***/ }),
|
|
1930
1915
|
|
|
1931
1916
|
/***/ "1ccc":
|
|
@@ -2080,6 +2065,17 @@ module.exports = require("vuedraggable");
|
|
|
2080
2065
|
/* unused harmony reexport * */
|
|
2081
2066
|
|
|
2082
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
|
+
|
|
2083
2079
|
/***/ }),
|
|
2084
2080
|
|
|
2085
2081
|
/***/ "2fee":
|
|
@@ -2939,54 +2935,47 @@ Formulas.install = Vue => {
|
|
|
2939
2935
|
|
|
2940
2936
|
/***/ }),
|
|
2941
2937
|
|
|
2942
|
-
/***/ "
|
|
2938
|
+
/***/ "49f8":
|
|
2943
2939
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2944
2940
|
|
|
2945
2941
|
// extracted by mini-css-extract-plugin
|
|
2946
2942
|
|
|
2947
2943
|
/***/ }),
|
|
2948
2944
|
|
|
2949
|
-
/***/ "
|
|
2945
|
+
/***/ "4a17":
|
|
2950
2946
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2951
2947
|
|
|
2952
2948
|
// extracted by mini-css-extract-plugin
|
|
2953
2949
|
|
|
2954
2950
|
/***/ }),
|
|
2955
2951
|
|
|
2956
|
-
/***/ "
|
|
2952
|
+
/***/ "4b7c":
|
|
2957
2953
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2958
2954
|
|
|
2959
2955
|
"use strict";
|
|
2960
|
-
/* harmony import */ var
|
|
2961
|
-
/* harmony import */ var
|
|
2956
|
+
/* 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");
|
|
2957
|
+
/* 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__);
|
|
2962
2958
|
/* unused harmony reexport * */
|
|
2963
2959
|
|
|
2964
2960
|
|
|
2965
2961
|
/***/ }),
|
|
2966
2962
|
|
|
2967
|
-
/***/ "
|
|
2963
|
+
/***/ "4be9":
|
|
2968
2964
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2969
2965
|
|
|
2970
2966
|
// extracted by mini-css-extract-plugin
|
|
2971
2967
|
|
|
2972
2968
|
/***/ }),
|
|
2973
2969
|
|
|
2974
|
-
/***/ "
|
|
2970
|
+
/***/ "4dad":
|
|
2975
2971
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2976
2972
|
|
|
2977
2973
|
"use strict";
|
|
2978
|
-
/* harmony import */ var
|
|
2979
|
-
/* harmony import */ var
|
|
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__);
|
|
2980
2976
|
/* unused harmony reexport * */
|
|
2981
2977
|
|
|
2982
2978
|
|
|
2983
|
-
/***/ }),
|
|
2984
|
-
|
|
2985
|
-
/***/ "4be9":
|
|
2986
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2987
|
-
|
|
2988
|
-
// extracted by mini-css-extract-plugin
|
|
2989
|
-
|
|
2990
2979
|
/***/ }),
|
|
2991
2980
|
|
|
2992
2981
|
/***/ "503b":
|
|
@@ -3470,6 +3459,17 @@ module.exports = require("element-ui");
|
|
|
3470
3459
|
|
|
3471
3460
|
module.exports = require("element-resize-detector");
|
|
3472
3461
|
|
|
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
3473
|
/***/ }),
|
|
3474
3474
|
|
|
3475
3475
|
/***/ "60bb":
|
|
@@ -3862,6 +3862,13 @@ const {
|
|
|
3862
3862
|
|
|
3863
3863
|
/***/ }),
|
|
3864
3864
|
|
|
3865
|
+
/***/ "67de":
|
|
3866
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3867
|
+
|
|
3868
|
+
// extracted by mini-css-extract-plugin
|
|
3869
|
+
|
|
3870
|
+
/***/ }),
|
|
3871
|
+
|
|
3865
3872
|
/***/ "68cf":
|
|
3866
3873
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3867
3874
|
|
|
@@ -4279,13 +4286,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4279
4286
|
|
|
4280
4287
|
/***/ }),
|
|
4281
4288
|
|
|
4282
|
-
/***/ "7c6e":
|
|
4283
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4284
|
-
|
|
4285
|
-
// extracted by mini-css-extract-plugin
|
|
4286
|
-
|
|
4287
|
-
/***/ }),
|
|
4288
|
-
|
|
4289
4289
|
/***/ "7d0a":
|
|
4290
4290
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4291
4291
|
|
|
@@ -4762,14 +4762,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
4762
4762
|
/***/ "9224":
|
|
4763
4763
|
/***/ (function(module) {
|
|
4764
4764
|
|
|
4765
|
-
module.exports = JSON.parse("{\"a\":\"1.0.
|
|
4766
|
-
|
|
4767
|
-
/***/ }),
|
|
4768
|
-
|
|
4769
|
-
/***/ "923d":
|
|
4770
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4771
|
-
|
|
4772
|
-
// extracted by mini-css-extract-plugin
|
|
4765
|
+
module.exports = JSON.parse("{\"a\":\"1.0.2\"}");
|
|
4773
4766
|
|
|
4774
4767
|
/***/ }),
|
|
4775
4768
|
|
|
@@ -4885,6 +4878,17 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHoAAABMCAYAAACi
|
|
|
4885
4878
|
/* unused harmony reexport * */
|
|
4886
4879
|
|
|
4887
4880
|
|
|
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
|
+
|
|
4888
4892
|
/***/ }),
|
|
4889
4893
|
|
|
4890
4894
|
/***/ "a6f4":
|
|
@@ -4903,6 +4907,13 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHoAAABMCAYAAACi
|
|
|
4903
4907
|
/* unused harmony reexport * */
|
|
4904
4908
|
|
|
4905
4909
|
|
|
4910
|
+
/***/ }),
|
|
4911
|
+
|
|
4912
|
+
/***/ "a7e3":
|
|
4913
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4914
|
+
|
|
4915
|
+
// extracted by mini-css-extract-plugin
|
|
4916
|
+
|
|
4906
4917
|
/***/ }),
|
|
4907
4918
|
|
|
4908
4919
|
/***/ "a96c":
|
|
@@ -6583,6 +6594,13 @@ module.exports = require("jquery");
|
|
|
6583
6594
|
/* unused harmony reexport * */
|
|
6584
6595
|
|
|
6585
6596
|
|
|
6597
|
+
/***/ }),
|
|
6598
|
+
|
|
6599
|
+
/***/ "c82d":
|
|
6600
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
6601
|
+
|
|
6602
|
+
// extracted by mini-css-extract-plugin
|
|
6603
|
+
|
|
6586
6604
|
/***/ }),
|
|
6587
6605
|
|
|
6588
6606
|
/***/ "c8ba":
|
|
@@ -6767,13 +6785,6 @@ module.exports = require("axios");
|
|
|
6767
6785
|
|
|
6768
6786
|
/***/ }),
|
|
6769
6787
|
|
|
6770
|
-
/***/ "d284":
|
|
6771
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
6772
|
-
|
|
6773
|
-
// extracted by mini-css-extract-plugin
|
|
6774
|
-
|
|
6775
|
-
/***/ }),
|
|
6776
|
-
|
|
6777
6788
|
/***/ "d3a3":
|
|
6778
6789
|
/***/ (function(module, exports, __webpack_require__) {
|
|
6779
6790
|
|
|
@@ -7182,17 +7193,6 @@ module.exports = require("deepmerge");
|
|
|
7182
7193
|
/* unused harmony reexport * */
|
|
7183
7194
|
|
|
7184
7195
|
|
|
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=20c83109&scoped=true&
|
|
23542
|
+
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:({
|
|
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_3c53678f_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();}}},[_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)}
|
|
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();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)}
|
|
23552
|
+
var mainvue_type_template_id_20c83109_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=20c83109&scoped=true&
|
|
23556
23556
|
|
|
23557
23557
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.js
|
|
23558
23558
|
|
|
@@ -23674,19 +23674,19 @@ var mainvue_type_template_id_3c53678f_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=4d56e14d&scoped=true&
|
|
23678
|
+
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":{
|
|
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"},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',{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_4d56e14d_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=4d56e14d&scoped=true&
|
|
23690
23690
|
|
|
23691
23691
|
// EXTERNAL MODULE: external "jquery"
|
|
23692
23692
|
var external_jquery_ = __webpack_require__("c5e1");
|
|
@@ -23994,6 +23994,7 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
23994
23994
|
//
|
|
23995
23995
|
//
|
|
23996
23996
|
//
|
|
23997
|
+
//
|
|
23997
23998
|
|
|
23998
23999
|
|
|
23999
24000
|
|
|
@@ -24017,10 +24018,16 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24017
24018
|
subIndex: Number,
|
|
24018
24019
|
sunIndex: Number,
|
|
24019
24020
|
subPath: String,
|
|
24020
|
-
currentSubData: Array
|
|
24021
|
+
currentSubData: Array,
|
|
24022
|
+
isReadOnly: {
|
|
24023
|
+
type: Boolean,
|
|
24024
|
+
default: false
|
|
24025
|
+
},
|
|
24026
|
+
dialogConfig: Object
|
|
24021
24027
|
},
|
|
24022
24028
|
data() {
|
|
24023
24029
|
return {
|
|
24030
|
+
tableHeight: 350,
|
|
24024
24031
|
isEditInputShow: false,
|
|
24025
24032
|
customValue: '',
|
|
24026
24033
|
defualtTooltipplacement: 'bottom',
|
|
@@ -24100,6 +24107,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24100
24107
|
return [this.props1[0][this.nodeKey]];
|
|
24101
24108
|
}
|
|
24102
24109
|
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);
|
|
24103
24117
|
}
|
|
24104
24118
|
},
|
|
24105
24119
|
watch: {
|
|
@@ -24119,141 +24133,164 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24119
24133
|
});
|
|
24120
24134
|
}
|
|
24121
24135
|
}
|
|
24136
|
+
this.initTableHeight();
|
|
24122
24137
|
},
|
|
24123
24138
|
immediate: true,
|
|
24124
24139
|
deep: true
|
|
24125
24140
|
}
|
|
24126
24141
|
},
|
|
24127
24142
|
mounted() {
|
|
24128
|
-
|
|
24129
|
-
this.
|
|
24130
|
-
}
|
|
24143
|
+
this.$root.$on('resize', () => {
|
|
24144
|
+
this.initTableHeight();
|
|
24145
|
+
});
|
|
24146
|
+
this.$nextTick(() => {
|
|
24147
|
+
if (this.value && !this.isReadOnly) {
|
|
24148
|
+
this.showDialog(true);
|
|
24149
|
+
}
|
|
24150
|
+
});
|
|
24131
24151
|
},
|
|
24132
24152
|
methods: {
|
|
24133
24153
|
showDialog() {
|
|
24134
24154
|
let isMounted = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
24135
|
-
const this_ = this;
|
|
24136
24155
|
this.fixedParams = {};
|
|
24156
|
+
// 如果已存在配置信息就不去请求配置信息 直接初始化数据
|
|
24157
|
+
if (this.dialogConfig) {
|
|
24158
|
+
this.initDialog(this.dialogConfig, isMounted);
|
|
24159
|
+
return;
|
|
24160
|
+
}
|
|
24137
24161
|
var alias = this.custdialog.custDialog.alias;
|
|
24138
24162
|
this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
|
|
24139
|
-
|
|
24140
|
-
|
|
24141
|
-
|
|
24142
|
-
|
|
24143
|
-
|
|
24144
|
-
|
|
24145
|
-
|
|
24146
|
-
|
|
24147
|
-
|
|
24148
|
-
|
|
24149
|
-
|
|
24150
|
-
|
|
24151
|
-
|
|
24152
|
-
|
|
24153
|
-
|
|
24154
|
-
|
|
24155
|
-
|
|
24156
|
-
|
|
24157
|
-
|
|
24158
|
-
|
|
24159
|
-
|
|
24163
|
+
this.initDialog(customDialog, isMounted);
|
|
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
|
+
};
|
|
24160
24189
|
}
|
|
24161
24190
|
}
|
|
24162
|
-
|
|
24163
|
-
|
|
24164
|
-
|
|
24165
|
-
|
|
24166
|
-
|
|
24167
|
-
|
|
24168
|
-
|
|
24169
|
-
|
|
24170
|
-
|
|
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
|
-
customDialog: customDialog
|
|
24224
|
-
}, isMounted);
|
|
24225
|
-
}, 100);
|
|
24226
|
-
} else if (customDialog.style == 1) {
|
|
24227
|
-
//树形
|
|
24228
|
-
this_.pageParam = {
|
|
24191
|
+
}
|
|
24192
|
+
//对话框按表单字段查询(参数传入的)
|
|
24193
|
+
let bindList = this_.custdialog.custDialog.conditions;
|
|
24194
|
+
this_.param = []; //绑定的表单字段
|
|
24195
|
+
if (bindList.length > 0) {
|
|
24196
|
+
bindList.forEach(ele => {
|
|
24197
|
+
//绑定表单字段
|
|
24198
|
+
if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
|
|
24199
|
+
let obj = {};
|
|
24200
|
+
obj.field = ele.field;
|
|
24201
|
+
obj.bind = ele.bind;
|
|
24202
|
+
obj.bindType = ele.bindType;
|
|
24203
|
+
this_.param.push(obj);
|
|
24204
|
+
}
|
|
24205
|
+
//取值对象为脚本时获取value
|
|
24206
|
+
if (ele.bindType === 3) {
|
|
24207
|
+
this_.$requestConfig.executeScript(ele.bind).then(res => {
|
|
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;
|
|
24232
|
+
}
|
|
24233
|
+
});
|
|
24234
|
+
this.$set(this, 'queryParams', queryParams);
|
|
24235
|
+
this.$set(this, 'placeholders', placeholders);
|
|
24236
|
+
}
|
|
24237
|
+
//判断是否显示条件查询输入框
|
|
24238
|
+
if (this_.quickSearch != '') {
|
|
24239
|
+
this_.querysShow = true;
|
|
24240
|
+
} else {
|
|
24241
|
+
this_.querysShow = true;
|
|
24242
|
+
}
|
|
24243
|
+
this_.quickSearch = '请输入' + this.quickSearch + '查询';
|
|
24244
|
+
this_.style = 'height:' + customDialog.height + 'px';
|
|
24245
|
+
if (window.screen.height && window.screen.height <= 900) {
|
|
24246
|
+
this.style = 'height:440px';
|
|
24247
|
+
}
|
|
24248
|
+
if (customDialog.style == 0 || customDialog.style == 2) {
|
|
24249
|
+
//列表
|
|
24250
|
+
setTimeout(() => {
|
|
24251
|
+
this_.customDialogShow({
|
|
24229
24252
|
alias: alias,
|
|
24230
24253
|
customDialog: customDialog
|
|
24231
|
-
};
|
|
24232
|
-
|
|
24233
|
-
|
|
24234
|
-
|
|
24235
|
-
|
|
24236
|
-
|
|
24237
|
-
|
|
24238
|
-
|
|
24239
|
-
|
|
24240
|
-
|
|
24241
|
-
|
|
24242
|
-
|
|
24243
|
-
|
|
24254
|
+
}, isMounted);
|
|
24255
|
+
}, 100);
|
|
24256
|
+
} else if (customDialog.style == 1) {
|
|
24257
|
+
//树形
|
|
24258
|
+
this_.pageParam = {
|
|
24259
|
+
alias: alias,
|
|
24260
|
+
customDialog: customDialog
|
|
24261
|
+
};
|
|
24262
|
+
this_.customDialog = customDialog;
|
|
24263
|
+
let param = {};
|
|
24264
|
+
this_.conditionfieldTree = [];
|
|
24265
|
+
//判断是否存在条件
|
|
24266
|
+
if (customDialog.conditionfield) {
|
|
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;
|
|
24244
24273
|
}
|
|
24245
24274
|
}
|
|
24246
24275
|
}
|
|
24247
|
-
|
|
24248
|
-
|
|
24249
|
-
|
|
24250
|
-
|
|
24251
|
-
|
|
24252
|
-
|
|
24253
|
-
|
|
24254
|
-
|
|
24276
|
+
}
|
|
24277
|
+
//有动态传入的字段
|
|
24278
|
+
if (!isMounted) {
|
|
24279
|
+
if (JSON.stringify(param) != '{}') {
|
|
24280
|
+
this_.dialogVisible = true;
|
|
24281
|
+
} else {
|
|
24282
|
+
//无动态传入的字段
|
|
24283
|
+
this_.customDialogTreeShow(this_.pageParam);
|
|
24255
24284
|
}
|
|
24256
24285
|
}
|
|
24286
|
+
}
|
|
24287
|
+
},
|
|
24288
|
+
initTableHeight() {
|
|
24289
|
+
this.$nextTick(() => {
|
|
24290
|
+
let mainEl = document.getElementsByClassName('custom-dialog_main');
|
|
24291
|
+
if (mainEl && mainEl.length) {
|
|
24292
|
+
this.tableHeight = mainEl[0].clientHeight - 40;
|
|
24293
|
+
}
|
|
24257
24294
|
});
|
|
24258
24295
|
},
|
|
24259
24296
|
treeClick(data) {
|
|
@@ -24375,13 +24412,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24375
24412
|
}
|
|
24376
24413
|
// 添加用户id 岗位id 组织id
|
|
24377
24414
|
try {
|
|
24378
|
-
if (this.$requestConfig.getUserId()) {
|
|
24415
|
+
if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
|
|
24379
24416
|
ctx.userId = this.$requestConfig.getUserId();
|
|
24380
24417
|
}
|
|
24381
|
-
if (this.$requestConfig.getOrgId()) {
|
|
24418
|
+
if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
|
|
24382
24419
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
24383
24420
|
}
|
|
24384
|
-
if (this.$requestConfig.getPostId()) {
|
|
24421
|
+
if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
|
|
24385
24422
|
ctx.postId = this.$requestConfig.getPostId();
|
|
24386
24423
|
}
|
|
24387
24424
|
} catch (e) {
|
|
@@ -24442,6 +24479,7 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24442
24479
|
if (this.customDialog.selectNum === 1) {
|
|
24443
24480
|
nodes = this.propsData[0];
|
|
24444
24481
|
var temp = '';
|
|
24482
|
+
debugger;
|
|
24445
24483
|
for (var j = 0; j < comment.length; j++) {
|
|
24446
24484
|
temp += '"' + comment[j] + '":"' + nodes[field[j]] + '",';
|
|
24447
24485
|
}
|
|
@@ -24464,10 +24502,15 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24464
24502
|
}
|
|
24465
24503
|
const pInst = utils["a" /* default */].getOnlineFormInstance(this);
|
|
24466
24504
|
this.selectOrgs = this.convertComment2Field(str, field);
|
|
24467
|
-
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
24505
|
+
this.custdialog.custDialog.mappingConf.forEach((con, index) => {
|
|
24468
24506
|
var val = '';
|
|
24469
24507
|
str.forEach(item => {
|
|
24470
|
-
|
|
24508
|
+
// 此处添加url跳转参数保存逻辑
|
|
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
|
+
}
|
|
24471
24514
|
});
|
|
24472
24515
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
24473
24516
|
utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
|
|
@@ -24589,13 +24632,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24589
24632
|
queryParamMap.total = pageBean.pageBean.total;
|
|
24590
24633
|
// 添加用户id 岗位id 组织id
|
|
24591
24634
|
try {
|
|
24592
|
-
if (this.$requestConfig.getUserId()) {
|
|
24635
|
+
if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
|
|
24593
24636
|
ctx.userId = this.$requestConfig.getUserId();
|
|
24594
24637
|
}
|
|
24595
|
-
if (this.$requestConfig.getOrgId()) {
|
|
24638
|
+
if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
|
|
24596
24639
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
24597
24640
|
}
|
|
24598
|
-
if (this.$requestConfig.getPostId()) {
|
|
24641
|
+
if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
|
|
24599
24642
|
ctx.postId = this.$requestConfig.getPostId();
|
|
24600
24643
|
}
|
|
24601
24644
|
} catch (e) {
|
|
@@ -24616,7 +24659,7 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24616
24659
|
value: queryParamMap[bindKey] || ctx[bindKey] || ''
|
|
24617
24660
|
};
|
|
24618
24661
|
});
|
|
24619
|
-
param.querys = queryList;
|
|
24662
|
+
param.querys = queryList || [];
|
|
24620
24663
|
if (this.customDialog.needPage) {
|
|
24621
24664
|
param.pageBean = obj;
|
|
24622
24665
|
} else {
|
|
@@ -24883,6 +24926,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24883
24926
|
},
|
|
24884
24927
|
// 同步选择结果
|
|
24885
24928
|
syncInputValue() {
|
|
24929
|
+
// 对话框跳转url需要两个参数 1当前控件绑定的对象参数modelName 2对话框配置中配置的key名称
|
|
24930
|
+
// 同步值时,如果有绑定url跳转参数,值格式为 名称¯跳转key:跳转value
|
|
24886
24931
|
let thisIndex = null; //当前数据所在下标
|
|
24887
24932
|
let parentIndex = null; //父节点所在下标
|
|
24888
24933
|
if (this.$parent.$el) {
|
|
@@ -24961,8 +25006,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24961
25006
|
var val = '';
|
|
24962
25007
|
var from = con.from.toLowerCase();
|
|
24963
25008
|
str.forEach(item => {
|
|
25009
|
+
// 如果有绑定url跳转参数 需获取跳转参数的key
|
|
24964
25010
|
if (item) {
|
|
24965
|
-
|
|
25011
|
+
if (this.jumpParamKey && this.isHaveJumpUrl && this.modelName == 'data.' + con['target'][0]) {
|
|
25012
|
+
val += `${decodeURIComponent(item[from])}¯${this.jumpParamKey}:${item[this.jumpParamKey]},`;
|
|
25013
|
+
} else {
|
|
25014
|
+
val += decodeURIComponent(item[from]) + ',';
|
|
25015
|
+
}
|
|
24966
25016
|
}
|
|
24967
25017
|
});
|
|
24968
25018
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
@@ -25213,8 +25263,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25213
25263
|
});
|
|
25214
25264
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=script&lang=js&
|
|
25215
25265
|
/* harmony default export */ var src_customDialogvue_type_script_lang_js_ = (customDialogvue_type_script_lang_js_);
|
|
25216
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=
|
|
25217
|
-
var
|
|
25266
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=4d56e14d&prod&lang=scss&scoped=true&
|
|
25267
|
+
var customDialogvue_type_style_index_0_id_4d56e14d_prod_lang_scss_scoped_true_ = __webpack_require__("5fdd");
|
|
25218
25268
|
|
|
25219
25269
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue
|
|
25220
25270
|
|
|
@@ -25227,18 +25277,18 @@ var customDialogvue_type_style_index_0_id_5a92d302_prod_lang_scss_scoped_true_ =
|
|
|
25227
25277
|
|
|
25228
25278
|
var customDialog_component = normalizeComponent(
|
|
25229
25279
|
src_customDialogvue_type_script_lang_js_,
|
|
25230
|
-
|
|
25231
|
-
|
|
25280
|
+
customDialogvue_type_template_id_4d56e14d_scoped_true_render,
|
|
25281
|
+
customDialogvue_type_template_id_4d56e14d_scoped_true_staticRenderFns,
|
|
25232
25282
|
false,
|
|
25233
25283
|
null,
|
|
25234
|
-
"
|
|
25284
|
+
"4d56e14d",
|
|
25235
25285
|
null
|
|
25236
25286
|
|
|
25237
25287
|
)
|
|
25238
25288
|
|
|
25239
25289
|
/* harmony default export */ var CustomDialog_src_customDialog = (customDialog_component.exports);
|
|
25240
|
-
// 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=
|
|
25241
|
-
var
|
|
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=0c95bb92&scoped=true&
|
|
25291
|
+
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":{
|
|
25242
25292
|
alias: condition.config.customQuery.alias,
|
|
25243
25293
|
valueBind: condition.config.customQuery.valueBind,
|
|
25244
25294
|
noInit: '',
|
|
@@ -25248,10 +25298,10 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_render = functio
|
|
|
25248
25298
|
},"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(
|
|
25249
25299
|
function (k) { return k.defaultType == '4'; }
|
|
25250
25300
|
)),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)}
|
|
25251
|
-
var
|
|
25301
|
+
var customMobileDialogvue_type_template_id_0c95bb92_scoped_true_staticRenderFns = []
|
|
25252
25302
|
|
|
25253
25303
|
|
|
25254
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=
|
|
25304
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=0c95bb92&scoped=true&
|
|
25255
25305
|
|
|
25256
25306
|
// 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&
|
|
25257
25307
|
//
|
|
@@ -25533,7 +25583,8 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25533
25583
|
subIndex: Number,
|
|
25534
25584
|
sunIndex: Number,
|
|
25535
25585
|
subPath: String,
|
|
25536
|
-
currentSubData: Array
|
|
25586
|
+
currentSubData: Array,
|
|
25587
|
+
dialogConfig: Object
|
|
25537
25588
|
},
|
|
25538
25589
|
data() {
|
|
25539
25590
|
return {
|
|
@@ -25616,6 +25667,13 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25616
25667
|
sureButtonText() {
|
|
25617
25668
|
const selectedText = this.selectIds.length > 0 ? `(${this.selectIds.length})` : '';
|
|
25618
25669
|
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);
|
|
25619
25677
|
}
|
|
25620
25678
|
},
|
|
25621
25679
|
methods: {
|
|
@@ -25664,112 +25722,121 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25664
25722
|
this.search(true);
|
|
25665
25723
|
},
|
|
25666
25724
|
showDialog() {
|
|
25667
|
-
const this_ = this;
|
|
25668
25725
|
this.fixedParams = {};
|
|
25726
|
+
// 如果已存在配置信息就不去请求配置信息 直接初始化数据
|
|
25727
|
+
if (this.dialogConfig) {
|
|
25728
|
+
this.initDialog(this.dialogConfig);
|
|
25729
|
+
return;
|
|
25730
|
+
}
|
|
25669
25731
|
var alias = this.custdialog.custDialog.alias;
|
|
25670
25732
|
this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
|
|
25671
|
-
|
|
25672
|
-
|
|
25673
|
-
|
|
25674
|
-
|
|
25675
|
-
|
|
25676
|
-
|
|
25677
|
-
|
|
25678
|
-
|
|
25679
|
-
|
|
25680
|
-
|
|
25681
|
-
|
|
25682
|
-
|
|
25683
|
-
|
|
25684
|
-
|
|
25685
|
-
|
|
25686
|
-
|
|
25687
|
-
|
|
25688
|
-
|
|
25689
|
-
|
|
25690
|
-
|
|
25691
|
-
|
|
25733
|
+
this.initDialog(customDialog);
|
|
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
|
+
};
|
|
25692
25759
|
}
|
|
25693
25760
|
}
|
|
25694
|
-
|
|
25695
|
-
|
|
25696
|
-
|
|
25697
|
-
|
|
25698
|
-
|
|
25699
|
-
|
|
25700
|
-
|
|
25701
|
-
|
|
25702
|
-
|
|
25703
|
-
|
|
25704
|
-
|
|
25705
|
-
|
|
25706
|
-
|
|
25707
|
-
|
|
25708
|
-
|
|
25709
|
-
|
|
25710
|
-
|
|
25711
|
-
}
|
|
25712
|
-
}
|
|
25761
|
+
}
|
|
25762
|
+
//对话框按表单字段查询(参数传入的)
|
|
25763
|
+
let bindList = this_.custdialog.custDialog.conditions;
|
|
25764
|
+
this_.param = []; //绑定的表单字段
|
|
25765
|
+
if (bindList.length > 0) {
|
|
25766
|
+
bindList.forEach(ele => {
|
|
25767
|
+
//绑定表单字段
|
|
25768
|
+
if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
|
|
25769
|
+
let obj = {};
|
|
25770
|
+
obj.field = ele.field;
|
|
25771
|
+
obj.bind = ele.bind;
|
|
25772
|
+
obj.bindType = ele.bindType;
|
|
25773
|
+
this_.param.push(obj);
|
|
25774
|
+
}
|
|
25775
|
+
// bindType 1 表单字段 2固定 3脚本
|
|
25776
|
+
if (ele.defaultType == '3' && ele.bindType === 2) {
|
|
25777
|
+
this_.fixedParams[ele.field] = ele.bind || '';
|
|
25778
|
+
}
|
|
25779
|
+
});
|
|
25780
|
+
}
|
|
25713
25781
|
|
|
25714
|
-
|
|
25715
|
-
|
|
25716
|
-
|
|
25717
|
-
|
|
25718
|
-
|
|
25719
|
-
|
|
25720
|
-
|
|
25721
|
-
|
|
25722
|
-
|
|
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
|
-
}
|
|
25782
|
+
//判断对话框查询是否有条件
|
|
25783
|
+
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
25784
|
+
this_.conditionBind = [];
|
|
25785
|
+
let queryParams = [];
|
|
25786
|
+
let placeholders = [];
|
|
25787
|
+
if (userInputList.length > 0) {
|
|
25788
|
+
userInputList.forEach(ele => {
|
|
25789
|
+
var obj = {};
|
|
25790
|
+
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
25791
|
+
if (ele.defaultType == '1') {
|
|
25792
|
+
obj[ele.field] = '';
|
|
25793
|
+
queryParams.push(obj);
|
|
25794
|
+
// queryParams[ele.field] = "";
|
|
25795
|
+
this_.conditionBind.push(ele);
|
|
25796
|
+
placeholders.push('请输入' + ele.comment);
|
|
25797
|
+
}
|
|
25798
|
+
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
25799
|
+
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
25800
|
+
}
|
|
25801
|
+
});
|
|
25802
|
+
this.$set(this, 'queryParams', queryParams);
|
|
25803
|
+
this.$set(this, 'placeholders', placeholders);
|
|
25804
|
+
}
|
|
25805
|
+
if (customDialog.style == 0 || customDialog.style == 2) {
|
|
25806
|
+
//列表
|
|
25807
|
+
this_.customDialogShow({
|
|
25808
|
+
alias: alias,
|
|
25809
|
+
customDialog: customDialog
|
|
25810
|
+
});
|
|
25811
|
+
} else if (customDialog.style == 1) {
|
|
25812
|
+
//树形
|
|
25813
|
+
this_.pageParam = {
|
|
25814
|
+
alias: alias,
|
|
25815
|
+
customDialog: customDialog
|
|
25816
|
+
};
|
|
25817
|
+
this_.customDialog = customDialog;
|
|
25818
|
+
let param = {};
|
|
25819
|
+
this_.conditionfieldTree = [];
|
|
25820
|
+
//判断是否存在条件
|
|
25821
|
+
if (customDialog.conditionfield) {
|
|
25822
|
+
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
25823
|
+
if (this_.conditionfieldTree.length > 0) {
|
|
25824
|
+
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
25825
|
+
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
25826
|
+
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
25827
|
+
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
25761
25828
|
}
|
|
25762
25829
|
}
|
|
25763
25830
|
}
|
|
25764
|
-
//有动态传入的字段
|
|
25765
|
-
if (JSON.stringify(param) != '{}') {
|
|
25766
|
-
this_.dialogVisible = true;
|
|
25767
|
-
} else {
|
|
25768
|
-
//无动态传入的字段
|
|
25769
|
-
this_.customDialogTreeShow(this_.pageParam);
|
|
25770
|
-
}
|
|
25771
25831
|
}
|
|
25772
|
-
|
|
25832
|
+
//有动态传入的字段
|
|
25833
|
+
if (JSON.stringify(param) != '{}') {
|
|
25834
|
+
this_.dialogVisible = true;
|
|
25835
|
+
} else {
|
|
25836
|
+
//无动态传入的字段
|
|
25837
|
+
this_.customDialogTreeShow(this_.pageParam);
|
|
25838
|
+
}
|
|
25839
|
+
}
|
|
25773
25840
|
},
|
|
25774
25841
|
treeClick(data) {
|
|
25775
25842
|
// 单选
|
|
@@ -25887,13 +25954,13 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25887
25954
|
}
|
|
25888
25955
|
// 添加用户id 岗位id 组织id
|
|
25889
25956
|
try {
|
|
25890
|
-
if (this.$requestConfig.getUserId()) {
|
|
25957
|
+
if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
|
|
25891
25958
|
ctx.userId = this.$requestConfig.getUserId();
|
|
25892
25959
|
}
|
|
25893
|
-
if (this.$requestConfig.getOrgId()) {
|
|
25960
|
+
if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
|
|
25894
25961
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
25895
25962
|
}
|
|
25896
|
-
if (this.$requestConfig.getPostId()) {
|
|
25963
|
+
if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
|
|
25897
25964
|
ctx.postId = this.$requestConfig.getPostId();
|
|
25898
25965
|
}
|
|
25899
25966
|
} catch (e) {
|
|
@@ -25978,8 +26045,13 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25978
26045
|
this.selectOrgs = this.convertComment2Field(str, field);
|
|
25979
26046
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
25980
26047
|
var val = '';
|
|
25981
|
-
str.forEach(item => {
|
|
25982
|
-
|
|
26048
|
+
str.forEach((item, index) => {
|
|
26049
|
+
// 此处添加url跳转参数保存逻辑
|
|
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
|
+
}
|
|
25983
26055
|
});
|
|
25984
26056
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
25985
26057
|
utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
|
|
@@ -26100,13 +26172,13 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26100
26172
|
ctx.total = pageBean.pageBean.total;
|
|
26101
26173
|
// 添加用户id 岗位id 组织id
|
|
26102
26174
|
try {
|
|
26103
|
-
if (this.$requestConfig.getUserId()) {
|
|
26175
|
+
if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
|
|
26104
26176
|
ctx.userId = this.$requestConfig.getUserId();
|
|
26105
26177
|
}
|
|
26106
|
-
if (this.$requestConfig.getOrgId()) {
|
|
26178
|
+
if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
|
|
26107
26179
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
26108
26180
|
}
|
|
26109
|
-
if (this.$requestConfig.getPostId()) {
|
|
26181
|
+
if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
|
|
26110
26182
|
ctx.postId = this.$requestConfig.getPostId();
|
|
26111
26183
|
}
|
|
26112
26184
|
} catch (e) {
|
|
@@ -26373,7 +26445,11 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26373
26445
|
var from = con.from.toLowerCase();
|
|
26374
26446
|
str.forEach(item => {
|
|
26375
26447
|
if (item) {
|
|
26376
|
-
|
|
26448
|
+
if (this.jumpParamKey && this.isHaveJumpUrl && this.modelName == 'data.' + con['target'][0]) {
|
|
26449
|
+
val += `${decodeURIComponent(item[from])}¯${this.jumpParamKey}:${item[this.jumpParamKey]},`;
|
|
26450
|
+
} else {
|
|
26451
|
+
val += decodeURIComponent(item[from]) + ',';
|
|
26452
|
+
}
|
|
26377
26453
|
}
|
|
26378
26454
|
});
|
|
26379
26455
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
@@ -26625,11 +26701,11 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26625
26701
|
});
|
|
26626
26702
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=script&lang=js&
|
|
26627
26703
|
/* harmony default export */ var src_customMobileDialogvue_type_script_lang_js_ = (customMobileDialogvue_type_script_lang_js_);
|
|
26628
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=
|
|
26629
|
-
var
|
|
26704
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=0c95bb92&prod&lang=scss&scoped=true&
|
|
26705
|
+
var customMobileDialogvue_type_style_index_0_id_0c95bb92_prod_lang_scss_scoped_true_ = __webpack_require__("2f41");
|
|
26630
26706
|
|
|
26631
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=
|
|
26632
|
-
var
|
|
26707
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=0c95bb92&prod&lang=scss&
|
|
26708
|
+
var customMobileDialogvue_type_style_index_1_id_0c95bb92_prod_lang_scss_ = __webpack_require__("4dad");
|
|
26633
26709
|
|
|
26634
26710
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue
|
|
26635
26711
|
|
|
@@ -26643,11 +26719,11 @@ var customMobileDialogvue_type_style_index_1_id_1661eebb_prod_lang_scss_ = __web
|
|
|
26643
26719
|
|
|
26644
26720
|
var customMobileDialog_component = normalizeComponent(
|
|
26645
26721
|
src_customMobileDialogvue_type_script_lang_js_,
|
|
26646
|
-
|
|
26647
|
-
|
|
26722
|
+
customMobileDialogvue_type_template_id_0c95bb92_scoped_true_render,
|
|
26723
|
+
customMobileDialogvue_type_template_id_0c95bb92_scoped_true_staticRenderFns,
|
|
26648
26724
|
false,
|
|
26649
26725
|
null,
|
|
26650
|
-
"
|
|
26726
|
+
"0c95bb92",
|
|
26651
26727
|
null
|
|
26652
26728
|
|
|
26653
26729
|
)
|
|
@@ -26786,6 +26862,16 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26786
26862
|
//
|
|
26787
26863
|
//
|
|
26788
26864
|
//
|
|
26865
|
+
//
|
|
26866
|
+
//
|
|
26867
|
+
//
|
|
26868
|
+
//
|
|
26869
|
+
//
|
|
26870
|
+
//
|
|
26871
|
+
//
|
|
26872
|
+
//
|
|
26873
|
+
//
|
|
26874
|
+
//
|
|
26789
26875
|
|
|
26790
26876
|
|
|
26791
26877
|
|
|
@@ -26821,6 +26907,8 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26821
26907
|
},
|
|
26822
26908
|
data() {
|
|
26823
26909
|
return {
|
|
26910
|
+
dialogConfig: null,
|
|
26911
|
+
// 对话框配置信息
|
|
26824
26912
|
isEditInputShow: false,
|
|
26825
26913
|
customValue: '',
|
|
26826
26914
|
defualtTooltipplacement: 'bottom',
|
|
@@ -26869,9 +26957,21 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26869
26957
|
}
|
|
26870
26958
|
let result = [];
|
|
26871
26959
|
nameAry.forEach(m => {
|
|
26872
|
-
|
|
26873
|
-
|
|
26874
|
-
|
|
26960
|
+
// 带url跳转参数的 使用上横杆区分参数 值格式为 名称¯跳转key:跳转value
|
|
26961
|
+
let n = {};
|
|
26962
|
+
if (m.includes('¯') && m.split('¯')[1]) {
|
|
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
|
+
}
|
|
26875
26975
|
result.push(n);
|
|
26876
26976
|
});
|
|
26877
26977
|
return result;
|
|
@@ -26879,8 +26979,16 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26879
26979
|
},
|
|
26880
26980
|
isAllowCustom() {
|
|
26881
26981
|
return this.custdialog && this.custdialog.allowInput;
|
|
26982
|
+
},
|
|
26983
|
+
// 是否展示可跳转颜色
|
|
26984
|
+
isSrcColor() {
|
|
26985
|
+
return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
26882
26986
|
}
|
|
26883
26987
|
},
|
|
26988
|
+
created() {
|
|
26989
|
+
// 获取对话框配置,看是否有配置url跳转
|
|
26990
|
+
this.getDialogConfig();
|
|
26991
|
+
},
|
|
26884
26992
|
mounted() {
|
|
26885
26993
|
const {
|
|
26886
26994
|
subScopeEl
|
|
@@ -26899,6 +27007,60 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26899
27007
|
this.calacInputSuffixWidth();
|
|
26900
27008
|
},
|
|
26901
27009
|
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
|
+
},
|
|
26902
27064
|
editInputBlur() {
|
|
26903
27065
|
this.$emit('input', this.customValue);
|
|
26904
27066
|
this.isEditInputShow = false;
|
|
@@ -26973,8 +27135,8 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26973
27135
|
});
|
|
26974
27136
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=script&lang=js&
|
|
26975
27137
|
/* harmony default export */ var packages_CustomDialog_src_mainvue_type_script_lang_js_ = (CustomDialog_src_mainvue_type_script_lang_js_);
|
|
26976
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=
|
|
26977
|
-
var
|
|
27138
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=20c83109&prod&lang=scss&scoped=true&
|
|
27139
|
+
var mainvue_type_style_index_0_id_20c83109_prod_lang_scss_scoped_true_ = __webpack_require__("a59b");
|
|
26978
27140
|
|
|
26979
27141
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue
|
|
26980
27142
|
|
|
@@ -26987,11 +27149,11 @@ var mainvue_type_style_index_0_id_3c53678f_prod_lang_scss_scoped_true_ = __webpa
|
|
|
26987
27149
|
|
|
26988
27150
|
var CustomDialog_src_main_component = normalizeComponent(
|
|
26989
27151
|
packages_CustomDialog_src_mainvue_type_script_lang_js_,
|
|
26990
|
-
|
|
26991
|
-
|
|
27152
|
+
mainvue_type_template_id_20c83109_scoped_true_render,
|
|
27153
|
+
mainvue_type_template_id_20c83109_scoped_true_staticRenderFns,
|
|
26992
27154
|
false,
|
|
26993
27155
|
null,
|
|
26994
|
-
"
|
|
27156
|
+
"20c83109",
|
|
26995
27157
|
null
|
|
26996
27158
|
|
|
26997
27159
|
)
|