three-trees-ui 1.0.1 → 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.
@@ -1870,6 +1870,13 @@ const SubPagination = {
1870
1870
  /* unused harmony reexport * */
1871
1871
 
1872
1872
 
1873
+ /***/ }),
1874
+
1875
+ /***/ "1737":
1876
+ /***/ (function(module, exports, __webpack_require__) {
1877
+
1878
+ // extracted by mini-css-extract-plugin
1879
+
1873
1880
  /***/ }),
1874
1881
 
1875
1882
  /***/ "17b6":
@@ -1913,13 +1920,6 @@ const SubPagination = {
1913
1920
  /* unused harmony reexport * */
1914
1921
 
1915
1922
 
1916
- /***/ }),
1917
-
1918
- /***/ "1c11":
1919
- /***/ (function(module, exports, __webpack_require__) {
1920
-
1921
- // extracted by mini-css-extract-plugin
1922
-
1923
1923
  /***/ }),
1924
1924
 
1925
1925
  /***/ "1ccc":
@@ -2074,6 +2074,17 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__289a__;
2074
2074
  /* unused harmony reexport * */
2075
2075
 
2076
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
+
2077
2088
  /***/ }),
2078
2089
 
2079
2090
  /***/ "2fee":
@@ -2938,17 +2949,6 @@ Formulas.install = Vue => {
2938
2949
 
2939
2950
  // extracted by mini-css-extract-plugin
2940
2951
 
2941
- /***/ }),
2942
-
2943
- /***/ "49f9":
2944
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
2945
-
2946
- "use strict";
2947
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_1_id_1661eebb_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("7c6e");
2948
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_1_id_1661eebb_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_1_id_1661eebb_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
2949
- /* unused harmony reexport * */
2950
-
2951
-
2952
2952
  /***/ }),
2953
2953
 
2954
2954
  /***/ "4a17":
@@ -2974,6 +2974,17 @@ Formulas.install = Vue => {
2974
2974
 
2975
2975
  // extracted by mini-css-extract-plugin
2976
2976
 
2977
+ /***/ }),
2978
+
2979
+ /***/ "4dad":
2980
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
2981
+
2982
+ "use strict";
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__);
2985
+ /* unused harmony reexport * */
2986
+
2987
+
2977
2988
  /***/ }),
2978
2989
 
2979
2990
  /***/ "503b":
@@ -3457,6 +3468,17 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__5f72__;
3457
3468
 
3458
3469
  module.exports = require("element-resize-detector");
3459
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
+
3460
3482
  /***/ }),
3461
3483
 
3462
3484
  /***/ "60bb":
@@ -3849,6 +3871,13 @@ const {
3849
3871
 
3850
3872
  /***/ }),
3851
3873
 
3874
+ /***/ "67de":
3875
+ /***/ (function(module, exports, __webpack_require__) {
3876
+
3877
+ // extracted by mini-css-extract-plugin
3878
+
3879
+ /***/ }),
3880
+
3852
3881
  /***/ "68cf":
3853
3882
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3854
3883
 
@@ -4266,13 +4295,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
4266
4295
 
4267
4296
  /***/ }),
4268
4297
 
4269
- /***/ "7c6e":
4270
- /***/ (function(module, exports, __webpack_require__) {
4271
-
4272
- // extracted by mini-css-extract-plugin
4273
-
4274
- /***/ }),
4275
-
4276
4298
  /***/ "7d0a":
4277
4299
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4278
4300
 
@@ -4300,17 +4322,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
4300
4322
 
4301
4323
  // extracted by mini-css-extract-plugin
4302
4324
 
4303
- /***/ }),
4304
-
4305
- /***/ "8050":
4306
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
4307
-
4308
- "use strict";
4309
- /* 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_e7412952_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a91e");
4310
- /* 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_e7412952_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_e7412952_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
4311
- /* unused harmony reexport * */
4312
-
4313
-
4314
4325
  /***/ }),
4315
4326
 
4316
4327
  /***/ "81f7":
@@ -4760,14 +4771,7 @@ if (typeof window !== 'undefined' && window.Vue) {
4760
4771
  /***/ "9224":
4761
4772
  /***/ (function(module) {
4762
4773
 
4763
- module.exports = JSON.parse("{\"a\":\"1.0.1\"}");
4764
-
4765
- /***/ }),
4766
-
4767
- /***/ "923d":
4768
- /***/ (function(module, exports, __webpack_require__) {
4769
-
4770
- // extracted by mini-css-extract-plugin
4774
+ module.exports = JSON.parse("{\"a\":\"1.0.2\"}");
4771
4775
 
4772
4776
  /***/ }),
4773
4777
 
@@ -4883,6 +4887,17 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHoAAABMCAYAAACi
4883
4887
  /* unused harmony reexport * */
4884
4888
 
4885
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
+
4886
4901
  /***/ }),
4887
4902
 
4888
4903
  /***/ "a6f4":
@@ -4903,7 +4918,7 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHoAAABMCAYAAACi
4903
4918
 
4904
4919
  /***/ }),
4905
4920
 
4906
- /***/ "a91e":
4921
+ /***/ "a7e3":
4907
4922
  /***/ (function(module, exports, __webpack_require__) {
4908
4923
 
4909
4924
  // extracted by mini-css-extract-plugin
@@ -6465,17 +6480,6 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
6465
6480
 
6466
6481
  // extracted by mini-css-extract-plugin
6467
6482
 
6468
- /***/ }),
6469
-
6470
- /***/ "bf72":
6471
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
6472
-
6473
- "use strict";
6474
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_37fe7c68_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1c11");
6475
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_37fe7c68_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_37fe7c68_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
6476
- /* unused harmony reexport * */
6477
-
6478
-
6479
6483
  /***/ }),
6480
6484
 
6481
6485
  /***/ "c0a9":
@@ -6599,6 +6603,13 @@ module.exports = __WEBPACK_EXTERNAL_MODULE_c5e1__;
6599
6603
  /* unused harmony reexport * */
6600
6604
 
6601
6605
 
6606
+ /***/ }),
6607
+
6608
+ /***/ "c82d":
6609
+ /***/ (function(module, exports, __webpack_require__) {
6610
+
6611
+ // extracted by mini-css-extract-plugin
6612
+
6602
6613
  /***/ }),
6603
6614
 
6604
6615
  /***/ "c8ba":
@@ -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=37fe7c68&scoped=true&
23551
- var mainvue_type_template_id_37fe7c68_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"inputs"},[_c('el-tooltip',{attrs:{"placement":_vm.tooltipplacement || _vm.defualtTooltipplacement,"disabled":_vm.inputWriteable && !_vm.errors.has('custom-form.' + _vm.inputName)}},[_c('div',{attrs:{"slot":"content"},slot:"content"},[_vm._v(_vm._s(_vm.errors.first('custom-form.' + _vm.inputName)))]),(_vm.inputWriteable)?_c('div',{staticClass:"el-select",class:{ 'has-value': _vm.value },staticStyle:{"width":"100%"}},[_c('div',{ref:"tagSpans",staticClass:"el-select__tags",style:({ width: 'calc(100% - 10px - ' + _vm.inputSuffixWidth + 'px)' }),on:{"click":_vm.showEditInput}},[_c('span',{staticClass:"tag-wrap"},_vm._l((_vm.inputVal),function(item,index){return _c('span',{key:item.value,staticClass:"el-tag el-tag--info el-tag--small",on:{"click":_vm.showEditInput}},[_c('span',{staticClass:"el-select__tags-text"},[_vm._v(_vm._s(item.value))]),_c('i',{staticClass:"el-tag__close el-icon-close",on:{"click":function($event){$event.stopPropagation();return _vm.removeSelectOrg(index)}}})])}),0)]),_c('div',{staticClass:"el-input el-input--suffix"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.inputVal),expression:"inputVal"},{name:"validate",rawName:"v-validate",value:(_vm.inputValidate),expression:"inputValidate"}],staticClass:"el-input__inner",style:({ height: _vm.inputSuffixHeight + 'px' }),attrs:{"type":"text","readonly":"readonly","name":_vm.inputName,"autocomplete":"off","placeholder":_vm.placeholder},domProps:{"value":(_vm.inputVal)},on:{"click":_vm.showEditInput,"input":function($event){if($event.target.composing){ return; }_vm.inputVal=$event.target.value}}}),(_vm.isAllowCustom && _vm.isEditInputShow)?_c('el-input',{ref:"editInputRef",staticClass:"edit-input",style:({
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_37fe7c68_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,"is-read-only":!_vm.inputWriteable},on:{"calacInputSuffixHeight":_vm.calacInputSuffixHeight,"updateInput":_vm.updateInput},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v},expression:"value"}}),_c('span',{directives:[{name:"validate",rawName:"v-validate"}],staticStyle:{"display":"none"}},[_vm._t("labeldesc",[_vm._v(_vm._s(_vm.inputName))])],2),_c('ht-field-tail',{attrs:{"field-name":_vm.inputName,"input-value":_vm.value}})],1)}
23561
- var mainvue_type_template_id_37fe7c68_scoped_true_staticRenderFns = []
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=37fe7c68&scoped=true&
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,8 +23683,8 @@ var mainvue_type_template_id_37fe7c68_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=e7412952&scoped=true&
23687
- var customDialogvue_type_template_id_e7412952_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":{
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: '',
@@ -23692,10 +23692,10 @@ var customDialogvue_type_template_id_e7412952_scoped_true_render = function () {
23692
23692
  gangedBind: '{}',
23693
23693
  bind: condition.config.bind,
23694
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_e7412952_scoped_true_staticRenderFns = []
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=e7412952&scoped=true&
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");
@@ -24031,7 +24031,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24031
24031
  isReadOnly: {
24032
24032
  type: Boolean,
24033
24033
  default: false
24034
- }
24034
+ },
24035
+ dialogConfig: Object
24035
24036
  },
24036
24037
  data() {
24037
24038
  return {
@@ -24115,6 +24116,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24115
24116
  return [this.props1[0][this.nodeKey]];
24116
24117
  }
24117
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);
24118
24126
  }
24119
24127
  },
24120
24128
  watch: {
@@ -24153,129 +24161,138 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24153
24161
  methods: {
24154
24162
  showDialog() {
24155
24163
  let isMounted = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
24156
- const this_ = this;
24157
24164
  this.fixedParams = {};
24165
+ // 如果已存在配置信息就不去请求配置信息 直接初始化数据
24166
+ if (this.dialogConfig) {
24167
+ this.initDialog(this.dialogConfig, isMounted);
24168
+ return;
24169
+ }
24158
24170
  var alias = this.custdialog.custDialog.alias;
24159
24171
  this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
24160
- if (!customDialog || !customDialog.alias) {
24161
- this.$message.error('对话框别名【' + alias + '】不存在!');
24162
- return;
24163
- }
24164
- if (customDialog.style == 1) {
24165
- var displaylist = JSON.parse(customDialog.displayfield);
24166
- this_.nodeKey = displaylist.id;
24167
- }
24168
- if (customDialog.needPage && customDialog.requestType === 'POST') {
24169
- let obj = {};
24170
- this.getLastKeyByPath(obj, customDialog.pageKey, 1);
24171
- this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
24172
- this.getLastKeyByPath(obj, customDialog.totalKey, true);
24173
- const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
24174
- if (exp) {
24175
- const params = JSON.parse(exp);
24176
- if (params.pageBean) {
24177
- this.pagination = {
24178
- ...params.pageBean
24179
- };
24180
- }
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
+ };
24181
24198
  }
24182
24199
  }
24183
- //对话框按表单字段查询(参数传入的)
24184
- let bindList = this_.custdialog.custDialog.conditions;
24185
- this_.param = []; //绑定的表单字段
24186
- if (bindList.length > 0) {
24187
- bindList.forEach(ele => {
24188
- //绑定表单字段
24189
- if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
24190
- let obj = {};
24191
- obj.field = ele.field;
24192
- obj.bind = ele.bind;
24193
- obj.bindType = ele.bindType;
24194
- this_.param.push(obj);
24195
- }
24196
- //取值对象为脚本时获取value
24197
- if (ele.bindType === 3) {
24198
- this_.$requestConfig.executeScript(ele.bind).then(res => {
24199
- this_.executeScriptResult = res && res.value;
24200
- });
24201
- }
24202
- });
24203
- }
24204
- //判断对话框查询是否有条件
24205
- let userInputList = JSON.parse(customDialog.conditionfield);
24206
- this_.quickSearch = ''; //填写提示 placeholder
24207
- this_.conditionBind = [];
24208
- let queryParams = [];
24209
- let placeholders = [];
24210
- if (userInputList.length > 0) {
24211
- userInputList.forEach(ele => {
24212
- var obj = {};
24213
- //条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
24214
- if (ele.defaultType == '1') {
24215
- obj[ele.field] = '';
24216
- queryParams.push(obj);
24217
- // queryParams[ele.field] = "";
24218
- this_.conditionBind.push(ele);
24219
- placeholders.push('请输入' + ele.comment);
24220
- }
24221
- if (ele.defaultType == '2' && ele.defaultValue) {
24222
- this_.fixedParams[ele.field] = ele.defaultValue;
24223
- }
24224
- });
24225
- this.$set(this, 'queryParams', queryParams);
24226
- this.$set(this, 'placeholders', placeholders);
24227
- }
24228
- //判断是否显示条件查询输入框
24229
- if (this_.quickSearch != '') {
24230
- this_.querysShow = true;
24231
- } else {
24232
- this_.querysShow = true;
24233
- }
24234
- this_.quickSearch = '请输入' + this.quickSearch + '查询';
24235
- this_.style = 'height:' + customDialog.height + 'px';
24236
- if (window.screen.height && window.screen.height <= 900) {
24237
- this.style = 'height:440px';
24238
- }
24239
- if (customDialog.style == 0 || customDialog.style == 2) {
24240
- //列表
24241
- setTimeout(() => {
24242
- this_.customDialogShow({
24243
- alias: alias,
24244
- customDialog: customDialog
24245
- }, isMounted);
24246
- }, 100);
24247
- } else if (customDialog.style == 1) {
24248
- //树形
24249
- 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({
24250
24261
  alias: alias,
24251
24262
  customDialog: customDialog
24252
- };
24253
- this_.customDialog = customDialog;
24254
- let param = {};
24255
- this_.conditionfieldTree = [];
24256
- //判断是否存在条件
24257
- if (customDialog.conditionfield) {
24258
- this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
24259
- if (this_.conditionfieldTree.length > 0) {
24260
- for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
24261
- //判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值
24262
- if (this_.conditionfieldTree[i].defaultType == '4') {
24263
- param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
24264
- }
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;
24265
24282
  }
24266
24283
  }
24267
24284
  }
24268
- //有动态传入的字段
24269
- if (!isMounted) {
24270
- if (JSON.stringify(param) != '{}') {
24271
- this_.dialogVisible = true;
24272
- } else {
24273
- //无动态传入的字段
24274
- this_.customDialogTreeShow(this_.pageParam);
24275
- }
24285
+ }
24286
+ //有动态传入的字段
24287
+ if (!isMounted) {
24288
+ if (JSON.stringify(param) != '{}') {
24289
+ this_.dialogVisible = true;
24290
+ } else {
24291
+ //无动态传入的字段
24292
+ this_.customDialogTreeShow(this_.pageParam);
24276
24293
  }
24277
24294
  }
24278
- });
24295
+ }
24279
24296
  },
24280
24297
  initTableHeight() {
24281
24298
  this.$nextTick(() => {
@@ -24404,13 +24421,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24404
24421
  }
24405
24422
  // 添加用户id 岗位id 组织id
24406
24423
  try {
24407
- if (this.$requestConfig.getUserId()) {
24424
+ if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
24408
24425
  ctx.userId = this.$requestConfig.getUserId();
24409
24426
  }
24410
- if (this.$requestConfig.getOrgId()) {
24427
+ if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
24411
24428
  ctx.orgId = this.$requestConfig.getOrgId();
24412
24429
  }
24413
- if (this.$requestConfig.getPostId()) {
24430
+ if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
24414
24431
  ctx.postId = this.$requestConfig.getPostId();
24415
24432
  }
24416
24433
  } catch (e) {
@@ -24471,6 +24488,7 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24471
24488
  if (this.customDialog.selectNum === 1) {
24472
24489
  nodes = this.propsData[0];
24473
24490
  var temp = '';
24491
+ debugger;
24474
24492
  for (var j = 0; j < comment.length; j++) {
24475
24493
  temp += '"' + comment[j] + '":"' + nodes[field[j]] + '",';
24476
24494
  }
@@ -24493,10 +24511,15 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24493
24511
  }
24494
24512
  const pInst = utils["a" /* default */].getOnlineFormInstance(this);
24495
24513
  this.selectOrgs = this.convertComment2Field(str, field);
24496
- this.custdialog.custDialog.mappingConf.forEach(con => {
24514
+ this.custdialog.custDialog.mappingConf.forEach((con, index) => {
24497
24515
  var val = '';
24498
24516
  str.forEach(item => {
24499
- val += item[con.from] + ',';
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
+ }
24500
24523
  });
24501
24524
  if (this.modelName == 'data.' + con['target'][0]) {
24502
24525
  utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
@@ -24618,13 +24641,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24618
24641
  queryParamMap.total = pageBean.pageBean.total;
24619
24642
  // 添加用户id 岗位id 组织id
24620
24643
  try {
24621
- if (this.$requestConfig.getUserId()) {
24644
+ if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
24622
24645
  ctx.userId = this.$requestConfig.getUserId();
24623
24646
  }
24624
- if (this.$requestConfig.getOrgId()) {
24647
+ if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
24625
24648
  ctx.orgId = this.$requestConfig.getOrgId();
24626
24649
  }
24627
- if (this.$requestConfig.getPostId()) {
24650
+ if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
24628
24651
  ctx.postId = this.$requestConfig.getPostId();
24629
24652
  }
24630
24653
  } catch (e) {
@@ -24645,7 +24668,7 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24645
24668
  value: queryParamMap[bindKey] || ctx[bindKey] || ''
24646
24669
  };
24647
24670
  });
24648
- param.querys = queryList;
24671
+ param.querys = queryList || [];
24649
24672
  if (this.customDialog.needPage) {
24650
24673
  param.pageBean = obj;
24651
24674
  } else {
@@ -24912,6 +24935,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24912
24935
  },
24913
24936
  // 同步选择结果
24914
24937
  syncInputValue() {
24938
+ // 对话框跳转url需要两个参数 1当前控件绑定的对象参数modelName 2对话框配置中配置的key名称
24939
+ // 同步值时,如果有绑定url跳转参数,值格式为 名称¯跳转key:跳转value
24915
24940
  let thisIndex = null; //当前数据所在下标
24916
24941
  let parentIndex = null; //父节点所在下标
24917
24942
  if (this.$parent.$el) {
@@ -24990,8 +25015,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24990
25015
  var val = '';
24991
25016
  var from = con.from.toLowerCase();
24992
25017
  str.forEach(item => {
25018
+ // 如果有绑定url跳转参数 需获取跳转参数的key
24993
25019
  if (item) {
24994
- val += decodeURIComponent(item[from]) + ',';
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
+ }
24995
25025
  }
24996
25026
  });
24997
25027
  if (this.modelName == 'data.' + con['target'][0]) {
@@ -25242,8 +25272,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
25242
25272
  });
25243
25273
  // CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=script&lang=js&
25244
25274
  /* harmony default export */ var src_customDialogvue_type_script_lang_js_ = (customDialogvue_type_script_lang_js_);
25245
- // EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=e7412952&prod&lang=scss&scoped=true&
25246
- var customDialogvue_type_style_index_0_id_e7412952_prod_lang_scss_scoped_true_ = __webpack_require__("8050");
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");
25247
25277
 
25248
25278
  // CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue
25249
25279
 
@@ -25256,18 +25286,18 @@ var customDialogvue_type_style_index_0_id_e7412952_prod_lang_scss_scoped_true_ =
25256
25286
 
25257
25287
  var customDialog_component = normalizeComponent(
25258
25288
  src_customDialogvue_type_script_lang_js_,
25259
- customDialogvue_type_template_id_e7412952_scoped_true_render,
25260
- customDialogvue_type_template_id_e7412952_scoped_true_staticRenderFns,
25289
+ customDialogvue_type_template_id_4d56e14d_scoped_true_render,
25290
+ customDialogvue_type_template_id_4d56e14d_scoped_true_staticRenderFns,
25261
25291
  false,
25262
25292
  null,
25263
- "e7412952",
25293
+ "4d56e14d",
25264
25294
  null
25265
25295
 
25266
25296
  )
25267
25297
 
25268
25298
  /* harmony default export */ var CustomDialog_src_customDialog = (customDialog_component.exports);
25269
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=1661eebb&scoped=true&
25270
- var customMobileDialogvue_type_template_id_1661eebb_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('van-action-sheet',{staticClass:"mobile-van-action min-height-action",attrs:{"cancel-text":_vm.sureButtonText,"get-container":"body"},on:{"cancel":_vm.handleDialogSure,"click-overlay":_vm.dialogCancel,"opened":_vm.afterOpen},scopedSlots:_vm._u([{key:"description",fn:function(){return [_c('span',{staticClass:"dialog-mobile__title"},[_vm._v(_vm._s(_vm.customDialog.name))]),_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":_vm.dialogCancel}})]},proxy:true}]),model:{value:(_vm.customDialogShowList),callback:function ($$v) {_vm.customDialogShowList=$$v},expression:"customDialogShowList"}},[[_c('div',{staticClass:"search-box"},[_c('ht-icon',{staticClass:"unfold-icon",attrs:{"scale":"1.2","name":_vm.isShowMoreSearch ? 'upFold' : 'downUnfold'},on:{"click":function($event){_vm.isShowMoreSearch = !_vm.isShowMoreSearch}}}),_vm._l((_vm.conditionBind),function(condition,index){return _c('div',{directives:[{name:"show",rawName:"v-show",value:(index === 0 || (index > 0 && _vm.isShowMoreSearch)),expression:"index === 0 || (index > 0 && isShowMoreSearch)"}],key:index,staticClass:"search-item"},[_c('p',[_vm._v(_vm._s(condition.comment)+":")]),(condition.controllerType == '1')?_c('div',[_c('el-input',{attrs:{"size":"small","clearable":"","placeholder":_vm.placeholders[index]},on:{"change":_vm.searchInputChange},nativeOn:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.hideSearch($event)}},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '2')?_c('div',{staticStyle:{"margin-right":"10px"}},_vm._l((condition.config.options),function(itemR,$index1){return _c('el-radio',{key:$index1,attrs:{"label":itemR.key},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}},[_vm._v("\n "+_vm._s(itemR.value)+"\n ")])}),1):_vm._e(),(condition.controllerType == '3')?_c('div',{staticStyle:{"margin-right":"10px"}},[(condition.config.choiceType == 'static')?_c('ht-select',{attrs:{"options":condition.config.options},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}}):_c('eip-select-dia',{attrs:{"ganged":{
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":{
25271
25301
  alias: condition.config.customQuery.alias,
25272
25302
  valueBind: condition.config.customQuery.valueBind,
25273
25303
  noInit: '',
@@ -25277,10 +25307,10 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_render = functio
25277
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(
25278
25308
  function (k) { return k.defaultType == '4'; }
25279
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)}
25280
- var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns = []
25310
+ var customMobileDialogvue_type_template_id_0c95bb92_scoped_true_staticRenderFns = []
25281
25311
 
25282
25312
 
25283
- // CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=1661eebb&scoped=true&
25313
+ // CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=0c95bb92&scoped=true&
25284
25314
 
25285
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&
25286
25316
  //
@@ -25562,7 +25592,8 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
25562
25592
  subIndex: Number,
25563
25593
  sunIndex: Number,
25564
25594
  subPath: String,
25565
- currentSubData: Array
25595
+ currentSubData: Array,
25596
+ dialogConfig: Object
25566
25597
  },
25567
25598
  data() {
25568
25599
  return {
@@ -25645,6 +25676,13 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
25645
25676
  sureButtonText() {
25646
25677
  const selectedText = this.selectIds.length > 0 ? `(${this.selectIds.length})` : '';
25647
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);
25648
25686
  }
25649
25687
  },
25650
25688
  methods: {
@@ -25693,112 +25731,121 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
25693
25731
  this.search(true);
25694
25732
  },
25695
25733
  showDialog() {
25696
- const this_ = this;
25697
25734
  this.fixedParams = {};
25735
+ // 如果已存在配置信息就不去请求配置信息 直接初始化数据
25736
+ if (this.dialogConfig) {
25737
+ this.initDialog(this.dialogConfig);
25738
+ return;
25739
+ }
25698
25740
  var alias = this.custdialog.custDialog.alias;
25699
25741
  this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
25700
- if (!customDialog || !customDialog.alias) {
25701
- this.$message.error('对话框别名【' + alias + '】不存在!');
25702
- return;
25703
- }
25704
- if (customDialog.style == 1) {
25705
- var displaylist = JSON.parse(customDialog.displayfield);
25706
- this_.nodeKey = displaylist.id;
25707
- }
25708
- if (customDialog.needPage && customDialog.requestType === 'POST') {
25709
- let obj = {};
25710
- this.getLastKeyByPath(obj, customDialog.pageKey, 1);
25711
- this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
25712
- this.getLastKeyByPath(obj, customDialog.totalKey, true);
25713
- const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
25714
- if (exp) {
25715
- const params = JSON.parse(exp);
25716
- if (params.pageBean) {
25717
- this.pagination = {
25718
- ...params.pageBean
25719
- };
25720
- }
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
+ };
25721
25768
  }
25722
25769
  }
25723
- //对话框按表单字段查询(参数传入的)
25724
- let bindList = this_.custdialog.custDialog.conditions;
25725
- this_.param = []; //绑定的表单字段
25726
- if (bindList.length > 0) {
25727
- bindList.forEach(ele => {
25728
- //绑定表单字段
25729
- if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
25730
- let obj = {};
25731
- obj.field = ele.field;
25732
- obj.bind = ele.bind;
25733
- obj.bindType = ele.bindType;
25734
- this_.param.push(obj);
25735
- }
25736
- // bindType 1 表单字段 2固定 3脚本
25737
- if (ele.defaultType == '3' && ele.bindType === 2) {
25738
- this_.fixedParams[ele.field] = ele.bind || '';
25739
- }
25740
- });
25741
- }
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
+ }
25742
25790
 
25743
- //判断对话框查询是否有条件
25744
- let userInputList = JSON.parse(customDialog.conditionfield);
25745
- this_.conditionBind = [];
25746
- let queryParams = [];
25747
- let placeholders = [];
25748
- if (userInputList.length > 0) {
25749
- userInputList.forEach(ele => {
25750
- var obj = {};
25751
- //条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
25752
- if (ele.defaultType == '1') {
25753
- obj[ele.field] = '';
25754
- queryParams.push(obj);
25755
- // queryParams[ele.field] = "";
25756
- this_.conditionBind.push(ele);
25757
- placeholders.push('请输入' + ele.comment);
25758
- }
25759
- if (ele.defaultType == '2' && ele.defaultValue) {
25760
- this_.fixedParams[ele.field] = ele.defaultValue;
25761
- }
25762
- });
25763
- this.$set(this, 'queryParams', queryParams);
25764
- this.$set(this, 'placeholders', placeholders);
25765
- }
25766
- if (customDialog.style == 0 || customDialog.style == 2) {
25767
- //列表
25768
- this_.customDialogShow({
25769
- alias: alias,
25770
- customDialog: customDialog
25771
- });
25772
- } else if (customDialog.style == 1) {
25773
- //树形
25774
- this_.pageParam = {
25775
- alias: alias,
25776
- customDialog: customDialog
25777
- };
25778
- this_.customDialog = customDialog;
25779
- let param = {};
25780
- this_.conditionfieldTree = [];
25781
- //判断是否存在条件
25782
- if (customDialog.conditionfield) {
25783
- this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
25784
- if (this_.conditionfieldTree.length > 0) {
25785
- for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
25786
- //判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
25787
- if (this_.conditionfieldTree[i].defaultType == '4') {
25788
- param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
25789
- }
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;
25790
25837
  }
25791
25838
  }
25792
25839
  }
25793
- //有动态传入的字段
25794
- if (JSON.stringify(param) != '{}') {
25795
- this_.dialogVisible = true;
25796
- } else {
25797
- //无动态传入的字段
25798
- this_.customDialogTreeShow(this_.pageParam);
25799
- }
25800
25840
  }
25801
- });
25841
+ //有动态传入的字段
25842
+ if (JSON.stringify(param) != '{}') {
25843
+ this_.dialogVisible = true;
25844
+ } else {
25845
+ //无动态传入的字段
25846
+ this_.customDialogTreeShow(this_.pageParam);
25847
+ }
25848
+ }
25802
25849
  },
25803
25850
  treeClick(data) {
25804
25851
  // 单选
@@ -25916,13 +25963,13 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
25916
25963
  }
25917
25964
  // 添加用户id 岗位id 组织id
25918
25965
  try {
25919
- if (this.$requestConfig.getUserId()) {
25966
+ if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
25920
25967
  ctx.userId = this.$requestConfig.getUserId();
25921
25968
  }
25922
- if (this.$requestConfig.getOrgId()) {
25969
+ if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
25923
25970
  ctx.orgId = this.$requestConfig.getOrgId();
25924
25971
  }
25925
- if (this.$requestConfig.getPostId()) {
25972
+ if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
25926
25973
  ctx.postId = this.$requestConfig.getPostId();
25927
25974
  }
25928
25975
  } catch (e) {
@@ -26007,8 +26054,13 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
26007
26054
  this.selectOrgs = this.convertComment2Field(str, field);
26008
26055
  this.custdialog.custDialog.mappingConf.forEach(con => {
26009
26056
  var val = '';
26010
- str.forEach(item => {
26011
- val += item[con.from] + ',';
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
+ }
26012
26064
  });
26013
26065
  if (this.modelName == 'data.' + con['target'][0]) {
26014
26066
  utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
@@ -26129,13 +26181,13 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
26129
26181
  ctx.total = pageBean.pageBean.total;
26130
26182
  // 添加用户id 岗位id 组织id
26131
26183
  try {
26132
- if (this.$requestConfig.getUserId()) {
26184
+ if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
26133
26185
  ctx.userId = this.$requestConfig.getUserId();
26134
26186
  }
26135
- if (this.$requestConfig.getOrgId()) {
26187
+ if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
26136
26188
  ctx.orgId = this.$requestConfig.getOrgId();
26137
26189
  }
26138
- if (this.$requestConfig.getPostId()) {
26190
+ if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
26139
26191
  ctx.postId = this.$requestConfig.getPostId();
26140
26192
  }
26141
26193
  } catch (e) {
@@ -26402,7 +26454,11 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
26402
26454
  var from = con.from.toLowerCase();
26403
26455
  str.forEach(item => {
26404
26456
  if (item) {
26405
- val += decodeURIComponent(item[from]) + ',';
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
+ }
26406
26462
  }
26407
26463
  });
26408
26464
  if (this.modelName == 'data.' + con['target'][0]) {
@@ -26654,11 +26710,11 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
26654
26710
  });
26655
26711
  // CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=script&lang=js&
26656
26712
  /* harmony default export */ var src_customMobileDialogvue_type_script_lang_js_ = (customMobileDialogvue_type_script_lang_js_);
26657
- // EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=1661eebb&prod&lang=scss&scoped=true&
26658
- var customMobileDialogvue_type_style_index_0_id_1661eebb_prod_lang_scss_scoped_true_ = __webpack_require__("de6a");
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");
26659
26715
 
26660
- // EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=1661eebb&prod&lang=scss&
26661
- var customMobileDialogvue_type_style_index_1_id_1661eebb_prod_lang_scss_ = __webpack_require__("49f9");
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");
26662
26718
 
26663
26719
  // CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue
26664
26720
 
@@ -26672,11 +26728,11 @@ var customMobileDialogvue_type_style_index_1_id_1661eebb_prod_lang_scss_ = __web
26672
26728
 
26673
26729
  var customMobileDialog_component = normalizeComponent(
26674
26730
  src_customMobileDialogvue_type_script_lang_js_,
26675
- customMobileDialogvue_type_template_id_1661eebb_scoped_true_render,
26676
- customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns,
26731
+ customMobileDialogvue_type_template_id_0c95bb92_scoped_true_render,
26732
+ customMobileDialogvue_type_template_id_0c95bb92_scoped_true_staticRenderFns,
26677
26733
  false,
26678
26734
  null,
26679
- "1661eebb",
26735
+ "0c95bb92",
26680
26736
  null
26681
26737
 
26682
26738
  )
@@ -26816,6 +26872,15 @@ var customMobileDialog_component = normalizeComponent(
26816
26872
  //
26817
26873
  //
26818
26874
  //
26875
+ //
26876
+ //
26877
+ //
26878
+ //
26879
+ //
26880
+ //
26881
+ //
26882
+ //
26883
+ //
26819
26884
 
26820
26885
 
26821
26886
 
@@ -26851,6 +26916,8 @@ var customMobileDialog_component = normalizeComponent(
26851
26916
  },
26852
26917
  data() {
26853
26918
  return {
26919
+ dialogConfig: null,
26920
+ // 对话框配置信息
26854
26921
  isEditInputShow: false,
26855
26922
  customValue: '',
26856
26923
  defualtTooltipplacement: 'bottom',
@@ -26899,9 +26966,21 @@ var customMobileDialog_component = normalizeComponent(
26899
26966
  }
26900
26967
  let result = [];
26901
26968
  nameAry.forEach(m => {
26902
- let n = {
26903
- value: m
26904
- };
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
+ }
26905
26984
  result.push(n);
26906
26985
  });
26907
26986
  return result;
@@ -26909,8 +26988,16 @@ var customMobileDialog_component = normalizeComponent(
26909
26988
  },
26910
26989
  isAllowCustom() {
26911
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);
26912
26995
  }
26913
26996
  },
26997
+ created() {
26998
+ // 获取对话框配置,看是否有配置url跳转
26999
+ this.getDialogConfig();
27000
+ },
26914
27001
  mounted() {
26915
27002
  const {
26916
27003
  subScopeEl
@@ -26929,6 +27016,60 @@ var customMobileDialog_component = normalizeComponent(
26929
27016
  this.calacInputSuffixWidth();
26930
27017
  },
26931
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
+ },
26932
27073
  editInputBlur() {
26933
27074
  this.$emit('input', this.customValue);
26934
27075
  this.isEditInputShow = false;
@@ -27003,8 +27144,8 @@ var customMobileDialog_component = normalizeComponent(
27003
27144
  });
27004
27145
  // CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=script&lang=js&
27005
27146
  /* harmony default export */ var packages_CustomDialog_src_mainvue_type_script_lang_js_ = (CustomDialog_src_mainvue_type_script_lang_js_);
27006
- // EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=37fe7c68&prod&lang=scss&scoped=true&
27007
- var mainvue_type_style_index_0_id_37fe7c68_prod_lang_scss_scoped_true_ = __webpack_require__("bf72");
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");
27008
27149
 
27009
27150
  // CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue
27010
27151
 
@@ -27017,11 +27158,11 @@ var mainvue_type_style_index_0_id_37fe7c68_prod_lang_scss_scoped_true_ = __webpa
27017
27158
 
27018
27159
  var CustomDialog_src_main_component = normalizeComponent(
27019
27160
  packages_CustomDialog_src_mainvue_type_script_lang_js_,
27020
- mainvue_type_template_id_37fe7c68_scoped_true_render,
27021
- mainvue_type_template_id_37fe7c68_scoped_true_staticRenderFns,
27161
+ mainvue_type_template_id_20c83109_scoped_true_render,
27162
+ mainvue_type_template_id_20c83109_scoped_true_staticRenderFns,
27022
27163
  false,
27023
27164
  null,
27024
- "37fe7c68",
27165
+ "20c83109",
27025
27166
  null
27026
27167
 
27027
27168
  )