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
|
@@ -1643,6 +1643,13 @@ const btnList = [{
|
|
|
1643
1643
|
|
|
1644
1644
|
/***/ }),
|
|
1645
1645
|
|
|
1646
|
+
/***/ "0c48":
|
|
1647
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1648
|
+
|
|
1649
|
+
// extracted by mini-css-extract-plugin
|
|
1650
|
+
|
|
1651
|
+
/***/ }),
|
|
1652
|
+
|
|
1646
1653
|
/***/ "0edb":
|
|
1647
1654
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1648
1655
|
|
|
@@ -1852,6 +1859,13 @@ const SubPagination = {
|
|
|
1852
1859
|
|
|
1853
1860
|
/***/ }),
|
|
1854
1861
|
|
|
1862
|
+
/***/ "18d6":
|
|
1863
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1864
|
+
|
|
1865
|
+
// extracted by mini-css-extract-plugin
|
|
1866
|
+
|
|
1867
|
+
/***/ }),
|
|
1868
|
+
|
|
1855
1869
|
/***/ "1a07":
|
|
1856
1870
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1857
1871
|
|
|
@@ -1870,31 +1884,35 @@ const SubPagination = {
|
|
|
1870
1884
|
|
|
1871
1885
|
/***/ }),
|
|
1872
1886
|
|
|
1873
|
-
/***/ "
|
|
1887
|
+
/***/ "1ccc":
|
|
1874
1888
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1875
1889
|
|
|
1876
1890
|
// extracted by mini-css-extract-plugin
|
|
1877
1891
|
|
|
1878
1892
|
/***/ }),
|
|
1879
1893
|
|
|
1880
|
-
/***/ "
|
|
1894
|
+
/***/ "200a":
|
|
1881
1895
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1882
1896
|
|
|
1883
1897
|
// extracted by mini-css-extract-plugin
|
|
1884
1898
|
|
|
1885
1899
|
/***/ }),
|
|
1886
1900
|
|
|
1887
|
-
/***/ "
|
|
1901
|
+
/***/ "20da":
|
|
1888
1902
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1889
1903
|
|
|
1890
1904
|
// extracted by mini-css-extract-plugin
|
|
1891
1905
|
|
|
1892
1906
|
/***/ }),
|
|
1893
1907
|
|
|
1894
|
-
/***/ "
|
|
1895
|
-
/***/ (function(module,
|
|
1908
|
+
/***/ "212d":
|
|
1909
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1910
|
+
|
|
1911
|
+
"use strict";
|
|
1912
|
+
/* 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");
|
|
1913
|
+
/* 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__);
|
|
1914
|
+
/* unused harmony reexport * */
|
|
1896
1915
|
|
|
1897
|
-
// extracted by mini-css-extract-plugin
|
|
1898
1916
|
|
|
1899
1917
|
/***/ }),
|
|
1900
1918
|
|
|
@@ -2056,13 +2074,6 @@ module.exports = require("vuedraggable");
|
|
|
2056
2074
|
|
|
2057
2075
|
/***/ }),
|
|
2058
2076
|
|
|
2059
|
-
/***/ "333d":
|
|
2060
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2061
|
-
|
|
2062
|
-
// extracted by mini-css-extract-plugin
|
|
2063
|
-
|
|
2064
|
-
/***/ }),
|
|
2065
|
-
|
|
2066
2077
|
/***/ "33ce":
|
|
2067
2078
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2068
2079
|
|
|
@@ -2803,6 +2814,17 @@ Formulas.install = Vue => {
|
|
|
2803
2814
|
/* unused harmony reexport * */
|
|
2804
2815
|
|
|
2805
2816
|
|
|
2817
|
+
/***/ }),
|
|
2818
|
+
|
|
2819
|
+
/***/ "3de0":
|
|
2820
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2821
|
+
|
|
2822
|
+
"use strict";
|
|
2823
|
+
/* 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");
|
|
2824
|
+
/* 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__);
|
|
2825
|
+
/* unused harmony reexport * */
|
|
2826
|
+
|
|
2827
|
+
|
|
2806
2828
|
/***/ }),
|
|
2807
2829
|
|
|
2808
2830
|
/***/ "3e5b":
|
|
@@ -2893,17 +2915,6 @@ Formulas.install = Vue => {
|
|
|
2893
2915
|
|
|
2894
2916
|
// extracted by mini-css-extract-plugin
|
|
2895
2917
|
|
|
2896
|
-
/***/ }),
|
|
2897
|
-
|
|
2898
|
-
/***/ "49f9":
|
|
2899
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2900
|
-
|
|
2901
|
-
"use strict";
|
|
2902
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_1_id_1661eebb_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("7c6e");
|
|
2903
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_1_id_1661eebb_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customMobileDialog_vue_vue_type_style_index_1_id_1661eebb_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
2904
|
-
/* unused harmony reexport * */
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
2918
|
/***/ }),
|
|
2908
2919
|
|
|
2909
2920
|
/***/ "4a17":
|
|
@@ -4125,6 +4136,13 @@ const dict = {
|
|
|
4125
4136
|
|
|
4126
4137
|
/***/ }),
|
|
4127
4138
|
|
|
4139
|
+
/***/ "6ebe":
|
|
4140
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4141
|
+
|
|
4142
|
+
// extracted by mini-css-extract-plugin
|
|
4143
|
+
|
|
4144
|
+
/***/ }),
|
|
4145
|
+
|
|
4128
4146
|
/***/ "6f28":
|
|
4129
4147
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4130
4148
|
|
|
@@ -4232,13 +4250,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4232
4250
|
|
|
4233
4251
|
/***/ }),
|
|
4234
4252
|
|
|
4235
|
-
/***/ "7c6e":
|
|
4236
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4237
|
-
|
|
4238
|
-
// extracted by mini-css-extract-plugin
|
|
4239
|
-
|
|
4240
|
-
/***/ }),
|
|
4241
|
-
|
|
4242
4253
|
/***/ "7d0a":
|
|
4243
4254
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4244
4255
|
|
|
@@ -4268,24 +4279,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4268
4279
|
|
|
4269
4280
|
/***/ }),
|
|
4270
4281
|
|
|
4271
|
-
/***/ "7ff9":
|
|
4272
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4273
|
-
|
|
4274
|
-
"use strict";
|
|
4275
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customDialog_vue_vue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("333d");
|
|
4276
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customDialog_vue_vue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customDialog_vue_vue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
4277
|
-
/* unused harmony reexport * */
|
|
4278
|
-
|
|
4279
|
-
|
|
4280
|
-
/***/ }),
|
|
4281
|
-
|
|
4282
|
-
/***/ "81f7":
|
|
4283
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4284
|
-
|
|
4285
|
-
// extracted by mini-css-extract-plugin
|
|
4286
|
-
|
|
4287
|
-
/***/ }),
|
|
4288
|
-
|
|
4289
4282
|
/***/ "8262":
|
|
4290
4283
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4291
4284
|
|
|
@@ -4324,6 +4317,17 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4324
4317
|
|
|
4325
4318
|
// extracted by mini-css-extract-plugin
|
|
4326
4319
|
|
|
4320
|
+
/***/ }),
|
|
4321
|
+
|
|
4322
|
+
/***/ "8502":
|
|
4323
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4324
|
+
|
|
4325
|
+
"use strict";
|
|
4326
|
+
/* 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");
|
|
4327
|
+
/* 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__);
|
|
4328
|
+
/* unused harmony reexport * */
|
|
4329
|
+
|
|
4330
|
+
|
|
4327
4331
|
/***/ }),
|
|
4328
4332
|
|
|
4329
4333
|
/***/ "8728":
|
|
@@ -4719,14 +4723,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
4719
4723
|
/***/ "9224":
|
|
4720
4724
|
/***/ (function(module) {
|
|
4721
4725
|
|
|
4722
|
-
module.exports = JSON.parse("{\"a\":\"1.0.
|
|
4723
|
-
|
|
4724
|
-
/***/ }),
|
|
4725
|
-
|
|
4726
|
-
/***/ "923d":
|
|
4727
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4728
|
-
|
|
4729
|
-
// extracted by mini-css-extract-plugin
|
|
4726
|
+
module.exports = JSON.parse("{\"a\":\"1.0.8\"}");
|
|
4730
4727
|
|
|
4731
4728
|
/***/ }),
|
|
4732
4729
|
|
|
@@ -4858,13 +4855,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHoAAABMCAYAAACi
|
|
|
4858
4855
|
|
|
4859
4856
|
/***/ }),
|
|
4860
4857
|
|
|
4861
|
-
/***/ "a707":
|
|
4862
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4863
|
-
|
|
4864
|
-
// extracted by mini-css-extract-plugin
|
|
4865
|
-
|
|
4866
|
-
/***/ }),
|
|
4867
|
-
|
|
4868
4858
|
/***/ "a751":
|
|
4869
4859
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4870
4860
|
|
|
@@ -6312,6 +6302,17 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
|
|
|
6312
6302
|
/* unused harmony reexport * */
|
|
6313
6303
|
|
|
6314
6304
|
|
|
6305
|
+
/***/ }),
|
|
6306
|
+
|
|
6307
|
+
/***/ "b944":
|
|
6308
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6309
|
+
|
|
6310
|
+
"use strict";
|
|
6311
|
+
/* 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");
|
|
6312
|
+
/* 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__);
|
|
6313
|
+
/* unused harmony reexport * */
|
|
6314
|
+
|
|
6315
|
+
|
|
6315
6316
|
/***/ }),
|
|
6316
6317
|
|
|
6317
6318
|
/***/ "b973":
|
|
@@ -6431,17 +6432,6 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
|
|
|
6431
6432
|
|
|
6432
6433
|
// extracted by mini-css-extract-plugin
|
|
6433
6434
|
|
|
6434
|
-
/***/ }),
|
|
6435
|
-
|
|
6436
|
-
/***/ "bf72":
|
|
6437
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6438
|
-
|
|
6439
|
-
"use strict";
|
|
6440
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_37fe7c68_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1c11");
|
|
6441
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_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__);
|
|
6442
|
-
/* unused harmony reexport * */
|
|
6443
|
-
|
|
6444
|
-
|
|
6445
6435
|
/***/ }),
|
|
6446
6436
|
|
|
6447
6437
|
/***/ "c0a9":
|
|
@@ -6460,17 +6450,6 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
|
|
|
6460
6450
|
|
|
6461
6451
|
module.exports = require("moment");
|
|
6462
6452
|
|
|
6463
|
-
/***/ }),
|
|
6464
|
-
|
|
6465
|
-
/***/ "c33b":
|
|
6466
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6467
|
-
|
|
6468
|
-
"use strict";
|
|
6469
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a707");
|
|
6470
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
6471
|
-
/* unused harmony reexport * */
|
|
6472
|
-
|
|
6473
|
-
|
|
6474
6453
|
/***/ }),
|
|
6475
6454
|
|
|
6476
6455
|
/***/ "c429":
|
|
@@ -6628,6 +6607,17 @@ module.exports = require("axios");
|
|
|
6628
6607
|
|
|
6629
6608
|
// extracted by mini-css-extract-plugin
|
|
6630
6609
|
|
|
6610
|
+
/***/ }),
|
|
6611
|
+
|
|
6612
|
+
/***/ "d058":
|
|
6613
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6614
|
+
|
|
6615
|
+
"use strict";
|
|
6616
|
+
/* 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");
|
|
6617
|
+
/* 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__);
|
|
6618
|
+
/* unused harmony reexport * */
|
|
6619
|
+
|
|
6620
|
+
|
|
6631
6621
|
/***/ }),
|
|
6632
6622
|
|
|
6633
6623
|
/***/ "d071":
|
|
@@ -7155,23 +7145,23 @@ module.exports = require("deepmerge");
|
|
|
7155
7145
|
|
|
7156
7146
|
/***/ }),
|
|
7157
7147
|
|
|
7158
|
-
/***/ "
|
|
7148
|
+
/***/ "dc81":
|
|
7159
7149
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7160
7150
|
|
|
7161
7151
|
"use strict";
|
|
7162
|
-
/* harmony import */ var
|
|
7163
|
-
/* harmony import */ var
|
|
7152
|
+
/* 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");
|
|
7153
|
+
/* 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__);
|
|
7164
7154
|
/* unused harmony reexport * */
|
|
7165
7155
|
|
|
7166
7156
|
|
|
7167
7157
|
/***/ }),
|
|
7168
7158
|
|
|
7169
|
-
/***/ "
|
|
7159
|
+
/***/ "dccc":
|
|
7170
7160
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7171
7161
|
|
|
7172
7162
|
"use strict";
|
|
7173
|
-
/* harmony import */ var
|
|
7174
|
-
/* harmony import */ var
|
|
7163
|
+
/* 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");
|
|
7164
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_68e2d4a1_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_68e2d4a1_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
7175
7165
|
/* unused harmony reexport * */
|
|
7176
7166
|
|
|
7177
7167
|
|
|
@@ -7268,6 +7258,13 @@ module.exports = require("deepmerge");
|
|
|
7268
7258
|
|
|
7269
7259
|
/***/ }),
|
|
7270
7260
|
|
|
7261
|
+
/***/ "e902":
|
|
7262
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
7263
|
+
|
|
7264
|
+
// extracted by mini-css-extract-plugin
|
|
7265
|
+
|
|
7266
|
+
/***/ }),
|
|
7267
|
+
|
|
7271
7268
|
/***/ "eab7":
|
|
7272
7269
|
/***/ (function(module, exports, __webpack_require__) {
|
|
7273
7270
|
|
|
@@ -7303,6 +7300,13 @@ module.exports = require("html2canvas");
|
|
|
7303
7300
|
|
|
7304
7301
|
/***/ }),
|
|
7305
7302
|
|
|
7303
|
+
/***/ "f2d9":
|
|
7304
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
7305
|
+
|
|
7306
|
+
// extracted by mini-css-extract-plugin
|
|
7307
|
+
|
|
7308
|
+
/***/ }),
|
|
7309
|
+
|
|
7306
7310
|
/***/ "f43e":
|
|
7307
7311
|
/***/ (function(module, exports) {
|
|
7308
7312
|
|
|
@@ -22472,8 +22476,8 @@ PostSelector_src_main.install = function (Vue) {
|
|
|
22472
22476
|
Vue.component(PostSelector_src_main.name, PostSelector_src_main);
|
|
22473
22477
|
};
|
|
22474
22478
|
/* harmony default export */ var PostSelector = (PostSelector_src_main);
|
|
22475
|
-
// 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=
|
|
22476
|
-
var
|
|
22479
|
+
// 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&
|
|
22480
|
+
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:[
|
|
22477
22481
|
'inputs',
|
|
22478
22482
|
_vm.formInputsDisplay == 'block'
|
|
22479
22483
|
? 'ht-form-inputs__block'
|
|
@@ -22488,10 +22492,10 @@ var mainvue_type_template_id_10681225_scoped_true_render = function () {var _vm=
|
|
|
22488
22492
|
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){
|
|
22489
22493
|
var select = ref.select;
|
|
22490
22494
|
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()}
|
|
22491
|
-
var
|
|
22495
|
+
var mainvue_type_template_id_8015cf1e_scoped_true_staticRenderFns = []
|
|
22492
22496
|
|
|
22493
22497
|
|
|
22494
|
-
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=template&id=
|
|
22498
|
+
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=template&id=8015cf1e&scoped=true&
|
|
22495
22499
|
|
|
22496
22500
|
// 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&
|
|
22497
22501
|
//
|
|
@@ -22750,6 +22754,8 @@ var mainvue_type_template_id_10681225_scoped_true_staticRenderFns = []
|
|
|
22750
22754
|
if (this.config.hasOwnProperty('demName')) {
|
|
22751
22755
|
utils["a" /* default */].setValueByConfigKey(this, this.config, 'demName', demNameAry.join(','));
|
|
22752
22756
|
}
|
|
22757
|
+
} else {
|
|
22758
|
+
this.$emit('change', newVal);
|
|
22753
22759
|
}
|
|
22754
22760
|
// 通过valueChange事件发布值变更消息
|
|
22755
22761
|
this.$emit('valueChange', ary.join(','), newVal);
|
|
@@ -22879,8 +22885,8 @@ var mainvue_type_template_id_10681225_scoped_true_staticRenderFns = []
|
|
|
22879
22885
|
});
|
|
22880
22886
|
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=script&lang=js&
|
|
22881
22887
|
/* harmony default export */ var packages_DimensionSelector_src_mainvue_type_script_lang_js_ = (DimensionSelector_src_mainvue_type_script_lang_js_);
|
|
22882
|
-
// EXTERNAL MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=style&index=0&id=
|
|
22883
|
-
var
|
|
22888
|
+
// EXTERNAL MODULE: ./packages/DimensionSelector/src/main.vue?vue&type=style&index=0&id=8015cf1e&prod&lang=scss&scoped=true&
|
|
22889
|
+
var mainvue_type_style_index_0_id_8015cf1e_prod_lang_scss_scoped_true_ = __webpack_require__("dc81");
|
|
22884
22890
|
|
|
22885
22891
|
// CONCATENATED MODULE: ./packages/DimensionSelector/src/main.vue
|
|
22886
22892
|
|
|
@@ -22893,11 +22899,11 @@ var mainvue_type_style_index_0_id_10681225_prod_lang_scss_scoped_true_ = __webpa
|
|
|
22893
22899
|
|
|
22894
22900
|
var DimensionSelector_src_main_component = normalizeComponent(
|
|
22895
22901
|
packages_DimensionSelector_src_mainvue_type_script_lang_js_,
|
|
22896
|
-
|
|
22897
|
-
|
|
22902
|
+
mainvue_type_template_id_8015cf1e_scoped_true_render,
|
|
22903
|
+
mainvue_type_template_id_8015cf1e_scoped_true_staticRenderFns,
|
|
22898
22904
|
false,
|
|
22899
22905
|
null,
|
|
22900
|
-
"
|
|
22906
|
+
"8015cf1e",
|
|
22901
22907
|
null
|
|
22902
22908
|
|
|
22903
22909
|
)
|
|
@@ -23525,8 +23531,8 @@ Dialog_src_main.install = function (Vue) {
|
|
|
23525
23531
|
Vue.component(Dialog_src_main.name, Dialog_src_main);
|
|
23526
23532
|
};
|
|
23527
23533
|
/* harmony default export */ var Dialog = (Dialog_src_main);
|
|
23528
|
-
// 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=
|
|
23529
|
-
var
|
|
23534
|
+
// 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&
|
|
23535
|
+
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:({
|
|
23530
23536
|
right: _vm.inputSuffixWidth - 1 + 'px',
|
|
23531
23537
|
width: 'auto!important',
|
|
23532
23538
|
height: _vm.inputSuffixHeight - 4 + 'px',
|
|
@@ -23535,11 +23541,11 @@ var mainvue_type_template_id_37fe7c68_scoped_true_render = function () {var _vm=
|
|
|
23535
23541
|
: 'el-input__icon icon-duihuakuang',style:({
|
|
23536
23542
|
fontSize: '17px',
|
|
23537
23543
|
lineHeight: _vm.inputSuffixHeight + 'px',
|
|
23538
|
-
})}),_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)}
|
|
23539
|
-
var
|
|
23544
|
+
})}),_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)}
|
|
23545
|
+
var mainvue_type_template_id_7a0ef38c_scoped_true_staticRenderFns = []
|
|
23540
23546
|
|
|
23541
23547
|
|
|
23542
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=
|
|
23548
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=7a0ef38c&scoped=true&
|
|
23543
23549
|
|
|
23544
23550
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.js
|
|
23545
23551
|
|
|
@@ -23661,19 +23667,35 @@ var mainvue_type_template_id_37fe7c68_scoped_true_staticRenderFns = []
|
|
|
23661
23667
|
}
|
|
23662
23668
|
}
|
|
23663
23669
|
});
|
|
23664
|
-
// 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=
|
|
23665
|
-
var
|
|
23666
|
-
|
|
23667
|
-
|
|
23668
|
-
|
|
23669
|
-
|
|
23670
|
-
|
|
23671
|
-
|
|
23672
|
-
|
|
23673
|
-
|
|
23674
|
-
|
|
23675
|
-
|
|
23676
|
-
|
|
23670
|
+
// 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&
|
|
23671
|
+
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) {
|
|
23672
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23673
|
+
}},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) {
|
|
23674
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23675
|
+
}},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) {
|
|
23676
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23677
|
+
}},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) {
|
|
23678
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23679
|
+
}},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) {
|
|
23680
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23681
|
+
}},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) {
|
|
23682
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
23683
|
+
}},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":{
|
|
23684
|
+
name: '请选择',
|
|
23685
|
+
icon: '',
|
|
23686
|
+
custDialog: {
|
|
23687
|
+
selectNum: 1,
|
|
23688
|
+
conditions: [],
|
|
23689
|
+
mappingConf: [],
|
|
23690
|
+
custQueryJson: [],
|
|
23691
|
+
alias: condition.config.alias,
|
|
23692
|
+
type: 'custDialog',
|
|
23693
|
+
},
|
|
23694
|
+
}},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)}
|
|
23695
|
+
var customDialogvue_type_template_id_f66484a2_scoped_true_staticRenderFns = []
|
|
23696
|
+
|
|
23697
|
+
|
|
23698
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=f66484a2&scoped=true&
|
|
23677
23699
|
|
|
23678
23700
|
// EXTERNAL MODULE: external "jquery"
|
|
23679
23701
|
var external_jquery_ = __webpack_require__("c5e1");
|
|
@@ -23982,6 +24004,116 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
23982
24004
|
//
|
|
23983
24005
|
//
|
|
23984
24006
|
//
|
|
24007
|
+
//
|
|
24008
|
+
//
|
|
24009
|
+
//
|
|
24010
|
+
//
|
|
24011
|
+
//
|
|
24012
|
+
//
|
|
24013
|
+
//
|
|
24014
|
+
//
|
|
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
|
+
//
|
|
23985
24117
|
|
|
23986
24118
|
|
|
23987
24119
|
|
|
@@ -24009,10 +24141,16 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24009
24141
|
isReadOnly: {
|
|
24010
24142
|
type: Boolean,
|
|
24011
24143
|
default: false
|
|
24012
|
-
}
|
|
24144
|
+
},
|
|
24145
|
+
dialogConfig: Object,
|
|
24146
|
+
dialogType: String
|
|
24013
24147
|
},
|
|
24014
24148
|
data() {
|
|
24015
24149
|
return {
|
|
24150
|
+
startDate: '',
|
|
24151
|
+
// 日期控件
|
|
24152
|
+
endDate: '',
|
|
24153
|
+
// 日期控件
|
|
24016
24154
|
tableHeight: 350,
|
|
24017
24155
|
isEditInputShow: false,
|
|
24018
24156
|
customValue: '',
|
|
@@ -24093,6 +24231,18 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24093
24231
|
return [this.props1[0][this.nodeKey]];
|
|
24094
24232
|
}
|
|
24095
24233
|
return [];
|
|
24234
|
+
},
|
|
24235
|
+
jumpParamKey() {
|
|
24236
|
+
return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
|
|
24237
|
+
},
|
|
24238
|
+
// 是否保存成跳转url参数
|
|
24239
|
+
isHaveJumpUrl() {
|
|
24240
|
+
return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
24241
|
+
},
|
|
24242
|
+
sortDisplayfield() {
|
|
24243
|
+
return this.displayfield.sort((a, b) => {
|
|
24244
|
+
return a.sort > b.sort ? 1 : -1;
|
|
24245
|
+
});
|
|
24096
24246
|
}
|
|
24097
24247
|
},
|
|
24098
24248
|
watch: {
|
|
@@ -24128,131 +24278,151 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24128
24278
|
});
|
|
24129
24279
|
},
|
|
24130
24280
|
methods: {
|
|
24281
|
+
// 获取已选择的选择器数据id
|
|
24282
|
+
getSelectId(data) {
|
|
24283
|
+
if (!data || !data.length) {
|
|
24284
|
+
return '';
|
|
24285
|
+
}
|
|
24286
|
+
let ids = [];
|
|
24287
|
+
data.forEach(item => {
|
|
24288
|
+
ids.push(item.id);
|
|
24289
|
+
});
|
|
24290
|
+
return ids.join(',');
|
|
24291
|
+
},
|
|
24131
24292
|
showDialog() {
|
|
24132
24293
|
let isMounted = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
24133
|
-
const this_ = this;
|
|
24134
24294
|
this.fixedParams = {};
|
|
24295
|
+
// 如果已存在配置信息就不去请求配置信息 直接初始化数据
|
|
24296
|
+
if (this.dialogConfig) {
|
|
24297
|
+
this.initDialog(this.dialogConfig, isMounted);
|
|
24298
|
+
return;
|
|
24299
|
+
}
|
|
24135
24300
|
var alias = this.custdialog.custDialog.alias;
|
|
24136
24301
|
this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
|
|
24137
|
-
|
|
24138
|
-
|
|
24139
|
-
|
|
24140
|
-
|
|
24141
|
-
|
|
24142
|
-
|
|
24143
|
-
|
|
24144
|
-
|
|
24145
|
-
|
|
24146
|
-
|
|
24147
|
-
|
|
24148
|
-
|
|
24149
|
-
|
|
24150
|
-
|
|
24151
|
-
|
|
24152
|
-
|
|
24153
|
-
|
|
24154
|
-
|
|
24155
|
-
|
|
24156
|
-
|
|
24157
|
-
|
|
24302
|
+
this.initDialog(customDialog, isMounted);
|
|
24303
|
+
});
|
|
24304
|
+
},
|
|
24305
|
+
initDialog(customDialog, isMounted) {
|
|
24306
|
+
let alias = this.custdialog.custDialog.alias;
|
|
24307
|
+
const this_ = this;
|
|
24308
|
+
if (!customDialog || !customDialog.alias) {
|
|
24309
|
+
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
24310
|
+
return;
|
|
24311
|
+
}
|
|
24312
|
+
if (customDialog.style == 1) {
|
|
24313
|
+
var displaylist = JSON.parse(customDialog.displayfield);
|
|
24314
|
+
this_.nodeKey = displaylist.id;
|
|
24315
|
+
}
|
|
24316
|
+
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
24317
|
+
let obj = {};
|
|
24318
|
+
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
24319
|
+
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
24320
|
+
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
24321
|
+
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
24322
|
+
if (exp) {
|
|
24323
|
+
const params = JSON.parse(exp);
|
|
24324
|
+
if (params.pageBean) {
|
|
24325
|
+
this.pagination = {
|
|
24326
|
+
...params.pageBean
|
|
24327
|
+
};
|
|
24158
24328
|
}
|
|
24159
24329
|
}
|
|
24160
|
-
|
|
24161
|
-
|
|
24162
|
-
|
|
24163
|
-
|
|
24164
|
-
|
|
24165
|
-
|
|
24166
|
-
|
|
24167
|
-
|
|
24168
|
-
|
|
24169
|
-
|
|
24170
|
-
|
|
24171
|
-
|
|
24172
|
-
|
|
24173
|
-
|
|
24174
|
-
|
|
24175
|
-
|
|
24176
|
-
|
|
24177
|
-
|
|
24178
|
-
}
|
|
24179
|
-
}
|
|
24180
|
-
}
|
|
24181
|
-
|
|
24182
|
-
|
|
24183
|
-
|
|
24184
|
-
|
|
24185
|
-
|
|
24186
|
-
|
|
24187
|
-
|
|
24188
|
-
|
|
24189
|
-
|
|
24190
|
-
|
|
24191
|
-
|
|
24192
|
-
|
|
24193
|
-
|
|
24194
|
-
|
|
24195
|
-
|
|
24196
|
-
|
|
24197
|
-
|
|
24198
|
-
|
|
24199
|
-
|
|
24200
|
-
|
|
24201
|
-
}
|
|
24202
|
-
|
|
24203
|
-
|
|
24204
|
-
|
|
24205
|
-
|
|
24206
|
-
|
|
24207
|
-
|
|
24208
|
-
|
|
24209
|
-
|
|
24210
|
-
|
|
24211
|
-
|
|
24212
|
-
|
|
24213
|
-
|
|
24214
|
-
|
|
24215
|
-
|
|
24216
|
-
|
|
24217
|
-
|
|
24218
|
-
|
|
24219
|
-
|
|
24220
|
-
|
|
24221
|
-
customDialog: customDialog
|
|
24222
|
-
}, isMounted);
|
|
24223
|
-
}, 100);
|
|
24224
|
-
} else if (customDialog.style == 1) {
|
|
24225
|
-
//树形
|
|
24226
|
-
this_.pageParam = {
|
|
24330
|
+
}
|
|
24331
|
+
//对话框按表单字段查询(参数传入的)
|
|
24332
|
+
let bindList = this_.custdialog.custDialog.conditions;
|
|
24333
|
+
this_.param = []; //绑定的表单字段
|
|
24334
|
+
if (bindList.length > 0) {
|
|
24335
|
+
bindList.forEach(ele => {
|
|
24336
|
+
//绑定表单字段
|
|
24337
|
+
if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
|
|
24338
|
+
let obj = {};
|
|
24339
|
+
obj.field = ele.field;
|
|
24340
|
+
obj.bind = ele.bind;
|
|
24341
|
+
obj.bindType = ele.bindType;
|
|
24342
|
+
this_.param.push(obj);
|
|
24343
|
+
}
|
|
24344
|
+
//取值对象为脚本时获取value
|
|
24345
|
+
if (ele.bindType === 3) {
|
|
24346
|
+
this_.$requestConfig.executeScript(ele.bind).then(res => {
|
|
24347
|
+
this_.executeScriptResult = res && res.value;
|
|
24348
|
+
});
|
|
24349
|
+
}
|
|
24350
|
+
});
|
|
24351
|
+
}
|
|
24352
|
+
//判断对话框查询是否有条件
|
|
24353
|
+
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
24354
|
+
this_.quickSearch = ''; //填写提示 placeholder
|
|
24355
|
+
this_.conditionBind = [];
|
|
24356
|
+
let queryParams = [];
|
|
24357
|
+
let placeholders = [];
|
|
24358
|
+
if (userInputList.length > 0) {
|
|
24359
|
+
userInputList.forEach(ele => {
|
|
24360
|
+
var obj = {};
|
|
24361
|
+
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
24362
|
+
if (ele.defaultType == '1') {
|
|
24363
|
+
obj[ele.field] = '';
|
|
24364
|
+
queryParams.push(obj);
|
|
24365
|
+
// queryParams[ele.field] = "";
|
|
24366
|
+
this_.conditionBind.push(ele);
|
|
24367
|
+
placeholders.push('请输入' + ele.comment);
|
|
24368
|
+
}
|
|
24369
|
+
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
24370
|
+
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
24371
|
+
}
|
|
24372
|
+
});
|
|
24373
|
+
this.$set(this, 'queryParams', queryParams);
|
|
24374
|
+
this.$set(this, 'placeholders', placeholders);
|
|
24375
|
+
}
|
|
24376
|
+
//判断是否显示条件查询输入框
|
|
24377
|
+
if (this_.quickSearch != '') {
|
|
24378
|
+
this_.querysShow = true;
|
|
24379
|
+
} else {
|
|
24380
|
+
this_.querysShow = true;
|
|
24381
|
+
}
|
|
24382
|
+
this_.quickSearch = '请输入' + this.quickSearch + '查询';
|
|
24383
|
+
this_.style = 'height:' + customDialog.height + 'px';
|
|
24384
|
+
if (window.screen.height && window.screen.height <= 900) {
|
|
24385
|
+
this.style = 'height:440px';
|
|
24386
|
+
}
|
|
24387
|
+
if (customDialog.style == 0 || customDialog.style == 2) {
|
|
24388
|
+
//列表
|
|
24389
|
+
setTimeout(() => {
|
|
24390
|
+
this_.customDialogShow({
|
|
24227
24391
|
alias: alias,
|
|
24228
24392
|
customDialog: customDialog
|
|
24229
|
-
};
|
|
24230
|
-
|
|
24231
|
-
|
|
24232
|
-
|
|
24233
|
-
|
|
24234
|
-
|
|
24235
|
-
|
|
24236
|
-
|
|
24237
|
-
|
|
24238
|
-
|
|
24239
|
-
|
|
24240
|
-
|
|
24241
|
-
|
|
24393
|
+
}, isMounted);
|
|
24394
|
+
}, 100);
|
|
24395
|
+
} else if (customDialog.style == 1) {
|
|
24396
|
+
//树形
|
|
24397
|
+
this_.pageParam = {
|
|
24398
|
+
alias: alias,
|
|
24399
|
+
customDialog: customDialog
|
|
24400
|
+
};
|
|
24401
|
+
this_.customDialog = customDialog;
|
|
24402
|
+
let param = {};
|
|
24403
|
+
this_.conditionfieldTree = [];
|
|
24404
|
+
//判断是否存在条件
|
|
24405
|
+
if (customDialog.conditionfield) {
|
|
24406
|
+
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
24407
|
+
if (this_.conditionfieldTree.length > 0) {
|
|
24408
|
+
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
24409
|
+
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
24410
|
+
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
24411
|
+
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
24242
24412
|
}
|
|
24243
24413
|
}
|
|
24244
24414
|
}
|
|
24245
|
-
|
|
24246
|
-
|
|
24247
|
-
|
|
24248
|
-
|
|
24249
|
-
|
|
24250
|
-
|
|
24251
|
-
|
|
24252
|
-
|
|
24415
|
+
}
|
|
24416
|
+
//有动态传入的字段
|
|
24417
|
+
if (!isMounted) {
|
|
24418
|
+
if (JSON.stringify(param) != '{}') {
|
|
24419
|
+
this_.dialogVisible = true;
|
|
24420
|
+
} else {
|
|
24421
|
+
//无动态传入的字段
|
|
24422
|
+
this_.customDialogTreeShow(this_.pageParam);
|
|
24253
24423
|
}
|
|
24254
24424
|
}
|
|
24255
|
-
}
|
|
24425
|
+
}
|
|
24256
24426
|
},
|
|
24257
24427
|
initTableHeight() {
|
|
24258
24428
|
this.$nextTick(() => {
|
|
@@ -24381,13 +24551,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24381
24551
|
}
|
|
24382
24552
|
// 添加用户id 岗位id 组织id
|
|
24383
24553
|
try {
|
|
24384
|
-
if (this.$requestConfig.getUserId()) {
|
|
24554
|
+
if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
|
|
24385
24555
|
ctx.userId = this.$requestConfig.getUserId();
|
|
24386
24556
|
}
|
|
24387
|
-
if (this.$requestConfig.getOrgId()) {
|
|
24557
|
+
if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
|
|
24388
24558
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
24389
24559
|
}
|
|
24390
|
-
if (this.$requestConfig.getPostId()) {
|
|
24560
|
+
if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
|
|
24391
24561
|
ctx.postId = this.$requestConfig.getPostId();
|
|
24392
24562
|
}
|
|
24393
24563
|
} catch (e) {
|
|
@@ -24472,8 +24642,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24472
24642
|
this.selectOrgs = this.convertComment2Field(str, field);
|
|
24473
24643
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
24474
24644
|
var val = '';
|
|
24475
|
-
str.forEach(item => {
|
|
24476
|
-
|
|
24645
|
+
str.forEach((item, index) => {
|
|
24646
|
+
// 此处添加url跳转参数保存逻辑
|
|
24647
|
+
if (this.jumpParamKey && this.isHaveJumpUrl && this.modelName == 'data.' + con['target'][0]) {
|
|
24648
|
+
val += `${item[con.from]}¯${this.jumpParamKey}:${this.selectOrgs[index][this.jumpParamKey]},`;
|
|
24649
|
+
} else {
|
|
24650
|
+
val += item[con.from] + ',';
|
|
24651
|
+
}
|
|
24477
24652
|
});
|
|
24478
24653
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
24479
24654
|
utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
|
|
@@ -24544,19 +24719,36 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24544
24719
|
};
|
|
24545
24720
|
}
|
|
24546
24721
|
//用户输入的
|
|
24722
|
+
let flag = false;
|
|
24547
24723
|
if (this.queryParams.length != 0 && this.queryParams[0] != '') {
|
|
24548
24724
|
this.conditionBind.forEach((item, index) => {
|
|
24725
|
+
// 日期范围特殊处理
|
|
24726
|
+
if (item.dbType == 'date' && item.condition == 'BETWEEN') {
|
|
24727
|
+
if (this.queryParams[index].startDate && !this.queryParams[index].endDate || !this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
24728
|
+
flag = true;
|
|
24729
|
+
this.$message.info('日期范围未填写完整!');
|
|
24730
|
+
return;
|
|
24731
|
+
}
|
|
24732
|
+
if (this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
24733
|
+
this.queryParams[index][item.field] = `${this.queryParams[index].startDate},${this.queryParams[index].endDate}`;
|
|
24734
|
+
} else {
|
|
24735
|
+
this.queryParams[index][item.field] = '';
|
|
24736
|
+
}
|
|
24737
|
+
}
|
|
24549
24738
|
if (this.queryParams[index][item.field]) {
|
|
24550
24739
|
querys.push({
|
|
24551
24740
|
property: item.field,
|
|
24552
24741
|
value: this.queryParams[index][item.field],
|
|
24553
24742
|
group: 'main',
|
|
24554
|
-
operation:
|
|
24743
|
+
operation: item.condition,
|
|
24555
24744
|
relation: 'AND'
|
|
24556
24745
|
});
|
|
24557
24746
|
}
|
|
24558
24747
|
});
|
|
24559
24748
|
}
|
|
24749
|
+
if (flag) {
|
|
24750
|
+
return;
|
|
24751
|
+
}
|
|
24560
24752
|
//参数传入的查询拼接
|
|
24561
24753
|
if (this.param) {
|
|
24562
24754
|
this.param.forEach(item => {
|
|
@@ -24595,13 +24787,13 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24595
24787
|
queryParamMap.total = pageBean.pageBean.total;
|
|
24596
24788
|
// 添加用户id 岗位id 组织id
|
|
24597
24789
|
try {
|
|
24598
|
-
if (this.$requestConfig.getUserId()) {
|
|
24790
|
+
if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
|
|
24599
24791
|
ctx.userId = this.$requestConfig.getUserId();
|
|
24600
24792
|
}
|
|
24601
|
-
if (this.$requestConfig.getOrgId()) {
|
|
24793
|
+
if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
|
|
24602
24794
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
24603
24795
|
}
|
|
24604
|
-
if (this.$requestConfig.getPostId()) {
|
|
24796
|
+
if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
|
|
24605
24797
|
ctx.postId = this.$requestConfig.getPostId();
|
|
24606
24798
|
}
|
|
24607
24799
|
} catch (e) {
|
|
@@ -24622,12 +24814,14 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24622
24814
|
value: queryParamMap[bindKey] || ctx[bindKey] || ''
|
|
24623
24815
|
};
|
|
24624
24816
|
});
|
|
24625
|
-
param.querys = queryList;
|
|
24817
|
+
param.querys = queryList || [];
|
|
24626
24818
|
if (this.customDialog.needPage) {
|
|
24627
24819
|
param.pageBean = obj;
|
|
24628
24820
|
} else {
|
|
24629
24821
|
param.pageBean.pageSize = -1;
|
|
24630
24822
|
}
|
|
24823
|
+
// 日期格式的 改成数组
|
|
24824
|
+
// this.changeDateFormat(param)
|
|
24631
24825
|
//构造请求的参数
|
|
24632
24826
|
let requestParam = {
|
|
24633
24827
|
pageBean: param,
|
|
@@ -24667,6 +24861,15 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24667
24861
|
}
|
|
24668
24862
|
this.tableRadioVal = '';
|
|
24669
24863
|
},
|
|
24864
|
+
changeDateFormat(param) {
|
|
24865
|
+
let dateValidate1 = /^\d{4}\-\d{2}\-\d{2}$/;
|
|
24866
|
+
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$/;
|
|
24867
|
+
Object.keys(param).forEach(key => {
|
|
24868
|
+
if (param[key] && typeof param[key] == 'string' && param[key].includes(',') && (dateValidate1.test(param[key].split(',')[0]) || dateValidate2.test(param[key].split(',')[0]))) {
|
|
24869
|
+
param[key] = param[key].split(',');
|
|
24870
|
+
}
|
|
24871
|
+
});
|
|
24872
|
+
},
|
|
24670
24873
|
getSearchValueByKey() {
|
|
24671
24874
|
let queryParamsObj = {};
|
|
24672
24875
|
if (this.queryParams.length > 0) {
|
|
@@ -24892,6 +25095,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24892
25095
|
},
|
|
24893
25096
|
// 同步选择结果
|
|
24894
25097
|
syncInputValue() {
|
|
25098
|
+
// 对话框跳转url需要两个参数 1当前控件绑定的对象参数modelName 2对话框配置中配置的key名称
|
|
25099
|
+
// 同步值时,如果有绑定url跳转参数,值格式为 名称¯跳转key:跳转value
|
|
24895
25100
|
let thisIndex = null; //当前数据所在下标
|
|
24896
25101
|
let parentIndex = null; //父节点所在下标
|
|
24897
25102
|
if (this.$parent.$el) {
|
|
@@ -24965,13 +25170,27 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24965
25170
|
}
|
|
24966
25171
|
}
|
|
24967
25172
|
}
|
|
25173
|
+
// 如果是查询中使用的对话框
|
|
25174
|
+
if (this.dialogType == 'search') {
|
|
25175
|
+
let returnVal = [];
|
|
25176
|
+
str.forEach(item => {
|
|
25177
|
+
returnVal.push(decodeURIComponent(item[this.modelName]));
|
|
25178
|
+
});
|
|
25179
|
+
this.$emit('updateInput', returnVal.join(','));
|
|
25180
|
+
return;
|
|
25181
|
+
}
|
|
24968
25182
|
const pInst = utils["a" /* default */].getOnlineFormInstance(this);
|
|
24969
25183
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
24970
25184
|
var val = '';
|
|
24971
25185
|
var from = con.from.toLowerCase();
|
|
24972
25186
|
str.forEach(item => {
|
|
25187
|
+
// 如果有绑定url跳转参数 需获取跳转参数的key
|
|
24973
25188
|
if (item) {
|
|
24974
|
-
|
|
25189
|
+
if (this.jumpParamKey && this.isHaveJumpUrl && this.modelName == 'data.' + con['target'][0]) {
|
|
25190
|
+
val += `${decodeURIComponent(item[from])}¯${this.jumpParamKey}:${item[this.jumpParamKey]},`;
|
|
25191
|
+
} else {
|
|
25192
|
+
val += decodeURIComponent(item[from]) + ',';
|
|
25193
|
+
}
|
|
24975
25194
|
}
|
|
24976
25195
|
});
|
|
24977
25196
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
@@ -24990,7 +25209,6 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24990
25209
|
const _val = val.substring(0, val.length - 1);
|
|
24991
25210
|
if (path) {
|
|
24992
25211
|
if (this.modelName && this.modelName.endsWith(path)) {
|
|
24993
|
-
// this.$emit('input', _val)
|
|
24994
25212
|
this.$emit('updateInput', _val);
|
|
24995
25213
|
}
|
|
24996
25214
|
utils["a" /* default */].setValueByPath(pInst, `${pInst.data ? 'data.' : 'model.'}${path}`, _val, thisIndex);
|
|
@@ -25222,8 +25440,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25222
25440
|
});
|
|
25223
25441
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=script&lang=js&
|
|
25224
25442
|
/* harmony default export */ var src_customDialogvue_type_script_lang_js_ = (customDialogvue_type_script_lang_js_);
|
|
25225
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=
|
|
25226
|
-
var
|
|
25443
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=f66484a2&prod&lang=scss&scoped=true&
|
|
25444
|
+
var customDialogvue_type_style_index_0_id_f66484a2_prod_lang_scss_scoped_true_ = __webpack_require__("3de0");
|
|
25227
25445
|
|
|
25228
25446
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue
|
|
25229
25447
|
|
|
@@ -25236,31 +25454,47 @@ var customDialogvue_type_style_index_0_id_3a57945e_prod_lang_scss_scoped_true_ =
|
|
|
25236
25454
|
|
|
25237
25455
|
var customDialog_component = normalizeComponent(
|
|
25238
25456
|
src_customDialogvue_type_script_lang_js_,
|
|
25239
|
-
|
|
25240
|
-
|
|
25457
|
+
customDialogvue_type_template_id_f66484a2_scoped_true_render,
|
|
25458
|
+
customDialogvue_type_template_id_f66484a2_scoped_true_staticRenderFns,
|
|
25241
25459
|
false,
|
|
25242
25460
|
null,
|
|
25243
|
-
"
|
|
25461
|
+
"f66484a2",
|
|
25244
25462
|
null
|
|
25245
25463
|
|
|
25246
25464
|
)
|
|
25247
25465
|
|
|
25248
25466
|
/* harmony default export */ var CustomDialog_src_customDialog = (customDialog_component.exports);
|
|
25249
|
-
// 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=
|
|
25250
|
-
var
|
|
25251
|
-
|
|
25252
|
-
|
|
25253
|
-
|
|
25254
|
-
|
|
25255
|
-
|
|
25256
|
-
|
|
25257
|
-
|
|
25467
|
+
// 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&
|
|
25468
|
+
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) {
|
|
25469
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25470
|
+
}},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) {
|
|
25471
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25472
|
+
}},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) {
|
|
25473
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25474
|
+
}},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) {
|
|
25475
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25476
|
+
}},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) {
|
|
25477
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25478
|
+
}},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) {
|
|
25479
|
+
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
25480
|
+
}},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":{
|
|
25481
|
+
name: '请选择',
|
|
25482
|
+
icon: '',
|
|
25483
|
+
custDialog: {
|
|
25484
|
+
selectNum: 1,
|
|
25485
|
+
conditions: [],
|
|
25486
|
+
mappingConf: [],
|
|
25487
|
+
custQueryJson: [],
|
|
25488
|
+
alias: condition.config.alias,
|
|
25489
|
+
type: 'custDialog',
|
|
25490
|
+
},
|
|
25491
|
+
}},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(
|
|
25258
25492
|
function (k) { return k.defaultType == '4'; }
|
|
25259
|
-
)),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)}
|
|
25260
|
-
var
|
|
25493
|
+
)),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)}
|
|
25494
|
+
var customMobileDialogvue_type_template_id_691dcad9_scoped_true_staticRenderFns = []
|
|
25261
25495
|
|
|
25262
25496
|
|
|
25263
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=
|
|
25497
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=template&id=691dcad9&scoped=true&
|
|
25264
25498
|
|
|
25265
25499
|
// 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&
|
|
25266
25500
|
//
|
|
@@ -25521,6 +25755,122 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25521
25755
|
//
|
|
25522
25756
|
//
|
|
25523
25757
|
//
|
|
25758
|
+
//
|
|
25759
|
+
//
|
|
25760
|
+
//
|
|
25761
|
+
//
|
|
25762
|
+
//
|
|
25763
|
+
//
|
|
25764
|
+
//
|
|
25765
|
+
//
|
|
25766
|
+
//
|
|
25767
|
+
//
|
|
25768
|
+
//
|
|
25769
|
+
//
|
|
25770
|
+
//
|
|
25771
|
+
//
|
|
25772
|
+
//
|
|
25773
|
+
//
|
|
25774
|
+
//
|
|
25775
|
+
//
|
|
25776
|
+
//
|
|
25777
|
+
//
|
|
25778
|
+
//
|
|
25779
|
+
//
|
|
25780
|
+
//
|
|
25781
|
+
//
|
|
25782
|
+
//
|
|
25783
|
+
//
|
|
25784
|
+
//
|
|
25785
|
+
//
|
|
25786
|
+
//
|
|
25787
|
+
//
|
|
25788
|
+
//
|
|
25789
|
+
//
|
|
25790
|
+
//
|
|
25791
|
+
//
|
|
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
|
+
//
|
|
25524
25874
|
|
|
25525
25875
|
|
|
25526
25876
|
|
|
@@ -25542,10 +25892,17 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25542
25892
|
subIndex: Number,
|
|
25543
25893
|
sunIndex: Number,
|
|
25544
25894
|
subPath: String,
|
|
25545
|
-
currentSubData: Array
|
|
25895
|
+
currentSubData: Array,
|
|
25896
|
+
dialogConfig: Object,
|
|
25897
|
+
dialogType: String
|
|
25546
25898
|
},
|
|
25547
25899
|
data() {
|
|
25548
25900
|
return {
|
|
25901
|
+
dateType: 'date',
|
|
25902
|
+
currentDate: '',
|
|
25903
|
+
// 当前日期
|
|
25904
|
+
isShowDatePop: false,
|
|
25905
|
+
// 是否显示日期选择控件
|
|
25549
25906
|
isShowMoreSearch: false,
|
|
25550
25907
|
treeSelectText: '',
|
|
25551
25908
|
// 组合树时选中的查询条件
|
|
@@ -25625,9 +25982,47 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25625
25982
|
sureButtonText() {
|
|
25626
25983
|
const selectedText = this.selectIds.length > 0 ? `(${this.selectIds.length})` : '';
|
|
25627
25984
|
return `${this.$t('ht.common.confirm')}${selectedText}`;
|
|
25985
|
+
},
|
|
25986
|
+
jumpParamKey() {
|
|
25987
|
+
return this.dialogConfig && this.dialogConfig.jumpParamKey ? this.dialogConfig.jumpParamKey : '';
|
|
25988
|
+
},
|
|
25989
|
+
// 是否保存成跳转url参数
|
|
25990
|
+
isHaveJumpUrl() {
|
|
25991
|
+
return this.dialogConfig && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
25992
|
+
},
|
|
25993
|
+
sortDisplayfield() {
|
|
25994
|
+
return this.displayfield.sort((a, b) => {
|
|
25995
|
+
return a.sort > b.sort ? 1 : -1;
|
|
25996
|
+
});
|
|
25628
25997
|
}
|
|
25629
25998
|
},
|
|
25630
25999
|
methods: {
|
|
26000
|
+
// 获取已选择的选择器数据id
|
|
26001
|
+
getSelectId(data) {
|
|
26002
|
+
if (!data || !data.length) {
|
|
26003
|
+
return '';
|
|
26004
|
+
}
|
|
26005
|
+
let ids = [];
|
|
26006
|
+
data.forEach(item => {
|
|
26007
|
+
ids.push(item.id);
|
|
26008
|
+
});
|
|
26009
|
+
return ids.join(',');
|
|
26010
|
+
},
|
|
26011
|
+
showDate(index, key) {
|
|
26012
|
+
this.dateType = this.conditionBind[index].config.inputFormat.includes('mm:') ? 'datetime' : 'date';
|
|
26013
|
+
this.currentDateData = {
|
|
26014
|
+
index,
|
|
26015
|
+
key
|
|
26016
|
+
};
|
|
26017
|
+
this.currentDate = this.queryParams[index][key] ? new Date(this.queryParams[index][key].replace(/-/g, '/')) : new Date();
|
|
26018
|
+
this.isShowDatePop = true;
|
|
26019
|
+
},
|
|
26020
|
+
// 日期确认
|
|
26021
|
+
confirmFn() {
|
|
26022
|
+
let currentConfig = this.conditionBind[this.currentDateData.index];
|
|
26023
|
+
this.queryParams[this.currentDateData.index][this.currentDateData.key] = this.currentDate.format(currentConfig.config.inputFormat);
|
|
26024
|
+
this.isShowDatePop = false;
|
|
26025
|
+
},
|
|
25631
26026
|
searchInputChange() {
|
|
25632
26027
|
if (!this.isShowMoreSearch) {
|
|
25633
26028
|
this.search(true);
|
|
@@ -25673,112 +26068,121 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25673
26068
|
this.search(true);
|
|
25674
26069
|
},
|
|
25675
26070
|
showDialog() {
|
|
25676
|
-
const this_ = this;
|
|
25677
26071
|
this.fixedParams = {};
|
|
26072
|
+
// 如果已存在配置信息就不去请求配置信息 直接初始化数据
|
|
26073
|
+
if (this.dialogConfig) {
|
|
26074
|
+
this.initDialog(this.dialogConfig);
|
|
26075
|
+
return;
|
|
26076
|
+
}
|
|
25678
26077
|
var alias = this.custdialog.custDialog.alias;
|
|
25679
26078
|
this.$requestConfig.getCustomDialogByAlias(alias).then(customDialog => {
|
|
25680
|
-
|
|
25681
|
-
|
|
25682
|
-
|
|
25683
|
-
|
|
25684
|
-
|
|
25685
|
-
|
|
25686
|
-
|
|
25687
|
-
|
|
25688
|
-
|
|
25689
|
-
|
|
25690
|
-
|
|
25691
|
-
|
|
25692
|
-
|
|
25693
|
-
|
|
25694
|
-
|
|
25695
|
-
|
|
25696
|
-
|
|
25697
|
-
|
|
25698
|
-
|
|
25699
|
-
|
|
25700
|
-
|
|
26079
|
+
this.initDialog(customDialog);
|
|
26080
|
+
});
|
|
26081
|
+
},
|
|
26082
|
+
initDialog(customDialog) {
|
|
26083
|
+
let alias = this.custdialog.custDialog.alias;
|
|
26084
|
+
const this_ = this;
|
|
26085
|
+
if (!customDialog || !customDialog.alias) {
|
|
26086
|
+
this.$message.error('对话框别名【' + alias + '】不存在!');
|
|
26087
|
+
return;
|
|
26088
|
+
}
|
|
26089
|
+
if (customDialog.style == 1) {
|
|
26090
|
+
var displaylist = JSON.parse(customDialog.displayfield);
|
|
26091
|
+
this_.nodeKey = displaylist.id;
|
|
26092
|
+
}
|
|
26093
|
+
if (customDialog.needPage && customDialog.requestType === 'POST') {
|
|
26094
|
+
let obj = {};
|
|
26095
|
+
this.getLastKeyByPath(obj, customDialog.pageKey, 1);
|
|
26096
|
+
this.getLastKeyByPath(obj, customDialog.pageSizeKey, 10);
|
|
26097
|
+
this.getLastKeyByPath(obj, customDialog.totalKey, true);
|
|
26098
|
+
const exp = utils["a" /* default */].parseExp(customDialog.dataParam, obj, true);
|
|
26099
|
+
if (exp) {
|
|
26100
|
+
const params = JSON.parse(exp);
|
|
26101
|
+
if (params.pageBean) {
|
|
26102
|
+
this.pagination = {
|
|
26103
|
+
...params.pageBean
|
|
26104
|
+
};
|
|
25701
26105
|
}
|
|
25702
26106
|
}
|
|
25703
|
-
|
|
25704
|
-
|
|
25705
|
-
|
|
25706
|
-
|
|
25707
|
-
|
|
25708
|
-
|
|
25709
|
-
|
|
25710
|
-
|
|
25711
|
-
|
|
25712
|
-
|
|
25713
|
-
|
|
25714
|
-
|
|
25715
|
-
|
|
25716
|
-
|
|
25717
|
-
|
|
25718
|
-
|
|
25719
|
-
|
|
25720
|
-
}
|
|
25721
|
-
}
|
|
26107
|
+
}
|
|
26108
|
+
//对话框按表单字段查询(参数传入的)
|
|
26109
|
+
let bindList = this_.custdialog.custDialog.conditions;
|
|
26110
|
+
this_.param = []; //绑定的表单字段
|
|
26111
|
+
if (bindList.length > 0) {
|
|
26112
|
+
bindList.forEach(ele => {
|
|
26113
|
+
//绑定表单字段
|
|
26114
|
+
if (ele.bind && (ele.defaultType == '3' || ele.bind.startsWith('data.searchForm'))) {
|
|
26115
|
+
let obj = {};
|
|
26116
|
+
obj.field = ele.field;
|
|
26117
|
+
obj.bind = ele.bind;
|
|
26118
|
+
obj.bindType = ele.bindType;
|
|
26119
|
+
this_.param.push(obj);
|
|
26120
|
+
}
|
|
26121
|
+
// bindType 1 表单字段 2固定 3脚本
|
|
26122
|
+
if (ele.defaultType == '3' && ele.bindType === 2) {
|
|
26123
|
+
this_.fixedParams[ele.field] = ele.bind || '';
|
|
26124
|
+
}
|
|
26125
|
+
});
|
|
26126
|
+
}
|
|
25722
26127
|
|
|
25723
|
-
|
|
25724
|
-
|
|
25725
|
-
|
|
25726
|
-
|
|
25727
|
-
|
|
25728
|
-
|
|
25729
|
-
|
|
25730
|
-
|
|
25731
|
-
|
|
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
|
-
}
|
|
26128
|
+
//判断对话框查询是否有条件
|
|
26129
|
+
let userInputList = JSON.parse(customDialog.conditionfield);
|
|
26130
|
+
this_.conditionBind = [];
|
|
26131
|
+
let queryParams = [];
|
|
26132
|
+
let placeholders = [];
|
|
26133
|
+
if (userInputList.length > 0) {
|
|
26134
|
+
userInputList.forEach(ele => {
|
|
26135
|
+
var obj = {};
|
|
26136
|
+
//条件查询参数(用户输入的) 文本框输入 defaultType 1 用户输入 2固定值 3参数传入 5脚本
|
|
26137
|
+
if (ele.defaultType == '1') {
|
|
26138
|
+
obj[ele.field] = '';
|
|
26139
|
+
queryParams.push(obj);
|
|
26140
|
+
// queryParams[ele.field] = "";
|
|
26141
|
+
this_.conditionBind.push(ele);
|
|
26142
|
+
placeholders.push('请输入' + ele.comment);
|
|
26143
|
+
}
|
|
26144
|
+
if (ele.defaultType == '2' && ele.defaultValue) {
|
|
26145
|
+
this_.fixedParams[ele.field] = ele.defaultValue;
|
|
26146
|
+
}
|
|
26147
|
+
});
|
|
26148
|
+
this.$set(this, 'queryParams', queryParams);
|
|
26149
|
+
this.$set(this, 'placeholders', placeholders);
|
|
26150
|
+
}
|
|
26151
|
+
if (customDialog.style == 0 || customDialog.style == 2) {
|
|
26152
|
+
//列表
|
|
26153
|
+
this_.customDialogShow({
|
|
26154
|
+
alias: alias,
|
|
26155
|
+
customDialog: customDialog
|
|
26156
|
+
});
|
|
26157
|
+
} else if (customDialog.style == 1) {
|
|
26158
|
+
//树形
|
|
26159
|
+
this_.pageParam = {
|
|
26160
|
+
alias: alias,
|
|
26161
|
+
customDialog: customDialog
|
|
26162
|
+
};
|
|
26163
|
+
this_.customDialog = customDialog;
|
|
26164
|
+
let param = {};
|
|
26165
|
+
this_.conditionfieldTree = [];
|
|
26166
|
+
//判断是否存在条件
|
|
26167
|
+
if (customDialog.conditionfield) {
|
|
26168
|
+
this_.conditionfieldTree = JSON.parse(customDialog.conditionfield);
|
|
26169
|
+
if (this_.conditionfieldTree.length > 0) {
|
|
26170
|
+
for (let i = this_.conditionfieldTree.length - 1; i >= 0; i--) {
|
|
26171
|
+
//判断条件字段是否是动态传入(defaultType:4:动态传入,2:固定值 )
|
|
26172
|
+
if (this_.conditionfieldTree[i].defaultType == '4') {
|
|
26173
|
+
param[this_.conditionfieldTree[i].field] = this_.conditionfieldTree[i].comment;
|
|
25770
26174
|
}
|
|
25771
26175
|
}
|
|
25772
26176
|
}
|
|
25773
|
-
//有动态传入的字段
|
|
25774
|
-
if (JSON.stringify(param) != '{}') {
|
|
25775
|
-
this_.dialogVisible = true;
|
|
25776
|
-
} else {
|
|
25777
|
-
//无动态传入的字段
|
|
25778
|
-
this_.customDialogTreeShow(this_.pageParam);
|
|
25779
|
-
}
|
|
25780
26177
|
}
|
|
25781
|
-
|
|
26178
|
+
//有动态传入的字段
|
|
26179
|
+
if (JSON.stringify(param) != '{}') {
|
|
26180
|
+
this_.dialogVisible = true;
|
|
26181
|
+
} else {
|
|
26182
|
+
//无动态传入的字段
|
|
26183
|
+
this_.customDialogTreeShow(this_.pageParam);
|
|
26184
|
+
}
|
|
26185
|
+
}
|
|
25782
26186
|
},
|
|
25783
26187
|
treeClick(data) {
|
|
25784
26188
|
// 单选
|
|
@@ -25896,13 +26300,13 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25896
26300
|
}
|
|
25897
26301
|
// 添加用户id 岗位id 组织id
|
|
25898
26302
|
try {
|
|
25899
|
-
if (this.$requestConfig.getUserId()) {
|
|
26303
|
+
if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
|
|
25900
26304
|
ctx.userId = this.$requestConfig.getUserId();
|
|
25901
26305
|
}
|
|
25902
|
-
if (this.$requestConfig.getOrgId()) {
|
|
26306
|
+
if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
|
|
25903
26307
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
25904
26308
|
}
|
|
25905
|
-
if (this.$requestConfig.getPostId()) {
|
|
26309
|
+
if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
|
|
25906
26310
|
ctx.postId = this.$requestConfig.getPostId();
|
|
25907
26311
|
}
|
|
25908
26312
|
} catch (e) {
|
|
@@ -25987,8 +26391,13 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
25987
26391
|
this.selectOrgs = this.convertComment2Field(str, field);
|
|
25988
26392
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
25989
26393
|
var val = '';
|
|
25990
|
-
str.forEach(item => {
|
|
25991
|
-
|
|
26394
|
+
str.forEach((item, index) => {
|
|
26395
|
+
// 此处添加url跳转参数保存逻辑
|
|
26396
|
+
if (this.jumpParamKey && this.isHaveJumpUrl && this.modelName == 'data.' + con['target'][0]) {
|
|
26397
|
+
val += `${item[con.from]}¯${this.jumpParamKey}:${this.selectOrgs[index][this.jumpParamKey]},`;
|
|
26398
|
+
} else {
|
|
26399
|
+
val += item[con.from] + ',';
|
|
26400
|
+
}
|
|
25992
26401
|
});
|
|
25993
26402
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
25994
26403
|
utils["a" /* default */].setValueByPath(pInst, 'data.' + con['target'][0], val.substring(0, val.length - 1), thisIndex);
|
|
@@ -26061,6 +26470,19 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26061
26470
|
//用户输入的
|
|
26062
26471
|
if (this.queryParams.length != 0 && this.queryParams[0] != '') {
|
|
26063
26472
|
this.conditionBind.forEach((item, index) => {
|
|
26473
|
+
// 日期范围特殊处理
|
|
26474
|
+
if (item.dbType == 'date' && item.condition == 'BETWEEN') {
|
|
26475
|
+
if (this.queryParams[index].startDate && !this.queryParams[index].endDate || !this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
26476
|
+
flag = true;
|
|
26477
|
+
this.$message.info('日期范围未填写完整!');
|
|
26478
|
+
return;
|
|
26479
|
+
}
|
|
26480
|
+
if (this.queryParams[index].startDate && this.queryParams[index].endDate) {
|
|
26481
|
+
this.queryParams[index][item.field] = `${this.queryParams[index].startDate},${this.queryParams[index].endDate}`;
|
|
26482
|
+
} else {
|
|
26483
|
+
this.queryParams[index][item.field] = '';
|
|
26484
|
+
}
|
|
26485
|
+
}
|
|
26064
26486
|
if (this.queryParams[index][item.field]) {
|
|
26065
26487
|
querys.push({
|
|
26066
26488
|
property: item.field,
|
|
@@ -26109,13 +26531,13 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26109
26531
|
ctx.total = pageBean.pageBean.total;
|
|
26110
26532
|
// 添加用户id 岗位id 组织id
|
|
26111
26533
|
try {
|
|
26112
|
-
if (this.$requestConfig.getUserId()) {
|
|
26534
|
+
if (this.$requestConfig.getUserId && this.$requestConfig.getUserId()) {
|
|
26113
26535
|
ctx.userId = this.$requestConfig.getUserId();
|
|
26114
26536
|
}
|
|
26115
|
-
if (this.$requestConfig.getOrgId()) {
|
|
26537
|
+
if (this.$requestConfig.getOrgId && this.$requestConfig.getOrgId()) {
|
|
26116
26538
|
ctx.orgId = this.$requestConfig.getOrgId();
|
|
26117
26539
|
}
|
|
26118
|
-
if (this.$requestConfig.getPostId()) {
|
|
26540
|
+
if (this.$requestConfig.getPostId && this.$requestConfig.getPostId()) {
|
|
26119
26541
|
ctx.postId = this.$requestConfig.getPostId();
|
|
26120
26542
|
}
|
|
26121
26543
|
} catch (e) {
|
|
@@ -26143,6 +26565,8 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26143
26565
|
} else {
|
|
26144
26566
|
param.pageBean.pageSize = -1;
|
|
26145
26567
|
}
|
|
26568
|
+
// 日期格式的 改成数组
|
|
26569
|
+
// this.changeDateFormat(param)
|
|
26146
26570
|
//构造请求的参数
|
|
26147
26571
|
let requestParam = {
|
|
26148
26572
|
pageBean: param,
|
|
@@ -26178,6 +26602,15 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26178
26602
|
}
|
|
26179
26603
|
}
|
|
26180
26604
|
},
|
|
26605
|
+
changeDateFormat(param) {
|
|
26606
|
+
let dateValidate1 = /^\d{4}\-\d{2}\-\d{2}$/;
|
|
26607
|
+
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$/;
|
|
26608
|
+
Object.keys(param).forEach(key => {
|
|
26609
|
+
if (param[key] && typeof param[key] == 'string' && param[key].includes(',') && (dateValidate1.test(param[key].split(',')[0]) || dateValidate2.test(param[key].split(',')[0]))) {
|
|
26610
|
+
param[key] = param[key].split(',');
|
|
26611
|
+
}
|
|
26612
|
+
});
|
|
26613
|
+
},
|
|
26181
26614
|
getSearchValueByKey() {
|
|
26182
26615
|
let queryParamsObj = {};
|
|
26183
26616
|
if (this.queryParams.length > 0) {
|
|
@@ -26376,13 +26809,26 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26376
26809
|
}
|
|
26377
26810
|
}
|
|
26378
26811
|
}
|
|
26812
|
+
// 如果是查询中使用的对话框
|
|
26813
|
+
if (this.dialogType == 'search') {
|
|
26814
|
+
let returnVal = [];
|
|
26815
|
+
str.forEach(item => {
|
|
26816
|
+
returnVal.push(decodeURIComponent(item[this.modelName]));
|
|
26817
|
+
});
|
|
26818
|
+
this.$emit('updateInput', returnVal.join(','));
|
|
26819
|
+
return;
|
|
26820
|
+
}
|
|
26379
26821
|
const pInst = utils["a" /* default */].getOnlineFormInstance(this);
|
|
26380
26822
|
this.custdialog.custDialog.mappingConf.forEach(con => {
|
|
26381
26823
|
var val = '';
|
|
26382
26824
|
var from = con.from.toLowerCase();
|
|
26383
26825
|
str.forEach(item => {
|
|
26384
26826
|
if (item) {
|
|
26385
|
-
|
|
26827
|
+
if (this.jumpParamKey && this.isHaveJumpUrl && this.modelName == 'data.' + con['target'][0]) {
|
|
26828
|
+
val += `${decodeURIComponent(item[from])}¯${this.jumpParamKey}:${item[this.jumpParamKey]},`;
|
|
26829
|
+
} else {
|
|
26830
|
+
val += decodeURIComponent(item[from]) + ',';
|
|
26831
|
+
}
|
|
26386
26832
|
}
|
|
26387
26833
|
});
|
|
26388
26834
|
if (this.modelName == 'data.' + con['target'][0]) {
|
|
@@ -26419,20 +26865,6 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26419
26865
|
}
|
|
26420
26866
|
}
|
|
26421
26867
|
},
|
|
26422
|
-
// getSelected() {
|
|
26423
|
-
// let arr = []
|
|
26424
|
-
// this.selectIds.forEach((item) => {
|
|
26425
|
-
// debugger
|
|
26426
|
-
// let obj = this.dialogData.find((sub) => {
|
|
26427
|
-
// return sub.id_ === item
|
|
26428
|
-
// })
|
|
26429
|
-
// if (obj) {
|
|
26430
|
-
// arr.push(obj)
|
|
26431
|
-
// }
|
|
26432
|
-
// })
|
|
26433
|
-
|
|
26434
|
-
// return arr
|
|
26435
|
-
// },
|
|
26436
26868
|
calacInputSuffixHeight() {
|
|
26437
26869
|
this.$emit('calacInputSuffixHeight');
|
|
26438
26870
|
},
|
|
@@ -26634,11 +27066,11 @@ var customMobileDialogvue_type_template_id_1661eebb_scoped_true_staticRenderFns
|
|
|
26634
27066
|
});
|
|
26635
27067
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=script&lang=js&
|
|
26636
27068
|
/* harmony default export */ var src_customMobileDialogvue_type_script_lang_js_ = (customMobileDialogvue_type_script_lang_js_);
|
|
26637
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=
|
|
26638
|
-
var
|
|
27069
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=0&id=691dcad9&prod&lang=scss&scoped=true&
|
|
27070
|
+
var customMobileDialogvue_type_style_index_0_id_691dcad9_prod_lang_scss_scoped_true_ = __webpack_require__("212d");
|
|
26639
27071
|
|
|
26640
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=
|
|
26641
|
-
var
|
|
27072
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customMobileDialog.vue?vue&type=style&index=1&id=691dcad9&prod&lang=scss&
|
|
27073
|
+
var customMobileDialogvue_type_style_index_1_id_691dcad9_prod_lang_scss_ = __webpack_require__("d058");
|
|
26642
27074
|
|
|
26643
27075
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customMobileDialog.vue
|
|
26644
27076
|
|
|
@@ -26652,11 +27084,11 @@ var customMobileDialogvue_type_style_index_1_id_1661eebb_prod_lang_scss_ = __web
|
|
|
26652
27084
|
|
|
26653
27085
|
var customMobileDialog_component = normalizeComponent(
|
|
26654
27086
|
src_customMobileDialogvue_type_script_lang_js_,
|
|
26655
|
-
|
|
26656
|
-
|
|
27087
|
+
customMobileDialogvue_type_template_id_691dcad9_scoped_true_render,
|
|
27088
|
+
customMobileDialogvue_type_template_id_691dcad9_scoped_true_staticRenderFns,
|
|
26657
27089
|
false,
|
|
26658
27090
|
null,
|
|
26659
|
-
"
|
|
27091
|
+
"691dcad9",
|
|
26660
27092
|
null
|
|
26661
27093
|
|
|
26662
27094
|
)
|
|
@@ -26796,6 +27228,17 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26796
27228
|
//
|
|
26797
27229
|
//
|
|
26798
27230
|
//
|
|
27231
|
+
//
|
|
27232
|
+
//
|
|
27233
|
+
//
|
|
27234
|
+
//
|
|
27235
|
+
//
|
|
27236
|
+
//
|
|
27237
|
+
//
|
|
27238
|
+
//
|
|
27239
|
+
//
|
|
27240
|
+
//
|
|
27241
|
+
//
|
|
26799
27242
|
|
|
26800
27243
|
|
|
26801
27244
|
|
|
@@ -26827,10 +27270,17 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26827
27270
|
subIndex: Number,
|
|
26828
27271
|
sunIndex: Number,
|
|
26829
27272
|
subPath: String,
|
|
26830
|
-
currentSubData: Array
|
|
27273
|
+
currentSubData: Array,
|
|
27274
|
+
dialogType: {
|
|
27275
|
+
// search表示在查询条件使用 form表示在表单中使用
|
|
27276
|
+
type: String,
|
|
27277
|
+
default: 'form'
|
|
27278
|
+
}
|
|
26831
27279
|
},
|
|
26832
27280
|
data() {
|
|
26833
27281
|
return {
|
|
27282
|
+
dialogConfig: null,
|
|
27283
|
+
// 对话框配置信息
|
|
26834
27284
|
isEditInputShow: false,
|
|
26835
27285
|
customValue: '',
|
|
26836
27286
|
defualtTooltipplacement: 'bottom',
|
|
@@ -26879,9 +27329,21 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26879
27329
|
}
|
|
26880
27330
|
let result = [];
|
|
26881
27331
|
nameAry.forEach(m => {
|
|
26882
|
-
|
|
26883
|
-
|
|
26884
|
-
|
|
27332
|
+
// 带url跳转参数的 使用上横杆区分参数 值格式为 名称¯跳转key:跳转value
|
|
27333
|
+
let n = {};
|
|
27334
|
+
if (m.includes('¯') && m.split('¯')[1]) {
|
|
27335
|
+
n.value = m.split('¯')[0];
|
|
27336
|
+
let jumpParamStr = m.split('¯')[1];
|
|
27337
|
+
if (jumpParamStr) {
|
|
27338
|
+
let jumpParam = jumpParamStr.split(':');
|
|
27339
|
+
n.jumpParamKey = jumpParam[0];
|
|
27340
|
+
n.jumpParamValue = jumpParam[1];
|
|
27341
|
+
}
|
|
27342
|
+
} else {
|
|
27343
|
+
n = {
|
|
27344
|
+
value: m
|
|
27345
|
+
};
|
|
27346
|
+
}
|
|
26885
27347
|
result.push(n);
|
|
26886
27348
|
});
|
|
26887
27349
|
return result;
|
|
@@ -26889,8 +27351,16 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26889
27351
|
},
|
|
26890
27352
|
isAllowCustom() {
|
|
26891
27353
|
return this.custdialog && this.custdialog.allowInput;
|
|
27354
|
+
},
|
|
27355
|
+
// 是否展示可跳转颜色
|
|
27356
|
+
isSrcColor() {
|
|
27357
|
+
return this.dialogConfig && this.dialogType !== 'search' && (this.isMobile && this.dialogConfig.mobileUrl || !this.isMobile && this.dialogConfig.pcUrl);
|
|
26892
27358
|
}
|
|
26893
27359
|
},
|
|
27360
|
+
created() {
|
|
27361
|
+
// 获取对话框配置,看是否有配置url跳转
|
|
27362
|
+
this.getDialogConfig();
|
|
27363
|
+
},
|
|
26894
27364
|
mounted() {
|
|
26895
27365
|
const {
|
|
26896
27366
|
subScopeEl
|
|
@@ -26909,6 +27379,63 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26909
27379
|
this.calacInputSuffixWidth();
|
|
26910
27380
|
},
|
|
26911
27381
|
methods: {
|
|
27382
|
+
// 跳转url页面
|
|
27383
|
+
jumpUrl(item) {
|
|
27384
|
+
if (!this.isSrcColor) {
|
|
27385
|
+
if (this.inputWriteable) {
|
|
27386
|
+
this.showEditInput();
|
|
27387
|
+
}
|
|
27388
|
+
return;
|
|
27389
|
+
}
|
|
27390
|
+
let url = this.isMobile ? this.dialogConfig.mobileUrl : this.dialogConfig.pcUrl;
|
|
27391
|
+
// 获取通用token 和 url翻译
|
|
27392
|
+
Promise.all([this.$requestConfig.getThreeTreeToken(), this.transformUrl(url)]).then(res => {
|
|
27393
|
+
if (res[0] && res[0].code == 200) {
|
|
27394
|
+
let token = res[0].value;
|
|
27395
|
+
let endUrl = res[1];
|
|
27396
|
+
// 拼接参数 token和参数
|
|
27397
|
+
if (endUrl.indexOf('?') == -1) {
|
|
27398
|
+
endUrl += `?bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
|
|
27399
|
+
} else {
|
|
27400
|
+
endUrl += `&bnsToken=${token}&${item.jumpParamKey}=${item.jumpParamValue}`;
|
|
27401
|
+
}
|
|
27402
|
+
window.open(endUrl);
|
|
27403
|
+
} else {
|
|
27404
|
+
this.$message.info(res.message || '获取token失败!');
|
|
27405
|
+
}
|
|
27406
|
+
});
|
|
27407
|
+
},
|
|
27408
|
+
// 替换url中域名通配符 需要发送接口
|
|
27409
|
+
transformUrl(url) {
|
|
27410
|
+
return new Promise(resolve => {
|
|
27411
|
+
var reg = /(\$\{(\w+)\})/;
|
|
27412
|
+
var match = reg.exec(url);
|
|
27413
|
+
if (match) {
|
|
27414
|
+
let alias = match[2];
|
|
27415
|
+
if (alias) {
|
|
27416
|
+
this.$requestConfig.getHostByAlias(alias).then(res => {
|
|
27417
|
+
if (res && res.value && res.value.rootAddress) {
|
|
27418
|
+
resolve(url.replace(match[1], res.value.rootAddress));
|
|
27419
|
+
} else {
|
|
27420
|
+
resolve(url);
|
|
27421
|
+
}
|
|
27422
|
+
});
|
|
27423
|
+
} else {
|
|
27424
|
+
resolve(url);
|
|
27425
|
+
}
|
|
27426
|
+
} else {
|
|
27427
|
+
resolve(url);
|
|
27428
|
+
}
|
|
27429
|
+
});
|
|
27430
|
+
},
|
|
27431
|
+
// 获取对话框配置
|
|
27432
|
+
getDialogConfig() {
|
|
27433
|
+
if (this.custdialog && this.custdialog.custDialog && this.custdialog.custDialog.alias) this.$requestConfig.getCustomDialogByAlias(this.custdialog.custDialog.alias).then(response => {
|
|
27434
|
+
if (response) {
|
|
27435
|
+
this.dialogConfig = response;
|
|
27436
|
+
}
|
|
27437
|
+
});
|
|
27438
|
+
},
|
|
26912
27439
|
editInputBlur() {
|
|
26913
27440
|
this.$emit('input', this.customValue);
|
|
26914
27441
|
this.isEditInputShow = false;
|
|
@@ -26983,8 +27510,8 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
26983
27510
|
});
|
|
26984
27511
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=script&lang=js&
|
|
26985
27512
|
/* harmony default export */ var packages_CustomDialog_src_mainvue_type_script_lang_js_ = (CustomDialog_src_mainvue_type_script_lang_js_);
|
|
26986
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=
|
|
26987
|
-
var
|
|
27513
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=7a0ef38c&prod&lang=scss&scoped=true&
|
|
27514
|
+
var mainvue_type_style_index_0_id_7a0ef38c_prod_lang_scss_scoped_true_ = __webpack_require__("8502");
|
|
26988
27515
|
|
|
26989
27516
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue
|
|
26990
27517
|
|
|
@@ -26997,11 +27524,11 @@ var mainvue_type_style_index_0_id_37fe7c68_prod_lang_scss_scoped_true_ = __webpa
|
|
|
26997
27524
|
|
|
26998
27525
|
var CustomDialog_src_main_component = normalizeComponent(
|
|
26999
27526
|
packages_CustomDialog_src_mainvue_type_script_lang_js_,
|
|
27000
|
-
|
|
27001
|
-
|
|
27527
|
+
mainvue_type_template_id_7a0ef38c_scoped_true_render,
|
|
27528
|
+
mainvue_type_template_id_7a0ef38c_scoped_true_staticRenderFns,
|
|
27002
27529
|
false,
|
|
27003
27530
|
null,
|
|
27004
|
-
"
|
|
27531
|
+
"7a0ef38c",
|
|
27005
27532
|
null
|
|
27006
27533
|
|
|
27007
27534
|
)
|
|
@@ -34004,16 +34531,16 @@ UserSelectorInput_src_main.install = function (Vue) {
|
|
|
34004
34531
|
Vue.component(UserSelectorInput_src_main.name, UserSelectorInput_src_main);
|
|
34005
34532
|
};
|
|
34006
34533
|
/* harmony default export */ var UserSelectorInput = (UserSelectorInput_src_main);
|
|
34007
|
-
// 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=
|
|
34008
|
-
var
|
|
34534
|
+
// 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&
|
|
34535
|
+
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:[
|
|
34009
34536
|
'inputs',
|
|
34010
34537
|
_vm.formInputsDisplay == 'block'
|
|
34011
34538
|
? 'ht-form-inputs__block'
|
|
34012
34539
|
: '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()}
|
|
34013
|
-
var
|
|
34540
|
+
var OrgSelectorInputvue_type_template_id_c629cf74_staticRenderFns = []
|
|
34014
34541
|
|
|
34015
34542
|
|
|
34016
|
-
// CONCATENATED MODULE: ./packages/OrgSelectorInput/src/OrgSelectorInput.vue?vue&type=template&id=
|
|
34543
|
+
// CONCATENATED MODULE: ./packages/OrgSelectorInput/src/OrgSelectorInput.vue?vue&type=template&id=c629cf74&
|
|
34017
34544
|
|
|
34018
34545
|
// 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&
|
|
34019
34546
|
//
|
|
@@ -34083,7 +34610,7 @@ var OrgSelectorInputvue_type_template_id_731fbb80_staticRenderFns = []
|
|
|
34083
34610
|
},
|
|
34084
34611
|
quickSearchProps: {
|
|
34085
34612
|
type: String,
|
|
34086
|
-
default: 'name,code
|
|
34613
|
+
default: 'name,code'
|
|
34087
34614
|
},
|
|
34088
34615
|
pageSize: {
|
|
34089
34616
|
type: Number,
|
|
@@ -34356,8 +34883,8 @@ var OrgSelectorInputvue_type_template_id_731fbb80_staticRenderFns = []
|
|
|
34356
34883
|
|
|
34357
34884
|
var OrgSelectorInput_component = normalizeComponent(
|
|
34358
34885
|
src_OrgSelectorInputvue_type_script_lang_js_,
|
|
34359
|
-
|
|
34360
|
-
|
|
34886
|
+
OrgSelectorInputvue_type_template_id_c629cf74_render,
|
|
34887
|
+
OrgSelectorInputvue_type_template_id_c629cf74_staticRenderFns,
|
|
34361
34888
|
false,
|
|
34362
34889
|
null,
|
|
34363
34890
|
null,
|
|
@@ -41641,12 +42168,12 @@ var GlobalValidate_component = normalizeComponent(
|
|
|
41641
42168
|
)
|
|
41642
42169
|
|
|
41643
42170
|
/* harmony default export */ var GlobalValidate = (GlobalValidate_component.exports);
|
|
41644
|
-
// 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=
|
|
41645
|
-
var
|
|
41646
|
-
var
|
|
42171
|
+
// 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&
|
|
42172
|
+
var GlobalQueryvue_type_template_id_d1217d78_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span')}
|
|
42173
|
+
var GlobalQueryvue_type_template_id_d1217d78_staticRenderFns = []
|
|
41647
42174
|
|
|
41648
42175
|
|
|
41649
|
-
// CONCATENATED MODULE: ./packages/Global/src/GlobalQuery.vue?vue&type=template&id=
|
|
42176
|
+
// CONCATENATED MODULE: ./packages/Global/src/GlobalQuery.vue?vue&type=template&id=d1217d78&
|
|
41650
42177
|
|
|
41651
42178
|
// 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&
|
|
41652
42179
|
//
|
|
@@ -41702,7 +42229,8 @@ var GlobalQueryvue_type_template_id_0478065e_staticRenderFns = []
|
|
|
41702
42229
|
//子表
|
|
41703
42230
|
const triggerPath = item.triggerField.split('.');
|
|
41704
42231
|
const triggerField = triggerPath[triggerPath.length - 1];
|
|
41705
|
-
|
|
42232
|
+
// 修复子表初始化时会触发关联查询的问题
|
|
42233
|
+
_this.subOldValueMap[item.subPath] = utils["a" /* default */].getValueByPath(_this.formInst, 'data.' + item.subPath) || [];
|
|
41706
42234
|
item.triggerPath = triggerPath;
|
|
41707
42235
|
item.triggerField = triggerField;
|
|
41708
42236
|
item.resultBind = resultBind;
|
|
@@ -41824,8 +42352,8 @@ var GlobalQueryvue_type_template_id_0478065e_staticRenderFns = []
|
|
|
41824
42352
|
|
|
41825
42353
|
var GlobalQuery_component = normalizeComponent(
|
|
41826
42354
|
src_GlobalQueryvue_type_script_lang_js_,
|
|
41827
|
-
|
|
41828
|
-
|
|
42355
|
+
GlobalQueryvue_type_template_id_d1217d78_render,
|
|
42356
|
+
GlobalQueryvue_type_template_id_d1217d78_staticRenderFns,
|
|
41829
42357
|
false,
|
|
41830
42358
|
null,
|
|
41831
42359
|
null,
|
|
@@ -41844,8 +42372,8 @@ GlobalQuery.install = function (Vue) {
|
|
|
41844
42372
|
Vue.component(GlobalQuery.name, GlobalQuery);
|
|
41845
42373
|
};
|
|
41846
42374
|
|
|
41847
|
-
// 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=
|
|
41848
|
-
var
|
|
42375
|
+
// 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&
|
|
42376
|
+
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
|
|
41849
42377
|
? 'el-input__icon ' + _vm.custdialog.icon
|
|
41850
42378
|
: '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":{
|
|
41851
42379
|
alias: condition.config.customQuery.alias,
|
|
@@ -41854,11 +42382,11 @@ var SubDialogvue_type_template_id_a26c34e0_scoped_true_render = function () {var
|
|
|
41854
42382
|
labelBind: condition.config.customQuery.labelBind,
|
|
41855
42383
|
gangedBind: '{}',
|
|
41856
42384
|
bind: condition.config.bind,
|
|
41857
|
-
},"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":"
|
|
41858
|
-
var
|
|
42385
|
+
},"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)}
|
|
42386
|
+
var SubDialogvue_type_template_id_2e77cfbe_scoped_true_staticRenderFns = []
|
|
41859
42387
|
|
|
41860
42388
|
|
|
41861
|
-
// CONCATENATED MODULE: ./packages/Subtable/src/SubDialog.vue?vue&type=template&id=
|
|
42389
|
+
// CONCATENATED MODULE: ./packages/Subtable/src/SubDialog.vue?vue&type=template&id=2e77cfbe&scoped=true&
|
|
41862
42390
|
|
|
41863
42391
|
// CONCATENATED MODULE: ./packages/Subtable/src/dialog.js
|
|
41864
42392
|
|
|
@@ -43661,8 +44189,8 @@ var SubDialogvue_type_template_id_a26c34e0_scoped_true_staticRenderFns = []
|
|
|
43661
44189
|
});
|
|
43662
44190
|
// CONCATENATED MODULE: ./packages/Subtable/src/SubDialog.vue?vue&type=script&lang=js&
|
|
43663
44191
|
/* harmony default export */ var src_SubDialogvue_type_script_lang_js_ = (SubDialogvue_type_script_lang_js_);
|
|
43664
|
-
// EXTERNAL MODULE: ./packages/Subtable/src/SubDialog.vue?vue&type=style&index=0&id=
|
|
43665
|
-
var
|
|
44192
|
+
// EXTERNAL MODULE: ./packages/Subtable/src/SubDialog.vue?vue&type=style&index=0&id=2e77cfbe&prod&lang=scss&scoped=true&
|
|
44193
|
+
var SubDialogvue_type_style_index_0_id_2e77cfbe_prod_lang_scss_scoped_true_ = __webpack_require__("b944");
|
|
43666
44194
|
|
|
43667
44195
|
// CONCATENATED MODULE: ./packages/Subtable/src/SubDialog.vue
|
|
43668
44196
|
|
|
@@ -43675,11 +44203,11 @@ var SubDialogvue_type_style_index_0_id_a26c34e0_prod_lang_scss_scoped_true_ = __
|
|
|
43675
44203
|
|
|
43676
44204
|
var SubDialog_component = normalizeComponent(
|
|
43677
44205
|
src_SubDialogvue_type_script_lang_js_,
|
|
43678
|
-
|
|
43679
|
-
|
|
44206
|
+
SubDialogvue_type_template_id_2e77cfbe_scoped_true_render,
|
|
44207
|
+
SubDialogvue_type_template_id_2e77cfbe_scoped_true_staticRenderFns,
|
|
43680
44208
|
false,
|
|
43681
44209
|
null,
|
|
43682
|
-
"
|
|
44210
|
+
"2e77cfbe",
|
|
43683
44211
|
null
|
|
43684
44212
|
|
|
43685
44213
|
)
|
|
@@ -48947,6 +49475,13 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
48947
49475
|
|
|
48948
49476
|
/***/ }),
|
|
48949
49477
|
|
|
49478
|
+
/***/ "fcc0":
|
|
49479
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
49480
|
+
|
|
49481
|
+
// extracted by mini-css-extract-plugin
|
|
49482
|
+
|
|
49483
|
+
/***/ }),
|
|
49484
|
+
|
|
48950
49485
|
/***/ "fd19":
|
|
48951
49486
|
/***/ (function(module, exports, __webpack_require__) {
|
|
48952
49487
|
|
|
@@ -49143,17 +49678,6 @@ const i18n = function (fn) {
|
|
|
49143
49678
|
/* unused harmony reexport * */
|
|
49144
49679
|
|
|
49145
49680
|
|
|
49146
|
-
/***/ }),
|
|
49147
|
-
|
|
49148
|
-
/***/ "fee8":
|
|
49149
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
49150
|
-
|
|
49151
|
-
"use strict";
|
|
49152
|
-
/* 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");
|
|
49153
|
-
/* 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__);
|
|
49154
|
-
/* unused harmony reexport * */
|
|
49155
|
-
|
|
49156
|
-
|
|
49157
49681
|
/***/ }),
|
|
49158
49682
|
|
|
49159
49683
|
/***/ "ffc4":
|