three-trees-ui 1.0.14 → 1.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/three-trees-ui.common.js +1079 -432
- package/lib/three-trees-ui.css +1 -1
- package/lib/three-trees-ui.umd.js +1079 -432
- package/lib/three-trees-ui.umd.min.js +1 -1
- package/package.json +1 -1
- package/packages/CustomDialog/src/customDialog.vue +488 -165
- package/packages/CustomDialog/src/customMobileDialog.vue +464 -155
- package/packages/CustomDialog/src/main.vue +202 -10
- package/packages/DimensionSelector/src/main.vue +2 -0
- package/packages/Global/src/GlobalQuery.vue +4 -0
- package/packages/Input/src/main.vue +3 -0
- package/packages/Tree/src/main.vue +7 -2
- package/src/directive/formulas.js +8 -0
- package/src/mixins/permission.js +4 -0
|
@@ -87,6 +87,13 @@ module.exports =
|
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
+
/***/ "0237":
|
|
91
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
92
|
+
|
|
93
|
+
// extracted by mini-css-extract-plugin
|
|
94
|
+
|
|
95
|
+
/***/ }),
|
|
96
|
+
|
|
90
97
|
/***/ "025e":
|
|
91
98
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
92
99
|
|
|
@@ -1650,13 +1657,6 @@ const btnList = [{
|
|
|
1650
1657
|
|
|
1651
1658
|
/***/ }),
|
|
1652
1659
|
|
|
1653
|
-
/***/ "0ca0":
|
|
1654
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1655
|
-
|
|
1656
|
-
// extracted by mini-css-extract-plugin
|
|
1657
|
-
|
|
1658
|
-
/***/ }),
|
|
1659
|
-
|
|
1660
1660
|
/***/ "0edb":
|
|
1661
1661
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1662
1662
|
|
|
@@ -1884,7 +1884,7 @@ const SubPagination = {
|
|
|
1884
1884
|
|
|
1885
1885
|
/***/ }),
|
|
1886
1886
|
|
|
1887
|
-
/***/ "
|
|
1887
|
+
/***/ "1ba3":
|
|
1888
1888
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1889
1889
|
|
|
1890
1890
|
// extracted by mini-css-extract-plugin
|
|
@@ -2052,13 +2052,6 @@ module.exports = require("vuedraggable");
|
|
|
2052
2052
|
|
|
2053
2053
|
/***/ }),
|
|
2054
2054
|
|
|
2055
|
-
/***/ "333d":
|
|
2056
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2057
|
-
|
|
2058
|
-
// extracted by mini-css-extract-plugin
|
|
2059
|
-
|
|
2060
|
-
/***/ }),
|
|
2061
|
-
|
|
2062
2055
|
/***/ "33ce":
|
|
2063
2056
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2064
2057
|
|
|
@@ -2100,6 +2093,10 @@ const conformanceJudge = (value, vnode) => {
|
|
|
2100
2093
|
};
|
|
2101
2094
|
const formula = {
|
|
2102
2095
|
bind(el, binding, vnode) {
|
|
2096
|
+
// 如果是只读的就不执行js脚本计算
|
|
2097
|
+
if (el && el.__vue__ && el.formIsView === true) {
|
|
2098
|
+
return;
|
|
2099
|
+
}
|
|
2103
2100
|
if (!conformanceJudge(binding.value.value, vnode)) {
|
|
2104
2101
|
return;
|
|
2105
2102
|
}
|
|
@@ -2125,6 +2122,10 @@ const formula = {
|
|
|
2125
2122
|
}
|
|
2126
2123
|
},
|
|
2127
2124
|
update(el, binding, vnode) {
|
|
2125
|
+
// 如果是只读的就不执行js脚本计算
|
|
2126
|
+
if (el && el.__vue__ && el.formIsView === true) {
|
|
2127
|
+
return;
|
|
2128
|
+
}
|
|
2128
2129
|
if (!conformanceJudge(binding.value.value, vnode)) {
|
|
2129
2130
|
return;
|
|
2130
2131
|
}
|
|
@@ -2790,12 +2791,12 @@ Formulas.install = Vue => {
|
|
|
2790
2791
|
|
|
2791
2792
|
/***/ }),
|
|
2792
2793
|
|
|
2793
|
-
/***/ "
|
|
2794
|
+
/***/ "3be0":
|
|
2794
2795
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2795
2796
|
|
|
2796
2797
|
"use strict";
|
|
2797
|
-
/* harmony import */ var
|
|
2798
|
-
/* harmony import */ var
|
|
2798
|
+
/* 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");
|
|
2799
|
+
/* 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__);
|
|
2799
2800
|
/* unused harmony reexport * */
|
|
2800
2801
|
|
|
2801
2802
|
|
|
@@ -2837,23 +2838,30 @@ Formulas.install = Vue => {
|
|
|
2837
2838
|
|
|
2838
2839
|
/***/ }),
|
|
2839
2840
|
|
|
2840
|
-
/***/ "
|
|
2841
|
+
/***/ "45bb":
|
|
2842
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2843
|
+
|
|
2844
|
+
// extracted by mini-css-extract-plugin
|
|
2845
|
+
|
|
2846
|
+
/***/ }),
|
|
2847
|
+
|
|
2848
|
+
/***/ "4680":
|
|
2841
2849
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2842
2850
|
|
|
2843
2851
|
"use strict";
|
|
2844
|
-
/* harmony import */ var
|
|
2845
|
-
/* harmony import */ var
|
|
2852
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_0_id_384dd988_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("b1a3");
|
|
2853
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_0_id_384dd988_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_0_id_384dd988_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
2846
2854
|
/* unused harmony reexport * */
|
|
2847
2855
|
|
|
2848
2856
|
|
|
2849
2857
|
/***/ }),
|
|
2850
2858
|
|
|
2851
|
-
/***/ "
|
|
2859
|
+
/***/ "4876":
|
|
2852
2860
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2853
2861
|
|
|
2854
2862
|
"use strict";
|
|
2855
|
-
/* harmony import */ var
|
|
2856
|
-
/* harmony import */ var
|
|
2863
|
+
/* 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");
|
|
2864
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_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__);
|
|
2857
2865
|
/* unused harmony reexport * */
|
|
2858
2866
|
|
|
2859
2867
|
|
|
@@ -2891,24 +2899,6 @@ Formulas.install = Vue => {
|
|
|
2891
2899
|
|
|
2892
2900
|
/***/ }),
|
|
2893
2901
|
|
|
2894
|
-
/***/ "49f9":
|
|
2895
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2896
|
-
|
|
2897
|
-
"use strict";
|
|
2898
|
-
/* 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");
|
|
2899
|
-
/* 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__);
|
|
2900
|
-
/* unused harmony reexport * */
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
/***/ }),
|
|
2904
|
-
|
|
2905
|
-
/***/ "4a17":
|
|
2906
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2907
|
-
|
|
2908
|
-
// extracted by mini-css-extract-plugin
|
|
2909
|
-
|
|
2910
|
-
/***/ }),
|
|
2911
|
-
|
|
2912
2902
|
/***/ "4b7c":
|
|
2913
2903
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2914
2904
|
|
|
@@ -3038,6 +3028,13 @@ exports.clearImmediate = (typeof self !== "undefined" && self.clearImmediate) ||
|
|
|
3038
3028
|
|
|
3039
3029
|
/***/ }),
|
|
3040
3030
|
|
|
3031
|
+
/***/ "569e":
|
|
3032
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3033
|
+
|
|
3034
|
+
// extracted by mini-css-extract-plugin
|
|
3035
|
+
|
|
3036
|
+
/***/ }),
|
|
3037
|
+
|
|
3041
3038
|
/***/ "5877":
|
|
3042
3039
|
/***/ (function(module, exports) {
|
|
3043
3040
|
|
|
@@ -4128,6 +4125,13 @@ const dict = {
|
|
|
4128
4125
|
|
|
4129
4126
|
/***/ }),
|
|
4130
4127
|
|
|
4128
|
+
/***/ "6ebe":
|
|
4129
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4130
|
+
|
|
4131
|
+
// extracted by mini-css-extract-plugin
|
|
4132
|
+
|
|
4133
|
+
/***/ }),
|
|
4134
|
+
|
|
4131
4135
|
/***/ "6f28":
|
|
4132
4136
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4133
4137
|
|
|
@@ -4160,6 +4164,13 @@ const dict = {
|
|
|
4160
4164
|
|
|
4161
4165
|
/***/ }),
|
|
4162
4166
|
|
|
4167
|
+
/***/ "7090":
|
|
4168
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4169
|
+
|
|
4170
|
+
// extracted by mini-css-extract-plugin
|
|
4171
|
+
|
|
4172
|
+
/***/ }),
|
|
4173
|
+
|
|
4163
4174
|
/***/ "7152":
|
|
4164
4175
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4165
4176
|
|
|
@@ -4235,13 +4246,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4235
4246
|
|
|
4236
4247
|
/***/ }),
|
|
4237
4248
|
|
|
4238
|
-
/***/ "7c6e":
|
|
4239
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4240
|
-
|
|
4241
|
-
// extracted by mini-css-extract-plugin
|
|
4242
|
-
|
|
4243
|
-
/***/ }),
|
|
4244
|
-
|
|
4245
4249
|
/***/ "7d0a":
|
|
4246
4250
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4247
4251
|
|
|
@@ -4269,17 +4273,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4269
4273
|
|
|
4270
4274
|
// extracted by mini-css-extract-plugin
|
|
4271
4275
|
|
|
4272
|
-
/***/ }),
|
|
4273
|
-
|
|
4274
|
-
/***/ "7ff9":
|
|
4275
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4276
|
-
|
|
4277
|
-
"use strict";
|
|
4278
|
-
/* 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");
|
|
4279
|
-
/* 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__);
|
|
4280
|
-
/* unused harmony reexport * */
|
|
4281
|
-
|
|
4282
|
-
|
|
4283
4276
|
/***/ }),
|
|
4284
4277
|
|
|
4285
4278
|
/***/ "8262":
|
|
@@ -4334,6 +4327,17 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4334
4327
|
|
|
4335
4328
|
// extracted by mini-css-extract-plugin
|
|
4336
4329
|
|
|
4330
|
+
/***/ }),
|
|
4331
|
+
|
|
4332
|
+
/***/ "87a1":
|
|
4333
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4334
|
+
|
|
4335
|
+
"use strict";
|
|
4336
|
+
/* 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");
|
|
4337
|
+
/* 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__);
|
|
4338
|
+
/* unused harmony reexport * */
|
|
4339
|
+
|
|
4340
|
+
|
|
4337
4341
|
/***/ }),
|
|
4338
4342
|
|
|
4339
4343
|
/***/ "889a":
|
|
@@ -4715,14 +4719,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
4715
4719
|
/***/ "9224":
|
|
4716
4720
|
/***/ (function(module) {
|
|
4717
4721
|
|
|
4718
|
-
module.exports = JSON.parse("{\"a\":\"1.0.
|
|
4719
|
-
|
|
4720
|
-
/***/ }),
|
|
4721
|
-
|
|
4722
|
-
/***/ "923d":
|
|
4723
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4724
|
-
|
|
4725
|
-
// extracted by mini-css-extract-plugin
|
|
4722
|
+
module.exports = JSON.parse("{\"a\":\"1.0.16\"}");
|
|
4726
4723
|
|
|
4727
4724
|
/***/ }),
|
|
4728
4725
|
|
|
@@ -4847,13 +4844,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHoAAABMCAYAAACi
|
|
|
4847
4844
|
|
|
4848
4845
|
/***/ }),
|
|
4849
4846
|
|
|
4850
|
-
/***/ "a707":
|
|
4851
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4852
|
-
|
|
4853
|
-
// extracted by mini-css-extract-plugin
|
|
4854
|
-
|
|
4855
|
-
/***/ }),
|
|
4856
|
-
|
|
4857
4847
|
/***/ "a751":
|
|
4858
4848
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4859
4849
|
|
|
@@ -5442,6 +5432,17 @@ module.exports = require("setimmediate");
|
|
|
5442
5432
|
|
|
5443
5433
|
// extracted by mini-css-extract-plugin
|
|
5444
5434
|
|
|
5435
|
+
/***/ }),
|
|
5436
|
+
|
|
5437
|
+
/***/ "aeed":
|
|
5438
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5439
|
+
|
|
5440
|
+
"use strict";
|
|
5441
|
+
/* 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");
|
|
5442
|
+
/* 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__);
|
|
5443
|
+
/* unused harmony reexport * */
|
|
5444
|
+
|
|
5445
|
+
|
|
5445
5446
|
/***/ }),
|
|
5446
5447
|
|
|
5447
5448
|
/***/ "af95":
|
|
@@ -6237,6 +6238,13 @@ const {
|
|
|
6237
6238
|
|
|
6238
6239
|
/***/ }),
|
|
6239
6240
|
|
|
6241
|
+
/***/ "b1a3":
|
|
6242
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
6243
|
+
|
|
6244
|
+
// extracted by mini-css-extract-plugin
|
|
6245
|
+
|
|
6246
|
+
/***/ }),
|
|
6247
|
+
|
|
6240
6248
|
/***/ "b1ce":
|
|
6241
6249
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6242
6250
|
|
|
@@ -6431,17 +6439,6 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
|
|
|
6431
6439
|
|
|
6432
6440
|
// extracted by mini-css-extract-plugin
|
|
6433
6441
|
|
|
6434
|
-
/***/ }),
|
|
6435
|
-
|
|
6436
|
-
/***/ "be12":
|
|
6437
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6438
|
-
|
|
6439
|
-
"use strict";
|
|
6440
|
-
/* 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");
|
|
6441
|
-
/* 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__);
|
|
6442
|
-
/* unused harmony reexport * */
|
|
6443
|
-
|
|
6444
|
-
|
|
6445
6442
|
/***/ }),
|
|
6446
6443
|
|
|
6447
6444
|
/***/ "c0a9":
|
|
@@ -6460,17 +6457,6 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
|
|
|
6460
6457
|
|
|
6461
6458
|
module.exports = require("moment");
|
|
6462
6459
|
|
|
6463
|
-
/***/ }),
|
|
6464
|
-
|
|
6465
|
-
/***/ "c33b":
|
|
6466
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6467
|
-
|
|
6468
|
-
"use strict";
|
|
6469
|
-
/* 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");
|
|
6470
|
-
/* 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__);
|
|
6471
|
-
/* unused harmony reexport * */
|
|
6472
|
-
|
|
6473
|
-
|
|
6474
6460
|
/***/ }),
|
|
6475
6461
|
|
|
6476
6462
|
/***/ "c429":
|
|
@@ -6603,6 +6589,17 @@ module.exports = g;
|
|
|
6603
6589
|
/* unused harmony reexport * */
|
|
6604
6590
|
|
|
6605
6591
|
|
|
6592
|
+
/***/ }),
|
|
6593
|
+
|
|
6594
|
+
/***/ "cc2b":
|
|
6595
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6596
|
+
|
|
6597
|
+
"use strict";
|
|
6598
|
+
/* 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");
|
|
6599
|
+
/* 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__);
|
|
6600
|
+
/* unused harmony reexport * */
|
|
6601
|
+
|
|
6602
|
+
|
|
6606
6603
|
/***/ }),
|
|
6607
6604
|
|
|
6608
6605
|
/***/ "cd87":
|
|
@@ -6734,6 +6731,10 @@ module.exports = require("axios");
|
|
|
6734
6731
|
}
|
|
6735
6732
|
if (parent) {
|
|
6736
6733
|
this.formIsView = parent.$options.propsData.isView;
|
|
6734
|
+
// 如果是只读 第一时间将状态改为flase 避免渲染
|
|
6735
|
+
if (this.formIsView === true) {
|
|
6736
|
+
this.writeable = false;
|
|
6737
|
+
}
|
|
6737
6738
|
}
|
|
6738
6739
|
},
|
|
6739
6740
|
mounted() {
|
|
@@ -7157,23 +7158,23 @@ module.exports = require("deepmerge");
|
|
|
7157
7158
|
|
|
7158
7159
|
/***/ }),
|
|
7159
7160
|
|
|
7160
|
-
/***/ "
|
|
7161
|
+
/***/ "dc81":
|
|
7161
7162
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7162
7163
|
|
|
7163
7164
|
"use strict";
|
|
7164
|
-
/* harmony import */ var
|
|
7165
|
-
/* harmony import */ var
|
|
7165
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_8015cf1e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("6ebe");
|
|
7166
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_8015cf1e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_8015cf1e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
7166
7167
|
/* unused harmony reexport * */
|
|
7167
7168
|
|
|
7168
7169
|
|
|
7169
7170
|
/***/ }),
|
|
7170
7171
|
|
|
7171
|
-
/***/ "
|
|
7172
|
+
/***/ "dccc":
|
|
7172
7173
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7173
7174
|
|
|
7174
7175
|
"use strict";
|
|
7175
|
-
/* harmony import */ var
|
|
7176
|
-
/* harmony import */ var
|
|
7176
|
+
/* 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");
|
|
7177
|
+
/* 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__);
|
|
7177
7178
|
/* unused harmony reexport * */
|
|
7178
7179
|
|
|
7179
7180
|
|
|
@@ -7293,6 +7294,17 @@ module.exports = require("deepmerge");
|
|
|
7293
7294
|
|
|
7294
7295
|
// extracted by mini-css-extract-plugin
|
|
7295
7296
|
|
|
7297
|
+
/***/ }),
|
|
7298
|
+
|
|
7299
|
+
/***/ "edbd":
|
|
7300
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7301
|
+
|
|
7302
|
+
"use strict";
|
|
7303
|
+
/* 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");
|
|
7304
|
+
/* 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__);
|
|
7305
|
+
/* unused harmony reexport * */
|
|
7306
|
+
|
|
7307
|
+
|
|
7296
7308
|
/***/ }),
|
|
7297
7309
|
|
|
7298
7310
|
/***/ "efec":
|
|
@@ -8800,17 +8812,17 @@ CommonScripts.install = Vue => {
|
|
|
8800
8812
|
Vue.prototype.$CommonScripts = CommonScripts(Vue);
|
|
8801
8813
|
};
|
|
8802
8814
|
/* harmony default export */ var commonScripts = (CommonScripts);
|
|
8803
|
-
// 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=
|
|
8804
|
-
var
|
|
8815
|
+
// 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&
|
|
8816
|
+
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:[
|
|
8805
8817
|
'inputs',
|
|
8806
8818
|
_vm.formInputsDisplay == 'block'
|
|
8807
8819
|
? 'ht-form-inputs__block'
|
|
8808
8820
|
: 'ht-form-inputs__inline',
|
|
8809
8821
|
_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()}
|
|
8810
|
-
var
|
|
8822
|
+
var mainvue_type_template_id_477a8da9_scoped_true_staticRenderFns = []
|
|
8811
8823
|
|
|
8812
8824
|
|
|
8813
|
-
// CONCATENATED MODULE: ./packages/Input/src/main.vue?vue&type=template&id=
|
|
8825
|
+
// CONCATENATED MODULE: ./packages/Input/src/main.vue?vue&type=template&id=477a8da9&scoped=true&
|
|
8814
8826
|
|
|
8815
8827
|
// 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&
|
|
8816
8828
|
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(),(
|
|
@@ -9321,6 +9333,9 @@ var external_lodash_default = /*#__PURE__*/__webpack_require__.n(external_lodash
|
|
|
9321
9333
|
const _me = this;
|
|
9322
9334
|
const exp = this.mathExp;
|
|
9323
9335
|
const formVm = utils["a" /* default */].getOnlineFormInstance(_me);
|
|
9336
|
+
if (formVm && formVm.isView === true) {
|
|
9337
|
+
return;
|
|
9338
|
+
}
|
|
9324
9339
|
// 初始化流水号配置
|
|
9325
9340
|
this.initIdentity(_me, formVm);
|
|
9326
9341
|
// 数学运算表达式
|
|
@@ -9609,8 +9624,8 @@ var external_lodash_default = /*#__PURE__*/__webpack_require__.n(external_lodash
|
|
|
9609
9624
|
});
|
|
9610
9625
|
// CONCATENATED MODULE: ./packages/Input/src/main.vue?vue&type=script&lang=js&
|
|
9611
9626
|
/* harmony default export */ var packages_Input_src_mainvue_type_script_lang_js_ = (Input_src_mainvue_type_script_lang_js_);
|
|
9612
|
-
// EXTERNAL MODULE: ./packages/Input/src/main.vue?vue&type=style&index=0&id=
|
|
9613
|
-
var
|
|
9627
|
+
// EXTERNAL MODULE: ./packages/Input/src/main.vue?vue&type=style&index=0&id=477a8da9&prod&lang=scss&scoped=true&
|
|
9628
|
+
var mainvue_type_style_index_0_id_477a8da9_prod_lang_scss_scoped_true_ = __webpack_require__("edbd");
|
|
9614
9629
|
|
|
9615
9630
|
// CONCATENATED MODULE: ./packages/Input/src/main.vue
|
|
9616
9631
|
|
|
@@ -9623,11 +9638,11 @@ var mainvue_type_style_index_0_id_0c414f1a_prod_lang_scss_scoped_true_ = __webpa
|
|
|
9623
9638
|
|
|
9624
9639
|
var src_main_component = normalizeComponent(
|
|
9625
9640
|
packages_Input_src_mainvue_type_script_lang_js_,
|
|
9626
|
-
|
|
9627
|
-
|
|
9641
|
+
mainvue_type_template_id_477a8da9_scoped_true_render,
|
|
9642
|
+
mainvue_type_template_id_477a8da9_scoped_true_staticRenderFns,
|
|
9628
9643
|
false,
|
|
9629
9644
|
null,
|
|
9630
|
-
"
|
|
9645
|
+
"477a8da9",
|
|
9631
9646
|
null
|
|
9632
9647
|
|
|
9633
9648
|
)
|
|
@@ -15606,17 +15621,17 @@ Demension_src_main.install = function (Vue) {
|
|
|
15606
15621
|
Vue.component(Demension_src_main.name, Demension_src_main);
|
|
15607
15622
|
};
|
|
15608
15623
|
/* harmony default export */ var Demension = (Demension_src_main);
|
|
15609
|
-
// 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=
|
|
15610
|
-
var
|
|
15624
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/Tree/src/main.vue?vue&type=template&id=10f71c00&scoped=true&
|
|
15625
|
+
var mainvue_type_template_id_10f71c00_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{style:(_vm.containerStyle)},[(_vm.supportFilter)?_c('div',{staticClass:"tree-header flex"},[_vm._t("custom-prefix"),_c('el-input',{attrs:{"placeholder":_vm.t('ht.tree.filterText'),"clearable":""},model:{value:(_vm.filterText),callback:function ($$v) {_vm.filterText=$$v},expression:"filterText"}},[_c('i',{staticClass:"el-input__icon el-icon-search",attrs:{"slot":"prefix"},slot:"prefix"})]),_c('div',{class:_vm.isIeExplorer
|
|
15611
15626
|
? 'tree-button-group is-ie-explorer flex'
|
|
15612
15627
|
: '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){
|
|
15613
15628
|
var node = ref.node;
|
|
15614
15629
|
var subData = ref.data;
|
|
15615
15630
|
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)}
|
|
15616
|
-
var
|
|
15631
|
+
var mainvue_type_template_id_10f71c00_scoped_true_staticRenderFns = []
|
|
15617
15632
|
|
|
15618
15633
|
|
|
15619
|
-
// CONCATENATED MODULE: ./packages/Tree/src/main.vue?vue&type=template&id=
|
|
15634
|
+
// CONCATENATED MODULE: ./packages/Tree/src/main.vue?vue&type=template&id=10f71c00&scoped=true&
|
|
15620
15635
|
|
|
15621
15636
|
// 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&
|
|
15622
15637
|
//
|
|
@@ -15891,7 +15906,11 @@ var mainvue_type_template_id_5731e345_scoped_true_staticRenderFns = []
|
|
|
15891
15906
|
},
|
|
15892
15907
|
watch: {
|
|
15893
15908
|
filterText(val) {
|
|
15894
|
-
this
|
|
15909
|
+
if (this.lazy) {
|
|
15910
|
+
this.$emit('loadALL', val);
|
|
15911
|
+
} else {
|
|
15912
|
+
this.$refs.elTree.filter(val);
|
|
15913
|
+
}
|
|
15895
15914
|
},
|
|
15896
15915
|
defaultCheckedKeys(val) {
|
|
15897
15916
|
this.$refs.elTree.setCheckedKeys(val);
|
|
@@ -15984,8 +16003,8 @@ var mainvue_type_template_id_5731e345_scoped_true_staticRenderFns = []
|
|
|
15984
16003
|
});
|
|
15985
16004
|
// CONCATENATED MODULE: ./packages/Tree/src/main.vue?vue&type=script&lang=js&
|
|
15986
16005
|
/* harmony default export */ var packages_Tree_src_mainvue_type_script_lang_js_ = (Tree_src_mainvue_type_script_lang_js_);
|
|
15987
|
-
// EXTERNAL MODULE: ./packages/Tree/src/main.vue?vue&type=style&index=0&id=
|
|
15988
|
-
var
|
|
16006
|
+
// EXTERNAL MODULE: ./packages/Tree/src/main.vue?vue&type=style&index=0&id=10f71c00&prod&lang=scss&scoped=true&
|
|
16007
|
+
var mainvue_type_style_index_0_id_10f71c00_prod_lang_scss_scoped_true_ = __webpack_require__("cc2b");
|
|
15989
16008
|
|
|
15990
16009
|
// CONCATENATED MODULE: ./packages/Tree/src/main.vue
|
|
15991
16010
|
|
|
@@ -15998,11 +16017,11 @@ var mainvue_type_style_index_0_id_5731e345_prod_lang_scss_scoped_true_ = __webpa
|
|
|
15998
16017
|
|
|
15999
16018
|
var Tree_src_main_component = normalizeComponent(
|
|
16000
16019
|
packages_Tree_src_mainvue_type_script_lang_js_,
|
|
16001
|
-
|
|
16002
|
-
|
|
16020
|
+
mainvue_type_template_id_10f71c00_scoped_true_render,
|
|
16021
|
+
mainvue_type_template_id_10f71c00_scoped_true_staticRenderFns,
|
|
16003
16022
|
false,
|
|
16004
16023
|
null,
|
|
16005
|
-
"
|
|
16024
|
+
"10f71c00",
|
|
16006
16025
|
null
|
|
16007
16026
|
|
|
16008
16027
|
)
|
|
@@ -22494,8 +22513,8 @@ PostSelector_src_main.install = function (Vue) {
|
|
|
22494
22513
|
Vue.component(PostSelector_src_main.name, PostSelector_src_main);
|
|
22495
22514
|
};
|
|
22496
22515
|
/* harmony default export */ var PostSelector = (PostSelector_src_main);
|
|
22497
|
-
// 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=
|
|
22498
|
-
var
|
|
22516
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/DimensionSelector/src/main.vue?vue&type=template&id=8015cf1e&scoped=true&
|
|
22517
|
+
var mainvue_type_template_id_8015cf1e_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.permission !== 'n')?_c('div',{class:[
|
|
22499
22518
|
'inputs',
|
|
22500
22519
|
_vm.formInputsDisplay == 'block'
|
|
22501
22520
|
? 'ht-form-inputs__block'
|
|
@@ -22510,10 +22529,10 @@ var mainvue_type_template_id_10681225_scoped_true_render = function () {var _vm=
|
|
|
22510
22529
|
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){
|
|
22511
22530
|
var select = ref.select;
|
|
22512
22531
|
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()}
|
|
22513
|
-
var
|
|
22532
|
+
var mainvue_type_template_id_8015cf1e_scoped_true_staticRenderFns = []
|
|
22514
22533
|
|
|
22515
22534
|
|
|
22516
|
-
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=template&id=
|
|
22535
|
+
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=template&id=8015cf1e&scoped=true&
|
|
22517
22536
|
|
|
22518
22537
|
// 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&
|
|
22519
22538
|
//
|
|
@@ -22772,6 +22791,8 @@ var mainvue_type_template_id_10681225_scoped_true_staticRenderFns = []
|
|
|
22772
22791
|
if (this.config.hasOwnProperty('demName')) {
|
|
22773
22792
|
utils["a" /* default */].setValueByConfigKey(this, this.config, 'demName', demNameAry.join(','));
|
|
22774
22793
|
}
|
|
22794
|
+
} else {
|
|
22795
|
+
this.$emit('change', newVal);
|
|
22775
22796
|
}
|
|
22776
22797
|
// 通过valueChange事件发布值变更消息
|
|
22777
22798
|
this.$emit('valueChange', ary.join(','), newVal);
|
|
@@ -22901,8 +22922,8 @@ var mainvue_type_template_id_10681225_scoped_true_staticRenderFns = []
|
|
|
22901
22922
|
});
|
|
22902
22923
|
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=script&lang=js&
|
|
22903
22924
|
/* harmony default export */ var packages_DimensionSelector_src_mainvue_type_script_lang_js_ = (DimensionSelector_src_mainvue_type_script_lang_js_);
|
|
22904
|
-
// EXTERNAL MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=style&index=0&id=
|
|
22905
|
-
var
|
|
22925
|
+
// EXTERNAL MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=style&index=0&id=8015cf1e&prod&lang=scss&scoped=true&
|
|
22926
|
+
var mainvue_type_style_index_0_id_8015cf1e_prod_lang_scss_scoped_true_ = __webpack_require__("dc81");
|
|
22906
22927
|
|
|
22907
22928
|
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue
|
|
22908
22929
|
|
|
@@ -22915,11 +22936,11 @@ var mainvue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true_ = __webpa
|
|
|
22915
22936
|
|
|
22916
22937
|
var DimensionSelector_src_main_component = normalizeComponent(
|
|
22917
22938
|
packages_DimensionSelector_src_mainvue_type_script_lang_js_,
|
|
22918
|
-
|
|
22919
|
-
|
|
22939
|
+
mainvue_type_template_id_8015cf1e_scoped_true_render,
|
|
22940
|
+
mainvue_type_template_id_8015cf1e_scoped_true_staticRenderFns,
|
|
22920
22941
|
false,
|
|
22921
22942
|
null,
|
|
22922
|
-
"
|
|
22943
|
+
"8015cf1e",
|
|
22923
22944
|
null
|
|
22924
22945
|
|
|
22925
22946
|
)
|
|
@@ -23547,8 +23568,8 @@ Dialog_src_main.install = function (Vue) {
|
|
|
23547
23568
|
Vue.component(Dialog_src_main.name, Dialog_src_main);
|
|
23548
23569
|
};
|
|
23549
23570
|
/* harmony default export */ var Dialog = (Dialog_src_main);
|
|
23550
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/main.vue?vue&type=template&id=
|
|
23551
|
-
var
|
|
23571
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/main.vue?vue&type=template&id=bf5a35ae&scoped=true&
|
|
23572
|
+
var mainvue_type_template_id_bf5a35ae_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"inputs"},[_c('el-tooltip',{attrs:{"placement":_vm.tooltipplacement || _vm.defualtTooltipplacement,"disabled":_vm.inputWriteable && _vm.errors && !_vm.errors.has('custom-form.' + _vm.inputName)}},[(_vm.errors && _vm.errors.first)?_c('div',{attrs:{"slot":"content"},slot:"content"},[_vm._v("\n "+_vm._s(_vm.errors.first('custom-form.' + _vm.inputName))+"\n ")]):_vm._e(),(_vm.inputWriteable)?_c('div',{staticClass:"el-select",class:{ 'has-value': _vm.value },staticStyle:{"width":"100%"}},[_c('div',{ref:"tagSpans",staticClass:"el-select__tags",style:({ width: 'calc(100% - 10px - ' + _vm.inputSuffixWidth + 'px)' }),on:{"click":_vm.showEditInput}},[_c('span',{staticClass:"tag-wrap"},_vm._l((_vm.inputVal),function(item,index){return _c('span',{key:item.value,staticClass:"el-tag el-tag--info el-tag--small no-background",on:{"click":function($event){$event.stopPropagation();return _vm.jumpUrl(item)}}},[_c('span',{staticClass:"el-select__tags-text",class:{ 'src-color': _vm.isSrcColor }},[_vm._v("\n "+_vm._s(item.value)+"\n ")]),_c('i',{staticClass:"el-tag__close el-icon-close",on:{"click":function($event){$event.stopPropagation();return _vm.removeSelectOrg(index)}}})])}),0)]),_c('div',{staticClass:"el-input el-input--suffix"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.inputVal),expression:"inputVal"},{name:"validate",rawName:"v-validate",value:(_vm.inputValidate),expression:"inputValidate"}],staticClass:"el-input__inner",style:({ height: _vm.inputSuffixHeight + 'px' }),attrs:{"type":"text","readonly":"readonly","name":_vm.inputName,"autocomplete":"off","placeholder":_vm.placeholder},domProps:{"value":(_vm.inputVal)},on:{"click":_vm.showEditInput,"input":function($event){if($event.target.composing){ return; }_vm.inputVal=$event.target.value}}}),(_vm.isAllowCustom && _vm.isEditInputShow)?_c('el-input',{ref:"editInputRef",staticClass:"edit-input",style:({
|
|
23552
23573
|
right: _vm.inputSuffixWidth - 1 + 'px',
|
|
23553
23574
|
width: 'auto!important',
|
|
23554
23575
|
height: _vm.inputSuffixHeight - 4 + 'px',
|
|
@@ -23557,11 +23578,11 @@ var mainvue_type_template_id_0b5eb5e6_scoped_true_render = function () {var _vm=
|
|
|
23557
23578
|
: 'el-input__icon icon-duihuakuang',style:({
|
|
23558
23579
|
fontSize: '17px',
|
|
23559
23580
|
lineHeight: _vm.inputSuffixHeight + 'px',
|
|
23560
|
-
})}),_vm._v("\n "+_vm._s(_vm.custdialog.name)+"\n ")])],1)])],1)]):_vm._e()]),(!_vm.inputWriteable)?_c('span',_vm._l((_vm.inputVal),function(item){return _c('span',{key:item.value,staticClass:"el-tag el-tag--info el-tag--small",staticStyle:{"margin-right":"8px"},on:{"click":function($event){$event.stopPropagation();}}},[_c('span',{staticClass:"el-select__tags-text"},[_vm._v(_vm._s(item.value))])])}),0):_vm._e(),(_vm.isMobile)?_c('custom-mobile-dialog',{ref:"customMobileDialogRef",attrs:{"model-name":_vm.modelName,"custdialog":_vm.custdialog,"sub-index":_vm.subIndex,"sun-index":_vm.sunIndex,"sub-path":_vm.subPath,"current-sub-data":_vm.currentSubData},on:{"calacInputSuffixHeight":_vm.calacInputSuffixHeight,"updateInput":_vm.updateInput}}):_c('custom-dialog',{ref:"customDialogRef",attrs:{"model-name":_vm.modelName,"custdialog":_vm.custdialog,"sub-index":_vm.subIndex,"sun-index":_vm.sunIndex,"sub-path":_vm.subPath,"current-sub-data":_vm.currentSubData,"is-read-only":!_vm.inputWriteable},on:{"calacInputSuffixHeight":_vm.calacInputSuffixHeight,"updateInput":_vm.updateInput},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v},expression:"value"}}),_c('span',{staticStyle:{"display":"none"}},[_vm._t("labeldesc",[_vm._v(_vm._s(_vm.inputName))])],2),_c('ht-field-tail',{attrs:{"field-name":_vm.inputName,"input-value":_vm.value}})],1)}
|
|
23561
|
-
var
|
|
23581
|
+
})}),_vm._v("\n "+_vm._s(_vm.custdialog.name)+"\n ")])],1)])],1)]):_vm._e()]),(!_vm.inputWriteable)?_c('span',{staticClass:"dialog-readonly"},_vm._l((_vm.inputVal),function(item){return _c('span',{key:item.value,staticClass:"el-tag el-tag--info el-tag--small no-background",staticStyle:{"margin-right":"8px"},on:{"click":function($event){$event.stopPropagation();return _vm.jumpUrl(item)}}},[_c('span',{staticClass:"el-select__tags-text",class:{ 'src-color': _vm.isSrcColor }},[_vm._v("\n "+_vm._s(item.value)+"\n ")])])}),0):_vm._e(),(_vm.isMobile)?_c('custom-mobile-dialog',{ref:"customMobileDialogRef",attrs:{"model-name":_vm.modelName,"custdialog":_vm.custdialog,"sub-index":_vm.subIndex,"sun-index":_vm.sunIndex,"sub-path":_vm.subPath,"current-sub-data":_vm.currentSubData,"dialog-config":_vm.dialogConfig,"dialog-type":_vm.dialogType},on:{"calacInputSuffixHeight":_vm.calacInputSuffixHeight,"updateInput":_vm.updateInput}}):_c('custom-dialog',{ref:"customDialogRef",attrs:{"model-name":_vm.modelName,"custdialog":_vm.custdialog,"sub-index":_vm.subIndex,"sun-index":_vm.sunIndex,"sub-path":_vm.subPath,"current-sub-data":_vm.currentSubData,"is-read-only":!_vm.inputWriteable,"dialog-config":_vm.dialogConfig,"dialog-type":_vm.dialogType},on:{"calacInputSuffixHeight":_vm.calacInputSuffixHeight,"updateInput":_vm.updateInput},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v},expression:"value"}}),_c('span',{staticStyle:{"display":"none"}},[_vm._t("labeldesc",[_vm._v(_vm._s(_vm.inputName))])],2),_c('ht-field-tail',{attrs:{"field-name":_vm.inputName,"input-value":_vm.value}}),(_vm.isDialogFormShow)?_c('el-dialog',{attrs:{"title":"表单详情","visible":_vm.isDialogFormShow,"width":"100%","custom-class":"custom-dialog-form","fullscreen":"","append-to-body":""},on:{"update:visible":function($event){_vm.isDialogFormShow=$event}}},[_c('div',{staticClass:"iframe-box"},[_c('iframe',{staticStyle:{"height":"100%"},attrs:{"src":_vm.mobileSrc,"width":"100%","frameborder":"0"}})]),_c('div',{staticClass:"custom-dialog-form_footer"},[_c('el-button',{attrs:{"size":"smal"},on:{"click":function($event){_vm.isDialogFormShow = false}}},[_vm._v("\n 关闭\n ")])],1)]):_vm._e()],1)}
|
|
23582
|
+
var mainvue_type_template_id_bf5a35ae_scoped_true_staticRenderFns = []
|
|
23562
23583
|
|
|
23563
23584
|
|
|
23564
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=
|
|
23585
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=bf5a35ae&scoped=true&
|
|
23565
23586
|
|
|
23566
23587
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.js
|
|
23567
23588
|
|
|
@@ -23683,19 +23704,47 @@ var mainvue_type_template_id_0b5eb5e6_scoped_true_staticRenderFns = []
|
|
|
23683
23704
|
}
|
|
23684
23705
|
}
|
|
23685
23706
|
});
|
|
23686
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=
|
|
23687
|
-
var
|
|
23688
|
-
|
|
23689
|
-
|
|
23690
|
-
|
|
23691
|
-
|
|
23692
|
-
|
|
23693
|
-
|
|
23694
|
-
|
|
23695
|
-
|
|
23696
|
-
|
|
23697
|
-
|
|
23698
|
-
|
|
23707
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=3e2f487c&scoped=true&
|
|
23708
|
+
var customDialogvue_type_template_id_3e2f487c_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-dialog',{attrs:{"visible":_vm.customDialogShowList,"title":_vm.customDialog.name,"close-on-click-modal":false,"before-close":_vm.dialogCancel,"append-to-body":"","top":"6vh","width":"75%"},on:{"update:visible":function($event){_vm.customDialogShowList=$event},"opened":_vm.afterOpen}},[_c('el-container',{staticStyle:{"overflow":"auto"},style:(_vm.style)},[(_vm.customDialog.style == 2)?_c('el-aside',{directives:[{name:"show",rawName:"v-show",value:(_vm.treeShow),expression:"treeShow"}],staticStyle:{"width":"23%"}},[_c('el-card',[_c('div',{staticClass:"clearfix",attrs:{"slot":"header"},slot:"header"},[_c('span',{staticStyle:{"font-size":"16px"}},[_vm._v(_vm._s(_vm.leftTreeTitle))])]),_c('el-tree',{ref:"combinationTree",attrs:{"data":_vm.combinationTreeData,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","check-on-click-node":true,"lazy":"","load":_vm.loadTree},on:{"node-click":_vm.combiTreeClick}})],1)],1):_vm._e(),(_vm.customDialog.style == 2)?_c('el-divider',{attrs:{"direction":"vertical"}}):_vm._e(),_c('el-container',[(_vm.querysShow)?_c('el-header',{staticClass:"middle-header"},[_vm._l((_vm.conditionBind),function(condition,index){return _c('div',{key:index,staticClass:"search-item"},[_c('p',{attrs:{"title":condition.comment}},[_vm._v(_vm._s(condition.comment)+":")]),(condition.controllerType == '1')?_c('div',{staticClass:"search-item_main"},[_c('el-input',{attrs:{"size":"small","clearable":"","placeholder":_vm.placeholders[index],"prefix-icon":"el-icon-search"},nativeOn:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.searchEnterFun($event)}},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '2')?_c('div',{staticClass:"search-item_main"},_vm._l((condition.config.options),function(itemR,$index1){return _c('el-radio',{key:$index1,attrs:{"label":itemR.key},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}},[_vm._v("\n "+_vm._s(itemR.value)+"\n ")])}),1):_vm._e(),(condition.controllerType == '3')?_c('div',{staticClass:"search-item_main"},[(condition.config.choiceType == 'static')?_c('ht-select',{attrs:{"placeholder":_vm.quickSearch,"multiple":condition.config.multiple,"options":condition.config.options},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}}):_c('ht-dictionary',{attrs:{"dickey":condition.config.dic,"filterable":condition.config.filterable},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '4')?_c('div',{staticClass:"search-item_main"},[_c('eip-tag',{attrs:{"tag-key":condition.config.tag,"placeholder":_vm.quickSearch,"filterable":condition.config.filterable,"expand":condition.config.expand},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '6')?_c('div',{staticClass:"search-item_main"},[(condition.condition == 'BETWEEN')?_c('div',{staticClass:"search-item_date"},[_c('ht-date',{attrs:{"format":condition.config.inputFormat.includes('mm:ss')
|
|
23709
|
+
? 'yyyy-MM-dd HH:mm:ss'
|
|
23710
|
+
: condition.config.inputFormat,"valueFormat":condition.config.inputFormat.includes('mm:ss')
|
|
23711
|
+
? 'yyyy-MM-dd HH:mm:ss'
|
|
23712
|
+
: condition.config.inputFormat},model:{value:(_vm.queryParams[index].startDate),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "startDate", $$v)},expression:"queryParams[index].startDate"}}),_vm._v("\n 至\n "),_c('ht-date',{attrs:{"format":condition.config.inputFormat.includes('mm:ss')
|
|
23713
|
+
? 'yyyy-MM-dd HH:mm:ss'
|
|
23714
|
+
: condition.config.inputFormat,"valueFormat":condition.config.inputFormat.includes('mm:ss')
|
|
23715
|
+
? 'yyyy-MM-dd HH:mm:ss'
|
|
23716
|
+
: condition.config.inputFormat},model:{value:(_vm.queryParams[index].endDate),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "endDate", $$v)},expression:"queryParams[index].endDate"}})],1):_c('ht-date',{attrs:{"format":condition.config.inputFormat.includes('mm:ss')
|
|
23717
|
+
? 'yyyy-MM-dd HH:mm:ss'
|
|
23718
|
+
: condition.config.inputFormat,"valueFormat":condition.config.inputFormat.includes('mm:ss')
|
|
23719
|
+
? 'yyyy-MM-dd HH:mm:ss'
|
|
23720
|
+
: 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) {
|
|
23721
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23722
|
+
}}}):_vm._e(),(condition.config.alias == 'org')?_c('ht-org-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 == 'role')?_c('ht-role-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23725
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23726
|
+
}}}):_vm._e(),(condition.config.alias == 'job')?_c('ht-job-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23727
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23728
|
+
}}}):_vm._e(),(condition.config.alias == 'post')?_c('ht-post-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23729
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23730
|
+
}}}):_vm._e(),(condition.config.alias == 'dimension')?_c('ht-dimension-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23731
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23732
|
+
}}}):_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":{
|
|
23733
|
+
name: '请选择',
|
|
23734
|
+
icon: '',
|
|
23735
|
+
custDialog: {
|
|
23736
|
+
selectNum: 1,
|
|
23737
|
+
conditions: [],
|
|
23738
|
+
mappingConf: [],
|
|
23739
|
+
custQueryJson: [],
|
|
23740
|
+
alias: condition.config.alias,
|
|
23741
|
+
type: 'custDialog',
|
|
23742
|
+
},
|
|
23743
|
+
}},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)}
|
|
23744
|
+
var customDialogvue_type_template_id_3e2f487c_scoped_true_staticRenderFns = []
|
|
23745
|
+
|
|
23746
|
+
|
|
23747
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=3e2f487c&scoped=true&
|
|
23699
23748
|
|
|
23700
23749
|
// EXTERNAL MODULE: external "jquery"
|
|
23701
23750
|
var external_jquery_ = __webpack_require__("c5e1");
|
|
@@ -24004,6 +24053,139 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24004
24053
|
//
|
|
24005
24054
|
//
|
|
24006
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
|
+
//
|
|
24184
|
+
//
|
|
24185
|
+
//
|
|
24186
|
+
//
|
|
24187
|
+
//
|
|
24188
|
+
//
|
|
24007
24189
|
|
|
24008
24190
|
|
|
24009
24191
|
|
|
@@ -24031,10 +24213,16 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24031
24213
|
isReadOnly: {
|
|
24032
24214
|
type: Boolean,
|
|
24033
24215
|
default: false
|
|
24034
|
-
}
|
|
24216
|
+
},
|
|
24217
|
+
dialogConfig: Object,
|
|
24218
|
+
dialogType: String
|
|
24035
24219
|
},
|
|
24036
24220
|
data() {
|
|
24037
24221
|
return {
|
|
24222
|
+
startDate: '',
|
|
24223
|
+
// 日期控件
|
|
24224
|
+
endDate: '',
|
|
24225
|
+
// 日期控件
|
|
24038
24226
|
tableHeight: 350,
|
|
24039
24227
|
isEditInputShow: false,
|
|
24040
24228
|
customValue: '',
|
|
@@ -24115,6 +24303,18 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24115
24303
|
return [this.props1[0][this.nodeKey]];
|
|
24116
24304
|
}
|
|
24117
24305
|
return [];
|
|
24306
|
+
},
|
|
24307
|
+
jumpParamKey() {
|
|
24308
|
+
return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
|
|
24309
|
+
},
|
|
24310
|
+
// 是否保存成跳转url参数
|
|
24311
|
+
isHaveJumpUrl() {
|
|
24312
|
+
return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
24313
|
+
},
|
|
24314
|
+
sortDisplayfield() {
|
|
24315
|
+
return this.displayfield.sort((a, b) => {
|
|
24316
|
+
return a.sort > b.sort ? 1 : -1;
|
|
24317
|
+
});
|
|
24118
24318
|
}
|
|
24119
24319
|
},
|
|
24120
24320
|
watch: {
|
|
@@ -24150,131 +24350,151 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24150
24350
|
});
|
|
24151
24351
|
},
|
|
24152
24352
|
methods: {
|
|
24353
|
+
// 获取已选择的选择器数据id
|
|
24354
|
+
getSelectId(data) {
|
|
24355
|
+
if (!data || !data.length) {
|
|
24356
|
+
return '';
|
|
24357
|
+
}
|
|
24358
|
+
let ids = [];
|
|
24359
|
+
data.forEach(item => {
|
|
24360
|
+
ids.push(item.id);
|
|
24361
|
+
});
|
|
24362
|
+
return ids.join(',');
|
|
24363
|
+
},
|
|
24153
24364
|
showDialog() {
|
|
24154
24365
|
let isMounted = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
24155
|
-
const this_ = this;
|
|
24156
24366
|
this.fixedParams = {};
|
|
24367
|
+
// 如果已存在配置信息就不去请求配置信息 直接初始化数据
|
|
24368
|
+
if (this.dialogConfig) {
|
|
24369
|
+
this.initDialog(this.dialogConfig, isMounted);
|
|
24370
|
+
return;
|
|
24371
|
+
}
|
|
24157
24372
|
var alias = this.custdialog.custDialog.alias;
|
|
24158
24373
|
this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
|
|
24159
|
-
|
|
24160
|
-
|
|
24161
|
-
|
|
24162
|
-
|
|
24163
|
-
|
|
24164
|
-
|
|
24165
|
-
|
|
24166
|
-
|
|
24167
|
-
|
|
24168
|
-
|
|
24169
|
-
|
|
24170
|
-
|
|
24171
|
-
|
|
24172
|
-
|
|
24173
|
-
|
|
24174
|
-
|
|
24175
|
-
|
|
24176
|
-
|
|
24177
|
-
|
|
24178
|
-
|
|
24179
|
-
|
|
24374
|
+
this.initDialog(customDialog, isMounted);
|
|
24375
|
+
});
|
|
24376
|
+
},
|
|
24377
|
+
initDialog(customDialog, isMounted) {
|
|
24378
|
+
let alias = this.custdialog.custDialog.alias;
|
|
24379
|
+
const this_ = this;
|
|
24380
|
+
if (!customDialog || !customDialog.alias) {
|
|
24381
|
+
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
24382
|
+
return;
|
|
24383
|
+
}
|
|
24384
|
+
if (customDialog.style == 1) {
|
|
24385
|
+
var displaylist = JSON.parse(customDialog.displayfield);
|
|
24386
|
+
this_.nodeKey = displaylist.id;
|
|
24387
|
+
}
|
|
24388
|
+
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
24389
|
+
let obj = {};
|
|
24390
|
+
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
24391
|
+
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
24392
|
+
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
24393
|
+
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
24394
|
+
if (exp) {
|
|
24395
|
+
const params = JSON.parse(exp);
|
|
24396
|
+
if (params.pageBean) {
|
|
24397
|
+
this.pagination = {
|
|
24398
|
+
...params.pageBean
|
|
24399
|
+
};
|
|
24180
24400
|
}
|
|
24181
24401
|
}
|
|
24182
|
-
|
|
24183
|
-
|
|
24184
|
-
|
|
24185
|
-
|
|
24186
|
-
|
|
24187
|
-
|
|
24188
|
-
|
|
24189
|
-
|
|
24190
|
-
|
|
24191
|
-
|
|
24192
|
-
|
|
24193
|
-
|
|
24194
|
-
|
|
24195
|
-
|
|
24196
|
-
|
|
24197
|
-
|
|
24198
|
-
|
|
24199
|
-
|
|
24200
|
-
}
|
|
24201
|
-
}
|
|
24202
|
-
}
|
|
24203
|
-
|
|
24204
|
-
|
|
24205
|
-
|
|
24206
|
-
|
|
24207
|
-
|
|
24208
|
-
|
|
24209
|
-
|
|
24210
|
-
|
|
24211
|
-
|
|
24212
|
-
|
|
24213
|
-
|
|
24214
|
-
|
|
24215
|
-
|
|
24216
|
-
|
|
24217
|
-
|
|
24218
|
-
|
|
24219
|
-
|
|
24220
|
-
|
|
24221
|
-
|
|
24222
|
-
|
|
24223
|
-
}
|
|
24224
|
-
|
|
24225
|
-
|
|
24226
|
-
|
|
24227
|
-
|
|
24228
|
-
|
|
24229
|
-
|
|
24230
|
-
|
|
24231
|
-
|
|
24232
|
-
|
|
24233
|
-
|
|
24234
|
-
|
|
24235
|
-
|
|
24236
|
-
|
|
24237
|
-
|
|
24238
|
-
|
|
24239
|
-
|
|
24240
|
-
|
|
24241
|
-
|
|
24242
|
-
|
|
24243
|
-
customDialog: customDialog
|
|
24244
|
-
}, isMounted);
|
|
24245
|
-
}, 100);
|
|
24246
|
-
} else if (customDialog.style == 1) {
|
|
24247
|
-
//树形
|
|
24248
|
-
this_.pageParam = {
|
|
24402
|
+
}
|
|
24403
|
+
//对话框按表单字段查询(参数传入的)
|
|
24404
|
+
let bindList = this_.custdialog.custDialog.conditions;
|
|
24405
|
+
this_.param = []; //绑定的表单字段
|
|
24406
|
+
if (bindList.length > 0) {
|
|
24407
|
+
bindList.forEach(ele => {
|
|
24408
|
+
//绑定表单字段
|
|
24409
|
+
if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
|
|
24410
|
+
let obj = {};
|
|
24411
|
+
obj.field = ele.field;
|
|
24412
|
+
obj.bind = ele.bind;
|
|
24413
|
+
obj.bindType = ele.bindType;
|
|
24414
|
+
this_.param.push(obj);
|
|
24415
|
+
}
|
|
24416
|
+
//取值对象为脚本时获取value
|
|
24417
|
+
if (ele.bindType === 3) {
|
|
24418
|
+
this_.$requestConfig.executeScript(ele.bind).then(res => {
|
|
24419
|
+
this_.executeScriptResult = res && res.value;
|
|
24420
|
+
});
|
|
24421
|
+
}
|
|
24422
|
+
});
|
|
24423
|
+
}
|
|
24424
|
+
//判断对话框查询是否有条件
|
|
24425
|
+
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
24426
|
+
this_.quickSearch = ''; //填写提示 placeholder
|
|
24427
|
+
this_.conditionBind = [];
|
|
24428
|
+
let queryParams = [];
|
|
24429
|
+
let placeholders = [];
|
|
24430
|
+
if (userInputList.length > 0) {
|
|
24431
|
+
userInputList.forEach(ele => {
|
|
24432
|
+
var obj = {};
|
|
24433
|
+
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
24434
|
+
if (ele.defaultType == '1') {
|
|
24435
|
+
obj[ele.field] = '';
|
|
24436
|
+
queryParams.push(obj);
|
|
24437
|
+
// queryParams[ele.field] = "";
|
|
24438
|
+
this_.conditionBind.push(ele);
|
|
24439
|
+
placeholders.push('请输入' + ele.comment);
|
|
24440
|
+
}
|
|
24441
|
+
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
24442
|
+
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
24443
|
+
}
|
|
24444
|
+
});
|
|
24445
|
+
this.$set(this, 'queryParams', queryParams);
|
|
24446
|
+
this.$set(this, 'placeholders', placeholders);
|
|
24447
|
+
}
|
|
24448
|
+
//判断是否显示条件查询输入框
|
|
24449
|
+
if (this_.quickSearch != '') {
|
|
24450
|
+
this_.querysShow = true;
|
|
24451
|
+
} else {
|
|
24452
|
+
this_.querysShow = true;
|
|
24453
|
+
}
|
|
24454
|
+
this_.quickSearch = '请输入' + this.quickSearch + '查询';
|
|
24455
|
+
this_.style = 'height:' + customDialog.height + 'px';
|
|
24456
|
+
if (window.screen.height && window.screen.height <= 900) {
|
|
24457
|
+
this.style = 'height:440px';
|
|
24458
|
+
}
|
|
24459
|
+
if (customDialog.style == 0 || customDialog.style == 2) {
|
|
24460
|
+
//列表
|
|
24461
|
+
setTimeout(() => {
|
|
24462
|
+
this_.customDialogShow({
|
|
24249
24463
|
alias: alias,
|
|
24250
24464
|
customDialog: customDialog
|
|
24251
|
-
};
|
|
24252
|
-
|
|
24253
|
-
|
|
24254
|
-
|
|
24255
|
-
|
|
24256
|
-
|
|
24257
|
-
|
|
24258
|
-
|
|
24259
|
-
|
|
24260
|
-
|
|
24261
|
-
|
|
24262
|
-
|
|
24263
|
-
|
|
24465
|
+
}, isMounted);
|
|
24466
|
+
}, 100);
|
|
24467
|
+
} else if (customDialog.style == 1) {
|
|
24468
|
+
//树形
|
|
24469
|
+
this_.pageParam = {
|
|
24470
|
+
alias: alias,
|
|
24471
|
+
customDialog: customDialog
|
|
24472
|
+
};
|
|
24473
|
+
this_.customDialog = customDialog;
|
|
24474
|
+
let param = {};
|
|
24475
|
+
this_.conditionfieldTree = [];
|
|
24476
|
+
//判断是否存在条件
|
|
24477
|
+
if (customDialog.conditionfield) {
|
|
24478
|
+
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
24479
|
+
if (this_.conditionfieldTree.length > 0) {
|
|
24480
|
+
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
24481
|
+
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
24482
|
+
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
24483
|
+
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
24264
24484
|
}
|
|
24265
24485
|
}
|
|
24266
24486
|
}
|
|
24267
|
-
|
|
24268
|
-
|
|
24269
|
-
|
|
24270
|
-
|
|
24271
|
-
|
|
24272
|
-
|
|
24273
|
-
|
|
24274
|
-
|
|
24487
|
+
}
|
|
24488
|
+
//有动态传入的字段
|
|
24489
|
+
if (!isMounted) {
|
|
24490
|
+
if (JSON.stringify(param) != '{}') {
|
|
24491
|
+
this_.dialogVisible = true;
|
|
24492
|
+
} else {
|
|
24493
|
+
//无动态传入的字段
|
|
24494
|
+
this_.customDialogTreeShow(this_.pageParam);
|
|
24275
24495
|
}
|
|
24276
24496
|
}
|
|
24277
|
-
}
|
|
24497
|
+
}
|
|
24278
24498
|
},
|
|
24279
24499
|
initTableHeight() {
|
|
24280
24500
|
this.$nextTick(() => {
|
|
@@ -24403,13 +24623,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24403
24623
|
}
|
|
24404
24624
|
// 添加用户id 岗位id 组织id
|
|
24405
24625
|
try {
|
|
24406
|
-
if (this.$requestConfig.getUserId()) {
|
|
24626
|
+
if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
|
|
24407
24627
|
ctx.userId = this.$requestConfig.getUserId();
|
|
24408
24628
|
}
|
|
24409
|
-
if (this.$requestConfig.getOrgId()) {
|
|
24629
|
+
if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
|
|
24410
24630
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
24411
24631
|
}
|
|
24412
|
-
if (this.$requestConfig.getPostId()) {
|
|
24632
|
+
if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
|
|
24413
24633
|
ctx.postId = this.$requestConfig.getPostId();
|
|
24414
24634
|
}
|
|
24415
24635
|
} catch (e) {
|
|
@@ -24494,8 +24714,19 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24494
24714
|
this.selectOrgs = this.convertComment2Field(str, field);
|
|
24495
24715
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
24496
24716
|
var val = '';
|
|
24497
|
-
str.forEach(item => {
|
|
24498
|
-
|
|
24717
|
+
str.forEach((item, index) => {
|
|
24718
|
+
// 此处添加url跳转参数保存逻辑
|
|
24719
|
+
if (this.jumpParamKey && this.isHaveJumpUrl && (this.modelName == 'data.' + con['target'][0] || this.modelName.includes('item.') && con['target'][0].endsWith(this.modelName.split('.')[1]))) {
|
|
24720
|
+
let jumpParamKey = this.jumpParamKey;
|
|
24721
|
+
let jumpParamValue = this.jumpParamKey;
|
|
24722
|
+
if (this.jumpParamKey.includes(':')) {
|
|
24723
|
+
jumpParamKey = this.jumpParamKey.split(':')[0];
|
|
24724
|
+
jumpParamValue = this.jumpParamKey.split(':')[1];
|
|
24725
|
+
}
|
|
24726
|
+
val += `${item[con.from]}¯${jumpParamKey}:${this.selectOrgs[index][jumpParamValue]},`;
|
|
24727
|
+
} else {
|
|
24728
|
+
val += item[con.from] + ',';
|
|
24729
|
+
}
|
|
24499
24730
|
});
|
|
24500
24731
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
24501
24732
|
utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
|
|
@@ -24566,19 +24797,36 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24566
24797
|
};
|
|
24567
24798
|
}
|
|
24568
24799
|
//用户输入的
|
|
24800
|
+
let flag = false;
|
|
24569
24801
|
if (this.queryParams.length != 0 && this.queryParams[0] != '') {
|
|
24570
24802
|
this.conditionBind.forEach((item, index) => {
|
|
24803
|
+
// 日期范围特殊处理
|
|
24804
|
+
if (item.dbType == 'date' && item.condition == 'BETWEEN') {
|
|
24805
|
+
if (this.queryParams[index].startDate && !this.queryParams[index].endDate || !this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
24806
|
+
flag = true;
|
|
24807
|
+
this.$message.info('日期范围未填写完整!');
|
|
24808
|
+
return;
|
|
24809
|
+
}
|
|
24810
|
+
if (this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
24811
|
+
this.queryParams[index][item.field] = `${this.queryParams[index].startDate},${this.queryParams[index].endDate}`;
|
|
24812
|
+
} else {
|
|
24813
|
+
this.queryParams[index][item.field] = '';
|
|
24814
|
+
}
|
|
24815
|
+
}
|
|
24571
24816
|
if (this.queryParams[index][item.field]) {
|
|
24572
24817
|
querys.push({
|
|
24573
24818
|
property: item.field,
|
|
24574
24819
|
value: this.queryParams[index][item.field],
|
|
24575
24820
|
group: 'main',
|
|
24576
|
-
operation:
|
|
24821
|
+
operation: item.condition,
|
|
24577
24822
|
relation: 'AND'
|
|
24578
24823
|
});
|
|
24579
24824
|
}
|
|
24580
24825
|
});
|
|
24581
24826
|
}
|
|
24827
|
+
if (flag) {
|
|
24828
|
+
return;
|
|
24829
|
+
}
|
|
24582
24830
|
//参数传入的查询拼接
|
|
24583
24831
|
if (this.param) {
|
|
24584
24832
|
this.param.forEach(item => {
|
|
@@ -24617,13 +24865,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24617
24865
|
queryParamMap.total = pageBean.pageBean.total;
|
|
24618
24866
|
// 添加用户id 岗位id 组织id
|
|
24619
24867
|
try {
|
|
24620
|
-
if (this.$requestConfig.getUserId()) {
|
|
24868
|
+
if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
|
|
24621
24869
|
ctx.userId = this.$requestConfig.getUserId();
|
|
24622
24870
|
}
|
|
24623
|
-
if (this.$requestConfig.getOrgId()) {
|
|
24871
|
+
if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
|
|
24624
24872
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
24625
24873
|
}
|
|
24626
|
-
if (this.$requestConfig.getPostId()) {
|
|
24874
|
+
if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
|
|
24627
24875
|
ctx.postId = this.$requestConfig.getPostId();
|
|
24628
24876
|
}
|
|
24629
24877
|
} catch (e) {
|
|
@@ -24644,12 +24892,14 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24644
24892
|
value: queryParamMap[bindKey] || ctx[bindKey] || ''
|
|
24645
24893
|
};
|
|
24646
24894
|
});
|
|
24647
|
-
param.querys = queryList;
|
|
24895
|
+
param.querys = queryList || [];
|
|
24648
24896
|
if (this.customDialog.needPage) {
|
|
24649
24897
|
param.pageBean = obj;
|
|
24650
24898
|
} else {
|
|
24651
24899
|
param.pageBean.pageSize = -1;
|
|
24652
24900
|
}
|
|
24901
|
+
// 日期格式的 改成数组
|
|
24902
|
+
// this.changeDateFormat(param)
|
|
24653
24903
|
//构造请求的参数
|
|
24654
24904
|
let requestParam = {
|
|
24655
24905
|
pageBean: param,
|
|
@@ -24689,6 +24939,15 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24689
24939
|
}
|
|
24690
24940
|
this.tableRadioVal = '';
|
|
24691
24941
|
},
|
|
24942
|
+
changeDateFormat(param) {
|
|
24943
|
+
let dateValidate1 = /^\d{4}\-\d{2}\-\d{2}$/;
|
|
24944
|
+
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$/;
|
|
24945
|
+
Object.keys(param).forEach(key => {
|
|
24946
|
+
if (param[key] && typeof param[key] == 'string' && param[key].includes(',') && (dateValidate1.test(param[key].split(',')[0]) || dateValidate2.test(param[key].split(',')[0]))) {
|
|
24947
|
+
param[key] = param[key].split(',');
|
|
24948
|
+
}
|
|
24949
|
+
});
|
|
24950
|
+
},
|
|
24692
24951
|
getSearchValueByKey() {
|
|
24693
24952
|
let queryParamsObj = {};
|
|
24694
24953
|
if (this.queryParams.length > 0) {
|
|
@@ -24914,6 +25173,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24914
25173
|
},
|
|
24915
25174
|
// 同步选择结果
|
|
24916
25175
|
syncInputValue() {
|
|
25176
|
+
// 对话框跳转url需要两个参数 1当前控件绑定的对象参数modelName 2对话框配置中配置的key名称
|
|
25177
|
+
// 同步值时,如果有绑定url跳转参数,值格式为 名称¯跳转key:跳转value
|
|
24917
25178
|
let thisIndex = null; //当前数据所在下标
|
|
24918
25179
|
let parentIndex = null; //父节点所在下标
|
|
24919
25180
|
if (this.$parent.$el) {
|
|
@@ -24987,13 +25248,39 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24987
25248
|
}
|
|
24988
25249
|
}
|
|
24989
25250
|
}
|
|
25251
|
+
// 如果是查询中使用的对话框
|
|
25252
|
+
if (this.dialogType == 'search') {
|
|
25253
|
+
let returnVal = [];
|
|
25254
|
+
str.forEach(item => {
|
|
25255
|
+
returnVal.push(decodeURIComponent(item[this.modelName]));
|
|
25256
|
+
});
|
|
25257
|
+
this.$emit('updateInput', returnVal.join(','));
|
|
25258
|
+
return;
|
|
25259
|
+
}
|
|
24990
25260
|
const pInst = utils["a" /* default */].getOnlineFormInstance(this);
|
|
24991
25261
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
24992
25262
|
var val = '';
|
|
24993
25263
|
var from = con.from.toLowerCase();
|
|
24994
25264
|
str.forEach(item => {
|
|
25265
|
+
// 如果有绑定url跳转参数 需获取跳转参数的key
|
|
24995
25266
|
if (item) {
|
|
24996
|
-
|
|
25267
|
+
if (this.jumpParamKey && this.isHaveJumpUrl && (this.modelName == 'data.' + con['target'][0] || this.modelName.includes('item.') && con['target'][0].endsWith(this.modelName.split('.')[1]))) {
|
|
25268
|
+
// 如果有冒号 冒号前面是传值key 后面是取值key
|
|
25269
|
+
let jumpParamKey = this.jumpParamKey;
|
|
25270
|
+
let jumpParamValue = this.jumpParamKey;
|
|
25271
|
+
if (this.jumpParamKey.includes(':')) {
|
|
25272
|
+
jumpParamKey = this.jumpParamKey.split(':')[0];
|
|
25273
|
+
jumpParamValue = this.jumpParamKey.split(':')[1];
|
|
25274
|
+
}
|
|
25275
|
+
// 需根据key 找到对应 返回数据的返回名称
|
|
25276
|
+
let returnMap = returnStr.find(k => {
|
|
25277
|
+
return k.field.toLowerCase() == jumpParamValue.toLowerCase();
|
|
25278
|
+
});
|
|
25279
|
+
let returnMapKey = returnMap ? returnMap.comment : '';
|
|
25280
|
+
val += `${decodeURIComponent(item[from])}¯${jumpParamKey}:${decodeURIComponent(item[returnMapKey])},`;
|
|
25281
|
+
} else {
|
|
25282
|
+
val += decodeURIComponent(item[from]) + ',';
|
|
25283
|
+
}
|
|
24997
25284
|
}
|
|
24998
25285
|
});
|
|
24999
25286
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
@@ -25012,7 +25299,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25012
25299
|
const _val = val.substring(0, val.length - 1);
|
|
25013
25300
|
if (path) {
|
|
25014
25301
|
if (this.modelName && this.modelName.endsWith(path)) {
|
|
25015
|
-
// this.$emit('input', _val)
|
|
25016
25302
|
this.$emit('updateInput', _val);
|
|
25017
25303
|
}
|
|
25018
25304
|
utils["a" /* default */].setValueByPath(pInst, `${pInst.data ? 'data.' : 'model.'}${path}`, _val, thisIndex);
|
|
@@ -25244,8 +25530,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25244
25530
|
});
|
|
25245
25531
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=script&lang=js&
|
|
25246
25532
|
/* harmony default export */ var src_customDialogvue_type_script_lang_js_ = (customDialogvue_type_script_lang_js_);
|
|
25247
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=
|
|
25248
|
-
var
|
|
25533
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=3e2f487c&prod&lang=scss&scoped=true&
|
|
25534
|
+
var customDialogvue_type_style_index_0_id_3e2f487c_prod_lang_scss_scoped_true_ = __webpack_require__("aeed");
|
|
25249
25535
|
|
|
25250
25536
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue
|
|
25251
25537
|
|
|
@@ -25258,31 +25544,47 @@ var customDialogvue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true_ =
|
|
|
25258
25544
|
|
|
25259
25545
|
var customDialog_component = normalizeComponent(
|
|
25260
25546
|
src_customDialogvue_type_script_lang_js_,
|
|
25261
|
-
|
|
25262
|
-
|
|
25547
|
+
customDialogvue_type_template_id_3e2f487c_scoped_true_render,
|
|
25548
|
+
customDialogvue_type_template_id_3e2f487c_scoped_true_staticRenderFns,
|
|
25263
25549
|
false,
|
|
25264
25550
|
null,
|
|
25265
|
-
"
|
|
25551
|
+
"3e2f487c",
|
|
25266
25552
|
null
|
|
25267
25553
|
|
|
25268
25554
|
)
|
|
25269
25555
|
|
|
25270
25556
|
/* harmony default export */ var CustomDialog_src_customDialog = (customDialog_component.exports);
|
|
25271
|
-
// 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=
|
|
25272
|
-
var
|
|
25273
|
-
|
|
25274
|
-
|
|
25275
|
-
|
|
25276
|
-
|
|
25277
|
-
|
|
25278
|
-
|
|
25279
|
-
|
|
25557
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=384dd988&scoped=true&
|
|
25558
|
+
var customMobileDialogvue_type_template_id_384dd988_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('van-action-sheet',{staticClass:"mobile-van-action min-height-action",attrs:{"cancel-text":_vm.sureButtonText,"get-container":"body"},on:{"cancel":_vm.handleDialogSure,"click-overlay":_vm.dialogCancel,"opened":_vm.afterOpen},scopedSlots:_vm._u([{key:"description",fn:function(){return [_c('span',{staticClass:"dialog-mobile__title"},[_vm._v(_vm._s(_vm.customDialog.name))]),_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":_vm.dialogCancel}})]},proxy:true}]),model:{value:(_vm.customDialogShowList),callback:function ($$v) {_vm.customDialogShowList=$$v},expression:"customDialogShowList"}},[[_c('div',{staticClass:"search-box"},[_c('ht-icon',{staticClass:"unfold-icon",attrs:{"scale":"1.2","name":_vm.isShowMoreSearch ? 'upFold' : 'downUnfold'},on:{"click":function($event){_vm.isShowMoreSearch = !_vm.isShowMoreSearch}}}),_vm._l((_vm.conditionBind),function(condition,index){return _c('div',{directives:[{name:"show",rawName:"v-show",value:(index === 0 || (index > 0 && _vm.isShowMoreSearch)),expression:"index === 0 || (index > 0 && isShowMoreSearch)"}],key:index,staticClass:"search-item"},[_c('p',[_vm._v(_vm._s(condition.comment)+":")]),(condition.controllerType == '1')?_c('div',[_c('el-input',{attrs:{"size":"small","clearable":"","placeholder":_vm.placeholders[index]},on:{"change":_vm.searchInputChange},nativeOn:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.hideSearch($event)}},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '2')?_c('div',_vm._l((condition.config.options),function(itemR,$index1){return _c('el-radio',{key:$index1,attrs:{"label":itemR.key},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}},[_vm._v("\n "+_vm._s(itemR.value)+"\n ")])}),1):_vm._e(),(condition.controllerType == '3')?_c('div',[(condition.config.choiceType == 'static')?_c('ht-select',{attrs:{"multiple":condition.config.multiple,"options":condition.config.options,"popper-class":"dialog-select"},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}}):_c('ht-dictionary',{attrs:{"dickey":condition.config.dic,"filterable":condition.config.filterable,"popper-class":"dialog-select"},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '4')?_c('div',[_c('eip-tag',{attrs:{"tag-key":condition.config.tag,"filterable":condition.config.filterable,"expand":condition.config.expand},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '6')?_c('div',[(condition.condition == 'BETWEEN')?_c('div',{staticStyle:{"display":"flex","align-items":"center"}},[_c('ht-input',{attrs:{"placeholder":"开始日期","readonly":""},nativeOn:{"click":function($event){return _vm.showDate(index, 'startDate')}},model:{value:(_vm.queryParams[index].startDate),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "startDate", $$v)},expression:"queryParams[index].startDate"}}),_c('span',{staticStyle:{"margin":"0 10px"}},[_vm._v("至")]),_c('ht-input',{attrs:{"placeholder":"结束日期","readonly":""},nativeOn:{"click":function($event){return _vm.showDate(index, 'endDate')}},model:{value:(_vm.queryParams[index].endDate),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "endDate", $$v)},expression:"queryParams[index].endDate"}})],1):_c('ht-input',{attrs:{"readonly":""},nativeOn:{"click":function($event){return _vm.showDate(index, condition.field)}},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '7')?_c('div',[(condition.config.alias == 'user')?_c('ht-user-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25559
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25560
|
+
}}}):_vm._e(),(condition.config.alias == 'org')?_c('ht-org-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 == 'role')?_c('ht-role-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25563
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25564
|
+
}}}):_vm._e(),(condition.config.alias == 'job')?_c('ht-job-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25565
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25566
|
+
}}}):_vm._e(),(condition.config.alias == 'post')?_c('ht-post-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25567
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25568
|
+
}}}):_vm._e(),(condition.config.alias == 'dimension')?_c('ht-dimension-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25569
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25570
|
+
}}}):_vm._e()],1):_vm._e(),(condition.controllerType == '5')?_c('div',[_c('ht-custom-dialog',{attrs:{"model-name":condition.config.keyBind,"dialogType":"search","custdialog":{
|
|
25571
|
+
name: '请选择',
|
|
25572
|
+
icon: '',
|
|
25573
|
+
custDialog: {
|
|
25574
|
+
selectNum: 1,
|
|
25575
|
+
conditions: [],
|
|
25576
|
+
mappingConf: [],
|
|
25577
|
+
custQueryJson: [],
|
|
25578
|
+
alias: condition.config.alias,
|
|
25579
|
+
type: 'custDialog',
|
|
25580
|
+
},
|
|
25581
|
+
}},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(
|
|
25280
25582
|
function (k) { return k.defaultType == '4'; }
|
|
25281
|
-
)),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)}
|
|
25282
|
-
var
|
|
25583
|
+
)),function(item,$index){return _c('div',{key:$index},[(item.type != 'date')?_c('van-field',{attrs:{"label":item.comment,"placeholder":'请输入' + item.comment},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e(),(item.type == 'date')?_c('ht-date',{staticStyle:{"width":"100%"},attrs:{"placeholder":'请选择' + item.comment,"format":"yyyy-MM-dd"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e()],1)}),0)],1),_c('van-action-sheet',{staticClass:"mobile-van-action",attrs:{"cancel-text":_vm.sureButtonText,"get-container":"body"},on:{"cancel":_vm.dialogTreeConfirm},scopedSlots:_vm._u([{key:"description",fn:function(){return [_c('span',{staticClass:"dialog-mobile__title"},[_vm._v(_vm._s(_vm.customDialog.name))]),_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":_vm.dialogCancelTree}})]},proxy:true}]),model:{value:(_vm.customDialogShowTree),callback:function ($$v) {_vm.customDialogShowTree=$$v},expression:"customDialogShowTree"}},[_c('el-tree',{ref:"tree",staticStyle:{"width":"100%"},attrs:{"data":_vm.props1,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","show-checkbox":_vm.customDialog.selectNum === -1,"check-on-click-node":true,"check-strictly":false,"lazy":"","load":_vm.loadTree,"default-expanded-keys":_vm.defaultExpandedKeys},on:{"node-click":_vm.treeClick,"check-change":_vm.getChecked}})],1),(_vm.isShowDatePop)?_c('van-popup',{attrs:{"position":"bottom","round":""},model:{value:(_vm.isShowDatePop),callback:function ($$v) {_vm.isShowDatePop=$$v},expression:"isShowDatePop"}},[_c('van-datetime-picker',{attrs:{"type":_vm.dateType,"title":"选择日期","show-toolbar":true},on:{"cancel":function($event){_vm.isShowDatePop = false},"confirm":_vm.confirmFn},model:{value:(_vm.currentDate),callback:function ($$v) {_vm.currentDate=$$v},expression:"currentDate"}})],1):_vm._e()],1)}
|
|
25584
|
+
var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns = []
|
|
25283
25585
|
|
|
25284
25586
|
|
|
25285
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=
|
|
25587
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=384dd988&scoped=true&
|
|
25286
25588
|
|
|
25287
25589
|
// 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&
|
|
25288
25590
|
//
|
|
@@ -25543,6 +25845,116 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25543
25845
|
//
|
|
25544
25846
|
//
|
|
25545
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
|
+
//
|
|
25953
|
+
//
|
|
25954
|
+
//
|
|
25955
|
+
//
|
|
25956
|
+
//
|
|
25957
|
+
//
|
|
25546
25958
|
|
|
25547
25959
|
|
|
25548
25960
|
|
|
@@ -25564,10 +25976,17 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25564
25976
|
subIndex: Number,
|
|
25565
25977
|
sunIndex: Number,
|
|
25566
25978
|
subPath: String,
|
|
25567
|
-
currentSubData: Array
|
|
25979
|
+
currentSubData: Array,
|
|
25980
|
+
dialogConfig: Object,
|
|
25981
|
+
dialogType: String
|
|
25568
25982
|
},
|
|
25569
25983
|
data() {
|
|
25570
25984
|
return {
|
|
25985
|
+
dateType: 'date',
|
|
25986
|
+
currentDate: '',
|
|
25987
|
+
// 当前日期
|
|
25988
|
+
isShowDatePop: false,
|
|
25989
|
+
// 是否显示日期选择控件
|
|
25571
25990
|
isShowMoreSearch: false,
|
|
25572
25991
|
treeSelectText: '',
|
|
25573
25992
|
// 组合树时选中的查询条件
|
|
@@ -25647,9 +26066,47 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25647
26066
|
sureButtonText() {
|
|
25648
26067
|
const selectedText = this.selectIds.length > 0 ? `(${this.selectIds.length})` : '';
|
|
25649
26068
|
return `${this.$t('ht.common.confirm')}${selectedText}`;
|
|
26069
|
+
},
|
|
26070
|
+
jumpParamKey() {
|
|
26071
|
+
return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
|
|
26072
|
+
},
|
|
26073
|
+
// 是否保存成跳转url参数
|
|
26074
|
+
isHaveJumpUrl() {
|
|
26075
|
+
return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
26076
|
+
},
|
|
26077
|
+
sortDisplayfield() {
|
|
26078
|
+
return this.displayfield.sort((a, b) => {
|
|
26079
|
+
return a.sort > b.sort ? 1 : -1;
|
|
26080
|
+
});
|
|
25650
26081
|
}
|
|
25651
26082
|
},
|
|
25652
26083
|
methods: {
|
|
26084
|
+
// 获取已选择的选择器数据id
|
|
26085
|
+
getSelectId(data) {
|
|
26086
|
+
if (!data || !data.length) {
|
|
26087
|
+
return '';
|
|
26088
|
+
}
|
|
26089
|
+
let ids = [];
|
|
26090
|
+
data.forEach(item => {
|
|
26091
|
+
ids.push(item.id);
|
|
26092
|
+
});
|
|
26093
|
+
return ids.join(',');
|
|
26094
|
+
},
|
|
26095
|
+
showDate(index, key) {
|
|
26096
|
+
this.dateType = this.conditionBind[index].config.inputFormat.includes('mm:') ? 'datetime' : 'date';
|
|
26097
|
+
this.currentDateData = {
|
|
26098
|
+
index,
|
|
26099
|
+
key
|
|
26100
|
+
};
|
|
26101
|
+
this.currentDate = this.queryParams[index][key] ? new Date(this.queryParams[index][key].replace(/-/g, '/')) : new Date();
|
|
26102
|
+
this.isShowDatePop = true;
|
|
26103
|
+
},
|
|
26104
|
+
// 日期确认
|
|
26105
|
+
confirmFn() {
|
|
26106
|
+
let currentConfig = this.conditionBind[this.currentDateData.index];
|
|
26107
|
+
this.queryParams[this.currentDateData.index][this.currentDateData.key] = this.currentDate.format(currentConfig.config.inputFormat);
|
|
26108
|
+
this.isShowDatePop = false;
|
|
26109
|
+
},
|
|
25653
26110
|
searchInputChange() {
|
|
25654
26111
|
if (!this.isShowMoreSearch) {
|
|
25655
26112
|
this.search(true);
|
|
@@ -25695,112 +26152,121 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25695
26152
|
this.search(true);
|
|
25696
26153
|
},
|
|
25697
26154
|
showDialog() {
|
|
25698
|
-
const this_ = this;
|
|
25699
26155
|
this.fixedParams = {};
|
|
26156
|
+
// 如果已存在配置信息就不去请求配置信息 直接初始化数据
|
|
26157
|
+
if (this.dialogConfig) {
|
|
26158
|
+
this.initDialog(this.dialogConfig);
|
|
26159
|
+
return;
|
|
26160
|
+
}
|
|
25700
26161
|
var alias = this.custdialog.custDialog.alias;
|
|
25701
26162
|
this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
|
|
25702
|
-
|
|
25703
|
-
|
|
25704
|
-
|
|
25705
|
-
|
|
25706
|
-
|
|
25707
|
-
|
|
25708
|
-
|
|
25709
|
-
|
|
25710
|
-
|
|
25711
|
-
|
|
25712
|
-
|
|
25713
|
-
|
|
25714
|
-
|
|
25715
|
-
|
|
25716
|
-
|
|
25717
|
-
|
|
25718
|
-
|
|
25719
|
-
|
|
25720
|
-
|
|
25721
|
-
|
|
25722
|
-
|
|
26163
|
+
this.initDialog(customDialog);
|
|
26164
|
+
});
|
|
26165
|
+
},
|
|
26166
|
+
initDialog(customDialog) {
|
|
26167
|
+
let alias = this.custdialog.custDialog.alias;
|
|
26168
|
+
const this_ = this;
|
|
26169
|
+
if (!customDialog || !customDialog.alias) {
|
|
26170
|
+
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
26171
|
+
return;
|
|
26172
|
+
}
|
|
26173
|
+
if (customDialog.style == 1) {
|
|
26174
|
+
var displaylist = JSON.parse(customDialog.displayfield);
|
|
26175
|
+
this_.nodeKey = displaylist.id;
|
|
26176
|
+
}
|
|
26177
|
+
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
26178
|
+
let obj = {};
|
|
26179
|
+
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
26180
|
+
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
26181
|
+
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
26182
|
+
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
26183
|
+
if (exp) {
|
|
26184
|
+
const params = JSON.parse(exp);
|
|
26185
|
+
if (params.pageBean) {
|
|
26186
|
+
this.pagination = {
|
|
26187
|
+
...params.pageBean
|
|
26188
|
+
};
|
|
25723
26189
|
}
|
|
25724
26190
|
}
|
|
25725
|
-
|
|
25726
|
-
|
|
25727
|
-
|
|
25728
|
-
|
|
25729
|
-
|
|
25730
|
-
|
|
25731
|
-
|
|
25732
|
-
|
|
25733
|
-
|
|
25734
|
-
|
|
25735
|
-
|
|
25736
|
-
|
|
25737
|
-
|
|
25738
|
-
|
|
25739
|
-
|
|
25740
|
-
|
|
25741
|
-
|
|
25742
|
-
}
|
|
25743
|
-
}
|
|
26191
|
+
}
|
|
26192
|
+
//对话框按表单字段查询(参数传入的)
|
|
26193
|
+
let bindList = this_.custdialog.custDialog.conditions;
|
|
26194
|
+
this_.param = []; //绑定的表单字段
|
|
26195
|
+
if (bindList.length > 0) {
|
|
26196
|
+
bindList.forEach(ele => {
|
|
26197
|
+
//绑定表单字段
|
|
26198
|
+
if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
|
|
26199
|
+
let obj = {};
|
|
26200
|
+
obj.field = ele.field;
|
|
26201
|
+
obj.bind = ele.bind;
|
|
26202
|
+
obj.bindType = ele.bindType;
|
|
26203
|
+
this_.param.push(obj);
|
|
26204
|
+
}
|
|
26205
|
+
// bindType 1 表单字段 2固定 3脚本
|
|
26206
|
+
if (ele.defaultType == '3' && ele.bindType === 2) {
|
|
26207
|
+
this_.fixedParams[ele.field] = ele.bind || '';
|
|
26208
|
+
}
|
|
26209
|
+
});
|
|
26210
|
+
}
|
|
25744
26211
|
|
|
25745
|
-
|
|
25746
|
-
|
|
25747
|
-
|
|
25748
|
-
|
|
25749
|
-
|
|
25750
|
-
|
|
25751
|
-
|
|
25752
|
-
|
|
25753
|
-
|
|
25754
|
-
|
|
25755
|
-
|
|
25756
|
-
|
|
25757
|
-
|
|
25758
|
-
|
|
25759
|
-
|
|
25760
|
-
|
|
25761
|
-
|
|
25762
|
-
|
|
25763
|
-
|
|
25764
|
-
|
|
25765
|
-
|
|
25766
|
-
|
|
25767
|
-
|
|
25768
|
-
|
|
25769
|
-
|
|
25770
|
-
|
|
25771
|
-
|
|
25772
|
-
|
|
25773
|
-
|
|
25774
|
-
|
|
25775
|
-
|
|
25776
|
-
|
|
25777
|
-
|
|
25778
|
-
|
|
25779
|
-
|
|
25780
|
-
|
|
25781
|
-
|
|
25782
|
-
|
|
25783
|
-
|
|
25784
|
-
|
|
25785
|
-
|
|
25786
|
-
|
|
25787
|
-
|
|
25788
|
-
|
|
25789
|
-
|
|
25790
|
-
|
|
25791
|
-
}
|
|
26212
|
+
//判断对话框查询是否有条件
|
|
26213
|
+
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
26214
|
+
this_.conditionBind = [];
|
|
26215
|
+
let queryParams = [];
|
|
26216
|
+
let placeholders = [];
|
|
26217
|
+
if (userInputList.length > 0) {
|
|
26218
|
+
userInputList.forEach(ele => {
|
|
26219
|
+
var obj = {};
|
|
26220
|
+
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
26221
|
+
if (ele.defaultType == '1') {
|
|
26222
|
+
obj[ele.field] = '';
|
|
26223
|
+
queryParams.push(obj);
|
|
26224
|
+
// queryParams[ele.field] = "";
|
|
26225
|
+
this_.conditionBind.push(ele);
|
|
26226
|
+
placeholders.push('请输入' + ele.comment);
|
|
26227
|
+
}
|
|
26228
|
+
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
26229
|
+
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
26230
|
+
}
|
|
26231
|
+
});
|
|
26232
|
+
this.$set(this, 'queryParams', queryParams);
|
|
26233
|
+
this.$set(this, 'placeholders', placeholders);
|
|
26234
|
+
}
|
|
26235
|
+
if (customDialog.style == 0 || customDialog.style == 2) {
|
|
26236
|
+
//列表
|
|
26237
|
+
this_.customDialogShow({
|
|
26238
|
+
alias: alias,
|
|
26239
|
+
customDialog: customDialog
|
|
26240
|
+
});
|
|
26241
|
+
} else if (customDialog.style == 1) {
|
|
26242
|
+
//树形
|
|
26243
|
+
this_.pageParam = {
|
|
26244
|
+
alias: alias,
|
|
26245
|
+
customDialog: customDialog
|
|
26246
|
+
};
|
|
26247
|
+
this_.customDialog = customDialog;
|
|
26248
|
+
let param = {};
|
|
26249
|
+
this_.conditionfieldTree = [];
|
|
26250
|
+
//判断是否存在条件
|
|
26251
|
+
if (customDialog.conditionfield) {
|
|
26252
|
+
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
26253
|
+
if (this_.conditionfieldTree.length > 0) {
|
|
26254
|
+
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
26255
|
+
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
26256
|
+
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
26257
|
+
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
25792
26258
|
}
|
|
25793
26259
|
}
|
|
25794
26260
|
}
|
|
25795
|
-
//有动态传入的字段
|
|
25796
|
-
if (JSON.stringify(param) != '{}') {
|
|
25797
|
-
this_.dialogVisible = true;
|
|
25798
|
-
} else {
|
|
25799
|
-
//无动态传入的字段
|
|
25800
|
-
this_.customDialogTreeShow(this_.pageParam);
|
|
25801
|
-
}
|
|
25802
26261
|
}
|
|
25803
|
-
|
|
26262
|
+
//有动态传入的字段
|
|
26263
|
+
if (JSON.stringify(param) != '{}') {
|
|
26264
|
+
this_.dialogVisible = true;
|
|
26265
|
+
} else {
|
|
26266
|
+
//无动态传入的字段
|
|
26267
|
+
this_.customDialogTreeShow(this_.pageParam);
|
|
26268
|
+
}
|
|
26269
|
+
}
|
|
25804
26270
|
},
|
|
25805
26271
|
treeClick(data) {
|
|
25806
26272
|
// 单选
|
|
@@ -25918,13 +26384,13 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25918
26384
|
}
|
|
25919
26385
|
// 添加用户id 岗位id 组织id
|
|
25920
26386
|
try {
|
|
25921
|
-
if (this.$requestConfig.getUserId()) {
|
|
26387
|
+
if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
|
|
25922
26388
|
ctx.userId = this.$requestConfig.getUserId();
|
|
25923
26389
|
}
|
|
25924
|
-
if (this.$requestConfig.getOrgId()) {
|
|
26390
|
+
if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
|
|
25925
26391
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
25926
26392
|
}
|
|
25927
|
-
if (this.$requestConfig.getPostId()) {
|
|
26393
|
+
if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
|
|
25928
26394
|
ctx.postId = this.$requestConfig.getPostId();
|
|
25929
26395
|
}
|
|
25930
26396
|
} catch (e) {
|
|
@@ -26009,8 +26475,20 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26009
26475
|
this.selectOrgs = this.convertComment2Field(str, field);
|
|
26010
26476
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
26011
26477
|
var val = '';
|
|
26012
|
-
str.forEach(item => {
|
|
26013
|
-
|
|
26478
|
+
str.forEach((item, index) => {
|
|
26479
|
+
// 此处添加url跳转参数保存逻辑
|
|
26480
|
+
if (this.jumpParamKey && this.isHaveJumpUrl && (this.modelName == 'data.' + con['target'][0] || this.modelName.includes('item.') && con['target'][0].endsWith(this.modelName.split('.')[1]))) {
|
|
26481
|
+
// 如果有冒号 冒号前面是传值key 后面是取值key
|
|
26482
|
+
let jumpParamKey = this.jumpParamKey;
|
|
26483
|
+
let jumpParamValue = this.jumpParamKey;
|
|
26484
|
+
if (this.jumpParamKey.includes(':')) {
|
|
26485
|
+
jumpParamKey = this.jumpParamKey.split(':')[0];
|
|
26486
|
+
jumpParamValue = this.jumpParamKey.split(':')[1];
|
|
26487
|
+
}
|
|
26488
|
+
val += `${item[con.from]}¯${jumpParamKey}:${this.selectOrgs[index][jumpParamValue]},`;
|
|
26489
|
+
} else {
|
|
26490
|
+
val += item[con.from] + ',';
|
|
26491
|
+
}
|
|
26014
26492
|
});
|
|
26015
26493
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
26016
26494
|
utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
|
|
@@ -26083,6 +26561,19 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26083
26561
|
//用户输入的
|
|
26084
26562
|
if (this.queryParams.length != 0 && this.queryParams[0] != '') {
|
|
26085
26563
|
this.conditionBind.forEach((item, index) => {
|
|
26564
|
+
// 日期范围特殊处理
|
|
26565
|
+
if (item.dbType == 'date' && item.condition == 'BETWEEN') {
|
|
26566
|
+
if (this.queryParams[index].startDate && !this.queryParams[index].endDate || !this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
26567
|
+
flag = true;
|
|
26568
|
+
this.$message.info('日期范围未填写完整!');
|
|
26569
|
+
return;
|
|
26570
|
+
}
|
|
26571
|
+
if (this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
26572
|
+
this.queryParams[index][item.field] = `${this.queryParams[index].startDate},${this.queryParams[index].endDate}`;
|
|
26573
|
+
} else {
|
|
26574
|
+
this.queryParams[index][item.field] = '';
|
|
26575
|
+
}
|
|
26576
|
+
}
|
|
26086
26577
|
if (this.queryParams[index][item.field]) {
|
|
26087
26578
|
querys.push({
|
|
26088
26579
|
property: item.field,
|
|
@@ -26131,13 +26622,13 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26131
26622
|
ctx.total = pageBean.pageBean.total;
|
|
26132
26623
|
// 添加用户id 岗位id 组织id
|
|
26133
26624
|
try {
|
|
26134
|
-
if (this.$requestConfig.getUserId()) {
|
|
26625
|
+
if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
|
|
26135
26626
|
ctx.userId = this.$requestConfig.getUserId();
|
|
26136
26627
|
}
|
|
26137
|
-
if (this.$requestConfig.getOrgId()) {
|
|
26628
|
+
if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
|
|
26138
26629
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
26139
26630
|
}
|
|
26140
|
-
if (this.$requestConfig.getPostId()) {
|
|
26631
|
+
if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
|
|
26141
26632
|
ctx.postId = this.$requestConfig.getPostId();
|
|
26142
26633
|
}
|
|
26143
26634
|
} catch (e) {
|
|
@@ -26165,6 +26656,8 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26165
26656
|
} else {
|
|
26166
26657
|
param.pageBean.pageSize = -1;
|
|
26167
26658
|
}
|
|
26659
|
+
// 日期格式的 改成数组
|
|
26660
|
+
// this.changeDateFormat(param)
|
|
26168
26661
|
//构造请求的参数
|
|
26169
26662
|
let requestParam = {
|
|
26170
26663
|
pageBean: param,
|
|
@@ -26200,6 +26693,15 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26200
26693
|
}
|
|
26201
26694
|
}
|
|
26202
26695
|
},
|
|
26696
|
+
changeDateFormat(param) {
|
|
26697
|
+
let dateValidate1 = /^\d{4}\-\d{2}\-\d{2}$/;
|
|
26698
|
+
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$/;
|
|
26699
|
+
Object.keys(param).forEach(key => {
|
|
26700
|
+
if (param[key] && typeof param[key] == 'string' && param[key].includes(',') && (dateValidate1.test(param[key].split(',')[0]) || dateValidate2.test(param[key].split(',')[0]))) {
|
|
26701
|
+
param[key] = param[key].split(',');
|
|
26702
|
+
}
|
|
26703
|
+
});
|
|
26704
|
+
},
|
|
26203
26705
|
getSearchValueByKey() {
|
|
26204
26706
|
let queryParamsObj = {};
|
|
26205
26707
|
if (this.queryParams.length > 0) {
|
|
@@ -26398,13 +26900,37 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26398
26900
|
}
|
|
26399
26901
|
}
|
|
26400
26902
|
}
|
|
26903
|
+
// 如果是查询中使用的对话框
|
|
26904
|
+
if (this.dialogType == 'search') {
|
|
26905
|
+
let returnVal = [];
|
|
26906
|
+
str.forEach(item => {
|
|
26907
|
+
returnVal.push(decodeURIComponent(item[this.modelName]));
|
|
26908
|
+
});
|
|
26909
|
+
this.$emit('updateInput', returnVal.join(','));
|
|
26910
|
+
return;
|
|
26911
|
+
}
|
|
26401
26912
|
const pInst = utils["a" /* default */].getOnlineFormInstance(this);
|
|
26402
26913
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
26403
26914
|
var val = '';
|
|
26404
26915
|
var from = con.from.toLowerCase();
|
|
26405
26916
|
str.forEach(item => {
|
|
26406
26917
|
if (item) {
|
|
26407
|
-
|
|
26918
|
+
if (this.jumpParamKey && this.isHaveJumpUrl && (this.modelName == 'data.' + con['target'][0] || this.modelName.includes('item.') && con['target'][0].endsWith(this.modelName.split('.')[1]))) {
|
|
26919
|
+
let jumpParamKey = this.jumpParamKey;
|
|
26920
|
+
let jumpParamValue = this.jumpParamKey;
|
|
26921
|
+
if (this.jumpParamKey.includes(':')) {
|
|
26922
|
+
jumpParamKey = this.jumpParamKey.split(':')[0];
|
|
26923
|
+
jumpParamValue = this.jumpParamKey.split(':')[1];
|
|
26924
|
+
}
|
|
26925
|
+
// 需根据key 找到对应 返回数据的返回名称
|
|
26926
|
+
let returnMap = returnStr.find(k => {
|
|
26927
|
+
return k.field.toLowerCase() == jumpParamValue.toLowerCase();
|
|
26928
|
+
});
|
|
26929
|
+
let returnMapKey = returnMap ? returnMap.comment : '';
|
|
26930
|
+
val += `${decodeURIComponent(item[from])}¯${jumpParamKey}:${decodeURIComponent(item[returnMapKey])},`;
|
|
26931
|
+
} else {
|
|
26932
|
+
val += decodeURIComponent(item[from]) + ',';
|
|
26933
|
+
}
|
|
26408
26934
|
}
|
|
26409
26935
|
});
|
|
26410
26936
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
@@ -26441,20 +26967,6 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26441
26967
|
}
|
|
26442
26968
|
}
|
|
26443
26969
|
},
|
|
26444
|
-
// getSelected() {
|
|
26445
|
-
// let arr = []
|
|
26446
|
-
// this.selectIds.forEach((item) => {
|
|
26447
|
-
// debugger
|
|
26448
|
-
// let obj = this.dialogData.find((sub) => {
|
|
26449
|
-
// return sub.id_ === item
|
|
26450
|
-
// })
|
|
26451
|
-
// if (obj) {
|
|
26452
|
-
// arr.push(obj)
|
|
26453
|
-
// }
|
|
26454
|
-
// })
|
|
26455
|
-
|
|
26456
|
-
// return arr
|
|
26457
|
-
// },
|
|
26458
26970
|
calacInputSuffixHeight() {
|
|
26459
26971
|
this.$emit('calacInputSuffixHeight');
|
|
26460
26972
|
},
|
|
@@ -26656,11 +27168,11 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26656
27168
|
});
|
|
26657
27169
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=script&lang=js&
|
|
26658
27170
|
/* harmony default export */ var src_customMobileDialogvue_type_script_lang_js_ = (customMobileDialogvue_type_script_lang_js_);
|
|
26659
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=
|
|
26660
|
-
var
|
|
27171
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=384dd988&prod&lang=scss&scoped=true&
|
|
27172
|
+
var customMobileDialogvue_type_style_index_0_id_384dd988_prod_lang_scss_scoped_true_ = __webpack_require__("4680");
|
|
26661
27173
|
|
|
26662
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=
|
|
26663
|
-
var
|
|
27174
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=384dd988&prod&lang=scss&
|
|
27175
|
+
var customMobileDialogvue_type_style_index_1_id_384dd988_prod_lang_scss_ = __webpack_require__("3be0");
|
|
26664
27176
|
|
|
26665
27177
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue
|
|
26666
27178
|
|
|
@@ -26674,11 +27186,11 @@ var customMobileDialogvue_type_style_index_1_id_1661eebb_prod_lang_scss_ = __web
|
|
|
26674
27186
|
|
|
26675
27187
|
var customMobileDialog_component = normalizeComponent(
|
|
26676
27188
|
src_customMobileDialogvue_type_script_lang_js_,
|
|
26677
|
-
|
|
26678
|
-
|
|
27189
|
+
customMobileDialogvue_type_template_id_384dd988_scoped_true_render,
|
|
27190
|
+
customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns,
|
|
26679
27191
|
false,
|
|
26680
27192
|
null,
|
|
26681
|
-
"
|
|
27193
|
+
"384dd988",
|
|
26682
27194
|
null
|
|
26683
27195
|
|
|
26684
27196
|
)
|
|
@@ -26822,6 +27334,40 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26822
27334
|
//
|
|
26823
27335
|
//
|
|
26824
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
|
+
//
|
|
27366
|
+
//
|
|
27367
|
+
//
|
|
27368
|
+
//
|
|
27369
|
+
//
|
|
27370
|
+
//
|
|
26825
27371
|
|
|
26826
27372
|
|
|
26827
27373
|
|
|
@@ -26853,10 +27399,19 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26853
27399
|
subIndex: Number,
|
|
26854
27400
|
sunIndex: Number,
|
|
26855
27401
|
subPath: String,
|
|
26856
|
-
currentSubData: Array
|
|
27402
|
+
currentSubData: Array,
|
|
27403
|
+
dialogType: {
|
|
27404
|
+
// search表示在查询条件使用 form表示在表单中使用
|
|
27405
|
+
type: String,
|
|
27406
|
+
default: 'form'
|
|
27407
|
+
}
|
|
26857
27408
|
},
|
|
26858
27409
|
data() {
|
|
26859
27410
|
return {
|
|
27411
|
+
mobileSrc: '',
|
|
27412
|
+
isDialogFormShow: false,
|
|
27413
|
+
dialogConfig: null,
|
|
27414
|
+
// 对话框配置信息
|
|
26860
27415
|
isEditInputShow: false,
|
|
26861
27416
|
customValue: '',
|
|
26862
27417
|
defualtTooltipplacement: 'bottom',
|
|
@@ -26905,9 +27460,24 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26905
27460
|
}
|
|
26906
27461
|
let result = [];
|
|
26907
27462
|
nameAry.forEach(m => {
|
|
26908
|
-
|
|
26909
|
-
|
|
26910
|
-
};
|
|
27463
|
+
// 带url跳转参数的 使用上横杆区分参数 值格式为 名称¯跳转key:跳转value
|
|
27464
|
+
// 上横向保存数据库后 有可能被改变此处兼容写了一种上横线
|
|
27465
|
+
let n = {};
|
|
27466
|
+
if (m.includes('¯') && m.split('¯')[1] || m.includes('ˉ') && m.split('ˉ')[1]) {
|
|
27467
|
+
let val1 = m.includes('¯') ? m.split('¯')[0] : m.split('ˉ')[0];
|
|
27468
|
+
let val2 = m.includes('¯') ? m.split('¯')[1] : m.split('ˉ')[1];
|
|
27469
|
+
n.value = val1;
|
|
27470
|
+
let jumpParamStr = val2;
|
|
27471
|
+
if (jumpParamStr) {
|
|
27472
|
+
let jumpParam = jumpParamStr.split(':');
|
|
27473
|
+
n.jumpParamKey = jumpParam[0];
|
|
27474
|
+
n.jumpParamValue = jumpParam[1];
|
|
27475
|
+
}
|
|
27476
|
+
} else {
|
|
27477
|
+
n = {
|
|
27478
|
+
value: m
|
|
27479
|
+
};
|
|
27480
|
+
}
|
|
26911
27481
|
result.push(n);
|
|
26912
27482
|
});
|
|
26913
27483
|
return result;
|
|
@@ -26915,8 +27485,16 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26915
27485
|
},
|
|
26916
27486
|
isAllowCustom() {
|
|
26917
27487
|
return this.custdialog && this.custdialog.allowInput;
|
|
27488
|
+
},
|
|
27489
|
+
// 是否展示可跳转颜色
|
|
27490
|
+
isSrcColor() {
|
|
27491
|
+
return this.dialogConfig && this.dialogType !== 'search' && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
26918
27492
|
}
|
|
26919
27493
|
},
|
|
27494
|
+
created() {
|
|
27495
|
+
// 获取对话框配置,看是否有配置url跳转
|
|
27496
|
+
this.getDialogConfig();
|
|
27497
|
+
},
|
|
26920
27498
|
mounted() {
|
|
26921
27499
|
setTimeout(() => {
|
|
26922
27500
|
const {
|
|
@@ -26934,9 +27512,74 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26934
27512
|
}
|
|
26935
27513
|
//获取对话框按钮名称宽度
|
|
26936
27514
|
this.calacInputSuffixWidth();
|
|
27515
|
+
if (this.value && this.inputWriteable) {
|
|
27516
|
+
this.calacInputSuffixHeight();
|
|
27517
|
+
}
|
|
26937
27518
|
}, 50);
|
|
26938
27519
|
},
|
|
26939
27520
|
methods: {
|
|
27521
|
+
// 跳转url页面
|
|
27522
|
+
jumpUrl(item) {
|
|
27523
|
+
if (!this.isSrcColor) {
|
|
27524
|
+
if (this.inputWriteable) {
|
|
27525
|
+
this.showEditInput();
|
|
27526
|
+
}
|
|
27527
|
+
return;
|
|
27528
|
+
}
|
|
27529
|
+
let url = this.isMobile ? this.dialogConfig.mobileUrl : this.dialogConfig.pcUrl;
|
|
27530
|
+
// 获取通用token 和 url翻译
|
|
27531
|
+
Promise.all([this.$requestConfig.getThreeTreeToken(), this.transformUrl(url)]).then(res => {
|
|
27532
|
+
if (res[0] && res[0].code == 200) {
|
|
27533
|
+
let token = res[0].value;
|
|
27534
|
+
let endUrl = res[1];
|
|
27535
|
+
// 拼接参数 token和参数
|
|
27536
|
+
if (endUrl.indexOf('?') == -1) {
|
|
27537
|
+
endUrl += `?bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
|
|
27538
|
+
} else {
|
|
27539
|
+
endUrl += `&bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
|
|
27540
|
+
}
|
|
27541
|
+
if (this.isMobile) {
|
|
27542
|
+
this.mobileSrc = endUrl;
|
|
27543
|
+
this.isDialogFormShow = true;
|
|
27544
|
+
} else {
|
|
27545
|
+
window.open(endUrl);
|
|
27546
|
+
}
|
|
27547
|
+
} else {
|
|
27548
|
+
this.$message.info(res.message || '获取token失败!');
|
|
27549
|
+
}
|
|
27550
|
+
});
|
|
27551
|
+
},
|
|
27552
|
+
// 替换url中域名通配符 需要发送接口
|
|
27553
|
+
transformUrl(url) {
|
|
27554
|
+
return new Promise(resolve => {
|
|
27555
|
+
var reg = /(\$\{(\w+)\})/;
|
|
27556
|
+
var match = reg.exec(url);
|
|
27557
|
+
if (match) {
|
|
27558
|
+
let alias = match[2];
|
|
27559
|
+
if (alias) {
|
|
27560
|
+
this.$requestConfig.getHostByAlias(alias).then(res => {
|
|
27561
|
+
if (res && res.value && res.value.rootAddress) {
|
|
27562
|
+
resolve(url.replace(match[1], res.value.rootAddress));
|
|
27563
|
+
} else {
|
|
27564
|
+
resolve(url);
|
|
27565
|
+
}
|
|
27566
|
+
});
|
|
27567
|
+
} else {
|
|
27568
|
+
resolve(url);
|
|
27569
|
+
}
|
|
27570
|
+
} else {
|
|
27571
|
+
resolve(url);
|
|
27572
|
+
}
|
|
27573
|
+
});
|
|
27574
|
+
},
|
|
27575
|
+
// 获取对话框配置
|
|
27576
|
+
getDialogConfig() {
|
|
27577
|
+
if (this.custdialog && this.custdialog.custDialog && this.custdialog.custDialog.alias) this.$requestConfig.getCustomDialogByAlias(this.custdialog.custDialog.alias).then(response => {
|
|
27578
|
+
if (response) {
|
|
27579
|
+
this.dialogConfig = response;
|
|
27580
|
+
}
|
|
27581
|
+
});
|
|
27582
|
+
},
|
|
26940
27583
|
editInputBlur() {
|
|
26941
27584
|
this.$emit('input', this.customValue);
|
|
26942
27585
|
this.isEditInputShow = false;
|
|
@@ -27011,8 +27654,8 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27011
27654
|
});
|
|
27012
27655
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=script&lang=js&
|
|
27013
27656
|
/* harmony default export */ var packages_CustomDialog_src_mainvue_type_script_lang_js_ = (CustomDialog_src_mainvue_type_script_lang_js_);
|
|
27014
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=
|
|
27015
|
-
var
|
|
27657
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=bf5a35ae&prod&lang=scss&scoped=true&
|
|
27658
|
+
var mainvue_type_style_index_0_id_bf5a35ae_prod_lang_scss_scoped_true_ = __webpack_require__("87a1");
|
|
27016
27659
|
|
|
27017
27660
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue
|
|
27018
27661
|
|
|
@@ -27025,11 +27668,11 @@ var mainvue_type_style_index_0_id_0b5eb5e6_prod_lang_scss_scoped_true_ = __webpa
|
|
|
27025
27668
|
|
|
27026
27669
|
var CustomDialog_src_main_component = normalizeComponent(
|
|
27027
27670
|
packages_CustomDialog_src_mainvue_type_script_lang_js_,
|
|
27028
|
-
|
|
27029
|
-
|
|
27671
|
+
mainvue_type_template_id_bf5a35ae_scoped_true_render,
|
|
27672
|
+
mainvue_type_template_id_bf5a35ae_scoped_true_staticRenderFns,
|
|
27030
27673
|
false,
|
|
27031
27674
|
null,
|
|
27032
|
-
"
|
|
27675
|
+
"bf5a35ae",
|
|
27033
27676
|
null
|
|
27034
27677
|
|
|
27035
27678
|
)
|
|
@@ -41669,12 +42312,12 @@ var GlobalValidate_component = normalizeComponent(
|
|
|
41669
42312
|
)
|
|
41670
42313
|
|
|
41671
42314
|
/* harmony default export */ var GlobalValidate = (GlobalValidate_component.exports);
|
|
41672
|
-
// 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=
|
|
41673
|
-
var
|
|
41674
|
-
var
|
|
42315
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/Global/src/GlobalQuery.vue?vue&type=template&id=e2a6b5c8&
|
|
42316
|
+
var GlobalQueryvue_type_template_id_e2a6b5c8_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span')}
|
|
42317
|
+
var GlobalQueryvue_type_template_id_e2a6b5c8_staticRenderFns = []
|
|
41675
42318
|
|
|
41676
42319
|
|
|
41677
|
-
// CONCATENATED MODULE: ./packages/Global/src/GlobalQuery.vue?vue&type=template&id=
|
|
42320
|
+
// CONCATENATED MODULE: ./packages/Global/src/GlobalQuery.vue?vue&type=template&id=e2a6b5c8&
|
|
41678
42321
|
|
|
41679
42322
|
// 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&
|
|
41680
42323
|
//
|
|
@@ -41705,6 +42348,10 @@ var GlobalQueryvue_type_template_id_c61b6e10_staticRenderFns = []
|
|
|
41705
42348
|
if (!this.formInst) {
|
|
41706
42349
|
this.formInst = utils["a" /* default */].getOnlineFormInstance(this.$parent);
|
|
41707
42350
|
}
|
|
42351
|
+
// 如果是只读时不触发关联查询
|
|
42352
|
+
if (this.formInst.isView === true) {
|
|
42353
|
+
return;
|
|
42354
|
+
}
|
|
41708
42355
|
if (this.queryJson.length > 0) {
|
|
41709
42356
|
let _this = this;
|
|
41710
42357
|
this.queryJson.forEach(item => {
|
|
@@ -41853,8 +42500,8 @@ var GlobalQueryvue_type_template_id_c61b6e10_staticRenderFns = []
|
|
|
41853
42500
|
|
|
41854
42501
|
var GlobalQuery_component = normalizeComponent(
|
|
41855
42502
|
src_GlobalQueryvue_type_script_lang_js_,
|
|
41856
|
-
|
|
41857
|
-
|
|
42503
|
+
GlobalQueryvue_type_template_id_e2a6b5c8_render,
|
|
42504
|
+
GlobalQueryvue_type_template_id_e2a6b5c8_staticRenderFns,
|
|
41858
42505
|
false,
|
|
41859
42506
|
null,
|
|
41860
42507
|
null,
|