three-trees-ui 1.0.14 → 1.0.16

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.
@@ -96,6 +96,13 @@ return /******/ (function(modules) { // webpackBootstrap
96
96
  /************************************************************************/
97
97
  /******/ ({
98
98
 
99
+ /***/ "0237":
100
+ /***/ (function(module, exports, __webpack_require__) {
101
+
102
+ // extracted by mini-css-extract-plugin
103
+
104
+ /***/ }),
105
+
99
106
  /***/ "025e":
100
107
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
101
108
 
@@ -1659,13 +1666,6 @@ const btnList = [{
1659
1666
 
1660
1667
  /***/ }),
1661
1668
 
1662
- /***/ "0ca0":
1663
- /***/ (function(module, exports, __webpack_require__) {
1664
-
1665
- // extracted by mini-css-extract-plugin
1666
-
1667
- /***/ }),
1668
-
1669
1669
  /***/ "0edb":
1670
1670
  /***/ (function(module, exports, __webpack_require__) {
1671
1671
 
@@ -1893,7 +1893,7 @@ const SubPagination = {
1893
1893
 
1894
1894
  /***/ }),
1895
1895
 
1896
- /***/ "1ccc":
1896
+ /***/ "1ba3":
1897
1897
  /***/ (function(module, exports, __webpack_require__) {
1898
1898
 
1899
1899
  // extracted by mini-css-extract-plugin
@@ -2061,13 +2061,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__289a__;
2061
2061
 
2062
2062
  /***/ }),
2063
2063
 
2064
- /***/ "333d":
2065
- /***/ (function(module, exports, __webpack_require__) {
2066
-
2067
- // extracted by mini-css-extract-plugin
2068
-
2069
- /***/ }),
2070
-
2071
2064
  /***/ "33ce":
2072
2065
  /***/ (function(module, exports, __webpack_require__) {
2073
2066
 
@@ -2109,6 +2102,10 @@ const conformanceJudge = (value, vnode) => {
2109
2102
  };
2110
2103
  const formula = {
2111
2104
  bind(el, binding, vnode) {
2105
+ // 如果是只读的就不执行js脚本计算
2106
+ if (el && el.__vue__ && el.formIsView === true) {
2107
+ return;
2108
+ }
2112
2109
  if (!conformanceJudge(binding.value.value, vnode)) {
2113
2110
  return;
2114
2111
  }
@@ -2134,6 +2131,10 @@ const formula = {
2134
2131
  }
2135
2132
  },
2136
2133
  update(el, binding, vnode) {
2134
+ // 如果是只读的就不执行js脚本计算
2135
+ if (el && el.__vue__ && el.formIsView === true) {
2136
+ return;
2137
+ }
2137
2138
  if (!conformanceJudge(binding.value.value, vnode)) {
2138
2139
  return;
2139
2140
  }
@@ -2799,12 +2800,12 @@ Formulas.install = Vue => {
2799
2800
 
2800
2801
  /***/ }),
2801
2802
 
2802
- /***/ "3c4b":
2803
+ /***/ "3be0":
2803
2804
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2804
2805
 
2805
2806
  "use strict";
2806
- /* 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_0c414f1a_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("4a17");
2807
- /* 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_0c414f1a_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_0c414f1a_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
2807
+ /* 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_384dd988_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("7090");
2808
+ /* 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_384dd988_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_384dd988_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
2808
2809
  /* unused harmony reexport * */
2809
2810
 
2810
2811
 
@@ -2846,23 +2847,30 @@ Formulas.install = Vue => {
2846
2847
 
2847
2848
  /***/ }),
2848
2849
 
2849
- /***/ "4876":
2850
+ /***/ "45bb":
2851
+ /***/ (function(module, exports, __webpack_require__) {
2852
+
2853
+ // extracted by mini-css-extract-plugin
2854
+
2855
+ /***/ }),
2856
+
2857
+ /***/ "4680":
2850
2858
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2851
2859
 
2852
2860
  "use strict";
2853
- /* 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_UserSelectorMobileDialog_vue_vue_type_style_index_0_id_6313b4e0_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("33ce");
2854
- /* 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_UserSelectorMobileDialog_vue_vue_type_style_index_0_id_6313b4e0_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_UserSelectorMobileDialog_vue_vue_type_style_index_0_id_6313b4e0_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
2861
+ /* 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_384dd988_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("b1a3");
2862
+ /* 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_384dd988_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_384dd988_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
2855
2863
  /* unused harmony reexport * */
2856
2864
 
2857
2865
 
2858
2866
  /***/ }),
2859
2867
 
2860
- /***/ "48f7":
2868
+ /***/ "4876":
2861
2869
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2862
2870
 
2863
2871
  "use strict";
2864
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_5731e345_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1ccc");
2865
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_5731e345_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_5731e345_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
2872
+ /* 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_UserSelectorMobileDialog_vue_vue_type_style_index_0_id_6313b4e0_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("33ce");
2873
+ /* 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_UserSelectorMobileDialog_vue_vue_type_style_index_0_id_6313b4e0_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_UserSelectorMobileDialog_vue_vue_type_style_index_0_id_6313b4e0_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
2866
2874
  /* unused harmony reexport * */
2867
2875
 
2868
2876
 
@@ -2900,24 +2908,6 @@ Formulas.install = Vue => {
2900
2908
 
2901
2909
  /***/ }),
2902
2910
 
2903
- /***/ "49f9":
2904
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
2905
-
2906
- "use strict";
2907
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_1_id_1661eebb_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("7c6e");
2908
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_1_id_1661eebb_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_1_id_1661eebb_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
2909
- /* unused harmony reexport * */
2910
-
2911
-
2912
- /***/ }),
2913
-
2914
- /***/ "4a17":
2915
- /***/ (function(module, exports, __webpack_require__) {
2916
-
2917
- // extracted by mini-css-extract-plugin
2918
-
2919
- /***/ }),
2920
-
2921
2911
  /***/ "4b7c":
2922
2912
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2923
2913
 
@@ -3047,6 +3037,13 @@ exports.clearImmediate = (typeof self !== "undefined" && self.clearImmediate) ||
3047
3037
 
3048
3038
  /***/ }),
3049
3039
 
3040
+ /***/ "569e":
3041
+ /***/ (function(module, exports, __webpack_require__) {
3042
+
3043
+ // extracted by mini-css-extract-plugin
3044
+
3045
+ /***/ }),
3046
+
3050
3047
  /***/ "5877":
3051
3048
  /***/ (function(module, exports) {
3052
3049
 
@@ -4137,6 +4134,13 @@ const dict = {
4137
4134
 
4138
4135
  /***/ }),
4139
4136
 
4137
+ /***/ "6ebe":
4138
+ /***/ (function(module, exports, __webpack_require__) {
4139
+
4140
+ // extracted by mini-css-extract-plugin
4141
+
4142
+ /***/ }),
4143
+
4140
4144
  /***/ "6f28":
4141
4145
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4142
4146
 
@@ -4169,6 +4173,13 @@ const dict = {
4169
4173
 
4170
4174
  /***/ }),
4171
4175
 
4176
+ /***/ "7090":
4177
+ /***/ (function(module, exports, __webpack_require__) {
4178
+
4179
+ // extracted by mini-css-extract-plugin
4180
+
4181
+ /***/ }),
4182
+
4172
4183
  /***/ "7152":
4173
4184
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4174
4185
 
@@ -4244,13 +4255,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
4244
4255
 
4245
4256
  /***/ }),
4246
4257
 
4247
- /***/ "7c6e":
4248
- /***/ (function(module, exports, __webpack_require__) {
4249
-
4250
- // extracted by mini-css-extract-plugin
4251
-
4252
- /***/ }),
4253
-
4254
4258
  /***/ "7d0a":
4255
4259
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4256
4260
 
@@ -4278,17 +4282,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
4278
4282
 
4279
4283
  // extracted by mini-css-extract-plugin
4280
4284
 
4281
- /***/ }),
4282
-
4283
- /***/ "7ff9":
4284
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
4285
-
4286
- "use strict";
4287
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customDialog_vue_vue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("333d");
4288
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customDialog_vue_vue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customDialog_vue_vue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
4289
- /* unused harmony reexport * */
4290
-
4291
-
4292
4285
  /***/ }),
4293
4286
 
4294
4287
  /***/ "8262":
@@ -4343,6 +4336,17 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
4343
4336
 
4344
4337
  // extracted by mini-css-extract-plugin
4345
4338
 
4339
+ /***/ }),
4340
+
4341
+ /***/ "87a1":
4342
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
4343
+
4344
+ "use strict";
4345
+ /* 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_bf5a35ae_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("45bb");
4346
+ /* 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_bf5a35ae_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_bf5a35ae_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
4347
+ /* unused harmony reexport * */
4348
+
4349
+
4346
4350
  /***/ }),
4347
4351
 
4348
4352
  /***/ "889a":
@@ -4724,14 +4728,7 @@ if (typeof window !== 'undefined' && window.Vue) {
4724
4728
  /***/ "9224":
4725
4729
  /***/ (function(module) {
4726
4730
 
4727
- module.exports = JSON.parse("{\"a\":\"1.0.14\"}");
4728
-
4729
- /***/ }),
4730
-
4731
- /***/ "923d":
4732
- /***/ (function(module, exports, __webpack_require__) {
4733
-
4734
- // extracted by mini-css-extract-plugin
4731
+ module.exports = JSON.parse("{\"a\":\"1.0.16\"}");
4735
4732
 
4736
4733
  /***/ }),
4737
4734
 
@@ -4856,13 +4853,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHoAAABMCAYAAACi
4856
4853
 
4857
4854
  /***/ }),
4858
4855
 
4859
- /***/ "a707":
4860
- /***/ (function(module, exports, __webpack_require__) {
4861
-
4862
- // extracted by mini-css-extract-plugin
4863
-
4864
- /***/ }),
4865
-
4866
4856
  /***/ "a751":
4867
4857
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4868
4858
 
@@ -5451,6 +5441,17 @@ module.exports = require("setimmediate");
5451
5441
 
5452
5442
  // extracted by mini-css-extract-plugin
5453
5443
 
5444
+ /***/ }),
5445
+
5446
+ /***/ "aeed":
5447
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
5448
+
5449
+ "use strict";
5450
+ /* 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_3e2f487c_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1ba3");
5451
+ /* 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_3e2f487c_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_3e2f487c_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
5452
+ /* unused harmony reexport * */
5453
+
5454
+
5454
5455
  /***/ }),
5455
5456
 
5456
5457
  /***/ "af95":
@@ -6246,6 +6247,13 @@ const {
6246
6247
 
6247
6248
  /***/ }),
6248
6249
 
6250
+ /***/ "b1a3":
6251
+ /***/ (function(module, exports, __webpack_require__) {
6252
+
6253
+ // extracted by mini-css-extract-plugin
6254
+
6255
+ /***/ }),
6256
+
6249
6257
  /***/ "b1ce":
6250
6258
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6251
6259
 
@@ -6440,17 +6448,6 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
6440
6448
 
6441
6449
  // extracted by mini-css-extract-plugin
6442
6450
 
6443
- /***/ }),
6444
-
6445
- /***/ "be12":
6446
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
6447
-
6448
- "use strict";
6449
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_0b5eb5e6_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("0ca0");
6450
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_0b5eb5e6_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_0b5eb5e6_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
6451
- /* unused harmony reexport * */
6452
-
6453
-
6454
6451
  /***/ }),
6455
6452
 
6456
6453
  /***/ "c0a9":
@@ -6469,17 +6466,6 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
6469
6466
 
6470
6467
  module.exports = require("moment");
6471
6468
 
6472
- /***/ }),
6473
-
6474
- /***/ "c33b":
6475
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
6476
-
6477
- "use strict";
6478
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a707");
6479
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
6480
- /* unused harmony reexport * */
6481
-
6482
-
6483
6469
  /***/ }),
6484
6470
 
6485
6471
  /***/ "c429":
@@ -6612,6 +6598,17 @@ module.exports = g;
6612
6598
  /* unused harmony reexport * */
6613
6599
 
6614
6600
 
6601
+ /***/ }),
6602
+
6603
+ /***/ "cc2b":
6604
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6605
+
6606
+ "use strict";
6607
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_10f71c00_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("569e");
6608
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_10f71c00_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_10f71c00_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
6609
+ /* unused harmony reexport * */
6610
+
6611
+
6615
6612
  /***/ }),
6616
6613
 
6617
6614
  /***/ "cd87":
@@ -6743,6 +6740,10 @@ module.exports = __WEBPACK_EXTERNAL_MODULE_cebe__;
6743
6740
  }
6744
6741
  if (parent) {
6745
6742
  this.formIsView = parent.$options.propsData.isView;
6743
+ // 如果是只读 第一时间将状态改为flase 避免渲染
6744
+ if (this.formIsView === true) {
6745
+ this.writeable = false;
6746
+ }
6746
6747
  }
6747
6748
  },
6748
6749
  mounted() {
@@ -7166,23 +7167,23 @@ module.exports = require("deepmerge");
7166
7167
 
7167
7168
  /***/ }),
7168
7169
 
7169
- /***/ "dccc":
7170
+ /***/ "dc81":
7170
7171
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7171
7172
 
7172
7173
  "use strict";
7173
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_68e2d4a1_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("8728");
7174
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_68e2d4a1_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_68e2d4a1_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
7174
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_8015cf1e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("6ebe");
7175
+ /* 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_8015cf1e_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_8015cf1e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
7175
7176
  /* unused harmony reexport * */
7176
7177
 
7177
7178
 
7178
7179
  /***/ }),
7179
7180
 
7180
- /***/ "de6a":
7181
+ /***/ "dccc":
7181
7182
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7182
7183
 
7183
7184
  "use strict";
7184
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_0_id_1661eebb_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("923d");
7185
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_0_id_1661eebb_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_0_id_1661eebb_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
7185
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_68e2d4a1_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("8728");
7186
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_68e2d4a1_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_68e2d4a1_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
7186
7187
  /* unused harmony reexport * */
7187
7188
 
7188
7189
 
@@ -7302,6 +7303,17 @@ module.exports = require("deepmerge");
7302
7303
 
7303
7304
  // extracted by mini-css-extract-plugin
7304
7305
 
7306
+ /***/ }),
7307
+
7308
+ /***/ "edbd":
7309
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
7310
+
7311
+ "use strict";
7312
+ /* 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_477a8da9_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("0237");
7313
+ /* 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_477a8da9_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_477a8da9_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
7314
+ /* unused harmony reexport * */
7315
+
7316
+
7305
7317
  /***/ }),
7306
7318
 
7307
7319
  /***/ "efec":
@@ -8809,17 +8821,17 @@ CommonScripts.install = Vue => {
8809
8821
  Vue.prototype.$CommonScripts = CommonScripts(Vue);
8810
8822
  };
8811
8823
  /* harmony default export */ var commonScripts = (CommonScripts);
8812
- // 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/Input/src/main.vue?vue&type=template&id=0c414f1a&scoped=true&
8813
- var mainvue_type_template_id_0c414f1a_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.permission !== 'n')?_c('div',{directives:[{name:"express",rawName:"v-express"}],class:[
8824
+ // 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/Input/src/main.vue?vue&type=template&id=477a8da9&scoped=true&
8825
+ var mainvue_type_template_id_477a8da9_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.permission !== 'n')?_c('div',{directives:[{name:"express",rawName:"v-express"}],class:[
8814
8826
  'inputs',
8815
8827
  _vm.formInputsDisplay == 'block'
8816
8828
  ? 'ht-form-inputs__block'
8817
8829
  : 'ht-form-inputs__inline',
8818
8830
  _vm.company ? 'has-company-box' : '' ]},[(_vm.isShowInput)?_c('el-input',{directives:[{name:"validate",rawName:"v-validate",value:(_vm.inputValidate),expression:"inputValidate"}],ref:"inputEle",style:(_vm.inputWidth),attrs:{"type":_vm.type,"size":_vm.inputSize,"name":_vm.inputName,"placeholder":_vm.placeholder,"clearable":_vm.clearable,"show-password":_vm.showPassword,"disabled":_vm.isDisabled,"readonly":_vm.readonly,"rows":_vm.rowsVal,"cols":_vm.colsVal,"min":_vm.min,"max":_vm.max,"autosize":_vm.autosize,"resize":_vm.resize,"tabindex":_vm.tabindex,"prefix-icon":_vm.prefixIcon,"suffix-icon":_vm.suffixIcon,"minlength":_vm.minlength,"maxlength":_vm.maxlength,"show-word-limit":_vm.showWordLimit},on:{"blur":_vm.handleBlur,"focus":_vm.handleFocus,"change":_vm.handleChange,"input":_vm.handleInput,"clear":_vm.handleClear},model:{value:(_vm.inputVal),callback:function ($$v) {_vm.inputVal=$$v},expression:"inputVal"}},[_vm._t("prefix",null,{"slot":"prefix"}),_vm._t("suffix",null,{"slot":"suffix"}),_vm._t("prepend",null,{"slot":"prepend"}),_vm._t("append",null,{"slot":"append"})],2):_vm._e(),(_vm.inputWriteable && _vm.type == 'number')?[_c('el-input-number',{directives:[{name:"show",rawName:"v-show",value:(_vm.isNumber),expression:"isNumber"},{name:"validate",rawName:"v-validate",value:(_vm.inputValidate),expression:"inputValidate"}],ref:"inputEle",style:(_vm.inputWidth),attrs:{"type":_vm.type,"controls-position":_vm.controlsPosition,"size":_vm.inputSize,"name":_vm.inputName,"placeholder":_vm.placeholder,"clearable":_vm.clearable,"disabled":_vm.disabled,"readonly":_vm.readonly,"min":_vm.min,"max":_vm.max,"step":_vm.step,"step-strictly":_vm.stepStrictly,"precision":_vm.precision},on:{"blur":_vm.handleNumberBlur,"focus":_vm.handleFocus,"change":_vm.handleChange},model:{value:(_vm.inputVal),callback:function ($$v) {_vm.inputVal=$$v},expression:"inputVal"}}),_c('el-input',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isNumber),expression:"!isNumber"}],ref:"exhibit",staticClass:"exhibit",style:(_vm.inputWidth),attrs:{"type":"text","controls-position":_vm.controlsPosition,"size":_vm.inputSize,"name":_vm.inputName,"placeholder":_vm.placeholder,"disabled":_vm.disabled,"readonly":_vm.readonly,"min":_vm.min,"max":_vm.max,"step":_vm.step,"step-strictly":_vm.stepStrictly,"precision":_vm.precision},on:{"focus":_vm.exhibitFocus},model:{value:(_vm.exhibitText),callback:function ($$v) {_vm.exhibitText=$$v},expression:"exhibitText"}}),(_vm.company)?_c('span',[_vm._v(_vm._s(_vm.company))]):_vm._e()]:_vm._e(),(_vm.isShowText)?_c('ht-field-tail',{attrs:{"field-name":_vm.inputName,"readonly":!_vm.inputWriteable,"input-value":_vm.readOnlyInputVal,"company":_vm.company,"precision":_vm.precision,"type":_vm.type,"filter-currency":_vm.filtercurrency,"filterthousand-bit":_vm.filterthousandBit}},[_vm._t("prefix",null,{"slot":"prefix"}),_vm._t("suffix",null,{"slot":"suffix"}),_vm._t("prepend",null,{"slot":"prepend"}),_vm._t("append",null,{"slot":"append"})],2):_vm._e()],2):_vm._e()}
8819
- var mainvue_type_template_id_0c414f1a_scoped_true_staticRenderFns = []
8831
+ var mainvue_type_template_id_477a8da9_scoped_true_staticRenderFns = []
8820
8832
 
8821
8833
 
8822
- // CONCATENATED MODULE: ./packages/Input/src/main.vue?vue&type=template&id=0c414f1a&scoped=true&
8834
+ // CONCATENATED MODULE: ./packages/Input/src/main.vue?vue&type=template&id=477a8da9&scoped=true&
8823
8835
 
8824
8836
  // 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/FieldTail/src/main.vue?vue&type=template&id=252eff3a&scoped=true&
8825
8837
  var mainvue_type_template_id_252eff3a_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:"field-tail__wrap"},[(_vm.hasErrors)?_c('small',{staticClass:"el-form-item__error"},[_vm._v("\n "+_vm._s(_vm.errorMessage)+"\n ")]):_vm._e(),(_vm.readonly && _vm.tagFormatValue.length == 0)?_c('div',{staticClass:"field-tail"},[(_vm.isReadonlyTextarea)?_c('div',_vm._l((_vm.formatInputValue),function(item,index){return _c('div',{key:index},[(item)?_c('p',{staticClass:"readonly_p"},[_vm._t("prefix"),_vm._t("suffix"),_vm._t("prepend"),_vm._v("\n "+_vm._s(item)+"\n "),_vm._t("append")],2):_c('br')])}),0):(_vm.$readonlyInput)?_c('el-input',{attrs:{"disabled":""},model:{value:(_vm.inputValue),callback:function ($$v) {_vm.inputValue=$$v},expression:"inputValue"}}):_c('span',[_vm._t("prefix"),_vm._t("suffix"),_vm._t("prepend"),_vm._v("\n "+_vm._s(_vm.currentShowValue)+"\n "),(_vm.company && !_vm.filterCurrency)?[_vm._v(_vm._s(_vm.company))]:_vm._e(),_vm._t("append")],2)],1):_vm._e(),(
@@ -9330,6 +9342,9 @@ var external_lodash_default = /*#__PURE__*/__webpack_require__.n(external_lodash
9330
9342
  const _me = this;
9331
9343
  const exp = this.mathExp;
9332
9344
  const formVm = utils["a" /* default */].getOnlineFormInstance(_me);
9345
+ if (formVm && formVm.isView === true) {
9346
+ return;
9347
+ }
9333
9348
  // 初始化流水号配置
9334
9349
  this.initIdentity(_me, formVm);
9335
9350
  // 数学运算表达式
@@ -9618,8 +9633,8 @@ var external_lodash_default = /*#__PURE__*/__webpack_require__.n(external_lodash
9618
9633
  });
9619
9634
  // CONCATENATED MODULE: ./packages/Input/src/main.vue?vue&type=script&lang=js&
9620
9635
  /* harmony default export */ var packages_Input_src_mainvue_type_script_lang_js_ = (Input_src_mainvue_type_script_lang_js_);
9621
- // EXTERNAL MODULE: ./packages/Input/src/main.vue?vue&type=style&index=0&id=0c414f1a&prod&lang=scss&scoped=true&
9622
- var mainvue_type_style_index_0_id_0c414f1a_prod_lang_scss_scoped_true_ = __webpack_require__("3c4b");
9636
+ // EXTERNAL MODULE: ./packages/Input/src/main.vue?vue&type=style&index=0&id=477a8da9&prod&lang=scss&scoped=true&
9637
+ var mainvue_type_style_index_0_id_477a8da9_prod_lang_scss_scoped_true_ = __webpack_require__("edbd");
9623
9638
 
9624
9639
  // CONCATENATED MODULE: ./packages/Input/src/main.vue
9625
9640
 
@@ -9632,11 +9647,11 @@ var mainvue_type_style_index_0_id_0c414f1a_prod_lang_scss_scoped_true_ = __webpa
9632
9647
 
9633
9648
  var src_main_component = normalizeComponent(
9634
9649
  packages_Input_src_mainvue_type_script_lang_js_,
9635
- mainvue_type_template_id_0c414f1a_scoped_true_render,
9636
- mainvue_type_template_id_0c414f1a_scoped_true_staticRenderFns,
9650
+ mainvue_type_template_id_477a8da9_scoped_true_render,
9651
+ mainvue_type_template_id_477a8da9_scoped_true_staticRenderFns,
9637
9652
  false,
9638
9653
  null,
9639
- "0c414f1a",
9654
+ "477a8da9",
9640
9655
  null
9641
9656
 
9642
9657
  )
@@ -15615,17 +15630,17 @@ Demension_src_main.install = function (Vue) {
15615
15630
  Vue.component(Demension_src_main.name, Demension_src_main);
15616
15631
  };
15617
15632
  /* harmony default export */ var Demension = (Demension_src_main);
15618
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/Tree/src/main.vue?vue&type=template&id=5731e345&scoped=true&
15619
- var mainvue_type_template_id_5731e345_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{style:(_vm.containerStyle)},[(_vm.supportFilter)?_c('div',{staticClass:"tree-header flex"},[_vm._t("custom-prefix"),_c('el-input',{attrs:{"placeholder":_vm.t('ht.tree.filterText'),"clearable":""},model:{value:(_vm.filterText),callback:function ($$v) {_vm.filterText=$$v},expression:"filterText"}},[_c('i',{staticClass:"el-input__icon el-icon-search",attrs:{"slot":"prefix"},slot:"prefix"})]),_c('div',{class:_vm.isIeExplorer
15633
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/Tree/src/main.vue?vue&type=template&id=10f71c00&scoped=true&
15634
+ var mainvue_type_template_id_10f71c00_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{style:(_vm.containerStyle)},[(_vm.supportFilter)?_c('div',{staticClass:"tree-header flex"},[_vm._t("custom-prefix"),_c('el-input',{attrs:{"placeholder":_vm.t('ht.tree.filterText'),"clearable":""},model:{value:(_vm.filterText),callback:function ($$v) {_vm.filterText=$$v},expression:"filterText"}},[_c('i',{staticClass:"el-input__icon el-icon-search",attrs:{"slot":"prefix"},slot:"prefix"})]),_c('div',{class:_vm.isIeExplorer
15620
15635
  ? 'tree-button-group is-ie-explorer flex'
15621
15636
  : 'tree-button-group flex'},[_vm._t("custom-button"),_c('ht-icon',{staticClass:"tree-icon",attrs:{"name":_vm.isExpand ? 'simple-collapse' : 'simple-expand',"title":_vm.isExpand ? '收起' : '展开',"scale":"1.2"},on:{"click":_vm.handleExpandCollapse}}),_c('ht-icon',{staticClass:"tree-icon refresh",attrs:{"name":"refresh","pulse":_vm.loading,"scale":"1.1","title":"刷新"},on:{"click":_vm.refresh}})],2)],2):_vm._e(),(_vm.isShowEmpty)?_c('el-empty',{attrs:{"image":_vm.treeNoDataImg,"image-size":_vm.imageSize}}):_c('el-tree',{ref:"elTree",staticClass:"el-tree__wrapper",style:(_vm.elTreeStyle),attrs:{"data":_vm.data ? _vm.data : _vm.treeData,"props":_vm.props,"empty-text":_vm.emptyText,"default-expand-all":_vm.defaultExpandAll,"filter-node-method":_vm.filterNode,"load":_vm.load,"lazy":_vm.lazy,"show-checkbox":_vm.showCheckbox,"accordion":_vm.accordion,"node-key":_vm.nodeKey,"default-expanded-keys":_vm.defaultExpandedKeys,"highlight-current":_vm.highlightCurrent,"render-after-expand":_vm.renderAfterExpand,"render-content":_vm.renderContent,"check-on-click-node":_vm.checkOnClickNode,"auto-expand-parent":_vm.autoExpandParent,"check-strictly":_vm.checkStrictly,"current-node-key":_vm.currentNodeKey,"indent":_vm.indent,"icon-class":_vm.iconClass,"draggable":_vm.draggable,"allow-drag":_vm.allowDrag,"allow-drop":_vm.allowDrop,"expand-on-click-node":_vm.expandOnClickNode,"default-checked-keys":_vm.defaultCheckedKeys},on:{"node-click":_vm.handleNodeClick,"node-contextmenu":_vm.nodeContextmenu,"check-change":_vm.checkChange,"check":_vm.check,"current-change":_vm.currentChange,"node-expand":_vm.nodeExpand,"node-collapse":_vm.nodeCollapse,"node-drag-start":_vm.nodeDragStart,"node-drag-enter":_vm.nodeDragEnter,"node-drag-leave":_vm.nodeDragLeave,"node-drag-over":_vm.nodeDragOver,"node-drag-end":_vm.nodeDragEnd,"node-drop":_vm.nodeDrop},scopedSlots:_vm._u([{key:"default",fn:function(ref){
15622
15637
  var node = ref.node;
15623
15638
  var subData = ref.data;
15624
15639
  return (_vm.$scopedSlots['default'])?_vm._t("default",null,{"node":node,"data":subData}):[_c('span',{staticClass:"el-tree-node__label show-ellipsis",class:{ 'full-width': !_vm.showMoreButton },attrs:{"title":node.label}},[_vm._v("\n "+_vm._s(node.label)+"\n ")])]}}],null,true)})],1)}
15625
- var mainvue_type_template_id_5731e345_scoped_true_staticRenderFns = []
15640
+ var mainvue_type_template_id_10f71c00_scoped_true_staticRenderFns = []
15626
15641
 
15627
15642
 
15628
- // CONCATENATED MODULE: ./packages/Tree/src/main.vue?vue&type=template&id=5731e345&scoped=true&
15643
+ // CONCATENATED MODULE: ./packages/Tree/src/main.vue?vue&type=template&id=10f71c00&scoped=true&
15629
15644
 
15630
15645
  // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/Tree/src/main.vue?vue&type=script&lang=js&
15631
15646
  //
@@ -15900,7 +15915,11 @@ var mainvue_type_template_id_5731e345_scoped_true_staticRenderFns = []
15900
15915
  },
15901
15916
  watch: {
15902
15917
  filterText(val) {
15903
- this.$refs.elTree.filter(val);
15918
+ if (this.lazy) {
15919
+ this.$emit('loadALL', val);
15920
+ } else {
15921
+ this.$refs.elTree.filter(val);
15922
+ }
15904
15923
  },
15905
15924
  defaultCheckedKeys(val) {
15906
15925
  this.$refs.elTree.setCheckedKeys(val);
@@ -15993,8 +16012,8 @@ var mainvue_type_template_id_5731e345_scoped_true_staticRenderFns = []
15993
16012
  });
15994
16013
  // CONCATENATED MODULE: ./packages/Tree/src/main.vue?vue&type=script&lang=js&
15995
16014
  /* harmony default export */ var packages_Tree_src_mainvue_type_script_lang_js_ = (Tree_src_mainvue_type_script_lang_js_);
15996
- // EXTERNAL MODULE: ./packages/Tree/src/main.vue?vue&type=style&index=0&id=5731e345&prod&lang=scss&scoped=true&
15997
- var mainvue_type_style_index_0_id_5731e345_prod_lang_scss_scoped_true_ = __webpack_require__("48f7");
16015
+ // EXTERNAL MODULE: ./packages/Tree/src/main.vue?vue&type=style&index=0&id=10f71c00&prod&lang=scss&scoped=true&
16016
+ var mainvue_type_style_index_0_id_10f71c00_prod_lang_scss_scoped_true_ = __webpack_require__("cc2b");
15998
16017
 
15999
16018
  // CONCATENATED MODULE: ./packages/Tree/src/main.vue
16000
16019
 
@@ -16007,11 +16026,11 @@ var mainvue_type_style_index_0_id_5731e345_prod_lang_scss_scoped_true_ = __webpa
16007
16026
 
16008
16027
  var Tree_src_main_component = normalizeComponent(
16009
16028
  packages_Tree_src_mainvue_type_script_lang_js_,
16010
- mainvue_type_template_id_5731e345_scoped_true_render,
16011
- mainvue_type_template_id_5731e345_scoped_true_staticRenderFns,
16029
+ mainvue_type_template_id_10f71c00_scoped_true_render,
16030
+ mainvue_type_template_id_10f71c00_scoped_true_staticRenderFns,
16012
16031
  false,
16013
16032
  null,
16014
- "5731e345",
16033
+ "10f71c00",
16015
16034
  null
16016
16035
 
16017
16036
  )
@@ -22503,8 +22522,8 @@ PostSelector_src_main.install = function (Vue) {
22503
22522
  Vue.component(PostSelector_src_main.name, PostSelector_src_main);
22504
22523
  };
22505
22524
  /* harmony default export */ var PostSelector = (PostSelector_src_main);
22506
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/DimensionSelector/src/main.vue?vue&type=template&id=10681225&scoped=true&
22507
- var mainvue_type_template_id_10681225_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.permission !== 'n')?_c('div',{class:[
22525
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/DimensionSelector/src/main.vue?vue&type=template&id=8015cf1e&scoped=true&
22526
+ var mainvue_type_template_id_8015cf1e_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.permission !== 'n')?_c('div',{class:[
22508
22527
  'inputs',
22509
22528
  _vm.formInputsDisplay == 'block'
22510
22529
  ? 'ht-form-inputs__block'
@@ -22519,10 +22538,10 @@ var mainvue_type_template_id_10681225_scoped_true_render = function () {var _vm=
22519
22538
  return [_c('ht-icon',{staticClass:"follow-theme-color",staticStyle:{"margin-left":"15px","width":"36px","height":"36px"},attrs:{"name":"demension"}}),_c('div',{staticClass:"selector-item__detail"},[_c('div',{staticClass:"selector-detail__name"},[_c('label',[_vm._v(_vm._s(item[_vm.selectLabel]))]),_c('span',[_vm._v("("+_vm._s(item['code'])+")")])])])]}},{key:"selected",fn:function(ref){
22520
22539
  var select = ref.select;
22521
22540
  return [_c('ht-icon',{staticClass:"follow-theme-color",staticStyle:{"margin-left":"15px","width":"36px","height":"36px"},attrs:{"name":"demension"}}),_c('p',{staticClass:"selector-selected__label",attrs:{"title":((select[_vm.selectLabel]) + "(" + (select['code']) + ")")}},[_vm._v("\n "+_vm._s(((select[_vm.selectLabel]) + "(" + (select['code']) + ")"))+"\n ")])]}}],null,false,3344182147),model:{value:(_vm.demensions),callback:function ($$v) {_vm.demensions=$$v},expression:"demensions"}})],1),_c('div',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"type":"primary","size":"small"},on:{"click":_vm.handleDialogSure}},[_vm._v("\n 确 定\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.handleDialogCancel}},[_vm._v("取 消")])],1)])],1):_vm._e()}
22522
- var mainvue_type_template_id_10681225_scoped_true_staticRenderFns = []
22541
+ var mainvue_type_template_id_8015cf1e_scoped_true_staticRenderFns = []
22523
22542
 
22524
22543
 
22525
- // CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=template&id=10681225&scoped=true&
22544
+ // CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=template&id=8015cf1e&scoped=true&
22526
22545
 
22527
22546
  // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/DimensionSelector/src/main.vue?vue&type=script&lang=js&
22528
22547
  //
@@ -22781,6 +22800,8 @@ var mainvue_type_template_id_10681225_scoped_true_staticRenderFns = []
22781
22800
  if (this.config.hasOwnProperty('demName')) {
22782
22801
  utils["a" /* default */].setValueByConfigKey(this, this.config, 'demName', demNameAry.join(','));
22783
22802
  }
22803
+ } else {
22804
+ this.$emit('change', newVal);
22784
22805
  }
22785
22806
  // 通过valueChange事件发布值变更消息
22786
22807
  this.$emit('valueChange', ary.join(','), newVal);
@@ -22910,8 +22931,8 @@ var mainvue_type_template_id_10681225_scoped_true_staticRenderFns = []
22910
22931
  });
22911
22932
  // CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=script&lang=js&
22912
22933
  /* harmony default export */ var packages_DimensionSelector_src_mainvue_type_script_lang_js_ = (DimensionSelector_src_mainvue_type_script_lang_js_);
22913
- // EXTERNAL MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=style&index=0&id=10681225&prod&lang=scss&scoped=true&
22914
- var mainvue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true_ = __webpack_require__("c33b");
22934
+ // EXTERNAL MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=style&index=0&id=8015cf1e&prod&lang=scss&scoped=true&
22935
+ var mainvue_type_style_index_0_id_8015cf1e_prod_lang_scss_scoped_true_ = __webpack_require__("dc81");
22915
22936
 
22916
22937
  // CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue
22917
22938
 
@@ -22924,11 +22945,11 @@ var mainvue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true_ = __webpa
22924
22945
 
22925
22946
  var DimensionSelector_src_main_component = normalizeComponent(
22926
22947
  packages_DimensionSelector_src_mainvue_type_script_lang_js_,
22927
- mainvue_type_template_id_10681225_scoped_true_render,
22928
- mainvue_type_template_id_10681225_scoped_true_staticRenderFns,
22948
+ mainvue_type_template_id_8015cf1e_scoped_true_render,
22949
+ mainvue_type_template_id_8015cf1e_scoped_true_staticRenderFns,
22929
22950
  false,
22930
22951
  null,
22931
- "10681225",
22952
+ "8015cf1e",
22932
22953
  null
22933
22954
 
22934
22955
  )
@@ -23556,8 +23577,8 @@ Dialog_src_main.install = function (Vue) {
23556
23577
  Vue.component(Dialog_src_main.name, Dialog_src_main);
23557
23578
  };
23558
23579
  /* harmony default export */ var Dialog = (Dialog_src_main);
23559
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/main.vue?vue&type=template&id=0b5eb5e6&scoped=true&
23560
- var mainvue_type_template_id_0b5eb5e6_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"inputs"},[_c('el-tooltip',{attrs:{"placement":_vm.tooltipplacement || _vm.defualtTooltipplacement,"disabled":_vm.inputWriteable && _vm.errors && !_vm.errors.has('custom-form.' + _vm.inputName)}},[(_vm.errors && _vm.errors.first)?_c('div',{attrs:{"slot":"content"},slot:"content"},[_vm._v("\n "+_vm._s(_vm.errors.first('custom-form.' + _vm.inputName))+"\n ")]):_vm._e(),(_vm.inputWriteable)?_c('div',{staticClass:"el-select",class:{ 'has-value': _vm.value },staticStyle:{"width":"100%"}},[_c('div',{ref:"tagSpans",staticClass:"el-select__tags",style:({ width: 'calc(100% - 10px - ' + _vm.inputSuffixWidth + 'px)' }),on:{"click":_vm.showEditInput}},[_c('span',{staticClass:"tag-wrap"},_vm._l((_vm.inputVal),function(item,index){return _c('span',{key:item.value,staticClass:"el-tag el-tag--info el-tag--small",on:{"click":_vm.showEditInput}},[_c('span',{staticClass:"el-select__tags-text"},[_vm._v(_vm._s(item.value))]),_c('i',{staticClass:"el-tag__close el-icon-close",on:{"click":function($event){$event.stopPropagation();return _vm.removeSelectOrg(index)}}})])}),0)]),_c('div',{staticClass:"el-input el-input--suffix"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.inputVal),expression:"inputVal"},{name:"validate",rawName:"v-validate",value:(_vm.inputValidate),expression:"inputValidate"}],staticClass:"el-input__inner",style:({ height: _vm.inputSuffixHeight + 'px' }),attrs:{"type":"text","readonly":"readonly","name":_vm.inputName,"autocomplete":"off","placeholder":_vm.placeholder},domProps:{"value":(_vm.inputVal)},on:{"click":_vm.showEditInput,"input":function($event){if($event.target.composing){ return; }_vm.inputVal=$event.target.value}}}),(_vm.isAllowCustom && _vm.isEditInputShow)?_c('el-input',{ref:"editInputRef",staticClass:"edit-input",style:({
23580
+ // 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=bf5a35ae&scoped=true&
23581
+ var mainvue_type_template_id_bf5a35ae_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"inputs"},[_c('el-tooltip',{attrs:{"placement":_vm.tooltipplacement || _vm.defualtTooltipplacement,"disabled":_vm.inputWriteable && _vm.errors && !_vm.errors.has('custom-form.' + _vm.inputName)}},[(_vm.errors && _vm.errors.first)?_c('div',{attrs:{"slot":"content"},slot:"content"},[_vm._v("\n "+_vm._s(_vm.errors.first('custom-form.' + _vm.inputName))+"\n ")]):_vm._e(),(_vm.inputWriteable)?_c('div',{staticClass:"el-select",class:{ 'has-value': _vm.value },staticStyle:{"width":"100%"}},[_c('div',{ref:"tagSpans",staticClass:"el-select__tags",style:({ width: 'calc(100% - 10px - ' + _vm.inputSuffixWidth + 'px)' }),on:{"click":_vm.showEditInput}},[_c('span',{staticClass:"tag-wrap"},_vm._l((_vm.inputVal),function(item,index){return _c('span',{key:item.value,staticClass:"el-tag el-tag--info el-tag--small no-background",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:({
23561
23582
  right: _vm.inputSuffixWidth - 1 + 'px',
23562
23583
  width: 'auto!important',
23563
23584
  height: _vm.inputSuffixHeight - 4 + 'px',
@@ -23566,11 +23587,11 @@ var mainvue_type_template_id_0b5eb5e6_scoped_true_render = function () {var _vm=
23566
23587
  : 'el-input__icon icon-duihuakuang',style:({
23567
23588
  fontSize: '17px',
23568
23589
  lineHeight: _vm.inputSuffixHeight + 'px',
23569
- })}),_vm._v("\n "+_vm._s(_vm.custdialog.name)+"\n ")])],1)])],1)]):_vm._e()]),(!_vm.inputWriteable)?_c('span',_vm._l((_vm.inputVal),function(item){return _c('span',{key:item.value,staticClass:"el-tag el-tag--info el-tag--small",staticStyle:{"margin-right":"8px"},on:{"click":function($event){$event.stopPropagation();}}},[_c('span',{staticClass:"el-select__tags-text"},[_vm._v(_vm._s(item.value))])])}),0):_vm._e(),(_vm.isMobile)?_c('custom-mobile-dialog',{ref:"customMobileDialogRef",attrs:{"model-name":_vm.modelName,"custdialog":_vm.custdialog,"sub-index":_vm.subIndex,"sun-index":_vm.sunIndex,"sub-path":_vm.subPath,"current-sub-data":_vm.currentSubData},on:{"calacInputSuffixHeight":_vm.calacInputSuffixHeight,"updateInput":_vm.updateInput}}):_c('custom-dialog',{ref:"customDialogRef",attrs:{"model-name":_vm.modelName,"custdialog":_vm.custdialog,"sub-index":_vm.subIndex,"sun-index":_vm.sunIndex,"sub-path":_vm.subPath,"current-sub-data":_vm.currentSubData,"is-read-only":!_vm.inputWriteable},on:{"calacInputSuffixHeight":_vm.calacInputSuffixHeight,"updateInput":_vm.updateInput},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v},expression:"value"}}),_c('span',{staticStyle:{"display":"none"}},[_vm._t("labeldesc",[_vm._v(_vm._s(_vm.inputName))])],2),_c('ht-field-tail',{attrs:{"field-name":_vm.inputName,"input-value":_vm.value}})],1)}
23570
- var mainvue_type_template_id_0b5eb5e6_scoped_true_staticRenderFns = []
23590
+ })}),_vm._v("\n "+_vm._s(_vm.custdialog.name)+"\n ")])],1)])],1)]):_vm._e()]),(!_vm.inputWriteable)?_c('span',{staticClass:"dialog-readonly"},_vm._l((_vm.inputVal),function(item){return _c('span',{key:item.value,staticClass:"el-tag el-tag--info el-tag--small no-background",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,"dialog-type":_vm.dialogType},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,"dialog-type":_vm.dialogType},on:{"calacInputSuffixHeight":_vm.calacInputSuffixHeight,"updateInput":_vm.updateInput},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v},expression:"value"}}),_c('span',{staticStyle:{"display":"none"}},[_vm._t("labeldesc",[_vm._v(_vm._s(_vm.inputName))])],2),_c('ht-field-tail',{attrs:{"field-name":_vm.inputName,"input-value":_vm.value}}),(_vm.isDialogFormShow)?_c('el-dialog',{attrs:{"title":"表单详情","visible":_vm.isDialogFormShow,"width":"100%","custom-class":"custom-dialog-form","fullscreen":"","append-to-body":""},on:{"update:visible":function($event){_vm.isDialogFormShow=$event}}},[_c('div',{staticClass:"iframe-box"},[_c('iframe',{staticStyle:{"height":"100%"},attrs:{"src":_vm.mobileSrc,"width":"100%","frameborder":"0"}})]),_c('div',{staticClass:"custom-dialog-form_footer"},[_c('el-button',{attrs:{"size":"smal"},on:{"click":function($event){_vm.isDialogFormShow = false}}},[_vm._v("\n 关闭\n ")])],1)]):_vm._e()],1)}
23591
+ var mainvue_type_template_id_bf5a35ae_scoped_true_staticRenderFns = []
23571
23592
 
23572
23593
 
23573
- // CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=0b5eb5e6&scoped=true&
23594
+ // CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=bf5a35ae&scoped=true&
23574
23595
 
23575
23596
  // CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.js
23576
23597
 
@@ -23692,19 +23713,47 @@ var mainvue_type_template_id_0b5eb5e6_scoped_true_staticRenderFns = []
23692
23713
  }
23693
23714
  }
23694
23715
  });
23695
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=3a57945e&scoped=true&
23696
- var customDialogvue_type_template_id_3a57945e_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-dialog',{attrs:{"visible":_vm.customDialogShowList,"title":_vm.customDialog.name,"close-on-click-modal":false,"before-close":_vm.dialogCancel,"append-to-body":"","top":"6vh","width":"60%"},on:{"update:visible":function($event){_vm.customDialogShowList=$event},"opened":_vm.afterOpen}},[_c('el-container',{staticStyle:{"overflow":"auto"},style:(_vm.style)},[(_vm.customDialog.style == 2)?_c('el-aside',{directives:[{name:"show",rawName:"v-show",value:(_vm.treeShow),expression:"treeShow"}],staticStyle:{"width":"23%"}},[_c('el-card',[_c('div',{staticClass:"clearfix",attrs:{"slot":"header"},slot:"header"},[_c('span',{staticStyle:{"font-size":"16px"}},[_vm._v(_vm._s(_vm.leftTreeTitle))])]),_c('el-tree',{ref:"combinationTree",attrs:{"data":_vm.combinationTreeData,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","check-on-click-node":true,"lazy":"","load":_vm.loadTree},on:{"node-click":_vm.combiTreeClick}})],1)],1):_vm._e(),(_vm.customDialog.style == 2)?_c('el-divider',{attrs:{"direction":"vertical"}}):_vm._e(),_c('el-container',[(_vm.querysShow)?_c('el-header',{staticClass:"middle-header"},[_vm._l((_vm.conditionBind),function(condition,index){return _c('div',{key:index,staticClass:"search-item"},[_c('p',{staticStyle:{"font-size":"14px"}},[_vm._v(_vm._s(condition.comment)+":")]),(condition.controllerType == '1')?_c('div',[_c('el-input',{staticStyle:{"width":"180px","padding":"10px 0","margin":"0 5px 0 5px"},attrs:{"size":"small","clearable":"","placeholder":_vm.placeholders[index],"prefix-icon":"el-icon-search"},nativeOn:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.searchEnterFun($event)}},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '2')?_c('div',{staticStyle:{"margin-right":"10px"}},_vm._l((condition.config.options),function(itemR,$index1){return _c('el-radio',{key:$index1,attrs:{"label":itemR.key},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}},[_vm._v("\n "+_vm._s(itemR.value)+"\n ")])}),1):_vm._e(),(condition.controllerType == '3')?_c('div',{staticStyle:{"margin-right":"10px"}},[(condition.config.choiceType == 'static')?_c('ht-select',{attrs:{"placeholder":_vm.quickSearch,"options":condition.config.options},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}}):_c('eip-select-dia',{attrs:{"placeholder":_vm.quickSearch,"ganged":{
23697
- alias: condition.config.customQuery.alias,
23698
- valueBind: condition.config.customQuery.valueBind,
23699
- noInit: '',
23700
- labelBind: condition.config.customQuery.labelBind,
23701
- gangedBind: '{}',
23702
- bind: condition.config.bind,
23703
- },"multiple":false,"filterable":false,"allow-create":false,"selectlist":[],"query-params":_vm.queryParams},model:{value:(_vm.queryParams[condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams, condition.field, $$v)},expression:"queryParams[condition.field]"}})],1):_vm._e(),(condition.controllerType == '4')?_c('div',{staticStyle:{"margin-right":"10px"}},[_c('eip-tag',{attrs:{"tag-key":condition.config.tag,"placeholder":_vm.quickSearch,"filterable":condition.config.filterable,"expand":condition.config.expand},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e()])}),(_vm.conditionBind && _vm.conditionBind.length > 0)?_c('div',{staticClass:"btn-wrap"},[_c('el-button',{staticStyle:{"margin-left":"20px"},attrs:{"size":"small","type":"primary","icon":"el-icon-search"},on:{"click":function($event){return _vm.search(true)}}},[_vm._v("\n 查询\n ")]),_c('el-button',{attrs:{"size":"small","icon":"el-icon-refresh"},on:{"click":_vm.reset}},[_vm._v("\n 重置\n ")])],1):_vm._e()],2):_vm._e(),_c('el-main',{ref:"customTableRef",staticClass:"custom-dialog_main"},[_c('el-table',{ref:"orgTable",staticClass:"org-table",staticStyle:{"width":"100%"},attrs:{"data":_vm.dialogData,"stripe":"","border":"","size":"medium","height":_vm.tableHeight},on:{"row-click":_vm.orgRowClick,"selection-change":_vm.orgTableSelection,"select":_vm.onTableSelect,"select-all":_vm.selectAll}},[(_vm.customDialog.selectNum != 1)?_c('el-table-column',{attrs:{"type":"selection","align":"center","width":"55"}}):_vm._e(),(_vm.customDialog.selectNum === 1)?_c('el-table-column',{attrs:{"align":"center","width":"55"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-radio',{staticClass:"textRadio",attrs:{"label":scope.$index},on:{"selection-change":_vm.orgTableSelection},model:{value:(_vm.tableRadioVal),callback:function ($$v) {_vm.tableRadioVal=$$v},expression:"tableRadioVal"}},[_vm._v("\n  \n ")])]}}],null,false,918943478)}):_vm._e(),_c('el-table-column',{attrs:{"type":"index","width":"50","align":"center","label":"序号"}}),_vm._l((_vm.displayfield),function(field){return _c('el-table-column',{key:field.field,staticStyle:{"width":"100%"},attrs:{"show-overflow-tooltip":true,"prop":field.field,"label":field.comment}})})],2)],1),_c('el-footer',[(_vm.customDialog.needPage)?_c('el-row',{staticStyle:{"padding-top":"15px","justify-content":"space-between"},attrs:{"type":"flex","justify":"end"}},[(_vm.customDialog.style == 2)?_c('el-button',{attrs:{"icon":_vm.toggleBtn,"size":"mini","type":"default"},on:{"click":_vm.toggleTree}}):_vm._e(),_c('el-pagination',{attrs:{"small":"","current-page":_vm.pagination.page,"page-sizes":[10, 20, 50, 100],"page-size":_vm.pagination.pageSize,"layout":"total, sizes, prev, pager, next, jumper","total":_vm.total},on:{"size-change":_vm.handleSizeChange,"current-change":_vm.handleCurrentChange}})],1):_vm._e()],1)],1)],1),_c('span',{staticClass:"dialog-footer",staticStyle:{"text-align":"center"},attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.dialogConfirm}},[_vm._v("\n 确认\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.dialogCancel}},[_vm._v("取 消")])],1)],1),_c('el-dialog',{attrs:{"title":"动态传入参数查询","width":"500px","visible":_vm.dialogVisible,"before-close":_vm.handleClose,"close-on-click-modal":false,"top":"6vh"},on:{"update:visible":function($event){_vm.dialogVisible=$event}}},[_c('table',{staticClass:"form-table",staticStyle:{"margin-left":"20px","width":"90%"},attrs:{"cellspacing":"0","cellpadding":"0","border":"0"}},_vm._l((_vm.conditionfieldTree),function(item,$index){return _c('tbody',{key:$index},[(item.defaultType == '4')?_c('tr',[_c('th',{attrs:{"width":"130px"}},[_vm._v(_vm._s(item.comment)+":")]),_c('td',[(item.type != 'date')?_c('ht-input',{staticStyle:{"width":"100%"},attrs:{"type":"text","placeholder":'请输入' + item.comment,"autocomplete":"off"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e(),(item.type == 'date')?_c('ht-date',{staticStyle:{"width":"100%"},attrs:{"placeholder":'请输入' + item.comment,"format":"yyyy-MM-dd"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e()],1)]):_vm._e()])}),0),_c('div',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"type":"primary"},on:{"click":_vm.handleSave}},[_vm._v("确 定")]),_c('el-button',{on:{"click":_vm.handleClose}},[_vm._v("取 消")])],1)]),_c('el-dialog',{attrs:{"visible":_vm.customDialogShowTree,"title":_vm.customDialog.name,"close-on-click-modal":false,"before-close":_vm.dialogCancelTree,"append-to-body":"","top":"6vh","width":"500px"},on:{"update:visible":function($event){_vm.customDialogShowTree=$event}}},[_c('el-container',{staticStyle:{"overflow":"auto"},style:(_vm.style)},[_c('el-tree',{ref:"tree",staticStyle:{"width":"100%"},attrs:{"data":_vm.props1,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","show-checkbox":_vm.customDialog.selectNum === -1,"check-on-click-node":true,"check-strictly":false,"lazy":"","load":_vm.loadTree,"default-expanded-keys":_vm.defaultExpandedKeys},on:{"node-click":_vm.treeClick,"check-change":_vm.getChecked}})],1),_c('span',{staticClass:"dialog-footer",staticStyle:{"text-align":"center"},attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.dialogTreeConfirm}},[_vm._v("\n 确认\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.dialogCancelTree}},[_vm._v("取 消")])],1)],1)],1)}
23704
- var customDialogvue_type_template_id_3a57945e_scoped_true_staticRenderFns = []
23705
-
23706
-
23707
- // CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=3a57945e&scoped=true&
23716
+ // 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=3e2f487c&scoped=true&
23717
+ var customDialogvue_type_template_id_3e2f487c_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":"75%"},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',{attrs:{"title":condition.comment}},[_vm._v(_vm._s(condition.comment)+":")]),(condition.controllerType == '1')?_c('div',{staticClass:"search-item_main"},[_c('el-input',{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',{staticClass:"search-item_main"},_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',{staticClass:"search-item_main"},[(condition.config.choiceType == 'static')?_c('ht-select',{attrs:{"placeholder":_vm.quickSearch,"multiple":condition.config.multiple,"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('ht-dictionary',{attrs:{"dickey":condition.config.dic,"filterable":condition.config.filterable},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 == '4')?_c('div',{staticClass:"search-item_main"},[_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(),(condition.controllerType == '6')?_c('div',{staticClass:"search-item_main"},[(condition.condition == 'BETWEEN')?_c('div',{staticClass:"search-item_date"},[_c('ht-date',{attrs:{"format":condition.config.inputFormat.includes('mm:ss')
23718
+ ? 'yyyy-MM-dd HH:mm:ss'
23719
+ : condition.config.inputFormat,"valueFormat":condition.config.inputFormat.includes('mm:ss')
23720
+ ? 'yyyy-MM-dd HH:mm:ss'
23721
+ : condition.config.inputFormat},model:{value:(_vm.queryParams[index].startDate),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "startDate", $$v)},expression:"queryParams[index].startDate"}}),_vm._v("\n 至\n "),_c('ht-date',{attrs:{"format":condition.config.inputFormat.includes('mm:ss')
23722
+ ? 'yyyy-MM-dd HH:mm:ss'
23723
+ : condition.config.inputFormat,"valueFormat":condition.config.inputFormat.includes('mm:ss')
23724
+ ? 'yyyy-MM-dd HH:mm:ss'
23725
+ : condition.config.inputFormat},model:{value:(_vm.queryParams[index].endDate),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "endDate", $$v)},expression:"queryParams[index].endDate"}})],1):_c('ht-date',{attrs:{"format":condition.config.inputFormat.includes('mm:ss')
23726
+ ? 'yyyy-MM-dd HH:mm:ss'
23727
+ : condition.config.inputFormat,"valueFormat":condition.config.inputFormat.includes('mm:ss')
23728
+ ? 'yyyy-MM-dd HH:mm:ss'
23729
+ : condition.config.inputFormat},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 == '7')?_c('div',{staticClass:"search-item_main"},[(condition.config.alias == 'user')?_c('ht-user-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
23730
+ _vm.queryParams[index][condition.field] = _vm.getSelectId(data)
23731
+ }}}):_vm._e(),(condition.config.alias == 'org')?_c('ht-org-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
23732
+ _vm.queryParams[index][condition.field] = _vm.getSelectId(data)
23733
+ }}}):_vm._e(),(condition.config.alias == 'role')?_c('ht-role-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
23734
+ _vm.queryParams[index][condition.field] = _vm.getSelectId(data)
23735
+ }}}):_vm._e(),(condition.config.alias == 'job')?_c('ht-job-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
23736
+ _vm.queryParams[index][condition.field] = _vm.getSelectId(data)
23737
+ }}}):_vm._e(),(condition.config.alias == 'post')?_c('ht-post-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
23738
+ _vm.queryParams[index][condition.field] = _vm.getSelectId(data)
23739
+ }}}):_vm._e(),(condition.config.alias == 'dimension')?_c('ht-dimension-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
23740
+ _vm.queryParams[index][condition.field] = _vm.getSelectId(data)
23741
+ }}}):_vm._e()],1):_vm._e(),(condition.controllerType == '5')?_c('div',{staticClass:"search-item_main"},[_c('ht-custom-dialog',{attrs:{"model-name":condition.config.keyBind,"dialogType":"search","custdialog":{
23742
+ name: '请选择',
23743
+ icon: '',
23744
+ custDialog: {
23745
+ selectNum: 1,
23746
+ conditions: [],
23747
+ mappingConf: [],
23748
+ custQueryJson: [],
23749
+ alias: condition.config.alias,
23750
+ type: 'custDialog',
23751
+ },
23752
+ }},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e()])}),(_vm.conditionBind && _vm.conditionBind.length > 0)?_c('div',{staticClass:"btn-wrap"},[_c('el-button',{staticStyle:{"margin-left":"20px"},attrs:{"size":"small","type":"primary","icon":"el-icon-search"},on:{"click":function($event){return _vm.search(true)}}},[_vm._v("\n 查询\n ")]),_c('el-button',{attrs:{"size":"small","icon":"el-icon-refresh"},on:{"click":_vm.reset}},[_vm._v("\n 重置\n ")])],1):_vm._e()],2):_vm._e(),_c('el-main',{ref:"customTableRef",staticClass:"custom-dialog_main"},[_c('el-table',{ref:"orgTable",staticClass:"org-table",staticStyle:{"width":"100%"},attrs:{"data":_vm.dialogData,"stripe":"","border":"","size":"medium","height":_vm.tableHeight},on:{"row-click":_vm.orgRowClick,"selection-change":_vm.orgTableSelection,"select":_vm.onTableSelect,"select-all":_vm.selectAll}},[(_vm.customDialog.selectNum != 1)?_c('el-table-column',{attrs:{"type":"selection","align":"center","width":"55"}}):_vm._e(),(_vm.customDialog.selectNum === 1)?_c('el-table-column',{attrs:{"align":"center","width":"55"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-radio',{staticClass:"textRadio",attrs:{"label":scope.$index},on:{"selection-change":_vm.orgTableSelection},model:{value:(_vm.tableRadioVal),callback:function ($$v) {_vm.tableRadioVal=$$v},expression:"tableRadioVal"}},[_vm._v("\n  \n ")])]}}],null,false,918943478)}):_vm._e(),_c('el-table-column',{attrs:{"type":"index","width":"50","align":"center","label":"序号"}}),_vm._l((_vm.sortDisplayfield),function(field){return _c('el-table-column',{key:field.field,attrs:{"prop":field.field,"label":field.comment,"width":field.width || ''}})})],2)],1),_c('el-footer',[(_vm.customDialog.needPage)?_c('el-row',{staticStyle:{"padding-top":"15px","justify-content":"space-between"},attrs:{"type":"flex","justify":"end"}},[(_vm.customDialog.style == 2)?_c('el-button',{attrs:{"icon":_vm.toggleBtn,"size":"mini","type":"default"},on:{"click":_vm.toggleTree}}):_vm._e(),_c('el-pagination',{attrs:{"small":"","current-page":_vm.pagination.page,"page-sizes":[10, 20, 50, 100],"page-size":_vm.pagination.pageSize,"layout":"total, sizes, prev, pager, next, jumper","total":_vm.total},on:{"size-change":_vm.handleSizeChange,"current-change":_vm.handleCurrentChange}})],1):_vm._e()],1)],1)],1),_c('span',{staticClass:"dialog-footer",staticStyle:{"text-align":"center"},attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.dialogConfirm}},[_vm._v("\n 确认\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.dialogCancel}},[_vm._v("取 消")])],1)],1),_c('el-dialog',{attrs:{"title":"动态传入参数查询","width":"500px","visible":_vm.dialogVisible,"before-close":_vm.handleClose,"close-on-click-modal":false,"top":"6vh"},on:{"update:visible":function($event){_vm.dialogVisible=$event}}},[_c('table',{staticClass:"form-table",staticStyle:{"margin-left":"20px","width":"90%"},attrs:{"cellspacing":"0","cellpadding":"0","border":"0"}},_vm._l((_vm.conditionfieldTree),function(item,$index){return _c('tbody',{key:$index},[(item.defaultType == '4')?_c('tr',[_c('th',{attrs:{"width":"130px"}},[_vm._v(_vm._s(item.comment)+":")]),_c('td',[(item.type != 'date')?_c('ht-input',{staticStyle:{"width":"100%"},attrs:{"type":"text","placeholder":'请输入' + item.comment,"autocomplete":"off"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e(),(item.type == 'date')?_c('ht-date',{staticStyle:{"width":"100%"},attrs:{"placeholder":'请输入' + item.comment,"format":"yyyy-MM-dd"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e()],1)]):_vm._e()])}),0),_c('div',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"type":"primary"},on:{"click":_vm.handleSave}},[_vm._v("确 定")]),_c('el-button',{on:{"click":_vm.handleClose}},[_vm._v("取 消")])],1)]),_c('el-dialog',{attrs:{"visible":_vm.customDialogShowTree,"title":_vm.customDialog.name,"close-on-click-modal":false,"before-close":_vm.dialogCancelTree,"append-to-body":"","top":"6vh","width":"500px"},on:{"update:visible":function($event){_vm.customDialogShowTree=$event}}},[_c('el-container',{staticStyle:{"overflow":"auto"},style:(_vm.style)},[_c('el-tree',{ref:"tree",staticStyle:{"width":"100%"},attrs:{"data":_vm.props1,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","show-checkbox":_vm.customDialog.selectNum === -1,"check-on-click-node":true,"check-strictly":false,"lazy":"","load":_vm.loadTree,"default-expanded-keys":_vm.defaultExpandedKeys},on:{"node-click":_vm.treeClick,"check-change":_vm.getChecked}})],1),_c('span',{staticClass:"dialog-footer",staticStyle:{"text-align":"center"},attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.dialogTreeConfirm}},[_vm._v("\n 确认\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.dialogCancelTree}},[_vm._v("取 消")])],1)],1)],1)}
23753
+ var customDialogvue_type_template_id_3e2f487c_scoped_true_staticRenderFns = []
23754
+
23755
+
23756
+ // CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=3e2f487c&scoped=true&
23708
23757
 
23709
23758
  // EXTERNAL MODULE: external "jquery"
23710
23759
  var external_jquery_ = __webpack_require__("c5e1");
@@ -24013,6 +24062,139 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24013
24062
  //
24014
24063
  //
24015
24064
  //
24065
+ //
24066
+ //
24067
+ //
24068
+ //
24069
+ //
24070
+ //
24071
+ //
24072
+ //
24073
+ //
24074
+ //
24075
+ //
24076
+ //
24077
+ //
24078
+ //
24079
+ //
24080
+ //
24081
+ //
24082
+ //
24083
+ //
24084
+ //
24085
+ //
24086
+ //
24087
+ //
24088
+ //
24089
+ //
24090
+ //
24091
+ //
24092
+ //
24093
+ //
24094
+ //
24095
+ //
24096
+ //
24097
+ //
24098
+ //
24099
+ //
24100
+ //
24101
+ //
24102
+ //
24103
+ //
24104
+ //
24105
+ //
24106
+ //
24107
+ //
24108
+ //
24109
+ //
24110
+ //
24111
+ //
24112
+ //
24113
+ //
24114
+ //
24115
+ //
24116
+ //
24117
+ //
24118
+ //
24119
+ //
24120
+ //
24121
+ //
24122
+ //
24123
+ //
24124
+ //
24125
+ //
24126
+ //
24127
+ //
24128
+ //
24129
+ //
24130
+ //
24131
+ //
24132
+ //
24133
+ //
24134
+ //
24135
+ //
24136
+ //
24137
+ //
24138
+ //
24139
+ //
24140
+ //
24141
+ //
24142
+ //
24143
+ //
24144
+ //
24145
+ //
24146
+ //
24147
+ //
24148
+ //
24149
+ //
24150
+ //
24151
+ //
24152
+ //
24153
+ //
24154
+ //
24155
+ //
24156
+ //
24157
+ //
24158
+ //
24159
+ //
24160
+ //
24161
+ //
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
+ //
24016
24198
 
24017
24199
 
24018
24200
 
@@ -24040,10 +24222,16 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24040
24222
  isReadOnly: {
24041
24223
  type: Boolean,
24042
24224
  default: false
24043
- }
24225
+ },
24226
+ dialogConfig: Object,
24227
+ dialogType: String
24044
24228
  },
24045
24229
  data() {
24046
24230
  return {
24231
+ startDate: '',
24232
+ // 日期控件
24233
+ endDate: '',
24234
+ // 日期控件
24047
24235
  tableHeight: 350,
24048
24236
  isEditInputShow: false,
24049
24237
  customValue: '',
@@ -24124,6 +24312,18 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24124
24312
  return [this.props1[0][this.nodeKey]];
24125
24313
  }
24126
24314
  return [];
24315
+ },
24316
+ jumpParamKey() {
24317
+ return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
24318
+ },
24319
+ // 是否保存成跳转url参数
24320
+ isHaveJumpUrl() {
24321
+ return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
24322
+ },
24323
+ sortDisplayfield() {
24324
+ return this.displayfield.sort((a, b) => {
24325
+ return a.sort > b.sort ? 1 : -1;
24326
+ });
24127
24327
  }
24128
24328
  },
24129
24329
  watch: {
@@ -24159,131 +24359,151 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24159
24359
  });
24160
24360
  },
24161
24361
  methods: {
24362
+ // 获取已选择的选择器数据id
24363
+ getSelectId(data) {
24364
+ if (!data || !data.length) {
24365
+ return '';
24366
+ }
24367
+ let ids = [];
24368
+ data.forEach(item => {
24369
+ ids.push(item.id);
24370
+ });
24371
+ return ids.join(',');
24372
+ },
24162
24373
  showDialog() {
24163
24374
  let isMounted = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
24164
- const this_ = this;
24165
24375
  this.fixedParams = {};
24376
+ // 如果已存在配置信息就不去请求配置信息 直接初始化数据
24377
+ if (this.dialogConfig) {
24378
+ this.initDialog(this.dialogConfig, isMounted);
24379
+ return;
24380
+ }
24166
24381
  var alias = this.custdialog.custDialog.alias;
24167
24382
  this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
24168
- if (!customDialog || !customDialog.alias) {
24169
- this.$message.error('对话框别名【' + alias + '】不存在!');
24170
- return;
24171
- }
24172
- if (customDialog.style == 1) {
24173
- var displaylist = JSON.parse(customDialog.displayfield);
24174
- this_.nodeKey = displaylist.id;
24175
- }
24176
- if (customDialog.needPage && customDialog.requestType === 'POST') {
24177
- let obj = {};
24178
- this.getLastKeyByPath(obj, customDialog.pageKey, 1);
24179
- this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
24180
- this.getLastKeyByPath(obj, customDialog.totalKey, true);
24181
- const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
24182
- if (exp) {
24183
- const params = JSON.parse(exp);
24184
- if (params.pageBean) {
24185
- this.pagination = {
24186
- ...params.pageBean
24187
- };
24188
- }
24383
+ this.initDialog(customDialog, isMounted);
24384
+ });
24385
+ },
24386
+ initDialog(customDialog, isMounted) {
24387
+ let alias = this.custdialog.custDialog.alias;
24388
+ const this_ = this;
24389
+ if (!customDialog || !customDialog.alias) {
24390
+ this.$message.error('对话框别名【' + alias + '】不存在!');
24391
+ return;
24392
+ }
24393
+ if (customDialog.style == 1) {
24394
+ var displaylist = JSON.parse(customDialog.displayfield);
24395
+ this_.nodeKey = displaylist.id;
24396
+ }
24397
+ if (customDialog.needPage && customDialog.requestType === 'POST') {
24398
+ let obj = {};
24399
+ this.getLastKeyByPath(obj, customDialog.pageKey, 1);
24400
+ this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
24401
+ this.getLastKeyByPath(obj, customDialog.totalKey, true);
24402
+ const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
24403
+ if (exp) {
24404
+ const params = JSON.parse(exp);
24405
+ if (params.pageBean) {
24406
+ this.pagination = {
24407
+ ...params.pageBean
24408
+ };
24189
24409
  }
24190
24410
  }
24191
- //对话框按表单字段查询(参数传入的)
24192
- let bindList = this_.custdialog.custDialog.conditions;
24193
- this_.param = []; //绑定的表单字段
24194
- if (bindList.length > 0) {
24195
- bindList.forEach(ele => {
24196
- //绑定表单字段
24197
- if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
24198
- let obj = {};
24199
- obj.field = ele.field;
24200
- obj.bind = ele.bind;
24201
- obj.bindType = ele.bindType;
24202
- this_.param.push(obj);
24203
- }
24204
- //取值对象为脚本时获取value
24205
- if (ele.bindType === 3) {
24206
- this_.$requestConfig.executeScript(ele.bind).then(res => {
24207
- this_.executeScriptResult = res && res.value;
24208
- });
24209
- }
24210
- });
24211
- }
24212
- //判断对话框查询是否有条件
24213
- let userInputList = JSON.parse(customDialog.conditionfield);
24214
- this_.quickSearch = ''; //填写提示 placeholder
24215
- this_.conditionBind = [];
24216
- let queryParams = [];
24217
- let placeholders = [];
24218
- if (userInputList.length > 0) {
24219
- userInputList.forEach(ele => {
24220
- var obj = {};
24221
- //条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
24222
- if (ele.defaultType == '1') {
24223
- obj[ele.field] = '';
24224
- queryParams.push(obj);
24225
- // queryParams[ele.field] = "";
24226
- this_.conditionBind.push(ele);
24227
- placeholders.push('请输入' + ele.comment);
24228
- }
24229
- if (ele.defaultType == '2' && ele.defaultValue) {
24230
- this_.fixedParams[ele.field] = ele.defaultValue;
24231
- }
24232
- });
24233
- this.$set(this, 'queryParams', queryParams);
24234
- this.$set(this, 'placeholders', placeholders);
24235
- }
24236
- //判断是否显示条件查询输入框
24237
- if (this_.quickSearch != '') {
24238
- this_.querysShow = true;
24239
- } else {
24240
- this_.querysShow = true;
24241
- }
24242
- this_.quickSearch = '请输入' + this.quickSearch + '查询';
24243
- this_.style = 'height:' + customDialog.height + 'px';
24244
- if (window.screen.height && window.screen.height <= 900) {
24245
- this.style = 'height:440px';
24246
- }
24247
- if (customDialog.style == 0 || customDialog.style == 2) {
24248
- //列表
24249
- setTimeout(() => {
24250
- this_.customDialogShow({
24251
- alias: alias,
24252
- customDialog: customDialog
24253
- }, isMounted);
24254
- }, 100);
24255
- } else if (customDialog.style == 1) {
24256
- //树形
24257
- this_.pageParam = {
24411
+ }
24412
+ //对话框按表单字段查询(参数传入的)
24413
+ let bindList = this_.custdialog.custDialog.conditions;
24414
+ this_.param = []; //绑定的表单字段
24415
+ if (bindList.length > 0) {
24416
+ bindList.forEach(ele => {
24417
+ //绑定表单字段
24418
+ if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
24419
+ let obj = {};
24420
+ obj.field = ele.field;
24421
+ obj.bind = ele.bind;
24422
+ obj.bindType = ele.bindType;
24423
+ this_.param.push(obj);
24424
+ }
24425
+ //取值对象为脚本时获取value
24426
+ if (ele.bindType === 3) {
24427
+ this_.$requestConfig.executeScript(ele.bind).then(res => {
24428
+ this_.executeScriptResult = res && res.value;
24429
+ });
24430
+ }
24431
+ });
24432
+ }
24433
+ //判断对话框查询是否有条件
24434
+ let userInputList = JSON.parse(customDialog.conditionfield);
24435
+ this_.quickSearch = ''; //填写提示 placeholder
24436
+ this_.conditionBind = [];
24437
+ let queryParams = [];
24438
+ let placeholders = [];
24439
+ if (userInputList.length > 0) {
24440
+ userInputList.forEach(ele => {
24441
+ var obj = {};
24442
+ //条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
24443
+ if (ele.defaultType == '1') {
24444
+ obj[ele.field] = '';
24445
+ queryParams.push(obj);
24446
+ // queryParams[ele.field] = "";
24447
+ this_.conditionBind.push(ele);
24448
+ placeholders.push('请输入' + ele.comment);
24449
+ }
24450
+ if (ele.defaultType == '2' && ele.defaultValue) {
24451
+ this_.fixedParams[ele.field] = ele.defaultValue;
24452
+ }
24453
+ });
24454
+ this.$set(this, 'queryParams', queryParams);
24455
+ this.$set(this, 'placeholders', placeholders);
24456
+ }
24457
+ //判断是否显示条件查询输入框
24458
+ if (this_.quickSearch != '') {
24459
+ this_.querysShow = true;
24460
+ } else {
24461
+ this_.querysShow = true;
24462
+ }
24463
+ this_.quickSearch = '请输入' + this.quickSearch + '查询';
24464
+ this_.style = 'height:' + customDialog.height + 'px';
24465
+ if (window.screen.height && window.screen.height <= 900) {
24466
+ this.style = 'height:440px';
24467
+ }
24468
+ if (customDialog.style == 0 || customDialog.style == 2) {
24469
+ //列表
24470
+ setTimeout(() => {
24471
+ this_.customDialogShow({
24258
24472
  alias: alias,
24259
24473
  customDialog: customDialog
24260
- };
24261
- this_.customDialog = customDialog;
24262
- let param = {};
24263
- this_.conditionfieldTree = [];
24264
- //判断是否存在条件
24265
- if (customDialog.conditionfield) {
24266
- this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
24267
- if (this_.conditionfieldTree.length > 0) {
24268
- for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
24269
- //判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值
24270
- if (this_.conditionfieldTree[i].defaultType == '4') {
24271
- param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
24272
- }
24474
+ }, isMounted);
24475
+ }, 100);
24476
+ } else if (customDialog.style == 1) {
24477
+ //树形
24478
+ this_.pageParam = {
24479
+ alias: alias,
24480
+ customDialog: customDialog
24481
+ };
24482
+ this_.customDialog = customDialog;
24483
+ let param = {};
24484
+ this_.conditionfieldTree = [];
24485
+ //判断是否存在条件
24486
+ if (customDialog.conditionfield) {
24487
+ this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
24488
+ if (this_.conditionfieldTree.length > 0) {
24489
+ for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
24490
+ //判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
24491
+ if (this_.conditionfieldTree[i].defaultType == '4') {
24492
+ param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
24273
24493
  }
24274
24494
  }
24275
24495
  }
24276
- //有动态传入的字段
24277
- if (!isMounted) {
24278
- if (JSON.stringify(param) != '{}') {
24279
- this_.dialogVisible = true;
24280
- } else {
24281
- //无动态传入的字段
24282
- this_.customDialogTreeShow(this_.pageParam);
24283
- }
24496
+ }
24497
+ //有动态传入的字段
24498
+ if (!isMounted) {
24499
+ if (JSON.stringify(param) != '{}') {
24500
+ this_.dialogVisible = true;
24501
+ } else {
24502
+ //无动态传入的字段
24503
+ this_.customDialogTreeShow(this_.pageParam);
24284
24504
  }
24285
24505
  }
24286
- });
24506
+ }
24287
24507
  },
24288
24508
  initTableHeight() {
24289
24509
  this.$nextTick(() => {
@@ -24412,13 +24632,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24412
24632
  }
24413
24633
  // 添加用户id 岗位id 组织id
24414
24634
  try {
24415
- if (this.$requestConfig.getUserId()) {
24635
+ if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
24416
24636
  ctx.userId = this.$requestConfig.getUserId();
24417
24637
  }
24418
- if (this.$requestConfig.getOrgId()) {
24638
+ if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
24419
24639
  ctx.orgId = this.$requestConfig.getOrgId();
24420
24640
  }
24421
- if (this.$requestConfig.getPostId()) {
24641
+ if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
24422
24642
  ctx.postId = this.$requestConfig.getPostId();
24423
24643
  }
24424
24644
  } catch (e) {
@@ -24503,8 +24723,19 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24503
24723
  this.selectOrgs = this.convertComment2Field(str, field);
24504
24724
  this.custdialog.custDialog.mappingConf.forEach(con => {
24505
24725
  var val = '';
24506
- str.forEach(item => {
24507
- val += item[con.from] + ',';
24726
+ str.forEach((item, index) => {
24727
+ // 此处添加url跳转参数保存逻辑
24728
+ if (this.jumpParamKey && this.isHaveJumpUrl && (this.modelName == 'data.' + con['target'][0] || this.modelName.includes('item.') && con['target'][0].endsWith(this.modelName.split('.')[1]))) {
24729
+ let jumpParamKey = this.jumpParamKey;
24730
+ let jumpParamValue = this.jumpParamKey;
24731
+ if (this.jumpParamKey.includes(':')) {
24732
+ jumpParamKey = this.jumpParamKey.split(':')[0];
24733
+ jumpParamValue = this.jumpParamKey.split(':')[1];
24734
+ }
24735
+ val += `${item[con.from]}¯${jumpParamKey}:${this.selectOrgs[index][jumpParamValue]},`;
24736
+ } else {
24737
+ val += item[con.from] + ',';
24738
+ }
24508
24739
  });
24509
24740
  if (this.modelName == 'data.' + con['target'][0]) {
24510
24741
  utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
@@ -24575,19 +24806,36 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24575
24806
  };
24576
24807
  }
24577
24808
  //用户输入的
24809
+ let flag = false;
24578
24810
  if (this.queryParams.length != 0 && this.queryParams[0] != '') {
24579
24811
  this.conditionBind.forEach((item, index) => {
24812
+ // 日期范围特殊处理
24813
+ if (item.dbType == 'date' && item.condition == 'BETWEEN') {
24814
+ if (this.queryParams[index].startDate && !this.queryParams[index].endDate || !this.queryParams[index].startDate && this.queryParams[index].endDate) {
24815
+ flag = true;
24816
+ this.$message.info('日期范围未填写完整!');
24817
+ return;
24818
+ }
24819
+ if (this.queryParams[index].startDate && this.queryParams[index].endDate) {
24820
+ this.queryParams[index][item.field] = `${this.queryParams[index].startDate},${this.queryParams[index].endDate}`;
24821
+ } else {
24822
+ this.queryParams[index][item.field] = '';
24823
+ }
24824
+ }
24580
24825
  if (this.queryParams[index][item.field]) {
24581
24826
  querys.push({
24582
24827
  property: item.field,
24583
24828
  value: this.queryParams[index][item.field],
24584
24829
  group: 'main',
24585
- operation: 'LIKE',
24830
+ operation: item.condition,
24586
24831
  relation: 'AND'
24587
24832
  });
24588
24833
  }
24589
24834
  });
24590
24835
  }
24836
+ if (flag) {
24837
+ return;
24838
+ }
24591
24839
  //参数传入的查询拼接
24592
24840
  if (this.param) {
24593
24841
  this.param.forEach(item => {
@@ -24626,13 +24874,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24626
24874
  queryParamMap.total = pageBean.pageBean.total;
24627
24875
  // 添加用户id 岗位id 组织id
24628
24876
  try {
24629
- if (this.$requestConfig.getUserId()) {
24877
+ if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
24630
24878
  ctx.userId = this.$requestConfig.getUserId();
24631
24879
  }
24632
- if (this.$requestConfig.getOrgId()) {
24880
+ if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
24633
24881
  ctx.orgId = this.$requestConfig.getOrgId();
24634
24882
  }
24635
- if (this.$requestConfig.getPostId()) {
24883
+ if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
24636
24884
  ctx.postId = this.$requestConfig.getPostId();
24637
24885
  }
24638
24886
  } catch (e) {
@@ -24653,12 +24901,14 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24653
24901
  value: queryParamMap[bindKey] || ctx[bindKey] || ''
24654
24902
  };
24655
24903
  });
24656
- param.querys = queryList;
24904
+ param.querys = queryList || [];
24657
24905
  if (this.customDialog.needPage) {
24658
24906
  param.pageBean = obj;
24659
24907
  } else {
24660
24908
  param.pageBean.pageSize = -1;
24661
24909
  }
24910
+ // 日期格式的 改成数组
24911
+ // this.changeDateFormat(param)
24662
24912
  //构造请求的参数
24663
24913
  let requestParam = {
24664
24914
  pageBean: param,
@@ -24698,6 +24948,15 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24698
24948
  }
24699
24949
  this.tableRadioVal = '';
24700
24950
  },
24951
+ changeDateFormat(param) {
24952
+ let dateValidate1 = /^\d{4}\-\d{2}\-\d{2}$/;
24953
+ let dateValidate2 = /^([1-2][0-9][0-9][0-9]-[0-1]{0,1}[0-9]-[0-3]{0,1}[0-9])\s(20|21|22|23|[0-1]\d):[0-5]\d:[0-5]\d$/;
24954
+ Object.keys(param).forEach(key => {
24955
+ if (param[key] && typeof param[key] == 'string' && param[key].includes(',') && (dateValidate1.test(param[key].split(',')[0]) || dateValidate2.test(param[key].split(',')[0]))) {
24956
+ param[key] = param[key].split(',');
24957
+ }
24958
+ });
24959
+ },
24701
24960
  getSearchValueByKey() {
24702
24961
  let queryParamsObj = {};
24703
24962
  if (this.queryParams.length > 0) {
@@ -24923,6 +25182,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24923
25182
  },
24924
25183
  // 同步选择结果
24925
25184
  syncInputValue() {
25185
+ // 对话框跳转url需要两个参数 1当前控件绑定的对象参数modelName 2对话框配置中配置的key名称
25186
+ // 同步值时,如果有绑定url跳转参数,值格式为 名称¯跳转key:跳转value
24926
25187
  let thisIndex = null; //当前数据所在下标
24927
25188
  let parentIndex = null; //父节点所在下标
24928
25189
  if (this.$parent.$el) {
@@ -24996,13 +25257,39 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
24996
25257
  }
24997
25258
  }
24998
25259
  }
25260
+ // 如果是查询中使用的对话框
25261
+ if (this.dialogType == 'search') {
25262
+ let returnVal = [];
25263
+ str.forEach(item => {
25264
+ returnVal.push(decodeURIComponent(item[this.modelName]));
25265
+ });
25266
+ this.$emit('updateInput', returnVal.join(','));
25267
+ return;
25268
+ }
24999
25269
  const pInst = utils["a" /* default */].getOnlineFormInstance(this);
25000
25270
  this.custdialog.custDialog.mappingConf.forEach(con => {
25001
25271
  var val = '';
25002
25272
  var from = con.from.toLowerCase();
25003
25273
  str.forEach(item => {
25274
+ // 如果有绑定url跳转参数 需获取跳转参数的key
25004
25275
  if (item) {
25005
- val += decodeURIComponent(item[from]) + ',';
25276
+ if (this.jumpParamKey && this.isHaveJumpUrl && (this.modelName == 'data.' + con['target'][0] || this.modelName.includes('item.') && con['target'][0].endsWith(this.modelName.split('.')[1]))) {
25277
+ // 如果有冒号 冒号前面是传值key 后面是取值key
25278
+ let jumpParamKey = this.jumpParamKey;
25279
+ let jumpParamValue = this.jumpParamKey;
25280
+ if (this.jumpParamKey.includes(':')) {
25281
+ jumpParamKey = this.jumpParamKey.split(':')[0];
25282
+ jumpParamValue = this.jumpParamKey.split(':')[1];
25283
+ }
25284
+ // 需根据key 找到对应 返回数据的返回名称
25285
+ let returnMap = returnStr.find(k => {
25286
+ return k.field.toLowerCase() == jumpParamValue.toLowerCase();
25287
+ });
25288
+ let returnMapKey = returnMap ? returnMap.comment : '';
25289
+ val += `${decodeURIComponent(item[from])}¯${jumpParamKey}:${decodeURIComponent(item[returnMapKey])},`;
25290
+ } else {
25291
+ val += decodeURIComponent(item[from]) + ',';
25292
+ }
25006
25293
  }
25007
25294
  });
25008
25295
  if (this.modelName == 'data.' + con['target'][0]) {
@@ -25021,7 +25308,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
25021
25308
  const _val = val.substring(0, val.length - 1);
25022
25309
  if (path) {
25023
25310
  if (this.modelName && this.modelName.endsWith(path)) {
25024
- // this.$emit('input', _val)
25025
25311
  this.$emit('updateInput', _val);
25026
25312
  }
25027
25313
  utils["a" /* default */].setValueByPath(pInst, `${pInst.data ? 'data.' : 'model.'}${path}`, _val, thisIndex);
@@ -25253,8 +25539,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
25253
25539
  });
25254
25540
  // CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=script&lang=js&
25255
25541
  /* harmony default export */ var src_customDialogvue_type_script_lang_js_ = (customDialogvue_type_script_lang_js_);
25256
- // EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=3a57945e&prod&lang=scss&scoped=true&
25257
- var customDialogvue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true_ = __webpack_require__("7ff9");
25542
+ // EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=3e2f487c&prod&lang=scss&scoped=true&
25543
+ var customDialogvue_type_style_index_0_id_3e2f487c_prod_lang_scss_scoped_true_ = __webpack_require__("aeed");
25258
25544
 
25259
25545
  // CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue
25260
25546
 
@@ -25267,31 +25553,47 @@ var customDialogvue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true_ =
25267
25553
 
25268
25554
  var customDialog_component = normalizeComponent(
25269
25555
  src_customDialogvue_type_script_lang_js_,
25270
- customDialogvue_type_template_id_3a57945e_scoped_true_render,
25271
- customDialogvue_type_template_id_3a57945e_scoped_true_staticRenderFns,
25556
+ customDialogvue_type_template_id_3e2f487c_scoped_true_render,
25557
+ customDialogvue_type_template_id_3e2f487c_scoped_true_staticRenderFns,
25272
25558
  false,
25273
25559
  null,
25274
- "3a57945e",
25560
+ "3e2f487c",
25275
25561
  null
25276
25562
 
25277
25563
  )
25278
25564
 
25279
25565
  /* harmony default export */ var CustomDialog_src_customDialog = (customDialog_component.exports);
25280
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=1661eebb&scoped=true&
25281
- var customMobileDialogvue_type_template_id_1661eebb_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('van-action-sheet',{staticClass:"mobile-van-action min-height-action",attrs:{"cancel-text":_vm.sureButtonText,"get-container":"body"},on:{"cancel":_vm.handleDialogSure,"click-overlay":_vm.dialogCancel,"opened":_vm.afterOpen},scopedSlots:_vm._u([{key:"description",fn:function(){return [_c('span',{staticClass:"dialog-mobile__title"},[_vm._v(_vm._s(_vm.customDialog.name))]),_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":_vm.dialogCancel}})]},proxy:true}]),model:{value:(_vm.customDialogShowList),callback:function ($$v) {_vm.customDialogShowList=$$v},expression:"customDialogShowList"}},[[_c('div',{staticClass:"search-box"},[_c('ht-icon',{staticClass:"unfold-icon",attrs:{"scale":"1.2","name":_vm.isShowMoreSearch ? 'upFold' : 'downUnfold'},on:{"click":function($event){_vm.isShowMoreSearch = !_vm.isShowMoreSearch}}}),_vm._l((_vm.conditionBind),function(condition,index){return _c('div',{directives:[{name:"show",rawName:"v-show",value:(index === 0 || (index > 0 && _vm.isShowMoreSearch)),expression:"index === 0 || (index > 0 && isShowMoreSearch)"}],key:index,staticClass:"search-item"},[_c('p',[_vm._v(_vm._s(condition.comment)+":")]),(condition.controllerType == '1')?_c('div',[_c('el-input',{attrs:{"size":"small","clearable":"","placeholder":_vm.placeholders[index]},on:{"change":_vm.searchInputChange},nativeOn:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.hideSearch($event)}},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '2')?_c('div',{staticStyle:{"margin-right":"10px"}},_vm._l((condition.config.options),function(itemR,$index1){return _c('el-radio',{key:$index1,attrs:{"label":itemR.key},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}},[_vm._v("\n "+_vm._s(itemR.value)+"\n ")])}),1):_vm._e(),(condition.controllerType == '3')?_c('div',{staticStyle:{"margin-right":"10px"}},[(condition.config.choiceType == 'static')?_c('ht-select',{attrs:{"options":condition.config.options},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}}):_c('eip-select-dia',{attrs:{"ganged":{
25282
- alias: condition.config.customQuery.alias,
25283
- valueBind: condition.config.customQuery.valueBind,
25284
- noInit: '',
25285
- labelBind: condition.config.customQuery.labelBind,
25286
- gangedBind: '{}',
25287
- bind: condition.config.bind,
25288
- },"multiple":false,"filterable":false,"allow-create":false,"selectlist":[],"query-params":_vm.queryParams},model:{value:(_vm.queryParams[condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams, condition.field, $$v)},expression:"queryParams[condition.field]"}})],1):_vm._e(),(condition.controllerType == '4')?_c('div',{staticStyle:{"margin-right":"10px"}},[_c('eip-tag',{attrs:{"tag-key":condition.config.tag,"placeholder":_vm.quickSearch,"filterable":condition.config.filterable,"expand":condition.config.expand},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e()])}),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isShowMoreSearch),expression:"isShowMoreSearch"}],staticClass:"search-btns"},[_c('el-button',{staticStyle:{"margin-left":"20px"},attrs:{"size":"small","type":"primary"},on:{"click":_vm.hideSearch}},[_vm._v("\n 搜索\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.reset}},[_vm._v("重置")])],1)],2)],(_vm.customDialog.style == 2)?_c('van-popover',{staticClass:"custom-dialog-popover",attrs:{"trigger":"click"},scopedSlots:_vm._u([{key:"reference",fn:function(){return [_c('div',{staticClass:"mobile-tree-select"},[(_vm.treeSelectText)?_c('span',{staticClass:"active-text"},[_vm._v("\n "+_vm._s(_vm.treeSelectText)+"\n ")]):_c('span',[_vm._v("请选择"+_vm._s(_vm.leftTreeTitle))]),(_vm.treeSelectText)?_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":function($event){$event.stopPropagation();return _vm.clearTreeSelect($event)}}}):_vm._e()],1)]},proxy:true}],null,false,3189508719),model:{value:(_vm.isSelectTreeShow),callback:function ($$v) {_vm.isSelectTreeShow=$$v},expression:"isSelectTreeShow"}},[_c('div',{staticClass:"custom-dialog-popover_content"},[_c('el-tree',{ref:"combinationTree",attrs:{"data":_vm.combinationTreeData,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","check-on-click-node":true},on:{"node-click":_vm.combiTreeClick}})],1)]):_vm._e(),_c('van-pull-refresh',{on:{"refresh":_vm.onRefresh},model:{value:(_vm.isDownLoading),callback:function ($$v) {_vm.isDownLoading=$$v},expression:"isDownLoading"}},[_c('van-list',{attrs:{"finished":_vm.finished,"finished-text":"没有更多了","offset":20,"immediate-check":false},on:{"load":_vm.loadMore},model:{value:(_vm.isPullLoading),callback:function ($$v) {_vm.isPullLoading=$$v},expression:"isPullLoading"}},_vm._l((_vm.dialogData),function(item,index){return _c('van-cell',{key:index,attrs:{"clickable":""},scopedSlots:_vm._u([{key:"icon",fn:function(){return [_c('van-checkbox',{attrs:{"value":_vm.indexArray(_vm.selectIds, item) > -1,"shape":_vm.customDialog.selectNum === 1 ? 'round' : 'square'},on:{"click":function($event){return _vm.checkboxChange(item)}}})]},proxy:true}],null,true)},[_c('div',{staticClass:"custom-mobile_box"},_vm._l((_vm.displayfield),function(field){return _c('div',{key:field.field,staticClass:"custom-mobile_box_item"},[_c('label',[_vm._v(_vm._s(field.comment)+":")]),_c('div',[_vm._v(_vm._s(item[field.field]))])])}),0)])}),1)],1)],2),_c('van-action-sheet',{staticClass:"mobile-van-action",attrs:{"cancel-text":_vm.sureButtonText,"get-container":"body"},on:{"cancel":_vm.handleSave},scopedSlots:_vm._u([{key:"description",fn:function(){return [_c('span',{staticClass:"dialog-mobile__title"},[_vm._v("动态传入参数查询")]),_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":function($event){_vm.dialogVisible = false}}})]},proxy:true}]),model:{value:(_vm.dialogVisible),callback:function ($$v) {_vm.dialogVisible=$$v},expression:"dialogVisible"}},[_c('van-cell-group',_vm._l((_vm.conditionfieldTree.filter(
25566
+ // 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=384dd988&scoped=true&
25567
+ var customMobileDialogvue_type_template_id_384dd988_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',_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',[(condition.config.choiceType == 'static')?_c('ht-select',{attrs:{"multiple":condition.config.multiple,"options":condition.config.options,"popper-class":"dialog-select"},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}}):_c('ht-dictionary',{attrs:{"dickey":condition.config.dic,"filterable":condition.config.filterable,"popper-class":"dialog-select"},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 == '4')?_c('div',[_c('eip-tag',{attrs:{"tag-key":condition.config.tag,"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(),(condition.controllerType == '6')?_c('div',[(condition.condition == 'BETWEEN')?_c('div',{staticStyle:{"display":"flex","align-items":"center"}},[_c('ht-input',{attrs:{"placeholder":"开始日期","readonly":""},nativeOn:{"click":function($event){return _vm.showDate(index, 'startDate')}},model:{value:(_vm.queryParams[index].startDate),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "startDate", $$v)},expression:"queryParams[index].startDate"}}),_c('span',{staticStyle:{"margin":"0 10px"}},[_vm._v("至")]),_c('ht-input',{attrs:{"placeholder":"结束日期","readonly":""},nativeOn:{"click":function($event){return _vm.showDate(index, 'endDate')}},model:{value:(_vm.queryParams[index].endDate),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "endDate", $$v)},expression:"queryParams[index].endDate"}})],1):_c('ht-input',{attrs:{"readonly":""},nativeOn:{"click":function($event){return _vm.showDate(index, condition.field)}},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 == '7')?_c('div',[(condition.config.alias == 'user')?_c('ht-user-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
25568
+ _vm.queryParams[index][condition.field] = _vm.getSelectId(data)
25569
+ }}}):_vm._e(),(condition.config.alias == 'org')?_c('ht-org-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
25570
+ _vm.queryParams[index][condition.field] = _vm.getSelectId(data)
25571
+ }}}):_vm._e(),(condition.config.alias == 'role')?_c('ht-role-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
25572
+ _vm.queryParams[index][condition.field] = _vm.getSelectId(data)
25573
+ }}}):_vm._e(),(condition.config.alias == 'job')?_c('ht-job-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
25574
+ _vm.queryParams[index][condition.field] = _vm.getSelectId(data)
25575
+ }}}):_vm._e(),(condition.config.alias == 'post')?_c('ht-post-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
25576
+ _vm.queryParams[index][condition.field] = _vm.getSelectId(data)
25577
+ }}}):_vm._e(),(condition.config.alias == 'dimension')?_c('ht-dimension-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
25578
+ _vm.queryParams[index][condition.field] = _vm.getSelectId(data)
25579
+ }}}):_vm._e()],1):_vm._e(),(condition.controllerType == '5')?_c('div',[_c('ht-custom-dialog',{attrs:{"model-name":condition.config.keyBind,"dialogType":"search","custdialog":{
25580
+ name: '请选择',
25581
+ icon: '',
25582
+ custDialog: {
25583
+ selectNum: 1,
25584
+ conditions: [],
25585
+ mappingConf: [],
25586
+ custQueryJson: [],
25587
+ alias: condition.config.alias,
25588
+ type: 'custDialog',
25589
+ },
25590
+ }},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e()])}),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isShowMoreSearch),expression:"isShowMoreSearch"}],staticClass:"search-btns"},[_c('el-button',{staticStyle:{"margin-left":"20px"},attrs:{"size":"small","type":"primary"},on:{"click":_vm.hideSearch}},[_vm._v("\n 搜索\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.reset}},[_vm._v("重置")])],1)],2)],(_vm.customDialog.style == 2)?_c('van-popover',{staticClass:"custom-dialog-popover",attrs:{"trigger":"click"},scopedSlots:_vm._u([{key:"reference",fn:function(){return [_c('div',{staticClass:"mobile-tree-select"},[(_vm.treeSelectText)?_c('span',{staticClass:"active-text"},[_vm._v("\n "+_vm._s(_vm.treeSelectText)+"\n ")]):_c('span',[_vm._v("请选择"+_vm._s(_vm.leftTreeTitle))]),(_vm.treeSelectText)?_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":function($event){$event.stopPropagation();return _vm.clearTreeSelect($event)}}}):_vm._e()],1)]},proxy:true}],null,false,3189508719),model:{value:(_vm.isSelectTreeShow),callback:function ($$v) {_vm.isSelectTreeShow=$$v},expression:"isSelectTreeShow"}},[_c('div',{staticClass:"custom-dialog-popover_content"},[_c('el-tree',{ref:"combinationTree",attrs:{"data":_vm.combinationTreeData,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","check-on-click-node":true},on:{"node-click":_vm.combiTreeClick}})],1)]):_vm._e(),_c('van-pull-refresh',{on:{"refresh":_vm.onRefresh},model:{value:(_vm.isDownLoading),callback:function ($$v) {_vm.isDownLoading=$$v},expression:"isDownLoading"}},[_c('van-list',{attrs:{"finished":_vm.finished,"finished-text":"没有更多了","offset":20,"immediate-check":false},on:{"load":_vm.loadMore},model:{value:(_vm.isPullLoading),callback:function ($$v) {_vm.isPullLoading=$$v},expression:"isPullLoading"}},_vm._l((_vm.dialogData),function(item,index){return _c('van-cell',{key:index,attrs:{"clickable":""},scopedSlots:_vm._u([{key:"icon",fn:function(){return [_c('van-checkbox',{attrs:{"value":_vm.indexArray(_vm.selectIds, item) > -1,"shape":_vm.customDialog.selectNum === 1 ? 'round' : 'square'},on:{"click":function($event){return _vm.checkboxChange(item)}}})]},proxy:true}],null,true)},[_c('div',{staticClass:"custom-mobile_box"},_vm._l((_vm.sortDisplayfield),function(field){return _c('div',{key:field.field,staticClass:"custom-mobile_box_item"},[_c('label',[_vm._v(_vm._s(field.comment)+":")]),_c('div',[_vm._v(_vm._s(item[field.field]))])])}),0)])}),1)],1)],2),_c('van-action-sheet',{staticClass:"mobile-van-action",attrs:{"cancel-text":_vm.sureButtonText,"get-container":"body"},on:{"cancel":_vm.handleSave},scopedSlots:_vm._u([{key:"description",fn:function(){return [_c('span',{staticClass:"dialog-mobile__title"},[_vm._v("动态传入参数查询")]),_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":function($event){_vm.dialogVisible = false}}})]},proxy:true}]),model:{value:(_vm.dialogVisible),callback:function ($$v) {_vm.dialogVisible=$$v},expression:"dialogVisible"}},[_c('van-cell-group',_vm._l((_vm.conditionfieldTree.filter(
25289
25591
  function (k) { return k.defaultType == '4'; }
25290
- )),function(item,$index){return _c('div',{key:$index},[(item.type != 'date')?_c('van-field',{attrs:{"label":item.comment,"placeholder":'请输入' + item.comment},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e(),(item.type == 'date')?_c('ht-date',{staticStyle:{"width":"100%"},attrs:{"placeholder":'请选择' + item.comment,"format":"yyyy-MM-dd"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e()],1)}),0)],1),_c('van-action-sheet',{staticClass:"mobile-van-action",attrs:{"cancel-text":_vm.sureButtonText,"get-container":"body"},on:{"cancel":_vm.dialogTreeConfirm},scopedSlots:_vm._u([{key:"description",fn:function(){return [_c('span',{staticClass:"dialog-mobile__title"},[_vm._v(_vm._s(_vm.customDialog.name))]),_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":_vm.dialogCancelTree}})]},proxy:true}]),model:{value:(_vm.customDialogShowTree),callback:function ($$v) {_vm.customDialogShowTree=$$v},expression:"customDialogShowTree"}},[_c('el-tree',{ref:"tree",staticStyle:{"width":"100%"},attrs:{"data":_vm.props1,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","show-checkbox":_vm.customDialog.selectNum === -1,"check-on-click-node":true,"check-strictly":false,"lazy":"","load":_vm.loadTree,"default-expanded-keys":_vm.defaultExpandedKeys},on:{"node-click":_vm.treeClick,"check-change":_vm.getChecked}})],1)],1)}
25291
- var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns = []
25592
+ )),function(item,$index){return _c('div',{key:$index},[(item.type != 'date')?_c('van-field',{attrs:{"label":item.comment,"placeholder":'请输入' + item.comment},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e(),(item.type == 'date')?_c('ht-date',{staticStyle:{"width":"100%"},attrs:{"placeholder":'请选择' + item.comment,"format":"yyyy-MM-dd"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e()],1)}),0)],1),_c('van-action-sheet',{staticClass:"mobile-van-action",attrs:{"cancel-text":_vm.sureButtonText,"get-container":"body"},on:{"cancel":_vm.dialogTreeConfirm},scopedSlots:_vm._u([{key:"description",fn:function(){return [_c('span',{staticClass:"dialog-mobile__title"},[_vm._v(_vm._s(_vm.customDialog.name))]),_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":_vm.dialogCancelTree}})]},proxy:true}]),model:{value:(_vm.customDialogShowTree),callback:function ($$v) {_vm.customDialogShowTree=$$v},expression:"customDialogShowTree"}},[_c('el-tree',{ref:"tree",staticStyle:{"width":"100%"},attrs:{"data":_vm.props1,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","show-checkbox":_vm.customDialog.selectNum === -1,"check-on-click-node":true,"check-strictly":false,"lazy":"","load":_vm.loadTree,"default-expanded-keys":_vm.defaultExpandedKeys},on:{"node-click":_vm.treeClick,"check-change":_vm.getChecked}})],1),(_vm.isShowDatePop)?_c('van-popup',{attrs:{"position":"bottom","round":""},model:{value:(_vm.isShowDatePop),callback:function ($$v) {_vm.isShowDatePop=$$v},expression:"isShowDatePop"}},[_c('van-datetime-picker',{attrs:{"type":_vm.dateType,"title":"选择日期","show-toolbar":true},on:{"cancel":function($event){_vm.isShowDatePop = false},"confirm":_vm.confirmFn},model:{value:(_vm.currentDate),callback:function ($$v) {_vm.currentDate=$$v},expression:"currentDate"}})],1):_vm._e()],1)}
25593
+ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns = []
25292
25594
 
25293
25595
 
25294
- // CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=1661eebb&scoped=true&
25596
+ // CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=384dd988&scoped=true&
25295
25597
 
25296
25598
  // 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&
25297
25599
  //
@@ -25552,6 +25854,116 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
25552
25854
  //
25553
25855
  //
25554
25856
  //
25857
+ //
25858
+ //
25859
+ //
25860
+ //
25861
+ //
25862
+ //
25863
+ //
25864
+ //
25865
+ //
25866
+ //
25867
+ //
25868
+ //
25869
+ //
25870
+ //
25871
+ //
25872
+ //
25873
+ //
25874
+ //
25875
+ //
25876
+ //
25877
+ //
25878
+ //
25879
+ //
25880
+ //
25881
+ //
25882
+ //
25883
+ //
25884
+ //
25885
+ //
25886
+ //
25887
+ //
25888
+ //
25889
+ //
25890
+ //
25891
+ //
25892
+ //
25893
+ //
25894
+ //
25895
+ //
25896
+ //
25897
+ //
25898
+ //
25899
+ //
25900
+ //
25901
+ //
25902
+ //
25903
+ //
25904
+ //
25905
+ //
25906
+ //
25907
+ //
25908
+ //
25909
+ //
25910
+ //
25911
+ //
25912
+ //
25913
+ //
25914
+ //
25915
+ //
25916
+ //
25917
+ //
25918
+ //
25919
+ //
25920
+ //
25921
+ //
25922
+ //
25923
+ //
25924
+ //
25925
+ //
25926
+ //
25927
+ //
25928
+ //
25929
+ //
25930
+ //
25931
+ //
25932
+ //
25933
+ //
25934
+ //
25935
+ //
25936
+ //
25937
+ //
25938
+ //
25939
+ //
25940
+ //
25941
+ //
25942
+ //
25943
+ //
25944
+ //
25945
+ //
25946
+ //
25947
+ //
25948
+ //
25949
+ //
25950
+ //
25951
+ //
25952
+ //
25953
+ //
25954
+ //
25955
+ //
25956
+ //
25957
+ //
25958
+ //
25959
+ //
25960
+ //
25961
+ //
25962
+ //
25963
+ //
25964
+ //
25965
+ //
25966
+ //
25555
25967
 
25556
25968
 
25557
25969
 
@@ -25573,10 +25985,17 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
25573
25985
  subIndex: Number,
25574
25986
  sunIndex: Number,
25575
25987
  subPath: String,
25576
- currentSubData: Array
25988
+ currentSubData: Array,
25989
+ dialogConfig: Object,
25990
+ dialogType: String
25577
25991
  },
25578
25992
  data() {
25579
25993
  return {
25994
+ dateType: 'date',
25995
+ currentDate: '',
25996
+ // 当前日期
25997
+ isShowDatePop: false,
25998
+ // 是否显示日期选择控件
25580
25999
  isShowMoreSearch: false,
25581
26000
  treeSelectText: '',
25582
26001
  // 组合树时选中的查询条件
@@ -25656,9 +26075,47 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
25656
26075
  sureButtonText() {
25657
26076
  const selectedText = this.selectIds.length > 0 ? `(${this.selectIds.length})` : '';
25658
26077
  return `${this.$t('ht.common.confirm')}${selectedText}`;
26078
+ },
26079
+ jumpParamKey() {
26080
+ return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
26081
+ },
26082
+ // 是否保存成跳转url参数
26083
+ isHaveJumpUrl() {
26084
+ return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
26085
+ },
26086
+ sortDisplayfield() {
26087
+ return this.displayfield.sort((a, b) => {
26088
+ return a.sort > b.sort ? 1 : -1;
26089
+ });
25659
26090
  }
25660
26091
  },
25661
26092
  methods: {
26093
+ // 获取已选择的选择器数据id
26094
+ getSelectId(data) {
26095
+ if (!data || !data.length) {
26096
+ return '';
26097
+ }
26098
+ let ids = [];
26099
+ data.forEach(item => {
26100
+ ids.push(item.id);
26101
+ });
26102
+ return ids.join(',');
26103
+ },
26104
+ showDate(index, key) {
26105
+ this.dateType = this.conditionBind[index].config.inputFormat.includes('mm:') ? 'datetime' : 'date';
26106
+ this.currentDateData = {
26107
+ index,
26108
+ key
26109
+ };
26110
+ this.currentDate = this.queryParams[index][key] ? new Date(this.queryParams[index][key].replace(/-/g, '/')) : new Date();
26111
+ this.isShowDatePop = true;
26112
+ },
26113
+ // 日期确认
26114
+ confirmFn() {
26115
+ let currentConfig = this.conditionBind[this.currentDateData.index];
26116
+ this.queryParams[this.currentDateData.index][this.currentDateData.key] = this.currentDate.format(currentConfig.config.inputFormat);
26117
+ this.isShowDatePop = false;
26118
+ },
25662
26119
  searchInputChange() {
25663
26120
  if (!this.isShowMoreSearch) {
25664
26121
  this.search(true);
@@ -25704,112 +26161,121 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
25704
26161
  this.search(true);
25705
26162
  },
25706
26163
  showDialog() {
25707
- const this_ = this;
25708
26164
  this.fixedParams = {};
26165
+ // 如果已存在配置信息就不去请求配置信息 直接初始化数据
26166
+ if (this.dialogConfig) {
26167
+ this.initDialog(this.dialogConfig);
26168
+ return;
26169
+ }
25709
26170
  var alias = this.custdialog.custDialog.alias;
25710
26171
  this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
25711
- if (!customDialog || !customDialog.alias) {
25712
- this.$message.error('对话框别名【' + alias + '】不存在!');
25713
- return;
25714
- }
25715
- if (customDialog.style == 1) {
25716
- var displaylist = JSON.parse(customDialog.displayfield);
25717
- this_.nodeKey = displaylist.id;
25718
- }
25719
- if (customDialog.needPage && customDialog.requestType === 'POST') {
25720
- let obj = {};
25721
- this.getLastKeyByPath(obj, customDialog.pageKey, 1);
25722
- this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
25723
- this.getLastKeyByPath(obj, customDialog.totalKey, true);
25724
- const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
25725
- if (exp) {
25726
- const params = JSON.parse(exp);
25727
- if (params.pageBean) {
25728
- this.pagination = {
25729
- ...params.pageBean
25730
- };
25731
- }
26172
+ this.initDialog(customDialog);
26173
+ });
26174
+ },
26175
+ initDialog(customDialog) {
26176
+ let alias = this.custdialog.custDialog.alias;
26177
+ const this_ = this;
26178
+ if (!customDialog || !customDialog.alias) {
26179
+ this.$message.error('对话框别名【' + alias + '】不存在!');
26180
+ return;
26181
+ }
26182
+ if (customDialog.style == 1) {
26183
+ var displaylist = JSON.parse(customDialog.displayfield);
26184
+ this_.nodeKey = displaylist.id;
26185
+ }
26186
+ if (customDialog.needPage && customDialog.requestType === 'POST') {
26187
+ let obj = {};
26188
+ this.getLastKeyByPath(obj, customDialog.pageKey, 1);
26189
+ this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
26190
+ this.getLastKeyByPath(obj, customDialog.totalKey, true);
26191
+ const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
26192
+ if (exp) {
26193
+ const params = JSON.parse(exp);
26194
+ if (params.pageBean) {
26195
+ this.pagination = {
26196
+ ...params.pageBean
26197
+ };
25732
26198
  }
25733
26199
  }
25734
- //对话框按表单字段查询(参数传入的)
25735
- let bindList = this_.custdialog.custDialog.conditions;
25736
- this_.param = []; //绑定的表单字段
25737
- if (bindList.length > 0) {
25738
- bindList.forEach(ele => {
25739
- //绑定表单字段
25740
- if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
25741
- let obj = {};
25742
- obj.field = ele.field;
25743
- obj.bind = ele.bind;
25744
- obj.bindType = ele.bindType;
25745
- this_.param.push(obj);
25746
- }
25747
- // bindType 1 表单字段 2固定 3脚本
25748
- if (ele.defaultType == '3' && ele.bindType === 2) {
25749
- this_.fixedParams[ele.field] = ele.bind || '';
25750
- }
25751
- });
25752
- }
26200
+ }
26201
+ //对话框按表单字段查询(参数传入的)
26202
+ let bindList = this_.custdialog.custDialog.conditions;
26203
+ this_.param = []; //绑定的表单字段
26204
+ if (bindList.length > 0) {
26205
+ bindList.forEach(ele => {
26206
+ //绑定表单字段
26207
+ if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
26208
+ let obj = {};
26209
+ obj.field = ele.field;
26210
+ obj.bind = ele.bind;
26211
+ obj.bindType = ele.bindType;
26212
+ this_.param.push(obj);
26213
+ }
26214
+ // bindType 1 表单字段 2固定 3脚本
26215
+ if (ele.defaultType == '3' && ele.bindType === 2) {
26216
+ this_.fixedParams[ele.field] = ele.bind || '';
26217
+ }
26218
+ });
26219
+ }
25753
26220
 
25754
- //判断对话框查询是否有条件
25755
- let userInputList = JSON.parse(customDialog.conditionfield);
25756
- this_.conditionBind = [];
25757
- let queryParams = [];
25758
- let placeholders = [];
25759
- if (userInputList.length > 0) {
25760
- userInputList.forEach(ele => {
25761
- var obj = {};
25762
- //条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
25763
- if (ele.defaultType == '1') {
25764
- obj[ele.field] = '';
25765
- queryParams.push(obj);
25766
- // queryParams[ele.field] = "";
25767
- this_.conditionBind.push(ele);
25768
- placeholders.push('请输入' + ele.comment);
25769
- }
25770
- if (ele.defaultType == '2' && ele.defaultValue) {
25771
- this_.fixedParams[ele.field] = ele.defaultValue;
25772
- }
25773
- });
25774
- this.$set(this, 'queryParams', queryParams);
25775
- this.$set(this, 'placeholders', placeholders);
25776
- }
25777
- if (customDialog.style == 0 || customDialog.style == 2) {
25778
- //列表
25779
- this_.customDialogShow({
25780
- alias: alias,
25781
- customDialog: customDialog
25782
- });
25783
- } else if (customDialog.style == 1) {
25784
- //树形
25785
- this_.pageParam = {
25786
- alias: alias,
25787
- customDialog: customDialog
25788
- };
25789
- this_.customDialog = customDialog;
25790
- let param = {};
25791
- this_.conditionfieldTree = [];
25792
- //判断是否存在条件
25793
- if (customDialog.conditionfield) {
25794
- this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
25795
- if (this_.conditionfieldTree.length > 0) {
25796
- for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
25797
- //判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
25798
- if (this_.conditionfieldTree[i].defaultType == '4') {
25799
- param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
25800
- }
26221
+ //判断对话框查询是否有条件
26222
+ let userInputList = JSON.parse(customDialog.conditionfield);
26223
+ this_.conditionBind = [];
26224
+ let queryParams = [];
26225
+ let placeholders = [];
26226
+ if (userInputList.length > 0) {
26227
+ userInputList.forEach(ele => {
26228
+ var obj = {};
26229
+ //条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
26230
+ if (ele.defaultType == '1') {
26231
+ obj[ele.field] = '';
26232
+ queryParams.push(obj);
26233
+ // queryParams[ele.field] = "";
26234
+ this_.conditionBind.push(ele);
26235
+ placeholders.push('请输入' + ele.comment);
26236
+ }
26237
+ if (ele.defaultType == '2' && ele.defaultValue) {
26238
+ this_.fixedParams[ele.field] = ele.defaultValue;
26239
+ }
26240
+ });
26241
+ this.$set(this, 'queryParams', queryParams);
26242
+ this.$set(this, 'placeholders', placeholders);
26243
+ }
26244
+ if (customDialog.style == 0 || customDialog.style == 2) {
26245
+ //列表
26246
+ this_.customDialogShow({
26247
+ alias: alias,
26248
+ customDialog: customDialog
26249
+ });
26250
+ } else if (customDialog.style == 1) {
26251
+ //树形
26252
+ this_.pageParam = {
26253
+ alias: alias,
26254
+ customDialog: customDialog
26255
+ };
26256
+ this_.customDialog = customDialog;
26257
+ let param = {};
26258
+ this_.conditionfieldTree = [];
26259
+ //判断是否存在条件
26260
+ if (customDialog.conditionfield) {
26261
+ this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
26262
+ if (this_.conditionfieldTree.length > 0) {
26263
+ for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
26264
+ //判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
26265
+ if (this_.conditionfieldTree[i].defaultType == '4') {
26266
+ param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
25801
26267
  }
25802
26268
  }
25803
26269
  }
25804
- //有动态传入的字段
25805
- if (JSON.stringify(param) != '{}') {
25806
- this_.dialogVisible = true;
25807
- } else {
25808
- //无动态传入的字段
25809
- this_.customDialogTreeShow(this_.pageParam);
25810
- }
25811
26270
  }
25812
- });
26271
+ //有动态传入的字段
26272
+ if (JSON.stringify(param) != '{}') {
26273
+ this_.dialogVisible = true;
26274
+ } else {
26275
+ //无动态传入的字段
26276
+ this_.customDialogTreeShow(this_.pageParam);
26277
+ }
26278
+ }
25813
26279
  },
25814
26280
  treeClick(data) {
25815
26281
  // 单选
@@ -25927,13 +26393,13 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
25927
26393
  }
25928
26394
  // 添加用户id 岗位id 组织id
25929
26395
  try {
25930
- if (this.$requestConfig.getUserId()) {
26396
+ if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
25931
26397
  ctx.userId = this.$requestConfig.getUserId();
25932
26398
  }
25933
- if (this.$requestConfig.getOrgId()) {
26399
+ if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
25934
26400
  ctx.orgId = this.$requestConfig.getOrgId();
25935
26401
  }
25936
- if (this.$requestConfig.getPostId()) {
26402
+ if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
25937
26403
  ctx.postId = this.$requestConfig.getPostId();
25938
26404
  }
25939
26405
  } catch (e) {
@@ -26018,8 +26484,20 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
26018
26484
  this.selectOrgs = this.convertComment2Field(str, field);
26019
26485
  this.custdialog.custDialog.mappingConf.forEach(con => {
26020
26486
  var val = '';
26021
- str.forEach(item => {
26022
- val += item[con.from] + ',';
26487
+ str.forEach((item, index) => {
26488
+ // 此处添加url跳转参数保存逻辑
26489
+ if (this.jumpParamKey && this.isHaveJumpUrl && (this.modelName == 'data.' + con['target'][0] || this.modelName.includes('item.') && con['target'][0].endsWith(this.modelName.split('.')[1]))) {
26490
+ // 如果有冒号 冒号前面是传值key 后面是取值key
26491
+ let jumpParamKey = this.jumpParamKey;
26492
+ let jumpParamValue = this.jumpParamKey;
26493
+ if (this.jumpParamKey.includes(':')) {
26494
+ jumpParamKey = this.jumpParamKey.split(':')[0];
26495
+ jumpParamValue = this.jumpParamKey.split(':')[1];
26496
+ }
26497
+ val += `${item[con.from]}¯${jumpParamKey}:${this.selectOrgs[index][jumpParamValue]},`;
26498
+ } else {
26499
+ val += item[con.from] + ',';
26500
+ }
26023
26501
  });
26024
26502
  if (this.modelName == 'data.' + con['target'][0]) {
26025
26503
  utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
@@ -26092,6 +26570,19 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
26092
26570
  //用户输入的
26093
26571
  if (this.queryParams.length != 0 && this.queryParams[0] != '') {
26094
26572
  this.conditionBind.forEach((item, index) => {
26573
+ // 日期范围特殊处理
26574
+ if (item.dbType == 'date' && item.condition == 'BETWEEN') {
26575
+ if (this.queryParams[index].startDate && !this.queryParams[index].endDate || !this.queryParams[index].startDate && this.queryParams[index].endDate) {
26576
+ flag = true;
26577
+ this.$message.info('日期范围未填写完整!');
26578
+ return;
26579
+ }
26580
+ if (this.queryParams[index].startDate && this.queryParams[index].endDate) {
26581
+ this.queryParams[index][item.field] = `${this.queryParams[index].startDate},${this.queryParams[index].endDate}`;
26582
+ } else {
26583
+ this.queryParams[index][item.field] = '';
26584
+ }
26585
+ }
26095
26586
  if (this.queryParams[index][item.field]) {
26096
26587
  querys.push({
26097
26588
  property: item.field,
@@ -26140,13 +26631,13 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
26140
26631
  ctx.total = pageBean.pageBean.total;
26141
26632
  // 添加用户id 岗位id 组织id
26142
26633
  try {
26143
- if (this.$requestConfig.getUserId()) {
26634
+ if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
26144
26635
  ctx.userId = this.$requestConfig.getUserId();
26145
26636
  }
26146
- if (this.$requestConfig.getOrgId()) {
26637
+ if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
26147
26638
  ctx.orgId = this.$requestConfig.getOrgId();
26148
26639
  }
26149
- if (this.$requestConfig.getPostId()) {
26640
+ if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
26150
26641
  ctx.postId = this.$requestConfig.getPostId();
26151
26642
  }
26152
26643
  } catch (e) {
@@ -26174,6 +26665,8 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
26174
26665
  } else {
26175
26666
  param.pageBean.pageSize = -1;
26176
26667
  }
26668
+ // 日期格式的 改成数组
26669
+ // this.changeDateFormat(param)
26177
26670
  //构造请求的参数
26178
26671
  let requestParam = {
26179
26672
  pageBean: param,
@@ -26209,6 +26702,15 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
26209
26702
  }
26210
26703
  }
26211
26704
  },
26705
+ changeDateFormat(param) {
26706
+ let dateValidate1 = /^\d{4}\-\d{2}\-\d{2}$/;
26707
+ let dateValidate2 = /^([1-2][0-9][0-9][0-9]-[0-1]{0,1}[0-9]-[0-3]{0,1}[0-9])\s(20|21|22|23|[0-1]\d):[0-5]\d:[0-5]\d$/;
26708
+ Object.keys(param).forEach(key => {
26709
+ if (param[key] && typeof param[key] == 'string' && param[key].includes(',') && (dateValidate1.test(param[key].split(',')[0]) || dateValidate2.test(param[key].split(',')[0]))) {
26710
+ param[key] = param[key].split(',');
26711
+ }
26712
+ });
26713
+ },
26212
26714
  getSearchValueByKey() {
26213
26715
  let queryParamsObj = {};
26214
26716
  if (this.queryParams.length > 0) {
@@ -26407,13 +26909,37 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
26407
26909
  }
26408
26910
  }
26409
26911
  }
26912
+ // 如果是查询中使用的对话框
26913
+ if (this.dialogType == 'search') {
26914
+ let returnVal = [];
26915
+ str.forEach(item => {
26916
+ returnVal.push(decodeURIComponent(item[this.modelName]));
26917
+ });
26918
+ this.$emit('updateInput', returnVal.join(','));
26919
+ return;
26920
+ }
26410
26921
  const pInst = utils["a" /* default */].getOnlineFormInstance(this);
26411
26922
  this.custdialog.custDialog.mappingConf.forEach(con => {
26412
26923
  var val = '';
26413
26924
  var from = con.from.toLowerCase();
26414
26925
  str.forEach(item => {
26415
26926
  if (item) {
26416
- val += decodeURIComponent(item[from]) + ',';
26927
+ if (this.jumpParamKey && this.isHaveJumpUrl && (this.modelName == 'data.' + con['target'][0] || this.modelName.includes('item.') && con['target'][0].endsWith(this.modelName.split('.')[1]))) {
26928
+ let jumpParamKey = this.jumpParamKey;
26929
+ let jumpParamValue = this.jumpParamKey;
26930
+ if (this.jumpParamKey.includes(':')) {
26931
+ jumpParamKey = this.jumpParamKey.split(':')[0];
26932
+ jumpParamValue = this.jumpParamKey.split(':')[1];
26933
+ }
26934
+ // 需根据key 找到对应 返回数据的返回名称
26935
+ let returnMap = returnStr.find(k => {
26936
+ return k.field.toLowerCase() == jumpParamValue.toLowerCase();
26937
+ });
26938
+ let returnMapKey = returnMap ? returnMap.comment : '';
26939
+ val += `${decodeURIComponent(item[from])}¯${jumpParamKey}:${decodeURIComponent(item[returnMapKey])},`;
26940
+ } else {
26941
+ val += decodeURIComponent(item[from]) + ',';
26942
+ }
26417
26943
  }
26418
26944
  });
26419
26945
  if (this.modelName == 'data.' + con['target'][0]) {
@@ -26450,20 +26976,6 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
26450
26976
  }
26451
26977
  }
26452
26978
  },
26453
- // getSelected() {
26454
- // let arr = []
26455
- // this.selectIds.forEach((item) => {
26456
- // debugger
26457
- // let obj = this.dialogData.find((sub) => {
26458
- // return sub.id_ === item
26459
- // })
26460
- // if (obj) {
26461
- // arr.push(obj)
26462
- // }
26463
- // })
26464
-
26465
- // return arr
26466
- // },
26467
26979
  calacInputSuffixHeight() {
26468
26980
  this.$emit('calacInputSuffixHeight');
26469
26981
  },
@@ -26665,11 +27177,11 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
26665
27177
  });
26666
27178
  // CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=script&lang=js&
26667
27179
  /* harmony default export */ var src_customMobileDialogvue_type_script_lang_js_ = (customMobileDialogvue_type_script_lang_js_);
26668
- // EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=1661eebb&prod&lang=scss&scoped=true&
26669
- var customMobileDialogvue_type_style_index_0_id_1661eebb_prod_lang_scss_scoped_true_ = __webpack_require__("de6a");
27180
+ // EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=384dd988&prod&lang=scss&scoped=true&
27181
+ var customMobileDialogvue_type_style_index_0_id_384dd988_prod_lang_scss_scoped_true_ = __webpack_require__("4680");
26670
27182
 
26671
- // EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=1661eebb&prod&lang=scss&
26672
- var customMobileDialogvue_type_style_index_1_id_1661eebb_prod_lang_scss_ = __webpack_require__("49f9");
27183
+ // EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=384dd988&prod&lang=scss&
27184
+ var customMobileDialogvue_type_style_index_1_id_384dd988_prod_lang_scss_ = __webpack_require__("3be0");
26673
27185
 
26674
27186
  // CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue
26675
27187
 
@@ -26683,11 +27195,11 @@ var customMobileDialogvue_type_style_index_1_id_1661eebb_prod_lang_scss_ = __web
26683
27195
 
26684
27196
  var customMobileDialog_component = normalizeComponent(
26685
27197
  src_customMobileDialogvue_type_script_lang_js_,
26686
- customMobileDialogvue_type_template_id_1661eebb_scoped_true_render,
26687
- customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns,
27198
+ customMobileDialogvue_type_template_id_384dd988_scoped_true_render,
27199
+ customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns,
26688
27200
  false,
26689
27201
  null,
26690
- "1661eebb",
27202
+ "384dd988",
26691
27203
  null
26692
27204
 
26693
27205
  )
@@ -26831,6 +27343,40 @@ var customMobileDialog_component = normalizeComponent(
26831
27343
  //
26832
27344
  //
26833
27345
  //
27346
+ //
27347
+ //
27348
+ //
27349
+ //
27350
+ //
27351
+ //
27352
+ //
27353
+ //
27354
+ //
27355
+ //
27356
+ //
27357
+ //
27358
+ //
27359
+ //
27360
+ //
27361
+ //
27362
+ //
27363
+ //
27364
+ //
27365
+ //
27366
+ //
27367
+ //
27368
+ //
27369
+ //
27370
+ //
27371
+ //
27372
+ //
27373
+ //
27374
+ //
27375
+ //
27376
+ //
27377
+ //
27378
+ //
27379
+ //
26834
27380
 
26835
27381
 
26836
27382
 
@@ -26862,10 +27408,19 @@ var customMobileDialog_component = normalizeComponent(
26862
27408
  subIndex: Number,
26863
27409
  sunIndex: Number,
26864
27410
  subPath: String,
26865
- currentSubData: Array
27411
+ currentSubData: Array,
27412
+ dialogType: {
27413
+ // search表示在查询条件使用 form表示在表单中使用
27414
+ type: String,
27415
+ default: 'form'
27416
+ }
26866
27417
  },
26867
27418
  data() {
26868
27419
  return {
27420
+ mobileSrc: '',
27421
+ isDialogFormShow: false,
27422
+ dialogConfig: null,
27423
+ // 对话框配置信息
26869
27424
  isEditInputShow: false,
26870
27425
  customValue: '',
26871
27426
  defualtTooltipplacement: 'bottom',
@@ -26914,9 +27469,24 @@ var customMobileDialog_component = normalizeComponent(
26914
27469
  }
26915
27470
  let result = [];
26916
27471
  nameAry.forEach(m => {
26917
- let n = {
26918
- value: m
26919
- };
27472
+ // 带url跳转参数的 使用上横杆区分参数 值格式为 名称¯跳转key:跳转value
27473
+ // 上横向保存数据库后 有可能被改变此处兼容写了一种上横线
27474
+ let n = {};
27475
+ if (m.includes('¯') && m.split('¯')[1] || m.includes('ˉ') && m.split('ˉ')[1]) {
27476
+ let val1 = m.includes('¯') ? m.split('¯')[0] : m.split('ˉ')[0];
27477
+ let val2 = m.includes('¯') ? m.split('¯')[1] : m.split('ˉ')[1];
27478
+ n.value = val1;
27479
+ let jumpParamStr = val2;
27480
+ if (jumpParamStr) {
27481
+ let jumpParam = jumpParamStr.split(':');
27482
+ n.jumpParamKey = jumpParam[0];
27483
+ n.jumpParamValue = jumpParam[1];
27484
+ }
27485
+ } else {
27486
+ n = {
27487
+ value: m
27488
+ };
27489
+ }
26920
27490
  result.push(n);
26921
27491
  });
26922
27492
  return result;
@@ -26924,8 +27494,16 @@ var customMobileDialog_component = normalizeComponent(
26924
27494
  },
26925
27495
  isAllowCustom() {
26926
27496
  return this.custdialog && this.custdialog.allowInput;
27497
+ },
27498
+ // 是否展示可跳转颜色
27499
+ isSrcColor() {
27500
+ return this.dialogConfig && this.dialogType !== 'search' && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
26927
27501
  }
26928
27502
  },
27503
+ created() {
27504
+ // 获取对话框配置,看是否有配置url跳转
27505
+ this.getDialogConfig();
27506
+ },
26929
27507
  mounted() {
26930
27508
  setTimeout(() => {
26931
27509
  const {
@@ -26943,9 +27521,74 @@ var customMobileDialog_component = normalizeComponent(
26943
27521
  }
26944
27522
  //获取对话框按钮名称宽度
26945
27523
  this.calacInputSuffixWidth();
27524
+ if (this.value && this.inputWriteable) {
27525
+ this.calacInputSuffixHeight();
27526
+ }
26946
27527
  }, 50);
26947
27528
  },
26948
27529
  methods: {
27530
+ // 跳转url页面
27531
+ jumpUrl(item) {
27532
+ if (!this.isSrcColor) {
27533
+ if (this.inputWriteable) {
27534
+ this.showEditInput();
27535
+ }
27536
+ return;
27537
+ }
27538
+ let url = this.isMobile ? this.dialogConfig.mobileUrl : this.dialogConfig.pcUrl;
27539
+ // 获取通用token 和 url翻译
27540
+ Promise.all([this.$requestConfig.getThreeTreeToken(), this.transformUrl(url)]).then(res => {
27541
+ if (res[0] && res[0].code == 200) {
27542
+ let token = res[0].value;
27543
+ let endUrl = res[1];
27544
+ // 拼接参数 token和参数
27545
+ if (endUrl.indexOf('?') == -1) {
27546
+ endUrl += `?bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
27547
+ } else {
27548
+ endUrl += `&bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
27549
+ }
27550
+ if (this.isMobile) {
27551
+ this.mobileSrc = endUrl;
27552
+ this.isDialogFormShow = true;
27553
+ } else {
27554
+ window.open(endUrl);
27555
+ }
27556
+ } else {
27557
+ this.$message.info(res.message || '获取token失败!');
27558
+ }
27559
+ });
27560
+ },
27561
+ // 替换url中域名通配符 需要发送接口
27562
+ transformUrl(url) {
27563
+ return new Promise(resolve => {
27564
+ var reg = /(\$\{(\w+)\})/;
27565
+ var match = reg.exec(url);
27566
+ if (match) {
27567
+ let alias = match[2];
27568
+ if (alias) {
27569
+ this.$requestConfig.getHostByAlias(alias).then(res => {
27570
+ if (res && res.value && res.value.rootAddress) {
27571
+ resolve(url.replace(match[1], res.value.rootAddress));
27572
+ } else {
27573
+ resolve(url);
27574
+ }
27575
+ });
27576
+ } else {
27577
+ resolve(url);
27578
+ }
27579
+ } else {
27580
+ resolve(url);
27581
+ }
27582
+ });
27583
+ },
27584
+ // 获取对话框配置
27585
+ getDialogConfig() {
27586
+ if (this.custdialog && this.custdialog.custDialog && this.custdialog.custDialog.alias) this.$requestConfig.getCustomDialogByAlias(this.custdialog.custDialog.alias).then(response => {
27587
+ if (response) {
27588
+ this.dialogConfig = response;
27589
+ }
27590
+ });
27591
+ },
26949
27592
  editInputBlur() {
26950
27593
  this.$emit('input', this.customValue);
26951
27594
  this.isEditInputShow = false;
@@ -27020,8 +27663,8 @@ var customMobileDialog_component = normalizeComponent(
27020
27663
  });
27021
27664
  // CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=script&lang=js&
27022
27665
  /* harmony default export */ var packages_CustomDialog_src_mainvue_type_script_lang_js_ = (CustomDialog_src_mainvue_type_script_lang_js_);
27023
- // EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=0b5eb5e6&prod&lang=scss&scoped=true&
27024
- var mainvue_type_style_index_0_id_0b5eb5e6_prod_lang_scss_scoped_true_ = __webpack_require__("be12");
27666
+ // EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=bf5a35ae&prod&lang=scss&scoped=true&
27667
+ var mainvue_type_style_index_0_id_bf5a35ae_prod_lang_scss_scoped_true_ = __webpack_require__("87a1");
27025
27668
 
27026
27669
  // CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue
27027
27670
 
@@ -27034,11 +27677,11 @@ var mainvue_type_style_index_0_id_0b5eb5e6_prod_lang_scss_scoped_true_ = __webpa
27034
27677
 
27035
27678
  var CustomDialog_src_main_component = normalizeComponent(
27036
27679
  packages_CustomDialog_src_mainvue_type_script_lang_js_,
27037
- mainvue_type_template_id_0b5eb5e6_scoped_true_render,
27038
- mainvue_type_template_id_0b5eb5e6_scoped_true_staticRenderFns,
27680
+ mainvue_type_template_id_bf5a35ae_scoped_true_render,
27681
+ mainvue_type_template_id_bf5a35ae_scoped_true_staticRenderFns,
27039
27682
  false,
27040
27683
  null,
27041
- "0b5eb5e6",
27684
+ "bf5a35ae",
27042
27685
  null
27043
27686
 
27044
27687
  )
@@ -41678,12 +42321,12 @@ var GlobalValidate_component = normalizeComponent(
41678
42321
  )
41679
42322
 
41680
42323
  /* harmony default export */ var GlobalValidate = (GlobalValidate_component.exports);
41681
- // 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/Global/src/GlobalQuery.vue?vue&type=template&id=c61b6e10&
41682
- var GlobalQueryvue_type_template_id_c61b6e10_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span')}
41683
- var GlobalQueryvue_type_template_id_c61b6e10_staticRenderFns = []
42324
+ // 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/Global/src/GlobalQuery.vue?vue&type=template&id=e2a6b5c8&
42325
+ var GlobalQueryvue_type_template_id_e2a6b5c8_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span')}
42326
+ var GlobalQueryvue_type_template_id_e2a6b5c8_staticRenderFns = []
41684
42327
 
41685
42328
 
41686
- // CONCATENATED MODULE: ./packages/Global/src/GlobalQuery.vue?vue&type=template&id=c61b6e10&
42329
+ // CONCATENATED MODULE: ./packages/Global/src/GlobalQuery.vue?vue&type=template&id=e2a6b5c8&
41687
42330
 
41688
42331
  // 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/Global/src/GlobalQuery.vue?vue&type=script&lang=js&
41689
42332
  //
@@ -41714,6 +42357,10 @@ var GlobalQueryvue_type_template_id_c61b6e10_staticRenderFns = []
41714
42357
  if (!this.formInst) {
41715
42358
  this.formInst = utils["a" /* default */].getOnlineFormInstance(this.$parent);
41716
42359
  }
42360
+ // 如果是只读时不触发关联查询
42361
+ if (this.formInst.isView === true) {
42362
+ return;
42363
+ }
41717
42364
  if (this.queryJson.length > 0) {
41718
42365
  let _this = this;
41719
42366
  this.queryJson.forEach(item => {
@@ -41862,8 +42509,8 @@ var GlobalQueryvue_type_template_id_c61b6e10_staticRenderFns = []
41862
42509
 
41863
42510
  var GlobalQuery_component = normalizeComponent(
41864
42511
  src_GlobalQueryvue_type_script_lang_js_,
41865
- GlobalQueryvue_type_template_id_c61b6e10_render,
41866
- GlobalQueryvue_type_template_id_c61b6e10_staticRenderFns,
42512
+ GlobalQueryvue_type_template_id_e2a6b5c8_render,
42513
+ GlobalQueryvue_type_template_id_e2a6b5c8_staticRenderFns,
41867
42514
  false,
41868
42515
  null,
41869
42516
  null,