three-trees-ui 1.0.15 → 1.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/three-trees-ui.common.js +455 -1064
- package/lib/three-trees-ui.css +1 -1
- package/lib/three-trees-ui.umd.js +455 -1064
- package/lib/three-trees-ui.umd.min.js +1 -1
- package/package.json +1 -1
- package/packages/CustomDialog/src/customDialog.vue +165 -488
- package/packages/CustomDialog/src/customMobileDialog.vue +155 -464
- package/packages/CustomDialog/src/main.vue +10 -202
- package/packages/DimensionSelector/src/main.vue +0 -2
- package/packages/Global/src/GlobalQuery.vue +5 -0
- package/packages/Input/src/main.vue +3 -0
- package/packages/Tree/src/main.vue +2 -7
- package/src/directive/formulas.js +8 -0
- package/src/mixins/permission.js +4 -0
|
@@ -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,6 +1666,13 @@ const btnList = [{
|
|
|
1659
1666
|
|
|
1660
1667
|
/***/ }),
|
|
1661
1668
|
|
|
1669
|
+
/***/ "0ca0":
|
|
1670
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1671
|
+
|
|
1672
|
+
// extracted by mini-css-extract-plugin
|
|
1673
|
+
|
|
1674
|
+
/***/ }),
|
|
1675
|
+
|
|
1662
1676
|
/***/ "0edb":
|
|
1663
1677
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1664
1678
|
|
|
@@ -1886,7 +1900,7 @@ const SubPagination = {
|
|
|
1886
1900
|
|
|
1887
1901
|
/***/ }),
|
|
1888
1902
|
|
|
1889
|
-
/***/ "
|
|
1903
|
+
/***/ "1ccc":
|
|
1890
1904
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1891
1905
|
|
|
1892
1906
|
// extracted by mini-css-extract-plugin
|
|
@@ -2054,6 +2068,13 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__289a__;
|
|
|
2054
2068
|
|
|
2055
2069
|
/***/ }),
|
|
2056
2070
|
|
|
2071
|
+
/***/ "333d":
|
|
2072
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2073
|
+
|
|
2074
|
+
// extracted by mini-css-extract-plugin
|
|
2075
|
+
|
|
2076
|
+
/***/ }),
|
|
2077
|
+
|
|
2057
2078
|
/***/ "33ce":
|
|
2058
2079
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2059
2080
|
|
|
@@ -2095,6 +2116,10 @@ const conformanceJudge = (value, vnode) => {
|
|
|
2095
2116
|
};
|
|
2096
2117
|
const formula = {
|
|
2097
2118
|
bind(el, binding, vnode) {
|
|
2119
|
+
// 如果是只读的就不执行js脚本计算
|
|
2120
|
+
if (el && el.__vue__ && el.formIsView === true) {
|
|
2121
|
+
return;
|
|
2122
|
+
}
|
|
2098
2123
|
if (!conformanceJudge(binding.value.value, vnode)) {
|
|
2099
2124
|
return;
|
|
2100
2125
|
}
|
|
@@ -2120,6 +2145,10 @@ const formula = {
|
|
|
2120
2145
|
}
|
|
2121
2146
|
},
|
|
2122
2147
|
update(el, binding, vnode) {
|
|
2148
|
+
// 如果是只读的就不执行js脚本计算
|
|
2149
|
+
if (el && el.__vue__ && el.formIsView === true) {
|
|
2150
|
+
return;
|
|
2151
|
+
}
|
|
2123
2152
|
if (!conformanceJudge(binding.value.value, vnode)) {
|
|
2124
2153
|
return;
|
|
2125
2154
|
}
|
|
@@ -2783,28 +2812,6 @@ Formulas.install = Vue => {
|
|
|
2783
2812
|
|
|
2784
2813
|
// extracted by mini-css-extract-plugin
|
|
2785
2814
|
|
|
2786
|
-
/***/ }),
|
|
2787
|
-
|
|
2788
|
-
/***/ "3be0":
|
|
2789
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2790
|
-
|
|
2791
|
-
"use strict";
|
|
2792
|
-
/* 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");
|
|
2793
|
-
/* 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__);
|
|
2794
|
-
/* unused harmony reexport * */
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
/***/ }),
|
|
2798
|
-
|
|
2799
|
-
/***/ "3c4b":
|
|
2800
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2801
|
-
|
|
2802
|
-
"use strict";
|
|
2803
|
-
/* 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");
|
|
2804
|
-
/* 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__);
|
|
2805
|
-
/* unused harmony reexport * */
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
2815
|
/***/ }),
|
|
2809
2816
|
|
|
2810
2817
|
/***/ "3e5b":
|
|
@@ -2843,30 +2850,23 @@ Formulas.install = Vue => {
|
|
|
2843
2850
|
|
|
2844
2851
|
/***/ }),
|
|
2845
2852
|
|
|
2846
|
-
/***/ "
|
|
2847
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2848
|
-
|
|
2849
|
-
// extracted by mini-css-extract-plugin
|
|
2850
|
-
|
|
2851
|
-
/***/ }),
|
|
2852
|
-
|
|
2853
|
-
/***/ "4680":
|
|
2853
|
+
/***/ "4876":
|
|
2854
2854
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2855
2855
|
|
|
2856
2856
|
"use strict";
|
|
2857
|
-
/* harmony import */ var
|
|
2858
|
-
/* harmony import */ var
|
|
2857
|
+
/* 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");
|
|
2858
|
+
/* 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__);
|
|
2859
2859
|
/* unused harmony reexport * */
|
|
2860
2860
|
|
|
2861
2861
|
|
|
2862
2862
|
/***/ }),
|
|
2863
2863
|
|
|
2864
|
-
/***/ "
|
|
2864
|
+
/***/ "48f7":
|
|
2865
2865
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2866
2866
|
|
|
2867
2867
|
"use strict";
|
|
2868
|
-
/* harmony import */ var
|
|
2869
|
-
/* harmony import */ var
|
|
2868
|
+
/* 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");
|
|
2869
|
+
/* 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__);
|
|
2870
2870
|
/* unused harmony reexport * */
|
|
2871
2871
|
|
|
2872
2872
|
|
|
@@ -2904,10 +2904,14 @@ Formulas.install = Vue => {
|
|
|
2904
2904
|
|
|
2905
2905
|
/***/ }),
|
|
2906
2906
|
|
|
2907
|
-
/***/ "
|
|
2908
|
-
/***/ (function(module,
|
|
2907
|
+
/***/ "49f9":
|
|
2908
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2909
|
+
|
|
2910
|
+
"use strict";
|
|
2911
|
+
/* 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");
|
|
2912
|
+
/* 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__);
|
|
2913
|
+
/* unused harmony reexport * */
|
|
2909
2914
|
|
|
2910
|
-
// extracted by mini-css-extract-plugin
|
|
2911
2915
|
|
|
2912
2916
|
/***/ }),
|
|
2913
2917
|
|
|
@@ -3040,13 +3044,6 @@ exports.clearImmediate = (typeof self !== "undefined" && self.clearImmediate) ||
|
|
|
3040
3044
|
|
|
3041
3045
|
/***/ }),
|
|
3042
3046
|
|
|
3043
|
-
/***/ "569e":
|
|
3044
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
3045
|
-
|
|
3046
|
-
// extracted by mini-css-extract-plugin
|
|
3047
|
-
|
|
3048
|
-
/***/ }),
|
|
3049
|
-
|
|
3050
3047
|
/***/ "5877":
|
|
3051
3048
|
/***/ (function(module, exports) {
|
|
3052
3049
|
|
|
@@ -4137,13 +4134,6 @@ const dict = {
|
|
|
4137
4134
|
|
|
4138
4135
|
/***/ }),
|
|
4139
4136
|
|
|
4140
|
-
/***/ "6ebe":
|
|
4141
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4142
|
-
|
|
4143
|
-
// extracted by mini-css-extract-plugin
|
|
4144
|
-
|
|
4145
|
-
/***/ }),
|
|
4146
|
-
|
|
4147
4137
|
/***/ "6f28":
|
|
4148
4138
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4149
4139
|
|
|
@@ -4176,13 +4166,6 @@ const dict = {
|
|
|
4176
4166
|
|
|
4177
4167
|
/***/ }),
|
|
4178
4168
|
|
|
4179
|
-
/***/ "7090":
|
|
4180
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4181
|
-
|
|
4182
|
-
// extracted by mini-css-extract-plugin
|
|
4183
|
-
|
|
4184
|
-
/***/ }),
|
|
4185
|
-
|
|
4186
4169
|
/***/ "7152":
|
|
4187
4170
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4188
4171
|
|
|
@@ -4258,6 +4241,13 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4258
4241
|
|
|
4259
4242
|
/***/ }),
|
|
4260
4243
|
|
|
4244
|
+
/***/ "7c6e":
|
|
4245
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4246
|
+
|
|
4247
|
+
// extracted by mini-css-extract-plugin
|
|
4248
|
+
|
|
4249
|
+
/***/ }),
|
|
4250
|
+
|
|
4261
4251
|
/***/ "7d0a":
|
|
4262
4252
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4263
4253
|
|
|
@@ -4285,6 +4275,17 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4285
4275
|
|
|
4286
4276
|
// extracted by mini-css-extract-plugin
|
|
4287
4277
|
|
|
4278
|
+
/***/ }),
|
|
4279
|
+
|
|
4280
|
+
/***/ "7ff9":
|
|
4281
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4282
|
+
|
|
4283
|
+
"use strict";
|
|
4284
|
+
/* 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");
|
|
4285
|
+
/* 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__);
|
|
4286
|
+
/* unused harmony reexport * */
|
|
4287
|
+
|
|
4288
|
+
|
|
4288
4289
|
/***/ }),
|
|
4289
4290
|
|
|
4290
4291
|
/***/ "8262":
|
|
@@ -4339,17 +4340,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4339
4340
|
|
|
4340
4341
|
// extracted by mini-css-extract-plugin
|
|
4341
4342
|
|
|
4342
|
-
/***/ }),
|
|
4343
|
-
|
|
4344
|
-
/***/ "87a1":
|
|
4345
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4346
|
-
|
|
4347
|
-
"use strict";
|
|
4348
|
-
/* 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");
|
|
4349
|
-
/* 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__);
|
|
4350
|
-
/* unused harmony reexport * */
|
|
4351
|
-
|
|
4352
|
-
|
|
4353
4343
|
/***/ }),
|
|
4354
4344
|
|
|
4355
4345
|
/***/ "889a":
|
|
@@ -4731,7 +4721,14 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
4731
4721
|
/***/ "9224":
|
|
4732
4722
|
/***/ (function(module) {
|
|
4733
4723
|
|
|
4734
|
-
module.exports = JSON.parse("{\"a\":\"1.0.
|
|
4724
|
+
module.exports = JSON.parse("{\"a\":\"1.0.17\"}");
|
|
4725
|
+
|
|
4726
|
+
/***/ }),
|
|
4727
|
+
|
|
4728
|
+
/***/ "923d":
|
|
4729
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4730
|
+
|
|
4731
|
+
// extracted by mini-css-extract-plugin
|
|
4735
4732
|
|
|
4736
4733
|
/***/ }),
|
|
4737
4734
|
|
|
@@ -4856,6 +4853,13 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHoAAABMCAYAAACi
|
|
|
4856
4853
|
|
|
4857
4854
|
/***/ }),
|
|
4858
4855
|
|
|
4856
|
+
/***/ "a707":
|
|
4857
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4858
|
+
|
|
4859
|
+
// extracted by mini-css-extract-plugin
|
|
4860
|
+
|
|
4861
|
+
/***/ }),
|
|
4862
|
+
|
|
4859
4863
|
/***/ "a751":
|
|
4860
4864
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4861
4865
|
|
|
@@ -5444,17 +5448,6 @@ module.exports = require("setimmediate");
|
|
|
5444
5448
|
|
|
5445
5449
|
// extracted by mini-css-extract-plugin
|
|
5446
5450
|
|
|
5447
|
-
/***/ }),
|
|
5448
|
-
|
|
5449
|
-
/***/ "aeed":
|
|
5450
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5451
|
-
|
|
5452
|
-
"use strict";
|
|
5453
|
-
/* 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");
|
|
5454
|
-
/* 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__);
|
|
5455
|
-
/* unused harmony reexport * */
|
|
5456
|
-
|
|
5457
|
-
|
|
5458
5451
|
/***/ }),
|
|
5459
5452
|
|
|
5460
5453
|
/***/ "af95":
|
|
@@ -6250,13 +6243,6 @@ const {
|
|
|
6250
6243
|
|
|
6251
6244
|
/***/ }),
|
|
6252
6245
|
|
|
6253
|
-
/***/ "b1a3":
|
|
6254
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
6255
|
-
|
|
6256
|
-
// extracted by mini-css-extract-plugin
|
|
6257
|
-
|
|
6258
|
-
/***/ }),
|
|
6259
|
-
|
|
6260
6246
|
/***/ "b1ce":
|
|
6261
6247
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6262
6248
|
|
|
@@ -6451,6 +6437,17 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
|
|
|
6451
6437
|
|
|
6452
6438
|
// extracted by mini-css-extract-plugin
|
|
6453
6439
|
|
|
6440
|
+
/***/ }),
|
|
6441
|
+
|
|
6442
|
+
/***/ "be12":
|
|
6443
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6444
|
+
|
|
6445
|
+
"use strict";
|
|
6446
|
+
/* 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");
|
|
6447
|
+
/* 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__);
|
|
6448
|
+
/* unused harmony reexport * */
|
|
6449
|
+
|
|
6450
|
+
|
|
6454
6451
|
/***/ }),
|
|
6455
6452
|
|
|
6456
6453
|
/***/ "c0a9":
|
|
@@ -6469,6 +6466,17 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
|
|
|
6469
6466
|
|
|
6470
6467
|
module.exports = require("moment");
|
|
6471
6468
|
|
|
6469
|
+
/***/ }),
|
|
6470
|
+
|
|
6471
|
+
/***/ "c33b":
|
|
6472
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6473
|
+
|
|
6474
|
+
"use strict";
|
|
6475
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a707");
|
|
6476
|
+
/* 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__);
|
|
6477
|
+
/* unused harmony reexport * */
|
|
6478
|
+
|
|
6479
|
+
|
|
6472
6480
|
/***/ }),
|
|
6473
6481
|
|
|
6474
6482
|
/***/ "c429":
|
|
@@ -6601,17 +6609,6 @@ module.exports = g;
|
|
|
6601
6609
|
/* unused harmony reexport * */
|
|
6602
6610
|
|
|
6603
6611
|
|
|
6604
|
-
/***/ }),
|
|
6605
|
-
|
|
6606
|
-
/***/ "cc2b":
|
|
6607
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6608
|
-
|
|
6609
|
-
"use strict";
|
|
6610
|
-
/* 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");
|
|
6611
|
-
/* 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__);
|
|
6612
|
-
/* unused harmony reexport * */
|
|
6613
|
-
|
|
6614
|
-
|
|
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
|
-
/***/ "
|
|
7170
|
+
/***/ "dccc":
|
|
7170
7171
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7171
7172
|
|
|
7172
7173
|
"use strict";
|
|
7173
|
-
/* harmony import */ var
|
|
7174
|
-
/* harmony import */ var
|
|
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__ = __webpack_require__("8728");
|
|
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_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__);
|
|
7175
7176
|
/* unused harmony reexport * */
|
|
7176
7177
|
|
|
7177
7178
|
|
|
7178
7179
|
/***/ }),
|
|
7179
7180
|
|
|
7180
|
-
/***/ "
|
|
7181
|
+
/***/ "de6a":
|
|
7181
7182
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7182
7183
|
|
|
7183
7184
|
"use strict";
|
|
7184
|
-
/* harmony import */ var
|
|
7185
|
-
/* harmony import */ var
|
|
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__ = __webpack_require__("923d");
|
|
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_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__);
|
|
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=
|
|
8813
|
-
var
|
|
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
|
|
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=
|
|
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=
|
|
9622
|
-
var
|
|
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
|
-
|
|
9636
|
-
|
|
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
|
-
"
|
|
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=
|
|
15619
|
-
var
|
|
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=5731e345&scoped=true&
|
|
15634
|
+
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
|
|
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
|
|
15640
|
+
var mainvue_type_template_id_5731e345_scoped_true_staticRenderFns = []
|
|
15626
15641
|
|
|
15627
15642
|
|
|
15628
|
-
// CONCATENATED MODULE: ./packages/Tree/src/main.vue?vue&type=template&id=
|
|
15643
|
+
// CONCATENATED MODULE: ./packages/Tree/src/main.vue?vue&type=template&id=5731e345&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,11 +15915,7 @@ var mainvue_type_template_id_10f71c00_scoped_true_staticRenderFns = []
|
|
|
15900
15915
|
},
|
|
15901
15916
|
watch: {
|
|
15902
15917
|
filterText(val) {
|
|
15903
|
-
|
|
15904
|
-
this.$emit('loadALL', val);
|
|
15905
|
-
} else {
|
|
15906
|
-
this.$refs.elTree.filter(val);
|
|
15907
|
-
}
|
|
15918
|
+
this.$refs.elTree.filter(val);
|
|
15908
15919
|
},
|
|
15909
15920
|
defaultCheckedKeys(val) {
|
|
15910
15921
|
this.$refs.elTree.setCheckedKeys(val);
|
|
@@ -15997,8 +16008,8 @@ var mainvue_type_template_id_10f71c00_scoped_true_staticRenderFns = []
|
|
|
15997
16008
|
});
|
|
15998
16009
|
// CONCATENATED MODULE: ./packages/Tree/src/main.vue?vue&type=script&lang=js&
|
|
15999
16010
|
/* harmony default export */ var packages_Tree_src_mainvue_type_script_lang_js_ = (Tree_src_mainvue_type_script_lang_js_);
|
|
16000
|
-
// EXTERNAL MODULE: ./packages/Tree/src/main.vue?vue&type=style&index=0&id=
|
|
16001
|
-
var
|
|
16011
|
+
// EXTERNAL MODULE: ./packages/Tree/src/main.vue?vue&type=style&index=0&id=5731e345&prod&lang=scss&scoped=true&
|
|
16012
|
+
var mainvue_type_style_index_0_id_5731e345_prod_lang_scss_scoped_true_ = __webpack_require__("48f7");
|
|
16002
16013
|
|
|
16003
16014
|
// CONCATENATED MODULE: ./packages/Tree/src/main.vue
|
|
16004
16015
|
|
|
@@ -16011,11 +16022,11 @@ var mainvue_type_style_index_0_id_10f71c00_prod_lang_scss_scoped_true_ = __webpa
|
|
|
16011
16022
|
|
|
16012
16023
|
var Tree_src_main_component = normalizeComponent(
|
|
16013
16024
|
packages_Tree_src_mainvue_type_script_lang_js_,
|
|
16014
|
-
|
|
16015
|
-
|
|
16025
|
+
mainvue_type_template_id_5731e345_scoped_true_render,
|
|
16026
|
+
mainvue_type_template_id_5731e345_scoped_true_staticRenderFns,
|
|
16016
16027
|
false,
|
|
16017
16028
|
null,
|
|
16018
|
-
"
|
|
16029
|
+
"5731e345",
|
|
16019
16030
|
null
|
|
16020
16031
|
|
|
16021
16032
|
)
|
|
@@ -22507,8 +22518,8 @@ PostSelector_src_main.install = function (Vue) {
|
|
|
22507
22518
|
Vue.component(PostSelector_src_main.name, PostSelector_src_main);
|
|
22508
22519
|
};
|
|
22509
22520
|
/* harmony default export */ var PostSelector = (PostSelector_src_main);
|
|
22510
|
-
// 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=
|
|
22511
|
-
var
|
|
22521
|
+
// 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&
|
|
22522
|
+
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:[
|
|
22512
22523
|
'inputs',
|
|
22513
22524
|
_vm.formInputsDisplay == 'block'
|
|
22514
22525
|
? 'ht-form-inputs__block'
|
|
@@ -22523,10 +22534,10 @@ var mainvue_type_template_id_8015cf1e_scoped_true_render = function () {var _vm=
|
|
|
22523
22534
|
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){
|
|
22524
22535
|
var select = ref.select;
|
|
22525
22536
|
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()}
|
|
22526
|
-
var
|
|
22537
|
+
var mainvue_type_template_id_10681225_scoped_true_staticRenderFns = []
|
|
22527
22538
|
|
|
22528
22539
|
|
|
22529
|
-
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=template&id=
|
|
22540
|
+
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=template&id=10681225&scoped=true&
|
|
22530
22541
|
|
|
22531
22542
|
// 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&
|
|
22532
22543
|
//
|
|
@@ -22785,8 +22796,6 @@ var mainvue_type_template_id_8015cf1e_scoped_true_staticRenderFns = []
|
|
|
22785
22796
|
if (this.config.hasOwnProperty('demName')) {
|
|
22786
22797
|
utils["a" /* default */].setValueByConfigKey(this, this.config, 'demName', demNameAry.join(','));
|
|
22787
22798
|
}
|
|
22788
|
-
} else {
|
|
22789
|
-
this.$emit('change', newVal);
|
|
22790
22799
|
}
|
|
22791
22800
|
// 通过valueChange事件发布值变更消息
|
|
22792
22801
|
this.$emit('valueChange', ary.join(','), newVal);
|
|
@@ -22916,8 +22925,8 @@ var mainvue_type_template_id_8015cf1e_scoped_true_staticRenderFns = []
|
|
|
22916
22925
|
});
|
|
22917
22926
|
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=script&lang=js&
|
|
22918
22927
|
/* harmony default export */ var packages_DimensionSelector_src_mainvue_type_script_lang_js_ = (DimensionSelector_src_mainvue_type_script_lang_js_);
|
|
22919
|
-
// EXTERNAL MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=style&index=0&id=
|
|
22920
|
-
var
|
|
22928
|
+
// EXTERNAL MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=style&index=0&id=10681225&prod&lang=scss&scoped=true&
|
|
22929
|
+
var mainvue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true_ = __webpack_require__("c33b");
|
|
22921
22930
|
|
|
22922
22931
|
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue
|
|
22923
22932
|
|
|
@@ -22930,11 +22939,11 @@ var mainvue_type_style_index_0_id_8015cf1e_prod_lang_scss_scoped_true_ = __webpa
|
|
|
22930
22939
|
|
|
22931
22940
|
var DimensionSelector_src_main_component = normalizeComponent(
|
|
22932
22941
|
packages_DimensionSelector_src_mainvue_type_script_lang_js_,
|
|
22933
|
-
|
|
22934
|
-
|
|
22942
|
+
mainvue_type_template_id_10681225_scoped_true_render,
|
|
22943
|
+
mainvue_type_template_id_10681225_scoped_true_staticRenderFns,
|
|
22935
22944
|
false,
|
|
22936
22945
|
null,
|
|
22937
|
-
"
|
|
22946
|
+
"10681225",
|
|
22938
22947
|
null
|
|
22939
22948
|
|
|
22940
22949
|
)
|
|
@@ -23562,8 +23571,8 @@ Dialog_src_main.install = function (Vue) {
|
|
|
23562
23571
|
Vue.component(Dialog_src_main.name, Dialog_src_main);
|
|
23563
23572
|
};
|
|
23564
23573
|
/* harmony default export */ var Dialog = (Dialog_src_main);
|
|
23565
|
-
// 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=
|
|
23566
|
-
var
|
|
23574
|
+
// 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&
|
|
23575
|
+
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:({
|
|
23567
23576
|
right: _vm.inputSuffixWidth - 1 + 'px',
|
|
23568
23577
|
width: 'auto!important',
|
|
23569
23578
|
height: _vm.inputSuffixHeight - 4 + 'px',
|
|
@@ -23572,11 +23581,11 @@ var mainvue_type_template_id_bf5a35ae_scoped_true_render = function () {var _vm=
|
|
|
23572
23581
|
: 'el-input__icon icon-duihuakuang',style:({
|
|
23573
23582
|
fontSize: '17px',
|
|
23574
23583
|
lineHeight: _vm.inputSuffixHeight + 'px',
|
|
23575
|
-
})}),_vm._v("\n "+_vm._s(_vm.custdialog.name)+"\n ")])],1)])],1)]):_vm._e()]),(!_vm.inputWriteable)?_c('span',
|
|
23576
|
-
var
|
|
23584
|
+
})}),_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)}
|
|
23585
|
+
var mainvue_type_template_id_0b5eb5e6_scoped_true_staticRenderFns = []
|
|
23577
23586
|
|
|
23578
23587
|
|
|
23579
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=
|
|
23588
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=0b5eb5e6&scoped=true&
|
|
23580
23589
|
|
|
23581
23590
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.js
|
|
23582
23591
|
|
|
@@ -23698,47 +23707,19 @@ var mainvue_type_template_id_bf5a35ae_scoped_true_staticRenderFns = []
|
|
|
23698
23707
|
}
|
|
23699
23708
|
}
|
|
23700
23709
|
});
|
|
23701
|
-
// 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=
|
|
23702
|
-
var
|
|
23703
|
-
|
|
23704
|
-
|
|
23705
|
-
|
|
23706
|
-
|
|
23707
|
-
|
|
23708
|
-
|
|
23709
|
-
|
|
23710
|
-
|
|
23711
|
-
|
|
23712
|
-
|
|
23713
|
-
|
|
23714
|
-
: 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) {
|
|
23715
|
-
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23716
|
-
}}}):_vm._e(),(condition.config.alias == 'org')?_c('ht-org-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23717
|
-
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23718
|
-
}}}):_vm._e(),(condition.config.alias == 'role')?_c('ht-role-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23719
|
-
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23720
|
-
}}}):_vm._e(),(condition.config.alias == 'job')?_c('ht-job-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23721
|
-
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23722
|
-
}}}):_vm._e(),(condition.config.alias == 'post')?_c('ht-post-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23723
|
-
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23724
|
-
}}}):_vm._e(),(condition.config.alias == 'dimension')?_c('ht-dimension-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23725
|
-
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23726
|
-
}}}):_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":{
|
|
23727
|
-
name: '请选择',
|
|
23728
|
-
icon: '',
|
|
23729
|
-
custDialog: {
|
|
23730
|
-
selectNum: 1,
|
|
23731
|
-
conditions: [],
|
|
23732
|
-
mappingConf: [],
|
|
23733
|
-
custQueryJson: [],
|
|
23734
|
-
alias: condition.config.alias,
|
|
23735
|
-
type: 'custDialog',
|
|
23736
|
-
},
|
|
23737
|
-
}},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)}
|
|
23738
|
-
var customDialogvue_type_template_id_3e2f487c_scoped_true_staticRenderFns = []
|
|
23739
|
-
|
|
23740
|
-
|
|
23741
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=3e2f487c&scoped=true&
|
|
23710
|
+
// 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&
|
|
23711
|
+
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":{
|
|
23712
|
+
alias: condition.config.customQuery.alias,
|
|
23713
|
+
valueBind: condition.config.customQuery.valueBind,
|
|
23714
|
+
noInit: '',
|
|
23715
|
+
labelBind: condition.config.customQuery.labelBind,
|
|
23716
|
+
gangedBind: '{}',
|
|
23717
|
+
bind: condition.config.bind,
|
|
23718
|
+
},"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)}
|
|
23719
|
+
var customDialogvue_type_template_id_3a57945e_scoped_true_staticRenderFns = []
|
|
23720
|
+
|
|
23721
|
+
|
|
23722
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=3a57945e&scoped=true&
|
|
23742
23723
|
|
|
23743
23724
|
// EXTERNAL MODULE: external "jquery"
|
|
23744
23725
|
var external_jquery_ = __webpack_require__("c5e1");
|
|
@@ -24047,139 +24028,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24047
24028
|
//
|
|
24048
24029
|
//
|
|
24049
24030
|
//
|
|
24050
|
-
//
|
|
24051
|
-
//
|
|
24052
|
-
//
|
|
24053
|
-
//
|
|
24054
|
-
//
|
|
24055
|
-
//
|
|
24056
|
-
//
|
|
24057
|
-
//
|
|
24058
|
-
//
|
|
24059
|
-
//
|
|
24060
|
-
//
|
|
24061
|
-
//
|
|
24062
|
-
//
|
|
24063
|
-
//
|
|
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
24031
|
|
|
24184
24032
|
|
|
24185
24033
|
|
|
@@ -24207,16 +24055,10 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24207
24055
|
isReadOnly: {
|
|
24208
24056
|
type: Boolean,
|
|
24209
24057
|
default: false
|
|
24210
|
-
}
|
|
24211
|
-
dialogConfig: Object,
|
|
24212
|
-
dialogType: String
|
|
24058
|
+
}
|
|
24213
24059
|
},
|
|
24214
24060
|
data() {
|
|
24215
24061
|
return {
|
|
24216
|
-
startDate: '',
|
|
24217
|
-
// 日期控件
|
|
24218
|
-
endDate: '',
|
|
24219
|
-
// 日期控件
|
|
24220
24062
|
tableHeight: 350,
|
|
24221
24063
|
isEditInputShow: false,
|
|
24222
24064
|
customValue: '',
|
|
@@ -24297,18 +24139,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24297
24139
|
return [this.props1[0][this.nodeKey]];
|
|
24298
24140
|
}
|
|
24299
24141
|
return [];
|
|
24300
|
-
},
|
|
24301
|
-
jumpParamKey() {
|
|
24302
|
-
return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
|
|
24303
|
-
},
|
|
24304
|
-
// 是否保存成跳转url参数
|
|
24305
|
-
isHaveJumpUrl() {
|
|
24306
|
-
return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
24307
|
-
},
|
|
24308
|
-
sortDisplayfield() {
|
|
24309
|
-
return this.displayfield.sort((a, b) => {
|
|
24310
|
-
return a.sort > b.sort ? 1 : -1;
|
|
24311
|
-
});
|
|
24312
24142
|
}
|
|
24313
24143
|
},
|
|
24314
24144
|
watch: {
|
|
@@ -24344,151 +24174,131 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24344
24174
|
});
|
|
24345
24175
|
},
|
|
24346
24176
|
methods: {
|
|
24347
|
-
// 获取已选择的选择器数据id
|
|
24348
|
-
getSelectId(data) {
|
|
24349
|
-
if (!data || !data.length) {
|
|
24350
|
-
return '';
|
|
24351
|
-
}
|
|
24352
|
-
let ids = [];
|
|
24353
|
-
data.forEach(item => {
|
|
24354
|
-
ids.push(item.id);
|
|
24355
|
-
});
|
|
24356
|
-
return ids.join(',');
|
|
24357
|
-
},
|
|
24358
24177
|
showDialog() {
|
|
24359
24178
|
let isMounted = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
24179
|
+
const this_ = this;
|
|
24360
24180
|
this.fixedParams = {};
|
|
24361
|
-
// 如果已存在配置信息就不去请求配置信息 直接初始化数据
|
|
24362
|
-
if (this.dialogConfig) {
|
|
24363
|
-
this.initDialog(this.dialogConfig, isMounted);
|
|
24364
|
-
return;
|
|
24365
|
-
}
|
|
24366
24181
|
var alias = this.custdialog.custDialog.alias;
|
|
24367
24182
|
this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
|
|
24368
|
-
|
|
24369
|
-
|
|
24370
|
-
|
|
24371
|
-
initDialog(customDialog, isMounted) {
|
|
24372
|
-
let alias = this.custdialog.custDialog.alias;
|
|
24373
|
-
const this_ = this;
|
|
24374
|
-
if (!customDialog || !customDialog.alias) {
|
|
24375
|
-
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
24376
|
-
return;
|
|
24377
|
-
}
|
|
24378
|
-
if (customDialog.style == 1) {
|
|
24379
|
-
var displaylist = JSON.parse(customDialog.displayfield);
|
|
24380
|
-
this_.nodeKey = displaylist.id;
|
|
24381
|
-
}
|
|
24382
|
-
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
24383
|
-
let obj = {};
|
|
24384
|
-
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
24385
|
-
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
24386
|
-
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
24387
|
-
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
24388
|
-
if (exp) {
|
|
24389
|
-
const params = JSON.parse(exp);
|
|
24390
|
-
if (params.pageBean) {
|
|
24391
|
-
this.pagination = {
|
|
24392
|
-
...params.pageBean
|
|
24393
|
-
};
|
|
24394
|
-
}
|
|
24183
|
+
if (!customDialog || !customDialog.alias) {
|
|
24184
|
+
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
24185
|
+
return;
|
|
24395
24186
|
}
|
|
24396
|
-
|
|
24397
|
-
|
|
24398
|
-
|
|
24399
|
-
|
|
24400
|
-
|
|
24401
|
-
|
|
24402
|
-
|
|
24403
|
-
|
|
24404
|
-
|
|
24405
|
-
|
|
24406
|
-
|
|
24407
|
-
|
|
24408
|
-
|
|
24409
|
-
|
|
24410
|
-
|
|
24411
|
-
|
|
24412
|
-
|
|
24413
|
-
this_.executeScriptResult = res && res.value;
|
|
24414
|
-
});
|
|
24415
|
-
}
|
|
24416
|
-
});
|
|
24417
|
-
}
|
|
24418
|
-
//判断对话框查询是否有条件
|
|
24419
|
-
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
24420
|
-
this_.quickSearch = ''; //填写提示 placeholder
|
|
24421
|
-
this_.conditionBind = [];
|
|
24422
|
-
let queryParams = [];
|
|
24423
|
-
let placeholders = [];
|
|
24424
|
-
if (userInputList.length > 0) {
|
|
24425
|
-
userInputList.forEach(ele => {
|
|
24426
|
-
var obj = {};
|
|
24427
|
-
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
24428
|
-
if (ele.defaultType == '1') {
|
|
24429
|
-
obj[ele.field] = '';
|
|
24430
|
-
queryParams.push(obj);
|
|
24431
|
-
// queryParams[ele.field] = "";
|
|
24432
|
-
this_.conditionBind.push(ele);
|
|
24433
|
-
placeholders.push('请输入' + ele.comment);
|
|
24434
|
-
}
|
|
24435
|
-
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
24436
|
-
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
24187
|
+
if (customDialog.style == 1) {
|
|
24188
|
+
var displaylist = JSON.parse(customDialog.displayfield);
|
|
24189
|
+
this_.nodeKey = displaylist.id;
|
|
24190
|
+
}
|
|
24191
|
+
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
24192
|
+
let obj = {};
|
|
24193
|
+
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
24194
|
+
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
24195
|
+
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
24196
|
+
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
24197
|
+
if (exp) {
|
|
24198
|
+
const params = JSON.parse(exp);
|
|
24199
|
+
if (params.pageBean) {
|
|
24200
|
+
this.pagination = {
|
|
24201
|
+
...params.pageBean
|
|
24202
|
+
};
|
|
24203
|
+
}
|
|
24437
24204
|
}
|
|
24438
|
-
}
|
|
24439
|
-
|
|
24440
|
-
|
|
24441
|
-
|
|
24442
|
-
|
|
24443
|
-
|
|
24444
|
-
|
|
24445
|
-
|
|
24446
|
-
|
|
24447
|
-
|
|
24448
|
-
|
|
24449
|
-
|
|
24450
|
-
|
|
24451
|
-
|
|
24452
|
-
|
|
24453
|
-
|
|
24454
|
-
|
|
24455
|
-
|
|
24456
|
-
|
|
24205
|
+
}
|
|
24206
|
+
//对话框按表单字段查询(参数传入的)
|
|
24207
|
+
let bindList = this_.custdialog.custDialog.conditions;
|
|
24208
|
+
this_.param = []; //绑定的表单字段
|
|
24209
|
+
if (bindList.length > 0) {
|
|
24210
|
+
bindList.forEach(ele => {
|
|
24211
|
+
//绑定表单字段
|
|
24212
|
+
if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
|
|
24213
|
+
let obj = {};
|
|
24214
|
+
obj.field = ele.field;
|
|
24215
|
+
obj.bind = ele.bind;
|
|
24216
|
+
obj.bindType = ele.bindType;
|
|
24217
|
+
this_.param.push(obj);
|
|
24218
|
+
}
|
|
24219
|
+
//取值对象为脚本时获取value
|
|
24220
|
+
if (ele.bindType === 3) {
|
|
24221
|
+
this_.$requestConfig.executeScript(ele.bind).then(res => {
|
|
24222
|
+
this_.executeScriptResult = res && res.value;
|
|
24223
|
+
});
|
|
24224
|
+
}
|
|
24225
|
+
});
|
|
24226
|
+
}
|
|
24227
|
+
//判断对话框查询是否有条件
|
|
24228
|
+
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
24229
|
+
this_.quickSearch = ''; //填写提示 placeholder
|
|
24230
|
+
this_.conditionBind = [];
|
|
24231
|
+
let queryParams = [];
|
|
24232
|
+
let placeholders = [];
|
|
24233
|
+
if (userInputList.length > 0) {
|
|
24234
|
+
userInputList.forEach(ele => {
|
|
24235
|
+
var obj = {};
|
|
24236
|
+
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
24237
|
+
if (ele.defaultType == '1') {
|
|
24238
|
+
obj[ele.field] = '';
|
|
24239
|
+
queryParams.push(obj);
|
|
24240
|
+
// queryParams[ele.field] = "";
|
|
24241
|
+
this_.conditionBind.push(ele);
|
|
24242
|
+
placeholders.push('请输入' + ele.comment);
|
|
24243
|
+
}
|
|
24244
|
+
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
24245
|
+
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
24246
|
+
}
|
|
24247
|
+
});
|
|
24248
|
+
this.$set(this, 'queryParams', queryParams);
|
|
24249
|
+
this.$set(this, 'placeholders', placeholders);
|
|
24250
|
+
}
|
|
24251
|
+
//判断是否显示条件查询输入框
|
|
24252
|
+
if (this_.quickSearch != '') {
|
|
24253
|
+
this_.querysShow = true;
|
|
24254
|
+
} else {
|
|
24255
|
+
this_.querysShow = true;
|
|
24256
|
+
}
|
|
24257
|
+
this_.quickSearch = '请输入' + this.quickSearch + '查询';
|
|
24258
|
+
this_.style = 'height:' + customDialog.height + 'px';
|
|
24259
|
+
if (window.screen.height && window.screen.height <= 900) {
|
|
24260
|
+
this.style = 'height:440px';
|
|
24261
|
+
}
|
|
24262
|
+
if (customDialog.style == 0 || customDialog.style == 2) {
|
|
24263
|
+
//列表
|
|
24264
|
+
setTimeout(() => {
|
|
24265
|
+
this_.customDialogShow({
|
|
24266
|
+
alias: alias,
|
|
24267
|
+
customDialog: customDialog
|
|
24268
|
+
}, isMounted);
|
|
24269
|
+
}, 100);
|
|
24270
|
+
} else if (customDialog.style == 1) {
|
|
24271
|
+
//树形
|
|
24272
|
+
this_.pageParam = {
|
|
24457
24273
|
alias: alias,
|
|
24458
24274
|
customDialog: customDialog
|
|
24459
|
-
}
|
|
24460
|
-
|
|
24461
|
-
|
|
24462
|
-
|
|
24463
|
-
|
|
24464
|
-
|
|
24465
|
-
|
|
24466
|
-
|
|
24467
|
-
|
|
24468
|
-
|
|
24469
|
-
|
|
24470
|
-
|
|
24471
|
-
|
|
24472
|
-
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
24473
|
-
if (this_.conditionfieldTree.length > 0) {
|
|
24474
|
-
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
24475
|
-
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
24476
|
-
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
24477
|
-
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
24275
|
+
};
|
|
24276
|
+
this_.customDialog = customDialog;
|
|
24277
|
+
let param = {};
|
|
24278
|
+
this_.conditionfieldTree = [];
|
|
24279
|
+
//判断是否存在条件
|
|
24280
|
+
if (customDialog.conditionfield) {
|
|
24281
|
+
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
24282
|
+
if (this_.conditionfieldTree.length > 0) {
|
|
24283
|
+
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
24284
|
+
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
24285
|
+
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
24286
|
+
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
24287
|
+
}
|
|
24478
24288
|
}
|
|
24479
24289
|
}
|
|
24480
24290
|
}
|
|
24481
|
-
|
|
24482
|
-
|
|
24483
|
-
|
|
24484
|
-
|
|
24485
|
-
|
|
24486
|
-
|
|
24487
|
-
|
|
24488
|
-
|
|
24291
|
+
//有动态传入的字段
|
|
24292
|
+
if (!isMounted) {
|
|
24293
|
+
if (JSON.stringify(param) != '{}') {
|
|
24294
|
+
this_.dialogVisible = true;
|
|
24295
|
+
} else {
|
|
24296
|
+
//无动态传入的字段
|
|
24297
|
+
this_.customDialogTreeShow(this_.pageParam);
|
|
24298
|
+
}
|
|
24489
24299
|
}
|
|
24490
24300
|
}
|
|
24491
|
-
}
|
|
24301
|
+
});
|
|
24492
24302
|
},
|
|
24493
24303
|
initTableHeight() {
|
|
24494
24304
|
this.$nextTick(() => {
|
|
@@ -24617,13 +24427,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24617
24427
|
}
|
|
24618
24428
|
// 添加用户id 岗位id 组织id
|
|
24619
24429
|
try {
|
|
24620
|
-
if (this.$requestConfig.getUserId
|
|
24430
|
+
if (this.$requestConfig.getUserId()) {
|
|
24621
24431
|
ctx.userId = this.$requestConfig.getUserId();
|
|
24622
24432
|
}
|
|
24623
|
-
if (this.$requestConfig.getOrgId
|
|
24433
|
+
if (this.$requestConfig.getOrgId()) {
|
|
24624
24434
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
24625
24435
|
}
|
|
24626
|
-
if (this.$requestConfig.getPostId
|
|
24436
|
+
if (this.$requestConfig.getPostId()) {
|
|
24627
24437
|
ctx.postId = this.$requestConfig.getPostId();
|
|
24628
24438
|
}
|
|
24629
24439
|
} catch (e) {
|
|
@@ -24708,19 +24518,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24708
24518
|
this.selectOrgs = this.convertComment2Field(str, field);
|
|
24709
24519
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
24710
24520
|
var val = '';
|
|
24711
|
-
str.forEach(
|
|
24712
|
-
|
|
24713
|
-
if (this.jumpParamKey && this.isHaveJumpUrl && (this.modelName == 'data.' + con['target'][0] || this.modelName.includes('item.') && con['target'][0].endsWith(this.modelName.split('.')[1]))) {
|
|
24714
|
-
let jumpParamKey = this.jumpParamKey;
|
|
24715
|
-
let jumpParamValue = this.jumpParamKey;
|
|
24716
|
-
if (this.jumpParamKey.includes(':')) {
|
|
24717
|
-
jumpParamKey = this.jumpParamKey.split(':')[0];
|
|
24718
|
-
jumpParamValue = this.jumpParamKey.split(':')[1];
|
|
24719
|
-
}
|
|
24720
|
-
val += `${item[con.from]}¯${jumpParamKey}:${this.selectOrgs[index][jumpParamValue]},`;
|
|
24721
|
-
} else {
|
|
24722
|
-
val += item[con.from] + ',';
|
|
24723
|
-
}
|
|
24521
|
+
str.forEach(item => {
|
|
24522
|
+
val += item[con.from] + ',';
|
|
24724
24523
|
});
|
|
24725
24524
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
24726
24525
|
utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
|
|
@@ -24791,36 +24590,19 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24791
24590
|
};
|
|
24792
24591
|
}
|
|
24793
24592
|
//用户输入的
|
|
24794
|
-
let flag = false;
|
|
24795
24593
|
if (this.queryParams.length != 0 && this.queryParams[0] != '') {
|
|
24796
24594
|
this.conditionBind.forEach((item, index) => {
|
|
24797
|
-
// 日期范围特殊处理
|
|
24798
|
-
if (item.dbType == 'date' && item.condition == 'BETWEEN') {
|
|
24799
|
-
if (this.queryParams[index].startDate && !this.queryParams[index].endDate || !this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
24800
|
-
flag = true;
|
|
24801
|
-
this.$message.info('日期范围未填写完整!');
|
|
24802
|
-
return;
|
|
24803
|
-
}
|
|
24804
|
-
if (this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
24805
|
-
this.queryParams[index][item.field] = `${this.queryParams[index].startDate},${this.queryParams[index].endDate}`;
|
|
24806
|
-
} else {
|
|
24807
|
-
this.queryParams[index][item.field] = '';
|
|
24808
|
-
}
|
|
24809
|
-
}
|
|
24810
24595
|
if (this.queryParams[index][item.field]) {
|
|
24811
24596
|
querys.push({
|
|
24812
24597
|
property: item.field,
|
|
24813
24598
|
value: this.queryParams[index][item.field],
|
|
24814
24599
|
group: 'main',
|
|
24815
|
-
operation:
|
|
24600
|
+
operation: 'LIKE',
|
|
24816
24601
|
relation: 'AND'
|
|
24817
24602
|
});
|
|
24818
24603
|
}
|
|
24819
24604
|
});
|
|
24820
24605
|
}
|
|
24821
|
-
if (flag) {
|
|
24822
|
-
return;
|
|
24823
|
-
}
|
|
24824
24606
|
//参数传入的查询拼接
|
|
24825
24607
|
if (this.param) {
|
|
24826
24608
|
this.param.forEach(item => {
|
|
@@ -24859,13 +24641,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24859
24641
|
queryParamMap.total = pageBean.pageBean.total;
|
|
24860
24642
|
// 添加用户id 岗位id 组织id
|
|
24861
24643
|
try {
|
|
24862
|
-
if (this.$requestConfig.getUserId
|
|
24644
|
+
if (this.$requestConfig.getUserId()) {
|
|
24863
24645
|
ctx.userId = this.$requestConfig.getUserId();
|
|
24864
24646
|
}
|
|
24865
|
-
if (this.$requestConfig.getOrgId
|
|
24647
|
+
if (this.$requestConfig.getOrgId()) {
|
|
24866
24648
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
24867
24649
|
}
|
|
24868
|
-
if (this.$requestConfig.getPostId
|
|
24650
|
+
if (this.$requestConfig.getPostId()) {
|
|
24869
24651
|
ctx.postId = this.$requestConfig.getPostId();
|
|
24870
24652
|
}
|
|
24871
24653
|
} catch (e) {
|
|
@@ -24886,14 +24668,12 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24886
24668
|
value: queryParamMap[bindKey] || ctx[bindKey] || ''
|
|
24887
24669
|
};
|
|
24888
24670
|
});
|
|
24889
|
-
param.querys = queryList
|
|
24671
|
+
param.querys = queryList;
|
|
24890
24672
|
if (this.customDialog.needPage) {
|
|
24891
24673
|
param.pageBean = obj;
|
|
24892
24674
|
} else {
|
|
24893
24675
|
param.pageBean.pageSize = -1;
|
|
24894
24676
|
}
|
|
24895
|
-
// 日期格式的 改成数组
|
|
24896
|
-
// this.changeDateFormat(param)
|
|
24897
24677
|
//构造请求的参数
|
|
24898
24678
|
let requestParam = {
|
|
24899
24679
|
pageBean: param,
|
|
@@ -24933,15 +24713,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24933
24713
|
}
|
|
24934
24714
|
this.tableRadioVal = '';
|
|
24935
24715
|
},
|
|
24936
|
-
changeDateFormat(param) {
|
|
24937
|
-
let dateValidate1 = /^\d{4}\-\d{2}\-\d{2}$/;
|
|
24938
|
-
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$/;
|
|
24939
|
-
Object.keys(param).forEach(key => {
|
|
24940
|
-
if (param[key] && typeof param[key] == 'string' && param[key].includes(',') && (dateValidate1.test(param[key].split(',')[0]) || dateValidate2.test(param[key].split(',')[0]))) {
|
|
24941
|
-
param[key] = param[key].split(',');
|
|
24942
|
-
}
|
|
24943
|
-
});
|
|
24944
|
-
},
|
|
24945
24716
|
getSearchValueByKey() {
|
|
24946
24717
|
let queryParamsObj = {};
|
|
24947
24718
|
if (this.queryParams.length > 0) {
|
|
@@ -25167,8 +24938,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25167
24938
|
},
|
|
25168
24939
|
// 同步选择结果
|
|
25169
24940
|
syncInputValue() {
|
|
25170
|
-
// 对话框跳转url需要两个参数 1当前控件绑定的对象参数modelName 2对话框配置中配置的key名称
|
|
25171
|
-
// 同步值时,如果有绑定url跳转参数,值格式为 名称¯跳转key:跳转value
|
|
25172
24941
|
let thisIndex = null; //当前数据所在下标
|
|
25173
24942
|
let parentIndex = null; //父节点所在下标
|
|
25174
24943
|
if (this.$parent.$el) {
|
|
@@ -25242,39 +25011,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25242
25011
|
}
|
|
25243
25012
|
}
|
|
25244
25013
|
}
|
|
25245
|
-
// 如果是查询中使用的对话框
|
|
25246
|
-
if (this.dialogType == 'search') {
|
|
25247
|
-
let returnVal = [];
|
|
25248
|
-
str.forEach(item => {
|
|
25249
|
-
returnVal.push(decodeURIComponent(item[this.modelName]));
|
|
25250
|
-
});
|
|
25251
|
-
this.$emit('updateInput', returnVal.join(','));
|
|
25252
|
-
return;
|
|
25253
|
-
}
|
|
25254
25014
|
const pInst = utils["a" /* default */].getOnlineFormInstance(this);
|
|
25255
25015
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
25256
25016
|
var val = '';
|
|
25257
25017
|
var from = con.from.toLowerCase();
|
|
25258
25018
|
str.forEach(item => {
|
|
25259
|
-
// 如果有绑定url跳转参数 需获取跳转参数的key
|
|
25260
25019
|
if (item) {
|
|
25261
|
-
|
|
25262
|
-
// 如果有冒号 冒号前面是传值key 后面是取值key
|
|
25263
|
-
let jumpParamKey = this.jumpParamKey;
|
|
25264
|
-
let jumpParamValue = this.jumpParamKey;
|
|
25265
|
-
if (this.jumpParamKey.includes(':')) {
|
|
25266
|
-
jumpParamKey = this.jumpParamKey.split(':')[0];
|
|
25267
|
-
jumpParamValue = this.jumpParamKey.split(':')[1];
|
|
25268
|
-
}
|
|
25269
|
-
// 需根据key 找到对应 返回数据的返回名称
|
|
25270
|
-
let returnMap = returnStr.find(k => {
|
|
25271
|
-
return k.field.toLowerCase() == jumpParamValue.toLowerCase();
|
|
25272
|
-
});
|
|
25273
|
-
let returnMapKey = returnMap ? returnMap.comment : '';
|
|
25274
|
-
val += `${decodeURIComponent(item[from])}¯${jumpParamKey}:${decodeURIComponent(item[returnMapKey])},`;
|
|
25275
|
-
} else {
|
|
25276
|
-
val += decodeURIComponent(item[from]) + ',';
|
|
25277
|
-
}
|
|
25020
|
+
val += decodeURIComponent(item[from]) + ',';
|
|
25278
25021
|
}
|
|
25279
25022
|
});
|
|
25280
25023
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
@@ -25293,6 +25036,7 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25293
25036
|
const _val = val.substring(0, val.length - 1);
|
|
25294
25037
|
if (path) {
|
|
25295
25038
|
if (this.modelName && this.modelName.endsWith(path)) {
|
|
25039
|
+
// this.$emit('input', _val)
|
|
25296
25040
|
this.$emit('updateInput', _val);
|
|
25297
25041
|
}
|
|
25298
25042
|
utils["a" /* default */].setValueByPath(pInst, `${pInst.data ? 'data.' : 'model.'}${path}`, _val, thisIndex);
|
|
@@ -25524,8 +25268,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25524
25268
|
});
|
|
25525
25269
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=script&lang=js&
|
|
25526
25270
|
/* harmony default export */ var src_customDialogvue_type_script_lang_js_ = (customDialogvue_type_script_lang_js_);
|
|
25527
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=
|
|
25528
|
-
var
|
|
25271
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=3a57945e&prod&lang=scss&scoped=true&
|
|
25272
|
+
var customDialogvue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true_ = __webpack_require__("7ff9");
|
|
25529
25273
|
|
|
25530
25274
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue
|
|
25531
25275
|
|
|
@@ -25538,47 +25282,31 @@ var customDialogvue_type_style_index_0_id_3e2f487c_prod_lang_scss_scoped_true_ =
|
|
|
25538
25282
|
|
|
25539
25283
|
var customDialog_component = normalizeComponent(
|
|
25540
25284
|
src_customDialogvue_type_script_lang_js_,
|
|
25541
|
-
|
|
25542
|
-
|
|
25285
|
+
customDialogvue_type_template_id_3a57945e_scoped_true_render,
|
|
25286
|
+
customDialogvue_type_template_id_3a57945e_scoped_true_staticRenderFns,
|
|
25543
25287
|
false,
|
|
25544
25288
|
null,
|
|
25545
|
-
"
|
|
25289
|
+
"3a57945e",
|
|
25546
25290
|
null
|
|
25547
25291
|
|
|
25548
25292
|
)
|
|
25549
25293
|
|
|
25550
25294
|
/* harmony default export */ var CustomDialog_src_customDialog = (customDialog_component.exports);
|
|
25551
|
-
// 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=
|
|
25552
|
-
var
|
|
25553
|
-
|
|
25554
|
-
|
|
25555
|
-
|
|
25556
|
-
|
|
25557
|
-
|
|
25558
|
-
|
|
25559
|
-
|
|
25560
|
-
}}}):_vm._e(),(condition.config.alias == 'post')?_c('ht-post-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25561
|
-
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25562
|
-
}}}):_vm._e(),(condition.config.alias == 'dimension')?_c('ht-dimension-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25563
|
-
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25564
|
-
}}}):_vm._e()],1):_vm._e(),(condition.controllerType == '5')?_c('div',[_c('ht-custom-dialog',{attrs:{"model-name":condition.config.keyBind,"dialogType":"search","custdialog":{
|
|
25565
|
-
name: '请选择',
|
|
25566
|
-
icon: '',
|
|
25567
|
-
custDialog: {
|
|
25568
|
-
selectNum: 1,
|
|
25569
|
-
conditions: [],
|
|
25570
|
-
mappingConf: [],
|
|
25571
|
-
custQueryJson: [],
|
|
25572
|
-
alias: condition.config.alias,
|
|
25573
|
-
type: 'custDialog',
|
|
25574
|
-
},
|
|
25575
|
-
}},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(
|
|
25295
|
+
// 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&
|
|
25296
|
+
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":{
|
|
25297
|
+
alias: condition.config.customQuery.alias,
|
|
25298
|
+
valueBind: condition.config.customQuery.valueBind,
|
|
25299
|
+
noInit: '',
|
|
25300
|
+
labelBind: condition.config.customQuery.labelBind,
|
|
25301
|
+
gangedBind: '{}',
|
|
25302
|
+
bind: condition.config.bind,
|
|
25303
|
+
},"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(
|
|
25576
25304
|
function (k) { return k.defaultType == '4'; }
|
|
25577
|
-
)),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)
|
|
25578
|
-
var
|
|
25305
|
+
)),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)}
|
|
25306
|
+
var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns = []
|
|
25579
25307
|
|
|
25580
25308
|
|
|
25581
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=
|
|
25309
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=1661eebb&scoped=true&
|
|
25582
25310
|
|
|
25583
25311
|
// 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&
|
|
25584
25312
|
//
|
|
@@ -25839,116 +25567,6 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
25839
25567
|
//
|
|
25840
25568
|
//
|
|
25841
25569
|
//
|
|
25842
|
-
//
|
|
25843
|
-
//
|
|
25844
|
-
//
|
|
25845
|
-
//
|
|
25846
|
-
//
|
|
25847
|
-
//
|
|
25848
|
-
//
|
|
25849
|
-
//
|
|
25850
|
-
//
|
|
25851
|
-
//
|
|
25852
|
-
//
|
|
25853
|
-
//
|
|
25854
|
-
//
|
|
25855
|
-
//
|
|
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
25570
|
|
|
25953
25571
|
|
|
25954
25572
|
|
|
@@ -25970,17 +25588,10 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
25970
25588
|
subIndex: Number,
|
|
25971
25589
|
sunIndex: Number,
|
|
25972
25590
|
subPath: String,
|
|
25973
|
-
currentSubData: Array
|
|
25974
|
-
dialogConfig: Object,
|
|
25975
|
-
dialogType: String
|
|
25591
|
+
currentSubData: Array
|
|
25976
25592
|
},
|
|
25977
25593
|
data() {
|
|
25978
25594
|
return {
|
|
25979
|
-
dateType: 'date',
|
|
25980
|
-
currentDate: '',
|
|
25981
|
-
// 当前日期
|
|
25982
|
-
isShowDatePop: false,
|
|
25983
|
-
// 是否显示日期选择控件
|
|
25984
25595
|
isShowMoreSearch: false,
|
|
25985
25596
|
treeSelectText: '',
|
|
25986
25597
|
// 组合树时选中的查询条件
|
|
@@ -26060,47 +25671,9 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
26060
25671
|
sureButtonText() {
|
|
26061
25672
|
const selectedText = this.selectIds.length > 0 ? `(${this.selectIds.length})` : '';
|
|
26062
25673
|
return `${this.$t('ht.common.confirm')}${selectedText}`;
|
|
26063
|
-
},
|
|
26064
|
-
jumpParamKey() {
|
|
26065
|
-
return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
|
|
26066
|
-
},
|
|
26067
|
-
// 是否保存成跳转url参数
|
|
26068
|
-
isHaveJumpUrl() {
|
|
26069
|
-
return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
26070
|
-
},
|
|
26071
|
-
sortDisplayfield() {
|
|
26072
|
-
return this.displayfield.sort((a, b) => {
|
|
26073
|
-
return a.sort > b.sort ? 1 : -1;
|
|
26074
|
-
});
|
|
26075
25674
|
}
|
|
26076
25675
|
},
|
|
26077
25676
|
methods: {
|
|
26078
|
-
// 获取已选择的选择器数据id
|
|
26079
|
-
getSelectId(data) {
|
|
26080
|
-
if (!data || !data.length) {
|
|
26081
|
-
return '';
|
|
26082
|
-
}
|
|
26083
|
-
let ids = [];
|
|
26084
|
-
data.forEach(item => {
|
|
26085
|
-
ids.push(item.id);
|
|
26086
|
-
});
|
|
26087
|
-
return ids.join(',');
|
|
26088
|
-
},
|
|
26089
|
-
showDate(index, key) {
|
|
26090
|
-
this.dateType = this.conditionBind[index].config.inputFormat.includes('mm:') ? 'datetime' : 'date';
|
|
26091
|
-
this.currentDateData = {
|
|
26092
|
-
index,
|
|
26093
|
-
key
|
|
26094
|
-
};
|
|
26095
|
-
this.currentDate = this.queryParams[index][key] ? new Date(this.queryParams[index][key].replace(/-/g, '/')) : new Date();
|
|
26096
|
-
this.isShowDatePop = true;
|
|
26097
|
-
},
|
|
26098
|
-
// 日期确认
|
|
26099
|
-
confirmFn() {
|
|
26100
|
-
let currentConfig = this.conditionBind[this.currentDateData.index];
|
|
26101
|
-
this.queryParams[this.currentDateData.index][this.currentDateData.key] = this.currentDate.format(currentConfig.config.inputFormat);
|
|
26102
|
-
this.isShowDatePop = false;
|
|
26103
|
-
},
|
|
26104
25677
|
searchInputChange() {
|
|
26105
25678
|
if (!this.isShowMoreSearch) {
|
|
26106
25679
|
this.search(true);
|
|
@@ -26146,121 +25719,112 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
26146
25719
|
this.search(true);
|
|
26147
25720
|
},
|
|
26148
25721
|
showDialog() {
|
|
25722
|
+
const this_ = this;
|
|
26149
25723
|
this.fixedParams = {};
|
|
26150
|
-
// 如果已存在配置信息就不去请求配置信息 直接初始化数据
|
|
26151
|
-
if (this.dialogConfig) {
|
|
26152
|
-
this.initDialog(this.dialogConfig);
|
|
26153
|
-
return;
|
|
26154
|
-
}
|
|
26155
25724
|
var alias = this.custdialog.custDialog.alias;
|
|
26156
25725
|
this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
|
|
26157
|
-
|
|
26158
|
-
|
|
26159
|
-
|
|
26160
|
-
initDialog(customDialog) {
|
|
26161
|
-
let alias = this.custdialog.custDialog.alias;
|
|
26162
|
-
const this_ = this;
|
|
26163
|
-
if (!customDialog || !customDialog.alias) {
|
|
26164
|
-
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
26165
|
-
return;
|
|
26166
|
-
}
|
|
26167
|
-
if (customDialog.style == 1) {
|
|
26168
|
-
var displaylist = JSON.parse(customDialog.displayfield);
|
|
26169
|
-
this_.nodeKey = displaylist.id;
|
|
26170
|
-
}
|
|
26171
|
-
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
26172
|
-
let obj = {};
|
|
26173
|
-
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
26174
|
-
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
26175
|
-
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
26176
|
-
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
26177
|
-
if (exp) {
|
|
26178
|
-
const params = JSON.parse(exp);
|
|
26179
|
-
if (params.pageBean) {
|
|
26180
|
-
this.pagination = {
|
|
26181
|
-
...params.pageBean
|
|
26182
|
-
};
|
|
26183
|
-
}
|
|
25726
|
+
if (!customDialog || !customDialog.alias) {
|
|
25727
|
+
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
25728
|
+
return;
|
|
26184
25729
|
}
|
|
26185
|
-
|
|
26186
|
-
|
|
26187
|
-
|
|
26188
|
-
|
|
26189
|
-
|
|
26190
|
-
|
|
26191
|
-
|
|
26192
|
-
|
|
26193
|
-
|
|
26194
|
-
|
|
26195
|
-
|
|
26196
|
-
|
|
26197
|
-
|
|
26198
|
-
|
|
26199
|
-
|
|
26200
|
-
|
|
26201
|
-
|
|
25730
|
+
if (customDialog.style == 1) {
|
|
25731
|
+
var displaylist = JSON.parse(customDialog.displayfield);
|
|
25732
|
+
this_.nodeKey = displaylist.id;
|
|
25733
|
+
}
|
|
25734
|
+
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
25735
|
+
let obj = {};
|
|
25736
|
+
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
25737
|
+
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
25738
|
+
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
25739
|
+
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
25740
|
+
if (exp) {
|
|
25741
|
+
const params = JSON.parse(exp);
|
|
25742
|
+
if (params.pageBean) {
|
|
25743
|
+
this.pagination = {
|
|
25744
|
+
...params.pageBean
|
|
25745
|
+
};
|
|
25746
|
+
}
|
|
26202
25747
|
}
|
|
26203
|
-
}
|
|
26204
|
-
|
|
25748
|
+
}
|
|
25749
|
+
//对话框按表单字段查询(参数传入的)
|
|
25750
|
+
let bindList = this_.custdialog.custDialog.conditions;
|
|
25751
|
+
this_.param = []; //绑定的表单字段
|
|
25752
|
+
if (bindList.length > 0) {
|
|
25753
|
+
bindList.forEach(ele => {
|
|
25754
|
+
//绑定表单字段
|
|
25755
|
+
if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
|
|
25756
|
+
let obj = {};
|
|
25757
|
+
obj.field = ele.field;
|
|
25758
|
+
obj.bind = ele.bind;
|
|
25759
|
+
obj.bindType = ele.bindType;
|
|
25760
|
+
this_.param.push(obj);
|
|
25761
|
+
}
|
|
25762
|
+
// bindType 1 表单字段 2固定 3脚本
|
|
25763
|
+
if (ele.defaultType == '3' && ele.bindType === 2) {
|
|
25764
|
+
this_.fixedParams[ele.field] = ele.bind || '';
|
|
25765
|
+
}
|
|
25766
|
+
});
|
|
25767
|
+
}
|
|
26205
25768
|
|
|
26206
|
-
|
|
26207
|
-
|
|
26208
|
-
|
|
26209
|
-
|
|
26210
|
-
|
|
26211
|
-
|
|
26212
|
-
|
|
26213
|
-
|
|
26214
|
-
|
|
26215
|
-
|
|
26216
|
-
|
|
26217
|
-
|
|
26218
|
-
|
|
26219
|
-
|
|
26220
|
-
|
|
26221
|
-
|
|
26222
|
-
|
|
26223
|
-
|
|
26224
|
-
|
|
26225
|
-
|
|
26226
|
-
|
|
26227
|
-
|
|
26228
|
-
|
|
26229
|
-
|
|
26230
|
-
|
|
26231
|
-
|
|
26232
|
-
|
|
26233
|
-
|
|
26234
|
-
|
|
26235
|
-
|
|
26236
|
-
|
|
26237
|
-
|
|
26238
|
-
|
|
26239
|
-
|
|
26240
|
-
|
|
26241
|
-
|
|
26242
|
-
|
|
26243
|
-
|
|
26244
|
-
|
|
26245
|
-
|
|
26246
|
-
|
|
26247
|
-
|
|
26248
|
-
|
|
26249
|
-
|
|
26250
|
-
|
|
26251
|
-
|
|
25769
|
+
//判断对话框查询是否有条件
|
|
25770
|
+
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
25771
|
+
this_.conditionBind = [];
|
|
25772
|
+
let queryParams = [];
|
|
25773
|
+
let placeholders = [];
|
|
25774
|
+
if (userInputList.length > 0) {
|
|
25775
|
+
userInputList.forEach(ele => {
|
|
25776
|
+
var obj = {};
|
|
25777
|
+
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
25778
|
+
if (ele.defaultType == '1') {
|
|
25779
|
+
obj[ele.field] = '';
|
|
25780
|
+
queryParams.push(obj);
|
|
25781
|
+
// queryParams[ele.field] = "";
|
|
25782
|
+
this_.conditionBind.push(ele);
|
|
25783
|
+
placeholders.push('请输入' + ele.comment);
|
|
25784
|
+
}
|
|
25785
|
+
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
25786
|
+
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
25787
|
+
}
|
|
25788
|
+
});
|
|
25789
|
+
this.$set(this, 'queryParams', queryParams);
|
|
25790
|
+
this.$set(this, 'placeholders', placeholders);
|
|
25791
|
+
}
|
|
25792
|
+
if (customDialog.style == 0 || customDialog.style == 2) {
|
|
25793
|
+
//列表
|
|
25794
|
+
this_.customDialogShow({
|
|
25795
|
+
alias: alias,
|
|
25796
|
+
customDialog: customDialog
|
|
25797
|
+
});
|
|
25798
|
+
} else if (customDialog.style == 1) {
|
|
25799
|
+
//树形
|
|
25800
|
+
this_.pageParam = {
|
|
25801
|
+
alias: alias,
|
|
25802
|
+
customDialog: customDialog
|
|
25803
|
+
};
|
|
25804
|
+
this_.customDialog = customDialog;
|
|
25805
|
+
let param = {};
|
|
25806
|
+
this_.conditionfieldTree = [];
|
|
25807
|
+
//判断是否存在条件
|
|
25808
|
+
if (customDialog.conditionfield) {
|
|
25809
|
+
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
25810
|
+
if (this_.conditionfieldTree.length > 0) {
|
|
25811
|
+
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
25812
|
+
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
25813
|
+
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
25814
|
+
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
25815
|
+
}
|
|
26252
25816
|
}
|
|
26253
25817
|
}
|
|
26254
25818
|
}
|
|
25819
|
+
//有动态传入的字段
|
|
25820
|
+
if (JSON.stringify(param) != '{}') {
|
|
25821
|
+
this_.dialogVisible = true;
|
|
25822
|
+
} else {
|
|
25823
|
+
//无动态传入的字段
|
|
25824
|
+
this_.customDialogTreeShow(this_.pageParam);
|
|
25825
|
+
}
|
|
26255
25826
|
}
|
|
26256
|
-
|
|
26257
|
-
if (JSON.stringify(param) != '{}') {
|
|
26258
|
-
this_.dialogVisible = true;
|
|
26259
|
-
} else {
|
|
26260
|
-
//无动态传入的字段
|
|
26261
|
-
this_.customDialogTreeShow(this_.pageParam);
|
|
26262
|
-
}
|
|
26263
|
-
}
|
|
25827
|
+
});
|
|
26264
25828
|
},
|
|
26265
25829
|
treeClick(data) {
|
|
26266
25830
|
// 单选
|
|
@@ -26378,13 +25942,13 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
26378
25942
|
}
|
|
26379
25943
|
// 添加用户id 岗位id 组织id
|
|
26380
25944
|
try {
|
|
26381
|
-
if (this.$requestConfig.getUserId
|
|
25945
|
+
if (this.$requestConfig.getUserId()) {
|
|
26382
25946
|
ctx.userId = this.$requestConfig.getUserId();
|
|
26383
25947
|
}
|
|
26384
|
-
if (this.$requestConfig.getOrgId
|
|
25948
|
+
if (this.$requestConfig.getOrgId()) {
|
|
26385
25949
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
26386
25950
|
}
|
|
26387
|
-
if (this.$requestConfig.getPostId
|
|
25951
|
+
if (this.$requestConfig.getPostId()) {
|
|
26388
25952
|
ctx.postId = this.$requestConfig.getPostId();
|
|
26389
25953
|
}
|
|
26390
25954
|
} catch (e) {
|
|
@@ -26469,20 +26033,8 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
26469
26033
|
this.selectOrgs = this.convertComment2Field(str, field);
|
|
26470
26034
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
26471
26035
|
var val = '';
|
|
26472
|
-
str.forEach(
|
|
26473
|
-
|
|
26474
|
-
if (this.jumpParamKey && this.isHaveJumpUrl && (this.modelName == 'data.' + con['target'][0] || this.modelName.includes('item.') && con['target'][0].endsWith(this.modelName.split('.')[1]))) {
|
|
26475
|
-
// 如果有冒号 冒号前面是传值key 后面是取值key
|
|
26476
|
-
let jumpParamKey = this.jumpParamKey;
|
|
26477
|
-
let jumpParamValue = this.jumpParamKey;
|
|
26478
|
-
if (this.jumpParamKey.includes(':')) {
|
|
26479
|
-
jumpParamKey = this.jumpParamKey.split(':')[0];
|
|
26480
|
-
jumpParamValue = this.jumpParamKey.split(':')[1];
|
|
26481
|
-
}
|
|
26482
|
-
val += `${item[con.from]}¯${jumpParamKey}:${this.selectOrgs[index][jumpParamValue]},`;
|
|
26483
|
-
} else {
|
|
26484
|
-
val += item[con.from] + ',';
|
|
26485
|
-
}
|
|
26036
|
+
str.forEach(item => {
|
|
26037
|
+
val += item[con.from] + ',';
|
|
26486
26038
|
});
|
|
26487
26039
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
26488
26040
|
utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
|
|
@@ -26555,19 +26107,6 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
26555
26107
|
//用户输入的
|
|
26556
26108
|
if (this.queryParams.length != 0 && this.queryParams[0] != '') {
|
|
26557
26109
|
this.conditionBind.forEach((item, index) => {
|
|
26558
|
-
// 日期范围特殊处理
|
|
26559
|
-
if (item.dbType == 'date' && item.condition == 'BETWEEN') {
|
|
26560
|
-
if (this.queryParams[index].startDate && !this.queryParams[index].endDate || !this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
26561
|
-
flag = true;
|
|
26562
|
-
this.$message.info('日期范围未填写完整!');
|
|
26563
|
-
return;
|
|
26564
|
-
}
|
|
26565
|
-
if (this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
26566
|
-
this.queryParams[index][item.field] = `${this.queryParams[index].startDate},${this.queryParams[index].endDate}`;
|
|
26567
|
-
} else {
|
|
26568
|
-
this.queryParams[index][item.field] = '';
|
|
26569
|
-
}
|
|
26570
|
-
}
|
|
26571
26110
|
if (this.queryParams[index][item.field]) {
|
|
26572
26111
|
querys.push({
|
|
26573
26112
|
property: item.field,
|
|
@@ -26616,13 +26155,13 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
26616
26155
|
ctx.total = pageBean.pageBean.total;
|
|
26617
26156
|
// 添加用户id 岗位id 组织id
|
|
26618
26157
|
try {
|
|
26619
|
-
if (this.$requestConfig.getUserId
|
|
26158
|
+
if (this.$requestConfig.getUserId()) {
|
|
26620
26159
|
ctx.userId = this.$requestConfig.getUserId();
|
|
26621
26160
|
}
|
|
26622
|
-
if (this.$requestConfig.getOrgId
|
|
26161
|
+
if (this.$requestConfig.getOrgId()) {
|
|
26623
26162
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
26624
26163
|
}
|
|
26625
|
-
if (this.$requestConfig.getPostId
|
|
26164
|
+
if (this.$requestConfig.getPostId()) {
|
|
26626
26165
|
ctx.postId = this.$requestConfig.getPostId();
|
|
26627
26166
|
}
|
|
26628
26167
|
} catch (e) {
|
|
@@ -26650,8 +26189,6 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
26650
26189
|
} else {
|
|
26651
26190
|
param.pageBean.pageSize = -1;
|
|
26652
26191
|
}
|
|
26653
|
-
// 日期格式的 改成数组
|
|
26654
|
-
// this.changeDateFormat(param)
|
|
26655
26192
|
//构造请求的参数
|
|
26656
26193
|
let requestParam = {
|
|
26657
26194
|
pageBean: param,
|
|
@@ -26687,15 +26224,6 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
26687
26224
|
}
|
|
26688
26225
|
}
|
|
26689
26226
|
},
|
|
26690
|
-
changeDateFormat(param) {
|
|
26691
|
-
let dateValidate1 = /^\d{4}\-\d{2}\-\d{2}$/;
|
|
26692
|
-
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$/;
|
|
26693
|
-
Object.keys(param).forEach(key => {
|
|
26694
|
-
if (param[key] && typeof param[key] == 'string' && param[key].includes(',') && (dateValidate1.test(param[key].split(',')[0]) || dateValidate2.test(param[key].split(',')[0]))) {
|
|
26695
|
-
param[key] = param[key].split(',');
|
|
26696
|
-
}
|
|
26697
|
-
});
|
|
26698
|
-
},
|
|
26699
26227
|
getSearchValueByKey() {
|
|
26700
26228
|
let queryParamsObj = {};
|
|
26701
26229
|
if (this.queryParams.length > 0) {
|
|
@@ -26894,37 +26422,13 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
26894
26422
|
}
|
|
26895
26423
|
}
|
|
26896
26424
|
}
|
|
26897
|
-
// 如果是查询中使用的对话框
|
|
26898
|
-
if (this.dialogType == 'search') {
|
|
26899
|
-
let returnVal = [];
|
|
26900
|
-
str.forEach(item => {
|
|
26901
|
-
returnVal.push(decodeURIComponent(item[this.modelName]));
|
|
26902
|
-
});
|
|
26903
|
-
this.$emit('updateInput', returnVal.join(','));
|
|
26904
|
-
return;
|
|
26905
|
-
}
|
|
26906
26425
|
const pInst = utils["a" /* default */].getOnlineFormInstance(this);
|
|
26907
26426
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
26908
26427
|
var val = '';
|
|
26909
26428
|
var from = con.from.toLowerCase();
|
|
26910
26429
|
str.forEach(item => {
|
|
26911
26430
|
if (item) {
|
|
26912
|
-
|
|
26913
|
-
let jumpParamKey = this.jumpParamKey;
|
|
26914
|
-
let jumpParamValue = this.jumpParamKey;
|
|
26915
|
-
if (this.jumpParamKey.includes(':')) {
|
|
26916
|
-
jumpParamKey = this.jumpParamKey.split(':')[0];
|
|
26917
|
-
jumpParamValue = this.jumpParamKey.split(':')[1];
|
|
26918
|
-
}
|
|
26919
|
-
// 需根据key 找到对应 返回数据的返回名称
|
|
26920
|
-
let returnMap = returnStr.find(k => {
|
|
26921
|
-
return k.field.toLowerCase() == jumpParamValue.toLowerCase();
|
|
26922
|
-
});
|
|
26923
|
-
let returnMapKey = returnMap ? returnMap.comment : '';
|
|
26924
|
-
val += `${decodeURIComponent(item[from])}¯${jumpParamKey}:${decodeURIComponent(item[returnMapKey])},`;
|
|
26925
|
-
} else {
|
|
26926
|
-
val += decodeURIComponent(item[from]) + ',';
|
|
26927
|
-
}
|
|
26431
|
+
val += decodeURIComponent(item[from]) + ',';
|
|
26928
26432
|
}
|
|
26929
26433
|
});
|
|
26930
26434
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
@@ -26961,6 +26465,20 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
26961
26465
|
}
|
|
26962
26466
|
}
|
|
26963
26467
|
},
|
|
26468
|
+
// getSelected() {
|
|
26469
|
+
// let arr = []
|
|
26470
|
+
// this.selectIds.forEach((item) => {
|
|
26471
|
+
// debugger
|
|
26472
|
+
// let obj = this.dialogData.find((sub) => {
|
|
26473
|
+
// return sub.id_ === item
|
|
26474
|
+
// })
|
|
26475
|
+
// if (obj) {
|
|
26476
|
+
// arr.push(obj)
|
|
26477
|
+
// }
|
|
26478
|
+
// })
|
|
26479
|
+
|
|
26480
|
+
// return arr
|
|
26481
|
+
// },
|
|
26964
26482
|
calacInputSuffixHeight() {
|
|
26965
26483
|
this.$emit('calacInputSuffixHeight');
|
|
26966
26484
|
},
|
|
@@ -27162,11 +26680,11 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
27162
26680
|
});
|
|
27163
26681
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=script&lang=js&
|
|
27164
26682
|
/* harmony default export */ var src_customMobileDialogvue_type_script_lang_js_ = (customMobileDialogvue_type_script_lang_js_);
|
|
27165
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=
|
|
27166
|
-
var
|
|
26683
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=1661eebb&prod&lang=scss&scoped=true&
|
|
26684
|
+
var customMobileDialogvue_type_style_index_0_id_1661eebb_prod_lang_scss_scoped_true_ = __webpack_require__("de6a");
|
|
27167
26685
|
|
|
27168
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=
|
|
27169
|
-
var
|
|
26686
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=1661eebb&prod&lang=scss&
|
|
26687
|
+
var customMobileDialogvue_type_style_index_1_id_1661eebb_prod_lang_scss_ = __webpack_require__("49f9");
|
|
27170
26688
|
|
|
27171
26689
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue
|
|
27172
26690
|
|
|
@@ -27180,11 +26698,11 @@ var customMobileDialogvue_type_style_index_1_id_384dd988_prod_lang_scss_ = __web
|
|
|
27180
26698
|
|
|
27181
26699
|
var customMobileDialog_component = normalizeComponent(
|
|
27182
26700
|
src_customMobileDialogvue_type_script_lang_js_,
|
|
27183
|
-
|
|
27184
|
-
|
|
26701
|
+
customMobileDialogvue_type_template_id_1661eebb_scoped_true_render,
|
|
26702
|
+
customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns,
|
|
27185
26703
|
false,
|
|
27186
26704
|
null,
|
|
27187
|
-
"
|
|
26705
|
+
"1661eebb",
|
|
27188
26706
|
null
|
|
27189
26707
|
|
|
27190
26708
|
)
|
|
@@ -27328,40 +26846,6 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27328
26846
|
//
|
|
27329
26847
|
//
|
|
27330
26848
|
//
|
|
27331
|
-
//
|
|
27332
|
-
//
|
|
27333
|
-
//
|
|
27334
|
-
//
|
|
27335
|
-
//
|
|
27336
|
-
//
|
|
27337
|
-
//
|
|
27338
|
-
//
|
|
27339
|
-
//
|
|
27340
|
-
//
|
|
27341
|
-
//
|
|
27342
|
-
//
|
|
27343
|
-
//
|
|
27344
|
-
//
|
|
27345
|
-
//
|
|
27346
|
-
//
|
|
27347
|
-
//
|
|
27348
|
-
//
|
|
27349
|
-
//
|
|
27350
|
-
//
|
|
27351
|
-
//
|
|
27352
|
-
//
|
|
27353
|
-
//
|
|
27354
|
-
//
|
|
27355
|
-
//
|
|
27356
|
-
//
|
|
27357
|
-
//
|
|
27358
|
-
//
|
|
27359
|
-
//
|
|
27360
|
-
//
|
|
27361
|
-
//
|
|
27362
|
-
//
|
|
27363
|
-
//
|
|
27364
|
-
//
|
|
27365
26849
|
|
|
27366
26850
|
|
|
27367
26851
|
|
|
@@ -27393,19 +26877,10 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27393
26877
|
subIndex: Number,
|
|
27394
26878
|
sunIndex: Number,
|
|
27395
26879
|
subPath: String,
|
|
27396
|
-
currentSubData: Array
|
|
27397
|
-
dialogType: {
|
|
27398
|
-
// search表示在查询条件使用 form表示在表单中使用
|
|
27399
|
-
type: String,
|
|
27400
|
-
default: 'form'
|
|
27401
|
-
}
|
|
26880
|
+
currentSubData: Array
|
|
27402
26881
|
},
|
|
27403
26882
|
data() {
|
|
27404
26883
|
return {
|
|
27405
|
-
mobileSrc: '',
|
|
27406
|
-
isDialogFormShow: false,
|
|
27407
|
-
dialogConfig: null,
|
|
27408
|
-
// 对话框配置信息
|
|
27409
26884
|
isEditInputShow: false,
|
|
27410
26885
|
customValue: '',
|
|
27411
26886
|
defualtTooltipplacement: 'bottom',
|
|
@@ -27454,24 +26929,9 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27454
26929
|
}
|
|
27455
26930
|
let result = [];
|
|
27456
26931
|
nameAry.forEach(m => {
|
|
27457
|
-
|
|
27458
|
-
|
|
27459
|
-
|
|
27460
|
-
if (m.includes('¯') && m.split('¯')[1] || m.includes('ˉ') && m.split('ˉ')[1]) {
|
|
27461
|
-
let val1 = m.includes('¯') ? m.split('¯')[0] : m.split('ˉ')[0];
|
|
27462
|
-
let val2 = m.includes('¯') ? m.split('¯')[1] : m.split('ˉ')[1];
|
|
27463
|
-
n.value = val1;
|
|
27464
|
-
let jumpParamStr = val2;
|
|
27465
|
-
if (jumpParamStr) {
|
|
27466
|
-
let jumpParam = jumpParamStr.split(':');
|
|
27467
|
-
n.jumpParamKey = jumpParam[0];
|
|
27468
|
-
n.jumpParamValue = jumpParam[1];
|
|
27469
|
-
}
|
|
27470
|
-
} else {
|
|
27471
|
-
n = {
|
|
27472
|
-
value: m
|
|
27473
|
-
};
|
|
27474
|
-
}
|
|
26932
|
+
let n = {
|
|
26933
|
+
value: m
|
|
26934
|
+
};
|
|
27475
26935
|
result.push(n);
|
|
27476
26936
|
});
|
|
27477
26937
|
return result;
|
|
@@ -27479,16 +26939,8 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27479
26939
|
},
|
|
27480
26940
|
isAllowCustom() {
|
|
27481
26941
|
return this.custdialog && this.custdialog.allowInput;
|
|
27482
|
-
},
|
|
27483
|
-
// 是否展示可跳转颜色
|
|
27484
|
-
isSrcColor() {
|
|
27485
|
-
return this.dialogConfig && this.dialogType !== 'search' && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
27486
26942
|
}
|
|
27487
26943
|
},
|
|
27488
|
-
created() {
|
|
27489
|
-
// 获取对话框配置,看是否有配置url跳转
|
|
27490
|
-
this.getDialogConfig();
|
|
27491
|
-
},
|
|
27492
26944
|
mounted() {
|
|
27493
26945
|
setTimeout(() => {
|
|
27494
26946
|
const {
|
|
@@ -27506,74 +26958,9 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27506
26958
|
}
|
|
27507
26959
|
//获取对话框按钮名称宽度
|
|
27508
26960
|
this.calacInputSuffixWidth();
|
|
27509
|
-
if (this.value && this.inputWriteable) {
|
|
27510
|
-
this.calacInputSuffixHeight();
|
|
27511
|
-
}
|
|
27512
26961
|
}, 50);
|
|
27513
26962
|
},
|
|
27514
26963
|
methods: {
|
|
27515
|
-
// 跳转url页面
|
|
27516
|
-
jumpUrl(item) {
|
|
27517
|
-
if (!this.isSrcColor) {
|
|
27518
|
-
if (this.inputWriteable) {
|
|
27519
|
-
this.showEditInput();
|
|
27520
|
-
}
|
|
27521
|
-
return;
|
|
27522
|
-
}
|
|
27523
|
-
let url = this.isMobile ? this.dialogConfig.mobileUrl : this.dialogConfig.pcUrl;
|
|
27524
|
-
// 获取通用token 和 url翻译
|
|
27525
|
-
Promise.all([this.$requestConfig.getThreeTreeToken(), this.transformUrl(url)]).then(res => {
|
|
27526
|
-
if (res[0] && res[0].code == 200) {
|
|
27527
|
-
let token = res[0].value;
|
|
27528
|
-
let endUrl = res[1];
|
|
27529
|
-
// 拼接参数 token和参数
|
|
27530
|
-
if (endUrl.indexOf('?') == -1) {
|
|
27531
|
-
endUrl += `?bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
|
|
27532
|
-
} else {
|
|
27533
|
-
endUrl += `&bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
|
|
27534
|
-
}
|
|
27535
|
-
if (this.isMobile) {
|
|
27536
|
-
this.mobileSrc = endUrl;
|
|
27537
|
-
this.isDialogFormShow = true;
|
|
27538
|
-
} else {
|
|
27539
|
-
window.open(endUrl);
|
|
27540
|
-
}
|
|
27541
|
-
} else {
|
|
27542
|
-
this.$message.info(res.message || '获取token失败!');
|
|
27543
|
-
}
|
|
27544
|
-
});
|
|
27545
|
-
},
|
|
27546
|
-
// 替换url中域名通配符 需要发送接口
|
|
27547
|
-
transformUrl(url) {
|
|
27548
|
-
return new Promise(resolve => {
|
|
27549
|
-
var reg = /(\$\{(\w+)\})/;
|
|
27550
|
-
var match = reg.exec(url);
|
|
27551
|
-
if (match) {
|
|
27552
|
-
let alias = match[2];
|
|
27553
|
-
if (alias) {
|
|
27554
|
-
this.$requestConfig.getHostByAlias(alias).then(res => {
|
|
27555
|
-
if (res && res.value && res.value.rootAddress) {
|
|
27556
|
-
resolve(url.replace(match[1], res.value.rootAddress));
|
|
27557
|
-
} else {
|
|
27558
|
-
resolve(url);
|
|
27559
|
-
}
|
|
27560
|
-
});
|
|
27561
|
-
} else {
|
|
27562
|
-
resolve(url);
|
|
27563
|
-
}
|
|
27564
|
-
} else {
|
|
27565
|
-
resolve(url);
|
|
27566
|
-
}
|
|
27567
|
-
});
|
|
27568
|
-
},
|
|
27569
|
-
// 获取对话框配置
|
|
27570
|
-
getDialogConfig() {
|
|
27571
|
-
if (this.custdialog && this.custdialog.custDialog && this.custdialog.custDialog.alias) this.$requestConfig.getCustomDialogByAlias(this.custdialog.custDialog.alias).then(response => {
|
|
27572
|
-
if (response) {
|
|
27573
|
-
this.dialogConfig = response;
|
|
27574
|
-
}
|
|
27575
|
-
});
|
|
27576
|
-
},
|
|
27577
26964
|
editInputBlur() {
|
|
27578
26965
|
this.$emit('input', this.customValue);
|
|
27579
26966
|
this.isEditInputShow = false;
|
|
@@ -27648,8 +27035,8 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27648
27035
|
});
|
|
27649
27036
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=script&lang=js&
|
|
27650
27037
|
/* harmony default export */ var packages_CustomDialog_src_mainvue_type_script_lang_js_ = (CustomDialog_src_mainvue_type_script_lang_js_);
|
|
27651
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=
|
|
27652
|
-
var
|
|
27038
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=0b5eb5e6&prod&lang=scss&scoped=true&
|
|
27039
|
+
var mainvue_type_style_index_0_id_0b5eb5e6_prod_lang_scss_scoped_true_ = __webpack_require__("be12");
|
|
27653
27040
|
|
|
27654
27041
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue
|
|
27655
27042
|
|
|
@@ -27662,11 +27049,11 @@ var mainvue_type_style_index_0_id_bf5a35ae_prod_lang_scss_scoped_true_ = __webpa
|
|
|
27662
27049
|
|
|
27663
27050
|
var CustomDialog_src_main_component = normalizeComponent(
|
|
27664
27051
|
packages_CustomDialog_src_mainvue_type_script_lang_js_,
|
|
27665
|
-
|
|
27666
|
-
|
|
27052
|
+
mainvue_type_template_id_0b5eb5e6_scoped_true_render,
|
|
27053
|
+
mainvue_type_template_id_0b5eb5e6_scoped_true_staticRenderFns,
|
|
27667
27054
|
false,
|
|
27668
27055
|
null,
|
|
27669
|
-
"
|
|
27056
|
+
"0b5eb5e6",
|
|
27670
27057
|
null
|
|
27671
27058
|
|
|
27672
27059
|
)
|
|
@@ -42306,12 +41693,12 @@ var GlobalValidate_component = normalizeComponent(
|
|
|
42306
41693
|
)
|
|
42307
41694
|
|
|
42308
41695
|
/* harmony default export */ var GlobalValidate = (GlobalValidate_component.exports);
|
|
42309
|
-
// 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=
|
|
42310
|
-
var
|
|
42311
|
-
var
|
|
41696
|
+
// 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=10314ca6&
|
|
41697
|
+
var GlobalQueryvue_type_template_id_10314ca6_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span')}
|
|
41698
|
+
var GlobalQueryvue_type_template_id_10314ca6_staticRenderFns = []
|
|
42312
41699
|
|
|
42313
41700
|
|
|
42314
|
-
// CONCATENATED MODULE: ./packages/Global/src/GlobalQuery.vue?vue&type=template&id=
|
|
41701
|
+
// CONCATENATED MODULE: ./packages/Global/src/GlobalQuery.vue?vue&type=template&id=10314ca6&
|
|
42315
41702
|
|
|
42316
41703
|
// 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&
|
|
42317
41704
|
//
|
|
@@ -42342,6 +41729,10 @@ var GlobalQueryvue_type_template_id_c61b6e10_staticRenderFns = []
|
|
|
42342
41729
|
if (!this.formInst) {
|
|
42343
41730
|
this.formInst = utils["a" /* default */].getOnlineFormInstance(this.$parent);
|
|
42344
41731
|
}
|
|
41732
|
+
// 如果是只读时不触发关联查询
|
|
41733
|
+
if (this.formInst.isView === true) {
|
|
41734
|
+
return;
|
|
41735
|
+
}
|
|
42345
41736
|
if (this.queryJson.length > 0) {
|
|
42346
41737
|
let _this = this;
|
|
42347
41738
|
this.queryJson.forEach(item => {
|
|
@@ -42490,8 +41881,8 @@ var GlobalQueryvue_type_template_id_c61b6e10_staticRenderFns = []
|
|
|
42490
41881
|
|
|
42491
41882
|
var GlobalQuery_component = normalizeComponent(
|
|
42492
41883
|
src_GlobalQueryvue_type_script_lang_js_,
|
|
42493
|
-
|
|
42494
|
-
|
|
41884
|
+
GlobalQueryvue_type_template_id_10314ca6_render,
|
|
41885
|
+
GlobalQueryvue_type_template_id_10314ca6_staticRenderFns,
|
|
42495
41886
|
false,
|
|
42496
41887
|
null,
|
|
42497
41888
|
null,
|