three-trees-ui 1.0.6 → 1.0.8
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 +955 -431
- package/lib/three-trees-ui.css +1 -1
- package/lib/three-trees-ui.umd.js +955 -431
- package/lib/three-trees-ui.umd.min.js +1 -1
- package/package.json +1 -1
- package/packages/CustomDialog/src/customDialog.vue +392 -153
- package/packages/CustomDialog/src/customMobileDialog.vue +448 -155
- package/packages/CustomDialog/src/main.vue +120 -5
- package/packages/DimensionSelector/src/main.vue +2 -0
- package/packages/Global/src/GlobalQuery.vue +6 -1
- package/packages/OrgSelectorInput/src/OrgSelectorInput.vue +1 -1
- package/packages/Subtable/src/SubDialog.vue +5 -1
|
@@ -1652,6 +1652,13 @@ const btnList = [{
|
|
|
1652
1652
|
|
|
1653
1653
|
/***/ }),
|
|
1654
1654
|
|
|
1655
|
+
/***/ "0c48":
|
|
1656
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1657
|
+
|
|
1658
|
+
// extracted by mini-css-extract-plugin
|
|
1659
|
+
|
|
1660
|
+
/***/ }),
|
|
1661
|
+
|
|
1655
1662
|
/***/ "0edb":
|
|
1656
1663
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1657
1664
|
|
|
@@ -1861,6 +1868,13 @@ const SubPagination = {
|
|
|
1861
1868
|
|
|
1862
1869
|
/***/ }),
|
|
1863
1870
|
|
|
1871
|
+
/***/ "18d6":
|
|
1872
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1873
|
+
|
|
1874
|
+
// extracted by mini-css-extract-plugin
|
|
1875
|
+
|
|
1876
|
+
/***/ }),
|
|
1877
|
+
|
|
1864
1878
|
/***/ "1a07":
|
|
1865
1879
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1866
1880
|
|
|
@@ -1879,31 +1893,35 @@ const SubPagination = {
|
|
|
1879
1893
|
|
|
1880
1894
|
/***/ }),
|
|
1881
1895
|
|
|
1882
|
-
/***/ "
|
|
1896
|
+
/***/ "1ccc":
|
|
1883
1897
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1884
1898
|
|
|
1885
1899
|
// extracted by mini-css-extract-plugin
|
|
1886
1900
|
|
|
1887
1901
|
/***/ }),
|
|
1888
1902
|
|
|
1889
|
-
/***/ "
|
|
1903
|
+
/***/ "200a":
|
|
1890
1904
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1891
1905
|
|
|
1892
1906
|
// extracted by mini-css-extract-plugin
|
|
1893
1907
|
|
|
1894
1908
|
/***/ }),
|
|
1895
1909
|
|
|
1896
|
-
/***/ "
|
|
1910
|
+
/***/ "20da":
|
|
1897
1911
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1898
1912
|
|
|
1899
1913
|
// extracted by mini-css-extract-plugin
|
|
1900
1914
|
|
|
1901
1915
|
/***/ }),
|
|
1902
1916
|
|
|
1903
|
-
/***/ "
|
|
1904
|
-
/***/ (function(module,
|
|
1917
|
+
/***/ "212d":
|
|
1918
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1919
|
+
|
|
1920
|
+
"use strict";
|
|
1921
|
+
/* 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_691dcad9_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("e902");
|
|
1922
|
+
/* 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_691dcad9_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_691dcad9_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
1923
|
+
/* unused harmony reexport * */
|
|
1905
1924
|
|
|
1906
|
-
// extracted by mini-css-extract-plugin
|
|
1907
1925
|
|
|
1908
1926
|
/***/ }),
|
|
1909
1927
|
|
|
@@ -2065,13 +2083,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__289a__;
|
|
|
2065
2083
|
|
|
2066
2084
|
/***/ }),
|
|
2067
2085
|
|
|
2068
|
-
/***/ "333d":
|
|
2069
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2070
|
-
|
|
2071
|
-
// extracted by mini-css-extract-plugin
|
|
2072
|
-
|
|
2073
|
-
/***/ }),
|
|
2074
|
-
|
|
2075
2086
|
/***/ "33ce":
|
|
2076
2087
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2077
2088
|
|
|
@@ -2812,6 +2823,17 @@ Formulas.install = Vue => {
|
|
|
2812
2823
|
/* unused harmony reexport * */
|
|
2813
2824
|
|
|
2814
2825
|
|
|
2826
|
+
/***/ }),
|
|
2827
|
+
|
|
2828
|
+
/***/ "3de0":
|
|
2829
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2830
|
+
|
|
2831
|
+
"use strict";
|
|
2832
|
+
/* 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_f66484a2_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("18d6");
|
|
2833
|
+
/* 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_f66484a2_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_f66484a2_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
2834
|
+
/* unused harmony reexport * */
|
|
2835
|
+
|
|
2836
|
+
|
|
2815
2837
|
/***/ }),
|
|
2816
2838
|
|
|
2817
2839
|
/***/ "3e5b":
|
|
@@ -2902,17 +2924,6 @@ Formulas.install = Vue => {
|
|
|
2902
2924
|
|
|
2903
2925
|
// extracted by mini-css-extract-plugin
|
|
2904
2926
|
|
|
2905
|
-
/***/ }),
|
|
2906
|
-
|
|
2907
|
-
/***/ "49f9":
|
|
2908
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2909
|
-
|
|
2910
|
-
"use strict";
|
|
2911
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_1_id_1661eebb_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("7c6e");
|
|
2912
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_1_id_1661eebb_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_1_id_1661eebb_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
2913
|
-
/* unused harmony reexport * */
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
2927
|
/***/ }),
|
|
2917
2928
|
|
|
2918
2929
|
/***/ "4a17":
|
|
@@ -4134,6 +4145,13 @@ const dict = {
|
|
|
4134
4145
|
|
|
4135
4146
|
/***/ }),
|
|
4136
4147
|
|
|
4148
|
+
/***/ "6ebe":
|
|
4149
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4150
|
+
|
|
4151
|
+
// extracted by mini-css-extract-plugin
|
|
4152
|
+
|
|
4153
|
+
/***/ }),
|
|
4154
|
+
|
|
4137
4155
|
/***/ "6f28":
|
|
4138
4156
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4139
4157
|
|
|
@@ -4241,13 +4259,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4241
4259
|
|
|
4242
4260
|
/***/ }),
|
|
4243
4261
|
|
|
4244
|
-
/***/ "7c6e":
|
|
4245
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4246
|
-
|
|
4247
|
-
// extracted by mini-css-extract-plugin
|
|
4248
|
-
|
|
4249
|
-
/***/ }),
|
|
4250
|
-
|
|
4251
4262
|
/***/ "7d0a":
|
|
4252
4263
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4253
4264
|
|
|
@@ -4277,24 +4288,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4277
4288
|
|
|
4278
4289
|
/***/ }),
|
|
4279
4290
|
|
|
4280
|
-
/***/ "7ff9":
|
|
4281
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4282
|
-
|
|
4283
|
-
"use strict";
|
|
4284
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customDialog_vue_vue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("333d");
|
|
4285
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customDialog_vue_vue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customDialog_vue_vue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
4286
|
-
/* unused harmony reexport * */
|
|
4287
|
-
|
|
4288
|
-
|
|
4289
|
-
/***/ }),
|
|
4290
|
-
|
|
4291
|
-
/***/ "81f7":
|
|
4292
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4293
|
-
|
|
4294
|
-
// extracted by mini-css-extract-plugin
|
|
4295
|
-
|
|
4296
|
-
/***/ }),
|
|
4297
|
-
|
|
4298
4291
|
/***/ "8262":
|
|
4299
4292
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4300
4293
|
|
|
@@ -4333,6 +4326,17 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4333
4326
|
|
|
4334
4327
|
// extracted by mini-css-extract-plugin
|
|
4335
4328
|
|
|
4329
|
+
/***/ }),
|
|
4330
|
+
|
|
4331
|
+
/***/ "8502":
|
|
4332
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4333
|
+
|
|
4334
|
+
"use strict";
|
|
4335
|
+
/* 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_7a0ef38c_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("0c48");
|
|
4336
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_7a0ef38c_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_7a0ef38c_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
4337
|
+
/* unused harmony reexport * */
|
|
4338
|
+
|
|
4339
|
+
|
|
4336
4340
|
/***/ }),
|
|
4337
4341
|
|
|
4338
4342
|
/***/ "8728":
|
|
@@ -4728,14 +4732,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
4728
4732
|
/***/ "9224":
|
|
4729
4733
|
/***/ (function(module) {
|
|
4730
4734
|
|
|
4731
|
-
module.exports = JSON.parse("{\"a\":\"1.0.
|
|
4732
|
-
|
|
4733
|
-
/***/ }),
|
|
4734
|
-
|
|
4735
|
-
/***/ "923d":
|
|
4736
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4737
|
-
|
|
4738
|
-
// extracted by mini-css-extract-plugin
|
|
4735
|
+
module.exports = JSON.parse("{\"a\":\"1.0.8\"}");
|
|
4739
4736
|
|
|
4740
4737
|
/***/ }),
|
|
4741
4738
|
|
|
@@ -4867,13 +4864,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHoAAABMCAYAAACi
|
|
|
4867
4864
|
|
|
4868
4865
|
/***/ }),
|
|
4869
4866
|
|
|
4870
|
-
/***/ "a707":
|
|
4871
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4872
|
-
|
|
4873
|
-
// extracted by mini-css-extract-plugin
|
|
4874
|
-
|
|
4875
|
-
/***/ }),
|
|
4876
|
-
|
|
4877
4867
|
/***/ "a751":
|
|
4878
4868
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4879
4869
|
|
|
@@ -6321,6 +6311,17 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
|
|
|
6321
6311
|
/* unused harmony reexport * */
|
|
6322
6312
|
|
|
6323
6313
|
|
|
6314
|
+
/***/ }),
|
|
6315
|
+
|
|
6316
|
+
/***/ "b944":
|
|
6317
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6318
|
+
|
|
6319
|
+
"use strict";
|
|
6320
|
+
/* 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_SubDialog_vue_vue_type_style_index_0_id_2e77cfbe_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("f2d9");
|
|
6321
|
+
/* 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_SubDialog_vue_vue_type_style_index_0_id_2e77cfbe_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_SubDialog_vue_vue_type_style_index_0_id_2e77cfbe_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
6322
|
+
/* unused harmony reexport * */
|
|
6323
|
+
|
|
6324
|
+
|
|
6324
6325
|
/***/ }),
|
|
6325
6326
|
|
|
6326
6327
|
/***/ "b973":
|
|
@@ -6440,17 +6441,6 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
|
|
|
6440
6441
|
|
|
6441
6442
|
// extracted by mini-css-extract-plugin
|
|
6442
6443
|
|
|
6443
|
-
/***/ }),
|
|
6444
|
-
|
|
6445
|
-
/***/ "bf72":
|
|
6446
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6447
|
-
|
|
6448
|
-
"use strict";
|
|
6449
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_37fe7c68_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1c11");
|
|
6450
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_37fe7c68_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_37fe7c68_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
6451
|
-
/* unused harmony reexport * */
|
|
6452
|
-
|
|
6453
|
-
|
|
6454
6444
|
/***/ }),
|
|
6455
6445
|
|
|
6456
6446
|
/***/ "c0a9":
|
|
@@ -6469,17 +6459,6 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
|
|
|
6469
6459
|
|
|
6470
6460
|
module.exports = require("moment");
|
|
6471
6461
|
|
|
6472
|
-
/***/ }),
|
|
6473
|
-
|
|
6474
|
-
/***/ "c33b":
|
|
6475
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6476
|
-
|
|
6477
|
-
"use strict";
|
|
6478
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a707");
|
|
6479
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
6480
|
-
/* unused harmony reexport * */
|
|
6481
|
-
|
|
6482
|
-
|
|
6483
6462
|
/***/ }),
|
|
6484
6463
|
|
|
6485
6464
|
/***/ "c429":
|
|
@@ -6637,6 +6616,17 @@ module.exports = __WEBPACK_EXTERNAL_MODULE_cebe__;
|
|
|
6637
6616
|
|
|
6638
6617
|
// extracted by mini-css-extract-plugin
|
|
6639
6618
|
|
|
6619
|
+
/***/ }),
|
|
6620
|
+
|
|
6621
|
+
/***/ "d058":
|
|
6622
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6623
|
+
|
|
6624
|
+
"use strict";
|
|
6625
|
+
/* 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_691dcad9_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("fcc0");
|
|
6626
|
+
/* 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_691dcad9_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_691dcad9_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
6627
|
+
/* unused harmony reexport * */
|
|
6628
|
+
|
|
6629
|
+
|
|
6640
6630
|
/***/ }),
|
|
6641
6631
|
|
|
6642
6632
|
/***/ "d071":
|
|
@@ -7164,23 +7154,23 @@ module.exports = require("deepmerge");
|
|
|
7164
7154
|
|
|
7165
7155
|
/***/ }),
|
|
7166
7156
|
|
|
7167
|
-
/***/ "
|
|
7157
|
+
/***/ "dc81":
|
|
7168
7158
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7169
7159
|
|
|
7170
7160
|
"use strict";
|
|
7171
|
-
/* harmony import */ var
|
|
7172
|
-
/* harmony import */ var
|
|
7161
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_8015cf1e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("6ebe");
|
|
7162
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_8015cf1e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_8015cf1e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
7173
7163
|
/* unused harmony reexport * */
|
|
7174
7164
|
|
|
7175
7165
|
|
|
7176
7166
|
/***/ }),
|
|
7177
7167
|
|
|
7178
|
-
/***/ "
|
|
7168
|
+
/***/ "dccc":
|
|
7179
7169
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7180
7170
|
|
|
7181
7171
|
"use strict";
|
|
7182
|
-
/* harmony import */ var
|
|
7183
|
-
/* harmony import */ var
|
|
7172
|
+
/* 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");
|
|
7173
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_68e2d4a1_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___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__);
|
|
7184
7174
|
/* unused harmony reexport * */
|
|
7185
7175
|
|
|
7186
7176
|
|
|
@@ -7277,6 +7267,13 @@ module.exports = require("deepmerge");
|
|
|
7277
7267
|
|
|
7278
7268
|
/***/ }),
|
|
7279
7269
|
|
|
7270
|
+
/***/ "e902":
|
|
7271
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
7272
|
+
|
|
7273
|
+
// extracted by mini-css-extract-plugin
|
|
7274
|
+
|
|
7275
|
+
/***/ }),
|
|
7276
|
+
|
|
7280
7277
|
/***/ "eab7":
|
|
7281
7278
|
/***/ (function(module, exports, __webpack_require__) {
|
|
7282
7279
|
|
|
@@ -7312,6 +7309,13 @@ module.exports = __WEBPACK_EXTERNAL_MODULE_f230__;
|
|
|
7312
7309
|
|
|
7313
7310
|
/***/ }),
|
|
7314
7311
|
|
|
7312
|
+
/***/ "f2d9":
|
|
7313
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
7314
|
+
|
|
7315
|
+
// extracted by mini-css-extract-plugin
|
|
7316
|
+
|
|
7317
|
+
/***/ }),
|
|
7318
|
+
|
|
7315
7319
|
/***/ "f43e":
|
|
7316
7320
|
/***/ (function(module, exports) {
|
|
7317
7321
|
|
|
@@ -22481,8 +22485,8 @@ PostSelector_src_main.install = function (Vue) {
|
|
|
22481
22485
|
Vue.component(PostSelector_src_main.name, PostSelector_src_main);
|
|
22482
22486
|
};
|
|
22483
22487
|
/* harmony default export */ var PostSelector = (PostSelector_src_main);
|
|
22484
|
-
// 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=
|
|
22485
|
-
var
|
|
22488
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3e1eb196-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/DimensionSelector/src/main.vue?vue&type=template&id=8015cf1e&scoped=true&
|
|
22489
|
+
var mainvue_type_template_id_8015cf1e_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.permission !== 'n')?_c('div',{class:[
|
|
22486
22490
|
'inputs',
|
|
22487
22491
|
_vm.formInputsDisplay == 'block'
|
|
22488
22492
|
? 'ht-form-inputs__block'
|
|
@@ -22497,10 +22501,10 @@ var mainvue_type_template_id_10681225_scoped_true_render = function () {var _vm=
|
|
|
22497
22501
|
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){
|
|
22498
22502
|
var select = ref.select;
|
|
22499
22503
|
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()}
|
|
22500
|
-
var
|
|
22504
|
+
var mainvue_type_template_id_8015cf1e_scoped_true_staticRenderFns = []
|
|
22501
22505
|
|
|
22502
22506
|
|
|
22503
|
-
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=template&id=
|
|
22507
|
+
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=template&id=8015cf1e&scoped=true&
|
|
22504
22508
|
|
|
22505
22509
|
// 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&
|
|
22506
22510
|
//
|
|
@@ -22759,6 +22763,8 @@ var mainvue_type_template_id_10681225_scoped_true_staticRenderFns = []
|
|
|
22759
22763
|
if (this.config.hasOwnProperty('demName')) {
|
|
22760
22764
|
utils["a" /* default */].setValueByConfigKey(this, this.config, 'demName', demNameAry.join(','));
|
|
22761
22765
|
}
|
|
22766
|
+
} else {
|
|
22767
|
+
this.$emit('change', newVal);
|
|
22762
22768
|
}
|
|
22763
22769
|
// 通过valueChange事件发布值变更消息
|
|
22764
22770
|
this.$emit('valueChange', ary.join(','), newVal);
|
|
@@ -22888,8 +22894,8 @@ var mainvue_type_template_id_10681225_scoped_true_staticRenderFns = []
|
|
|
22888
22894
|
});
|
|
22889
22895
|
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=script&lang=js&
|
|
22890
22896
|
/* harmony default export */ var packages_DimensionSelector_src_mainvue_type_script_lang_js_ = (DimensionSelector_src_mainvue_type_script_lang_js_);
|
|
22891
|
-
// EXTERNAL MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=style&index=0&id=
|
|
22892
|
-
var
|
|
22897
|
+
// EXTERNAL MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=style&index=0&id=8015cf1e&prod&lang=scss&scoped=true&
|
|
22898
|
+
var mainvue_type_style_index_0_id_8015cf1e_prod_lang_scss_scoped_true_ = __webpack_require__("dc81");
|
|
22893
22899
|
|
|
22894
22900
|
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue
|
|
22895
22901
|
|
|
@@ -22902,11 +22908,11 @@ var mainvue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true_ = __webpa
|
|
|
22902
22908
|
|
|
22903
22909
|
var DimensionSelector_src_main_component = normalizeComponent(
|
|
22904
22910
|
packages_DimensionSelector_src_mainvue_type_script_lang_js_,
|
|
22905
|
-
|
|
22906
|
-
|
|
22911
|
+
mainvue_type_template_id_8015cf1e_scoped_true_render,
|
|
22912
|
+
mainvue_type_template_id_8015cf1e_scoped_true_staticRenderFns,
|
|
22907
22913
|
false,
|
|
22908
22914
|
null,
|
|
22909
|
-
"
|
|
22915
|
+
"8015cf1e",
|
|
22910
22916
|
null
|
|
22911
22917
|
|
|
22912
22918
|
)
|
|
@@ -23534,8 +23540,8 @@ Dialog_src_main.install = function (Vue) {
|
|
|
23534
23540
|
Vue.component(Dialog_src_main.name, Dialog_src_main);
|
|
23535
23541
|
};
|
|
23536
23542
|
/* harmony default export */ var Dialog = (Dialog_src_main);
|
|
23537
|
-
// 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=
|
|
23538
|
-
var
|
|
23543
|
+
// 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=7a0ef38c&scoped=true&
|
|
23544
|
+
var mainvue_type_template_id_7a0ef38c_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"inputs"},[_c('el-tooltip',{attrs:{"placement":_vm.tooltipplacement || _vm.defualtTooltipplacement,"disabled":_vm.inputWriteable && !_vm.errors.has('custom-form.' + _vm.inputName)}},[_c('div',{attrs:{"slot":"content"},slot:"content"},[_vm._v(_vm._s(_vm.errors.first('custom-form.' + _vm.inputName)))]),(_vm.inputWriteable)?_c('div',{staticClass:"el-select",class:{ 'has-value': _vm.value },staticStyle:{"width":"100%"}},[_c('div',{ref:"tagSpans",staticClass:"el-select__tags",style:({ width: 'calc(100% - 10px - ' + _vm.inputSuffixWidth + 'px)' }),on:{"click":_vm.showEditInput}},[_c('span',{staticClass:"tag-wrap"},_vm._l((_vm.inputVal),function(item,index){return _c('span',{key:item.value,staticClass:"el-tag el-tag--info el-tag--small",on:{"click":function($event){$event.stopPropagation();return _vm.jumpUrl(item)}}},[_c('span',{staticClass:"el-select__tags-text",class:{ 'src-color': _vm.isSrcColor }},[_vm._v("\n "+_vm._s(item.value)+"\n ")]),_c('i',{staticClass:"el-tag__close el-icon-close",on:{"click":function($event){$event.stopPropagation();return _vm.removeSelectOrg(index)}}})])}),0)]),_c('div',{staticClass:"el-input el-input--suffix"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.inputVal),expression:"inputVal"},{name:"validate",rawName:"v-validate",value:(_vm.inputValidate),expression:"inputValidate"}],staticClass:"el-input__inner",style:({ height: _vm.inputSuffixHeight + 'px' }),attrs:{"type":"text","readonly":"readonly","name":_vm.inputName,"autocomplete":"off","placeholder":_vm.placeholder},domProps:{"value":(_vm.inputVal)},on:{"click":_vm.showEditInput,"input":function($event){if($event.target.composing){ return; }_vm.inputVal=$event.target.value}}}),(_vm.isAllowCustom && _vm.isEditInputShow)?_c('el-input',{ref:"editInputRef",staticClass:"edit-input",style:({
|
|
23539
23545
|
right: _vm.inputSuffixWidth - 1 + 'px',
|
|
23540
23546
|
width: 'auto!important',
|
|
23541
23547
|
height: _vm.inputSuffixHeight - 4 + 'px',
|
|
@@ -23544,11 +23550,11 @@ var mainvue_type_template_id_37fe7c68_scoped_true_render = function () {var _vm=
|
|
|
23544
23550
|
: 'el-input__icon icon-duihuakuang',style:({
|
|
23545
23551
|
fontSize: '17px',
|
|
23546
23552
|
lineHeight: _vm.inputSuffixHeight + 'px',
|
|
23547
|
-
})}),_vm._v("\n "+_vm._s(_vm.custdialog.name)+"\n ")])],1)])],1)]):_vm._e()]),(!_vm.inputWriteable)?_c('span',_vm._l((_vm.inputVal),function(item){return _c('span',{key:item.value,staticClass:"el-tag el-tag--info el-tag--small",staticStyle:{"margin-right":"8px"},on:{"click":function($event){$event.stopPropagation();}}},[_c('span',{staticClass:"el-select__tags-text"},[_vm._v(_vm._s(item.value))])])}),0):_vm._e(),(_vm.isMobile)?_c('custom-mobile-dialog',{ref:"customMobileDialogRef",attrs:{"model-name":_vm.modelName,"custdialog":_vm.custdialog,"sub-index":_vm.subIndex,"sun-index":_vm.sunIndex,"sub-path":_vm.subPath,"current-sub-data":_vm.currentSubData},on:{"calacInputSuffixHeight":_vm.calacInputSuffixHeight,"updateInput":_vm.updateInput}}):_c('custom-dialog',{ref:"customDialogRef",attrs:{"model-name":_vm.modelName,"custdialog":_vm.custdialog,"sub-index":_vm.subIndex,"sun-index":_vm.sunIndex,"sub-path":_vm.subPath,"current-sub-data":_vm.currentSubData,"is-read-only":!_vm.inputWriteable},on:{"calacInputSuffixHeight":_vm.calacInputSuffixHeight,"updateInput":_vm.updateInput},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v},expression:"value"}}),_c('span',{directives:[{name:"validate",rawName:"v-validate"}],staticStyle:{"display":"none"}},[_vm._t("labeldesc",[_vm._v(_vm._s(_vm.inputName))])],2),_c('ht-field-tail',{attrs:{"field-name":_vm.inputName,"input-value":_vm.value}})],1)}
|
|
23548
|
-
var
|
|
23553
|
+
})}),_vm._v("\n "+_vm._s(_vm.custdialog.name)+"\n ")])],1)])],1)]):_vm._e()]),(!_vm.inputWriteable)?_c('span',_vm._l((_vm.inputVal),function(item){return _c('span',{key:item.value,staticClass:"el-tag el-tag--info el-tag--small",staticStyle:{"margin-right":"8px"},on:{"click":function($event){$event.stopPropagation();return _vm.jumpUrl(item)}}},[_c('span',{staticClass:"el-select__tags-text",class:{ 'src-color': _vm.isSrcColor }},[_vm._v("\n "+_vm._s(item.value)+"\n ")])])}),0):_vm._e(),(_vm.isMobile)?_c('custom-mobile-dialog',{ref:"customMobileDialogRef",attrs:{"model-name":_vm.modelName,"custdialog":_vm.custdialog,"sub-index":_vm.subIndex,"sun-index":_vm.sunIndex,"sub-path":_vm.subPath,"current-sub-data":_vm.currentSubData,"dialog-config":_vm.dialogConfig,"dialog-type":_vm.dialogType},on:{"calacInputSuffixHeight":_vm.calacInputSuffixHeight,"updateInput":_vm.updateInput}}):_c('custom-dialog',{ref:"customDialogRef",attrs:{"model-name":_vm.modelName,"custdialog":_vm.custdialog,"sub-index":_vm.subIndex,"sun-index":_vm.sunIndex,"sub-path":_vm.subPath,"current-sub-data":_vm.currentSubData,"is-read-only":!_vm.inputWriteable,"dialog-config":_vm.dialogConfig,"dialog-type":_vm.dialogType},on:{"calacInputSuffixHeight":_vm.calacInputSuffixHeight,"updateInput":_vm.updateInput},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v},expression:"value"}}),_c('span',{directives:[{name:"validate",rawName:"v-validate"}],staticStyle:{"display":"none"}},[_vm._t("labeldesc",[_vm._v(_vm._s(_vm.inputName))])],2),_c('ht-field-tail',{attrs:{"field-name":_vm.inputName,"input-value":_vm.value}})],1)}
|
|
23554
|
+
var mainvue_type_template_id_7a0ef38c_scoped_true_staticRenderFns = []
|
|
23549
23555
|
|
|
23550
23556
|
|
|
23551
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=
|
|
23557
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=7a0ef38c&scoped=true&
|
|
23552
23558
|
|
|
23553
23559
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.js
|
|
23554
23560
|
|
|
@@ -23670,19 +23676,35 @@ var mainvue_type_template_id_37fe7c68_scoped_true_staticRenderFns = []
|
|
|
23670
23676
|
}
|
|
23671
23677
|
}
|
|
23672
23678
|
});
|
|
23673
|
-
// 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=
|
|
23674
|
-
var
|
|
23675
|
-
|
|
23676
|
-
|
|
23677
|
-
|
|
23678
|
-
|
|
23679
|
-
|
|
23680
|
-
|
|
23681
|
-
|
|
23682
|
-
|
|
23683
|
-
|
|
23684
|
-
|
|
23685
|
-
|
|
23679
|
+
// 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=f66484a2&scoped=true&
|
|
23680
|
+
var customDialogvue_type_template_id_f66484a2_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,"multiple":condition.config.multiple,"options":condition.config.options},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}}):_c('ht-dictionary',{attrs:{"dickey":condition.config.dic,"filterable":condition.config.filterable},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '4')?_c('div',{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(),(condition.controllerType == '6')?_c('div',{staticStyle:{"margin-right":"10px"}},[(condition.condition == 'BETWEEN')?_c('div',[_c('ht-date',{attrs:{"format":condition.config.inputFormat,"valueFormat":condition.config.inputFormat},model:{value:(_vm.queryParams[index].startDate),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "startDate", $$v)},expression:"queryParams[index].startDate"}}),_vm._v("\n 至\n "),_c('ht-date',{attrs:{"format":condition.config.inputFormat,"valueFormat":condition.config.inputFormat},model:{value:(_vm.queryParams[index].endDate),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "endDate", $$v)},expression:"queryParams[index].endDate"}})],1):_c('ht-date',{attrs:{"format":condition.config.inputFormat,"valueFormat":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',{staticStyle:{"margin-right":"10px"}},[(condition.config.alias == 'user')?_c('ht-user-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23681
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23682
|
+
}},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e(),(condition.config.alias == 'org')?_c('ht-org-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23683
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23684
|
+
}},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e(),(condition.config.alias == 'role')?_c('ht-role-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23685
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23686
|
+
}},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e(),(condition.config.alias == 'job')?_c('ht-job-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23687
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23688
|
+
}},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e(),(condition.config.alias == 'post')?_c('ht-post-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23689
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23690
|
+
}},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e(),(condition.config.alias == 'dimension')?_c('ht-dimension-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
23691
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23692
|
+
}},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e()],1):_vm._e(),(condition.controllerType == '5')?_c('div',{staticStyle:{"margin-right":"10px"}},[_c('ht-custom-dialog',{attrs:{"model-name":condition.config.keyBind,"dialogType":"search","custdialog":{
|
|
23693
|
+
name: '请选择',
|
|
23694
|
+
icon: '',
|
|
23695
|
+
custDialog: {
|
|
23696
|
+
selectNum: 1,
|
|
23697
|
+
conditions: [],
|
|
23698
|
+
mappingConf: [],
|
|
23699
|
+
custQueryJson: [],
|
|
23700
|
+
alias: condition.config.alias,
|
|
23701
|
+
type: 'custDialog',
|
|
23702
|
+
},
|
|
23703
|
+
}},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)}
|
|
23704
|
+
var customDialogvue_type_template_id_f66484a2_scoped_true_staticRenderFns = []
|
|
23705
|
+
|
|
23706
|
+
|
|
23707
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=f66484a2&scoped=true&
|
|
23686
23708
|
|
|
23687
23709
|
// EXTERNAL MODULE: external "jquery"
|
|
23688
23710
|
var external_jquery_ = __webpack_require__("c5e1");
|
|
@@ -23991,6 +24013,116 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
23991
24013
|
//
|
|
23992
24014
|
//
|
|
23993
24015
|
//
|
|
24016
|
+
//
|
|
24017
|
+
//
|
|
24018
|
+
//
|
|
24019
|
+
//
|
|
24020
|
+
//
|
|
24021
|
+
//
|
|
24022
|
+
//
|
|
24023
|
+
//
|
|
24024
|
+
//
|
|
24025
|
+
//
|
|
24026
|
+
//
|
|
24027
|
+
//
|
|
24028
|
+
//
|
|
24029
|
+
//
|
|
24030
|
+
//
|
|
24031
|
+
//
|
|
24032
|
+
//
|
|
24033
|
+
//
|
|
24034
|
+
//
|
|
24035
|
+
//
|
|
24036
|
+
//
|
|
24037
|
+
//
|
|
24038
|
+
//
|
|
24039
|
+
//
|
|
24040
|
+
//
|
|
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
|
+
//
|
|
23994
24126
|
|
|
23995
24127
|
|
|
23996
24128
|
|
|
@@ -24018,10 +24150,16 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24018
24150
|
isReadOnly: {
|
|
24019
24151
|
type: Boolean,
|
|
24020
24152
|
default: false
|
|
24021
|
-
}
|
|
24153
|
+
},
|
|
24154
|
+
dialogConfig: Object,
|
|
24155
|
+
dialogType: String
|
|
24022
24156
|
},
|
|
24023
24157
|
data() {
|
|
24024
24158
|
return {
|
|
24159
|
+
startDate: '',
|
|
24160
|
+
// 日期控件
|
|
24161
|
+
endDate: '',
|
|
24162
|
+
// 日期控件
|
|
24025
24163
|
tableHeight: 350,
|
|
24026
24164
|
isEditInputShow: false,
|
|
24027
24165
|
customValue: '',
|
|
@@ -24102,6 +24240,18 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24102
24240
|
return [this.props1[0][this.nodeKey]];
|
|
24103
24241
|
}
|
|
24104
24242
|
return [];
|
|
24243
|
+
},
|
|
24244
|
+
jumpParamKey() {
|
|
24245
|
+
return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
|
|
24246
|
+
},
|
|
24247
|
+
// 是否保存成跳转url参数
|
|
24248
|
+
isHaveJumpUrl() {
|
|
24249
|
+
return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
24250
|
+
},
|
|
24251
|
+
sortDisplayfield() {
|
|
24252
|
+
return this.displayfield.sort((a, b) => {
|
|
24253
|
+
return a.sort > b.sort ? 1 : -1;
|
|
24254
|
+
});
|
|
24105
24255
|
}
|
|
24106
24256
|
},
|
|
24107
24257
|
watch: {
|
|
@@ -24137,131 +24287,151 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24137
24287
|
});
|
|
24138
24288
|
},
|
|
24139
24289
|
methods: {
|
|
24290
|
+
// 获取已选择的选择器数据id
|
|
24291
|
+
getSelectId(data) {
|
|
24292
|
+
if (!data || !data.length) {
|
|
24293
|
+
return '';
|
|
24294
|
+
}
|
|
24295
|
+
let ids = [];
|
|
24296
|
+
data.forEach(item => {
|
|
24297
|
+
ids.push(item.id);
|
|
24298
|
+
});
|
|
24299
|
+
return ids.join(',');
|
|
24300
|
+
},
|
|
24140
24301
|
showDialog() {
|
|
24141
24302
|
let isMounted = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
24142
|
-
const this_ = this;
|
|
24143
24303
|
this.fixedParams = {};
|
|
24304
|
+
// 如果已存在配置信息就不去请求配置信息 直接初始化数据
|
|
24305
|
+
if (this.dialogConfig) {
|
|
24306
|
+
this.initDialog(this.dialogConfig, isMounted);
|
|
24307
|
+
return;
|
|
24308
|
+
}
|
|
24144
24309
|
var alias = this.custdialog.custDialog.alias;
|
|
24145
24310
|
this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
|
|
24146
|
-
|
|
24147
|
-
|
|
24148
|
-
|
|
24149
|
-
|
|
24150
|
-
|
|
24151
|
-
|
|
24152
|
-
|
|
24153
|
-
|
|
24154
|
-
|
|
24155
|
-
|
|
24156
|
-
|
|
24157
|
-
|
|
24158
|
-
|
|
24159
|
-
|
|
24160
|
-
|
|
24161
|
-
|
|
24162
|
-
|
|
24163
|
-
|
|
24164
|
-
|
|
24165
|
-
|
|
24166
|
-
|
|
24311
|
+
this.initDialog(customDialog, isMounted);
|
|
24312
|
+
});
|
|
24313
|
+
},
|
|
24314
|
+
initDialog(customDialog, isMounted) {
|
|
24315
|
+
let alias = this.custdialog.custDialog.alias;
|
|
24316
|
+
const this_ = this;
|
|
24317
|
+
if (!customDialog || !customDialog.alias) {
|
|
24318
|
+
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
24319
|
+
return;
|
|
24320
|
+
}
|
|
24321
|
+
if (customDialog.style == 1) {
|
|
24322
|
+
var displaylist = JSON.parse(customDialog.displayfield);
|
|
24323
|
+
this_.nodeKey = displaylist.id;
|
|
24324
|
+
}
|
|
24325
|
+
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
24326
|
+
let obj = {};
|
|
24327
|
+
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
24328
|
+
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
24329
|
+
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
24330
|
+
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
24331
|
+
if (exp) {
|
|
24332
|
+
const params = JSON.parse(exp);
|
|
24333
|
+
if (params.pageBean) {
|
|
24334
|
+
this.pagination = {
|
|
24335
|
+
...params.pageBean
|
|
24336
|
+
};
|
|
24167
24337
|
}
|
|
24168
24338
|
}
|
|
24169
|
-
|
|
24170
|
-
|
|
24171
|
-
|
|
24172
|
-
|
|
24173
|
-
|
|
24174
|
-
|
|
24175
|
-
|
|
24176
|
-
|
|
24177
|
-
|
|
24178
|
-
|
|
24179
|
-
|
|
24180
|
-
|
|
24181
|
-
|
|
24182
|
-
|
|
24183
|
-
|
|
24184
|
-
|
|
24185
|
-
|
|
24186
|
-
|
|
24187
|
-
}
|
|
24188
|
-
}
|
|
24189
|
-
}
|
|
24190
|
-
|
|
24191
|
-
|
|
24192
|
-
|
|
24193
|
-
|
|
24194
|
-
|
|
24195
|
-
|
|
24196
|
-
|
|
24197
|
-
|
|
24198
|
-
|
|
24199
|
-
|
|
24200
|
-
|
|
24201
|
-
|
|
24202
|
-
|
|
24203
|
-
|
|
24204
|
-
|
|
24205
|
-
|
|
24206
|
-
|
|
24207
|
-
|
|
24208
|
-
|
|
24209
|
-
|
|
24210
|
-
}
|
|
24211
|
-
|
|
24212
|
-
|
|
24213
|
-
|
|
24214
|
-
|
|
24215
|
-
|
|
24216
|
-
|
|
24217
|
-
|
|
24218
|
-
|
|
24219
|
-
|
|
24220
|
-
|
|
24221
|
-
|
|
24222
|
-
|
|
24223
|
-
|
|
24224
|
-
|
|
24225
|
-
|
|
24226
|
-
|
|
24227
|
-
|
|
24228
|
-
|
|
24229
|
-
|
|
24230
|
-
customDialog: customDialog
|
|
24231
|
-
}, isMounted);
|
|
24232
|
-
}, 100);
|
|
24233
|
-
} else if (customDialog.style == 1) {
|
|
24234
|
-
//树形
|
|
24235
|
-
this_.pageParam = {
|
|
24339
|
+
}
|
|
24340
|
+
//对话框按表单字段查询(参数传入的)
|
|
24341
|
+
let bindList = this_.custdialog.custDialog.conditions;
|
|
24342
|
+
this_.param = []; //绑定的表单字段
|
|
24343
|
+
if (bindList.length > 0) {
|
|
24344
|
+
bindList.forEach(ele => {
|
|
24345
|
+
//绑定表单字段
|
|
24346
|
+
if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
|
|
24347
|
+
let obj = {};
|
|
24348
|
+
obj.field = ele.field;
|
|
24349
|
+
obj.bind = ele.bind;
|
|
24350
|
+
obj.bindType = ele.bindType;
|
|
24351
|
+
this_.param.push(obj);
|
|
24352
|
+
}
|
|
24353
|
+
//取值对象为脚本时获取value
|
|
24354
|
+
if (ele.bindType === 3) {
|
|
24355
|
+
this_.$requestConfig.executeScript(ele.bind).then(res => {
|
|
24356
|
+
this_.executeScriptResult = res && res.value;
|
|
24357
|
+
});
|
|
24358
|
+
}
|
|
24359
|
+
});
|
|
24360
|
+
}
|
|
24361
|
+
//判断对话框查询是否有条件
|
|
24362
|
+
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
24363
|
+
this_.quickSearch = ''; //填写提示 placeholder
|
|
24364
|
+
this_.conditionBind = [];
|
|
24365
|
+
let queryParams = [];
|
|
24366
|
+
let placeholders = [];
|
|
24367
|
+
if (userInputList.length > 0) {
|
|
24368
|
+
userInputList.forEach(ele => {
|
|
24369
|
+
var obj = {};
|
|
24370
|
+
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
24371
|
+
if (ele.defaultType == '1') {
|
|
24372
|
+
obj[ele.field] = '';
|
|
24373
|
+
queryParams.push(obj);
|
|
24374
|
+
// queryParams[ele.field] = "";
|
|
24375
|
+
this_.conditionBind.push(ele);
|
|
24376
|
+
placeholders.push('请输入' + ele.comment);
|
|
24377
|
+
}
|
|
24378
|
+
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
24379
|
+
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
24380
|
+
}
|
|
24381
|
+
});
|
|
24382
|
+
this.$set(this, 'queryParams', queryParams);
|
|
24383
|
+
this.$set(this, 'placeholders', placeholders);
|
|
24384
|
+
}
|
|
24385
|
+
//判断是否显示条件查询输入框
|
|
24386
|
+
if (this_.quickSearch != '') {
|
|
24387
|
+
this_.querysShow = true;
|
|
24388
|
+
} else {
|
|
24389
|
+
this_.querysShow = true;
|
|
24390
|
+
}
|
|
24391
|
+
this_.quickSearch = '请输入' + this.quickSearch + '查询';
|
|
24392
|
+
this_.style = 'height:' + customDialog.height + 'px';
|
|
24393
|
+
if (window.screen.height && window.screen.height <= 900) {
|
|
24394
|
+
this.style = 'height:440px';
|
|
24395
|
+
}
|
|
24396
|
+
if (customDialog.style == 0 || customDialog.style == 2) {
|
|
24397
|
+
//列表
|
|
24398
|
+
setTimeout(() => {
|
|
24399
|
+
this_.customDialogShow({
|
|
24236
24400
|
alias: alias,
|
|
24237
24401
|
customDialog: customDialog
|
|
24238
|
-
};
|
|
24239
|
-
|
|
24240
|
-
|
|
24241
|
-
|
|
24242
|
-
|
|
24243
|
-
|
|
24244
|
-
|
|
24245
|
-
|
|
24246
|
-
|
|
24247
|
-
|
|
24248
|
-
|
|
24249
|
-
|
|
24250
|
-
|
|
24402
|
+
}, isMounted);
|
|
24403
|
+
}, 100);
|
|
24404
|
+
} else if (customDialog.style == 1) {
|
|
24405
|
+
//树形
|
|
24406
|
+
this_.pageParam = {
|
|
24407
|
+
alias: alias,
|
|
24408
|
+
customDialog: customDialog
|
|
24409
|
+
};
|
|
24410
|
+
this_.customDialog = customDialog;
|
|
24411
|
+
let param = {};
|
|
24412
|
+
this_.conditionfieldTree = [];
|
|
24413
|
+
//判断是否存在条件
|
|
24414
|
+
if (customDialog.conditionfield) {
|
|
24415
|
+
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
24416
|
+
if (this_.conditionfieldTree.length > 0) {
|
|
24417
|
+
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
24418
|
+
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
24419
|
+
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
24420
|
+
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
24251
24421
|
}
|
|
24252
24422
|
}
|
|
24253
24423
|
}
|
|
24254
|
-
|
|
24255
|
-
|
|
24256
|
-
|
|
24257
|
-
|
|
24258
|
-
|
|
24259
|
-
|
|
24260
|
-
|
|
24261
|
-
|
|
24424
|
+
}
|
|
24425
|
+
//有动态传入的字段
|
|
24426
|
+
if (!isMounted) {
|
|
24427
|
+
if (JSON.stringify(param) != '{}') {
|
|
24428
|
+
this_.dialogVisible = true;
|
|
24429
|
+
} else {
|
|
24430
|
+
//无动态传入的字段
|
|
24431
|
+
this_.customDialogTreeShow(this_.pageParam);
|
|
24262
24432
|
}
|
|
24263
24433
|
}
|
|
24264
|
-
}
|
|
24434
|
+
}
|
|
24265
24435
|
},
|
|
24266
24436
|
initTableHeight() {
|
|
24267
24437
|
this.$nextTick(() => {
|
|
@@ -24390,13 +24560,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24390
24560
|
}
|
|
24391
24561
|
// 添加用户id 岗位id 组织id
|
|
24392
24562
|
try {
|
|
24393
|
-
if (this.$requestConfig.getUserId()) {
|
|
24563
|
+
if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
|
|
24394
24564
|
ctx.userId = this.$requestConfig.getUserId();
|
|
24395
24565
|
}
|
|
24396
|
-
if (this.$requestConfig.getOrgId()) {
|
|
24566
|
+
if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
|
|
24397
24567
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
24398
24568
|
}
|
|
24399
|
-
if (this.$requestConfig.getPostId()) {
|
|
24569
|
+
if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
|
|
24400
24570
|
ctx.postId = this.$requestConfig.getPostId();
|
|
24401
24571
|
}
|
|
24402
24572
|
} catch (e) {
|
|
@@ -24481,8 +24651,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24481
24651
|
this.selectOrgs = this.convertComment2Field(str, field);
|
|
24482
24652
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
24483
24653
|
var val = '';
|
|
24484
|
-
str.forEach(item => {
|
|
24485
|
-
|
|
24654
|
+
str.forEach((item, index) => {
|
|
24655
|
+
// 此处添加url跳转参数保存逻辑
|
|
24656
|
+
if (this.jumpParamKey && this.isHaveJumpUrl && this.modelName == 'data.' + con['target'][0]) {
|
|
24657
|
+
val += `${item[con.from]}¯${this.jumpParamKey}:${this.selectOrgs[index][this.jumpParamKey]},`;
|
|
24658
|
+
} else {
|
|
24659
|
+
val += item[con.from] + ',';
|
|
24660
|
+
}
|
|
24486
24661
|
});
|
|
24487
24662
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
24488
24663
|
utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
|
|
@@ -24553,19 +24728,36 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24553
24728
|
};
|
|
24554
24729
|
}
|
|
24555
24730
|
//用户输入的
|
|
24731
|
+
let flag = false;
|
|
24556
24732
|
if (this.queryParams.length != 0 && this.queryParams[0] != '') {
|
|
24557
24733
|
this.conditionBind.forEach((item, index) => {
|
|
24734
|
+
// 日期范围特殊处理
|
|
24735
|
+
if (item.dbType == 'date' && item.condition == 'BETWEEN') {
|
|
24736
|
+
if (this.queryParams[index].startDate && !this.queryParams[index].endDate || !this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
24737
|
+
flag = true;
|
|
24738
|
+
this.$message.info('日期范围未填写完整!');
|
|
24739
|
+
return;
|
|
24740
|
+
}
|
|
24741
|
+
if (this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
24742
|
+
this.queryParams[index][item.field] = `${this.queryParams[index].startDate},${this.queryParams[index].endDate}`;
|
|
24743
|
+
} else {
|
|
24744
|
+
this.queryParams[index][item.field] = '';
|
|
24745
|
+
}
|
|
24746
|
+
}
|
|
24558
24747
|
if (this.queryParams[index][item.field]) {
|
|
24559
24748
|
querys.push({
|
|
24560
24749
|
property: item.field,
|
|
24561
24750
|
value: this.queryParams[index][item.field],
|
|
24562
24751
|
group: 'main',
|
|
24563
|
-
operation:
|
|
24752
|
+
operation: item.condition,
|
|
24564
24753
|
relation: 'AND'
|
|
24565
24754
|
});
|
|
24566
24755
|
}
|
|
24567
24756
|
});
|
|
24568
24757
|
}
|
|
24758
|
+
if (flag) {
|
|
24759
|
+
return;
|
|
24760
|
+
}
|
|
24569
24761
|
//参数传入的查询拼接
|
|
24570
24762
|
if (this.param) {
|
|
24571
24763
|
this.param.forEach(item => {
|
|
@@ -24604,13 +24796,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24604
24796
|
queryParamMap.total = pageBean.pageBean.total;
|
|
24605
24797
|
// 添加用户id 岗位id 组织id
|
|
24606
24798
|
try {
|
|
24607
|
-
if (this.$requestConfig.getUserId()) {
|
|
24799
|
+
if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
|
|
24608
24800
|
ctx.userId = this.$requestConfig.getUserId();
|
|
24609
24801
|
}
|
|
24610
|
-
if (this.$requestConfig.getOrgId()) {
|
|
24802
|
+
if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
|
|
24611
24803
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
24612
24804
|
}
|
|
24613
|
-
if (this.$requestConfig.getPostId()) {
|
|
24805
|
+
if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
|
|
24614
24806
|
ctx.postId = this.$requestConfig.getPostId();
|
|
24615
24807
|
}
|
|
24616
24808
|
} catch (e) {
|
|
@@ -24631,12 +24823,14 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24631
24823
|
value: queryParamMap[bindKey] || ctx[bindKey] || ''
|
|
24632
24824
|
};
|
|
24633
24825
|
});
|
|
24634
|
-
param.querys = queryList;
|
|
24826
|
+
param.querys = queryList || [];
|
|
24635
24827
|
if (this.customDialog.needPage) {
|
|
24636
24828
|
param.pageBean = obj;
|
|
24637
24829
|
} else {
|
|
24638
24830
|
param.pageBean.pageSize = -1;
|
|
24639
24831
|
}
|
|
24832
|
+
// 日期格式的 改成数组
|
|
24833
|
+
// this.changeDateFormat(param)
|
|
24640
24834
|
//构造请求的参数
|
|
24641
24835
|
let requestParam = {
|
|
24642
24836
|
pageBean: param,
|
|
@@ -24676,6 +24870,15 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24676
24870
|
}
|
|
24677
24871
|
this.tableRadioVal = '';
|
|
24678
24872
|
},
|
|
24873
|
+
changeDateFormat(param) {
|
|
24874
|
+
let dateValidate1 = /^\d{4}\-\d{2}\-\d{2}$/;
|
|
24875
|
+
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$/;
|
|
24876
|
+
Object.keys(param).forEach(key => {
|
|
24877
|
+
if (param[key] && typeof param[key] == 'string' && param[key].includes(',') && (dateValidate1.test(param[key].split(',')[0]) || dateValidate2.test(param[key].split(',')[0]))) {
|
|
24878
|
+
param[key] = param[key].split(',');
|
|
24879
|
+
}
|
|
24880
|
+
});
|
|
24881
|
+
},
|
|
24679
24882
|
getSearchValueByKey() {
|
|
24680
24883
|
let queryParamsObj = {};
|
|
24681
24884
|
if (this.queryParams.length > 0) {
|
|
@@ -24901,6 +25104,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24901
25104
|
},
|
|
24902
25105
|
// 同步选择结果
|
|
24903
25106
|
syncInputValue() {
|
|
25107
|
+
// 对话框跳转url需要两个参数 1当前控件绑定的对象参数modelName 2对话框配置中配置的key名称
|
|
25108
|
+
// 同步值时,如果有绑定url跳转参数,值格式为 名称¯跳转key:跳转value
|
|
24904
25109
|
let thisIndex = null; //当前数据所在下标
|
|
24905
25110
|
let parentIndex = null; //父节点所在下标
|
|
24906
25111
|
if (this.$parent.$el) {
|
|
@@ -24974,13 +25179,27 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24974
25179
|
}
|
|
24975
25180
|
}
|
|
24976
25181
|
}
|
|
25182
|
+
// 如果是查询中使用的对话框
|
|
25183
|
+
if (this.dialogType == 'search') {
|
|
25184
|
+
let returnVal = [];
|
|
25185
|
+
str.forEach(item => {
|
|
25186
|
+
returnVal.push(decodeURIComponent(item[this.modelName]));
|
|
25187
|
+
});
|
|
25188
|
+
this.$emit('updateInput', returnVal.join(','));
|
|
25189
|
+
return;
|
|
25190
|
+
}
|
|
24977
25191
|
const pInst = utils["a" /* default */].getOnlineFormInstance(this);
|
|
24978
25192
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
24979
25193
|
var val = '';
|
|
24980
25194
|
var from = con.from.toLowerCase();
|
|
24981
25195
|
str.forEach(item => {
|
|
25196
|
+
// 如果有绑定url跳转参数 需获取跳转参数的key
|
|
24982
25197
|
if (item) {
|
|
24983
|
-
|
|
25198
|
+
if (this.jumpParamKey && this.isHaveJumpUrl && this.modelName == 'data.' + con['target'][0]) {
|
|
25199
|
+
val += `${decodeURIComponent(item[from])}¯${this.jumpParamKey}:${item[this.jumpParamKey]},`;
|
|
25200
|
+
} else {
|
|
25201
|
+
val += decodeURIComponent(item[from]) + ',';
|
|
25202
|
+
}
|
|
24984
25203
|
}
|
|
24985
25204
|
});
|
|
24986
25205
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
@@ -24999,7 +25218,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24999
25218
|
const _val = val.substring(0, val.length - 1);
|
|
25000
25219
|
if (path) {
|
|
25001
25220
|
if (this.modelName && this.modelName.endsWith(path)) {
|
|
25002
|
-
// this.$emit('input', _val)
|
|
25003
25221
|
this.$emit('updateInput', _val);
|
|
25004
25222
|
}
|
|
25005
25223
|
utils["a" /* default */].setValueByPath(pInst, `${pInst.data ? 'data.' : 'model.'}${path}`, _val, thisIndex);
|
|
@@ -25231,8 +25449,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25231
25449
|
});
|
|
25232
25450
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=script&lang=js&
|
|
25233
25451
|
/* harmony default export */ var src_customDialogvue_type_script_lang_js_ = (customDialogvue_type_script_lang_js_);
|
|
25234
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=
|
|
25235
|
-
var
|
|
25452
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=f66484a2&prod&lang=scss&scoped=true&
|
|
25453
|
+
var customDialogvue_type_style_index_0_id_f66484a2_prod_lang_scss_scoped_true_ = __webpack_require__("3de0");
|
|
25236
25454
|
|
|
25237
25455
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue
|
|
25238
25456
|
|
|
@@ -25245,31 +25463,47 @@ var customDialogvue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true_ =
|
|
|
25245
25463
|
|
|
25246
25464
|
var customDialog_component = normalizeComponent(
|
|
25247
25465
|
src_customDialogvue_type_script_lang_js_,
|
|
25248
|
-
|
|
25249
|
-
|
|
25466
|
+
customDialogvue_type_template_id_f66484a2_scoped_true_render,
|
|
25467
|
+
customDialogvue_type_template_id_f66484a2_scoped_true_staticRenderFns,
|
|
25250
25468
|
false,
|
|
25251
25469
|
null,
|
|
25252
|
-
"
|
|
25470
|
+
"f66484a2",
|
|
25253
25471
|
null
|
|
25254
25472
|
|
|
25255
25473
|
)
|
|
25256
25474
|
|
|
25257
25475
|
/* harmony default export */ var CustomDialog_src_customDialog = (customDialog_component.exports);
|
|
25258
|
-
// 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=
|
|
25259
|
-
var
|
|
25260
|
-
|
|
25261
|
-
|
|
25262
|
-
|
|
25263
|
-
|
|
25264
|
-
|
|
25265
|
-
|
|
25266
|
-
|
|
25476
|
+
// 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=691dcad9&scoped=true&
|
|
25477
|
+
var customMobileDialogvue_type_template_id_691dcad9_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('van-action-sheet',{staticClass:"mobile-van-action min-height-action",attrs:{"cancel-text":_vm.sureButtonText,"get-container":"body"},on:{"cancel":_vm.handleDialogSure,"click-overlay":_vm.dialogCancel,"opened":_vm.afterOpen},scopedSlots:_vm._u([{key:"description",fn:function(){return [_c('span',{staticClass:"dialog-mobile__title"},[_vm._v(_vm._s(_vm.customDialog.name))]),_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":_vm.dialogCancel}})]},proxy:true}]),model:{value:(_vm.customDialogShowList),callback:function ($$v) {_vm.customDialogShowList=$$v},expression:"customDialogShowList"}},[[_c('div',{staticClass:"search-box"},[_c('ht-icon',{staticClass:"unfold-icon",attrs:{"scale":"1.2","name":_vm.isShowMoreSearch ? 'upFold' : 'downUnfold'},on:{"click":function($event){_vm.isShowMoreSearch = !_vm.isShowMoreSearch}}}),_vm._l((_vm.conditionBind),function(condition,index){return _c('div',{directives:[{name:"show",rawName:"v-show",value:(index === 0 || (index > 0 && _vm.isShowMoreSearch)),expression:"index === 0 || (index > 0 && isShowMoreSearch)"}],key:index,staticClass:"search-item"},[_c('p',[_vm._v(_vm._s(condition.comment)+":")]),(condition.controllerType == '1')?_c('div',[_c('el-input',{attrs:{"size":"small","clearable":"","placeholder":_vm.placeholders[index]},on:{"change":_vm.searchInputChange},nativeOn:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.hideSearch($event)}},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '2')?_c('div',_vm._l((condition.config.options),function(itemR,$index1){return _c('el-radio',{key:$index1,attrs:{"label":itemR.key},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}},[_vm._v("\n "+_vm._s(itemR.value)+"\n ")])}),1):_vm._e(),(condition.controllerType == '3')?_c('div',[(condition.config.choiceType == 'static')?_c('ht-select',{attrs:{"multiple":condition.config.multiple,"options":condition.config.options,"popper-class":"dialog-select"},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}}):_c('ht-dictionary',{attrs:{"dickey":condition.config.dic,"filterable":condition.config.filterable,"popper-class":"dialog-select"},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '4')?_c('div',[_c('eip-tag',{attrs:{"tag-key":condition.config.tag,"filterable":condition.config.filterable,"expand":condition.config.expand},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '6')?_c('div',[(condition.condition == 'BETWEEN')?_c('div',{staticStyle:{"display":"flex","align-items":"center"}},[_c('ht-input',{attrs:{"placeholder":"开始日期","readonly":""},nativeOn:{"click":function($event){return _vm.showDate(index, 'startDate')}},model:{value:(_vm.queryParams[index].startDate),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "startDate", $$v)},expression:"queryParams[index].startDate"}}),_c('span',{staticStyle:{"margin":"0 10px"}},[_vm._v("至")]),_c('ht-input',{attrs:{"placeholder":"结束日期","readonly":""},nativeOn:{"click":function($event){return _vm.showDate(index, 'endDate')}},model:{value:(_vm.queryParams[index].endDate),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "endDate", $$v)},expression:"queryParams[index].endDate"}})],1):_c('ht-input',{attrs:{"readonly":""},nativeOn:{"click":function($event){return _vm.showDate(index, condition.field)}},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '7')?_c('div',[(condition.config.alias == 'user')?_c('ht-user-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25478
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25479
|
+
}},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e(),(condition.config.alias == 'org')?_c('ht-org-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25480
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25481
|
+
}},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e(),(condition.config.alias == 'role')?_c('ht-role-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25482
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25483
|
+
}},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e(),(condition.config.alias == 'job')?_c('ht-job-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25484
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25485
|
+
}},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e(),(condition.config.alias == 'post')?_c('ht-post-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25486
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25487
|
+
}},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e(),(condition.config.alias == 'dimension')?_c('ht-dimension-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
25488
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25489
|
+
}},model:{value:(_vm.queryParams[index].selectName),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "selectName", $$v)},expression:"queryParams[index].selectName"}}):_vm._e()],1):_vm._e(),(condition.controllerType == '5')?_c('div',[_c('ht-custom-dialog',{attrs:{"model-name":condition.config.keyBind,"dialogType":"search","custdialog":{
|
|
25490
|
+
name: '请选择',
|
|
25491
|
+
icon: '',
|
|
25492
|
+
custDialog: {
|
|
25493
|
+
selectNum: 1,
|
|
25494
|
+
conditions: [],
|
|
25495
|
+
mappingConf: [],
|
|
25496
|
+
custQueryJson: [],
|
|
25497
|
+
alias: condition.config.alias,
|
|
25498
|
+
type: 'custDialog',
|
|
25499
|
+
},
|
|
25500
|
+
}},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(
|
|
25267
25501
|
function (k) { return k.defaultType == '4'; }
|
|
25268
|
-
)),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)}
|
|
25269
|
-
var
|
|
25502
|
+
)),function(item,$index){return _c('div',{key:$index},[(item.type != 'date')?_c('van-field',{attrs:{"label":item.comment,"placeholder":'请输入' + item.comment},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e(),(item.type == 'date')?_c('ht-date',{staticStyle:{"width":"100%"},attrs:{"placeholder":'请选择' + item.comment,"format":"yyyy-MM-dd"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e()],1)}),0)],1),_c('van-action-sheet',{staticClass:"mobile-van-action",attrs:{"cancel-text":_vm.sureButtonText,"get-container":"body"},on:{"cancel":_vm.dialogTreeConfirm},scopedSlots:_vm._u([{key:"description",fn:function(){return [_c('span',{staticClass:"dialog-mobile__title"},[_vm._v(_vm._s(_vm.customDialog.name))]),_c('ht-icon',{staticClass:"dialog-mobile__close",attrs:{"name":"close"},on:{"click":_vm.dialogCancelTree}})]},proxy:true}]),model:{value:(_vm.customDialogShowTree),callback:function ($$v) {_vm.customDialogShowTree=$$v},expression:"customDialogShowTree"}},[_c('el-tree',{ref:"tree",staticStyle:{"width":"100%"},attrs:{"data":_vm.props1,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","show-checkbox":_vm.customDialog.selectNum === -1,"check-on-click-node":true,"check-strictly":false,"lazy":"","load":_vm.loadTree,"default-expanded-keys":_vm.defaultExpandedKeys},on:{"node-click":_vm.treeClick,"check-change":_vm.getChecked}})],1),(_vm.isShowDatePop)?_c('van-popup',{attrs:{"position":"bottom","round":""},model:{value:(_vm.isShowDatePop),callback:function ($$v) {_vm.isShowDatePop=$$v},expression:"isShowDatePop"}},[_c('van-datetime-picker',{attrs:{"type":_vm.dateType,"title":"选择日期","show-toolbar":true},on:{"cancel":function($event){_vm.isShowDatePop = false},"confirm":_vm.confirmFn},model:{value:(_vm.currentDate),callback:function ($$v) {_vm.currentDate=$$v},expression:"currentDate"}})],1):_vm._e()],1)}
|
|
25503
|
+
var customMobileDialogvue_type_template_id_691dcad9_scoped_true_staticRenderFns = []
|
|
25270
25504
|
|
|
25271
25505
|
|
|
25272
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=
|
|
25506
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=691dcad9&scoped=true&
|
|
25273
25507
|
|
|
25274
25508
|
// 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&
|
|
25275
25509
|
//
|
|
@@ -25530,6 +25764,122 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25530
25764
|
//
|
|
25531
25765
|
//
|
|
25532
25766
|
//
|
|
25767
|
+
//
|
|
25768
|
+
//
|
|
25769
|
+
//
|
|
25770
|
+
//
|
|
25771
|
+
//
|
|
25772
|
+
//
|
|
25773
|
+
//
|
|
25774
|
+
//
|
|
25775
|
+
//
|
|
25776
|
+
//
|
|
25777
|
+
//
|
|
25778
|
+
//
|
|
25779
|
+
//
|
|
25780
|
+
//
|
|
25781
|
+
//
|
|
25782
|
+
//
|
|
25783
|
+
//
|
|
25784
|
+
//
|
|
25785
|
+
//
|
|
25786
|
+
//
|
|
25787
|
+
//
|
|
25788
|
+
//
|
|
25789
|
+
//
|
|
25790
|
+
//
|
|
25791
|
+
//
|
|
25792
|
+
//
|
|
25793
|
+
//
|
|
25794
|
+
//
|
|
25795
|
+
//
|
|
25796
|
+
//
|
|
25797
|
+
//
|
|
25798
|
+
//
|
|
25799
|
+
//
|
|
25800
|
+
//
|
|
25801
|
+
//
|
|
25802
|
+
//
|
|
25803
|
+
//
|
|
25804
|
+
//
|
|
25805
|
+
//
|
|
25806
|
+
//
|
|
25807
|
+
//
|
|
25808
|
+
//
|
|
25809
|
+
//
|
|
25810
|
+
//
|
|
25811
|
+
//
|
|
25812
|
+
//
|
|
25813
|
+
//
|
|
25814
|
+
//
|
|
25815
|
+
//
|
|
25816
|
+
//
|
|
25817
|
+
//
|
|
25818
|
+
//
|
|
25819
|
+
//
|
|
25820
|
+
//
|
|
25821
|
+
//
|
|
25822
|
+
//
|
|
25823
|
+
//
|
|
25824
|
+
//
|
|
25825
|
+
//
|
|
25826
|
+
//
|
|
25827
|
+
//
|
|
25828
|
+
//
|
|
25829
|
+
//
|
|
25830
|
+
//
|
|
25831
|
+
//
|
|
25832
|
+
//
|
|
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
|
+
//
|
|
25533
25883
|
|
|
25534
25884
|
|
|
25535
25885
|
|
|
@@ -25551,10 +25901,17 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25551
25901
|
subIndex: Number,
|
|
25552
25902
|
sunIndex: Number,
|
|
25553
25903
|
subPath: String,
|
|
25554
|
-
currentSubData: Array
|
|
25904
|
+
currentSubData: Array,
|
|
25905
|
+
dialogConfig: Object,
|
|
25906
|
+
dialogType: String
|
|
25555
25907
|
},
|
|
25556
25908
|
data() {
|
|
25557
25909
|
return {
|
|
25910
|
+
dateType: 'date',
|
|
25911
|
+
currentDate: '',
|
|
25912
|
+
// 当前日期
|
|
25913
|
+
isShowDatePop: false,
|
|
25914
|
+
// 是否显示日期选择控件
|
|
25558
25915
|
isShowMoreSearch: false,
|
|
25559
25916
|
treeSelectText: '',
|
|
25560
25917
|
// 组合树时选中的查询条件
|
|
@@ -25634,9 +25991,47 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25634
25991
|
sureButtonText() {
|
|
25635
25992
|
const selectedText = this.selectIds.length > 0 ? `(${this.selectIds.length})` : '';
|
|
25636
25993
|
return `${this.$t('ht.common.confirm')}${selectedText}`;
|
|
25994
|
+
},
|
|
25995
|
+
jumpParamKey() {
|
|
25996
|
+
return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
|
|
25997
|
+
},
|
|
25998
|
+
// 是否保存成跳转url参数
|
|
25999
|
+
isHaveJumpUrl() {
|
|
26000
|
+
return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
26001
|
+
},
|
|
26002
|
+
sortDisplayfield() {
|
|
26003
|
+
return this.displayfield.sort((a, b) => {
|
|
26004
|
+
return a.sort > b.sort ? 1 : -1;
|
|
26005
|
+
});
|
|
25637
26006
|
}
|
|
25638
26007
|
},
|
|
25639
26008
|
methods: {
|
|
26009
|
+
// 获取已选择的选择器数据id
|
|
26010
|
+
getSelectId(data) {
|
|
26011
|
+
if (!data || !data.length) {
|
|
26012
|
+
return '';
|
|
26013
|
+
}
|
|
26014
|
+
let ids = [];
|
|
26015
|
+
data.forEach(item => {
|
|
26016
|
+
ids.push(item.id);
|
|
26017
|
+
});
|
|
26018
|
+
return ids.join(',');
|
|
26019
|
+
},
|
|
26020
|
+
showDate(index, key) {
|
|
26021
|
+
this.dateType = this.conditionBind[index].config.inputFormat.includes('mm:') ? 'datetime' : 'date';
|
|
26022
|
+
this.currentDateData = {
|
|
26023
|
+
index,
|
|
26024
|
+
key
|
|
26025
|
+
};
|
|
26026
|
+
this.currentDate = this.queryParams[index][key] ? new Date(this.queryParams[index][key].replace(/-/g, '/')) : new Date();
|
|
26027
|
+
this.isShowDatePop = true;
|
|
26028
|
+
},
|
|
26029
|
+
// 日期确认
|
|
26030
|
+
confirmFn() {
|
|
26031
|
+
let currentConfig = this.conditionBind[this.currentDateData.index];
|
|
26032
|
+
this.queryParams[this.currentDateData.index][this.currentDateData.key] = this.currentDate.format(currentConfig.config.inputFormat);
|
|
26033
|
+
this.isShowDatePop = false;
|
|
26034
|
+
},
|
|
25640
26035
|
searchInputChange() {
|
|
25641
26036
|
if (!this.isShowMoreSearch) {
|
|
25642
26037
|
this.search(true);
|
|
@@ -25682,112 +26077,121 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25682
26077
|
this.search(true);
|
|
25683
26078
|
},
|
|
25684
26079
|
showDialog() {
|
|
25685
|
-
const this_ = this;
|
|
25686
26080
|
this.fixedParams = {};
|
|
26081
|
+
// 如果已存在配置信息就不去请求配置信息 直接初始化数据
|
|
26082
|
+
if (this.dialogConfig) {
|
|
26083
|
+
this.initDialog(this.dialogConfig);
|
|
26084
|
+
return;
|
|
26085
|
+
}
|
|
25687
26086
|
var alias = this.custdialog.custDialog.alias;
|
|
25688
26087
|
this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
|
|
25689
|
-
|
|
25690
|
-
|
|
25691
|
-
|
|
25692
|
-
|
|
25693
|
-
|
|
25694
|
-
|
|
25695
|
-
|
|
25696
|
-
|
|
25697
|
-
|
|
25698
|
-
|
|
25699
|
-
|
|
25700
|
-
|
|
25701
|
-
|
|
25702
|
-
|
|
25703
|
-
|
|
25704
|
-
|
|
25705
|
-
|
|
25706
|
-
|
|
25707
|
-
|
|
25708
|
-
|
|
25709
|
-
|
|
26088
|
+
this.initDialog(customDialog);
|
|
26089
|
+
});
|
|
26090
|
+
},
|
|
26091
|
+
initDialog(customDialog) {
|
|
26092
|
+
let alias = this.custdialog.custDialog.alias;
|
|
26093
|
+
const this_ = this;
|
|
26094
|
+
if (!customDialog || !customDialog.alias) {
|
|
26095
|
+
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
26096
|
+
return;
|
|
26097
|
+
}
|
|
26098
|
+
if (customDialog.style == 1) {
|
|
26099
|
+
var displaylist = JSON.parse(customDialog.displayfield);
|
|
26100
|
+
this_.nodeKey = displaylist.id;
|
|
26101
|
+
}
|
|
26102
|
+
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
26103
|
+
let obj = {};
|
|
26104
|
+
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
26105
|
+
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
26106
|
+
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
26107
|
+
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
26108
|
+
if (exp) {
|
|
26109
|
+
const params = JSON.parse(exp);
|
|
26110
|
+
if (params.pageBean) {
|
|
26111
|
+
this.pagination = {
|
|
26112
|
+
...params.pageBean
|
|
26113
|
+
};
|
|
25710
26114
|
}
|
|
25711
26115
|
}
|
|
25712
|
-
|
|
25713
|
-
|
|
25714
|
-
|
|
25715
|
-
|
|
25716
|
-
|
|
25717
|
-
|
|
25718
|
-
|
|
25719
|
-
|
|
25720
|
-
|
|
25721
|
-
|
|
25722
|
-
|
|
25723
|
-
|
|
25724
|
-
|
|
25725
|
-
|
|
25726
|
-
|
|
25727
|
-
|
|
25728
|
-
|
|
25729
|
-
}
|
|
25730
|
-
}
|
|
26116
|
+
}
|
|
26117
|
+
//对话框按表单字段查询(参数传入的)
|
|
26118
|
+
let bindList = this_.custdialog.custDialog.conditions;
|
|
26119
|
+
this_.param = []; //绑定的表单字段
|
|
26120
|
+
if (bindList.length > 0) {
|
|
26121
|
+
bindList.forEach(ele => {
|
|
26122
|
+
//绑定表单字段
|
|
26123
|
+
if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
|
|
26124
|
+
let obj = {};
|
|
26125
|
+
obj.field = ele.field;
|
|
26126
|
+
obj.bind = ele.bind;
|
|
26127
|
+
obj.bindType = ele.bindType;
|
|
26128
|
+
this_.param.push(obj);
|
|
26129
|
+
}
|
|
26130
|
+
// bindType 1 表单字段 2固定 3脚本
|
|
26131
|
+
if (ele.defaultType == '3' && ele.bindType === 2) {
|
|
26132
|
+
this_.fixedParams[ele.field] = ele.bind || '';
|
|
26133
|
+
}
|
|
26134
|
+
});
|
|
26135
|
+
}
|
|
25731
26136
|
|
|
25732
|
-
|
|
25733
|
-
|
|
25734
|
-
|
|
25735
|
-
|
|
25736
|
-
|
|
25737
|
-
|
|
25738
|
-
|
|
25739
|
-
|
|
25740
|
-
|
|
25741
|
-
|
|
25742
|
-
|
|
25743
|
-
|
|
25744
|
-
|
|
25745
|
-
|
|
25746
|
-
|
|
25747
|
-
|
|
25748
|
-
|
|
25749
|
-
|
|
25750
|
-
|
|
25751
|
-
|
|
25752
|
-
|
|
25753
|
-
|
|
25754
|
-
|
|
25755
|
-
|
|
25756
|
-
|
|
25757
|
-
|
|
25758
|
-
|
|
25759
|
-
|
|
25760
|
-
|
|
25761
|
-
|
|
25762
|
-
|
|
25763
|
-
|
|
25764
|
-
|
|
25765
|
-
|
|
25766
|
-
|
|
25767
|
-
|
|
25768
|
-
|
|
25769
|
-
|
|
25770
|
-
|
|
25771
|
-
|
|
25772
|
-
|
|
25773
|
-
|
|
25774
|
-
|
|
25775
|
-
|
|
25776
|
-
|
|
25777
|
-
|
|
25778
|
-
}
|
|
26137
|
+
//判断对话框查询是否有条件
|
|
26138
|
+
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
26139
|
+
this_.conditionBind = [];
|
|
26140
|
+
let queryParams = [];
|
|
26141
|
+
let placeholders = [];
|
|
26142
|
+
if (userInputList.length > 0) {
|
|
26143
|
+
userInputList.forEach(ele => {
|
|
26144
|
+
var obj = {};
|
|
26145
|
+
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
26146
|
+
if (ele.defaultType == '1') {
|
|
26147
|
+
obj[ele.field] = '';
|
|
26148
|
+
queryParams.push(obj);
|
|
26149
|
+
// queryParams[ele.field] = "";
|
|
26150
|
+
this_.conditionBind.push(ele);
|
|
26151
|
+
placeholders.push('请输入' + ele.comment);
|
|
26152
|
+
}
|
|
26153
|
+
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
26154
|
+
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
26155
|
+
}
|
|
26156
|
+
});
|
|
26157
|
+
this.$set(this, 'queryParams', queryParams);
|
|
26158
|
+
this.$set(this, 'placeholders', placeholders);
|
|
26159
|
+
}
|
|
26160
|
+
if (customDialog.style == 0 || customDialog.style == 2) {
|
|
26161
|
+
//列表
|
|
26162
|
+
this_.customDialogShow({
|
|
26163
|
+
alias: alias,
|
|
26164
|
+
customDialog: customDialog
|
|
26165
|
+
});
|
|
26166
|
+
} else if (customDialog.style == 1) {
|
|
26167
|
+
//树形
|
|
26168
|
+
this_.pageParam = {
|
|
26169
|
+
alias: alias,
|
|
26170
|
+
customDialog: customDialog
|
|
26171
|
+
};
|
|
26172
|
+
this_.customDialog = customDialog;
|
|
26173
|
+
let param = {};
|
|
26174
|
+
this_.conditionfieldTree = [];
|
|
26175
|
+
//判断是否存在条件
|
|
26176
|
+
if (customDialog.conditionfield) {
|
|
26177
|
+
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
26178
|
+
if (this_.conditionfieldTree.length > 0) {
|
|
26179
|
+
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
26180
|
+
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
26181
|
+
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
26182
|
+
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
25779
26183
|
}
|
|
25780
26184
|
}
|
|
25781
26185
|
}
|
|
25782
|
-
//有动态传入的字段
|
|
25783
|
-
if (JSON.stringify(param) != '{}') {
|
|
25784
|
-
this_.dialogVisible = true;
|
|
25785
|
-
} else {
|
|
25786
|
-
//无动态传入的字段
|
|
25787
|
-
this_.customDialogTreeShow(this_.pageParam);
|
|
25788
|
-
}
|
|
25789
26186
|
}
|
|
25790
|
-
|
|
26187
|
+
//有动态传入的字段
|
|
26188
|
+
if (JSON.stringify(param) != '{}') {
|
|
26189
|
+
this_.dialogVisible = true;
|
|
26190
|
+
} else {
|
|
26191
|
+
//无动态传入的字段
|
|
26192
|
+
this_.customDialogTreeShow(this_.pageParam);
|
|
26193
|
+
}
|
|
26194
|
+
}
|
|
25791
26195
|
},
|
|
25792
26196
|
treeClick(data) {
|
|
25793
26197
|
// 单选
|
|
@@ -25905,13 +26309,13 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25905
26309
|
}
|
|
25906
26310
|
// 添加用户id 岗位id 组织id
|
|
25907
26311
|
try {
|
|
25908
|
-
if (this.$requestConfig.getUserId()) {
|
|
26312
|
+
if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
|
|
25909
26313
|
ctx.userId = this.$requestConfig.getUserId();
|
|
25910
26314
|
}
|
|
25911
|
-
if (this.$requestConfig.getOrgId()) {
|
|
26315
|
+
if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
|
|
25912
26316
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
25913
26317
|
}
|
|
25914
|
-
if (this.$requestConfig.getPostId()) {
|
|
26318
|
+
if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
|
|
25915
26319
|
ctx.postId = this.$requestConfig.getPostId();
|
|
25916
26320
|
}
|
|
25917
26321
|
} catch (e) {
|
|
@@ -25996,8 +26400,13 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25996
26400
|
this.selectOrgs = this.convertComment2Field(str, field);
|
|
25997
26401
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
25998
26402
|
var val = '';
|
|
25999
|
-
str.forEach(item => {
|
|
26000
|
-
|
|
26403
|
+
str.forEach((item, index) => {
|
|
26404
|
+
// 此处添加url跳转参数保存逻辑
|
|
26405
|
+
if (this.jumpParamKey && this.isHaveJumpUrl && this.modelName == 'data.' + con['target'][0]) {
|
|
26406
|
+
val += `${item[con.from]}¯${this.jumpParamKey}:${this.selectOrgs[index][this.jumpParamKey]},`;
|
|
26407
|
+
} else {
|
|
26408
|
+
val += item[con.from] + ',';
|
|
26409
|
+
}
|
|
26001
26410
|
});
|
|
26002
26411
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
26003
26412
|
utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
|
|
@@ -26070,6 +26479,19 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26070
26479
|
//用户输入的
|
|
26071
26480
|
if (this.queryParams.length != 0 && this.queryParams[0] != '') {
|
|
26072
26481
|
this.conditionBind.forEach((item, index) => {
|
|
26482
|
+
// 日期范围特殊处理
|
|
26483
|
+
if (item.dbType == 'date' && item.condition == 'BETWEEN') {
|
|
26484
|
+
if (this.queryParams[index].startDate && !this.queryParams[index].endDate || !this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
26485
|
+
flag = true;
|
|
26486
|
+
this.$message.info('日期范围未填写完整!');
|
|
26487
|
+
return;
|
|
26488
|
+
}
|
|
26489
|
+
if (this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
26490
|
+
this.queryParams[index][item.field] = `${this.queryParams[index].startDate},${this.queryParams[index].endDate}`;
|
|
26491
|
+
} else {
|
|
26492
|
+
this.queryParams[index][item.field] = '';
|
|
26493
|
+
}
|
|
26494
|
+
}
|
|
26073
26495
|
if (this.queryParams[index][item.field]) {
|
|
26074
26496
|
querys.push({
|
|
26075
26497
|
property: item.field,
|
|
@@ -26118,13 +26540,13 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26118
26540
|
ctx.total = pageBean.pageBean.total;
|
|
26119
26541
|
// 添加用户id 岗位id 组织id
|
|
26120
26542
|
try {
|
|
26121
|
-
if (this.$requestConfig.getUserId()) {
|
|
26543
|
+
if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
|
|
26122
26544
|
ctx.userId = this.$requestConfig.getUserId();
|
|
26123
26545
|
}
|
|
26124
|
-
if (this.$requestConfig.getOrgId()) {
|
|
26546
|
+
if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
|
|
26125
26547
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
26126
26548
|
}
|
|
26127
|
-
if (this.$requestConfig.getPostId()) {
|
|
26549
|
+
if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
|
|
26128
26550
|
ctx.postId = this.$requestConfig.getPostId();
|
|
26129
26551
|
}
|
|
26130
26552
|
} catch (e) {
|
|
@@ -26152,6 +26574,8 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26152
26574
|
} else {
|
|
26153
26575
|
param.pageBean.pageSize = -1;
|
|
26154
26576
|
}
|
|
26577
|
+
// 日期格式的 改成数组
|
|
26578
|
+
// this.changeDateFormat(param)
|
|
26155
26579
|
//构造请求的参数
|
|
26156
26580
|
let requestParam = {
|
|
26157
26581
|
pageBean: param,
|
|
@@ -26187,6 +26611,15 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26187
26611
|
}
|
|
26188
26612
|
}
|
|
26189
26613
|
},
|
|
26614
|
+
changeDateFormat(param) {
|
|
26615
|
+
let dateValidate1 = /^\d{4}\-\d{2}\-\d{2}$/;
|
|
26616
|
+
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$/;
|
|
26617
|
+
Object.keys(param).forEach(key => {
|
|
26618
|
+
if (param[key] && typeof param[key] == 'string' && param[key].includes(',') && (dateValidate1.test(param[key].split(',')[0]) || dateValidate2.test(param[key].split(',')[0]))) {
|
|
26619
|
+
param[key] = param[key].split(',');
|
|
26620
|
+
}
|
|
26621
|
+
});
|
|
26622
|
+
},
|
|
26190
26623
|
getSearchValueByKey() {
|
|
26191
26624
|
let queryParamsObj = {};
|
|
26192
26625
|
if (this.queryParams.length > 0) {
|
|
@@ -26385,13 +26818,26 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26385
26818
|
}
|
|
26386
26819
|
}
|
|
26387
26820
|
}
|
|
26821
|
+
// 如果是查询中使用的对话框
|
|
26822
|
+
if (this.dialogType == 'search') {
|
|
26823
|
+
let returnVal = [];
|
|
26824
|
+
str.forEach(item => {
|
|
26825
|
+
returnVal.push(decodeURIComponent(item[this.modelName]));
|
|
26826
|
+
});
|
|
26827
|
+
this.$emit('updateInput', returnVal.join(','));
|
|
26828
|
+
return;
|
|
26829
|
+
}
|
|
26388
26830
|
const pInst = utils["a" /* default */].getOnlineFormInstance(this);
|
|
26389
26831
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
26390
26832
|
var val = '';
|
|
26391
26833
|
var from = con.from.toLowerCase();
|
|
26392
26834
|
str.forEach(item => {
|
|
26393
26835
|
if (item) {
|
|
26394
|
-
|
|
26836
|
+
if (this.jumpParamKey && this.isHaveJumpUrl && this.modelName == 'data.' + con['target'][0]) {
|
|
26837
|
+
val += `${decodeURIComponent(item[from])}¯${this.jumpParamKey}:${item[this.jumpParamKey]},`;
|
|
26838
|
+
} else {
|
|
26839
|
+
val += decodeURIComponent(item[from]) + ',';
|
|
26840
|
+
}
|
|
26395
26841
|
}
|
|
26396
26842
|
});
|
|
26397
26843
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
@@ -26428,20 +26874,6 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26428
26874
|
}
|
|
26429
26875
|
}
|
|
26430
26876
|
},
|
|
26431
|
-
// getSelected() {
|
|
26432
|
-
// let arr = []
|
|
26433
|
-
// this.selectIds.forEach((item) => {
|
|
26434
|
-
// debugger
|
|
26435
|
-
// let obj = this.dialogData.find((sub) => {
|
|
26436
|
-
// return sub.id_ === item
|
|
26437
|
-
// })
|
|
26438
|
-
// if (obj) {
|
|
26439
|
-
// arr.push(obj)
|
|
26440
|
-
// }
|
|
26441
|
-
// })
|
|
26442
|
-
|
|
26443
|
-
// return arr
|
|
26444
|
-
// },
|
|
26445
26877
|
calacInputSuffixHeight() {
|
|
26446
26878
|
this.$emit('calacInputSuffixHeight');
|
|
26447
26879
|
},
|
|
@@ -26643,11 +27075,11 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26643
27075
|
});
|
|
26644
27076
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=script&lang=js&
|
|
26645
27077
|
/* harmony default export */ var src_customMobileDialogvue_type_script_lang_js_ = (customMobileDialogvue_type_script_lang_js_);
|
|
26646
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=
|
|
26647
|
-
var
|
|
27078
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=691dcad9&prod&lang=scss&scoped=true&
|
|
27079
|
+
var customMobileDialogvue_type_style_index_0_id_691dcad9_prod_lang_scss_scoped_true_ = __webpack_require__("212d");
|
|
26648
27080
|
|
|
26649
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=
|
|
26650
|
-
var
|
|
27081
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=691dcad9&prod&lang=scss&
|
|
27082
|
+
var customMobileDialogvue_type_style_index_1_id_691dcad9_prod_lang_scss_ = __webpack_require__("d058");
|
|
26651
27083
|
|
|
26652
27084
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue
|
|
26653
27085
|
|
|
@@ -26661,11 +27093,11 @@ var customMobileDialogvue_type_style_index_1_id_1661eebb_prod_lang_scss_ = __web
|
|
|
26661
27093
|
|
|
26662
27094
|
var customMobileDialog_component = normalizeComponent(
|
|
26663
27095
|
src_customMobileDialogvue_type_script_lang_js_,
|
|
26664
|
-
|
|
26665
|
-
|
|
27096
|
+
customMobileDialogvue_type_template_id_691dcad9_scoped_true_render,
|
|
27097
|
+
customMobileDialogvue_type_template_id_691dcad9_scoped_true_staticRenderFns,
|
|
26666
27098
|
false,
|
|
26667
27099
|
null,
|
|
26668
|
-
"
|
|
27100
|
+
"691dcad9",
|
|
26669
27101
|
null
|
|
26670
27102
|
|
|
26671
27103
|
)
|
|
@@ -26805,6 +27237,17 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26805
27237
|
//
|
|
26806
27238
|
//
|
|
26807
27239
|
//
|
|
27240
|
+
//
|
|
27241
|
+
//
|
|
27242
|
+
//
|
|
27243
|
+
//
|
|
27244
|
+
//
|
|
27245
|
+
//
|
|
27246
|
+
//
|
|
27247
|
+
//
|
|
27248
|
+
//
|
|
27249
|
+
//
|
|
27250
|
+
//
|
|
26808
27251
|
|
|
26809
27252
|
|
|
26810
27253
|
|
|
@@ -26836,10 +27279,17 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26836
27279
|
subIndex: Number,
|
|
26837
27280
|
sunIndex: Number,
|
|
26838
27281
|
subPath: String,
|
|
26839
|
-
currentSubData: Array
|
|
27282
|
+
currentSubData: Array,
|
|
27283
|
+
dialogType: {
|
|
27284
|
+
// search表示在查询条件使用 form表示在表单中使用
|
|
27285
|
+
type: String,
|
|
27286
|
+
default: 'form'
|
|
27287
|
+
}
|
|
26840
27288
|
},
|
|
26841
27289
|
data() {
|
|
26842
27290
|
return {
|
|
27291
|
+
dialogConfig: null,
|
|
27292
|
+
// 对话框配置信息
|
|
26843
27293
|
isEditInputShow: false,
|
|
26844
27294
|
customValue: '',
|
|
26845
27295
|
defualtTooltipplacement: 'bottom',
|
|
@@ -26888,9 +27338,21 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26888
27338
|
}
|
|
26889
27339
|
let result = [];
|
|
26890
27340
|
nameAry.forEach(m => {
|
|
26891
|
-
|
|
26892
|
-
|
|
26893
|
-
|
|
27341
|
+
// 带url跳转参数的 使用上横杆区分参数 值格式为 名称¯跳转key:跳转value
|
|
27342
|
+
let n = {};
|
|
27343
|
+
if (m.includes('¯') && m.split('¯')[1]) {
|
|
27344
|
+
n.value = m.split('¯')[0];
|
|
27345
|
+
let jumpParamStr = m.split('¯')[1];
|
|
27346
|
+
if (jumpParamStr) {
|
|
27347
|
+
let jumpParam = jumpParamStr.split(':');
|
|
27348
|
+
n.jumpParamKey = jumpParam[0];
|
|
27349
|
+
n.jumpParamValue = jumpParam[1];
|
|
27350
|
+
}
|
|
27351
|
+
} else {
|
|
27352
|
+
n = {
|
|
27353
|
+
value: m
|
|
27354
|
+
};
|
|
27355
|
+
}
|
|
26894
27356
|
result.push(n);
|
|
26895
27357
|
});
|
|
26896
27358
|
return result;
|
|
@@ -26898,8 +27360,16 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26898
27360
|
},
|
|
26899
27361
|
isAllowCustom() {
|
|
26900
27362
|
return this.custdialog && this.custdialog.allowInput;
|
|
27363
|
+
},
|
|
27364
|
+
// 是否展示可跳转颜色
|
|
27365
|
+
isSrcColor() {
|
|
27366
|
+
return this.dialogConfig && this.dialogType !== 'search' && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
26901
27367
|
}
|
|
26902
27368
|
},
|
|
27369
|
+
created() {
|
|
27370
|
+
// 获取对话框配置,看是否有配置url跳转
|
|
27371
|
+
this.getDialogConfig();
|
|
27372
|
+
},
|
|
26903
27373
|
mounted() {
|
|
26904
27374
|
const {
|
|
26905
27375
|
subScopeEl
|
|
@@ -26918,6 +27388,63 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26918
27388
|
this.calacInputSuffixWidth();
|
|
26919
27389
|
},
|
|
26920
27390
|
methods: {
|
|
27391
|
+
// 跳转url页面
|
|
27392
|
+
jumpUrl(item) {
|
|
27393
|
+
if (!this.isSrcColor) {
|
|
27394
|
+
if (this.inputWriteable) {
|
|
27395
|
+
this.showEditInput();
|
|
27396
|
+
}
|
|
27397
|
+
return;
|
|
27398
|
+
}
|
|
27399
|
+
let url = this.isMobile ? this.dialogConfig.mobileUrl : this.dialogConfig.pcUrl;
|
|
27400
|
+
// 获取通用token 和 url翻译
|
|
27401
|
+
Promise.all([this.$requestConfig.getThreeTreeToken(), this.transformUrl(url)]).then(res => {
|
|
27402
|
+
if (res[0] && res[0].code == 200) {
|
|
27403
|
+
let token = res[0].value;
|
|
27404
|
+
let endUrl = res[1];
|
|
27405
|
+
// 拼接参数 token和参数
|
|
27406
|
+
if (endUrl.indexOf('?') == -1) {
|
|
27407
|
+
endUrl += `?bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
|
|
27408
|
+
} else {
|
|
27409
|
+
endUrl += `&bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
|
|
27410
|
+
}
|
|
27411
|
+
window.open(endUrl);
|
|
27412
|
+
} else {
|
|
27413
|
+
this.$message.info(res.message || '获取token失败!');
|
|
27414
|
+
}
|
|
27415
|
+
});
|
|
27416
|
+
},
|
|
27417
|
+
// 替换url中域名通配符 需要发送接口
|
|
27418
|
+
transformUrl(url) {
|
|
27419
|
+
return new Promise(resolve => {
|
|
27420
|
+
var reg = /(\$\{(\w+)\})/;
|
|
27421
|
+
var match = reg.exec(url);
|
|
27422
|
+
if (match) {
|
|
27423
|
+
let alias = match[2];
|
|
27424
|
+
if (alias) {
|
|
27425
|
+
this.$requestConfig.getHostByAlias(alias).then(res => {
|
|
27426
|
+
if (res && res.value && res.value.rootAddress) {
|
|
27427
|
+
resolve(url.replace(match[1], res.value.rootAddress));
|
|
27428
|
+
} else {
|
|
27429
|
+
resolve(url);
|
|
27430
|
+
}
|
|
27431
|
+
});
|
|
27432
|
+
} else {
|
|
27433
|
+
resolve(url);
|
|
27434
|
+
}
|
|
27435
|
+
} else {
|
|
27436
|
+
resolve(url);
|
|
27437
|
+
}
|
|
27438
|
+
});
|
|
27439
|
+
},
|
|
27440
|
+
// 获取对话框配置
|
|
27441
|
+
getDialogConfig() {
|
|
27442
|
+
if (this.custdialog && this.custdialog.custDialog && this.custdialog.custDialog.alias) this.$requestConfig.getCustomDialogByAlias(this.custdialog.custDialog.alias).then(response => {
|
|
27443
|
+
if (response) {
|
|
27444
|
+
this.dialogConfig = response;
|
|
27445
|
+
}
|
|
27446
|
+
});
|
|
27447
|
+
},
|
|
26921
27448
|
editInputBlur() {
|
|
26922
27449
|
this.$emit('input', this.customValue);
|
|
26923
27450
|
this.isEditInputShow = false;
|
|
@@ -26992,8 +27519,8 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26992
27519
|
});
|
|
26993
27520
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=script&lang=js&
|
|
26994
27521
|
/* harmony default export */ var packages_CustomDialog_src_mainvue_type_script_lang_js_ = (CustomDialog_src_mainvue_type_script_lang_js_);
|
|
26995
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=
|
|
26996
|
-
var
|
|
27522
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=7a0ef38c&prod&lang=scss&scoped=true&
|
|
27523
|
+
var mainvue_type_style_index_0_id_7a0ef38c_prod_lang_scss_scoped_true_ = __webpack_require__("8502");
|
|
26997
27524
|
|
|
26998
27525
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue
|
|
26999
27526
|
|
|
@@ -27006,11 +27533,11 @@ var mainvue_type_style_index_0_id_37fe7c68_prod_lang_scss_scoped_true_ = __webpa
|
|
|
27006
27533
|
|
|
27007
27534
|
var CustomDialog_src_main_component = normalizeComponent(
|
|
27008
27535
|
packages_CustomDialog_src_mainvue_type_script_lang_js_,
|
|
27009
|
-
|
|
27010
|
-
|
|
27536
|
+
mainvue_type_template_id_7a0ef38c_scoped_true_render,
|
|
27537
|
+
mainvue_type_template_id_7a0ef38c_scoped_true_staticRenderFns,
|
|
27011
27538
|
false,
|
|
27012
27539
|
null,
|
|
27013
|
-
"
|
|
27540
|
+
"7a0ef38c",
|
|
27014
27541
|
null
|
|
27015
27542
|
|
|
27016
27543
|
)
|
|
@@ -34013,16 +34540,16 @@ UserSelectorInput_src_main.install = function (Vue) {
|
|
|
34013
34540
|
Vue.component(UserSelectorInput_src_main.name, UserSelectorInput_src_main);
|
|
34014
34541
|
};
|
|
34015
34542
|
/* harmony default export */ var UserSelectorInput = (UserSelectorInput_src_main);
|
|
34016
|
-
// 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/OrgSelectorInput/src/OrgSelectorInput.vue?vue&type=template&id=
|
|
34017
|
-
var
|
|
34543
|
+
// 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/OrgSelectorInput/src/OrgSelectorInput.vue?vue&type=template&id=c629cf74&
|
|
34544
|
+
var OrgSelectorInputvue_type_template_id_c629cf74_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.permission != 'n')?_c('div',{class:[
|
|
34018
34545
|
'inputs',
|
|
34019
34546
|
_vm.formInputsDisplay == 'block'
|
|
34020
34547
|
? 'ht-form-inputs__block'
|
|
34021
34548
|
: 'ht-form-inputs__inline' ]},[_c('ht-org-selector',{attrs:{"title":_vm.title,"form-inputs-display":_vm.formInputsDisplay,"validate":_vm.validate,"name":_vm.inputName,"placeholder":_vm.placeholder,"permission":_vm.permission_sub,"single":_vm.single,"config":_vm.config,"data":_vm.data,"pagination":_vm.pagination,"append-to-body":_vm.appendToBody,"select-label":_vm.selectLabel,"quick-search-props":_vm.quickSearchProps,"mode":_vm.mode,"show-path":_vm.showPath},on:{"filter-type-change":_vm.handleFilterTypeChange,"valueChange":_vm.valueChange,"change":_vm.handleChange,"search":_vm.handleSearch,"reset":_vm.handleReset,"page-change":_vm.handlePageChange,"load-org":_vm.loadOrg,"load-policy-org":_vm.loadPolicyOrg,"row-click":function (row) { return _vm.$emit('row-click', row); },"select-data":function (data) { return _vm.$emit('select-data', data); }},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v},expression:"value"}})],1):_vm._e()}
|
|
34022
|
-
var
|
|
34549
|
+
var OrgSelectorInputvue_type_template_id_c629cf74_staticRenderFns = []
|
|
34023
34550
|
|
|
34024
34551
|
|
|
34025
|
-
// CONCATENATED MODULE: ./packages/OrgSelectorInput/src/OrgSelectorInput.vue?vue&type=template&id=
|
|
34552
|
+
// CONCATENATED MODULE: ./packages/OrgSelectorInput/src/OrgSelectorInput.vue?vue&type=template&id=c629cf74&
|
|
34026
34553
|
|
|
34027
34554
|
// 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/OrgSelectorInput/src/OrgSelectorInput.vue?vue&type=script&lang=js&
|
|
34028
34555
|
//
|
|
@@ -34092,7 +34619,7 @@ var OrgSelectorInputvue_type_template_id_731fbb80_staticRenderFns = []
|
|
|
34092
34619
|
},
|
|
34093
34620
|
quickSearchProps: {
|
|
34094
34621
|
type: String,
|
|
34095
|
-
default: 'name,code
|
|
34622
|
+
default: 'name,code'
|
|
34096
34623
|
},
|
|
34097
34624
|
pageSize: {
|
|
34098
34625
|
type: Number,
|
|
@@ -34365,8 +34892,8 @@ var OrgSelectorInputvue_type_template_id_731fbb80_staticRenderFns = []
|
|
|
34365
34892
|
|
|
34366
34893
|
var OrgSelectorInput_component = normalizeComponent(
|
|
34367
34894
|
src_OrgSelectorInputvue_type_script_lang_js_,
|
|
34368
|
-
|
|
34369
|
-
|
|
34895
|
+
OrgSelectorInputvue_type_template_id_c629cf74_render,
|
|
34896
|
+
OrgSelectorInputvue_type_template_id_c629cf74_staticRenderFns,
|
|
34370
34897
|
false,
|
|
34371
34898
|
null,
|
|
34372
34899
|
null,
|
|
@@ -41650,12 +42177,12 @@ var GlobalValidate_component = normalizeComponent(
|
|
|
41650
42177
|
)
|
|
41651
42178
|
|
|
41652
42179
|
/* harmony default export */ var GlobalValidate = (GlobalValidate_component.exports);
|
|
41653
|
-
// 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=
|
|
41654
|
-
var
|
|
41655
|
-
var
|
|
42180
|
+
// 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=d1217d78&
|
|
42181
|
+
var GlobalQueryvue_type_template_id_d1217d78_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span')}
|
|
42182
|
+
var GlobalQueryvue_type_template_id_d1217d78_staticRenderFns = []
|
|
41656
42183
|
|
|
41657
42184
|
|
|
41658
|
-
// CONCATENATED MODULE: ./packages/Global/src/GlobalQuery.vue?vue&type=template&id=
|
|
42185
|
+
// CONCATENATED MODULE: ./packages/Global/src/GlobalQuery.vue?vue&type=template&id=d1217d78&
|
|
41659
42186
|
|
|
41660
42187
|
// 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&
|
|
41661
42188
|
//
|
|
@@ -41711,7 +42238,8 @@ var GlobalQueryvue_type_template_id_0478065e_staticRenderFns = []
|
|
|
41711
42238
|
//子表
|
|
41712
42239
|
const triggerPath = item.triggerField.split('.');
|
|
41713
42240
|
const triggerField = triggerPath[triggerPath.length - 1];
|
|
41714
|
-
|
|
42241
|
+
// 修复子表初始化时会触发关联查询的问题
|
|
42242
|
+
_this.subOldValueMap[item.subPath] = utils["a" /* default */].getValueByPath(_this.formInst, 'data.' + item.subPath) || [];
|
|
41715
42243
|
item.triggerPath = triggerPath;
|
|
41716
42244
|
item.triggerField = triggerField;
|
|
41717
42245
|
item.resultBind = resultBind;
|
|
@@ -41833,8 +42361,8 @@ var GlobalQueryvue_type_template_id_0478065e_staticRenderFns = []
|
|
|
41833
42361
|
|
|
41834
42362
|
var GlobalQuery_component = normalizeComponent(
|
|
41835
42363
|
src_GlobalQueryvue_type_script_lang_js_,
|
|
41836
|
-
|
|
41837
|
-
|
|
42364
|
+
GlobalQueryvue_type_template_id_d1217d78_render,
|
|
42365
|
+
GlobalQueryvue_type_template_id_d1217d78_staticRenderFns,
|
|
41838
42366
|
false,
|
|
41839
42367
|
null,
|
|
41840
42368
|
null,
|
|
@@ -41853,8 +42381,8 @@ GlobalQuery.install = function (Vue) {
|
|
|
41853
42381
|
Vue.component(GlobalQuery.name, GlobalQuery);
|
|
41854
42382
|
};
|
|
41855
42383
|
|
|
41856
|
-
// 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/Subtable/src/SubDialog.vue?vue&type=template&id=
|
|
41857
|
-
var
|
|
42384
|
+
// 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/Subtable/src/SubDialog.vue?vue&type=template&id=2e77cfbe&scoped=true&
|
|
42385
|
+
var SubDialogvue_type_template_id_2e77cfbe_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"inputs",style:({ display: 'inline-block', float: 'right' })},[(_vm.isShow || _vm.initFillData == 'true')?_c('el-button',{staticClass:"custom-dialog-btn",attrs:{"type":"text","size":"mini"},on:{"click":_vm.showDialog}},[_c('i',{staticClass:"custom-dialog-icon",class:_vm.custdialog.icon
|
|
41858
42386
|
? 'el-input__icon ' + _vm.custdialog.icon
|
|
41859
42387
|
: 'el-input__icon icon-department',staticStyle:{"line-height":"10px"}}),_vm._v("\n "+_vm._s(_vm.custdialog.name)+"\n ")]):_vm._e(),_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('ht-select',{attrs:{"placeholder":_vm.quickSearch,"ganged":{
|
|
41860
42388
|
alias: condition.config.customQuery.alias,
|
|
@@ -41863,11 +42391,11 @@ var SubDialogvue_type_template_id_a26c34e0_scoped_true_render = function () {var
|
|
|
41863
42391
|
labelBind: condition.config.customQuery.labelBind,
|
|
41864
42392
|
gangedBind: '{}',
|
|
41865
42393
|
bind: condition.config.bind,
|
|
41866
|
-
},"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('ht-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',{staticStyle:{"padding":"0 20 0 20"}},[_c('el-table',{ref:"orgTable",staticClass:"org-table",staticStyle:{"width":"100%"},attrs:{"data":_vm.dialogData,"stripe":"","border":"","size":"medium","max-height":"
|
|
41867
|
-
var
|
|
42394
|
+
},"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('ht-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',{staticStyle:{"padding":"0 20 0 20"}},[_c('el-table',{ref:"orgTable",staticClass:"org-table",staticStyle:{"width":"100%"},attrs:{"data":_vm.dialogData,"stripe":"","border":"","size":"medium","max-height":"500px"},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":"45"}}):_vm._e(),(_vm.customDialog.selectNum === 1)?_c('el-table-column',{attrs:{"align":"center","width":"50"},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.undefineda),callback:function ($$v) {_vm.undefineda=$$v},expression:"undefineda"}})]}}],null,false,2920657211)}):_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:{"visible":_vm.customDialogShowTree,"title":_vm.customDialog.name,"close-on-click-modal":false,"before-close":_vm.dialogCancelTree,"append-to-body":"","top":"6vh","width":"40%"},on:{"update:visible":function($event){_vm.customDialogShowTree=$event}}},[_c('el-container',{staticStyle:{"overflow":"auto","min-height":"300px"},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},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)}
|
|
42395
|
+
var SubDialogvue_type_template_id_2e77cfbe_scoped_true_staticRenderFns = []
|
|
41868
42396
|
|
|
41869
42397
|
|
|
41870
|
-
// CONCATENATED MODULE: ./packages/Subtable/src/SubDialog.vue?vue&type=template&id=
|
|
42398
|
+
// CONCATENATED MODULE: ./packages/Subtable/src/SubDialog.vue?vue&type=template&id=2e77cfbe&scoped=true&
|
|
41871
42399
|
|
|
41872
42400
|
// CONCATENATED MODULE: ./packages/Subtable/src/dialog.js
|
|
41873
42401
|
|
|
@@ -43670,8 +44198,8 @@ var SubDialogvue_type_template_id_a26c34e0_scoped_true_staticRenderFns = []
|
|
|
43670
44198
|
});
|
|
43671
44199
|
// CONCATENATED MODULE: ./packages/Subtable/src/SubDialog.vue?vue&type=script&lang=js&
|
|
43672
44200
|
/* harmony default export */ var src_SubDialogvue_type_script_lang_js_ = (SubDialogvue_type_script_lang_js_);
|
|
43673
|
-
// EXTERNAL MODULE: ./packages/Subtable/src/SubDialog.vue?vue&type=style&index=0&id=
|
|
43674
|
-
var
|
|
44201
|
+
// EXTERNAL MODULE: ./packages/Subtable/src/SubDialog.vue?vue&type=style&index=0&id=2e77cfbe&prod&lang=scss&scoped=true&
|
|
44202
|
+
var SubDialogvue_type_style_index_0_id_2e77cfbe_prod_lang_scss_scoped_true_ = __webpack_require__("b944");
|
|
43675
44203
|
|
|
43676
44204
|
// CONCATENATED MODULE: ./packages/Subtable/src/SubDialog.vue
|
|
43677
44205
|
|
|
@@ -43684,11 +44212,11 @@ var SubDialogvue_type_style_index_0_id_a26c34e0_prod_lang_scss_scoped_true_ = __
|
|
|
43684
44212
|
|
|
43685
44213
|
var SubDialog_component = normalizeComponent(
|
|
43686
44214
|
src_SubDialogvue_type_script_lang_js_,
|
|
43687
|
-
|
|
43688
|
-
|
|
44215
|
+
SubDialogvue_type_template_id_2e77cfbe_scoped_true_render,
|
|
44216
|
+
SubDialogvue_type_template_id_2e77cfbe_scoped_true_staticRenderFns,
|
|
43689
44217
|
false,
|
|
43690
44218
|
null,
|
|
43691
|
-
"
|
|
44219
|
+
"2e77cfbe",
|
|
43692
44220
|
null
|
|
43693
44221
|
|
|
43694
44222
|
)
|
|
@@ -48956,6 +49484,13 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
48956
49484
|
|
|
48957
49485
|
/***/ }),
|
|
48958
49486
|
|
|
49487
|
+
/***/ "fcc0":
|
|
49488
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
49489
|
+
|
|
49490
|
+
// extracted by mini-css-extract-plugin
|
|
49491
|
+
|
|
49492
|
+
/***/ }),
|
|
49493
|
+
|
|
48959
49494
|
/***/ "fd19":
|
|
48960
49495
|
/***/ (function(module, exports, __webpack_require__) {
|
|
48961
49496
|
|
|
@@ -49152,17 +49687,6 @@ const i18n = function (fn) {
|
|
|
49152
49687
|
/* unused harmony reexport * */
|
|
49153
49688
|
|
|
49154
49689
|
|
|
49155
|
-
/***/ }),
|
|
49156
|
-
|
|
49157
|
-
/***/ "fee8":
|
|
49158
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
49159
|
-
|
|
49160
|
-
"use strict";
|
|
49161
|
-
/* 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_SubDialog_vue_vue_type_style_index_0_id_a26c34e0_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("81f7");
|
|
49162
|
-
/* 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_SubDialog_vue_vue_type_style_index_0_id_a26c34e0_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_SubDialog_vue_vue_type_style_index_0_id_a26c34e0_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
49163
|
-
/* unused harmony reexport * */
|
|
49164
|
-
|
|
49165
|
-
|
|
49166
49690
|
/***/ }),
|
|
49167
49691
|
|
|
49168
49692
|
/***/ "ffc4":
|