three-trees-ui 1.0.15 → 1.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/three-trees-ui.common.js +455 -1064
- package/lib/three-trees-ui.css +1 -1
- package/lib/three-trees-ui.umd.js +455 -1064
- package/lib/three-trees-ui.umd.min.js +1 -1
- package/package.json +1 -1
- package/packages/CustomDialog/src/customDialog.vue +165 -488
- package/packages/CustomDialog/src/customMobileDialog.vue +155 -464
- package/packages/CustomDialog/src/main.vue +10 -202
- package/packages/DimensionSelector/src/main.vue +0 -2
- package/packages/Global/src/GlobalQuery.vue +5 -0
- package/packages/Input/src/main.vue +3 -0
- package/packages/Tree/src/main.vue +2 -7
- package/src/directive/formulas.js +8 -0
- package/src/mixins/permission.js +4 -0
|
@@ -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,6 +1657,13 @@ const btnList = [{
|
|
|
1650
1657
|
|
|
1651
1658
|
/***/ }),
|
|
1652
1659
|
|
|
1660
|
+
/***/ "0ca0":
|
|
1661
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1662
|
+
|
|
1663
|
+
// extracted by mini-css-extract-plugin
|
|
1664
|
+
|
|
1665
|
+
/***/ }),
|
|
1666
|
+
|
|
1653
1667
|
/***/ "0edb":
|
|
1654
1668
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1655
1669
|
|
|
@@ -1877,7 +1891,7 @@ const SubPagination = {
|
|
|
1877
1891
|
|
|
1878
1892
|
/***/ }),
|
|
1879
1893
|
|
|
1880
|
-
/***/ "
|
|
1894
|
+
/***/ "1ccc":
|
|
1881
1895
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1882
1896
|
|
|
1883
1897
|
// extracted by mini-css-extract-plugin
|
|
@@ -2045,6 +2059,13 @@ module.exports = require("vuedraggable");
|
|
|
2045
2059
|
|
|
2046
2060
|
/***/ }),
|
|
2047
2061
|
|
|
2062
|
+
/***/ "333d":
|
|
2063
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2064
|
+
|
|
2065
|
+
// extracted by mini-css-extract-plugin
|
|
2066
|
+
|
|
2067
|
+
/***/ }),
|
|
2068
|
+
|
|
2048
2069
|
/***/ "33ce":
|
|
2049
2070
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2050
2071
|
|
|
@@ -2086,6 +2107,10 @@ const conformanceJudge = (value, vnode) => {
|
|
|
2086
2107
|
};
|
|
2087
2108
|
const formula = {
|
|
2088
2109
|
bind(el, binding, vnode) {
|
|
2110
|
+
// 如果是只读的就不执行js脚本计算
|
|
2111
|
+
if (el && el.__vue__ && el.formIsView === true) {
|
|
2112
|
+
return;
|
|
2113
|
+
}
|
|
2089
2114
|
if (!conformanceJudge(binding.value.value, vnode)) {
|
|
2090
2115
|
return;
|
|
2091
2116
|
}
|
|
@@ -2111,6 +2136,10 @@ const formula = {
|
|
|
2111
2136
|
}
|
|
2112
2137
|
},
|
|
2113
2138
|
update(el, binding, vnode) {
|
|
2139
|
+
// 如果是只读的就不执行js脚本计算
|
|
2140
|
+
if (el && el.__vue__ && el.formIsView === true) {
|
|
2141
|
+
return;
|
|
2142
|
+
}
|
|
2114
2143
|
if (!conformanceJudge(binding.value.value, vnode)) {
|
|
2115
2144
|
return;
|
|
2116
2145
|
}
|
|
@@ -2774,28 +2803,6 @@ Formulas.install = Vue => {
|
|
|
2774
2803
|
|
|
2775
2804
|
// extracted by mini-css-extract-plugin
|
|
2776
2805
|
|
|
2777
|
-
/***/ }),
|
|
2778
|
-
|
|
2779
|
-
/***/ "3be0":
|
|
2780
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2781
|
-
|
|
2782
|
-
"use strict";
|
|
2783
|
-
/* 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");
|
|
2784
|
-
/* 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__);
|
|
2785
|
-
/* unused harmony reexport * */
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
/***/ }),
|
|
2789
|
-
|
|
2790
|
-
/***/ "3c4b":
|
|
2791
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2792
|
-
|
|
2793
|
-
"use strict";
|
|
2794
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_0c414f1a_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("4a17");
|
|
2795
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_0c414f1a_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_0c414f1a_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
2796
|
-
/* unused harmony reexport * */
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
2806
|
/***/ }),
|
|
2800
2807
|
|
|
2801
2808
|
/***/ "3e5b":
|
|
@@ -2834,30 +2841,23 @@ Formulas.install = Vue => {
|
|
|
2834
2841
|
|
|
2835
2842
|
/***/ }),
|
|
2836
2843
|
|
|
2837
|
-
/***/ "
|
|
2838
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2839
|
-
|
|
2840
|
-
// extracted by mini-css-extract-plugin
|
|
2841
|
-
|
|
2842
|
-
/***/ }),
|
|
2843
|
-
|
|
2844
|
-
/***/ "4680":
|
|
2844
|
+
/***/ "4876":
|
|
2845
2845
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2846
2846
|
|
|
2847
2847
|
"use strict";
|
|
2848
|
-
/* harmony import */ var
|
|
2849
|
-
/* harmony import */ var
|
|
2848
|
+
/* 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");
|
|
2849
|
+
/* 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__);
|
|
2850
2850
|
/* unused harmony reexport * */
|
|
2851
2851
|
|
|
2852
2852
|
|
|
2853
2853
|
/***/ }),
|
|
2854
2854
|
|
|
2855
|
-
/***/ "
|
|
2855
|
+
/***/ "48f7":
|
|
2856
2856
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2857
2857
|
|
|
2858
2858
|
"use strict";
|
|
2859
|
-
/* harmony import */ var
|
|
2860
|
-
/* harmony import */ var
|
|
2859
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_5731e345_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1ccc");
|
|
2860
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_5731e345_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_5731e345_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
2861
2861
|
/* unused harmony reexport * */
|
|
2862
2862
|
|
|
2863
2863
|
|
|
@@ -2895,10 +2895,14 @@ Formulas.install = Vue => {
|
|
|
2895
2895
|
|
|
2896
2896
|
/***/ }),
|
|
2897
2897
|
|
|
2898
|
-
/***/ "
|
|
2899
|
-
/***/ (function(module,
|
|
2898
|
+
/***/ "49f9":
|
|
2899
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2900
|
+
|
|
2901
|
+
"use strict";
|
|
2902
|
+
/* 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");
|
|
2903
|
+
/* 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__);
|
|
2904
|
+
/* unused harmony reexport * */
|
|
2900
2905
|
|
|
2901
|
-
// extracted by mini-css-extract-plugin
|
|
2902
2906
|
|
|
2903
2907
|
/***/ }),
|
|
2904
2908
|
|
|
@@ -3031,13 +3035,6 @@ exports.clearImmediate = (typeof self !== "undefined" && self.clearImmediate) ||
|
|
|
3031
3035
|
|
|
3032
3036
|
/***/ }),
|
|
3033
3037
|
|
|
3034
|
-
/***/ "569e":
|
|
3035
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
3036
|
-
|
|
3037
|
-
// extracted by mini-css-extract-plugin
|
|
3038
|
-
|
|
3039
|
-
/***/ }),
|
|
3040
|
-
|
|
3041
3038
|
/***/ "5877":
|
|
3042
3039
|
/***/ (function(module, exports) {
|
|
3043
3040
|
|
|
@@ -4128,13 +4125,6 @@ const dict = {
|
|
|
4128
4125
|
|
|
4129
4126
|
/***/ }),
|
|
4130
4127
|
|
|
4131
|
-
/***/ "6ebe":
|
|
4132
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4133
|
-
|
|
4134
|
-
// extracted by mini-css-extract-plugin
|
|
4135
|
-
|
|
4136
|
-
/***/ }),
|
|
4137
|
-
|
|
4138
4128
|
/***/ "6f28":
|
|
4139
4129
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4140
4130
|
|
|
@@ -4167,13 +4157,6 @@ const dict = {
|
|
|
4167
4157
|
|
|
4168
4158
|
/***/ }),
|
|
4169
4159
|
|
|
4170
|
-
/***/ "7090":
|
|
4171
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4172
|
-
|
|
4173
|
-
// extracted by mini-css-extract-plugin
|
|
4174
|
-
|
|
4175
|
-
/***/ }),
|
|
4176
|
-
|
|
4177
4160
|
/***/ "7152":
|
|
4178
4161
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4179
4162
|
|
|
@@ -4249,6 +4232,13 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4249
4232
|
|
|
4250
4233
|
/***/ }),
|
|
4251
4234
|
|
|
4235
|
+
/***/ "7c6e":
|
|
4236
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4237
|
+
|
|
4238
|
+
// extracted by mini-css-extract-plugin
|
|
4239
|
+
|
|
4240
|
+
/***/ }),
|
|
4241
|
+
|
|
4252
4242
|
/***/ "7d0a":
|
|
4253
4243
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4254
4244
|
|
|
@@ -4276,6 +4266,17 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4276
4266
|
|
|
4277
4267
|
// extracted by mini-css-extract-plugin
|
|
4278
4268
|
|
|
4269
|
+
/***/ }),
|
|
4270
|
+
|
|
4271
|
+
/***/ "7ff9":
|
|
4272
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4273
|
+
|
|
4274
|
+
"use strict";
|
|
4275
|
+
/* 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");
|
|
4276
|
+
/* 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__);
|
|
4277
|
+
/* unused harmony reexport * */
|
|
4278
|
+
|
|
4279
|
+
|
|
4279
4280
|
/***/ }),
|
|
4280
4281
|
|
|
4281
4282
|
/***/ "8262":
|
|
@@ -4330,17 +4331,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4330
4331
|
|
|
4331
4332
|
// extracted by mini-css-extract-plugin
|
|
4332
4333
|
|
|
4333
|
-
/***/ }),
|
|
4334
|
-
|
|
4335
|
-
/***/ "87a1":
|
|
4336
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4337
|
-
|
|
4338
|
-
"use strict";
|
|
4339
|
-
/* 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");
|
|
4340
|
-
/* 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__);
|
|
4341
|
-
/* unused harmony reexport * */
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
4334
|
/***/ }),
|
|
4345
4335
|
|
|
4346
4336
|
/***/ "889a":
|
|
@@ -4722,7 +4712,14 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
4722
4712
|
/***/ "9224":
|
|
4723
4713
|
/***/ (function(module) {
|
|
4724
4714
|
|
|
4725
|
-
module.exports = JSON.parse("{\"a\":\"1.0.
|
|
4715
|
+
module.exports = JSON.parse("{\"a\":\"1.0.17\"}");
|
|
4716
|
+
|
|
4717
|
+
/***/ }),
|
|
4718
|
+
|
|
4719
|
+
/***/ "923d":
|
|
4720
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4721
|
+
|
|
4722
|
+
// extracted by mini-css-extract-plugin
|
|
4726
4723
|
|
|
4727
4724
|
/***/ }),
|
|
4728
4725
|
|
|
@@ -4847,6 +4844,13 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHoAAABMCAYAAACi
|
|
|
4847
4844
|
|
|
4848
4845
|
/***/ }),
|
|
4849
4846
|
|
|
4847
|
+
/***/ "a707":
|
|
4848
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4849
|
+
|
|
4850
|
+
// extracted by mini-css-extract-plugin
|
|
4851
|
+
|
|
4852
|
+
/***/ }),
|
|
4853
|
+
|
|
4850
4854
|
/***/ "a751":
|
|
4851
4855
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4852
4856
|
|
|
@@ -5435,17 +5439,6 @@ module.exports = require("setimmediate");
|
|
|
5435
5439
|
|
|
5436
5440
|
// extracted by mini-css-extract-plugin
|
|
5437
5441
|
|
|
5438
|
-
/***/ }),
|
|
5439
|
-
|
|
5440
|
-
/***/ "aeed":
|
|
5441
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5442
|
-
|
|
5443
|
-
"use strict";
|
|
5444
|
-
/* 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");
|
|
5445
|
-
/* 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__);
|
|
5446
|
-
/* unused harmony reexport * */
|
|
5447
|
-
|
|
5448
|
-
|
|
5449
5442
|
/***/ }),
|
|
5450
5443
|
|
|
5451
5444
|
/***/ "af95":
|
|
@@ -6241,13 +6234,6 @@ const {
|
|
|
6241
6234
|
|
|
6242
6235
|
/***/ }),
|
|
6243
6236
|
|
|
6244
|
-
/***/ "b1a3":
|
|
6245
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
6246
|
-
|
|
6247
|
-
// extracted by mini-css-extract-plugin
|
|
6248
|
-
|
|
6249
|
-
/***/ }),
|
|
6250
|
-
|
|
6251
6237
|
/***/ "b1ce":
|
|
6252
6238
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6253
6239
|
|
|
@@ -6442,6 +6428,17 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
|
|
|
6442
6428
|
|
|
6443
6429
|
// extracted by mini-css-extract-plugin
|
|
6444
6430
|
|
|
6431
|
+
/***/ }),
|
|
6432
|
+
|
|
6433
|
+
/***/ "be12":
|
|
6434
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6435
|
+
|
|
6436
|
+
"use strict";
|
|
6437
|
+
/* 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");
|
|
6438
|
+
/* 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__);
|
|
6439
|
+
/* unused harmony reexport * */
|
|
6440
|
+
|
|
6441
|
+
|
|
6445
6442
|
/***/ }),
|
|
6446
6443
|
|
|
6447
6444
|
/***/ "c0a9":
|
|
@@ -6460,6 +6457,17 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
|
|
|
6460
6457
|
|
|
6461
6458
|
module.exports = require("moment");
|
|
6462
6459
|
|
|
6460
|
+
/***/ }),
|
|
6461
|
+
|
|
6462
|
+
/***/ "c33b":
|
|
6463
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6464
|
+
|
|
6465
|
+
"use strict";
|
|
6466
|
+
/* 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");
|
|
6467
|
+
/* 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__);
|
|
6468
|
+
/* unused harmony reexport * */
|
|
6469
|
+
|
|
6470
|
+
|
|
6463
6471
|
/***/ }),
|
|
6464
6472
|
|
|
6465
6473
|
/***/ "c429":
|
|
@@ -6592,17 +6600,6 @@ module.exports = g;
|
|
|
6592
6600
|
/* unused harmony reexport * */
|
|
6593
6601
|
|
|
6594
6602
|
|
|
6595
|
-
/***/ }),
|
|
6596
|
-
|
|
6597
|
-
/***/ "cc2b":
|
|
6598
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6599
|
-
|
|
6600
|
-
"use strict";
|
|
6601
|
-
/* 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");
|
|
6602
|
-
/* 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__);
|
|
6603
|
-
/* unused harmony reexport * */
|
|
6604
|
-
|
|
6605
|
-
|
|
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
|
+
/***/ "dccc":
|
|
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_68e2d4a1_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("8728");
|
|
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_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__);
|
|
7166
7167
|
/* unused harmony reexport * */
|
|
7167
7168
|
|
|
7168
7169
|
|
|
7169
7170
|
/***/ }),
|
|
7170
7171
|
|
|
7171
|
-
/***/ "
|
|
7172
|
+
/***/ "de6a":
|
|
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_customMobileDialog_vue_vue_type_style_index_0_id_1661eebb_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("923d");
|
|
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_customMobileDialog_vue_vue_type_style_index_0_id_1661eebb_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_0_id_1661eebb_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
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=5731e345&scoped=true&
|
|
15625
|
+
var mainvue_type_template_id_5731e345_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{style:(_vm.containerStyle)},[(_vm.supportFilter)?_c('div',{staticClass:"tree-header flex"},[_vm._t("custom-prefix"),_c('el-input',{attrs:{"placeholder":_vm.t('ht.tree.filterText'),"clearable":""},model:{value:(_vm.filterText),callback:function ($$v) {_vm.filterText=$$v},expression:"filterText"}},[_c('i',{staticClass:"el-input__icon el-icon-search",attrs:{"slot":"prefix"},slot:"prefix"})]),_c('div',{class:_vm.isIeExplorer
|
|
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_5731e345_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=5731e345&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,11 +15906,7 @@ var mainvue_type_template_id_10f71c00_scoped_true_staticRenderFns = []
|
|
|
15891
15906
|
},
|
|
15892
15907
|
watch: {
|
|
15893
15908
|
filterText(val) {
|
|
15894
|
-
|
|
15895
|
-
this.$emit('loadALL', val);
|
|
15896
|
-
} else {
|
|
15897
|
-
this.$refs.elTree.filter(val);
|
|
15898
|
-
}
|
|
15909
|
+
this.$refs.elTree.filter(val);
|
|
15899
15910
|
},
|
|
15900
15911
|
defaultCheckedKeys(val) {
|
|
15901
15912
|
this.$refs.elTree.setCheckedKeys(val);
|
|
@@ -15988,8 +15999,8 @@ var mainvue_type_template_id_10f71c00_scoped_true_staticRenderFns = []
|
|
|
15988
15999
|
});
|
|
15989
16000
|
// CONCATENATED MODULE: ./packages/Tree/src/main.vue?vue&type=script&lang=js&
|
|
15990
16001
|
/* harmony default export */ var packages_Tree_src_mainvue_type_script_lang_js_ = (Tree_src_mainvue_type_script_lang_js_);
|
|
15991
|
-
// EXTERNAL MODULE: ./packages/Tree/src/main.vue?vue&type=style&index=0&id=
|
|
15992
|
-
var
|
|
16002
|
+
// EXTERNAL MODULE: ./packages/Tree/src/main.vue?vue&type=style&index=0&id=5731e345&prod&lang=scss&scoped=true&
|
|
16003
|
+
var mainvue_type_style_index_0_id_5731e345_prod_lang_scss_scoped_true_ = __webpack_require__("48f7");
|
|
15993
16004
|
|
|
15994
16005
|
// CONCATENATED MODULE: ./packages/Tree/src/main.vue
|
|
15995
16006
|
|
|
@@ -16002,11 +16013,11 @@ var mainvue_type_style_index_0_id_10f71c00_prod_lang_scss_scoped_true_ = __webpa
|
|
|
16002
16013
|
|
|
16003
16014
|
var Tree_src_main_component = normalizeComponent(
|
|
16004
16015
|
packages_Tree_src_mainvue_type_script_lang_js_,
|
|
16005
|
-
|
|
16006
|
-
|
|
16016
|
+
mainvue_type_template_id_5731e345_scoped_true_render,
|
|
16017
|
+
mainvue_type_template_id_5731e345_scoped_true_staticRenderFns,
|
|
16007
16018
|
false,
|
|
16008
16019
|
null,
|
|
16009
|
-
"
|
|
16020
|
+
"5731e345",
|
|
16010
16021
|
null
|
|
16011
16022
|
|
|
16012
16023
|
)
|
|
@@ -22498,8 +22509,8 @@ PostSelector_src_main.install = function (Vue) {
|
|
|
22498
22509
|
Vue.component(PostSelector_src_main.name, PostSelector_src_main);
|
|
22499
22510
|
};
|
|
22500
22511
|
/* harmony default export */ var PostSelector = (PostSelector_src_main);
|
|
22501
|
-
// 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=
|
|
22502
|
-
var
|
|
22512
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/DimensionSelector/src/main.vue?vue&type=template&id=10681225&scoped=true&
|
|
22513
|
+
var mainvue_type_template_id_10681225_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.permission !== 'n')?_c('div',{class:[
|
|
22503
22514
|
'inputs',
|
|
22504
22515
|
_vm.formInputsDisplay == 'block'
|
|
22505
22516
|
? 'ht-form-inputs__block'
|
|
@@ -22514,10 +22525,10 @@ var mainvue_type_template_id_8015cf1e_scoped_true_render = function () {var _vm=
|
|
|
22514
22525
|
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){
|
|
22515
22526
|
var select = ref.select;
|
|
22516
22527
|
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()}
|
|
22517
|
-
var
|
|
22528
|
+
var mainvue_type_template_id_10681225_scoped_true_staticRenderFns = []
|
|
22518
22529
|
|
|
22519
22530
|
|
|
22520
|
-
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=template&id=
|
|
22531
|
+
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=template&id=10681225&scoped=true&
|
|
22521
22532
|
|
|
22522
22533
|
// 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&
|
|
22523
22534
|
//
|
|
@@ -22776,8 +22787,6 @@ var mainvue_type_template_id_8015cf1e_scoped_true_staticRenderFns = []
|
|
|
22776
22787
|
if (this.config.hasOwnProperty('demName')) {
|
|
22777
22788
|
utils["a" /* default */].setValueByConfigKey(this, this.config, 'demName', demNameAry.join(','));
|
|
22778
22789
|
}
|
|
22779
|
-
} else {
|
|
22780
|
-
this.$emit('change', newVal);
|
|
22781
22790
|
}
|
|
22782
22791
|
// 通过valueChange事件发布值变更消息
|
|
22783
22792
|
this.$emit('valueChange', ary.join(','), newVal);
|
|
@@ -22907,8 +22916,8 @@ var mainvue_type_template_id_8015cf1e_scoped_true_staticRenderFns = []
|
|
|
22907
22916
|
});
|
|
22908
22917
|
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=script&lang=js&
|
|
22909
22918
|
/* harmony default export */ var packages_DimensionSelector_src_mainvue_type_script_lang_js_ = (DimensionSelector_src_mainvue_type_script_lang_js_);
|
|
22910
|
-
// EXTERNAL MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=style&index=0&id=
|
|
22911
|
-
var
|
|
22919
|
+
// EXTERNAL MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=style&index=0&id=10681225&prod&lang=scss&scoped=true&
|
|
22920
|
+
var mainvue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true_ = __webpack_require__("c33b");
|
|
22912
22921
|
|
|
22913
22922
|
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue
|
|
22914
22923
|
|
|
@@ -22921,11 +22930,11 @@ var mainvue_type_style_index_0_id_8015cf1e_prod_lang_scss_scoped_true_ = __webpa
|
|
|
22921
22930
|
|
|
22922
22931
|
var DimensionSelector_src_main_component = normalizeComponent(
|
|
22923
22932
|
packages_DimensionSelector_src_mainvue_type_script_lang_js_,
|
|
22924
|
-
|
|
22925
|
-
|
|
22933
|
+
mainvue_type_template_id_10681225_scoped_true_render,
|
|
22934
|
+
mainvue_type_template_id_10681225_scoped_true_staticRenderFns,
|
|
22926
22935
|
false,
|
|
22927
22936
|
null,
|
|
22928
|
-
"
|
|
22937
|
+
"10681225",
|
|
22929
22938
|
null
|
|
22930
22939
|
|
|
22931
22940
|
)
|
|
@@ -23553,8 +23562,8 @@ Dialog_src_main.install = function (Vue) {
|
|
|
23553
23562
|
Vue.component(Dialog_src_main.name, Dialog_src_main);
|
|
23554
23563
|
};
|
|
23555
23564
|
/* harmony default export */ var Dialog = (Dialog_src_main);
|
|
23556
|
-
// 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=
|
|
23557
|
-
var
|
|
23565
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/main.vue?vue&type=template&id=0b5eb5e6&scoped=true&
|
|
23566
|
+
var mainvue_type_template_id_0b5eb5e6_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"inputs"},[_c('el-tooltip',{attrs:{"placement":_vm.tooltipplacement || _vm.defualtTooltipplacement,"disabled":_vm.inputWriteable && _vm.errors && !_vm.errors.has('custom-form.' + _vm.inputName)}},[(_vm.errors && _vm.errors.first)?_c('div',{attrs:{"slot":"content"},slot:"content"},[_vm._v("\n "+_vm._s(_vm.errors.first('custom-form.' + _vm.inputName))+"\n ")]):_vm._e(),(_vm.inputWriteable)?_c('div',{staticClass:"el-select",class:{ 'has-value': _vm.value },staticStyle:{"width":"100%"}},[_c('div',{ref:"tagSpans",staticClass:"el-select__tags",style:({ width: 'calc(100% - 10px - ' + _vm.inputSuffixWidth + 'px)' }),on:{"click":_vm.showEditInput}},[_c('span',{staticClass:"tag-wrap"},_vm._l((_vm.inputVal),function(item,index){return _c('span',{key:item.value,staticClass:"el-tag el-tag--info el-tag--small",on:{"click":_vm.showEditInput}},[_c('span',{staticClass:"el-select__tags-text"},[_vm._v(_vm._s(item.value))]),_c('i',{staticClass:"el-tag__close el-icon-close",on:{"click":function($event){$event.stopPropagation();return _vm.removeSelectOrg(index)}}})])}),0)]),_c('div',{staticClass:"el-input el-input--suffix"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.inputVal),expression:"inputVal"},{name:"validate",rawName:"v-validate",value:(_vm.inputValidate),expression:"inputValidate"}],staticClass:"el-input__inner",style:({ height: _vm.inputSuffixHeight + 'px' }),attrs:{"type":"text","readonly":"readonly","name":_vm.inputName,"autocomplete":"off","placeholder":_vm.placeholder},domProps:{"value":(_vm.inputVal)},on:{"click":_vm.showEditInput,"input":function($event){if($event.target.composing){ return; }_vm.inputVal=$event.target.value}}}),(_vm.isAllowCustom && _vm.isEditInputShow)?_c('el-input',{ref:"editInputRef",staticClass:"edit-input",style:({
|
|
23558
23567
|
right: _vm.inputSuffixWidth - 1 + 'px',
|
|
23559
23568
|
width: 'auto!important',
|
|
23560
23569
|
height: _vm.inputSuffixHeight - 4 + 'px',
|
|
@@ -23563,11 +23572,11 @@ var mainvue_type_template_id_bf5a35ae_scoped_true_render = function () {var _vm=
|
|
|
23563
23572
|
: 'el-input__icon icon-duihuakuang',style:({
|
|
23564
23573
|
fontSize: '17px',
|
|
23565
23574
|
lineHeight: _vm.inputSuffixHeight + 'px',
|
|
23566
|
-
})}),_vm._v("\n "+_vm._s(_vm.custdialog.name)+"\n ")])],1)])],1)]):_vm._e()]),(!_vm.inputWriteable)?_c('span',
|
|
23567
|
-
var
|
|
23575
|
+
})}),_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)}
|
|
23576
|
+
var mainvue_type_template_id_0b5eb5e6_scoped_true_staticRenderFns = []
|
|
23568
23577
|
|
|
23569
23578
|
|
|
23570
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=
|
|
23579
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=0b5eb5e6&scoped=true&
|
|
23571
23580
|
|
|
23572
23581
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.js
|
|
23573
23582
|
|
|
@@ -23689,47 +23698,19 @@ var mainvue_type_template_id_bf5a35ae_scoped_true_staticRenderFns = []
|
|
|
23689
23698
|
}
|
|
23690
23699
|
}
|
|
23691
23700
|
});
|
|
23692
|
-
// 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=
|
|
23693
|
-
var
|
|
23694
|
-
|
|
23695
|
-
|
|
23696
|
-
|
|
23697
|
-
|
|
23698
|
-
|
|
23699
|
-
|
|
23700
|
-
|
|
23701
|
-
|
|
23702
|
-
|
|
23703
|
-
|
|
23704
|
-
|
|
23705
|
-
: 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) {
|
|
23706
|
-
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23707
|
-
}}}):_vm._e(),(condition.config.alias == 'org')?_c('ht-org-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23708
|
-
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23709
|
-
}}}):_vm._e(),(condition.config.alias == 'role')?_c('ht-role-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23710
|
-
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23711
|
-
}}}):_vm._e(),(condition.config.alias == 'job')?_c('ht-job-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23712
|
-
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23713
|
-
}}}):_vm._e(),(condition.config.alias == 'post')?_c('ht-post-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23714
|
-
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23715
|
-
}}}):_vm._e(),(condition.config.alias == 'dimension')?_c('ht-dimension-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23716
|
-
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23717
|
-
}}}):_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":{
|
|
23718
|
-
name: '请选择',
|
|
23719
|
-
icon: '',
|
|
23720
|
-
custDialog: {
|
|
23721
|
-
selectNum: 1,
|
|
23722
|
-
conditions: [],
|
|
23723
|
-
mappingConf: [],
|
|
23724
|
-
custQueryJson: [],
|
|
23725
|
-
alias: condition.config.alias,
|
|
23726
|
-
type: 'custDialog',
|
|
23727
|
-
},
|
|
23728
|
-
}},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)}
|
|
23729
|
-
var customDialogvue_type_template_id_3e2f487c_scoped_true_staticRenderFns = []
|
|
23730
|
-
|
|
23731
|
-
|
|
23732
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=3e2f487c&scoped=true&
|
|
23701
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=3a57945e&scoped=true&
|
|
23702
|
+
var customDialogvue_type_template_id_3a57945e_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-dialog',{attrs:{"visible":_vm.customDialogShowList,"title":_vm.customDialog.name,"close-on-click-modal":false,"before-close":_vm.dialogCancel,"append-to-body":"","top":"6vh","width":"60%"},on:{"update:visible":function($event){_vm.customDialogShowList=$event},"opened":_vm.afterOpen}},[_c('el-container',{staticStyle:{"overflow":"auto"},style:(_vm.style)},[(_vm.customDialog.style == 2)?_c('el-aside',{directives:[{name:"show",rawName:"v-show",value:(_vm.treeShow),expression:"treeShow"}],staticStyle:{"width":"23%"}},[_c('el-card',[_c('div',{staticClass:"clearfix",attrs:{"slot":"header"},slot:"header"},[_c('span',{staticStyle:{"font-size":"16px"}},[_vm._v(_vm._s(_vm.leftTreeTitle))])]),_c('el-tree',{ref:"combinationTree",attrs:{"data":_vm.combinationTreeData,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","check-on-click-node":true,"lazy":"","load":_vm.loadTree},on:{"node-click":_vm.combiTreeClick}})],1)],1):_vm._e(),(_vm.customDialog.style == 2)?_c('el-divider',{attrs:{"direction":"vertical"}}):_vm._e(),_c('el-container',[(_vm.querysShow)?_c('el-header',{staticClass:"middle-header"},[_vm._l((_vm.conditionBind),function(condition,index){return _c('div',{key:index,staticClass:"search-item"},[_c('p',{staticStyle:{"font-size":"14px"}},[_vm._v(_vm._s(condition.comment)+":")]),(condition.controllerType == '1')?_c('div',[_c('el-input',{staticStyle:{"width":"180px","padding":"10px 0","margin":"0 5px 0 5px"},attrs:{"size":"small","clearable":"","placeholder":_vm.placeholders[index],"prefix-icon":"el-icon-search"},nativeOn:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.searchEnterFun($event)}},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '2')?_c('div',{staticStyle:{"margin-right":"10px"}},_vm._l((condition.config.options),function(itemR,$index1){return _c('el-radio',{key:$index1,attrs:{"label":itemR.key},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}},[_vm._v("\n "+_vm._s(itemR.value)+"\n ")])}),1):_vm._e(),(condition.controllerType == '3')?_c('div',{staticStyle:{"margin-right":"10px"}},[(condition.config.choiceType == 'static')?_c('ht-select',{attrs:{"placeholder":_vm.quickSearch,"options":condition.config.options},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}}):_c('eip-select-dia',{attrs:{"placeholder":_vm.quickSearch,"ganged":{
|
|
23703
|
+
alias: condition.config.customQuery.alias,
|
|
23704
|
+
valueBind: condition.config.customQuery.valueBind,
|
|
23705
|
+
noInit: '',
|
|
23706
|
+
labelBind: condition.config.customQuery.labelBind,
|
|
23707
|
+
gangedBind: '{}',
|
|
23708
|
+
bind: condition.config.bind,
|
|
23709
|
+
},"multiple":false,"filterable":false,"allow-create":false,"selectlist":[],"query-params":_vm.queryParams},model:{value:(_vm.queryParams[condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams, condition.field, $$v)},expression:"queryParams[condition.field]"}})],1):_vm._e(),(condition.controllerType == '4')?_c('div',{staticStyle:{"margin-right":"10px"}},[_c('eip-tag',{attrs:{"tag-key":condition.config.tag,"placeholder":_vm.quickSearch,"filterable":condition.config.filterable,"expand":condition.config.expand},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e()])}),(_vm.conditionBind && _vm.conditionBind.length > 0)?_c('div',{staticClass:"btn-wrap"},[_c('el-button',{staticStyle:{"margin-left":"20px"},attrs:{"size":"small","type":"primary","icon":"el-icon-search"},on:{"click":function($event){return _vm.search(true)}}},[_vm._v("\n 查询\n ")]),_c('el-button',{attrs:{"size":"small","icon":"el-icon-refresh"},on:{"click":_vm.reset}},[_vm._v("\n 重置\n ")])],1):_vm._e()],2):_vm._e(),_c('el-main',{ref:"customTableRef",staticClass:"custom-dialog_main"},[_c('el-table',{ref:"orgTable",staticClass:"org-table",staticStyle:{"width":"100%"},attrs:{"data":_vm.dialogData,"stripe":"","border":"","size":"medium","height":_vm.tableHeight},on:{"row-click":_vm.orgRowClick,"selection-change":_vm.orgTableSelection,"select":_vm.onTableSelect,"select-all":_vm.selectAll}},[(_vm.customDialog.selectNum != 1)?_c('el-table-column',{attrs:{"type":"selection","align":"center","width":"55"}}):_vm._e(),(_vm.customDialog.selectNum === 1)?_c('el-table-column',{attrs:{"align":"center","width":"55"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-radio',{staticClass:"textRadio",attrs:{"label":scope.$index},on:{"selection-change":_vm.orgTableSelection},model:{value:(_vm.tableRadioVal),callback:function ($$v) {_vm.tableRadioVal=$$v},expression:"tableRadioVal"}},[_vm._v("\n \n ")])]}}],null,false,918943478)}):_vm._e(),_c('el-table-column',{attrs:{"type":"index","width":"50","align":"center","label":"序号"}}),_vm._l((_vm.displayfield),function(field){return _c('el-table-column',{key:field.field,staticStyle:{"width":"100%"},attrs:{"show-overflow-tooltip":true,"prop":field.field,"label":field.comment}})})],2)],1),_c('el-footer',[(_vm.customDialog.needPage)?_c('el-row',{staticStyle:{"padding-top":"15px","justify-content":"space-between"},attrs:{"type":"flex","justify":"end"}},[(_vm.customDialog.style == 2)?_c('el-button',{attrs:{"icon":_vm.toggleBtn,"size":"mini","type":"default"},on:{"click":_vm.toggleTree}}):_vm._e(),_c('el-pagination',{attrs:{"small":"","current-page":_vm.pagination.page,"page-sizes":[10, 20, 50, 100],"page-size":_vm.pagination.pageSize,"layout":"total, sizes, prev, pager, next, jumper","total":_vm.total},on:{"size-change":_vm.handleSizeChange,"current-change":_vm.handleCurrentChange}})],1):_vm._e()],1)],1)],1),_c('span',{staticClass:"dialog-footer",staticStyle:{"text-align":"center"},attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.dialogConfirm}},[_vm._v("\n 确认\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.dialogCancel}},[_vm._v("取 消")])],1)],1),_c('el-dialog',{attrs:{"title":"动态传入参数查询","width":"500px","visible":_vm.dialogVisible,"before-close":_vm.handleClose,"close-on-click-modal":false,"top":"6vh"},on:{"update:visible":function($event){_vm.dialogVisible=$event}}},[_c('table',{staticClass:"form-table",staticStyle:{"margin-left":"20px","width":"90%"},attrs:{"cellspacing":"0","cellpadding":"0","border":"0"}},_vm._l((_vm.conditionfieldTree),function(item,$index){return _c('tbody',{key:$index},[(item.defaultType == '4')?_c('tr',[_c('th',{attrs:{"width":"130px"}},[_vm._v(_vm._s(item.comment)+":")]),_c('td',[(item.type != 'date')?_c('ht-input',{staticStyle:{"width":"100%"},attrs:{"type":"text","placeholder":'请输入' + item.comment,"autocomplete":"off"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e(),(item.type == 'date')?_c('ht-date',{staticStyle:{"width":"100%"},attrs:{"placeholder":'请输入' + item.comment,"format":"yyyy-MM-dd"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e()],1)]):_vm._e()])}),0),_c('div',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"type":"primary"},on:{"click":_vm.handleSave}},[_vm._v("确 定")]),_c('el-button',{on:{"click":_vm.handleClose}},[_vm._v("取 消")])],1)]),_c('el-dialog',{attrs:{"visible":_vm.customDialogShowTree,"title":_vm.customDialog.name,"close-on-click-modal":false,"before-close":_vm.dialogCancelTree,"append-to-body":"","top":"6vh","width":"500px"},on:{"update:visible":function($event){_vm.customDialogShowTree=$event}}},[_c('el-container',{staticStyle:{"overflow":"auto"},style:(_vm.style)},[_c('el-tree',{ref:"tree",staticStyle:{"width":"100%"},attrs:{"data":_vm.props1,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","show-checkbox":_vm.customDialog.selectNum === -1,"check-on-click-node":true,"check-strictly":false,"lazy":"","load":_vm.loadTree,"default-expanded-keys":_vm.defaultExpandedKeys},on:{"node-click":_vm.treeClick,"check-change":_vm.getChecked}})],1),_c('span',{staticClass:"dialog-footer",staticStyle:{"text-align":"center"},attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.dialogTreeConfirm}},[_vm._v("\n 确认\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.dialogCancelTree}},[_vm._v("取 消")])],1)],1)],1)}
|
|
23710
|
+
var customDialogvue_type_template_id_3a57945e_scoped_true_staticRenderFns = []
|
|
23711
|
+
|
|
23712
|
+
|
|
23713
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=3a57945e&scoped=true&
|
|
23733
23714
|
|
|
23734
23715
|
// EXTERNAL MODULE: external "jquery"
|
|
23735
23716
|
var external_jquery_ = __webpack_require__("c5e1");
|
|
@@ -24038,139 +24019,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24038
24019
|
//
|
|
24039
24020
|
//
|
|
24040
24021
|
//
|
|
24041
|
-
//
|
|
24042
|
-
//
|
|
24043
|
-
//
|
|
24044
|
-
//
|
|
24045
|
-
//
|
|
24046
|
-
//
|
|
24047
|
-
//
|
|
24048
|
-
//
|
|
24049
|
-
//
|
|
24050
|
-
//
|
|
24051
|
-
//
|
|
24052
|
-
//
|
|
24053
|
-
//
|
|
24054
|
-
//
|
|
24055
|
-
//
|
|
24056
|
-
//
|
|
24057
|
-
//
|
|
24058
|
-
//
|
|
24059
|
-
//
|
|
24060
|
-
//
|
|
24061
|
-
//
|
|
24062
|
-
//
|
|
24063
|
-
//
|
|
24064
|
-
//
|
|
24065
|
-
//
|
|
24066
|
-
//
|
|
24067
|
-
//
|
|
24068
|
-
//
|
|
24069
|
-
//
|
|
24070
|
-
//
|
|
24071
|
-
//
|
|
24072
|
-
//
|
|
24073
|
-
//
|
|
24074
|
-
//
|
|
24075
|
-
//
|
|
24076
|
-
//
|
|
24077
|
-
//
|
|
24078
|
-
//
|
|
24079
|
-
//
|
|
24080
|
-
//
|
|
24081
|
-
//
|
|
24082
|
-
//
|
|
24083
|
-
//
|
|
24084
|
-
//
|
|
24085
|
-
//
|
|
24086
|
-
//
|
|
24087
|
-
//
|
|
24088
|
-
//
|
|
24089
|
-
//
|
|
24090
|
-
//
|
|
24091
|
-
//
|
|
24092
|
-
//
|
|
24093
|
-
//
|
|
24094
|
-
//
|
|
24095
|
-
//
|
|
24096
|
-
//
|
|
24097
|
-
//
|
|
24098
|
-
//
|
|
24099
|
-
//
|
|
24100
|
-
//
|
|
24101
|
-
//
|
|
24102
|
-
//
|
|
24103
|
-
//
|
|
24104
|
-
//
|
|
24105
|
-
//
|
|
24106
|
-
//
|
|
24107
|
-
//
|
|
24108
|
-
//
|
|
24109
|
-
//
|
|
24110
|
-
//
|
|
24111
|
-
//
|
|
24112
|
-
//
|
|
24113
|
-
//
|
|
24114
|
-
//
|
|
24115
|
-
//
|
|
24116
|
-
//
|
|
24117
|
-
//
|
|
24118
|
-
//
|
|
24119
|
-
//
|
|
24120
|
-
//
|
|
24121
|
-
//
|
|
24122
|
-
//
|
|
24123
|
-
//
|
|
24124
|
-
//
|
|
24125
|
-
//
|
|
24126
|
-
//
|
|
24127
|
-
//
|
|
24128
|
-
//
|
|
24129
|
-
//
|
|
24130
|
-
//
|
|
24131
|
-
//
|
|
24132
|
-
//
|
|
24133
|
-
//
|
|
24134
|
-
//
|
|
24135
|
-
//
|
|
24136
|
-
//
|
|
24137
|
-
//
|
|
24138
|
-
//
|
|
24139
|
-
//
|
|
24140
|
-
//
|
|
24141
|
-
//
|
|
24142
|
-
//
|
|
24143
|
-
//
|
|
24144
|
-
//
|
|
24145
|
-
//
|
|
24146
|
-
//
|
|
24147
|
-
//
|
|
24148
|
-
//
|
|
24149
|
-
//
|
|
24150
|
-
//
|
|
24151
|
-
//
|
|
24152
|
-
//
|
|
24153
|
-
//
|
|
24154
|
-
//
|
|
24155
|
-
//
|
|
24156
|
-
//
|
|
24157
|
-
//
|
|
24158
|
-
//
|
|
24159
|
-
//
|
|
24160
|
-
//
|
|
24161
|
-
//
|
|
24162
|
-
//
|
|
24163
|
-
//
|
|
24164
|
-
//
|
|
24165
|
-
//
|
|
24166
|
-
//
|
|
24167
|
-
//
|
|
24168
|
-
//
|
|
24169
|
-
//
|
|
24170
|
-
//
|
|
24171
|
-
//
|
|
24172
|
-
//
|
|
24173
|
-
//
|
|
24174
24022
|
|
|
24175
24023
|
|
|
24176
24024
|
|
|
@@ -24198,16 +24046,10 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24198
24046
|
isReadOnly: {
|
|
24199
24047
|
type: Boolean,
|
|
24200
24048
|
default: false
|
|
24201
|
-
}
|
|
24202
|
-
dialogConfig: Object,
|
|
24203
|
-
dialogType: String
|
|
24049
|
+
}
|
|
24204
24050
|
},
|
|
24205
24051
|
data() {
|
|
24206
24052
|
return {
|
|
24207
|
-
startDate: '',
|
|
24208
|
-
// 日期控件
|
|
24209
|
-
endDate: '',
|
|
24210
|
-
// 日期控件
|
|
24211
24053
|
tableHeight: 350,
|
|
24212
24054
|
isEditInputShow: false,
|
|
24213
24055
|
customValue: '',
|
|
@@ -24288,18 +24130,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24288
24130
|
return [this.props1[0][this.nodeKey]];
|
|
24289
24131
|
}
|
|
24290
24132
|
return [];
|
|
24291
|
-
},
|
|
24292
|
-
jumpParamKey() {
|
|
24293
|
-
return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
|
|
24294
|
-
},
|
|
24295
|
-
// 是否保存成跳转url参数
|
|
24296
|
-
isHaveJumpUrl() {
|
|
24297
|
-
return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
24298
|
-
},
|
|
24299
|
-
sortDisplayfield() {
|
|
24300
|
-
return this.displayfield.sort((a, b) => {
|
|
24301
|
-
return a.sort > b.sort ? 1 : -1;
|
|
24302
|
-
});
|
|
24303
24133
|
}
|
|
24304
24134
|
},
|
|
24305
24135
|
watch: {
|
|
@@ -24335,151 +24165,131 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24335
24165
|
});
|
|
24336
24166
|
},
|
|
24337
24167
|
methods: {
|
|
24338
|
-
// 获取已选择的选择器数据id
|
|
24339
|
-
getSelectId(data) {
|
|
24340
|
-
if (!data || !data.length) {
|
|
24341
|
-
return '';
|
|
24342
|
-
}
|
|
24343
|
-
let ids = [];
|
|
24344
|
-
data.forEach(item => {
|
|
24345
|
-
ids.push(item.id);
|
|
24346
|
-
});
|
|
24347
|
-
return ids.join(',');
|
|
24348
|
-
},
|
|
24349
24168
|
showDialog() {
|
|
24350
24169
|
let isMounted = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
24170
|
+
const this_ = this;
|
|
24351
24171
|
this.fixedParams = {};
|
|
24352
|
-
// 如果已存在配置信息就不去请求配置信息 直接初始化数据
|
|
24353
|
-
if (this.dialogConfig) {
|
|
24354
|
-
this.initDialog(this.dialogConfig, isMounted);
|
|
24355
|
-
return;
|
|
24356
|
-
}
|
|
24357
24172
|
var alias = this.custdialog.custDialog.alias;
|
|
24358
24173
|
this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
|
|
24359
|
-
|
|
24360
|
-
|
|
24361
|
-
|
|
24362
|
-
initDialog(customDialog, isMounted) {
|
|
24363
|
-
let alias = this.custdialog.custDialog.alias;
|
|
24364
|
-
const this_ = this;
|
|
24365
|
-
if (!customDialog || !customDialog.alias) {
|
|
24366
|
-
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
24367
|
-
return;
|
|
24368
|
-
}
|
|
24369
|
-
if (customDialog.style == 1) {
|
|
24370
|
-
var displaylist = JSON.parse(customDialog.displayfield);
|
|
24371
|
-
this_.nodeKey = displaylist.id;
|
|
24372
|
-
}
|
|
24373
|
-
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
24374
|
-
let obj = {};
|
|
24375
|
-
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
24376
|
-
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
24377
|
-
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
24378
|
-
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
24379
|
-
if (exp) {
|
|
24380
|
-
const params = JSON.parse(exp);
|
|
24381
|
-
if (params.pageBean) {
|
|
24382
|
-
this.pagination = {
|
|
24383
|
-
...params.pageBean
|
|
24384
|
-
};
|
|
24385
|
-
}
|
|
24174
|
+
if (!customDialog || !customDialog.alias) {
|
|
24175
|
+
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
24176
|
+
return;
|
|
24386
24177
|
}
|
|
24387
|
-
|
|
24388
|
-
|
|
24389
|
-
|
|
24390
|
-
|
|
24391
|
-
|
|
24392
|
-
|
|
24393
|
-
|
|
24394
|
-
|
|
24395
|
-
|
|
24396
|
-
|
|
24397
|
-
|
|
24398
|
-
|
|
24399
|
-
|
|
24400
|
-
|
|
24401
|
-
|
|
24402
|
-
|
|
24403
|
-
|
|
24404
|
-
this_.executeScriptResult = res && res.value;
|
|
24405
|
-
});
|
|
24406
|
-
}
|
|
24407
|
-
});
|
|
24408
|
-
}
|
|
24409
|
-
//判断对话框查询是否有条件
|
|
24410
|
-
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
24411
|
-
this_.quickSearch = ''; //填写提示 placeholder
|
|
24412
|
-
this_.conditionBind = [];
|
|
24413
|
-
let queryParams = [];
|
|
24414
|
-
let placeholders = [];
|
|
24415
|
-
if (userInputList.length > 0) {
|
|
24416
|
-
userInputList.forEach(ele => {
|
|
24417
|
-
var obj = {};
|
|
24418
|
-
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
24419
|
-
if (ele.defaultType == '1') {
|
|
24420
|
-
obj[ele.field] = '';
|
|
24421
|
-
queryParams.push(obj);
|
|
24422
|
-
// queryParams[ele.field] = "";
|
|
24423
|
-
this_.conditionBind.push(ele);
|
|
24424
|
-
placeholders.push('请输入' + ele.comment);
|
|
24425
|
-
}
|
|
24426
|
-
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
24427
|
-
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
24178
|
+
if (customDialog.style == 1) {
|
|
24179
|
+
var displaylist = JSON.parse(customDialog.displayfield);
|
|
24180
|
+
this_.nodeKey = displaylist.id;
|
|
24181
|
+
}
|
|
24182
|
+
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
24183
|
+
let obj = {};
|
|
24184
|
+
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
24185
|
+
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
24186
|
+
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
24187
|
+
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
24188
|
+
if (exp) {
|
|
24189
|
+
const params = JSON.parse(exp);
|
|
24190
|
+
if (params.pageBean) {
|
|
24191
|
+
this.pagination = {
|
|
24192
|
+
...params.pageBean
|
|
24193
|
+
};
|
|
24194
|
+
}
|
|
24428
24195
|
}
|
|
24429
|
-
}
|
|
24430
|
-
|
|
24431
|
-
|
|
24432
|
-
|
|
24433
|
-
|
|
24434
|
-
|
|
24435
|
-
|
|
24436
|
-
|
|
24437
|
-
|
|
24438
|
-
|
|
24439
|
-
|
|
24440
|
-
|
|
24441
|
-
|
|
24442
|
-
|
|
24443
|
-
|
|
24444
|
-
|
|
24445
|
-
|
|
24446
|
-
|
|
24447
|
-
|
|
24196
|
+
}
|
|
24197
|
+
//对话框按表单字段查询(参数传入的)
|
|
24198
|
+
let bindList = this_.custdialog.custDialog.conditions;
|
|
24199
|
+
this_.param = []; //绑定的表单字段
|
|
24200
|
+
if (bindList.length > 0) {
|
|
24201
|
+
bindList.forEach(ele => {
|
|
24202
|
+
//绑定表单字段
|
|
24203
|
+
if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
|
|
24204
|
+
let obj = {};
|
|
24205
|
+
obj.field = ele.field;
|
|
24206
|
+
obj.bind = ele.bind;
|
|
24207
|
+
obj.bindType = ele.bindType;
|
|
24208
|
+
this_.param.push(obj);
|
|
24209
|
+
}
|
|
24210
|
+
//取值对象为脚本时获取value
|
|
24211
|
+
if (ele.bindType === 3) {
|
|
24212
|
+
this_.$requestConfig.executeScript(ele.bind).then(res => {
|
|
24213
|
+
this_.executeScriptResult = res && res.value;
|
|
24214
|
+
});
|
|
24215
|
+
}
|
|
24216
|
+
});
|
|
24217
|
+
}
|
|
24218
|
+
//判断对话框查询是否有条件
|
|
24219
|
+
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
24220
|
+
this_.quickSearch = ''; //填写提示 placeholder
|
|
24221
|
+
this_.conditionBind = [];
|
|
24222
|
+
let queryParams = [];
|
|
24223
|
+
let placeholders = [];
|
|
24224
|
+
if (userInputList.length > 0) {
|
|
24225
|
+
userInputList.forEach(ele => {
|
|
24226
|
+
var obj = {};
|
|
24227
|
+
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
24228
|
+
if (ele.defaultType == '1') {
|
|
24229
|
+
obj[ele.field] = '';
|
|
24230
|
+
queryParams.push(obj);
|
|
24231
|
+
// queryParams[ele.field] = "";
|
|
24232
|
+
this_.conditionBind.push(ele);
|
|
24233
|
+
placeholders.push('请输入' + ele.comment);
|
|
24234
|
+
}
|
|
24235
|
+
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
24236
|
+
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
24237
|
+
}
|
|
24238
|
+
});
|
|
24239
|
+
this.$set(this, 'queryParams', queryParams);
|
|
24240
|
+
this.$set(this, 'placeholders', placeholders);
|
|
24241
|
+
}
|
|
24242
|
+
//判断是否显示条件查询输入框
|
|
24243
|
+
if (this_.quickSearch != '') {
|
|
24244
|
+
this_.querysShow = true;
|
|
24245
|
+
} else {
|
|
24246
|
+
this_.querysShow = true;
|
|
24247
|
+
}
|
|
24248
|
+
this_.quickSearch = '请输入' + this.quickSearch + '查询';
|
|
24249
|
+
this_.style = 'height:' + customDialog.height + 'px';
|
|
24250
|
+
if (window.screen.height && window.screen.height <= 900) {
|
|
24251
|
+
this.style = 'height:440px';
|
|
24252
|
+
}
|
|
24253
|
+
if (customDialog.style == 0 || customDialog.style == 2) {
|
|
24254
|
+
//列表
|
|
24255
|
+
setTimeout(() => {
|
|
24256
|
+
this_.customDialogShow({
|
|
24257
|
+
alias: alias,
|
|
24258
|
+
customDialog: customDialog
|
|
24259
|
+
}, isMounted);
|
|
24260
|
+
}, 100);
|
|
24261
|
+
} else if (customDialog.style == 1) {
|
|
24262
|
+
//树形
|
|
24263
|
+
this_.pageParam = {
|
|
24448
24264
|
alias: alias,
|
|
24449
24265
|
customDialog: customDialog
|
|
24450
|
-
}
|
|
24451
|
-
|
|
24452
|
-
|
|
24453
|
-
|
|
24454
|
-
|
|
24455
|
-
|
|
24456
|
-
|
|
24457
|
-
|
|
24458
|
-
|
|
24459
|
-
|
|
24460
|
-
|
|
24461
|
-
|
|
24462
|
-
|
|
24463
|
-
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
24464
|
-
if (this_.conditionfieldTree.length > 0) {
|
|
24465
|
-
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
24466
|
-
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
24467
|
-
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
24468
|
-
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
24266
|
+
};
|
|
24267
|
+
this_.customDialog = customDialog;
|
|
24268
|
+
let param = {};
|
|
24269
|
+
this_.conditionfieldTree = [];
|
|
24270
|
+
//判断是否存在条件
|
|
24271
|
+
if (customDialog.conditionfield) {
|
|
24272
|
+
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
24273
|
+
if (this_.conditionfieldTree.length > 0) {
|
|
24274
|
+
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
24275
|
+
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
24276
|
+
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
24277
|
+
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
24278
|
+
}
|
|
24469
24279
|
}
|
|
24470
24280
|
}
|
|
24471
24281
|
}
|
|
24472
|
-
|
|
24473
|
-
|
|
24474
|
-
|
|
24475
|
-
|
|
24476
|
-
|
|
24477
|
-
|
|
24478
|
-
|
|
24479
|
-
|
|
24282
|
+
//有动态传入的字段
|
|
24283
|
+
if (!isMounted) {
|
|
24284
|
+
if (JSON.stringify(param) != '{}') {
|
|
24285
|
+
this_.dialogVisible = true;
|
|
24286
|
+
} else {
|
|
24287
|
+
//无动态传入的字段
|
|
24288
|
+
this_.customDialogTreeShow(this_.pageParam);
|
|
24289
|
+
}
|
|
24480
24290
|
}
|
|
24481
24291
|
}
|
|
24482
|
-
}
|
|
24292
|
+
});
|
|
24483
24293
|
},
|
|
24484
24294
|
initTableHeight() {
|
|
24485
24295
|
this.$nextTick(() => {
|
|
@@ -24608,13 +24418,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24608
24418
|
}
|
|
24609
24419
|
// 添加用户id 岗位id 组织id
|
|
24610
24420
|
try {
|
|
24611
|
-
if (this.$requestConfig.getUserId
|
|
24421
|
+
if (this.$requestConfig.getUserId()) {
|
|
24612
24422
|
ctx.userId = this.$requestConfig.getUserId();
|
|
24613
24423
|
}
|
|
24614
|
-
if (this.$requestConfig.getOrgId
|
|
24424
|
+
if (this.$requestConfig.getOrgId()) {
|
|
24615
24425
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
24616
24426
|
}
|
|
24617
|
-
if (this.$requestConfig.getPostId
|
|
24427
|
+
if (this.$requestConfig.getPostId()) {
|
|
24618
24428
|
ctx.postId = this.$requestConfig.getPostId();
|
|
24619
24429
|
}
|
|
24620
24430
|
} catch (e) {
|
|
@@ -24699,19 +24509,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24699
24509
|
this.selectOrgs = this.convertComment2Field(str, field);
|
|
24700
24510
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
24701
24511
|
var val = '';
|
|
24702
|
-
str.forEach(
|
|
24703
|
-
|
|
24704
|
-
if (this.jumpParamKey && this.isHaveJumpUrl && (this.modelName == 'data.' + con['target'][0] || this.modelName.includes('item.') && con['target'][0].endsWith(this.modelName.split('.')[1]))) {
|
|
24705
|
-
let jumpParamKey = this.jumpParamKey;
|
|
24706
|
-
let jumpParamValue = this.jumpParamKey;
|
|
24707
|
-
if (this.jumpParamKey.includes(':')) {
|
|
24708
|
-
jumpParamKey = this.jumpParamKey.split(':')[0];
|
|
24709
|
-
jumpParamValue = this.jumpParamKey.split(':')[1];
|
|
24710
|
-
}
|
|
24711
|
-
val += `${item[con.from]}¯${jumpParamKey}:${this.selectOrgs[index][jumpParamValue]},`;
|
|
24712
|
-
} else {
|
|
24713
|
-
val += item[con.from] + ',';
|
|
24714
|
-
}
|
|
24512
|
+
str.forEach(item => {
|
|
24513
|
+
val += item[con.from] + ',';
|
|
24715
24514
|
});
|
|
24716
24515
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
24717
24516
|
utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
|
|
@@ -24782,36 +24581,19 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24782
24581
|
};
|
|
24783
24582
|
}
|
|
24784
24583
|
//用户输入的
|
|
24785
|
-
let flag = false;
|
|
24786
24584
|
if (this.queryParams.length != 0 && this.queryParams[0] != '') {
|
|
24787
24585
|
this.conditionBind.forEach((item, index) => {
|
|
24788
|
-
// 日期范围特殊处理
|
|
24789
|
-
if (item.dbType == 'date' && item.condition == 'BETWEEN') {
|
|
24790
|
-
if (this.queryParams[index].startDate && !this.queryParams[index].endDate || !this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
24791
|
-
flag = true;
|
|
24792
|
-
this.$message.info('日期范围未填写完整!');
|
|
24793
|
-
return;
|
|
24794
|
-
}
|
|
24795
|
-
if (this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
24796
|
-
this.queryParams[index][item.field] = `${this.queryParams[index].startDate},${this.queryParams[index].endDate}`;
|
|
24797
|
-
} else {
|
|
24798
|
-
this.queryParams[index][item.field] = '';
|
|
24799
|
-
}
|
|
24800
|
-
}
|
|
24801
24586
|
if (this.queryParams[index][item.field]) {
|
|
24802
24587
|
querys.push({
|
|
24803
24588
|
property: item.field,
|
|
24804
24589
|
value: this.queryParams[index][item.field],
|
|
24805
24590
|
group: 'main',
|
|
24806
|
-
operation:
|
|
24591
|
+
operation: 'LIKE',
|
|
24807
24592
|
relation: 'AND'
|
|
24808
24593
|
});
|
|
24809
24594
|
}
|
|
24810
24595
|
});
|
|
24811
24596
|
}
|
|
24812
|
-
if (flag) {
|
|
24813
|
-
return;
|
|
24814
|
-
}
|
|
24815
24597
|
//参数传入的查询拼接
|
|
24816
24598
|
if (this.param) {
|
|
24817
24599
|
this.param.forEach(item => {
|
|
@@ -24850,13 +24632,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24850
24632
|
queryParamMap.total = pageBean.pageBean.total;
|
|
24851
24633
|
// 添加用户id 岗位id 组织id
|
|
24852
24634
|
try {
|
|
24853
|
-
if (this.$requestConfig.getUserId
|
|
24635
|
+
if (this.$requestConfig.getUserId()) {
|
|
24854
24636
|
ctx.userId = this.$requestConfig.getUserId();
|
|
24855
24637
|
}
|
|
24856
|
-
if (this.$requestConfig.getOrgId
|
|
24638
|
+
if (this.$requestConfig.getOrgId()) {
|
|
24857
24639
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
24858
24640
|
}
|
|
24859
|
-
if (this.$requestConfig.getPostId
|
|
24641
|
+
if (this.$requestConfig.getPostId()) {
|
|
24860
24642
|
ctx.postId = this.$requestConfig.getPostId();
|
|
24861
24643
|
}
|
|
24862
24644
|
} catch (e) {
|
|
@@ -24877,14 +24659,12 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24877
24659
|
value: queryParamMap[bindKey] || ctx[bindKey] || ''
|
|
24878
24660
|
};
|
|
24879
24661
|
});
|
|
24880
|
-
param.querys = queryList
|
|
24662
|
+
param.querys = queryList;
|
|
24881
24663
|
if (this.customDialog.needPage) {
|
|
24882
24664
|
param.pageBean = obj;
|
|
24883
24665
|
} else {
|
|
24884
24666
|
param.pageBean.pageSize = -1;
|
|
24885
24667
|
}
|
|
24886
|
-
// 日期格式的 改成数组
|
|
24887
|
-
// this.changeDateFormat(param)
|
|
24888
24668
|
//构造请求的参数
|
|
24889
24669
|
let requestParam = {
|
|
24890
24670
|
pageBean: param,
|
|
@@ -24924,15 +24704,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24924
24704
|
}
|
|
24925
24705
|
this.tableRadioVal = '';
|
|
24926
24706
|
},
|
|
24927
|
-
changeDateFormat(param) {
|
|
24928
|
-
let dateValidate1 = /^\d{4}\-\d{2}\-\d{2}$/;
|
|
24929
|
-
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$/;
|
|
24930
|
-
Object.keys(param).forEach(key => {
|
|
24931
|
-
if (param[key] && typeof param[key] == 'string' && param[key].includes(',') && (dateValidate1.test(param[key].split(',')[0]) || dateValidate2.test(param[key].split(',')[0]))) {
|
|
24932
|
-
param[key] = param[key].split(',');
|
|
24933
|
-
}
|
|
24934
|
-
});
|
|
24935
|
-
},
|
|
24936
24707
|
getSearchValueByKey() {
|
|
24937
24708
|
let queryParamsObj = {};
|
|
24938
24709
|
if (this.queryParams.length > 0) {
|
|
@@ -25158,8 +24929,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25158
24929
|
},
|
|
25159
24930
|
// 同步选择结果
|
|
25160
24931
|
syncInputValue() {
|
|
25161
|
-
// 对话框跳转url需要两个参数 1当前控件绑定的对象参数modelName 2对话框配置中配置的key名称
|
|
25162
|
-
// 同步值时,如果有绑定url跳转参数,值格式为 名称¯跳转key:跳转value
|
|
25163
24932
|
let thisIndex = null; //当前数据所在下标
|
|
25164
24933
|
let parentIndex = null; //父节点所在下标
|
|
25165
24934
|
if (this.$parent.$el) {
|
|
@@ -25233,39 +25002,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25233
25002
|
}
|
|
25234
25003
|
}
|
|
25235
25004
|
}
|
|
25236
|
-
// 如果是查询中使用的对话框
|
|
25237
|
-
if (this.dialogType == 'search') {
|
|
25238
|
-
let returnVal = [];
|
|
25239
|
-
str.forEach(item => {
|
|
25240
|
-
returnVal.push(decodeURIComponent(item[this.modelName]));
|
|
25241
|
-
});
|
|
25242
|
-
this.$emit('updateInput', returnVal.join(','));
|
|
25243
|
-
return;
|
|
25244
|
-
}
|
|
25245
25005
|
const pInst = utils["a" /* default */].getOnlineFormInstance(this);
|
|
25246
25006
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
25247
25007
|
var val = '';
|
|
25248
25008
|
var from = con.from.toLowerCase();
|
|
25249
25009
|
str.forEach(item => {
|
|
25250
|
-
// 如果有绑定url跳转参数 需获取跳转参数的key
|
|
25251
25010
|
if (item) {
|
|
25252
|
-
|
|
25253
|
-
// 如果有冒号 冒号前面是传值key 后面是取值key
|
|
25254
|
-
let jumpParamKey = this.jumpParamKey;
|
|
25255
|
-
let jumpParamValue = this.jumpParamKey;
|
|
25256
|
-
if (this.jumpParamKey.includes(':')) {
|
|
25257
|
-
jumpParamKey = this.jumpParamKey.split(':')[0];
|
|
25258
|
-
jumpParamValue = this.jumpParamKey.split(':')[1];
|
|
25259
|
-
}
|
|
25260
|
-
// 需根据key 找到对应 返回数据的返回名称
|
|
25261
|
-
let returnMap = returnStr.find(k => {
|
|
25262
|
-
return k.field.toLowerCase() == jumpParamValue.toLowerCase();
|
|
25263
|
-
});
|
|
25264
|
-
let returnMapKey = returnMap ? returnMap.comment : '';
|
|
25265
|
-
val += `${decodeURIComponent(item[from])}¯${jumpParamKey}:${decodeURIComponent(item[returnMapKey])},`;
|
|
25266
|
-
} else {
|
|
25267
|
-
val += decodeURIComponent(item[from]) + ',';
|
|
25268
|
-
}
|
|
25011
|
+
val += decodeURIComponent(item[from]) + ',';
|
|
25269
25012
|
}
|
|
25270
25013
|
});
|
|
25271
25014
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
@@ -25284,6 +25027,7 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25284
25027
|
const _val = val.substring(0, val.length - 1);
|
|
25285
25028
|
if (path) {
|
|
25286
25029
|
if (this.modelName && this.modelName.endsWith(path)) {
|
|
25030
|
+
// this.$emit('input', _val)
|
|
25287
25031
|
this.$emit('updateInput', _val);
|
|
25288
25032
|
}
|
|
25289
25033
|
utils["a" /* default */].setValueByPath(pInst, `${pInst.data ? 'data.' : 'model.'}${path}`, _val, thisIndex);
|
|
@@ -25515,8 +25259,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25515
25259
|
});
|
|
25516
25260
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=script&lang=js&
|
|
25517
25261
|
/* harmony default export */ var src_customDialogvue_type_script_lang_js_ = (customDialogvue_type_script_lang_js_);
|
|
25518
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=
|
|
25519
|
-
var
|
|
25262
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=3a57945e&prod&lang=scss&scoped=true&
|
|
25263
|
+
var customDialogvue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true_ = __webpack_require__("7ff9");
|
|
25520
25264
|
|
|
25521
25265
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue
|
|
25522
25266
|
|
|
@@ -25529,47 +25273,31 @@ var customDialogvue_type_style_index_0_id_3e2f487c_prod_lang_scss_scoped_true_ =
|
|
|
25529
25273
|
|
|
25530
25274
|
var customDialog_component = normalizeComponent(
|
|
25531
25275
|
src_customDialogvue_type_script_lang_js_,
|
|
25532
|
-
|
|
25533
|
-
|
|
25276
|
+
customDialogvue_type_template_id_3a57945e_scoped_true_render,
|
|
25277
|
+
customDialogvue_type_template_id_3a57945e_scoped_true_staticRenderFns,
|
|
25534
25278
|
false,
|
|
25535
25279
|
null,
|
|
25536
|
-
"
|
|
25280
|
+
"3a57945e",
|
|
25537
25281
|
null
|
|
25538
25282
|
|
|
25539
25283
|
)
|
|
25540
25284
|
|
|
25541
25285
|
/* harmony default export */ var CustomDialog_src_customDialog = (customDialog_component.exports);
|
|
25542
|
-
// 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=
|
|
25543
|
-
var
|
|
25544
|
-
|
|
25545
|
-
|
|
25546
|
-
|
|
25547
|
-
|
|
25548
|
-
|
|
25549
|
-
|
|
25550
|
-
|
|
25551
|
-
}}}):_vm._e(),(condition.config.alias == 'post')?_c('ht-post-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25552
|
-
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25553
|
-
}}}):_vm._e(),(condition.config.alias == 'dimension')?_c('ht-dimension-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25554
|
-
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25555
|
-
}}}):_vm._e()],1):_vm._e(),(condition.controllerType == '5')?_c('div',[_c('ht-custom-dialog',{attrs:{"model-name":condition.config.keyBind,"dialogType":"search","custdialog":{
|
|
25556
|
-
name: '请选择',
|
|
25557
|
-
icon: '',
|
|
25558
|
-
custDialog: {
|
|
25559
|
-
selectNum: 1,
|
|
25560
|
-
conditions: [],
|
|
25561
|
-
mappingConf: [],
|
|
25562
|
-
custQueryJson: [],
|
|
25563
|
-
alias: condition.config.alias,
|
|
25564
|
-
type: 'custDialog',
|
|
25565
|
-
},
|
|
25566
|
-
}},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(
|
|
25286
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=1661eebb&scoped=true&
|
|
25287
|
+
var customMobileDialogvue_type_template_id_1661eebb_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('van-action-sheet',{staticClass:"mobile-van-action min-height-action",attrs:{"cancel-text":_vm.sureButtonText,"get-container":"body"},on:{"cancel":_vm.handleDialogSure,"click-overlay":_vm.dialogCancel,"opened":_vm.afterOpen},scopedSlots:_vm._u([{key:"description",fn:function(){return [_c('span',{staticClass:"dialog-mobile__title"},[_vm._v(_vm._s(_vm.customDialog.name))]),_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":_vm.dialogCancel}})]},proxy:true}]),model:{value:(_vm.customDialogShowList),callback:function ($$v) {_vm.customDialogShowList=$$v},expression:"customDialogShowList"}},[[_c('div',{staticClass:"search-box"},[_c('ht-icon',{staticClass:"unfold-icon",attrs:{"scale":"1.2","name":_vm.isShowMoreSearch ? 'upFold' : 'downUnfold'},on:{"click":function($event){_vm.isShowMoreSearch = !_vm.isShowMoreSearch}}}),_vm._l((_vm.conditionBind),function(condition,index){return _c('div',{directives:[{name:"show",rawName:"v-show",value:(index === 0 || (index > 0 && _vm.isShowMoreSearch)),expression:"index === 0 || (index > 0 && isShowMoreSearch)"}],key:index,staticClass:"search-item"},[_c('p',[_vm._v(_vm._s(condition.comment)+":")]),(condition.controllerType == '1')?_c('div',[_c('el-input',{attrs:{"size":"small","clearable":"","placeholder":_vm.placeholders[index]},on:{"change":_vm.searchInputChange},nativeOn:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.hideSearch($event)}},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '2')?_c('div',{staticStyle:{"margin-right":"10px"}},_vm._l((condition.config.options),function(itemR,$index1){return _c('el-radio',{key:$index1,attrs:{"label":itemR.key},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}},[_vm._v("\n "+_vm._s(itemR.value)+"\n ")])}),1):_vm._e(),(condition.controllerType == '3')?_c('div',{staticStyle:{"margin-right":"10px"}},[(condition.config.choiceType == 'static')?_c('ht-select',{attrs:{"options":condition.config.options},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}}):_c('eip-select-dia',{attrs:{"ganged":{
|
|
25288
|
+
alias: condition.config.customQuery.alias,
|
|
25289
|
+
valueBind: condition.config.customQuery.valueBind,
|
|
25290
|
+
noInit: '',
|
|
25291
|
+
labelBind: condition.config.customQuery.labelBind,
|
|
25292
|
+
gangedBind: '{}',
|
|
25293
|
+
bind: condition.config.bind,
|
|
25294
|
+
},"multiple":false,"filterable":false,"allow-create":false,"selectlist":[],"query-params":_vm.queryParams},model:{value:(_vm.queryParams[condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams, condition.field, $$v)},expression:"queryParams[condition.field]"}})],1):_vm._e(),(condition.controllerType == '4')?_c('div',{staticStyle:{"margin-right":"10px"}},[_c('eip-tag',{attrs:{"tag-key":condition.config.tag,"placeholder":_vm.quickSearch,"filterable":condition.config.filterable,"expand":condition.config.expand},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e()])}),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isShowMoreSearch),expression:"isShowMoreSearch"}],staticClass:"search-btns"},[_c('el-button',{staticStyle:{"margin-left":"20px"},attrs:{"size":"small","type":"primary"},on:{"click":_vm.hideSearch}},[_vm._v("\n 搜索\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.reset}},[_vm._v("重置")])],1)],2)],(_vm.customDialog.style == 2)?_c('van-popover',{staticClass:"custom-dialog-popover",attrs:{"trigger":"click"},scopedSlots:_vm._u([{key:"reference",fn:function(){return [_c('div',{staticClass:"mobile-tree-select"},[(_vm.treeSelectText)?_c('span',{staticClass:"active-text"},[_vm._v("\n "+_vm._s(_vm.treeSelectText)+"\n ")]):_c('span',[_vm._v("请选择"+_vm._s(_vm.leftTreeTitle))]),(_vm.treeSelectText)?_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":function($event){$event.stopPropagation();return _vm.clearTreeSelect($event)}}}):_vm._e()],1)]},proxy:true}],null,false,3189508719),model:{value:(_vm.isSelectTreeShow),callback:function ($$v) {_vm.isSelectTreeShow=$$v},expression:"isSelectTreeShow"}},[_c('div',{staticClass:"custom-dialog-popover_content"},[_c('el-tree',{ref:"combinationTree",attrs:{"data":_vm.combinationTreeData,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","check-on-click-node":true},on:{"node-click":_vm.combiTreeClick}})],1)]):_vm._e(),_c('van-pull-refresh',{on:{"refresh":_vm.onRefresh},model:{value:(_vm.isDownLoading),callback:function ($$v) {_vm.isDownLoading=$$v},expression:"isDownLoading"}},[_c('van-list',{attrs:{"finished":_vm.finished,"finished-text":"没有更多了","offset":20,"immediate-check":false},on:{"load":_vm.loadMore},model:{value:(_vm.isPullLoading),callback:function ($$v) {_vm.isPullLoading=$$v},expression:"isPullLoading"}},_vm._l((_vm.dialogData),function(item,index){return _c('van-cell',{key:index,attrs:{"clickable":""},scopedSlots:_vm._u([{key:"icon",fn:function(){return [_c('van-checkbox',{attrs:{"value":_vm.indexArray(_vm.selectIds, item) > -1,"shape":_vm.customDialog.selectNum === 1 ? 'round' : 'square'},on:{"click":function($event){return _vm.checkboxChange(item)}}})]},proxy:true}],null,true)},[_c('div',{staticClass:"custom-mobile_box"},_vm._l((_vm.displayfield),function(field){return _c('div',{key:field.field,staticClass:"custom-mobile_box_item"},[_c('label',[_vm._v(_vm._s(field.comment)+":")]),_c('div',[_vm._v(_vm._s(item[field.field]))])])}),0)])}),1)],1)],2),_c('van-action-sheet',{staticClass:"mobile-van-action",attrs:{"cancel-text":_vm.sureButtonText,"get-container":"body"},on:{"cancel":_vm.handleSave},scopedSlots:_vm._u([{key:"description",fn:function(){return [_c('span',{staticClass:"dialog-mobile__title"},[_vm._v("动态传入参数查询")]),_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":function($event){_vm.dialogVisible = false}}})]},proxy:true}]),model:{value:(_vm.dialogVisible),callback:function ($$v) {_vm.dialogVisible=$$v},expression:"dialogVisible"}},[_c('van-cell-group',_vm._l((_vm.conditionfieldTree.filter(
|
|
25567
25295
|
function (k) { return k.defaultType == '4'; }
|
|
25568
|
-
)),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)
|
|
25569
|
-
var
|
|
25296
|
+
)),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)}
|
|
25297
|
+
var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns = []
|
|
25570
25298
|
|
|
25571
25299
|
|
|
25572
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=
|
|
25300
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=1661eebb&scoped=true&
|
|
25573
25301
|
|
|
25574
25302
|
// 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&
|
|
25575
25303
|
//
|
|
@@ -25830,116 +25558,6 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
25830
25558
|
//
|
|
25831
25559
|
//
|
|
25832
25560
|
//
|
|
25833
|
-
//
|
|
25834
|
-
//
|
|
25835
|
-
//
|
|
25836
|
-
//
|
|
25837
|
-
//
|
|
25838
|
-
//
|
|
25839
|
-
//
|
|
25840
|
-
//
|
|
25841
|
-
//
|
|
25842
|
-
//
|
|
25843
|
-
//
|
|
25844
|
-
//
|
|
25845
|
-
//
|
|
25846
|
-
//
|
|
25847
|
-
//
|
|
25848
|
-
//
|
|
25849
|
-
//
|
|
25850
|
-
//
|
|
25851
|
-
//
|
|
25852
|
-
//
|
|
25853
|
-
//
|
|
25854
|
-
//
|
|
25855
|
-
//
|
|
25856
|
-
//
|
|
25857
|
-
//
|
|
25858
|
-
//
|
|
25859
|
-
//
|
|
25860
|
-
//
|
|
25861
|
-
//
|
|
25862
|
-
//
|
|
25863
|
-
//
|
|
25864
|
-
//
|
|
25865
|
-
//
|
|
25866
|
-
//
|
|
25867
|
-
//
|
|
25868
|
-
//
|
|
25869
|
-
//
|
|
25870
|
-
//
|
|
25871
|
-
//
|
|
25872
|
-
//
|
|
25873
|
-
//
|
|
25874
|
-
//
|
|
25875
|
-
//
|
|
25876
|
-
//
|
|
25877
|
-
//
|
|
25878
|
-
//
|
|
25879
|
-
//
|
|
25880
|
-
//
|
|
25881
|
-
//
|
|
25882
|
-
//
|
|
25883
|
-
//
|
|
25884
|
-
//
|
|
25885
|
-
//
|
|
25886
|
-
//
|
|
25887
|
-
//
|
|
25888
|
-
//
|
|
25889
|
-
//
|
|
25890
|
-
//
|
|
25891
|
-
//
|
|
25892
|
-
//
|
|
25893
|
-
//
|
|
25894
|
-
//
|
|
25895
|
-
//
|
|
25896
|
-
//
|
|
25897
|
-
//
|
|
25898
|
-
//
|
|
25899
|
-
//
|
|
25900
|
-
//
|
|
25901
|
-
//
|
|
25902
|
-
//
|
|
25903
|
-
//
|
|
25904
|
-
//
|
|
25905
|
-
//
|
|
25906
|
-
//
|
|
25907
|
-
//
|
|
25908
|
-
//
|
|
25909
|
-
//
|
|
25910
|
-
//
|
|
25911
|
-
//
|
|
25912
|
-
//
|
|
25913
|
-
//
|
|
25914
|
-
//
|
|
25915
|
-
//
|
|
25916
|
-
//
|
|
25917
|
-
//
|
|
25918
|
-
//
|
|
25919
|
-
//
|
|
25920
|
-
//
|
|
25921
|
-
//
|
|
25922
|
-
//
|
|
25923
|
-
//
|
|
25924
|
-
//
|
|
25925
|
-
//
|
|
25926
|
-
//
|
|
25927
|
-
//
|
|
25928
|
-
//
|
|
25929
|
-
//
|
|
25930
|
-
//
|
|
25931
|
-
//
|
|
25932
|
-
//
|
|
25933
|
-
//
|
|
25934
|
-
//
|
|
25935
|
-
//
|
|
25936
|
-
//
|
|
25937
|
-
//
|
|
25938
|
-
//
|
|
25939
|
-
//
|
|
25940
|
-
//
|
|
25941
|
-
//
|
|
25942
|
-
//
|
|
25943
25561
|
|
|
25944
25562
|
|
|
25945
25563
|
|
|
@@ -25961,17 +25579,10 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
25961
25579
|
subIndex: Number,
|
|
25962
25580
|
sunIndex: Number,
|
|
25963
25581
|
subPath: String,
|
|
25964
|
-
currentSubData: Array
|
|
25965
|
-
dialogConfig: Object,
|
|
25966
|
-
dialogType: String
|
|
25582
|
+
currentSubData: Array
|
|
25967
25583
|
},
|
|
25968
25584
|
data() {
|
|
25969
25585
|
return {
|
|
25970
|
-
dateType: 'date',
|
|
25971
|
-
currentDate: '',
|
|
25972
|
-
// 当前日期
|
|
25973
|
-
isShowDatePop: false,
|
|
25974
|
-
// 是否显示日期选择控件
|
|
25975
25586
|
isShowMoreSearch: false,
|
|
25976
25587
|
treeSelectText: '',
|
|
25977
25588
|
// 组合树时选中的查询条件
|
|
@@ -26051,47 +25662,9 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
26051
25662
|
sureButtonText() {
|
|
26052
25663
|
const selectedText = this.selectIds.length > 0 ? `(${this.selectIds.length})` : '';
|
|
26053
25664
|
return `${this.$t('ht.common.confirm')}${selectedText}`;
|
|
26054
|
-
},
|
|
26055
|
-
jumpParamKey() {
|
|
26056
|
-
return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
|
|
26057
|
-
},
|
|
26058
|
-
// 是否保存成跳转url参数
|
|
26059
|
-
isHaveJumpUrl() {
|
|
26060
|
-
return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
26061
|
-
},
|
|
26062
|
-
sortDisplayfield() {
|
|
26063
|
-
return this.displayfield.sort((a, b) => {
|
|
26064
|
-
return a.sort > b.sort ? 1 : -1;
|
|
26065
|
-
});
|
|
26066
25665
|
}
|
|
26067
25666
|
},
|
|
26068
25667
|
methods: {
|
|
26069
|
-
// 获取已选择的选择器数据id
|
|
26070
|
-
getSelectId(data) {
|
|
26071
|
-
if (!data || !data.length) {
|
|
26072
|
-
return '';
|
|
26073
|
-
}
|
|
26074
|
-
let ids = [];
|
|
26075
|
-
data.forEach(item => {
|
|
26076
|
-
ids.push(item.id);
|
|
26077
|
-
});
|
|
26078
|
-
return ids.join(',');
|
|
26079
|
-
},
|
|
26080
|
-
showDate(index, key) {
|
|
26081
|
-
this.dateType = this.conditionBind[index].config.inputFormat.includes('mm:') ? 'datetime' : 'date';
|
|
26082
|
-
this.currentDateData = {
|
|
26083
|
-
index,
|
|
26084
|
-
key
|
|
26085
|
-
};
|
|
26086
|
-
this.currentDate = this.queryParams[index][key] ? new Date(this.queryParams[index][key].replace(/-/g, '/')) : new Date();
|
|
26087
|
-
this.isShowDatePop = true;
|
|
26088
|
-
},
|
|
26089
|
-
// 日期确认
|
|
26090
|
-
confirmFn() {
|
|
26091
|
-
let currentConfig = this.conditionBind[this.currentDateData.index];
|
|
26092
|
-
this.queryParams[this.currentDateData.index][this.currentDateData.key] = this.currentDate.format(currentConfig.config.inputFormat);
|
|
26093
|
-
this.isShowDatePop = false;
|
|
26094
|
-
},
|
|
26095
25668
|
searchInputChange() {
|
|
26096
25669
|
if (!this.isShowMoreSearch) {
|
|
26097
25670
|
this.search(true);
|
|
@@ -26137,121 +25710,112 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
26137
25710
|
this.search(true);
|
|
26138
25711
|
},
|
|
26139
25712
|
showDialog() {
|
|
25713
|
+
const this_ = this;
|
|
26140
25714
|
this.fixedParams = {};
|
|
26141
|
-
// 如果已存在配置信息就不去请求配置信息 直接初始化数据
|
|
26142
|
-
if (this.dialogConfig) {
|
|
26143
|
-
this.initDialog(this.dialogConfig);
|
|
26144
|
-
return;
|
|
26145
|
-
}
|
|
26146
25715
|
var alias = this.custdialog.custDialog.alias;
|
|
26147
25716
|
this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
|
|
26148
|
-
|
|
26149
|
-
|
|
26150
|
-
|
|
26151
|
-
initDialog(customDialog) {
|
|
26152
|
-
let alias = this.custdialog.custDialog.alias;
|
|
26153
|
-
const this_ = this;
|
|
26154
|
-
if (!customDialog || !customDialog.alias) {
|
|
26155
|
-
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
26156
|
-
return;
|
|
26157
|
-
}
|
|
26158
|
-
if (customDialog.style == 1) {
|
|
26159
|
-
var displaylist = JSON.parse(customDialog.displayfield);
|
|
26160
|
-
this_.nodeKey = displaylist.id;
|
|
26161
|
-
}
|
|
26162
|
-
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
26163
|
-
let obj = {};
|
|
26164
|
-
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
26165
|
-
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
26166
|
-
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
26167
|
-
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
26168
|
-
if (exp) {
|
|
26169
|
-
const params = JSON.parse(exp);
|
|
26170
|
-
if (params.pageBean) {
|
|
26171
|
-
this.pagination = {
|
|
26172
|
-
...params.pageBean
|
|
26173
|
-
};
|
|
26174
|
-
}
|
|
25717
|
+
if (!customDialog || !customDialog.alias) {
|
|
25718
|
+
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
25719
|
+
return;
|
|
26175
25720
|
}
|
|
26176
|
-
|
|
26177
|
-
|
|
26178
|
-
|
|
26179
|
-
|
|
26180
|
-
|
|
26181
|
-
|
|
26182
|
-
|
|
26183
|
-
|
|
26184
|
-
|
|
26185
|
-
|
|
26186
|
-
|
|
26187
|
-
|
|
26188
|
-
|
|
26189
|
-
|
|
26190
|
-
|
|
26191
|
-
|
|
26192
|
-
|
|
25721
|
+
if (customDialog.style == 1) {
|
|
25722
|
+
var displaylist = JSON.parse(customDialog.displayfield);
|
|
25723
|
+
this_.nodeKey = displaylist.id;
|
|
25724
|
+
}
|
|
25725
|
+
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
25726
|
+
let obj = {};
|
|
25727
|
+
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
25728
|
+
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
25729
|
+
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
25730
|
+
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
25731
|
+
if (exp) {
|
|
25732
|
+
const params = JSON.parse(exp);
|
|
25733
|
+
if (params.pageBean) {
|
|
25734
|
+
this.pagination = {
|
|
25735
|
+
...params.pageBean
|
|
25736
|
+
};
|
|
25737
|
+
}
|
|
26193
25738
|
}
|
|
26194
|
-
}
|
|
26195
|
-
|
|
25739
|
+
}
|
|
25740
|
+
//对话框按表单字段查询(参数传入的)
|
|
25741
|
+
let bindList = this_.custdialog.custDialog.conditions;
|
|
25742
|
+
this_.param = []; //绑定的表单字段
|
|
25743
|
+
if (bindList.length > 0) {
|
|
25744
|
+
bindList.forEach(ele => {
|
|
25745
|
+
//绑定表单字段
|
|
25746
|
+
if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
|
|
25747
|
+
let obj = {};
|
|
25748
|
+
obj.field = ele.field;
|
|
25749
|
+
obj.bind = ele.bind;
|
|
25750
|
+
obj.bindType = ele.bindType;
|
|
25751
|
+
this_.param.push(obj);
|
|
25752
|
+
}
|
|
25753
|
+
// bindType 1 表单字段 2固定 3脚本
|
|
25754
|
+
if (ele.defaultType == '3' && ele.bindType === 2) {
|
|
25755
|
+
this_.fixedParams[ele.field] = ele.bind || '';
|
|
25756
|
+
}
|
|
25757
|
+
});
|
|
25758
|
+
}
|
|
26196
25759
|
|
|
26197
|
-
|
|
26198
|
-
|
|
26199
|
-
|
|
26200
|
-
|
|
26201
|
-
|
|
26202
|
-
|
|
26203
|
-
|
|
26204
|
-
|
|
26205
|
-
|
|
26206
|
-
|
|
26207
|
-
|
|
26208
|
-
|
|
26209
|
-
|
|
26210
|
-
|
|
26211
|
-
|
|
26212
|
-
|
|
26213
|
-
|
|
26214
|
-
|
|
26215
|
-
|
|
26216
|
-
|
|
26217
|
-
|
|
26218
|
-
|
|
26219
|
-
|
|
26220
|
-
|
|
26221
|
-
|
|
26222
|
-
|
|
26223
|
-
|
|
26224
|
-
|
|
26225
|
-
|
|
26226
|
-
|
|
26227
|
-
|
|
26228
|
-
|
|
26229
|
-
|
|
26230
|
-
|
|
26231
|
-
|
|
26232
|
-
|
|
26233
|
-
|
|
26234
|
-
|
|
26235
|
-
|
|
26236
|
-
|
|
26237
|
-
|
|
26238
|
-
|
|
26239
|
-
|
|
26240
|
-
|
|
26241
|
-
|
|
26242
|
-
|
|
25760
|
+
//判断对话框查询是否有条件
|
|
25761
|
+
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
25762
|
+
this_.conditionBind = [];
|
|
25763
|
+
let queryParams = [];
|
|
25764
|
+
let placeholders = [];
|
|
25765
|
+
if (userInputList.length > 0) {
|
|
25766
|
+
userInputList.forEach(ele => {
|
|
25767
|
+
var obj = {};
|
|
25768
|
+
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
25769
|
+
if (ele.defaultType == '1') {
|
|
25770
|
+
obj[ele.field] = '';
|
|
25771
|
+
queryParams.push(obj);
|
|
25772
|
+
// queryParams[ele.field] = "";
|
|
25773
|
+
this_.conditionBind.push(ele);
|
|
25774
|
+
placeholders.push('请输入' + ele.comment);
|
|
25775
|
+
}
|
|
25776
|
+
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
25777
|
+
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
25778
|
+
}
|
|
25779
|
+
});
|
|
25780
|
+
this.$set(this, 'queryParams', queryParams);
|
|
25781
|
+
this.$set(this, 'placeholders', placeholders);
|
|
25782
|
+
}
|
|
25783
|
+
if (customDialog.style == 0 || customDialog.style == 2) {
|
|
25784
|
+
//列表
|
|
25785
|
+
this_.customDialogShow({
|
|
25786
|
+
alias: alias,
|
|
25787
|
+
customDialog: customDialog
|
|
25788
|
+
});
|
|
25789
|
+
} else if (customDialog.style == 1) {
|
|
25790
|
+
//树形
|
|
25791
|
+
this_.pageParam = {
|
|
25792
|
+
alias: alias,
|
|
25793
|
+
customDialog: customDialog
|
|
25794
|
+
};
|
|
25795
|
+
this_.customDialog = customDialog;
|
|
25796
|
+
let param = {};
|
|
25797
|
+
this_.conditionfieldTree = [];
|
|
25798
|
+
//判断是否存在条件
|
|
25799
|
+
if (customDialog.conditionfield) {
|
|
25800
|
+
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
25801
|
+
if (this_.conditionfieldTree.length > 0) {
|
|
25802
|
+
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
25803
|
+
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
25804
|
+
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
25805
|
+
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
25806
|
+
}
|
|
26243
25807
|
}
|
|
26244
25808
|
}
|
|
26245
25809
|
}
|
|
25810
|
+
//有动态传入的字段
|
|
25811
|
+
if (JSON.stringify(param) != '{}') {
|
|
25812
|
+
this_.dialogVisible = true;
|
|
25813
|
+
} else {
|
|
25814
|
+
//无动态传入的字段
|
|
25815
|
+
this_.customDialogTreeShow(this_.pageParam);
|
|
25816
|
+
}
|
|
26246
25817
|
}
|
|
26247
|
-
|
|
26248
|
-
if (JSON.stringify(param) != '{}') {
|
|
26249
|
-
this_.dialogVisible = true;
|
|
26250
|
-
} else {
|
|
26251
|
-
//无动态传入的字段
|
|
26252
|
-
this_.customDialogTreeShow(this_.pageParam);
|
|
26253
|
-
}
|
|
26254
|
-
}
|
|
25818
|
+
});
|
|
26255
25819
|
},
|
|
26256
25820
|
treeClick(data) {
|
|
26257
25821
|
// 单选
|
|
@@ -26369,13 +25933,13 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
26369
25933
|
}
|
|
26370
25934
|
// 添加用户id 岗位id 组织id
|
|
26371
25935
|
try {
|
|
26372
|
-
if (this.$requestConfig.getUserId
|
|
25936
|
+
if (this.$requestConfig.getUserId()) {
|
|
26373
25937
|
ctx.userId = this.$requestConfig.getUserId();
|
|
26374
25938
|
}
|
|
26375
|
-
if (this.$requestConfig.getOrgId
|
|
25939
|
+
if (this.$requestConfig.getOrgId()) {
|
|
26376
25940
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
26377
25941
|
}
|
|
26378
|
-
if (this.$requestConfig.getPostId
|
|
25942
|
+
if (this.$requestConfig.getPostId()) {
|
|
26379
25943
|
ctx.postId = this.$requestConfig.getPostId();
|
|
26380
25944
|
}
|
|
26381
25945
|
} catch (e) {
|
|
@@ -26460,20 +26024,8 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
26460
26024
|
this.selectOrgs = this.convertComment2Field(str, field);
|
|
26461
26025
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
26462
26026
|
var val = '';
|
|
26463
|
-
str.forEach(
|
|
26464
|
-
|
|
26465
|
-
if (this.jumpParamKey && this.isHaveJumpUrl && (this.modelName == 'data.' + con['target'][0] || this.modelName.includes('item.') && con['target'][0].endsWith(this.modelName.split('.')[1]))) {
|
|
26466
|
-
// 如果有冒号 冒号前面是传值key 后面是取值key
|
|
26467
|
-
let jumpParamKey = this.jumpParamKey;
|
|
26468
|
-
let jumpParamValue = this.jumpParamKey;
|
|
26469
|
-
if (this.jumpParamKey.includes(':')) {
|
|
26470
|
-
jumpParamKey = this.jumpParamKey.split(':')[0];
|
|
26471
|
-
jumpParamValue = this.jumpParamKey.split(':')[1];
|
|
26472
|
-
}
|
|
26473
|
-
val += `${item[con.from]}¯${jumpParamKey}:${this.selectOrgs[index][jumpParamValue]},`;
|
|
26474
|
-
} else {
|
|
26475
|
-
val += item[con.from] + ',';
|
|
26476
|
-
}
|
|
26027
|
+
str.forEach(item => {
|
|
26028
|
+
val += item[con.from] + ',';
|
|
26477
26029
|
});
|
|
26478
26030
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
26479
26031
|
utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
|
|
@@ -26546,19 +26098,6 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
26546
26098
|
//用户输入的
|
|
26547
26099
|
if (this.queryParams.length != 0 && this.queryParams[0] != '') {
|
|
26548
26100
|
this.conditionBind.forEach((item, index) => {
|
|
26549
|
-
// 日期范围特殊处理
|
|
26550
|
-
if (item.dbType == 'date' && item.condition == 'BETWEEN') {
|
|
26551
|
-
if (this.queryParams[index].startDate && !this.queryParams[index].endDate || !this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
26552
|
-
flag = true;
|
|
26553
|
-
this.$message.info('日期范围未填写完整!');
|
|
26554
|
-
return;
|
|
26555
|
-
}
|
|
26556
|
-
if (this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
26557
|
-
this.queryParams[index][item.field] = `${this.queryParams[index].startDate},${this.queryParams[index].endDate}`;
|
|
26558
|
-
} else {
|
|
26559
|
-
this.queryParams[index][item.field] = '';
|
|
26560
|
-
}
|
|
26561
|
-
}
|
|
26562
26101
|
if (this.queryParams[index][item.field]) {
|
|
26563
26102
|
querys.push({
|
|
26564
26103
|
property: item.field,
|
|
@@ -26607,13 +26146,13 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
26607
26146
|
ctx.total = pageBean.pageBean.total;
|
|
26608
26147
|
// 添加用户id 岗位id 组织id
|
|
26609
26148
|
try {
|
|
26610
|
-
if (this.$requestConfig.getUserId
|
|
26149
|
+
if (this.$requestConfig.getUserId()) {
|
|
26611
26150
|
ctx.userId = this.$requestConfig.getUserId();
|
|
26612
26151
|
}
|
|
26613
|
-
if (this.$requestConfig.getOrgId
|
|
26152
|
+
if (this.$requestConfig.getOrgId()) {
|
|
26614
26153
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
26615
26154
|
}
|
|
26616
|
-
if (this.$requestConfig.getPostId
|
|
26155
|
+
if (this.$requestConfig.getPostId()) {
|
|
26617
26156
|
ctx.postId = this.$requestConfig.getPostId();
|
|
26618
26157
|
}
|
|
26619
26158
|
} catch (e) {
|
|
@@ -26641,8 +26180,6 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
26641
26180
|
} else {
|
|
26642
26181
|
param.pageBean.pageSize = -1;
|
|
26643
26182
|
}
|
|
26644
|
-
// 日期格式的 改成数组
|
|
26645
|
-
// this.changeDateFormat(param)
|
|
26646
26183
|
//构造请求的参数
|
|
26647
26184
|
let requestParam = {
|
|
26648
26185
|
pageBean: param,
|
|
@@ -26678,15 +26215,6 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
26678
26215
|
}
|
|
26679
26216
|
}
|
|
26680
26217
|
},
|
|
26681
|
-
changeDateFormat(param) {
|
|
26682
|
-
let dateValidate1 = /^\d{4}\-\d{2}\-\d{2}$/;
|
|
26683
|
-
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$/;
|
|
26684
|
-
Object.keys(param).forEach(key => {
|
|
26685
|
-
if (param[key] && typeof param[key] == 'string' && param[key].includes(',') && (dateValidate1.test(param[key].split(',')[0]) || dateValidate2.test(param[key].split(',')[0]))) {
|
|
26686
|
-
param[key] = param[key].split(',');
|
|
26687
|
-
}
|
|
26688
|
-
});
|
|
26689
|
-
},
|
|
26690
26218
|
getSearchValueByKey() {
|
|
26691
26219
|
let queryParamsObj = {};
|
|
26692
26220
|
if (this.queryParams.length > 0) {
|
|
@@ -26885,37 +26413,13 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
26885
26413
|
}
|
|
26886
26414
|
}
|
|
26887
26415
|
}
|
|
26888
|
-
// 如果是查询中使用的对话框
|
|
26889
|
-
if (this.dialogType == 'search') {
|
|
26890
|
-
let returnVal = [];
|
|
26891
|
-
str.forEach(item => {
|
|
26892
|
-
returnVal.push(decodeURIComponent(item[this.modelName]));
|
|
26893
|
-
});
|
|
26894
|
-
this.$emit('updateInput', returnVal.join(','));
|
|
26895
|
-
return;
|
|
26896
|
-
}
|
|
26897
26416
|
const pInst = utils["a" /* default */].getOnlineFormInstance(this);
|
|
26898
26417
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
26899
26418
|
var val = '';
|
|
26900
26419
|
var from = con.from.toLowerCase();
|
|
26901
26420
|
str.forEach(item => {
|
|
26902
26421
|
if (item) {
|
|
26903
|
-
|
|
26904
|
-
let jumpParamKey = this.jumpParamKey;
|
|
26905
|
-
let jumpParamValue = this.jumpParamKey;
|
|
26906
|
-
if (this.jumpParamKey.includes(':')) {
|
|
26907
|
-
jumpParamKey = this.jumpParamKey.split(':')[0];
|
|
26908
|
-
jumpParamValue = this.jumpParamKey.split(':')[1];
|
|
26909
|
-
}
|
|
26910
|
-
// 需根据key 找到对应 返回数据的返回名称
|
|
26911
|
-
let returnMap = returnStr.find(k => {
|
|
26912
|
-
return k.field.toLowerCase() == jumpParamValue.toLowerCase();
|
|
26913
|
-
});
|
|
26914
|
-
let returnMapKey = returnMap ? returnMap.comment : '';
|
|
26915
|
-
val += `${decodeURIComponent(item[from])}¯${jumpParamKey}:${decodeURIComponent(item[returnMapKey])},`;
|
|
26916
|
-
} else {
|
|
26917
|
-
val += decodeURIComponent(item[from]) + ',';
|
|
26918
|
-
}
|
|
26422
|
+
val += decodeURIComponent(item[from]) + ',';
|
|
26919
26423
|
}
|
|
26920
26424
|
});
|
|
26921
26425
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
@@ -26952,6 +26456,20 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
26952
26456
|
}
|
|
26953
26457
|
}
|
|
26954
26458
|
},
|
|
26459
|
+
// getSelected() {
|
|
26460
|
+
// let arr = []
|
|
26461
|
+
// this.selectIds.forEach((item) => {
|
|
26462
|
+
// debugger
|
|
26463
|
+
// let obj = this.dialogData.find((sub) => {
|
|
26464
|
+
// return sub.id_ === item
|
|
26465
|
+
// })
|
|
26466
|
+
// if (obj) {
|
|
26467
|
+
// arr.push(obj)
|
|
26468
|
+
// }
|
|
26469
|
+
// })
|
|
26470
|
+
|
|
26471
|
+
// return arr
|
|
26472
|
+
// },
|
|
26955
26473
|
calacInputSuffixHeight() {
|
|
26956
26474
|
this.$emit('calacInputSuffixHeight');
|
|
26957
26475
|
},
|
|
@@ -27153,11 +26671,11 @@ var customMobileDialogvue_type_template_id_384dd988_scoped_true_staticRenderFns
|
|
|
27153
26671
|
});
|
|
27154
26672
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=script&lang=js&
|
|
27155
26673
|
/* harmony default export */ var src_customMobileDialogvue_type_script_lang_js_ = (customMobileDialogvue_type_script_lang_js_);
|
|
27156
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=
|
|
27157
|
-
var
|
|
26674
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=1661eebb&prod&lang=scss&scoped=true&
|
|
26675
|
+
var customMobileDialogvue_type_style_index_0_id_1661eebb_prod_lang_scss_scoped_true_ = __webpack_require__("de6a");
|
|
27158
26676
|
|
|
27159
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=
|
|
27160
|
-
var
|
|
26677
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=1661eebb&prod&lang=scss&
|
|
26678
|
+
var customMobileDialogvue_type_style_index_1_id_1661eebb_prod_lang_scss_ = __webpack_require__("49f9");
|
|
27161
26679
|
|
|
27162
26680
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue
|
|
27163
26681
|
|
|
@@ -27171,11 +26689,11 @@ var customMobileDialogvue_type_style_index_1_id_384dd988_prod_lang_scss_ = __web
|
|
|
27171
26689
|
|
|
27172
26690
|
var customMobileDialog_component = normalizeComponent(
|
|
27173
26691
|
src_customMobileDialogvue_type_script_lang_js_,
|
|
27174
|
-
|
|
27175
|
-
|
|
26692
|
+
customMobileDialogvue_type_template_id_1661eebb_scoped_true_render,
|
|
26693
|
+
customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns,
|
|
27176
26694
|
false,
|
|
27177
26695
|
null,
|
|
27178
|
-
"
|
|
26696
|
+
"1661eebb",
|
|
27179
26697
|
null
|
|
27180
26698
|
|
|
27181
26699
|
)
|
|
@@ -27319,40 +26837,6 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27319
26837
|
//
|
|
27320
26838
|
//
|
|
27321
26839
|
//
|
|
27322
|
-
//
|
|
27323
|
-
//
|
|
27324
|
-
//
|
|
27325
|
-
//
|
|
27326
|
-
//
|
|
27327
|
-
//
|
|
27328
|
-
//
|
|
27329
|
-
//
|
|
27330
|
-
//
|
|
27331
|
-
//
|
|
27332
|
-
//
|
|
27333
|
-
//
|
|
27334
|
-
//
|
|
27335
|
-
//
|
|
27336
|
-
//
|
|
27337
|
-
//
|
|
27338
|
-
//
|
|
27339
|
-
//
|
|
27340
|
-
//
|
|
27341
|
-
//
|
|
27342
|
-
//
|
|
27343
|
-
//
|
|
27344
|
-
//
|
|
27345
|
-
//
|
|
27346
|
-
//
|
|
27347
|
-
//
|
|
27348
|
-
//
|
|
27349
|
-
//
|
|
27350
|
-
//
|
|
27351
|
-
//
|
|
27352
|
-
//
|
|
27353
|
-
//
|
|
27354
|
-
//
|
|
27355
|
-
//
|
|
27356
26840
|
|
|
27357
26841
|
|
|
27358
26842
|
|
|
@@ -27384,19 +26868,10 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27384
26868
|
subIndex: Number,
|
|
27385
26869
|
sunIndex: Number,
|
|
27386
26870
|
subPath: String,
|
|
27387
|
-
currentSubData: Array
|
|
27388
|
-
dialogType: {
|
|
27389
|
-
// search表示在查询条件使用 form表示在表单中使用
|
|
27390
|
-
type: String,
|
|
27391
|
-
default: 'form'
|
|
27392
|
-
}
|
|
26871
|
+
currentSubData: Array
|
|
27393
26872
|
},
|
|
27394
26873
|
data() {
|
|
27395
26874
|
return {
|
|
27396
|
-
mobileSrc: '',
|
|
27397
|
-
isDialogFormShow: false,
|
|
27398
|
-
dialogConfig: null,
|
|
27399
|
-
// 对话框配置信息
|
|
27400
26875
|
isEditInputShow: false,
|
|
27401
26876
|
customValue: '',
|
|
27402
26877
|
defualtTooltipplacement: 'bottom',
|
|
@@ -27445,24 +26920,9 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27445
26920
|
}
|
|
27446
26921
|
let result = [];
|
|
27447
26922
|
nameAry.forEach(m => {
|
|
27448
|
-
|
|
27449
|
-
|
|
27450
|
-
|
|
27451
|
-
if (m.includes('¯') && m.split('¯')[1] || m.includes('ˉ') && m.split('ˉ')[1]) {
|
|
27452
|
-
let val1 = m.includes('¯') ? m.split('¯')[0] : m.split('ˉ')[0];
|
|
27453
|
-
let val2 = m.includes('¯') ? m.split('¯')[1] : m.split('ˉ')[1];
|
|
27454
|
-
n.value = val1;
|
|
27455
|
-
let jumpParamStr = val2;
|
|
27456
|
-
if (jumpParamStr) {
|
|
27457
|
-
let jumpParam = jumpParamStr.split(':');
|
|
27458
|
-
n.jumpParamKey = jumpParam[0];
|
|
27459
|
-
n.jumpParamValue = jumpParam[1];
|
|
27460
|
-
}
|
|
27461
|
-
} else {
|
|
27462
|
-
n = {
|
|
27463
|
-
value: m
|
|
27464
|
-
};
|
|
27465
|
-
}
|
|
26923
|
+
let n = {
|
|
26924
|
+
value: m
|
|
26925
|
+
};
|
|
27466
26926
|
result.push(n);
|
|
27467
26927
|
});
|
|
27468
26928
|
return result;
|
|
@@ -27470,16 +26930,8 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27470
26930
|
},
|
|
27471
26931
|
isAllowCustom() {
|
|
27472
26932
|
return this.custdialog && this.custdialog.allowInput;
|
|
27473
|
-
},
|
|
27474
|
-
// 是否展示可跳转颜色
|
|
27475
|
-
isSrcColor() {
|
|
27476
|
-
return this.dialogConfig && this.dialogType !== 'search' && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
27477
26933
|
}
|
|
27478
26934
|
},
|
|
27479
|
-
created() {
|
|
27480
|
-
// 获取对话框配置,看是否有配置url跳转
|
|
27481
|
-
this.getDialogConfig();
|
|
27482
|
-
},
|
|
27483
26935
|
mounted() {
|
|
27484
26936
|
setTimeout(() => {
|
|
27485
26937
|
const {
|
|
@@ -27497,74 +26949,9 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27497
26949
|
}
|
|
27498
26950
|
//获取对话框按钮名称宽度
|
|
27499
26951
|
this.calacInputSuffixWidth();
|
|
27500
|
-
if (this.value && this.inputWriteable) {
|
|
27501
|
-
this.calacInputSuffixHeight();
|
|
27502
|
-
}
|
|
27503
26952
|
}, 50);
|
|
27504
26953
|
},
|
|
27505
26954
|
methods: {
|
|
27506
|
-
// 跳转url页面
|
|
27507
|
-
jumpUrl(item) {
|
|
27508
|
-
if (!this.isSrcColor) {
|
|
27509
|
-
if (this.inputWriteable) {
|
|
27510
|
-
this.showEditInput();
|
|
27511
|
-
}
|
|
27512
|
-
return;
|
|
27513
|
-
}
|
|
27514
|
-
let url = this.isMobile ? this.dialogConfig.mobileUrl : this.dialogConfig.pcUrl;
|
|
27515
|
-
// 获取通用token 和 url翻译
|
|
27516
|
-
Promise.all([this.$requestConfig.getThreeTreeToken(), this.transformUrl(url)]).then(res => {
|
|
27517
|
-
if (res[0] && res[0].code == 200) {
|
|
27518
|
-
let token = res[0].value;
|
|
27519
|
-
let endUrl = res[1];
|
|
27520
|
-
// 拼接参数 token和参数
|
|
27521
|
-
if (endUrl.indexOf('?') == -1) {
|
|
27522
|
-
endUrl += `?bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
|
|
27523
|
-
} else {
|
|
27524
|
-
endUrl += `&bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
|
|
27525
|
-
}
|
|
27526
|
-
if (this.isMobile) {
|
|
27527
|
-
this.mobileSrc = endUrl;
|
|
27528
|
-
this.isDialogFormShow = true;
|
|
27529
|
-
} else {
|
|
27530
|
-
window.open(endUrl);
|
|
27531
|
-
}
|
|
27532
|
-
} else {
|
|
27533
|
-
this.$message.info(res.message || '获取token失败!');
|
|
27534
|
-
}
|
|
27535
|
-
});
|
|
27536
|
-
},
|
|
27537
|
-
// 替换url中域名通配符 需要发送接口
|
|
27538
|
-
transformUrl(url) {
|
|
27539
|
-
return new Promise(resolve => {
|
|
27540
|
-
var reg = /(\$\{(\w+)\})/;
|
|
27541
|
-
var match = reg.exec(url);
|
|
27542
|
-
if (match) {
|
|
27543
|
-
let alias = match[2];
|
|
27544
|
-
if (alias) {
|
|
27545
|
-
this.$requestConfig.getHostByAlias(alias).then(res => {
|
|
27546
|
-
if (res && res.value && res.value.rootAddress) {
|
|
27547
|
-
resolve(url.replace(match[1], res.value.rootAddress));
|
|
27548
|
-
} else {
|
|
27549
|
-
resolve(url);
|
|
27550
|
-
}
|
|
27551
|
-
});
|
|
27552
|
-
} else {
|
|
27553
|
-
resolve(url);
|
|
27554
|
-
}
|
|
27555
|
-
} else {
|
|
27556
|
-
resolve(url);
|
|
27557
|
-
}
|
|
27558
|
-
});
|
|
27559
|
-
},
|
|
27560
|
-
// 获取对话框配置
|
|
27561
|
-
getDialogConfig() {
|
|
27562
|
-
if (this.custdialog && this.custdialog.custDialog && this.custdialog.custDialog.alias) this.$requestConfig.getCustomDialogByAlias(this.custdialog.custDialog.alias).then(response => {
|
|
27563
|
-
if (response) {
|
|
27564
|
-
this.dialogConfig = response;
|
|
27565
|
-
}
|
|
27566
|
-
});
|
|
27567
|
-
},
|
|
27568
26955
|
editInputBlur() {
|
|
27569
26956
|
this.$emit('input', this.customValue);
|
|
27570
26957
|
this.isEditInputShow = false;
|
|
@@ -27639,8 +27026,8 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27639
27026
|
});
|
|
27640
27027
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=script&lang=js&
|
|
27641
27028
|
/* harmony default export */ var packages_CustomDialog_src_mainvue_type_script_lang_js_ = (CustomDialog_src_mainvue_type_script_lang_js_);
|
|
27642
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=
|
|
27643
|
-
var
|
|
27029
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=0b5eb5e6&prod&lang=scss&scoped=true&
|
|
27030
|
+
var mainvue_type_style_index_0_id_0b5eb5e6_prod_lang_scss_scoped_true_ = __webpack_require__("be12");
|
|
27644
27031
|
|
|
27645
27032
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue
|
|
27646
27033
|
|
|
@@ -27653,11 +27040,11 @@ var mainvue_type_style_index_0_id_bf5a35ae_prod_lang_scss_scoped_true_ = __webpa
|
|
|
27653
27040
|
|
|
27654
27041
|
var CustomDialog_src_main_component = normalizeComponent(
|
|
27655
27042
|
packages_CustomDialog_src_mainvue_type_script_lang_js_,
|
|
27656
|
-
|
|
27657
|
-
|
|
27043
|
+
mainvue_type_template_id_0b5eb5e6_scoped_true_render,
|
|
27044
|
+
mainvue_type_template_id_0b5eb5e6_scoped_true_staticRenderFns,
|
|
27658
27045
|
false,
|
|
27659
27046
|
null,
|
|
27660
|
-
"
|
|
27047
|
+
"0b5eb5e6",
|
|
27661
27048
|
null
|
|
27662
27049
|
|
|
27663
27050
|
)
|
|
@@ -42297,12 +41684,12 @@ var GlobalValidate_component = normalizeComponent(
|
|
|
42297
41684
|
)
|
|
42298
41685
|
|
|
42299
41686
|
/* harmony default export */ var GlobalValidate = (GlobalValidate_component.exports);
|
|
42300
|
-
// 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=
|
|
42301
|
-
var
|
|
42302
|
-
var
|
|
41687
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/Global/src/GlobalQuery.vue?vue&type=template&id=10314ca6&
|
|
41688
|
+
var GlobalQueryvue_type_template_id_10314ca6_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span')}
|
|
41689
|
+
var GlobalQueryvue_type_template_id_10314ca6_staticRenderFns = []
|
|
42303
41690
|
|
|
42304
41691
|
|
|
42305
|
-
// CONCATENATED MODULE: ./packages/Global/src/GlobalQuery.vue?vue&type=template&id=
|
|
41692
|
+
// CONCATENATED MODULE: ./packages/Global/src/GlobalQuery.vue?vue&type=template&id=10314ca6&
|
|
42306
41693
|
|
|
42307
41694
|
// 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&
|
|
42308
41695
|
//
|
|
@@ -42333,6 +41720,10 @@ var GlobalQueryvue_type_template_id_c61b6e10_staticRenderFns = []
|
|
|
42333
41720
|
if (!this.formInst) {
|
|
42334
41721
|
this.formInst = utils["a" /* default */].getOnlineFormInstance(this.$parent);
|
|
42335
41722
|
}
|
|
41723
|
+
// 如果是只读时不触发关联查询
|
|
41724
|
+
if (this.formInst.isView === true) {
|
|
41725
|
+
return;
|
|
41726
|
+
}
|
|
42336
41727
|
if (this.queryJson.length > 0) {
|
|
42337
41728
|
let _this = this;
|
|
42338
41729
|
this.queryJson.forEach(item => {
|
|
@@ -42481,8 +41872,8 @@ var GlobalQueryvue_type_template_id_c61b6e10_staticRenderFns = []
|
|
|
42481
41872
|
|
|
42482
41873
|
var GlobalQuery_component = normalizeComponent(
|
|
42483
41874
|
src_GlobalQueryvue_type_script_lang_js_,
|
|
42484
|
-
|
|
42485
|
-
|
|
41875
|
+
GlobalQueryvue_type_template_id_10314ca6_render,
|
|
41876
|
+
GlobalQueryvue_type_template_id_10314ca6_staticRenderFns,
|
|
42486
41877
|
false,
|
|
42487
41878
|
null,
|
|
42488
41879
|
null,
|