@v2coding/ui 0.1.4 → 0.1.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/README.md +1 -1
- package/dist/v2coding-ui.esm.js +1452 -679
- package/dist/v2coding-ui.min.js +1 -1
- package/dist/v2coding-ui.ssr.js +1469 -679
- package/package.json +2 -3
- package/src/components/dialog/dialog.vue +0 -179
- package/src/components/drawer/drawer.vue +0 -523
- package/src/components/exports/index.vue +0 -53
- package/src/components/exports/remote-exports-dialog.vue +0 -202
- package/src/components/field/field.autocomplete.vue +0 -21
- package/src/components/field/field.calendar.vue +0 -117
- package/src/components/field/field.cascade.vue +0 -233
- package/src/components/field/field.checkbox.vue +0 -134
- package/src/components/field/field.color.vue +0 -24
- package/src/components/field/field.date.vue +0 -145
- package/src/components/field/field.icons.vue +0 -123
- package/src/components/field/field.number.vue +0 -43
- package/src/components/field/field.radio.vue +0 -100
- package/src/components/field/field.rate.vue +0 -37
- package/src/components/field/field.rich.vue +0 -155
- package/src/components/field/field.select.vue +0 -210
- package/src/components/field/field.slider.vue +0 -66
- package/src/components/field/field.switch.vue +0 -14
- package/src/components/field/field.text.vue +0 -66
- package/src/components/field/field.timepicker.vue +0 -70
- package/src/components/field/field.timeselect.vue +0 -24
- package/src/components/field/field.trigger.dialog.vue +0 -50
- package/src/components/field/field.trigger.popover.vue +0 -63
- package/src/components/field/field.upload.file.vue +0 -241
- package/src/components/field/field.upload.image.vue +0 -125
- package/src/components/fill-view/fill-view.vue +0 -43
- package/src/components/form/form.dialog.vue +0 -174
- package/src/components/form/form.drawer.vue +0 -246
- package/src/components/form/form.fieldset.vue +0 -110
- package/src/components/form/form.item.vue +0 -210
- package/src/components/form/form.vue +0 -302
- package/src/components/head-menu/head-menu.vue +0 -188
- package/src/components/head-menu/menu-item.vue +0 -80
- package/src/components/history/history.vue +0 -361
- package/src/components/icon/icon.vue +0 -63
- package/src/components/minimize/minimize.vue +0 -342
- package/src/components/page/page.vue +0 -43
- package/src/components/page/search-page.vue +0 -202
- package/src/components/provider/provider.vue +0 -15
- package/src/components/scroll-view/scroll-view.vue +0 -384
- package/src/components/table/column.vue +0 -262
- package/src/components/table/table.pagination.vue +0 -71
- package/src/components/table/table.select.vue +0 -165
- package/src/components/table/table.vue +0 -807
package/dist/v2coding-ui.esm.js
CHANGED
|
@@ -14,6 +14,8 @@ import { Quill, quillEditor } from 'vue-quill-editor';
|
|
|
14
14
|
import 'quill/dist/quill.core.css';
|
|
15
15
|
import 'quill/dist/quill.snow.css';
|
|
16
16
|
import 'quill/dist/quill.bubble.css';
|
|
17
|
+
import gcoord from 'gcoord';
|
|
18
|
+
import AMapLoader from '@amap/amap-jsapi-loader';
|
|
17
19
|
import XLSX from 'xlsx';
|
|
18
20
|
import { getPropByPath } from 'element-ui/lib/utils/util';
|
|
19
21
|
import { addResizeListener, removeResizeListener } from 'element-ui/lib/utils/resize-event';
|
|
@@ -119,6 +121,11 @@ const DefaultSetting = {
|
|
|
119
121
|
timeout: 30000,
|
|
120
122
|
baseURL: process.env.VUE_APP_DOMAIN || 'http://localhost:8080' // eslint-disable-line
|
|
121
123
|
|
|
124
|
+
},
|
|
125
|
+
amap: {
|
|
126
|
+
version: '2.0',
|
|
127
|
+
key: process.env.VUE_APP_DOMAIN // eslint-disable-line
|
|
128
|
+
|
|
122
129
|
}
|
|
123
130
|
};
|
|
124
131
|
var DefaultSetting$1 = DefaultSetting;
|
|
@@ -1141,7 +1148,7 @@ function addStyle(id, css) {
|
|
|
1141
1148
|
const __vue_script__$G = script$F;
|
|
1142
1149
|
/* template */
|
|
1143
1150
|
|
|
1144
|
-
var __vue_render__$
|
|
1151
|
+
var __vue_render__$F = function () {
|
|
1145
1152
|
var _vm = this;
|
|
1146
1153
|
|
|
1147
1154
|
var _h = _vm.$createElement;
|
|
@@ -1160,7 +1167,7 @@ var __vue_render__$E = function () {
|
|
|
1160
1167
|
})]);
|
|
1161
1168
|
};
|
|
1162
1169
|
|
|
1163
|
-
var __vue_staticRenderFns__$
|
|
1170
|
+
var __vue_staticRenderFns__$F = [];
|
|
1164
1171
|
/* style */
|
|
1165
1172
|
|
|
1166
1173
|
const __vue_inject_styles__$G = function (inject) {
|
|
@@ -1186,8 +1193,8 @@ const __vue_is_functional_template__$G = false;
|
|
|
1186
1193
|
/* style inject shadow dom */
|
|
1187
1194
|
|
|
1188
1195
|
const __vue_component__$G = /*#__PURE__*/normalizeComponent({
|
|
1189
|
-
render: __vue_render__$
|
|
1190
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
1196
|
+
render: __vue_render__$F,
|
|
1197
|
+
staticRenderFns: __vue_staticRenderFns__$F
|
|
1191
1198
|
}, __vue_inject_styles__$G, __vue_script__$G, __vue_scope_id__$G, __vue_is_functional_template__$G, __vue_module_identifier__$G, false, createInjector, undefined, undefined);
|
|
1192
1199
|
|
|
1193
1200
|
var Icon$1 = __vue_component__$G;
|
|
@@ -1888,7 +1895,7 @@ var script$E = {
|
|
|
1888
1895
|
const __vue_script__$F = script$E;
|
|
1889
1896
|
/* template */
|
|
1890
1897
|
|
|
1891
|
-
var __vue_render__$
|
|
1898
|
+
var __vue_render__$E = function () {
|
|
1892
1899
|
var _vm = this;
|
|
1893
1900
|
|
|
1894
1901
|
var _h = _vm.$createElement;
|
|
@@ -1902,7 +1909,7 @@ var __vue_render__$D = function () {
|
|
|
1902
1909
|
}, 'el-autocomplete', _vm.$attrs, false), _vm.$listeners));
|
|
1903
1910
|
};
|
|
1904
1911
|
|
|
1905
|
-
var __vue_staticRenderFns__$
|
|
1912
|
+
var __vue_staticRenderFns__$E = [];
|
|
1906
1913
|
/* style */
|
|
1907
1914
|
|
|
1908
1915
|
const __vue_inject_styles__$F = undefined;
|
|
@@ -1922,8 +1929,8 @@ const __vue_is_functional_template__$F = false;
|
|
|
1922
1929
|
/* style inject shadow dom */
|
|
1923
1930
|
|
|
1924
1931
|
const __vue_component__$F = /*#__PURE__*/normalizeComponent({
|
|
1925
|
-
render: __vue_render__$
|
|
1926
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
1932
|
+
render: __vue_render__$E,
|
|
1933
|
+
staticRenderFns: __vue_staticRenderFns__$E
|
|
1927
1934
|
}, __vue_inject_styles__$F, __vue_script__$F, __vue_scope_id__$F, __vue_is_functional_template__$F, __vue_module_identifier__$F, false, undefined, undefined, undefined);
|
|
1928
1935
|
|
|
1929
1936
|
var AutocompleteField = __vue_component__$F;
|
|
@@ -1976,7 +1983,7 @@ var script$D = {
|
|
|
1976
1983
|
const __vue_script__$E = script$D;
|
|
1977
1984
|
/* template */
|
|
1978
1985
|
|
|
1979
|
-
var __vue_render__$
|
|
1986
|
+
var __vue_render__$D = function () {
|
|
1980
1987
|
var _vm = this;
|
|
1981
1988
|
|
|
1982
1989
|
var _h = _vm.$createElement;
|
|
@@ -1996,7 +2003,7 @@ var __vue_render__$C = function () {
|
|
|
1996
2003
|
}, 'el-input', _vm.$attrs, false), _vm.$listeners));
|
|
1997
2004
|
};
|
|
1998
2005
|
|
|
1999
|
-
var __vue_staticRenderFns__$
|
|
2006
|
+
var __vue_staticRenderFns__$D = [];
|
|
2000
2007
|
/* style */
|
|
2001
2008
|
|
|
2002
2009
|
const __vue_inject_styles__$E = function (inject) {
|
|
@@ -2022,8 +2029,8 @@ const __vue_is_functional_template__$E = false;
|
|
|
2022
2029
|
/* style inject shadow dom */
|
|
2023
2030
|
|
|
2024
2031
|
const __vue_component__$E = /*#__PURE__*/normalizeComponent({
|
|
2025
|
-
render: __vue_render__$
|
|
2026
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
2032
|
+
render: __vue_render__$D,
|
|
2033
|
+
staticRenderFns: __vue_staticRenderFns__$D
|
|
2027
2034
|
}, __vue_inject_styles__$E, __vue_script__$E, __vue_scope_id__$E, __vue_is_functional_template__$E, __vue_module_identifier__$E, false, createInjector, undefined, undefined);
|
|
2028
2035
|
|
|
2029
2036
|
var TextField = __vue_component__$E;
|
|
@@ -2288,7 +2295,7 @@ var script$C = {
|
|
|
2288
2295
|
const __vue_script__$D = script$C;
|
|
2289
2296
|
/* template */
|
|
2290
2297
|
|
|
2291
|
-
var __vue_render__$
|
|
2298
|
+
var __vue_render__$C = function () {
|
|
2292
2299
|
var _vm = this;
|
|
2293
2300
|
|
|
2294
2301
|
var _h = _vm.$createElement;
|
|
@@ -2338,13 +2345,13 @@ var __vue_render__$B = function () {
|
|
|
2338
2345
|
}, [_vm._v("重新加载")])], 1) : _vm._e()], 1);
|
|
2339
2346
|
};
|
|
2340
2347
|
|
|
2341
|
-
var __vue_staticRenderFns__$
|
|
2348
|
+
var __vue_staticRenderFns__$C = [];
|
|
2342
2349
|
/* style */
|
|
2343
2350
|
|
|
2344
2351
|
const __vue_inject_styles__$D = function (inject) {
|
|
2345
2352
|
if (!inject) return;
|
|
2346
|
-
inject("data-v-
|
|
2347
|
-
source: ".ui-field-radio .empty[data-v-
|
|
2353
|
+
inject("data-v-e3949f02_0", {
|
|
2354
|
+
source: ".ui-field-radio .empty[data-v-e3949f02]{display:inline-flex;align-items:center;font-size:12px;color:#909399}.ui-field-radio>.el-radio-group[data-v-e3949f02]{display:inline-flex;flex-direction:row;flex-wrap:wrap;align-items:center}.ui-field-radio>.el-radio-group .el-radio[data-v-e3949f02]{line-height:36px}[data-v-e3949f02] .el-loading-mask .el-loading-spinner{margin-top:-14px}",
|
|
2348
2355
|
map: undefined,
|
|
2349
2356
|
media: undefined
|
|
2350
2357
|
});
|
|
@@ -2352,7 +2359,7 @@ const __vue_inject_styles__$D = function (inject) {
|
|
|
2352
2359
|
/* scoped */
|
|
2353
2360
|
|
|
2354
2361
|
|
|
2355
|
-
const __vue_scope_id__$D = "data-v-
|
|
2362
|
+
const __vue_scope_id__$D = "data-v-e3949f02";
|
|
2356
2363
|
/* module identifier */
|
|
2357
2364
|
|
|
2358
2365
|
const __vue_module_identifier__$D = undefined;
|
|
@@ -2364,8 +2371,8 @@ const __vue_is_functional_template__$D = false;
|
|
|
2364
2371
|
/* style inject shadow dom */
|
|
2365
2372
|
|
|
2366
2373
|
const __vue_component__$D = /*#__PURE__*/normalizeComponent({
|
|
2367
|
-
render: __vue_render__$
|
|
2368
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
2374
|
+
render: __vue_render__$C,
|
|
2375
|
+
staticRenderFns: __vue_staticRenderFns__$C
|
|
2369
2376
|
}, __vue_inject_styles__$D, __vue_script__$D, __vue_scope_id__$D, __vue_is_functional_template__$D, __vue_module_identifier__$D, false, createInjector, undefined, undefined);
|
|
2370
2377
|
|
|
2371
2378
|
var RadioField = __vue_component__$D;
|
|
@@ -2455,7 +2462,7 @@ var script$B = {
|
|
|
2455
2462
|
const __vue_script__$C = script$B;
|
|
2456
2463
|
/* template */
|
|
2457
2464
|
|
|
2458
|
-
var __vue_render__$
|
|
2465
|
+
var __vue_render__$B = function () {
|
|
2459
2466
|
var _vm = this;
|
|
2460
2467
|
|
|
2461
2468
|
var _h = _vm.$createElement;
|
|
@@ -2542,7 +2549,7 @@ var __vue_render__$A = function () {
|
|
|
2542
2549
|
}, [_vm._v("重新加载")])], 1) : _vm._e()], 1);
|
|
2543
2550
|
};
|
|
2544
2551
|
|
|
2545
|
-
var __vue_staticRenderFns__$
|
|
2552
|
+
var __vue_staticRenderFns__$B = [];
|
|
2546
2553
|
/* style */
|
|
2547
2554
|
|
|
2548
2555
|
const __vue_inject_styles__$C = function (inject) {
|
|
@@ -2568,8 +2575,8 @@ const __vue_is_functional_template__$C = false;
|
|
|
2568
2575
|
/* style inject shadow dom */
|
|
2569
2576
|
|
|
2570
2577
|
const __vue_component__$C = /*#__PURE__*/normalizeComponent({
|
|
2571
|
-
render: __vue_render__$
|
|
2572
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
2578
|
+
render: __vue_render__$B,
|
|
2579
|
+
staticRenderFns: __vue_staticRenderFns__$B
|
|
2573
2580
|
}, __vue_inject_styles__$C, __vue_script__$C, __vue_scope_id__$C, __vue_is_functional_template__$C, __vue_module_identifier__$C, false, createInjector, undefined, undefined);
|
|
2574
2581
|
|
|
2575
2582
|
var CheckboxField = __vue_component__$C;
|
|
@@ -2772,7 +2779,7 @@ var script$A = {
|
|
|
2772
2779
|
const __vue_script__$B = script$A;
|
|
2773
2780
|
/* template */
|
|
2774
2781
|
|
|
2775
|
-
var __vue_render__$
|
|
2782
|
+
var __vue_render__$A = function () {
|
|
2776
2783
|
var _vm = this;
|
|
2777
2784
|
|
|
2778
2785
|
var _h = _vm.$createElement;
|
|
@@ -2897,12 +2904,12 @@ var __vue_render__$z = function () {
|
|
|
2897
2904
|
})], 1)], 1) : _vm._e()], 1);
|
|
2898
2905
|
};
|
|
2899
2906
|
|
|
2900
|
-
var __vue_staticRenderFns__$
|
|
2907
|
+
var __vue_staticRenderFns__$A = [];
|
|
2901
2908
|
/* style */
|
|
2902
2909
|
|
|
2903
2910
|
const __vue_inject_styles__$B = function (inject) {
|
|
2904
2911
|
if (!inject) return;
|
|
2905
|
-
inject("data-v-
|
|
2912
|
+
inject("data-v-525e6b24_0", {
|
|
2906
2913
|
source: ".ui-field-select .el-select{width:100%}.ui-field-select .el-input-group--append .el-select .el-input.is-focus .el-input__inner{border-color:var(--color-primary)}.ui-field-select .empty{font-size:12px;color:#909399;display:flex;align-items:center}.ui-field-select .el-loading-mask .el-loading-spinner{margin-top:-14px}",
|
|
2907
2914
|
map: undefined,
|
|
2908
2915
|
media: undefined
|
|
@@ -2923,8 +2930,8 @@ const __vue_is_functional_template__$B = false;
|
|
|
2923
2930
|
/* style inject shadow dom */
|
|
2924
2931
|
|
|
2925
2932
|
const __vue_component__$B = /*#__PURE__*/normalizeComponent({
|
|
2926
|
-
render: __vue_render__$
|
|
2927
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
2933
|
+
render: __vue_render__$A,
|
|
2934
|
+
staticRenderFns: __vue_staticRenderFns__$A
|
|
2928
2935
|
}, __vue_inject_styles__$B, __vue_script__$B, __vue_scope_id__$B, __vue_is_functional_template__$B, __vue_module_identifier__$B, false, createInjector, undefined, undefined);
|
|
2929
2936
|
|
|
2930
2937
|
var SelectField = __vue_component__$B;
|
|
@@ -2964,7 +2971,7 @@ var script$z = {
|
|
|
2964
2971
|
const __vue_script__$A = script$z;
|
|
2965
2972
|
/* template */
|
|
2966
2973
|
|
|
2967
|
-
var __vue_render__$
|
|
2974
|
+
var __vue_render__$z = function () {
|
|
2968
2975
|
var _vm = this;
|
|
2969
2976
|
|
|
2970
2977
|
var _h = _vm.$createElement;
|
|
@@ -2980,7 +2987,7 @@ var __vue_render__$y = function () {
|
|
|
2980
2987
|
}, 'el-input-number', _vm.$attrs, false), _vm.$listeners));
|
|
2981
2988
|
};
|
|
2982
2989
|
|
|
2983
|
-
var __vue_staticRenderFns__$
|
|
2990
|
+
var __vue_staticRenderFns__$z = [];
|
|
2984
2991
|
/* style */
|
|
2985
2992
|
|
|
2986
2993
|
const __vue_inject_styles__$A = function (inject) {
|
|
@@ -3006,8 +3013,8 @@ const __vue_is_functional_template__$A = false;
|
|
|
3006
3013
|
/* style inject shadow dom */
|
|
3007
3014
|
|
|
3008
3015
|
const __vue_component__$A = /*#__PURE__*/normalizeComponent({
|
|
3009
|
-
render: __vue_render__$
|
|
3010
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
3016
|
+
render: __vue_render__$z,
|
|
3017
|
+
staticRenderFns: __vue_staticRenderFns__$z
|
|
3011
3018
|
}, __vue_inject_styles__$A, __vue_script__$A, __vue_scope_id__$A, __vue_is_functional_template__$A, __vue_module_identifier__$A, false, createInjector, undefined, undefined);
|
|
3012
3019
|
|
|
3013
3020
|
var NumberField = __vue_component__$A;
|
|
@@ -3247,7 +3254,7 @@ var script$y = {
|
|
|
3247
3254
|
const __vue_script__$z = script$y;
|
|
3248
3255
|
/* template */
|
|
3249
3256
|
|
|
3250
|
-
var __vue_render__$
|
|
3257
|
+
var __vue_render__$y = function () {
|
|
3251
3258
|
var _vm = this;
|
|
3252
3259
|
|
|
3253
3260
|
var _h = _vm.$createElement;
|
|
@@ -3311,13 +3318,13 @@ var __vue_render__$x = function () {
|
|
|
3311
3318
|
})], 1)], 1) : _vm._e()], 1);
|
|
3312
3319
|
};
|
|
3313
3320
|
|
|
3314
|
-
var __vue_staticRenderFns__$
|
|
3321
|
+
var __vue_staticRenderFns__$y = [];
|
|
3315
3322
|
/* style */
|
|
3316
3323
|
|
|
3317
3324
|
const __vue_inject_styles__$z = function (inject) {
|
|
3318
3325
|
if (!inject) return;
|
|
3319
|
-
inject("data-v-
|
|
3320
|
-
source: ".ui-cascade-field[data-v-
|
|
3326
|
+
inject("data-v-682ee118_0", {
|
|
3327
|
+
source: ".ui-cascade-field[data-v-682ee118]{width:100%}.ui-cascade-field-popper[data-v-682ee118]{z-index:99999!important}.ui-cascade-field-popper .el-cascader-menu__item[data-v-682ee118]{padding-right:30px}[data-v-682ee118] .el-loading-mask .el-loading-spinner{margin-top:-14px}",
|
|
3321
3328
|
map: undefined,
|
|
3322
3329
|
media: undefined
|
|
3323
3330
|
});
|
|
@@ -3325,7 +3332,7 @@ const __vue_inject_styles__$z = function (inject) {
|
|
|
3325
3332
|
/* scoped */
|
|
3326
3333
|
|
|
3327
3334
|
|
|
3328
|
-
const __vue_scope_id__$z = "data-v-
|
|
3335
|
+
const __vue_scope_id__$z = "data-v-682ee118";
|
|
3329
3336
|
/* module identifier */
|
|
3330
3337
|
|
|
3331
3338
|
const __vue_module_identifier__$z = undefined;
|
|
@@ -3337,8 +3344,8 @@ const __vue_is_functional_template__$z = false;
|
|
|
3337
3344
|
/* style inject shadow dom */
|
|
3338
3345
|
|
|
3339
3346
|
const __vue_component__$z = /*#__PURE__*/normalizeComponent({
|
|
3340
|
-
render: __vue_render__$
|
|
3341
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
3347
|
+
render: __vue_render__$y,
|
|
3348
|
+
staticRenderFns: __vue_staticRenderFns__$y
|
|
3342
3349
|
}, __vue_inject_styles__$z, __vue_script__$z, __vue_scope_id__$z, __vue_is_functional_template__$z, __vue_module_identifier__$z, false, createInjector, undefined, undefined);
|
|
3343
3350
|
|
|
3344
3351
|
var CascadeField = __vue_component__$z;
|
|
@@ -3552,7 +3559,7 @@ var script$x = {
|
|
|
3552
3559
|
const __vue_script__$y = script$x;
|
|
3553
3560
|
/* template */
|
|
3554
3561
|
|
|
3555
|
-
var __vue_render__$
|
|
3562
|
+
var __vue_render__$x = function () {
|
|
3556
3563
|
var _vm = this;
|
|
3557
3564
|
|
|
3558
3565
|
var _h = _vm.$createElement;
|
|
@@ -3576,7 +3583,7 @@ var __vue_render__$w = function () {
|
|
|
3576
3583
|
}, 'el-date-picker', _vm.$attrs, false), _vm._listeners));
|
|
3577
3584
|
};
|
|
3578
3585
|
|
|
3579
|
-
var __vue_staticRenderFns__$
|
|
3586
|
+
var __vue_staticRenderFns__$x = [];
|
|
3580
3587
|
/* style */
|
|
3581
3588
|
|
|
3582
3589
|
const __vue_inject_styles__$y = function (inject) {
|
|
@@ -3602,8 +3609,8 @@ const __vue_is_functional_template__$y = false;
|
|
|
3602
3609
|
/* style inject shadow dom */
|
|
3603
3610
|
|
|
3604
3611
|
const __vue_component__$y = /*#__PURE__*/normalizeComponent({
|
|
3605
|
-
render: __vue_render__$
|
|
3606
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
3612
|
+
render: __vue_render__$x,
|
|
3613
|
+
staticRenderFns: __vue_staticRenderFns__$x
|
|
3607
3614
|
}, __vue_inject_styles__$y, __vue_script__$y, __vue_scope_id__$y, __vue_is_functional_template__$y, __vue_module_identifier__$y, false, createInjector, undefined, undefined);
|
|
3608
3615
|
|
|
3609
3616
|
var DateField = __vue_component__$y;
|
|
@@ -3678,7 +3685,7 @@ var script$w = {
|
|
|
3678
3685
|
const __vue_script__$x = script$w;
|
|
3679
3686
|
/* template */
|
|
3680
3687
|
|
|
3681
|
-
var __vue_render__$
|
|
3688
|
+
var __vue_render__$w = function () {
|
|
3682
3689
|
var _vm = this;
|
|
3683
3690
|
|
|
3684
3691
|
var _h = _vm.$createElement;
|
|
@@ -3700,7 +3707,7 @@ var __vue_render__$v = function () {
|
|
|
3700
3707
|
}, 'el-time-picker', _vm.$attrs, false), _vm._listeners));
|
|
3701
3708
|
};
|
|
3702
3709
|
|
|
3703
|
-
var __vue_staticRenderFns__$
|
|
3710
|
+
var __vue_staticRenderFns__$w = [];
|
|
3704
3711
|
/* style */
|
|
3705
3712
|
|
|
3706
3713
|
const __vue_inject_styles__$x = function (inject) {
|
|
@@ -3726,8 +3733,8 @@ const __vue_is_functional_template__$x = false;
|
|
|
3726
3733
|
/* style inject shadow dom */
|
|
3727
3734
|
|
|
3728
3735
|
const __vue_component__$x = /*#__PURE__*/normalizeComponent({
|
|
3729
|
-
render: __vue_render__$
|
|
3730
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
3736
|
+
render: __vue_render__$w,
|
|
3737
|
+
staticRenderFns: __vue_staticRenderFns__$w
|
|
3731
3738
|
}, __vue_inject_styles__$x, __vue_script__$x, __vue_scope_id__$x, __vue_is_functional_template__$x, __vue_module_identifier__$x, false, createInjector, undefined, undefined);
|
|
3732
3739
|
|
|
3733
3740
|
var TimePickerField = __vue_component__$x;
|
|
@@ -3749,7 +3756,7 @@ var script$v = {
|
|
|
3749
3756
|
const __vue_script__$w = script$v;
|
|
3750
3757
|
/* template */
|
|
3751
3758
|
|
|
3752
|
-
var __vue_render__$
|
|
3759
|
+
var __vue_render__$v = function () {
|
|
3753
3760
|
var _vm = this;
|
|
3754
3761
|
|
|
3755
3762
|
var _h = _vm.$createElement;
|
|
@@ -3764,7 +3771,7 @@ var __vue_render__$u = function () {
|
|
|
3764
3771
|
}, 'el-time-select', _vm.$attrs, false), _vm.$listeners));
|
|
3765
3772
|
};
|
|
3766
3773
|
|
|
3767
|
-
var __vue_staticRenderFns__$
|
|
3774
|
+
var __vue_staticRenderFns__$v = [];
|
|
3768
3775
|
/* style */
|
|
3769
3776
|
|
|
3770
3777
|
const __vue_inject_styles__$w = function (inject) {
|
|
@@ -3790,8 +3797,8 @@ const __vue_is_functional_template__$w = false;
|
|
|
3790
3797
|
/* style inject shadow dom */
|
|
3791
3798
|
|
|
3792
3799
|
const __vue_component__$w = /*#__PURE__*/normalizeComponent({
|
|
3793
|
-
render: __vue_render__$
|
|
3794
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
3800
|
+
render: __vue_render__$v,
|
|
3801
|
+
staticRenderFns: __vue_staticRenderFns__$v
|
|
3795
3802
|
}, __vue_inject_styles__$w, __vue_script__$w, __vue_scope_id__$w, __vue_is_functional_template__$w, __vue_module_identifier__$w, false, createInjector, undefined, undefined);
|
|
3796
3803
|
|
|
3797
3804
|
var TimeSelectField = __vue_component__$w;
|
|
@@ -3860,7 +3867,7 @@ var script$u = {
|
|
|
3860
3867
|
const __vue_script__$v = script$u;
|
|
3861
3868
|
/* template */
|
|
3862
3869
|
|
|
3863
|
-
var __vue_render__$
|
|
3870
|
+
var __vue_render__$u = function () {
|
|
3864
3871
|
var _vm = this;
|
|
3865
3872
|
|
|
3866
3873
|
var _h = _vm.$createElement;
|
|
@@ -3906,7 +3913,7 @@ var __vue_render__$t = function () {
|
|
|
3906
3913
|
})], 1);
|
|
3907
3914
|
};
|
|
3908
3915
|
|
|
3909
|
-
var __vue_staticRenderFns__$
|
|
3916
|
+
var __vue_staticRenderFns__$u = [];
|
|
3910
3917
|
/* style */
|
|
3911
3918
|
|
|
3912
3919
|
const __vue_inject_styles__$v = function (inject) {
|
|
@@ -3932,8 +3939,8 @@ const __vue_is_functional_template__$v = false;
|
|
|
3932
3939
|
/* style inject shadow dom */
|
|
3933
3940
|
|
|
3934
3941
|
const __vue_component__$v = /*#__PURE__*/normalizeComponent({
|
|
3935
|
-
render: __vue_render__$
|
|
3936
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
3942
|
+
render: __vue_render__$u,
|
|
3943
|
+
staticRenderFns: __vue_staticRenderFns__$u
|
|
3937
3944
|
}, __vue_inject_styles__$v, __vue_script__$v, __vue_scope_id__$v, __vue_is_functional_template__$v, __vue_module_identifier__$v, false, createInjector, undefined, undefined);
|
|
3938
3945
|
|
|
3939
3946
|
var DatecCalendarField = __vue_component__$v;
|
|
@@ -4012,7 +4019,7 @@ var script$t = {
|
|
|
4012
4019
|
const __vue_script__$u = script$t;
|
|
4013
4020
|
/* template */
|
|
4014
4021
|
|
|
4015
|
-
var __vue_render__$
|
|
4022
|
+
var __vue_render__$t = function () {
|
|
4016
4023
|
var _vm = this;
|
|
4017
4024
|
|
|
4018
4025
|
var _h = _vm.$createElement;
|
|
@@ -4038,7 +4045,7 @@ var __vue_render__$s = function () {
|
|
|
4038
4045
|
}, 'el-slider', _vm.$attrs, false), _vm._listeners));
|
|
4039
4046
|
};
|
|
4040
4047
|
|
|
4041
|
-
var __vue_staticRenderFns__$
|
|
4048
|
+
var __vue_staticRenderFns__$t = [];
|
|
4042
4049
|
/* style */
|
|
4043
4050
|
|
|
4044
4051
|
const __vue_inject_styles__$u = undefined;
|
|
@@ -4058,8 +4065,8 @@ const __vue_is_functional_template__$u = false;
|
|
|
4058
4065
|
/* style inject shadow dom */
|
|
4059
4066
|
|
|
4060
4067
|
const __vue_component__$u = /*#__PURE__*/normalizeComponent({
|
|
4061
|
-
render: __vue_render__$
|
|
4062
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
4068
|
+
render: __vue_render__$t,
|
|
4069
|
+
staticRenderFns: __vue_staticRenderFns__$t
|
|
4063
4070
|
}, __vue_inject_styles__$u, __vue_script__$u, __vue_scope_id__$u, __vue_is_functional_template__$u, __vue_module_identifier__$u, false, undefined, undefined, undefined);
|
|
4064
4071
|
|
|
4065
4072
|
var SliderField = __vue_component__$u;
|
|
@@ -4074,7 +4081,7 @@ var script$s = {
|
|
|
4074
4081
|
const __vue_script__$t = script$s;
|
|
4075
4082
|
/* template */
|
|
4076
4083
|
|
|
4077
|
-
var __vue_render__$
|
|
4084
|
+
var __vue_render__$s = function () {
|
|
4078
4085
|
var _vm = this;
|
|
4079
4086
|
|
|
4080
4087
|
var _h = _vm.$createElement;
|
|
@@ -4088,7 +4095,7 @@ var __vue_render__$r = function () {
|
|
|
4088
4095
|
}, 'el-switch', _vm.$attrs, false), _vm.$listeners));
|
|
4089
4096
|
};
|
|
4090
4097
|
|
|
4091
|
-
var __vue_staticRenderFns__$
|
|
4098
|
+
var __vue_staticRenderFns__$s = [];
|
|
4092
4099
|
/* style */
|
|
4093
4100
|
|
|
4094
4101
|
const __vue_inject_styles__$t = undefined;
|
|
@@ -4108,8 +4115,8 @@ const __vue_is_functional_template__$t = false;
|
|
|
4108
4115
|
/* style inject shadow dom */
|
|
4109
4116
|
|
|
4110
4117
|
const __vue_component__$t = /*#__PURE__*/normalizeComponent({
|
|
4111
|
-
render: __vue_render__$
|
|
4112
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
4118
|
+
render: __vue_render__$s,
|
|
4119
|
+
staticRenderFns: __vue_staticRenderFns__$s
|
|
4113
4120
|
}, __vue_inject_styles__$t, __vue_script__$t, __vue_scope_id__$t, __vue_is_functional_template__$t, __vue_module_identifier__$t, false, undefined, undefined, undefined);
|
|
4114
4121
|
|
|
4115
4122
|
var SwitchField = __vue_component__$t;
|
|
@@ -4152,7 +4159,7 @@ var script$r = {
|
|
|
4152
4159
|
const __vue_script__$s = script$r;
|
|
4153
4160
|
/* template */
|
|
4154
4161
|
|
|
4155
|
-
var __vue_render__$
|
|
4162
|
+
var __vue_render__$r = function () {
|
|
4156
4163
|
var _vm = this;
|
|
4157
4164
|
|
|
4158
4165
|
var _h = _vm.$createElement;
|
|
@@ -4173,7 +4180,7 @@ var __vue_render__$q = function () {
|
|
|
4173
4180
|
}, 'el-rate', _vm.$attrs, false), _vm._listeners));
|
|
4174
4181
|
};
|
|
4175
4182
|
|
|
4176
|
-
var __vue_staticRenderFns__$
|
|
4183
|
+
var __vue_staticRenderFns__$r = [];
|
|
4177
4184
|
/* style */
|
|
4178
4185
|
|
|
4179
4186
|
const __vue_inject_styles__$s = undefined;
|
|
@@ -4193,8 +4200,8 @@ const __vue_is_functional_template__$s = false;
|
|
|
4193
4200
|
/* style inject shadow dom */
|
|
4194
4201
|
|
|
4195
4202
|
const __vue_component__$s = /*#__PURE__*/normalizeComponent({
|
|
4196
|
-
render: __vue_render__$
|
|
4197
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
4203
|
+
render: __vue_render__$r,
|
|
4204
|
+
staticRenderFns: __vue_staticRenderFns__$r
|
|
4198
4205
|
}, __vue_inject_styles__$s, __vue_script__$s, __vue_scope_id__$s, __vue_is_functional_template__$s, __vue_module_identifier__$s, false, undefined, undefined, undefined);
|
|
4199
4206
|
|
|
4200
4207
|
var RateField = __vue_component__$s;
|
|
@@ -4215,7 +4222,7 @@ var script$q = {
|
|
|
4215
4222
|
const __vue_script__$r = script$q;
|
|
4216
4223
|
/* template */
|
|
4217
4224
|
|
|
4218
|
-
var __vue_render__$
|
|
4225
|
+
var __vue_render__$q = function () {
|
|
4219
4226
|
var _vm = this;
|
|
4220
4227
|
|
|
4221
4228
|
var _h = _vm.$createElement;
|
|
@@ -4231,7 +4238,7 @@ var __vue_render__$p = function () {
|
|
|
4231
4238
|
}, 'el-color-picker', _vm.$attrs, false), _vm.$listeners));
|
|
4232
4239
|
};
|
|
4233
4240
|
|
|
4234
|
-
var __vue_staticRenderFns__$
|
|
4241
|
+
var __vue_staticRenderFns__$q = [];
|
|
4235
4242
|
/* style */
|
|
4236
4243
|
|
|
4237
4244
|
const __vue_inject_styles__$r = function (inject) {
|
|
@@ -4257,8 +4264,8 @@ const __vue_is_functional_template__$r = false;
|
|
|
4257
4264
|
/* style inject shadow dom */
|
|
4258
4265
|
|
|
4259
4266
|
const __vue_component__$r = /*#__PURE__*/normalizeComponent({
|
|
4260
|
-
render: __vue_render__$
|
|
4261
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
4267
|
+
render: __vue_render__$q,
|
|
4268
|
+
staticRenderFns: __vue_staticRenderFns__$q
|
|
4262
4269
|
}, __vue_inject_styles__$r, __vue_script__$r, __vue_scope_id__$r, __vue_is_functional_template__$r, __vue_module_identifier__$r, false, createInjector, undefined, undefined);
|
|
4263
4270
|
|
|
4264
4271
|
var ColorField = __vue_component__$r;
|
|
@@ -4495,7 +4502,7 @@ const RichField$1 = {
|
|
|
4495
4502
|
const __vue_script__$q = RichField$1;
|
|
4496
4503
|
/* template */
|
|
4497
4504
|
|
|
4498
|
-
var __vue_render__$
|
|
4505
|
+
var __vue_render__$p = function () {
|
|
4499
4506
|
var _vm = this;
|
|
4500
4507
|
|
|
4501
4508
|
var _h = _vm.$createElement;
|
|
@@ -4513,17 +4520,17 @@ var __vue_render__$o = function () {
|
|
|
4513
4520
|
});
|
|
4514
4521
|
};
|
|
4515
4522
|
|
|
4516
|
-
var __vue_staticRenderFns__$
|
|
4523
|
+
var __vue_staticRenderFns__$p = [];
|
|
4517
4524
|
/* style */
|
|
4518
4525
|
|
|
4519
4526
|
const __vue_inject_styles__$q = function (inject) {
|
|
4520
4527
|
if (!inject) return;
|
|
4521
|
-
inject("data-v-
|
|
4528
|
+
inject("data-v-29bc4604_0", {
|
|
4522
4529
|
source: ".quill-editor .ql-font span[data-value=Arial]::before{content:\"Arial\"!important;font-family:Arial,serif}.quill-editor .ql-font span[data-value=FangSong]::before{content:\"仿宋\"!important;font-family:\"仿宋_GB2312\",FangSong_GB2312,\"宋体\",SimSun,STFangsong,STSong,serif}.quill-editor .ql-font span[data-value=HeiTi]::before{content:\"黑体\"!important;font-family:\"黑体\",SimHei,\"微软正黑体\",\"Microsoft JhengHei\",STHeiti,serif}.quill-editor .ql-font span[data-value=Microsoft]::before{content:\"微软雅黑\"!important;font-family:\"微软雅黑\",\"Microsoft YaHei\",serif}.quill-editor .ql-font-Arial{font-family:Arial,serif}.quill-editor .ql-font-FangSong{font-family:\"仿宋_GB2312\",FangSong_GB2312,\"宋体\",SimSun,STFangsong,STSong,serif}.quill-editor .ql-font-HeiTi{font-family:\"黑体\",SimHei,\"微软正黑体\",\"Microsoft JhengHei\",STHeiti,serif}.quill-editor .ql-font-Microsoft{font-family:\"微软雅黑\",\"Microsoft YaHei\",serif}",
|
|
4523
4530
|
map: undefined,
|
|
4524
4531
|
media: undefined
|
|
4525
|
-
}), inject("data-v-
|
|
4526
|
-
source: ".quill-editor[data-v-
|
|
4532
|
+
}), inject("data-v-29bc4604_1", {
|
|
4533
|
+
source: ".quill-editor[data-v-29bc4604]{width:100%;display:flex;align-items:initial!important;flex-direction:column}.quill-editor .ql-toolbar[data-v-29bc4604]{flex:none}.quill-editor .ql-container[data-v-29bc4604]{flex:auto;height:initial;display:flex;flex-direction:column}.quill-editor .ql-container .ql-editor[data-v-29bc4604]{flex:auto}.quill-editor[data-v-29bc4604] .ql-editor{min-height:200px}",
|
|
4527
4534
|
map: undefined,
|
|
4528
4535
|
media: undefined
|
|
4529
4536
|
});
|
|
@@ -4531,7 +4538,7 @@ const __vue_inject_styles__$q = function (inject) {
|
|
|
4531
4538
|
/* scoped */
|
|
4532
4539
|
|
|
4533
4540
|
|
|
4534
|
-
const __vue_scope_id__$q = "data-v-
|
|
4541
|
+
const __vue_scope_id__$q = "data-v-29bc4604";
|
|
4535
4542
|
/* module identifier */
|
|
4536
4543
|
|
|
4537
4544
|
const __vue_module_identifier__$q = undefined;
|
|
@@ -4543,8 +4550,8 @@ const __vue_is_functional_template__$q = false;
|
|
|
4543
4550
|
/* style inject shadow dom */
|
|
4544
4551
|
|
|
4545
4552
|
const __vue_component__$q = /*#__PURE__*/normalizeComponent({
|
|
4546
|
-
render: __vue_render__$
|
|
4547
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
4553
|
+
render: __vue_render__$p,
|
|
4554
|
+
staticRenderFns: __vue_staticRenderFns__$p
|
|
4548
4555
|
}, __vue_inject_styles__$q, __vue_script__$q, __vue_scope_id__$q, __vue_is_functional_template__$q, __vue_module_identifier__$q, false, createInjector, undefined, undefined);
|
|
4549
4556
|
|
|
4550
4557
|
var RichField = __vue_component__$q;
|
|
@@ -4615,7 +4622,7 @@ var script$p = {
|
|
|
4615
4622
|
},
|
|
4616
4623
|
createAttachmentUrl: {
|
|
4617
4624
|
type: String,
|
|
4618
|
-
default: '/
|
|
4625
|
+
default: '/System/SystemSysAttachment/create'
|
|
4619
4626
|
},
|
|
4620
4627
|
createAttachmentParams: null,
|
|
4621
4628
|
createAttachment: {
|
|
@@ -4731,7 +4738,7 @@ var script$p = {
|
|
|
4731
4738
|
const __vue_script__$p = script$p;
|
|
4732
4739
|
/* template */
|
|
4733
4740
|
|
|
4734
|
-
var __vue_render__$
|
|
4741
|
+
var __vue_render__$o = function () {
|
|
4735
4742
|
var _vm = this;
|
|
4736
4743
|
|
|
4737
4744
|
var _h = _vm.$createElement;
|
|
@@ -4788,13 +4795,13 @@ var __vue_render__$n = function () {
|
|
|
4788
4795
|
})], 2)], 1);
|
|
4789
4796
|
};
|
|
4790
4797
|
|
|
4791
|
-
var __vue_staticRenderFns__$
|
|
4798
|
+
var __vue_staticRenderFns__$o = [];
|
|
4792
4799
|
/* style */
|
|
4793
4800
|
|
|
4794
4801
|
const __vue_inject_styles__$p = function (inject) {
|
|
4795
4802
|
if (!inject) return;
|
|
4796
|
-
inject("data-v-
|
|
4797
|
-
source: ".ui-file-upload-field[data-v-
|
|
4803
|
+
inject("data-v-6ad1ec4e_0", {
|
|
4804
|
+
source: ".ui-file-upload-field[data-v-6ad1ec4e]{width:100%}.ui-file-upload-field .uploader[data-v-6ad1ec4e]{margin-bottom:5px}.ui-file-upload-field .uploader.disabled[data-v-6ad1ec4e] .el-upload{cursor:not-allowed;pointer-events:none}.ui-file-upload-field .uploader.disabled[data-v-6ad1ec4e] .el-upload .upload-btn{color:#888c94;background-color:#edeef0}.ui-file-upload-field .upload-btn[data-v-6ad1ec4e]{padding:5px 10px;line-height:1;background-color:#409eff;color:#fff;font-size:12px;transition:background-color .3s}.ui-file-upload-field .upload-btn[data-v-6ad1ec4e]:hover{background-color:#0d84ff}.ui-file-upload-field .files .file[data-v-6ad1ec4e]{color:#606266;font-size:14px;transition:all .3s;cursor:pointer;line-height:28px;display:flex;align-items:center}.ui-file-upload-field .files .file a[data-v-6ad1ec4e]{flex:1;color:#606266;transition:all .3s;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-file-upload-field .files .file .close[data-v-6ad1ec4e]{color:transparent;width:28px;text-align:center;visibility:hidden;transition:color .3s;font-weight:700}.ui-file-upload-field .files .file[data-v-6ad1ec4e]:hover{background-color:#f5f7fa}.ui-file-upload-field .files .file:hover a[data-v-6ad1ec4e]{color:#409eff}.ui-file-upload-field .files .file:hover .close[data-v-6ad1ec4e]{color:#409eff;visibility:visible}",
|
|
4798
4805
|
map: undefined,
|
|
4799
4806
|
media: undefined
|
|
4800
4807
|
});
|
|
@@ -4802,7 +4809,7 @@ const __vue_inject_styles__$p = function (inject) {
|
|
|
4802
4809
|
/* scoped */
|
|
4803
4810
|
|
|
4804
4811
|
|
|
4805
|
-
const __vue_scope_id__$p = "data-v-
|
|
4812
|
+
const __vue_scope_id__$p = "data-v-6ad1ec4e";
|
|
4806
4813
|
/* module identifier */
|
|
4807
4814
|
|
|
4808
4815
|
const __vue_module_identifier__$p = undefined;
|
|
@@ -4814,8 +4821,8 @@ const __vue_is_functional_template__$p = false;
|
|
|
4814
4821
|
/* style inject shadow dom */
|
|
4815
4822
|
|
|
4816
4823
|
const __vue_component__$p = /*#__PURE__*/normalizeComponent({
|
|
4817
|
-
render: __vue_render__$
|
|
4818
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
4824
|
+
render: __vue_render__$o,
|
|
4825
|
+
staticRenderFns: __vue_staticRenderFns__$o
|
|
4819
4826
|
}, __vue_inject_styles__$p, __vue_script__$p, __vue_scope_id__$p, __vue_is_functional_template__$p, __vue_module_identifier__$p, false, createInjector, undefined, undefined);
|
|
4820
4827
|
|
|
4821
4828
|
var FileUploadField = __vue_component__$p;
|
|
@@ -4844,7 +4851,7 @@ var script$o = {
|
|
|
4844
4851
|
const __vue_script__$o = script$o;
|
|
4845
4852
|
/* template */
|
|
4846
4853
|
|
|
4847
|
-
var __vue_render__$
|
|
4854
|
+
var __vue_render__$n = function () {
|
|
4848
4855
|
var _vm = this;
|
|
4849
4856
|
|
|
4850
4857
|
var _h = _vm.$createElement;
|
|
@@ -4900,7 +4907,7 @@ var __vue_render__$m = function () {
|
|
|
4900
4907
|
}), _vm._v(" "), _c('span', [_vm._v("上传图片")])])]) : _vm._e()], 2);
|
|
4901
4908
|
};
|
|
4902
4909
|
|
|
4903
|
-
var __vue_staticRenderFns__$
|
|
4910
|
+
var __vue_staticRenderFns__$n = [];
|
|
4904
4911
|
/* style */
|
|
4905
4912
|
|
|
4906
4913
|
const __vue_inject_styles__$o = function (inject) {
|
|
@@ -4926,8 +4933,8 @@ const __vue_is_functional_template__$o = false;
|
|
|
4926
4933
|
/* style inject shadow dom */
|
|
4927
4934
|
|
|
4928
4935
|
const __vue_component__$o = /*#__PURE__*/normalizeComponent({
|
|
4929
|
-
render: __vue_render__$
|
|
4930
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
4936
|
+
render: __vue_render__$n,
|
|
4937
|
+
staticRenderFns: __vue_staticRenderFns__$n
|
|
4931
4938
|
}, __vue_inject_styles__$o, __vue_script__$o, __vue_scope_id__$o, __vue_is_functional_template__$o, __vue_module_identifier__$o, false, createInjector, undefined, undefined);
|
|
4932
4939
|
|
|
4933
4940
|
var ImageUploadField = __vue_component__$o;
|
|
@@ -4971,7 +4978,7 @@ var script$n = {
|
|
|
4971
4978
|
const __vue_script__$n = script$n;
|
|
4972
4979
|
/* template */
|
|
4973
4980
|
|
|
4974
|
-
var __vue_render__$
|
|
4981
|
+
var __vue_render__$m = function () {
|
|
4975
4982
|
var _vm = this;
|
|
4976
4983
|
|
|
4977
4984
|
var _h = _vm.$createElement;
|
|
@@ -5013,7 +5020,7 @@ var __vue_render__$l = function () {
|
|
|
5013
5020
|
}, 'ui-dialog', _vm.dialog, false), _vm.$listeners), [_vm._t("default")], 2)], 1);
|
|
5014
5021
|
};
|
|
5015
5022
|
|
|
5016
|
-
var __vue_staticRenderFns__$
|
|
5023
|
+
var __vue_staticRenderFns__$m = [];
|
|
5017
5024
|
/* style */
|
|
5018
5025
|
|
|
5019
5026
|
const __vue_inject_styles__$n = undefined;
|
|
@@ -5033,8 +5040,8 @@ const __vue_is_functional_template__$n = false;
|
|
|
5033
5040
|
/* style inject shadow dom */
|
|
5034
5041
|
|
|
5035
5042
|
const __vue_component__$n = /*#__PURE__*/normalizeComponent({
|
|
5036
|
-
render: __vue_render__$
|
|
5037
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
5043
|
+
render: __vue_render__$m,
|
|
5044
|
+
staticRenderFns: __vue_staticRenderFns__$m
|
|
5038
5045
|
}, __vue_inject_styles__$n, __vue_script__$n, __vue_scope_id__$n, __vue_is_functional_template__$n, __vue_module_identifier__$n, false, undefined, undefined, undefined);
|
|
5039
5046
|
|
|
5040
5047
|
var DialogTrigger = __vue_component__$n;
|
|
@@ -5092,7 +5099,7 @@ var script$m = {
|
|
|
5092
5099
|
const __vue_script__$m = script$m;
|
|
5093
5100
|
/* template */
|
|
5094
5101
|
|
|
5095
|
-
var __vue_render__$
|
|
5102
|
+
var __vue_render__$l = function () {
|
|
5096
5103
|
var _vm = this;
|
|
5097
5104
|
|
|
5098
5105
|
var _h = _vm.$createElement;
|
|
@@ -5137,7 +5144,7 @@ var __vue_render__$k = function () {
|
|
|
5137
5144
|
})], 2)], 2);
|
|
5138
5145
|
};
|
|
5139
5146
|
|
|
5140
|
-
var __vue_staticRenderFns__$
|
|
5147
|
+
var __vue_staticRenderFns__$l = [];
|
|
5141
5148
|
/* style */
|
|
5142
5149
|
|
|
5143
5150
|
const __vue_inject_styles__$m = function (inject) {
|
|
@@ -5163,8 +5170,8 @@ const __vue_is_functional_template__$m = false;
|
|
|
5163
5170
|
/* style inject shadow dom */
|
|
5164
5171
|
|
|
5165
5172
|
const __vue_component__$m = /*#__PURE__*/normalizeComponent({
|
|
5166
|
-
render: __vue_render__$
|
|
5167
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
5173
|
+
render: __vue_render__$l,
|
|
5174
|
+
staticRenderFns: __vue_staticRenderFns__$l
|
|
5168
5175
|
}, __vue_inject_styles__$m, __vue_script__$m, __vue_scope_id__$m, __vue_is_functional_template__$m, __vue_module_identifier__$m, false, createInjector, undefined, undefined);
|
|
5169
5176
|
|
|
5170
5177
|
var PopoverTrigger = __vue_component__$m;
|
|
@@ -5251,7 +5258,7 @@ var script$l = {
|
|
|
5251
5258
|
const __vue_script__$l = script$l;
|
|
5252
5259
|
/* template */
|
|
5253
5260
|
|
|
5254
|
-
var __vue_render__$
|
|
5261
|
+
var __vue_render__$k = function () {
|
|
5255
5262
|
var _vm = this;
|
|
5256
5263
|
|
|
5257
5264
|
var _h = _vm.$createElement;
|
|
@@ -5321,13 +5328,13 @@ var __vue_render__$j = function () {
|
|
|
5321
5328
|
}), 0)])], 1)]);
|
|
5322
5329
|
};
|
|
5323
5330
|
|
|
5324
|
-
var __vue_staticRenderFns__$
|
|
5331
|
+
var __vue_staticRenderFns__$k = [];
|
|
5325
5332
|
/* style */
|
|
5326
5333
|
|
|
5327
5334
|
const __vue_inject_styles__$l = function (inject) {
|
|
5328
5335
|
if (!inject) return;
|
|
5329
|
-
inject("data-v-
|
|
5330
|
-
source: ".ui-field-icons .filter[data-v-
|
|
5336
|
+
inject("data-v-ff53bcba_0", {
|
|
5337
|
+
source: ".ui-field-icons .filter[data-v-ff53bcba]{margin-bottom:10px}.ui-field-icons .filter[data-v-ff53bcba] .el-input__validateIcon{display:none}.ui-field-icons .scroll[data-v-ff53bcba]{height:200px;overflow:auto}.ui-field-icons .icons[data-v-ff53bcba]{display:flex;flex-wrap:wrap}.ui-field-icons .icons .icon[data-v-ff53bcba]{flex:none;width:150px;height:28px;margin:2px;padding:4px;border-radius:2px;cursor:pointer;transition:all .3s;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;flex-direction:row;align-items:center}.ui-field-icons .icons .icon[data-v-ff53bcba]:hover{background:#eaeaea}.ui-field-icons .icons .icon.active[data-v-ff53bcba]{color:#409eff;box-shadow:inset 0 0 3px #666}.ui-field-icons .icons .icon .ui-icon[data-v-ff53bcba]{margin-right:4px}.ui-field-icons .icons .icon span[data-v-ff53bcba]{flex:1}",
|
|
5331
5338
|
map: undefined,
|
|
5332
5339
|
media: undefined
|
|
5333
5340
|
});
|
|
@@ -5335,7 +5342,7 @@ const __vue_inject_styles__$l = function (inject) {
|
|
|
5335
5342
|
/* scoped */
|
|
5336
5343
|
|
|
5337
5344
|
|
|
5338
|
-
const __vue_scope_id__$l = "data-v-
|
|
5345
|
+
const __vue_scope_id__$l = "data-v-ff53bcba";
|
|
5339
5346
|
/* module identifier */
|
|
5340
5347
|
|
|
5341
5348
|
const __vue_module_identifier__$l = undefined;
|
|
@@ -5347,77 +5354,1157 @@ const __vue_is_functional_template__$l = false;
|
|
|
5347
5354
|
/* style inject shadow dom */
|
|
5348
5355
|
|
|
5349
5356
|
const __vue_component__$l = /*#__PURE__*/normalizeComponent({
|
|
5350
|
-
render: __vue_render__$
|
|
5351
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
5357
|
+
render: __vue_render__$k,
|
|
5358
|
+
staticRenderFns: __vue_staticRenderFns__$k
|
|
5352
5359
|
}, __vue_inject_styles__$l, __vue_script__$l, __vue_scope_id__$l, __vue_is_functional_template__$l, __vue_module_identifier__$l, false, createInjector, undefined, undefined);
|
|
5353
5360
|
|
|
5354
5361
|
var IconsField = __vue_component__$l;
|
|
5355
5362
|
|
|
5356
|
-
const
|
|
5357
|
-
|
|
5358
|
-
|
|
5359
|
-
|
|
5363
|
+
const getAMap = function () {
|
|
5364
|
+
let plugins = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
5365
|
+
const setting = getSetting();
|
|
5366
|
+
return AMapLoader.load({ ...setting.amap,
|
|
5367
|
+
plugins: plugins
|
|
5368
|
+
});
|
|
5369
|
+
};
|
|
5370
|
+
|
|
5371
|
+
//
|
|
5372
|
+
const CoordTypes$1 = {
|
|
5373
|
+
bd09: gcoord.BD09,
|
|
5374
|
+
gcj02: gcoord.GCJ02,
|
|
5375
|
+
wgs84: gcoord.WGS84
|
|
5376
|
+
};
|
|
5377
|
+
var script$k = {
|
|
5378
|
+
name: 'ui-field-latlng',
|
|
5379
|
+
mixins: [FieldMixin],
|
|
5380
|
+
props: {
|
|
5381
|
+
coordType: {
|
|
5382
|
+
type: String,
|
|
5383
|
+
default: 'wgs84',
|
|
5384
|
+
validator: val => Object.keys(CoordTypes$1).includes(val)
|
|
5385
|
+
}
|
|
5360
5386
|
},
|
|
5361
|
-
|
|
5362
|
-
|
|
5363
|
-
|
|
5387
|
+
|
|
5388
|
+
data() {
|
|
5389
|
+
return {
|
|
5390
|
+
loading: true,
|
|
5391
|
+
keyword: ''
|
|
5392
|
+
};
|
|
5364
5393
|
},
|
|
5365
|
-
password: {
|
|
5366
|
-
enumerable: true,
|
|
5367
|
-
value: TextField
|
|
5368
|
-
}
|
|
5369
|
-
});
|
|
5370
|
-
/**
|
|
5371
|
-
*
|
|
5372
|
-
* @param type {string}
|
|
5373
|
-
* @param field
|
|
5374
|
-
*/
|
|
5375
5394
|
|
|
5376
|
-
|
|
5377
|
-
|
|
5378
|
-
|
|
5379
|
-
|
|
5380
|
-
|
|
5395
|
+
computed: {
|
|
5396
|
+
point() {
|
|
5397
|
+
if (!this.value) {
|
|
5398
|
+
return null;
|
|
5399
|
+
}
|
|
5381
5400
|
|
|
5382
|
-
|
|
5383
|
-
|
|
5401
|
+
if (!this.isValidPoint(this.value)) {
|
|
5402
|
+
return null;
|
|
5403
|
+
}
|
|
5384
5404
|
|
|
5385
|
-
const
|
|
5386
|
-
|
|
5387
|
-
|
|
5388
|
-
|
|
5389
|
-
|
|
5390
|
-
|
|
5391
|
-
addFieldType('select', SelectField);
|
|
5392
|
-
addFieldType('number', NumberField);
|
|
5393
|
-
addFieldType('cascade', CascadeField);
|
|
5394
|
-
addFieldType('year', DateField);
|
|
5395
|
-
addFieldType('month', DateField);
|
|
5396
|
-
addFieldType('monthrange', DateField);
|
|
5397
|
-
addFieldType('date', DateField);
|
|
5398
|
-
addFieldType('dates', DateField);
|
|
5399
|
-
addFieldType('week', DateField);
|
|
5400
|
-
addFieldType('datetime', DateField);
|
|
5401
|
-
addFieldType('datetimerange', DateField);
|
|
5402
|
-
addFieldType('daterange', DateField);
|
|
5403
|
-
addFieldType('datecCalendar', DatecCalendarField);
|
|
5404
|
-
addFieldType('timepicker', TimePickerField);
|
|
5405
|
-
addFieldType('timeselect', TimeSelectField);
|
|
5406
|
-
addFieldType('slider', SliderField);
|
|
5407
|
-
addFieldType('switch', SwitchField);
|
|
5408
|
-
addFieldType('rate', RateField);
|
|
5409
|
-
addFieldType('color', ColorField);
|
|
5410
|
-
addFieldType('rich', RichField); // 根据业务自己按需引入
|
|
5405
|
+
const [lat, lng] = this.value.split(',');
|
|
5406
|
+
return {
|
|
5407
|
+
lat: +lat,
|
|
5408
|
+
lng: +lng
|
|
5409
|
+
};
|
|
5410
|
+
}
|
|
5411
5411
|
|
|
5412
|
-
|
|
5413
|
-
|
|
5414
|
-
|
|
5415
|
-
|
|
5416
|
-
}
|
|
5412
|
+
},
|
|
5413
|
+
watch: {
|
|
5414
|
+
point(p) {
|
|
5415
|
+
this.onPointChange(p);
|
|
5416
|
+
}
|
|
5417
5417
|
|
|
5418
|
-
|
|
5419
|
-
|
|
5420
|
-
|
|
5418
|
+
},
|
|
5419
|
+
methods: {
|
|
5420
|
+
init() {
|
|
5421
|
+
getAMap(['AMap.ToolBar', 'AMap.Geolocation', 'AMap.AutoComplete']).then(AMap => {
|
|
5422
|
+
this.initMap(AMap);
|
|
5423
|
+
this.loading = false;
|
|
5424
|
+
this.done();
|
|
5425
|
+
});
|
|
5426
|
+
},
|
|
5427
|
+
|
|
5428
|
+
initMap(AMap) {
|
|
5429
|
+
const map = new AMap.Map(this.$el.querySelector('.map'), {
|
|
5430
|
+
zoom: 11
|
|
5431
|
+
});
|
|
5432
|
+
map.addControl(new AMap.ToolBar({
|
|
5433
|
+
position: 'RT'
|
|
5434
|
+
}));
|
|
5435
|
+
map.addControl(new AMap.Geolocation({
|
|
5436
|
+
position: 'RB'
|
|
5437
|
+
}));
|
|
5438
|
+
const auto = new AMap.AutoComplete({
|
|
5439
|
+
input: this.$refs.input,
|
|
5440
|
+
output: this.$refs.output
|
|
5441
|
+
});
|
|
5442
|
+
map.on('click', this.onMapClick);
|
|
5443
|
+
auto.on('select', event => {
|
|
5444
|
+
if (!event.poi || !event.poi.location) {
|
|
5445
|
+
return;
|
|
5446
|
+
}
|
|
5447
|
+
|
|
5448
|
+
map.setZoomAndCenter(16, event.poi.location);
|
|
5449
|
+
});
|
|
5450
|
+
this.map = map;
|
|
5451
|
+
this.onPointChange(this.point);
|
|
5452
|
+
},
|
|
5453
|
+
|
|
5454
|
+
isValidPoint(val) {
|
|
5455
|
+
const [lat, lng] = val.split(',');
|
|
5456
|
+
return !(isNaN(+lat) || isNaN(+lng));
|
|
5457
|
+
},
|
|
5458
|
+
|
|
5459
|
+
onMapClick(_ref) {
|
|
5460
|
+
let {
|
|
5461
|
+
lnglat
|
|
5462
|
+
} = _ref;
|
|
5463
|
+
let {
|
|
5464
|
+
lat,
|
|
5465
|
+
lng
|
|
5466
|
+
} = lnglat; // 当前地图是 GCJ02 坐标系
|
|
5467
|
+
|
|
5468
|
+
if (this.coordType !== 'gcj02') {
|
|
5469
|
+
[lng, lat] = gcoord.transform([lng, lat], gcoord.GCJ02, CoordTypes$1[this.coordType]);
|
|
5470
|
+
lng = lng.toFixed(7) / 1;
|
|
5471
|
+
lat = lat.toFixed(7) / 1;
|
|
5472
|
+
}
|
|
5473
|
+
|
|
5474
|
+
this.onChange([lat, lng].join(','));
|
|
5475
|
+
},
|
|
5476
|
+
|
|
5477
|
+
onPointChange(point) {
|
|
5478
|
+
if (!this.map) {
|
|
5479
|
+
return;
|
|
5480
|
+
}
|
|
5481
|
+
|
|
5482
|
+
this.map.clearMap();
|
|
5483
|
+
|
|
5484
|
+
if (!point) {
|
|
5485
|
+
return;
|
|
5486
|
+
}
|
|
5487
|
+
|
|
5488
|
+
let {
|
|
5489
|
+
lng,
|
|
5490
|
+
lat
|
|
5491
|
+
} = point; // 当前地图是 GCJ02 坐标系
|
|
5492
|
+
|
|
5493
|
+
if (this.coordType !== 'gcj02') {
|
|
5494
|
+
[lng, lat] = gcoord.transform([lng, lat], CoordTypes$1[this.coordType], gcoord.GCJ02);
|
|
5495
|
+
} // eslint-disable-next-line no-undef
|
|
5496
|
+
|
|
5497
|
+
|
|
5498
|
+
const marker = new AMap.Marker({
|
|
5499
|
+
position: new AMap.LngLat(lng, lat)
|
|
5500
|
+
});
|
|
5501
|
+
this.map.add(marker);
|
|
5502
|
+
this.map.setCenter([lng, lat]);
|
|
5503
|
+
}
|
|
5504
|
+
|
|
5505
|
+
}
|
|
5506
|
+
};
|
|
5507
|
+
|
|
5508
|
+
/* script */
|
|
5509
|
+
const __vue_script__$k = script$k;
|
|
5510
|
+
/* template */
|
|
5511
|
+
|
|
5512
|
+
var __vue_render__$j = function () {
|
|
5513
|
+
var _vm = this;
|
|
5514
|
+
|
|
5515
|
+
var _h = _vm.$createElement;
|
|
5516
|
+
|
|
5517
|
+
var _c = _vm._self._c || _h;
|
|
5518
|
+
|
|
5519
|
+
return _c('div', {
|
|
5520
|
+
directives: [{
|
|
5521
|
+
name: "loading",
|
|
5522
|
+
rawName: "v-loading",
|
|
5523
|
+
value: _vm.loading,
|
|
5524
|
+
expression: "loading"
|
|
5525
|
+
}],
|
|
5526
|
+
staticClass: "ui-field-latlng"
|
|
5527
|
+
}, [_c('div', {
|
|
5528
|
+
staticClass: "map"
|
|
5529
|
+
}), _vm._v(" "), _c('div', {
|
|
5530
|
+
directives: [{
|
|
5531
|
+
name: "show",
|
|
5532
|
+
rawName: "v-show",
|
|
5533
|
+
value: !_vm.loading,
|
|
5534
|
+
expression: "!loading"
|
|
5535
|
+
}],
|
|
5536
|
+
staticClass: "info"
|
|
5537
|
+
}, [_c('div', {
|
|
5538
|
+
staticClass: "input-item searchbox"
|
|
5539
|
+
}, [_vm._m(0), _vm._v(" "), _c('input', {
|
|
5540
|
+
ref: "input",
|
|
5541
|
+
attrs: {
|
|
5542
|
+
"type": "text",
|
|
5543
|
+
"form": "__ignore__",
|
|
5544
|
+
"placeholder": "请输入..."
|
|
5545
|
+
}
|
|
5546
|
+
}), _vm._v(" "), _c('div', {
|
|
5547
|
+
ref: "output",
|
|
5548
|
+
staticClass: "search-result"
|
|
5549
|
+
})])])]);
|
|
5550
|
+
};
|
|
5551
|
+
|
|
5552
|
+
var __vue_staticRenderFns__$j = [function () {
|
|
5553
|
+
var _vm = this;
|
|
5554
|
+
|
|
5555
|
+
var _h = _vm.$createElement;
|
|
5556
|
+
|
|
5557
|
+
var _c = _vm._self._c || _h;
|
|
5558
|
+
|
|
5559
|
+
return _c('div', {
|
|
5560
|
+
staticClass: "input-item-prepend"
|
|
5561
|
+
}, [_c('span', {
|
|
5562
|
+
staticClass: "input-item-text"
|
|
5563
|
+
}, [_vm._v("搜索关键字")])]);
|
|
5564
|
+
}];
|
|
5565
|
+
/* style */
|
|
5566
|
+
|
|
5567
|
+
const __vue_inject_styles__$k = function (inject) {
|
|
5568
|
+
if (!inject) return;
|
|
5569
|
+
inject("data-v-26777c3e_0", {
|
|
5570
|
+
source: ".ui-field-latlng{width:100%;height:280px;position:relative}.ui-field-latlng .map{width:100%;height:100%}.ui-field-latlng .info{position:absolute;top:0;left:0;right:0;bottom:0;pointer-events:none}.ui-field-latlng .info .searchbox{left:12px;top:12px;background-color:#fff;box-shadow:0 0 3px rgba(0,0,0,.5);pointer-events:initial;border-radius:3px;padding:3px}.ui-field-latlng .info .searchbox .search-result{position:absolute;top:calc(100% - 2px);left:0;right:0;background-color:#fefefe;box-shadow:0 1px 3px #999;visibility:hidden;border-radius:0 0 3px 3px}.ui-field-latlng .info .searchbox .search-result .auto-item{white-space:nowrap;font-size:12px;cursor:pointer;padding:4px;line-height:14px}.ui-field-latlng .input-item{position:relative;display:inline-flex;align-items:center;width:220px;font-size:12px}.ui-field-latlng .input-item .input-item-prepend{margin-right:-1px}.ui-field-latlng .input-item .input-item-prepend .input-item-text{padding:.25em .5em;display:block;text-justify:distribute-all-lines;text-align-last:justify;align-items:center;margin-bottom:0;font-weight:400;line-height:1.5;color:#495057;text-align:center;white-space:nowrap;background-color:#e9ecef;border:1px solid #ced4da;border-radius:.25rem 0 0 .25rem;box-sizing:border-box}.ui-field-latlng .input-item input{position:relative;flex:1 1 auto;width:1%;margin:0;background:#fff;padding:.25em .5em;display:inline-block;line-height:1.5;color:#495057;vertical-align:middle;border:1px solid #ced4da;border-radius:0 .25rem .25rem 0;appearance:none;box-sizing:border-box}.ui-field-latlng .input-item input:focus{border-color:#80bdff;outline:0;box-shadow:0 0 0 .1rem rgba(128,189,255,.1)}.ui-field-latlng .amap-copyright,.ui-field-latlng .amap-logo{display:none!important}",
|
|
5571
|
+
map: undefined,
|
|
5572
|
+
media: undefined
|
|
5573
|
+
});
|
|
5574
|
+
};
|
|
5575
|
+
/* scoped */
|
|
5576
|
+
|
|
5577
|
+
|
|
5578
|
+
const __vue_scope_id__$k = undefined;
|
|
5579
|
+
/* module identifier */
|
|
5580
|
+
|
|
5581
|
+
const __vue_module_identifier__$k = undefined;
|
|
5582
|
+
/* functional template */
|
|
5583
|
+
|
|
5584
|
+
const __vue_is_functional_template__$k = false;
|
|
5585
|
+
/* style inject SSR */
|
|
5586
|
+
|
|
5587
|
+
/* style inject shadow dom */
|
|
5588
|
+
|
|
5589
|
+
const __vue_component__$k = /*#__PURE__*/normalizeComponent({
|
|
5590
|
+
render: __vue_render__$j,
|
|
5591
|
+
staticRenderFns: __vue_staticRenderFns__$j
|
|
5592
|
+
}, __vue_inject_styles__$k, __vue_script__$k, __vue_scope_id__$k, __vue_is_functional_template__$k, __vue_module_identifier__$k, false, createInjector, undefined, undefined);
|
|
5593
|
+
|
|
5594
|
+
var LnglatField = __vue_component__$k;
|
|
5595
|
+
|
|
5596
|
+
//
|
|
5597
|
+
const CoordTypes = {
|
|
5598
|
+
bd09: gcoord.BD09,
|
|
5599
|
+
gcj02: gcoord.GCJ02,
|
|
5600
|
+
wgs84: gcoord.WGS84
|
|
5601
|
+
};
|
|
5602
|
+
const Types = {
|
|
5603
|
+
marker: 'AMap.Marker',
|
|
5604
|
+
polyline: 'Overlay.Polyline',
|
|
5605
|
+
circle: 'Overlay.Circle',
|
|
5606
|
+
polygon: 'Overlay.Polygon'
|
|
5607
|
+
};
|
|
5608
|
+
var script$j = {
|
|
5609
|
+
name: 'ui-field-fence',
|
|
5610
|
+
mixins: [FieldMixin],
|
|
5611
|
+
props: {
|
|
5612
|
+
/**
|
|
5613
|
+
* value:
|
|
5614
|
+
* {
|
|
5615
|
+
* markers: [[lng, lat], ...],
|
|
5616
|
+
* circles: [{center: [lng, lat], radius}, ...],
|
|
5617
|
+
* polylines: [[[lng,lat], ...], ...],
|
|
5618
|
+
* polygons: [[[lng,lat], ...], ...],
|
|
5619
|
+
* }
|
|
5620
|
+
*/
|
|
5621
|
+
coordType: {
|
|
5622
|
+
type: String,
|
|
5623
|
+
default: 'wgs84',
|
|
5624
|
+
validator: val => Object.keys(CoordTypes).includes(val)
|
|
5625
|
+
},
|
|
5626
|
+
|
|
5627
|
+
/**
|
|
5628
|
+
* 'marker,polyline,circle,polygon'
|
|
5629
|
+
*/
|
|
5630
|
+
tools: {
|
|
5631
|
+
type: String,
|
|
5632
|
+
default: 'marker,polyline,circle,polygon'
|
|
5633
|
+
},
|
|
5634
|
+
help: {
|
|
5635
|
+
type: Boolean,
|
|
5636
|
+
default: true
|
|
5637
|
+
},
|
|
5638
|
+
clear: {
|
|
5639
|
+
type: Boolean,
|
|
5640
|
+
default: true
|
|
5641
|
+
},
|
|
5642
|
+
multiple: {
|
|
5643
|
+
type: Boolean,
|
|
5644
|
+
default: false
|
|
5645
|
+
},
|
|
5646
|
+
|
|
5647
|
+
/**
|
|
5648
|
+
* 0:表示无限制
|
|
5649
|
+
*/
|
|
5650
|
+
limit: {
|
|
5651
|
+
type: Number,
|
|
5652
|
+
default: 0
|
|
5653
|
+
},
|
|
5654
|
+
|
|
5655
|
+
/**
|
|
5656
|
+
* 地图缩放
|
|
5657
|
+
* 缩放范围 2~20
|
|
5658
|
+
*/
|
|
5659
|
+
zoom: {
|
|
5660
|
+
type: Number,
|
|
5661
|
+
default: 15,
|
|
5662
|
+
validator: val => 2 <= val && val <= 20
|
|
5663
|
+
},
|
|
5664
|
+
|
|
5665
|
+
/**
|
|
5666
|
+
* 中心点
|
|
5667
|
+
* 'lng,lat' 字符串
|
|
5668
|
+
*/
|
|
5669
|
+
center: String,
|
|
5670
|
+
disabled: Boolean
|
|
5671
|
+
},
|
|
5672
|
+
|
|
5673
|
+
data() {
|
|
5674
|
+
return {
|
|
5675
|
+
loading: true,
|
|
5676
|
+
keyword: '',
|
|
5677
|
+
drawing: false
|
|
5678
|
+
};
|
|
5679
|
+
},
|
|
5680
|
+
|
|
5681
|
+
computed: {
|
|
5682
|
+
toolList() {
|
|
5683
|
+
return (this.tools || '').split(',').filter(tool => Object.keys(Types).includes(tool));
|
|
5684
|
+
},
|
|
5685
|
+
|
|
5686
|
+
realLimit() {
|
|
5687
|
+
if (this.multiple) {
|
|
5688
|
+
return this.limit;
|
|
5689
|
+
}
|
|
5690
|
+
|
|
5691
|
+
return 1;
|
|
5692
|
+
},
|
|
5693
|
+
|
|
5694
|
+
isCurrentCoord() {
|
|
5695
|
+
return this.coordType === 'gcj02';
|
|
5696
|
+
},
|
|
5697
|
+
|
|
5698
|
+
toolsVisible(_ref) {
|
|
5699
|
+
let {
|
|
5700
|
+
disabled,
|
|
5701
|
+
loading
|
|
5702
|
+
} = _ref;
|
|
5703
|
+
return !disabled && !loading;
|
|
5704
|
+
}
|
|
5705
|
+
|
|
5706
|
+
},
|
|
5707
|
+
watch: {
|
|
5708
|
+
value: {
|
|
5709
|
+
immediate: true,
|
|
5710
|
+
handler: 'onValueChange'
|
|
5711
|
+
},
|
|
5712
|
+
zoom: 'setMapZoom',
|
|
5713
|
+
center: 'setMapCenter',
|
|
5714
|
+
|
|
5715
|
+
toolsVisible(visible) {
|
|
5716
|
+
if (visible) {
|
|
5717
|
+
var _this$toolbarControl, _this$geolocationCont;
|
|
5718
|
+
|
|
5719
|
+
(_this$toolbarControl = this.toolbarControl) === null || _this$toolbarControl === void 0 ? void 0 : _this$toolbarControl.show();
|
|
5720
|
+
(_this$geolocationCont = this.geolocationControl) === null || _this$geolocationCont === void 0 ? void 0 : _this$geolocationCont.show();
|
|
5721
|
+
} else {
|
|
5722
|
+
var _this$mouseTool, _this$toolbarControl2, _this$geolocationCont2;
|
|
5723
|
+
|
|
5724
|
+
(_this$mouseTool = this.mouseTool) === null || _this$mouseTool === void 0 ? void 0 : _this$mouseTool.close();
|
|
5725
|
+
(_this$toolbarControl2 = this.toolbarControl) === null || _this$toolbarControl2 === void 0 ? void 0 : _this$toolbarControl2.hide();
|
|
5726
|
+
(_this$geolocationCont2 = this.geolocationControl) === null || _this$geolocationCont2 === void 0 ? void 0 : _this$geolocationCont2.hide();
|
|
5727
|
+
}
|
|
5728
|
+
}
|
|
5729
|
+
|
|
5730
|
+
},
|
|
5731
|
+
|
|
5732
|
+
created() {
|
|
5733
|
+
this.graph = {
|
|
5734
|
+
polylines: [],
|
|
5735
|
+
markers: [],
|
|
5736
|
+
circles: [],
|
|
5737
|
+
polygons: []
|
|
5738
|
+
};
|
|
5739
|
+
this.editor = {};
|
|
5740
|
+
},
|
|
5741
|
+
|
|
5742
|
+
methods: {
|
|
5743
|
+
init() {
|
|
5744
|
+
getAMap(['AMap.ToolBar', 'AMap.Geolocation', 'AMap.AutoComplete', 'AMap.MouseTool', 'AMap.PolygonEditor', 'AMap.PolylineEditor', 'AMap.CircleEditor']).then(AMap => {
|
|
5745
|
+
this.initMap(AMap);
|
|
5746
|
+
this.loading = false;
|
|
5747
|
+
this.done();
|
|
5748
|
+
});
|
|
5749
|
+
},
|
|
5750
|
+
|
|
5751
|
+
initMap(AMap) {
|
|
5752
|
+
this.AMap = AMap;
|
|
5753
|
+
this.map = new AMap.Map(this.$el.querySelector('.map'), {
|
|
5754
|
+
zoom: this.zoom,
|
|
5755
|
+
isHotspot: false
|
|
5756
|
+
});
|
|
5757
|
+
this.initMapControl(this.map);
|
|
5758
|
+
this.initMapAutoComplete(this.map);
|
|
5759
|
+
this.contextMenu = this.initMapContextMenu(this.map);
|
|
5760
|
+
this.mouseTool = this.initMapMouseTool(this.map); // 根据value初始化地图上图形
|
|
5761
|
+
|
|
5762
|
+
this.onValueChange(this.value); // 初始化地图中心点
|
|
5763
|
+
|
|
5764
|
+
this.setMapCenter();
|
|
5765
|
+
},
|
|
5766
|
+
|
|
5767
|
+
initMapControl(map) {
|
|
5768
|
+
this.toolbarControl = new this.AMap.ToolBar({
|
|
5769
|
+
position: 'RT'
|
|
5770
|
+
});
|
|
5771
|
+
this.geolocationControl = new this.AMap.Geolocation({
|
|
5772
|
+
position: 'RB'
|
|
5773
|
+
});
|
|
5774
|
+
map.addControl(this.toolbarControl);
|
|
5775
|
+
map.addControl(this.geolocationControl);
|
|
5776
|
+
|
|
5777
|
+
if (!this.toolsVisible) {
|
|
5778
|
+
this.toolbarControl.hide();
|
|
5779
|
+
this.geolocationControl.hide();
|
|
5780
|
+
}
|
|
5781
|
+
},
|
|
5782
|
+
|
|
5783
|
+
initMapAutoComplete(map) {
|
|
5784
|
+
const auto = new this.AMap.AutoComplete({
|
|
5785
|
+
input: this.$refs.input,
|
|
5786
|
+
output: this.$refs.output
|
|
5787
|
+
});
|
|
5788
|
+
auto.on('select', event => {
|
|
5789
|
+
if (!event.poi || !event.poi.location) {
|
|
5790
|
+
return;
|
|
5791
|
+
}
|
|
5792
|
+
|
|
5793
|
+
map.setZoomAndCenter(16, event.poi.location);
|
|
5794
|
+
});
|
|
5795
|
+
return auto;
|
|
5796
|
+
},
|
|
5797
|
+
|
|
5798
|
+
initMapContextMenu() {
|
|
5799
|
+
const contextMenu = new this.AMap.ContextMenu();
|
|
5800
|
+
contextMenu.addItem('删除', () => {
|
|
5801
|
+
const removeObj = this.contextMenuTarget;
|
|
5802
|
+
this.removeGraph(removeObj);
|
|
5803
|
+
removeObj.setMap(null);
|
|
5804
|
+
this.contextMenuTarget = null; // 点击右键菜单子的某一项不会触发 contextMenu 的 close 事件
|
|
5805
|
+
});
|
|
5806
|
+
contextMenu.on('close', () => {
|
|
5807
|
+
this.contextMenuTarget = null;
|
|
5808
|
+
});
|
|
5809
|
+
return contextMenu;
|
|
5810
|
+
},
|
|
5811
|
+
|
|
5812
|
+
initMapMouseTool(map) {
|
|
5813
|
+
const mouseTool = new this.AMap.MouseTool(map);
|
|
5814
|
+
mouseTool.on('draw', event => {
|
|
5815
|
+
mouseTool.close();
|
|
5816
|
+
this.drawing = false;
|
|
5817
|
+
const obj = event.obj;
|
|
5818
|
+
const isAdded = this.addGraph(obj);
|
|
5819
|
+
|
|
5820
|
+
if (!isAdded) {
|
|
5821
|
+
map.remove(obj);
|
|
5822
|
+
return;
|
|
5823
|
+
}
|
|
5824
|
+
|
|
5825
|
+
this.initGraphEvent(obj);
|
|
5826
|
+
this.onGraphChange();
|
|
5827
|
+
});
|
|
5828
|
+
return mouseTool;
|
|
5829
|
+
},
|
|
5830
|
+
|
|
5831
|
+
setMapZoom() {
|
|
5832
|
+
if (!this.zoom || !this.map) {
|
|
5833
|
+
return;
|
|
5834
|
+
}
|
|
5835
|
+
|
|
5836
|
+
this.map.setZoom(this.zoom);
|
|
5837
|
+
},
|
|
5838
|
+
|
|
5839
|
+
setMapCenter() {
|
|
5840
|
+
if (!this.center || !this.map) {
|
|
5841
|
+
return;
|
|
5842
|
+
}
|
|
5843
|
+
|
|
5844
|
+
const [lng, lat] = this.center.split(',');
|
|
5845
|
+
|
|
5846
|
+
if (!lng || !lat) {
|
|
5847
|
+
return;
|
|
5848
|
+
}
|
|
5849
|
+
|
|
5850
|
+
this.map.setCenter([+lng, +lat]);
|
|
5851
|
+
this.setMapZoom();
|
|
5852
|
+
},
|
|
5853
|
+
|
|
5854
|
+
getToolClass(tool) {
|
|
5855
|
+
if (this.realLimit <= 0 || !this.multiple) {
|
|
5856
|
+
return tool;
|
|
5857
|
+
}
|
|
5858
|
+
|
|
5859
|
+
const {
|
|
5860
|
+
markers,
|
|
5861
|
+
circles,
|
|
5862
|
+
polylines,
|
|
5863
|
+
polygons
|
|
5864
|
+
} = this.value || {};
|
|
5865
|
+
let length = 0;
|
|
5866
|
+
|
|
5867
|
+
if (tool === 'marker') {
|
|
5868
|
+
length = (markers || []).length;
|
|
5869
|
+
} else if (tool === 'circle') {
|
|
5870
|
+
length = (circles || []).length;
|
|
5871
|
+
} else if (tool === 'polyline') {
|
|
5872
|
+
length = (polylines || []).length;
|
|
5873
|
+
} else if (tool === 'polygon') {
|
|
5874
|
+
length = (polygons || []).length;
|
|
5875
|
+
}
|
|
5876
|
+
|
|
5877
|
+
if (length >= this.realLimit) {
|
|
5878
|
+
return tool + ' disabled';
|
|
5879
|
+
}
|
|
5880
|
+
|
|
5881
|
+
return tool;
|
|
5882
|
+
},
|
|
5883
|
+
|
|
5884
|
+
onValueChange(value) {
|
|
5885
|
+
if (!this.map) {
|
|
5886
|
+
return;
|
|
5887
|
+
}
|
|
5888
|
+
|
|
5889
|
+
const {
|
|
5890
|
+
markers,
|
|
5891
|
+
circles,
|
|
5892
|
+
polylines,
|
|
5893
|
+
polygons
|
|
5894
|
+
} = value || {};
|
|
5895
|
+
const removedMarkers = this.graph.markers.slice((markers || []).length);
|
|
5896
|
+
const removedCircles = this.graph.circles.slice((circles || []).length);
|
|
5897
|
+
const removedPolylines = this.graph.polylines.slice((polylines || []).length);
|
|
5898
|
+
const removedPolygons = this.graph.polygons.slice((polygons || []).length);
|
|
5899
|
+
[...removedMarkers, ...removedCircles, ...removedPolylines, ...removedPolygons].forEach(item => item.setMap(null));
|
|
5900
|
+
(markers || []).forEach((markerData, index) => {
|
|
5901
|
+
let mapMarker = this.graph.markers[index];
|
|
5902
|
+
const lngLatData = this.getMapLngLatData(markers[index]);
|
|
5903
|
+
const position = new this.AMap.LngLat(lngLatData[0], lngLatData[1]);
|
|
5904
|
+
|
|
5905
|
+
if (!mapMarker) {
|
|
5906
|
+
mapMarker = new this.AMap.Marker({
|
|
5907
|
+
map: this.map,
|
|
5908
|
+
position: position
|
|
5909
|
+
});
|
|
5910
|
+
this.addGraph(mapMarker);
|
|
5911
|
+
this.initGraphEvent(mapMarker);
|
|
5912
|
+
} else {
|
|
5913
|
+
mapMarker.setPosition(position);
|
|
5914
|
+
}
|
|
5915
|
+
});
|
|
5916
|
+
(circles || []).forEach((circleData, index) => {
|
|
5917
|
+
let mapCircle = this.graph.circles[index];
|
|
5918
|
+
const lngLatData = this.getMapLngLatData(circleData.center);
|
|
5919
|
+
const lngLat = new this.AMap.LngLat(lngLatData[0], lngLatData[1]);
|
|
5920
|
+
|
|
5921
|
+
if (!mapCircle) {
|
|
5922
|
+
mapCircle = new this.AMap.Circle({
|
|
5923
|
+
map: this.map,
|
|
5924
|
+
center: lngLat,
|
|
5925
|
+
radius: circleData.radius
|
|
5926
|
+
});
|
|
5927
|
+
this.map.add(mapCircle);
|
|
5928
|
+
this.addGraph(mapCircle);
|
|
5929
|
+
this.initGraphEvent(mapCircle);
|
|
5930
|
+
} else {
|
|
5931
|
+
mapCircle.setCenter(lngLat);
|
|
5932
|
+
mapCircle.setRadius(circleData.radius);
|
|
5933
|
+
}
|
|
5934
|
+
});
|
|
5935
|
+
(polylines || []).forEach((polylineData, index) => {
|
|
5936
|
+
let mapPolyline = this.graph.polylines[index];
|
|
5937
|
+
const path = polylineData.map(item => this.getMapLngLatData(item)).map(item => new this.AMap.LngLat(item[0], item[1]));
|
|
5938
|
+
|
|
5939
|
+
if (!mapPolyline) {
|
|
5940
|
+
mapPolyline = new this.AMap.Polyline({
|
|
5941
|
+
path: path
|
|
5942
|
+
});
|
|
5943
|
+
this.map.add(mapPolyline);
|
|
5944
|
+
this.addGraph(mapPolyline);
|
|
5945
|
+
this.initGraphEvent(mapPolyline);
|
|
5946
|
+
} else {
|
|
5947
|
+
mapPolyline.setPath(path);
|
|
5948
|
+
}
|
|
5949
|
+
});
|
|
5950
|
+
(polygons || []).forEach((polygonData, index) => {
|
|
5951
|
+
let mapPolygon = this.graph.polygons[index];
|
|
5952
|
+
const path = polygonData.map(item => this.getMapLngLatData(item)).map(item => new this.AMap.LngLat(item[0], item[1]));
|
|
5953
|
+
|
|
5954
|
+
if (!mapPolygon) {
|
|
5955
|
+
mapPolygon = new this.AMap.Polygon({
|
|
5956
|
+
path
|
|
5957
|
+
});
|
|
5958
|
+
this.map.add(mapPolygon);
|
|
5959
|
+
this.addGraph(mapPolygon);
|
|
5960
|
+
this.initGraphEvent(mapPolygon);
|
|
5961
|
+
} else {
|
|
5962
|
+
mapPolygon.setPath(path);
|
|
5963
|
+
}
|
|
5964
|
+
});
|
|
5965
|
+
this.map.setFitView();
|
|
5966
|
+
},
|
|
5967
|
+
|
|
5968
|
+
onGraphChange() {
|
|
5969
|
+
const {
|
|
5970
|
+
markers,
|
|
5971
|
+
circles,
|
|
5972
|
+
polylines,
|
|
5973
|
+
polygons
|
|
5974
|
+
} = this.graph;
|
|
5975
|
+
const value = {
|
|
5976
|
+
markers: this.getMarkerValue(markers),
|
|
5977
|
+
circles: this.getCircleValue(circles),
|
|
5978
|
+
polylines: this.getPolylineValue(polylines),
|
|
5979
|
+
polygons: this.getPolygonValue(polygons)
|
|
5980
|
+
};
|
|
5981
|
+
const count = Object.values(value).reduce((total, item) => total + item.length, 0);
|
|
5982
|
+
|
|
5983
|
+
if (count <= 0) {
|
|
5984
|
+
// required 效果
|
|
5985
|
+
this.onChange();
|
|
5986
|
+
return;
|
|
5987
|
+
}
|
|
5988
|
+
|
|
5989
|
+
this.onChange(Object.freeze(value));
|
|
5990
|
+
},
|
|
5991
|
+
|
|
5992
|
+
onEditorChange() {
|
|
5993
|
+
if (this.drawing) {
|
|
5994
|
+
return;
|
|
5995
|
+
}
|
|
5996
|
+
|
|
5997
|
+
this.onGraphChange();
|
|
5998
|
+
},
|
|
5999
|
+
|
|
6000
|
+
// onEditorAdd(obj) {
|
|
6001
|
+
// this.initGraphEvent(obj);
|
|
6002
|
+
// this.addGraph(obj);
|
|
6003
|
+
// this.drawing = false;
|
|
6004
|
+
// },
|
|
6005
|
+
// 使用 mouseTool 方式添加图形. editor方式添加的图形有bug(PolylineEditor 添加的初始线段无法响应click和rightclick事件)
|
|
6006
|
+
draw(type) {
|
|
6007
|
+
this.closeEditors();
|
|
6008
|
+
|
|
6009
|
+
if (type === 'marker') {
|
|
6010
|
+
this.drawMarker();
|
|
6011
|
+
} else if (type === 'circle') {
|
|
6012
|
+
this.drawCircle();
|
|
6013
|
+
} else if (type === 'polyline') {
|
|
6014
|
+
this.drawPolyline();
|
|
6015
|
+
} else if (type === 'polygon') {
|
|
6016
|
+
this.drawPolygon();
|
|
6017
|
+
}
|
|
6018
|
+
|
|
6019
|
+
this.drawing = true;
|
|
6020
|
+
},
|
|
6021
|
+
|
|
6022
|
+
drawMarker() {
|
|
6023
|
+
this.mouseTool.marker();
|
|
6024
|
+
},
|
|
6025
|
+
|
|
6026
|
+
drawCircle() {
|
|
6027
|
+
this.mouseTool.circle();
|
|
6028
|
+
},
|
|
6029
|
+
|
|
6030
|
+
drawPolyline() {
|
|
6031
|
+
this.mouseTool.polyline();
|
|
6032
|
+
},
|
|
6033
|
+
|
|
6034
|
+
drawPolygon() {
|
|
6035
|
+
this.mouseTool.polygon();
|
|
6036
|
+
},
|
|
6037
|
+
|
|
6038
|
+
initGraphEvent(graph) {
|
|
6039
|
+
graph.on('rightclick', e => {
|
|
6040
|
+
const editor = this.getEditor(graph.className);
|
|
6041
|
+
|
|
6042
|
+
if (editor && editor.getTarget() === graph) {
|
|
6043
|
+
this.closeEditor(editor);
|
|
6044
|
+
}
|
|
6045
|
+
|
|
6046
|
+
this.contextMenuTarget = graph;
|
|
6047
|
+
this.contextMenu.open(this.map, e.lnglat);
|
|
6048
|
+
});
|
|
6049
|
+
const editors = ['Overlay.Polyline', 'Overlay.Circle', 'Overlay.Polygon'];
|
|
6050
|
+
|
|
6051
|
+
if (!editors.includes(graph.className)) {
|
|
6052
|
+
return;
|
|
6053
|
+
}
|
|
6054
|
+
|
|
6055
|
+
graph.on('click', () => {
|
|
6056
|
+
const editor = this.getEditor(graph.className);
|
|
6057
|
+
const target = editor.getTarget();
|
|
6058
|
+
|
|
6059
|
+
if (target && target === graph) {
|
|
6060
|
+
this.closeEditor(editor);
|
|
6061
|
+
return;
|
|
6062
|
+
}
|
|
6063
|
+
|
|
6064
|
+
this.closeEditors();
|
|
6065
|
+
editor.setTarget(graph);
|
|
6066
|
+
editor.open();
|
|
6067
|
+
});
|
|
6068
|
+
},
|
|
6069
|
+
|
|
6070
|
+
removeGraph(graph) {
|
|
6071
|
+
const extData = graph.getExtData();
|
|
6072
|
+
const {
|
|
6073
|
+
index
|
|
6074
|
+
} = extData || {};
|
|
6075
|
+
let list;
|
|
6076
|
+
|
|
6077
|
+
if (graph.className === 'AMap.Marker') {
|
|
6078
|
+
list = this.graph.markers;
|
|
6079
|
+
} else if (graph.className === 'Overlay.Circle') {
|
|
6080
|
+
list = this.graph.circles;
|
|
6081
|
+
} else if (graph.className === 'Overlay.Polyline') {
|
|
6082
|
+
list = this.graph.polylines;
|
|
6083
|
+
} else if (graph.className === 'Overlay.Polygon') {
|
|
6084
|
+
list = this.graph.polygons;
|
|
6085
|
+
} else {
|
|
6086
|
+
list = [];
|
|
6087
|
+
}
|
|
6088
|
+
|
|
6089
|
+
list.splice(index, 1);
|
|
6090
|
+
this.onGraphChange();
|
|
6091
|
+
},
|
|
6092
|
+
|
|
6093
|
+
addGraph(graph) {
|
|
6094
|
+
if (graph.className === 'Overlay.Polyline') {
|
|
6095
|
+
return this.addPolyline(graph);
|
|
6096
|
+
} else if (graph.className === 'AMap.Marker') {
|
|
6097
|
+
return this.addMarker(graph);
|
|
6098
|
+
} else if (graph.className === 'Overlay.Circle') {
|
|
6099
|
+
return this.addCircle(graph);
|
|
6100
|
+
} else if (graph.className === 'Overlay.Polygon') {
|
|
6101
|
+
return this.addPolygon(graph);
|
|
6102
|
+
}
|
|
6103
|
+
},
|
|
6104
|
+
|
|
6105
|
+
addMarker(marker) {
|
|
6106
|
+
if (!this.multiple) {
|
|
6107
|
+
this.graph.markers.forEach(item => item.setMap(null));
|
|
6108
|
+
this.graph.markers.length = 0;
|
|
6109
|
+
}
|
|
6110
|
+
|
|
6111
|
+
const index = this.graph.markers.length;
|
|
6112
|
+
marker.setExtData({
|
|
6113
|
+
index
|
|
6114
|
+
});
|
|
6115
|
+
this.graph.markers.push(marker);
|
|
6116
|
+
return true;
|
|
6117
|
+
},
|
|
6118
|
+
|
|
6119
|
+
addCircle(circle) {
|
|
6120
|
+
if (circle.getRadius() <= 0) {
|
|
6121
|
+
return false;
|
|
6122
|
+
}
|
|
6123
|
+
|
|
6124
|
+
if (!this.multiple) {
|
|
6125
|
+
this.graph.circles.forEach(item => item.setMap(null));
|
|
6126
|
+
this.graph.circles.length = 0;
|
|
6127
|
+
}
|
|
6128
|
+
|
|
6129
|
+
const index = this.graph.circles.length;
|
|
6130
|
+
circle.setExtData({
|
|
6131
|
+
index
|
|
6132
|
+
});
|
|
6133
|
+
this.graph.circles.push(circle);
|
|
6134
|
+
return true;
|
|
6135
|
+
},
|
|
6136
|
+
|
|
6137
|
+
addPolyline(polyline) {
|
|
6138
|
+
if (polyline.getLength() <= 0) {
|
|
6139
|
+
return false;
|
|
6140
|
+
}
|
|
6141
|
+
|
|
6142
|
+
if (!this.multiple) {
|
|
6143
|
+
this.graph.polylines.forEach(item => item.setMap(null));
|
|
6144
|
+
this.graph.polylines.length = 0;
|
|
6145
|
+
}
|
|
6146
|
+
|
|
6147
|
+
const index = this.graph.polylines.length;
|
|
6148
|
+
polyline.setExtData({
|
|
6149
|
+
index
|
|
6150
|
+
});
|
|
6151
|
+
this.graph.polylines.push(polyline);
|
|
6152
|
+
return true;
|
|
6153
|
+
},
|
|
6154
|
+
|
|
6155
|
+
addPolygon(polygon) {
|
|
6156
|
+
if (polygon.getArea() <= 0) {
|
|
6157
|
+
this.$message.info('绘制多边形时请至少绘制3个点');
|
|
6158
|
+
return false;
|
|
6159
|
+
}
|
|
6160
|
+
|
|
6161
|
+
if (!this.multiple) {
|
|
6162
|
+
this.graph.polygons.forEach(item => item.setMap(null));
|
|
6163
|
+
this.graph.polygons.length = 0;
|
|
6164
|
+
}
|
|
6165
|
+
|
|
6166
|
+
const index = this.graph.polygons.length;
|
|
6167
|
+
polygon.setExtData({
|
|
6168
|
+
index
|
|
6169
|
+
});
|
|
6170
|
+
this.graph.polygons.push(polygon);
|
|
6171
|
+
return true;
|
|
6172
|
+
},
|
|
6173
|
+
|
|
6174
|
+
getEditor(type) {
|
|
6175
|
+
if (type === 'Overlay.Circle') {
|
|
6176
|
+
return this.editor.circle || this.initCircleEditor();
|
|
6177
|
+
} else if (type === 'Overlay.Polyline') {
|
|
6178
|
+
return this.editor.polyline || this.initPolylineEditor();
|
|
6179
|
+
} else if (type === 'Overlay.Polygon') {
|
|
6180
|
+
return this.editor.polygon || this.initPolygonEditor();
|
|
6181
|
+
}
|
|
6182
|
+
},
|
|
6183
|
+
|
|
6184
|
+
initCircleEditor() {
|
|
6185
|
+
const circleEditor = new this.AMap.CircleEditor(this.map);
|
|
6186
|
+
this.editor.circle = circleEditor;
|
|
6187
|
+
this.initEditorEvent(circleEditor);
|
|
6188
|
+
return circleEditor;
|
|
6189
|
+
},
|
|
6190
|
+
|
|
6191
|
+
initPolylineEditor() {
|
|
6192
|
+
const polylineEditor = new this.AMap.PolylineEditor(this.map);
|
|
6193
|
+
this.editor.polyline = polylineEditor;
|
|
6194
|
+
this.initEditorEvent(polylineEditor);
|
|
6195
|
+
return polylineEditor;
|
|
6196
|
+
},
|
|
6197
|
+
|
|
6198
|
+
initPolygonEditor() {
|
|
6199
|
+
const polygonEditor = new this.AMap.PolygonEditor(this.map);
|
|
6200
|
+
this.editor.polygon = polygonEditor;
|
|
6201
|
+
this.initEditorEvent(polygonEditor);
|
|
6202
|
+
return polygonEditor;
|
|
6203
|
+
},
|
|
6204
|
+
|
|
6205
|
+
initEditorEvent(editor) {
|
|
6206
|
+
editor.on('addnode', () => this.onEditorChange());
|
|
6207
|
+
editor.on('adjust', () => this.onEditorChange());
|
|
6208
|
+
editor.on('move', () => this.onEditorChange()); // editor.on('add', (event) => this.onEditorAdd(event.target));
|
|
6209
|
+
},
|
|
6210
|
+
|
|
6211
|
+
closeEditor(editor) {
|
|
6212
|
+
editor.setTarget();
|
|
6213
|
+
editor.close();
|
|
6214
|
+
},
|
|
6215
|
+
|
|
6216
|
+
closeEditors() {
|
|
6217
|
+
Object.values(this.editor).forEach(editor => this.closeEditor(editor));
|
|
6218
|
+
},
|
|
6219
|
+
|
|
6220
|
+
getMapLngLatData(point) {
|
|
6221
|
+
let [lng, lat] = point;
|
|
6222
|
+
|
|
6223
|
+
if (!this.isCurrentCoord) {
|
|
6224
|
+
[lng, lat] = gcoord.transform([lng, lat], CoordTypes[this.coordType], gcoord.GCJ02);
|
|
6225
|
+
}
|
|
6226
|
+
|
|
6227
|
+
return [lng, lat];
|
|
6228
|
+
},
|
|
6229
|
+
|
|
6230
|
+
getPoint(lngLat) {
|
|
6231
|
+
let [lng, lat] = lngLat;
|
|
6232
|
+
|
|
6233
|
+
if (!this.isCurrentCoord) {
|
|
6234
|
+
[lng, lat] = gcoord.transform([lng, lat], gcoord.GCJ02, CoordTypes[this.coordType]);
|
|
6235
|
+
lng = lng.toFixed(7) / 1;
|
|
6236
|
+
lat = lat.toFixed(7) / 1;
|
|
6237
|
+
}
|
|
6238
|
+
|
|
6239
|
+
return [lng, lat];
|
|
6240
|
+
},
|
|
6241
|
+
|
|
6242
|
+
getMarkerValue(markers) {
|
|
6243
|
+
return (markers || []).map(marker => {
|
|
6244
|
+
const lngLat = marker.getPosition();
|
|
6245
|
+
return this.getPoint([lngLat.getLng(), lngLat.getLat()]);
|
|
6246
|
+
});
|
|
6247
|
+
},
|
|
6248
|
+
|
|
6249
|
+
getCircleValue(circles) {
|
|
6250
|
+
return (circles || []).map(circle => {
|
|
6251
|
+
const radius = circle.getRadius();
|
|
6252
|
+
const lngLat = circle.getCenter();
|
|
6253
|
+
return {
|
|
6254
|
+
center: this.getPoint([lngLat.getLng(), lngLat.getLat()]),
|
|
6255
|
+
radius
|
|
6256
|
+
};
|
|
6257
|
+
});
|
|
6258
|
+
},
|
|
6259
|
+
|
|
6260
|
+
getPolylineValue(polylines) {
|
|
6261
|
+
return (polylines || []).map(polyline => {
|
|
6262
|
+
const path = polyline.getPath();
|
|
6263
|
+
return path.map(item => this.getPoint([item.getLng(), item.getLat()]));
|
|
6264
|
+
});
|
|
6265
|
+
},
|
|
6266
|
+
|
|
6267
|
+
getPolygonValue(polygons) {
|
|
6268
|
+
return (polygons || []).map(polygon => {
|
|
6269
|
+
const path = polygon.getPath();
|
|
6270
|
+
return path.map(item => this.getPoint([item.getLng(), item.getLat()]));
|
|
6271
|
+
});
|
|
6272
|
+
},
|
|
6273
|
+
|
|
6274
|
+
async handleClear() {
|
|
6275
|
+
const [, confirm] = await to(this.$confirm('确认清空地图上所有的图形?', '提示', {
|
|
6276
|
+
type: 'warning'
|
|
6277
|
+
}));
|
|
6278
|
+
|
|
6279
|
+
if (!confirm) {
|
|
6280
|
+
return;
|
|
6281
|
+
}
|
|
6282
|
+
|
|
6283
|
+
this.closeEditors();
|
|
6284
|
+
this.contextMenu.close();
|
|
6285
|
+
Object.values(this.graph).forEach(items => items.forEach(item => item.setMap(null)));
|
|
6286
|
+
this.graph = {
|
|
6287
|
+
polylines: [],
|
|
6288
|
+
markers: [],
|
|
6289
|
+
circles: [],
|
|
6290
|
+
polygons: []
|
|
6291
|
+
};
|
|
6292
|
+
this.onGraphChange();
|
|
6293
|
+
}
|
|
6294
|
+
|
|
6295
|
+
}
|
|
6296
|
+
};
|
|
6297
|
+
|
|
6298
|
+
/* script */
|
|
6299
|
+
const __vue_script__$j = script$j;
|
|
6300
|
+
/* template */
|
|
6301
|
+
|
|
6302
|
+
var __vue_render__$i = function () {
|
|
6303
|
+
var _vm = this;
|
|
6304
|
+
|
|
6305
|
+
var _h = _vm.$createElement;
|
|
6306
|
+
|
|
6307
|
+
var _c = _vm._self._c || _h;
|
|
6308
|
+
|
|
6309
|
+
return _c('div', {
|
|
6310
|
+
directives: [{
|
|
6311
|
+
name: "loading",
|
|
6312
|
+
rawName: "v-loading",
|
|
6313
|
+
value: _vm.loading,
|
|
6314
|
+
expression: "loading"
|
|
6315
|
+
}],
|
|
6316
|
+
staticClass: "ui-field-fence"
|
|
6317
|
+
}, [_c('div', {
|
|
6318
|
+
staticClass: "map"
|
|
6319
|
+
}), _vm._v(" "), _c('div', {
|
|
6320
|
+
directives: [{
|
|
6321
|
+
name: "show",
|
|
6322
|
+
rawName: "v-show",
|
|
6323
|
+
value: _vm.toolsVisible,
|
|
6324
|
+
expression: "toolsVisible"
|
|
6325
|
+
}],
|
|
6326
|
+
staticClass: "info"
|
|
6327
|
+
}, [_c('div', {
|
|
6328
|
+
staticClass: "input-item searchbox"
|
|
6329
|
+
}, [_vm._m(0), _vm._v(" "), _c('input', {
|
|
6330
|
+
ref: "input",
|
|
6331
|
+
attrs: {
|
|
6332
|
+
"type": "text",
|
|
6333
|
+
"form": "__ignore__",
|
|
6334
|
+
"placeholder": "请在地图上选择位置"
|
|
6335
|
+
}
|
|
6336
|
+
}), _vm._v(" "), _c('div', {
|
|
6337
|
+
ref: "output",
|
|
6338
|
+
staticClass: "search-result"
|
|
6339
|
+
})])]), _vm._v(" "), _c('div', {
|
|
6340
|
+
directives: [{
|
|
6341
|
+
name: "show",
|
|
6342
|
+
rawName: "v-show",
|
|
6343
|
+
value: _vm.toolsVisible,
|
|
6344
|
+
expression: "toolsVisible"
|
|
6345
|
+
}],
|
|
6346
|
+
staticClass: "tools",
|
|
6347
|
+
class: {
|
|
6348
|
+
disabled: _vm.drawing
|
|
6349
|
+
}
|
|
6350
|
+
}, [_vm.toolList.length > 0 && _vm.help ? _c('div', {
|
|
6351
|
+
staticClass: "tool help"
|
|
6352
|
+
}) : _vm._e(), _vm._v(" "), _vm._l(_vm.toolList, function (tool) {
|
|
6353
|
+
return _c('div', {
|
|
6354
|
+
key: tool,
|
|
6355
|
+
staticClass: "tool",
|
|
6356
|
+
class: _vm.getToolClass(tool),
|
|
6357
|
+
on: {
|
|
6358
|
+
"click": function ($event) {
|
|
6359
|
+
return _vm.draw(tool);
|
|
6360
|
+
}
|
|
6361
|
+
}
|
|
6362
|
+
});
|
|
6363
|
+
}), _vm._v(" "), _vm.toolList.length > 0 && _vm.clear ? _c('div', {
|
|
6364
|
+
staticClass: "tool clear",
|
|
6365
|
+
on: {
|
|
6366
|
+
"click": _vm.handleClear
|
|
6367
|
+
}
|
|
6368
|
+
}) : _vm._e()], 2)]);
|
|
6369
|
+
};
|
|
6370
|
+
|
|
6371
|
+
var __vue_staticRenderFns__$i = [function () {
|
|
6372
|
+
var _vm = this;
|
|
6373
|
+
|
|
6374
|
+
var _h = _vm.$createElement;
|
|
6375
|
+
|
|
6376
|
+
var _c = _vm._self._c || _h;
|
|
6377
|
+
|
|
6378
|
+
return _c('div', {
|
|
6379
|
+
staticClass: "input-item-prepend"
|
|
6380
|
+
}, [_c('span', {
|
|
6381
|
+
staticClass: "input-item-text"
|
|
6382
|
+
}, [_vm._v("搜索关键字")])]);
|
|
6383
|
+
}];
|
|
6384
|
+
/* style */
|
|
6385
|
+
|
|
6386
|
+
const __vue_inject_styles__$j = function (inject) {
|
|
6387
|
+
if (!inject) return;
|
|
6388
|
+
inject("data-v-621dfe86_0", {
|
|
6389
|
+
source: ".ui-field-fence{width:100%;height:280px;position:relative}.ui-field-fence .map{width:100%;height:100%}.ui-field-fence .info{position:absolute;top:0;left:0;right:0;bottom:0;pointer-events:none}.ui-field-fence .info .searchbox{left:12px;top:12px;background-color:#fff;box-shadow:0 0 3px rgba(0,0,0,.5);pointer-events:initial;border-radius:3px;padding:3px}.ui-field-fence .info .searchbox .search-result{overflow:auto;position:absolute;top:calc(100% - 2px);left:0;right:0;background-color:#fefefe;box-shadow:0 1px 3px #999;visibility:hidden;border-radius:0 0 3px 3px}.ui-field-fence .info .searchbox .search-result .auto-item{white-space:nowrap;font-size:12px;cursor:pointer;padding:4px;line-height:14px}.ui-field-fence .input-item{position:relative;display:inline-flex;align-items:center;width:220px;font-size:12px}.ui-field-fence .input-item .input-item-prepend{margin-right:-1px}.ui-field-fence .input-item .input-item-prepend .input-item-text{padding:.25em .5em;display:block;text-justify:distribute-all-lines;text-align-last:justify;align-items:center;margin-bottom:0;font-weight:400;line-height:1.5;color:#495057;text-align:center;white-space:nowrap;background-color:#e9ecef;border:1px solid #ced4da;border-radius:.25rem 0 0 .25rem;box-sizing:border-box}.ui-field-fence .input-item input{position:relative;flex:1 1 auto;width:1%;margin:0;background:#fff;padding:.25em .5em;display:inline-block;line-height:1.5;color:#495057;vertical-align:middle;border:1px solid #ced4da;border-radius:0 .25rem .25rem 0;appearance:none;box-sizing:border-box}.ui-field-fence .input-item input:focus{border-color:#80bdff;outline:0;box-shadow:0 0 0 .1rem rgba(128,189,255,.1)}.ui-field-fence .tools{position:absolute;bottom:15px;left:50%;transform:translateX(-50%);display:flex;flex-direction:row;border-radius:4px;background-color:#fff;box-shadow:0 0 3px rgba(0,0,0,.5)}.ui-field-fence .tools .tool{width:32px;height:32px;box-sizing:border-box;background:#fff center no-repeat;background-size:18px;cursor:pointer;position:relative}.ui-field-fence .tools .tool:first-of-type{border-radius:4px 0 0 4px}.ui-field-fence .tools .tool:last-of-type{border-radius:0 4px 4px 0}.ui-field-fence .tools .tool:hover{background-color:#f0f0f0}.ui-field-fence .tools .tool::before{position:absolute;top:0;left:50%;transform:translate(-50%,-100%);padding:4px 8px;border-radius:4px;background-color:#fff;box-shadow:0 0 3px rgba(0,0,0,.5);color:#666;font-size:12px;line-height:16px;transition:all .2s ease-in-out;opacity:0;word-break:keep-all;visibility:hidden;pointer-events:none}.ui-field-fence .tools .tool:hover::before{top:-4px;opacity:1;visibility:visible}.ui-field-fence .tools .tool+.tool{border-left:1px solid #eee}.ui-field-fence .tools .tool.marker{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgEAYAAAAj6qa3AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAZiS0dEAAAAAAAA+UO7fwAAAAlwSFlzAAAASAAAAEgARslrPgAABbFJREFUaN7tmH9M1GUcx9+f7zFBOWDOH0QeCiiVrQEL5b7P9+AOXP44nZtu3tEZGNqWrlBXtIxpmWWYWSslK1zOyzOnoJtG6ky2PH4EnErAikoKgVOzZDqZTiHu++kPdldTG5B3oNP3f8+e5/t5Pu/Xd8+PzwM80P0tClRgwyjDKMOosDDpcy7gghkz0Iit6sWZM7GC7TQ7JoaSaRuyRo/mzfwMiq5do2U4iZPnz/M7UikvqKiglZpT6guHDpVfKb/iKj1z5q4HYGITm1ir5ef+GvvX2Bdf5NXYyuvz82kxPoI9IuL/xuUsODCjrAzbPbXqo3l5FbW1C2sXNjbeNQDS9Prd+t0JCRQmSZJ04AC6aQs2x8b6BkQhDvXl5ZzHQcgsLZVmST3qjIYG3qGOkxo6OjCNzGTWajmY3lWb4uLoDN9A7KxZHMavkGfuXHqaCvBOaChew7OwdXcjlzfjsxUryluqm6qbioqGDEDaZVEn6oxGkjGRxxw6hEgyk1WrxePIQqTLRZ/ST1L0ypVOqiqsKqypGWj8aTX63frdkZE9nZIqqW++iXKqR93SpTDBAIWZz6lTWC9ERU5NdE20y3WnIPotY4QxImVubKwxUpSJsosXjUZFEYLZ+LwoEkV2u3mSeZJ5UnCwv+c1zRQFosBmM1mVCCVi8eJBM3wLgEwlSwx3On3Gk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8it6zMWnGzGHH/j/M8OyoK4+5qteZfGNB3/jwAIMyNDPAZ7PA1GPR6DAKAXo8iAP22x63uGtkAUFDgLOEWNu4CtjosLXElXMnU1OqLI2immLAwZxcne1k4kaJSyMPDMcZeJHVAAEvAMRT/JV8b2Lw2EgEAY8Zv+Qhl/cCA5UjrauFWBdXiA5iqq31e7ojqG8rJsdXf5gy4f7MmWmkXNXC1+/fjVSqkirY2VCIDwwsLLhesQhTU09MW4abtnnu5xrw8V+e1wQZuwh8O+xrVlxHM2AAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMC0xMS0xOVQxODo1NzowMSswODowMNOAvgoAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjAtMTEtMTlUMTg6NTc6MDErMDg6MDCi3Qa2AAAATHRFWHRzdmc6YmFzZS11cmkAZmlsZTovLy9ob21lL2FkbWluL2ljb24tZm9udC90bXAvaWNvbl91Mmh4aGJndGdvL3Fpbmdrb25nXzEuc3ZnghROGAAAAABJRU5ErkJggg==)}.ui-field-fence .tools .tool.marker:before{content:'绘制点标注'}.ui-field-fence .tools .tool.circle:before{content:'绘制圆形'}.ui-field-fence .tools .tool.polyline:before{content:'绘制折线'}.ui-field-fence .tools .tool.polygon:before{content:'绘制多边形'}.ui-field-fence .tools .tool.help:before{content:'1.点击要绘制的图形\\A 2.在地图上进行绘制,其中折线和多边形双击结束绘制\\A 3.点击已经绘制好的地图进入编辑模式,再次点击退出编辑模式\\A 4.在绘制好了的图形上右键可以删除该图形';white-space:pre}.ui-field-fence .tools .tool.clear:before{content:'清空所有图形'}.ui-field-fence .tools .tool.disabled,.ui-field-fence .tools.disabled .tool:not(.help){filter:opacity(.3);cursor:none;pointer-events:none}.ui-field-fence .close-btn{position:absolute;bottom:15px;left:50%;transform:translateX(-50%);display:inline-block;padding:0 12px;font-size:12px;line-height:32px;border-radius:4px;background-color:#fff;cursor:pointer;box-shadow:0 0 3px rgba(0,0,0,.5)}.ui-field-fence .close-btn:hover{background-color:#f0f0f0}.ui-field-fence .amap-copyright,.ui-field-fence .amap-logo{display:none!important}",
|
|
6390
|
+
map: undefined,
|
|
6391
|
+
media: undefined
|
|
6392
|
+
});
|
|
6393
|
+
};
|
|
6394
|
+
/* scoped */
|
|
6395
|
+
|
|
6396
|
+
|
|
6397
|
+
const __vue_scope_id__$j = undefined;
|
|
6398
|
+
/* module identifier */
|
|
6399
|
+
|
|
6400
|
+
const __vue_module_identifier__$j = undefined;
|
|
6401
|
+
/* functional template */
|
|
6402
|
+
|
|
6403
|
+
const __vue_is_functional_template__$j = false;
|
|
6404
|
+
/* style inject SSR */
|
|
6405
|
+
|
|
6406
|
+
/* style inject shadow dom */
|
|
6407
|
+
|
|
6408
|
+
const __vue_component__$j = /*#__PURE__*/normalizeComponent({
|
|
6409
|
+
render: __vue_render__$i,
|
|
6410
|
+
staticRenderFns: __vue_staticRenderFns__$i
|
|
6411
|
+
}, __vue_inject_styles__$j, __vue_script__$j, __vue_scope_id__$j, __vue_is_functional_template__$j, __vue_module_identifier__$j, false, createInjector, undefined, undefined);
|
|
6412
|
+
|
|
6413
|
+
var FenceField = __vue_component__$j;
|
|
6414
|
+
|
|
6415
|
+
const fields = Object.create(null, {
|
|
6416
|
+
text: {
|
|
6417
|
+
enumerable: true,
|
|
6418
|
+
value: TextField
|
|
6419
|
+
},
|
|
6420
|
+
textarea: {
|
|
6421
|
+
enumerable: true,
|
|
6422
|
+
value: TextField
|
|
6423
|
+
},
|
|
6424
|
+
password: {
|
|
6425
|
+
enumerable: true,
|
|
6426
|
+
value: TextField
|
|
6427
|
+
}
|
|
6428
|
+
});
|
|
6429
|
+
const FormFields = {
|
|
6430
|
+
TextField,
|
|
6431
|
+
HiddenField,
|
|
6432
|
+
DisplayField,
|
|
6433
|
+
AutocompleteField,
|
|
6434
|
+
RadioField,
|
|
6435
|
+
CheckboxField,
|
|
6436
|
+
SelectField,
|
|
6437
|
+
NumberField,
|
|
6438
|
+
CascadeField,
|
|
6439
|
+
DateField,
|
|
6440
|
+
DatecCalendarField,
|
|
6441
|
+
TimePickerField,
|
|
6442
|
+
TimeSelectField,
|
|
6443
|
+
SliderField,
|
|
6444
|
+
SwitchField,
|
|
6445
|
+
RateField,
|
|
6446
|
+
ColorField,
|
|
6447
|
+
RichField,
|
|
6448
|
+
FileUploadField,
|
|
6449
|
+
ImageUploadField,
|
|
6450
|
+
TriggerField,
|
|
6451
|
+
IconsField,
|
|
6452
|
+
LnglatField,
|
|
6453
|
+
FenceField
|
|
6454
|
+
};
|
|
6455
|
+
/**
|
|
6456
|
+
*
|
|
6457
|
+
* @param type {string}
|
|
6458
|
+
* @param field
|
|
6459
|
+
*/
|
|
6460
|
+
|
|
6461
|
+
const addFieldType = (type, field) => {
|
|
6462
|
+
if (Objects.hasProp(fields, type)) {
|
|
6463
|
+
console.warn(`already have a ${type} field`);
|
|
6464
|
+
return;
|
|
6465
|
+
}
|
|
6466
|
+
|
|
6467
|
+
fields[type] = field;
|
|
6468
|
+
};
|
|
6469
|
+
|
|
6470
|
+
const initDefaultField = () => {
|
|
6471
|
+
addFieldType('hidden', HiddenField);
|
|
6472
|
+
addFieldType('display', DisplayField);
|
|
6473
|
+
addFieldType('autocomplete', AutocompleteField);
|
|
6474
|
+
addFieldType('radio', RadioField);
|
|
6475
|
+
addFieldType('checkbox', CheckboxField);
|
|
6476
|
+
addFieldType('select', SelectField);
|
|
6477
|
+
addFieldType('number', NumberField);
|
|
6478
|
+
addFieldType('cascade', CascadeField);
|
|
6479
|
+
addFieldType('year', DateField);
|
|
6480
|
+
addFieldType('month', DateField);
|
|
6481
|
+
addFieldType('monthrange', DateField);
|
|
6482
|
+
addFieldType('date', DateField);
|
|
6483
|
+
addFieldType('dates', DateField);
|
|
6484
|
+
addFieldType('week', DateField);
|
|
6485
|
+
addFieldType('datetime', DateField);
|
|
6486
|
+
addFieldType('datetimerange', DateField);
|
|
6487
|
+
addFieldType('daterange', DateField);
|
|
6488
|
+
addFieldType('datecCalendar', DatecCalendarField);
|
|
6489
|
+
addFieldType('timepicker', TimePickerField);
|
|
6490
|
+
addFieldType('timeselect', TimeSelectField);
|
|
6491
|
+
addFieldType('slider', SliderField);
|
|
6492
|
+
addFieldType('switch', SwitchField);
|
|
6493
|
+
addFieldType('rate', RateField);
|
|
6494
|
+
addFieldType('color', ColorField);
|
|
6495
|
+
addFieldType('rich', RichField); // 根据业务自己按需引入
|
|
6496
|
+
|
|
6497
|
+
addFieldType('file', FileUploadField);
|
|
6498
|
+
addFieldType('image', ImageUploadField);
|
|
6499
|
+
addFieldType('trigger', TriggerField);
|
|
6500
|
+
addFieldType('icons', IconsField);
|
|
6501
|
+
addFieldType('lnglat', LnglatField);
|
|
6502
|
+
addFieldType('fence', FenceField);
|
|
6503
|
+
};
|
|
6504
|
+
|
|
6505
|
+
initDefaultField();
|
|
6506
|
+
var FormField = {
|
|
6507
|
+
name: 'ui-form-field',
|
|
5421
6508
|
functional: true,
|
|
5422
6509
|
render: (createElement, context) => {
|
|
5423
6510
|
const {
|
|
@@ -5435,7 +6522,7 @@ var FormField = {
|
|
|
5435
6522
|
};
|
|
5436
6523
|
|
|
5437
6524
|
//
|
|
5438
|
-
var script$
|
|
6525
|
+
var script$i = {
|
|
5439
6526
|
name: 'ui-form-item',
|
|
5440
6527
|
inheritAttrs: false,
|
|
5441
6528
|
inject: ['uiForm'],
|
|
@@ -5617,10 +6704,10 @@ var script$k = {
|
|
|
5617
6704
|
};
|
|
5618
6705
|
|
|
5619
6706
|
/* script */
|
|
5620
|
-
const __vue_script__$
|
|
6707
|
+
const __vue_script__$i = script$i;
|
|
5621
6708
|
/* template */
|
|
5622
6709
|
|
|
5623
|
-
var __vue_render__$
|
|
6710
|
+
var __vue_render__$h = function () {
|
|
5624
6711
|
var _vm = this;
|
|
5625
6712
|
|
|
5626
6713
|
var _h = _vm.$createElement;
|
|
@@ -5677,10 +6764,10 @@ var __vue_render__$i = function () {
|
|
|
5677
6764
|
}, [_vm._t("suffix")], 2) : _vm._e()], 2);
|
|
5678
6765
|
};
|
|
5679
6766
|
|
|
5680
|
-
var __vue_staticRenderFns__$
|
|
6767
|
+
var __vue_staticRenderFns__$h = [];
|
|
5681
6768
|
/* style */
|
|
5682
6769
|
|
|
5683
|
-
const __vue_inject_styles__$
|
|
6770
|
+
const __vue_inject_styles__$i = function (inject) {
|
|
5684
6771
|
if (!inject) return;
|
|
5685
6772
|
inject("data-v-abe604d6_0", {
|
|
5686
6773
|
source: ".ui-form-item[data-v-abe604d6] .el-form-item__content{display:flex;flex-direction:row;align-items:center}.ui-form-item[data-v-abe604d6] .el-form-item__content>div{flex:1;display:flex;align-items:center}.ui-form-item[data-v-abe604d6] .el-form-item__content .ui-form-item-prefix,.ui-form-item[data-v-abe604d6] .el-form-item__content .ui-form-item-suffix{flex:none}.ui-form-item .info[data-v-abe604d6]{color:#909399;cursor:pointer;margin-left:4px}.ui-form-item.hidden-item[data-v-abe604d6]{display:none}.el-form--inline .ui-form-item[data-v-abe604d6] .el-form-item__label{flex:none;white-space:nowrap}.el-form--inline .ui-form-item[data-v-abe604d6] .el-form-item__content{display:inline-flex}",
|
|
@@ -5691,23 +6778,23 @@ const __vue_inject_styles__$k = function (inject) {
|
|
|
5691
6778
|
/* scoped */
|
|
5692
6779
|
|
|
5693
6780
|
|
|
5694
|
-
const __vue_scope_id__$
|
|
6781
|
+
const __vue_scope_id__$i = "data-v-abe604d6";
|
|
5695
6782
|
/* module identifier */
|
|
5696
6783
|
|
|
5697
|
-
const __vue_module_identifier__$
|
|
6784
|
+
const __vue_module_identifier__$i = undefined;
|
|
5698
6785
|
/* functional template */
|
|
5699
6786
|
|
|
5700
|
-
const __vue_is_functional_template__$
|
|
6787
|
+
const __vue_is_functional_template__$i = false;
|
|
5701
6788
|
/* style inject SSR */
|
|
5702
6789
|
|
|
5703
6790
|
/* style inject shadow dom */
|
|
5704
6791
|
|
|
5705
|
-
const __vue_component__$
|
|
5706
|
-
render: __vue_render__$
|
|
5707
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
5708
|
-
}, __vue_inject_styles__$
|
|
6792
|
+
const __vue_component__$i = /*#__PURE__*/normalizeComponent({
|
|
6793
|
+
render: __vue_render__$h,
|
|
6794
|
+
staticRenderFns: __vue_staticRenderFns__$h
|
|
6795
|
+
}, __vue_inject_styles__$i, __vue_script__$i, __vue_scope_id__$i, __vue_is_functional_template__$i, __vue_module_identifier__$i, false, createInjector, undefined, undefined);
|
|
5709
6796
|
|
|
5710
|
-
var FormItem = __vue_component__$
|
|
6797
|
+
var FormItem = __vue_component__$i;
|
|
5711
6798
|
|
|
5712
6799
|
const Operator = {
|
|
5713
6800
|
eq: '=',
|
|
@@ -5758,7 +6845,7 @@ var TableSelectItem = {
|
|
|
5758
6845
|
};
|
|
5759
6846
|
|
|
5760
6847
|
//
|
|
5761
|
-
var script$
|
|
6848
|
+
var script$h = {
|
|
5762
6849
|
name: 'ui-form',
|
|
5763
6850
|
inheritAttrs: false,
|
|
5764
6851
|
|
|
@@ -6126,10 +7213,10 @@ var script$j = {
|
|
|
6126
7213
|
};
|
|
6127
7214
|
|
|
6128
7215
|
/* script */
|
|
6129
|
-
const __vue_script__$
|
|
7216
|
+
const __vue_script__$h = script$h;
|
|
6130
7217
|
/* template */
|
|
6131
7218
|
|
|
6132
|
-
var __vue_render__$
|
|
7219
|
+
var __vue_render__$g = function () {
|
|
6133
7220
|
var _vm = this;
|
|
6134
7221
|
|
|
6135
7222
|
var _h = _vm.$createElement;
|
|
@@ -6156,10 +7243,10 @@ var __vue_render__$h = function () {
|
|
|
6156
7243
|
}), _vm._v(" "), _vm._t("default")], 2);
|
|
6157
7244
|
};
|
|
6158
7245
|
|
|
6159
|
-
var __vue_staticRenderFns__$
|
|
7246
|
+
var __vue_staticRenderFns__$g = [];
|
|
6160
7247
|
/* style */
|
|
6161
7248
|
|
|
6162
|
-
const __vue_inject_styles__$
|
|
7249
|
+
const __vue_inject_styles__$h = function (inject) {
|
|
6163
7250
|
if (!inject) return;
|
|
6164
7251
|
inject("data-v-2a9aa6b4_0", {
|
|
6165
7252
|
source: ".el-form--inline[data-v-2a9aa6b4] .el-form-item{display:inline-flex}",
|
|
@@ -6170,23 +7257,23 @@ const __vue_inject_styles__$j = function (inject) {
|
|
|
6170
7257
|
/* scoped */
|
|
6171
7258
|
|
|
6172
7259
|
|
|
6173
|
-
const __vue_scope_id__$
|
|
7260
|
+
const __vue_scope_id__$h = "data-v-2a9aa6b4";
|
|
6174
7261
|
/* module identifier */
|
|
6175
7262
|
|
|
6176
|
-
const __vue_module_identifier__$
|
|
7263
|
+
const __vue_module_identifier__$h = undefined;
|
|
6177
7264
|
/* functional template */
|
|
6178
7265
|
|
|
6179
|
-
const __vue_is_functional_template__$
|
|
7266
|
+
const __vue_is_functional_template__$h = false;
|
|
6180
7267
|
/* style inject SSR */
|
|
6181
7268
|
|
|
6182
7269
|
/* style inject shadow dom */
|
|
6183
7270
|
|
|
6184
|
-
const __vue_component__$
|
|
6185
|
-
render: __vue_render__$
|
|
6186
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
6187
|
-
}, __vue_inject_styles__$
|
|
7271
|
+
const __vue_component__$h = /*#__PURE__*/normalizeComponent({
|
|
7272
|
+
render: __vue_render__$g,
|
|
7273
|
+
staticRenderFns: __vue_staticRenderFns__$g
|
|
7274
|
+
}, __vue_inject_styles__$h, __vue_script__$h, __vue_scope_id__$h, __vue_is_functional_template__$h, __vue_module_identifier__$h, false, createInjector, undefined, undefined);
|
|
6188
7275
|
|
|
6189
|
-
var Form$1 = __vue_component__$
|
|
7276
|
+
var Form$1 = __vue_component__$h;
|
|
6190
7277
|
|
|
6191
7278
|
//
|
|
6192
7279
|
//
|
|
@@ -6200,7 +7287,7 @@ var Form$1 = __vue_component__$j;
|
|
|
6200
7287
|
//
|
|
6201
7288
|
//
|
|
6202
7289
|
//
|
|
6203
|
-
var script$
|
|
7290
|
+
var script$g = {
|
|
6204
7291
|
name: 'ui-form-dialog',
|
|
6205
7292
|
inheritAttrs: false,
|
|
6206
7293
|
props: {
|
|
@@ -6393,10 +7480,10 @@ var script$i = {
|
|
|
6393
7480
|
};
|
|
6394
7481
|
|
|
6395
7482
|
/* script */
|
|
6396
|
-
const __vue_script__$
|
|
7483
|
+
const __vue_script__$g = script$g;
|
|
6397
7484
|
/* template */
|
|
6398
7485
|
|
|
6399
|
-
var __vue_render__$
|
|
7486
|
+
var __vue_render__$f = function () {
|
|
6400
7487
|
var _vm = this;
|
|
6401
7488
|
|
|
6402
7489
|
var _h = _vm.$createElement;
|
|
@@ -6455,10 +7542,10 @@ var __vue_render__$g = function () {
|
|
|
6455
7542
|
}, [_vm._v(_vm._s(_vm.confirmText))])], 1) : _vm._e()], 2)], 1);
|
|
6456
7543
|
};
|
|
6457
7544
|
|
|
6458
|
-
var __vue_staticRenderFns__$
|
|
7545
|
+
var __vue_staticRenderFns__$f = [];
|
|
6459
7546
|
/* style */
|
|
6460
7547
|
|
|
6461
|
-
const __vue_inject_styles__$
|
|
7548
|
+
const __vue_inject_styles__$g = function (inject) {
|
|
6462
7549
|
if (!inject) return;
|
|
6463
7550
|
inject("data-v-02f7d8d6_0", {
|
|
6464
7551
|
source: ".action-button[data-v-02f7d8d6]{text-align:right;margin:0 -20px -20px;padding:10px 20px;border-top:1px solid #e8e8e8}",
|
|
@@ -6469,23 +7556,23 @@ const __vue_inject_styles__$i = function (inject) {
|
|
|
6469
7556
|
/* scoped */
|
|
6470
7557
|
|
|
6471
7558
|
|
|
6472
|
-
const __vue_scope_id__$
|
|
7559
|
+
const __vue_scope_id__$g = "data-v-02f7d8d6";
|
|
6473
7560
|
/* module identifier */
|
|
6474
7561
|
|
|
6475
|
-
const __vue_module_identifier__$
|
|
7562
|
+
const __vue_module_identifier__$g = undefined;
|
|
6476
7563
|
/* functional template */
|
|
6477
7564
|
|
|
6478
|
-
const __vue_is_functional_template__$
|
|
7565
|
+
const __vue_is_functional_template__$g = false;
|
|
6479
7566
|
/* style inject SSR */
|
|
6480
7567
|
|
|
6481
7568
|
/* style inject shadow dom */
|
|
6482
7569
|
|
|
6483
|
-
const __vue_component__$
|
|
6484
|
-
render: __vue_render__$
|
|
6485
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
6486
|
-
}, __vue_inject_styles__$
|
|
7570
|
+
const __vue_component__$g = /*#__PURE__*/normalizeComponent({
|
|
7571
|
+
render: __vue_render__$f,
|
|
7572
|
+
staticRenderFns: __vue_staticRenderFns__$f
|
|
7573
|
+
}, __vue_inject_styles__$g, __vue_script__$g, __vue_scope_id__$g, __vue_is_functional_template__$g, __vue_module_identifier__$g, false, createInjector, undefined, undefined);
|
|
6487
7574
|
|
|
6488
|
-
var FormDialog = __vue_component__$
|
|
7575
|
+
var FormDialog = __vue_component__$g;
|
|
6489
7576
|
|
|
6490
7577
|
// 判断参数是否是其中之一
|
|
6491
7578
|
function oneOf(value, validList) {
|
|
@@ -6617,7 +7704,7 @@ const off = function () {
|
|
|
6617
7704
|
|
|
6618
7705
|
//
|
|
6619
7706
|
const prefixCls = 'ui-drawer';
|
|
6620
|
-
var script$
|
|
7707
|
+
var script$f = {
|
|
6621
7708
|
name: 'UiDrawer',
|
|
6622
7709
|
directives: {
|
|
6623
7710
|
TransferDom
|
|
@@ -6868,10 +7955,10 @@ var script$h = {
|
|
|
6868
7955
|
};
|
|
6869
7956
|
|
|
6870
7957
|
/* script */
|
|
6871
|
-
const __vue_script__$
|
|
7958
|
+
const __vue_script__$f = script$f;
|
|
6872
7959
|
/* template */
|
|
6873
7960
|
|
|
6874
|
-
var __vue_render__$
|
|
7961
|
+
var __vue_render__$e = function () {
|
|
6875
7962
|
var _vm = this;
|
|
6876
7963
|
|
|
6877
7964
|
var _h = _vm.$createElement;
|
|
@@ -6958,10 +8045,10 @@ var __vue_render__$f = function () {
|
|
|
6958
8045
|
})], 2) : _vm._e()])])], 1)], 1);
|
|
6959
8046
|
};
|
|
6960
8047
|
|
|
6961
|
-
var __vue_staticRenderFns__$
|
|
8048
|
+
var __vue_staticRenderFns__$e = [];
|
|
6962
8049
|
/* style */
|
|
6963
8050
|
|
|
6964
|
-
const __vue_inject_styles__$
|
|
8051
|
+
const __vue_inject_styles__$f = function (inject) {
|
|
6965
8052
|
if (!inject) return;
|
|
6966
8053
|
inject("data-v-0c67e85e_0", {
|
|
6967
8054
|
source: ".ui-drawer{width:auto;height:100%;position:fixed;top:0}.ui-drawer-inner{position:absolute}.ui-drawer-left{left:0}.ui-drawer-right{right:0}.ui-drawer-hidden{display:none!important}.ui-drawer-wrap{position:fixed;overflow:auto;top:0;right:0;bottom:0;left:0;z-index:1000;-webkit-overflow-scrolling:touch;outline:0}.ui-drawer-wrap-inner{position:absolute;overflow:hidden}.ui-drawer-wrap-dragging{user-select:none}.ui-drawer-wrap *{-webkit-tap-highlight-color:transparent}.ui-drawer-mask{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(55,55,55,.6);height:100%;z-index:1000}.ui-drawer-mask-hidden{display:none}.ui-drawer-mask-inner{position:absolute}.ui-drawer-content{width:100%;height:100%;position:absolute;top:0;bottom:0;background-color:#fff;border:0;background-clip:padding-box;box-shadow:0 4px 12px rgba(0,0,0,.15)}.ui-drawer-content-no-mask{pointer-events:auto}.ui-drawer-header{border-bottom:1px solid #e8eaec;padding:14px 16px;line-height:1}.ui-drawer-header p,.ui-drawer-header-inner{display:inline-block;width:100%;height:20px;line-height:20px;font-size:16px;color:#17233d;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-drawer-close{z-index:1;font-size:12px;position:absolute;right:15px;top:15px;overflow:hidden;cursor:pointer}.ui-drawer-close .el-icon-close{font-size:20px;color:#999;transition:color .2s ease;position:relative;top:1px}.ui-drawer-close .el-icon-close:hover{color:#444}.ui-drawer-body{width:100%;height:calc(100% - 51px);padding:16px;font-size:14px;line-height:1.5;word-wrap:break-word;position:absolute;overflow:auto;box-sizing:border-box}.ui-drawer-no-header .ui-drawer-body{height:100%}.ui-drawer-no-mask{pointer-events:none}.ui-drawer-no-mask .ui-drawer-drag{pointer-events:auto}.ui-drawer-drag{top:0;height:100%;width:0;position:absolute}.ui-drawer-drag-left{right:0}.ui-drawer-drag-move-trigger{width:8px;height:100px;line-height:100px;position:absolute;top:50%;background:#f3f3f3;transform:translate(-50%,-50%);border-radius:4px/6px;box-shadow:0 0 1px 1px rgba(0,0,0,.2);cursor:col-resize}.ui-drawer-drag-move-trigger-point{display:inline-block;width:50%;transform:translateX(50%)}.ui-drawer-drag-move-trigger-point i{display:block;border-bottom:1px solid silver;padding-bottom:2px}.fade-appear,.fade-enter-active{animation-duration:.15s;animation-fill-mode:both;animation-play-state:paused}.fade-leave-active{animation-duration:.15s;animation-fill-mode:both;animation-play-state:paused}.fade-appear,.fade-enter-active{animation-name:uiFadeInIn;animation-play-state:running}.fade-leave-active{animation-name:uiFadeInOut;animation-play-state:running}.fade-appear,.fade-enter-active{opacity:0;animation-timing-function:linear}.fade-leave-active{animation-timing-function:linear}@keyframes uiFadeIn{0%{opacity:0}100%{opacity:1}}@keyframes ivuFadeOut{0%{opacity:1}100%{opacity:0}}",
|
|
@@ -6972,26 +8059,26 @@ const __vue_inject_styles__$h = function (inject) {
|
|
|
6972
8059
|
/* scoped */
|
|
6973
8060
|
|
|
6974
8061
|
|
|
6975
|
-
const __vue_scope_id__$
|
|
8062
|
+
const __vue_scope_id__$f = undefined;
|
|
6976
8063
|
/* module identifier */
|
|
6977
8064
|
|
|
6978
|
-
const __vue_module_identifier__$
|
|
8065
|
+
const __vue_module_identifier__$f = undefined;
|
|
6979
8066
|
/* functional template */
|
|
6980
8067
|
|
|
6981
|
-
const __vue_is_functional_template__$
|
|
8068
|
+
const __vue_is_functional_template__$f = false;
|
|
6982
8069
|
/* style inject SSR */
|
|
6983
8070
|
|
|
6984
8071
|
/* style inject shadow dom */
|
|
6985
8072
|
|
|
6986
|
-
const __vue_component__$
|
|
6987
|
-
render: __vue_render__$
|
|
6988
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
6989
|
-
}, __vue_inject_styles__$
|
|
8073
|
+
const __vue_component__$f = /*#__PURE__*/normalizeComponent({
|
|
8074
|
+
render: __vue_render__$e,
|
|
8075
|
+
staticRenderFns: __vue_staticRenderFns__$e
|
|
8076
|
+
}, __vue_inject_styles__$f, __vue_script__$f, __vue_scope_id__$f, __vue_is_functional_template__$f, __vue_module_identifier__$f, false, createInjector, undefined, undefined);
|
|
6990
8077
|
|
|
6991
|
-
var Drawer$1 = __vue_component__$
|
|
8078
|
+
var Drawer$1 = __vue_component__$f;
|
|
6992
8079
|
|
|
6993
8080
|
//
|
|
6994
|
-
var script$
|
|
8081
|
+
var script$e = {
|
|
6995
8082
|
name: 'ui-form-drawer',
|
|
6996
8083
|
inheritAttrs: false,
|
|
6997
8084
|
components: {
|
|
@@ -7198,10 +8285,10 @@ var script$g = {
|
|
|
7198
8285
|
};
|
|
7199
8286
|
|
|
7200
8287
|
/* script */
|
|
7201
|
-
const __vue_script__$
|
|
8288
|
+
const __vue_script__$e = script$e;
|
|
7202
8289
|
/* template */
|
|
7203
8290
|
|
|
7204
|
-
var __vue_render__$
|
|
8291
|
+
var __vue_render__$d = function () {
|
|
7205
8292
|
var _vm = this;
|
|
7206
8293
|
|
|
7207
8294
|
var _h = _vm.$createElement;
|
|
@@ -7260,10 +8347,10 @@ var __vue_render__$e = function () {
|
|
|
7260
8347
|
}, [_vm._v(_vm._s(_vm.cancelText))])], 1) : _vm._e()]);
|
|
7261
8348
|
};
|
|
7262
8349
|
|
|
7263
|
-
var __vue_staticRenderFns__$
|
|
8350
|
+
var __vue_staticRenderFns__$d = [];
|
|
7264
8351
|
/* style */
|
|
7265
8352
|
|
|
7266
|
-
const __vue_inject_styles__$
|
|
8353
|
+
const __vue_inject_styles__$e = function (inject) {
|
|
7267
8354
|
if (!inject) return;
|
|
7268
8355
|
inject("data-v-61a29de6_0", {
|
|
7269
8356
|
source: ".ui-form-drawer{display:flex;flex-direction:column;padding:0;outline:0}.ui-form-drawer .ui-drawer-body{flex:1;padding:0;overflow:hidden;display:flex;flex-direction:column}.ui-form-drawer .ui-drawer-body>.el-form{flex:1;overflow:auto}.ui-form-drawer .ui-drawer-body>.action-button{flex:none}.ui-form-drawer .ui-form-drawer-wrapper{flex:1;overflow:hidden}.ui-form-drawer .ui-form-drawer-wrapper .el-form{width:100%;height:100%;overflow:auto;padding:16px;box-sizing:border-box}.ui-form-drawer .action-button{flex:none;padding:16px;border-top:1px solid #e8eaec;display:flex;flex-direction:row-reverse}.ui-form-drawer .action-button button+button{margin-right:16px}.ui-form-drawer .action-button::after{content:'';clear:both}",
|
|
@@ -7274,23 +8361,23 @@ const __vue_inject_styles__$g = function (inject) {
|
|
|
7274
8361
|
/* scoped */
|
|
7275
8362
|
|
|
7276
8363
|
|
|
7277
|
-
const __vue_scope_id__$
|
|
8364
|
+
const __vue_scope_id__$e = undefined;
|
|
7278
8365
|
/* module identifier */
|
|
7279
8366
|
|
|
7280
|
-
const __vue_module_identifier__$
|
|
8367
|
+
const __vue_module_identifier__$e = undefined;
|
|
7281
8368
|
/* functional template */
|
|
7282
8369
|
|
|
7283
|
-
const __vue_is_functional_template__$
|
|
8370
|
+
const __vue_is_functional_template__$e = false;
|
|
7284
8371
|
/* style inject SSR */
|
|
7285
8372
|
|
|
7286
8373
|
/* style inject shadow dom */
|
|
7287
8374
|
|
|
7288
|
-
const __vue_component__$
|
|
7289
|
-
render: __vue_render__$
|
|
7290
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
7291
|
-
}, __vue_inject_styles__$
|
|
8375
|
+
const __vue_component__$e = /*#__PURE__*/normalizeComponent({
|
|
8376
|
+
render: __vue_render__$d,
|
|
8377
|
+
staticRenderFns: __vue_staticRenderFns__$d
|
|
8378
|
+
}, __vue_inject_styles__$e, __vue_script__$e, __vue_scope_id__$e, __vue_is_functional_template__$e, __vue_module_identifier__$e, false, createInjector, undefined, undefined);
|
|
7292
8379
|
|
|
7293
|
-
var FormDrawer = __vue_component__$
|
|
8380
|
+
var FormDrawer = __vue_component__$e;
|
|
7294
8381
|
|
|
7295
8382
|
//
|
|
7296
8383
|
//
|
|
@@ -7301,7 +8388,7 @@ var FormDrawer = __vue_component__$g;
|
|
|
7301
8388
|
//
|
|
7302
8389
|
//
|
|
7303
8390
|
//
|
|
7304
|
-
var script$
|
|
8391
|
+
var script$d = {
|
|
7305
8392
|
name: 'ui-form-fieldset',
|
|
7306
8393
|
props: {
|
|
7307
8394
|
label: {
|
|
@@ -7360,10 +8447,10 @@ var script$f = {
|
|
|
7360
8447
|
};
|
|
7361
8448
|
|
|
7362
8449
|
/* script */
|
|
7363
|
-
const __vue_script__$
|
|
8450
|
+
const __vue_script__$d = script$d;
|
|
7364
8451
|
/* template */
|
|
7365
8452
|
|
|
7366
|
-
var __vue_render__$
|
|
8453
|
+
var __vue_render__$c = function () {
|
|
7367
8454
|
var _vm = this;
|
|
7368
8455
|
|
|
7369
8456
|
var _h = _vm.$createElement;
|
|
@@ -7386,7 +8473,7 @@ var __vue_render__$d = function () {
|
|
|
7386
8473
|
}, [_vm._t("default")], 2)]);
|
|
7387
8474
|
};
|
|
7388
8475
|
|
|
7389
|
-
var __vue_staticRenderFns__$
|
|
8476
|
+
var __vue_staticRenderFns__$c = [function () {
|
|
7390
8477
|
var _vm = this;
|
|
7391
8478
|
|
|
7392
8479
|
var _h = _vm.$createElement;
|
|
@@ -7402,7 +8489,7 @@ var __vue_staticRenderFns__$d = [function () {
|
|
|
7402
8489
|
}];
|
|
7403
8490
|
/* style */
|
|
7404
8491
|
|
|
7405
|
-
const __vue_inject_styles__$
|
|
8492
|
+
const __vue_inject_styles__$d = function (inject) {
|
|
7406
8493
|
if (!inject) return;
|
|
7407
8494
|
inject("data-v-f2017c28_0", {
|
|
7408
8495
|
source: ".ui-form-fieldset[data-v-f2017c28]{padding:30px 20px 10px;margin:30px 0 20px;border:1px dashed #aaa;border-radius:2px;position:relative}.ui-form-fieldset.toggle.collapse[data-v-f2017c28]{padding:0;border-bottom:none}.ui-form-fieldset.toggle.collapse .ui-form-fieldset-legend[data-v-f2017c28]::after{content:'\\f107'}.ui-form-fieldset.toggle .ui-form-fieldset-legend[data-v-f2017c28]{cursor:pointer;font-family:FontAwesome,serif;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ui-form-fieldset.toggle .ui-form-fieldset-legend[data-v-f2017c28]::after{margin-left:4px;content:'\\f106'}.ui-form-fieldset>.ui-form-fieldset-legend[data-v-f2017c28]{position:absolute;top:-8px;padding:0 30px;margin:0;height:16px;line-height:16px;font-size:14px;color:#666;left:50%;transform:translateX(-50%);background:#fff;user-select:none}.ui-form-fieldset+.ui-form-fieldset[data-v-f2017c28]{margin-top:40px}",
|
|
@@ -7413,23 +8500,23 @@ const __vue_inject_styles__$f = function (inject) {
|
|
|
7413
8500
|
/* scoped */
|
|
7414
8501
|
|
|
7415
8502
|
|
|
7416
|
-
const __vue_scope_id__$
|
|
8503
|
+
const __vue_scope_id__$d = "data-v-f2017c28";
|
|
7417
8504
|
/* module identifier */
|
|
7418
8505
|
|
|
7419
|
-
const __vue_module_identifier__$
|
|
8506
|
+
const __vue_module_identifier__$d = undefined;
|
|
7420
8507
|
/* functional template */
|
|
7421
8508
|
|
|
7422
|
-
const __vue_is_functional_template__$
|
|
8509
|
+
const __vue_is_functional_template__$d = false;
|
|
7423
8510
|
/* style inject SSR */
|
|
7424
8511
|
|
|
7425
8512
|
/* style inject shadow dom */
|
|
7426
8513
|
|
|
7427
|
-
const __vue_component__$
|
|
7428
|
-
render: __vue_render__$
|
|
7429
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
7430
|
-
}, __vue_inject_styles__$
|
|
8514
|
+
const __vue_component__$d = /*#__PURE__*/normalizeComponent({
|
|
8515
|
+
render: __vue_render__$c,
|
|
8516
|
+
staticRenderFns: __vue_staticRenderFns__$c
|
|
8517
|
+
}, __vue_inject_styles__$d, __vue_script__$d, __vue_scope_id__$d, __vue_is_functional_template__$d, __vue_module_identifier__$d, false, createInjector, undefined, undefined);
|
|
7431
8518
|
|
|
7432
|
-
var FormFieldset = __vue_component__$
|
|
8519
|
+
var FormFieldset = __vue_component__$d;
|
|
7433
8520
|
|
|
7434
8521
|
var Form = {
|
|
7435
8522
|
install: Vue => {
|
|
@@ -7439,7 +8526,8 @@ var Form = {
|
|
|
7439
8526
|
Vue.component(FormDialog.name, FormDialog);
|
|
7440
8527
|
Vue.component(FormDrawer.name, FormDrawer);
|
|
7441
8528
|
Vue.component(FormFieldset.name, FormFieldset);
|
|
7442
|
-
}
|
|
8529
|
+
},
|
|
8530
|
+
FormFields
|
|
7443
8531
|
};
|
|
7444
8532
|
|
|
7445
8533
|
const getReference = (el, binding, vnode) => {
|
|
@@ -7469,7 +8557,7 @@ var BindTable = {
|
|
|
7469
8557
|
//
|
|
7470
8558
|
//
|
|
7471
8559
|
//
|
|
7472
|
-
var script$
|
|
8560
|
+
var script$c = {
|
|
7473
8561
|
name: 'ui-fill-view',
|
|
7474
8562
|
props: {
|
|
7475
8563
|
direction: {
|
|
@@ -7488,10 +8576,10 @@ var script$e = {
|
|
|
7488
8576
|
};
|
|
7489
8577
|
|
|
7490
8578
|
/* script */
|
|
7491
|
-
const __vue_script__$
|
|
8579
|
+
const __vue_script__$c = script$c;
|
|
7492
8580
|
/* template */
|
|
7493
8581
|
|
|
7494
|
-
var __vue_render__$
|
|
8582
|
+
var __vue_render__$b = function () {
|
|
7495
8583
|
var _vm = this;
|
|
7496
8584
|
|
|
7497
8585
|
var _h = _vm.$createElement;
|
|
@@ -7506,10 +8594,10 @@ var __vue_render__$c = function () {
|
|
|
7506
8594
|
}, [_vm._t("default")], 2)]);
|
|
7507
8595
|
};
|
|
7508
8596
|
|
|
7509
|
-
var __vue_staticRenderFns__$
|
|
8597
|
+
var __vue_staticRenderFns__$b = [];
|
|
7510
8598
|
/* style */
|
|
7511
8599
|
|
|
7512
|
-
const __vue_inject_styles__$
|
|
8600
|
+
const __vue_inject_styles__$c = function (inject) {
|
|
7513
8601
|
if (!inject) return;
|
|
7514
8602
|
inject("data-v-71000ef8_0", {
|
|
7515
8603
|
source: ".ui-fill-view[data-v-71000ef8]{flex:1;position:relative}.ui-fill-view .wrapper[data-v-71000ef8]{position:absolute;top:0;bottom:0;left:0;right:0;display:flex;flex-direction:column}",
|
|
@@ -7520,23 +8608,23 @@ const __vue_inject_styles__$e = function (inject) {
|
|
|
7520
8608
|
/* scoped */
|
|
7521
8609
|
|
|
7522
8610
|
|
|
7523
|
-
const __vue_scope_id__$
|
|
8611
|
+
const __vue_scope_id__$c = "data-v-71000ef8";
|
|
7524
8612
|
/* module identifier */
|
|
7525
8613
|
|
|
7526
|
-
const __vue_module_identifier__$
|
|
8614
|
+
const __vue_module_identifier__$c = undefined;
|
|
7527
8615
|
/* functional template */
|
|
7528
8616
|
|
|
7529
|
-
const __vue_is_functional_template__$
|
|
8617
|
+
const __vue_is_functional_template__$c = false;
|
|
7530
8618
|
/* style inject SSR */
|
|
7531
8619
|
|
|
7532
8620
|
/* style inject shadow dom */
|
|
7533
8621
|
|
|
7534
|
-
const __vue_component__$
|
|
7535
|
-
render: __vue_render__$
|
|
7536
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
7537
|
-
}, __vue_inject_styles__$
|
|
8622
|
+
const __vue_component__$c = /*#__PURE__*/normalizeComponent({
|
|
8623
|
+
render: __vue_render__$b,
|
|
8624
|
+
staticRenderFns: __vue_staticRenderFns__$b
|
|
8625
|
+
}, __vue_inject_styles__$c, __vue_script__$c, __vue_scope_id__$c, __vue_is_functional_template__$c, __vue_module_identifier__$c, false, createInjector, undefined, undefined);
|
|
7538
8626
|
|
|
7539
|
-
var FillView$1 = __vue_component__$
|
|
8627
|
+
var FillView$1 = __vue_component__$c;
|
|
7540
8628
|
|
|
7541
8629
|
/**
|
|
7542
8630
|
* 导出
|
|
@@ -7655,7 +8743,7 @@ var ExportsMixin = {
|
|
|
7655
8743
|
//
|
|
7656
8744
|
//
|
|
7657
8745
|
//
|
|
7658
|
-
var script$
|
|
8746
|
+
var script$b = {
|
|
7659
8747
|
name: 'remote-exports-dialog',
|
|
7660
8748
|
props: {
|
|
7661
8749
|
visible: Boolean,
|
|
@@ -7847,10 +8935,10 @@ var script$d = {
|
|
|
7847
8935
|
};
|
|
7848
8936
|
|
|
7849
8937
|
/* script */
|
|
7850
|
-
const __vue_script__$
|
|
8938
|
+
const __vue_script__$b = script$b;
|
|
7851
8939
|
/* template */
|
|
7852
8940
|
|
|
7853
|
-
var __vue_render__$
|
|
8941
|
+
var __vue_render__$a = function () {
|
|
7854
8942
|
var _vm = this;
|
|
7855
8943
|
|
|
7856
8944
|
var _h = _vm.$createElement;
|
|
@@ -7978,10 +9066,10 @@ var __vue_render__$b = function () {
|
|
|
7978
9066
|
}), 1)], 1)], 1)])]);
|
|
7979
9067
|
};
|
|
7980
9068
|
|
|
7981
|
-
var __vue_staticRenderFns__$
|
|
9069
|
+
var __vue_staticRenderFns__$a = [];
|
|
7982
9070
|
/* style */
|
|
7983
9071
|
|
|
7984
|
-
const __vue_inject_styles__$
|
|
9072
|
+
const __vue_inject_styles__$b = function (inject) {
|
|
7985
9073
|
if (!inject) return;
|
|
7986
9074
|
inject("data-v-8a0ac17c_0", {
|
|
7987
9075
|
source: ".exports-dialog-wrapper[data-v-8a0ac17c]{display:flex;align-items:center;flex-direction:column;max-height:320px;overflow:auto}.exports-dialog-wrapper h3[data-v-8a0ac17c]{text-align:center;margin-bottom:15px}.exports-dialog-wrapper .exports-from[data-v-8a0ac17c] .el-form-item{margin-right:0}.exports-dialog-wrapper .exports-from[data-v-8a0ac17c] .el-form-item .el-input__inner{width:60px;text-align:center}.exports-dialog-wrapper .start-input[data-v-8a0ac17c] .el-input-group__append{border-radius:0;border-right:0}.exports-dialog-wrapper .end-input[data-v-8a0ac17c] .el-input__inner{border-radius:0}",
|
|
@@ -7992,27 +9080,27 @@ const __vue_inject_styles__$d = function (inject) {
|
|
|
7992
9080
|
/* scoped */
|
|
7993
9081
|
|
|
7994
9082
|
|
|
7995
|
-
const __vue_scope_id__$
|
|
9083
|
+
const __vue_scope_id__$b = "data-v-8a0ac17c";
|
|
7996
9084
|
/* module identifier */
|
|
7997
9085
|
|
|
7998
|
-
const __vue_module_identifier__$
|
|
9086
|
+
const __vue_module_identifier__$b = undefined;
|
|
7999
9087
|
/* functional template */
|
|
8000
9088
|
|
|
8001
|
-
const __vue_is_functional_template__$
|
|
9089
|
+
const __vue_is_functional_template__$b = false;
|
|
8002
9090
|
/* style inject SSR */
|
|
8003
9091
|
|
|
8004
9092
|
/* style inject shadow dom */
|
|
8005
9093
|
|
|
8006
|
-
const __vue_component__$
|
|
8007
|
-
render: __vue_render__$
|
|
8008
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
8009
|
-
}, __vue_inject_styles__$
|
|
9094
|
+
const __vue_component__$b = /*#__PURE__*/normalizeComponent({
|
|
9095
|
+
render: __vue_render__$a,
|
|
9096
|
+
staticRenderFns: __vue_staticRenderFns__$a
|
|
9097
|
+
}, __vue_inject_styles__$b, __vue_script__$b, __vue_scope_id__$b, __vue_is_functional_template__$b, __vue_module_identifier__$b, false, createInjector, undefined, undefined);
|
|
8010
9098
|
|
|
8011
|
-
var RemoteExportsDialog = __vue_component__$
|
|
9099
|
+
var RemoteExportsDialog = __vue_component__$b;
|
|
8012
9100
|
|
|
8013
9101
|
//
|
|
8014
9102
|
let tableIdSeed = 1;
|
|
8015
|
-
var script$
|
|
9103
|
+
var script$a = {
|
|
8016
9104
|
name: 'ui-table',
|
|
8017
9105
|
|
|
8018
9106
|
provide() {
|
|
@@ -8845,10 +9933,10 @@ var script$c = {
|
|
|
8845
9933
|
};
|
|
8846
9934
|
|
|
8847
9935
|
/* script */
|
|
8848
|
-
const __vue_script__$
|
|
9936
|
+
const __vue_script__$a = script$a;
|
|
8849
9937
|
/* template */
|
|
8850
9938
|
|
|
8851
|
-
var __vue_render__$
|
|
9939
|
+
var __vue_render__$9 = function () {
|
|
8852
9940
|
var _vm = this;
|
|
8853
9941
|
|
|
8854
9942
|
var _h = _vm.$createElement;
|
|
@@ -8958,13 +10046,13 @@ var __vue_render__$a = function () {
|
|
|
8958
10046
|
})], 1);
|
|
8959
10047
|
};
|
|
8960
10048
|
|
|
8961
|
-
var __vue_staticRenderFns__$
|
|
10049
|
+
var __vue_staticRenderFns__$9 = [];
|
|
8962
10050
|
/* style */
|
|
8963
10051
|
|
|
8964
|
-
const __vue_inject_styles__$
|
|
10052
|
+
const __vue_inject_styles__$a = function (inject) {
|
|
8965
10053
|
if (!inject) return;
|
|
8966
|
-
inject("data-v-
|
|
8967
|
-
source: ".ui-table{flex:1;display:flex;flex-direction:column;z-index:0;background-color:#fff;padding:15px 20px}.ui-table .ui-table-select-bar{flex:none}.ui-table .ui-table-select-bar .ui-table-select{position:relative;padding-right:100px}.ui-table .ui-table-select-bar .ui-table-select.has-reset{padding-right:200px}.ui-table .ui-table-select-bar .ui-table-select .submit-item{position:absolute;top:0;right:0;margin-right:0;margin-bottom:0}.ui-table .ui-table-select-bar .el-input{width:200px}.ui-table .ui-table-tool-bar{padding:10px 0;flex:none;display:flex;flex-wrap:wrap;align-items:center;flex-direction:row;background-color:#fff}.ui-table .private-tools{z-index:1;position:absolute;top:8px;right:5px;display:flex;flex-direction:row;padding-left:20px}.ui-table .private-tools .tool+.tool{margin-left:5px}.ui-table .private-tools .el-button.el-tooltip{background:rgba(255,255,255,.6);backdrop-filter:blur(3px);box-shadow:0 0 3px #999}.ui-table .ui-table-alert{margin-bottom:10px;border:1px solid #b3d8ff;background-color:#ecf5ff;border-radius:3px;padding:8px 10px}.ui-table .ui-table-alert .el-icon-info{color:#409eff;margin-right:6px}.ui-table .ui-table-alert .el-button--text{padding:0;margin-left:10px}.ui-table .el-table{flex:1;border:1px solid #ebeef5;border-bottom:none;z-index:0}.ui-table .footer-bar{flex:none;display:block;padding:20px 15px 15px;background-color:#fff}.ui-table .footer-bar .el-pagination{text-align:right;padding:0}.ui-table .ui-table-empty{padding-top:110px;background:url(
|
|
10054
|
+
inject("data-v-2c1fbdee_0", {
|
|
10055
|
+
source: ".ui-table{flex:1;display:flex;flex-direction:column;z-index:0;background-color:#fff;padding:15px 20px}.ui-table .ui-table-select-bar{flex:none}.ui-table .ui-table-select-bar .ui-table-select{position:relative;padding-right:100px}.ui-table .ui-table-select-bar .ui-table-select.has-reset{padding-right:200px}.ui-table .ui-table-select-bar .ui-table-select .submit-item{position:absolute;top:0;right:0;margin-right:0;margin-bottom:0}.ui-table .ui-table-select-bar .el-input{width:200px}.ui-table .ui-table-tool-bar{padding:10px 0;flex:none;display:flex;flex-wrap:wrap;align-items:center;flex-direction:row;background-color:#fff}.ui-table .private-tools{z-index:1;position:absolute;top:8px;right:5px;display:flex;flex-direction:row;padding-left:20px}.ui-table .private-tools .tool+.tool{margin-left:5px}.ui-table .private-tools .el-button.el-tooltip{background:rgba(255,255,255,.6);backdrop-filter:blur(3px);box-shadow:0 0 3px #999}.ui-table .ui-table-alert{margin-bottom:10px;border:1px solid #b3d8ff;background-color:#ecf5ff;border-radius:3px;padding:8px 10px}.ui-table .ui-table-alert .el-icon-info{color:#409eff;margin-right:6px}.ui-table .ui-table-alert .el-button--text{padding:0;margin-left:10px}.ui-table .el-table{flex:1;border:1px solid #ebeef5;border-bottom:none;z-index:0}.ui-table .footer-bar{flex:none;display:block;padding:20px 15px 15px;background-color:#fff}.ui-table .footer-bar .el-pagination{text-align:right;padding:0}.ui-table .ui-table-empty{padding-top:110px;background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTg0IiBoZWlnaHQ9IjE1MiIgdmlld0JveD0iMCAwIDE4NCAxNTIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgIDxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDI0IDMxLjY3KSI+CiAgICAgIDxlbGxpcHNlIGZpbGwtb3BhY2l0eT0iLjgiIGZpbGw9IiNGNUY1RjciIGN4PSI2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2VsbGlwc2U+CiAgICAgIDxwYXRoIGQ9Ik01LjY5OCA1LjYzSDBMMi44OTguNzA0ek05LjI1OS43MDRoNC45ODVWNS42M0g5LjI1OXoiPjwvcGF0aD4KICAgIDwvZz4KICA8L2c+Cjwvc3ZnPgo=) center top no-repeat;background-size:auto 100px;color:rgba(0,0,0,.65);font-size:14px;line-height:22px;text-align:center}.column-label{width:80px;display:inline-block;vertical-align:middle;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-table-column-action .el-button{box-shadow:none;padding:0;line-height:inherit}",
|
|
8968
10056
|
map: undefined,
|
|
8969
10057
|
media: undefined
|
|
8970
10058
|
});
|
|
@@ -8972,23 +10060,23 @@ const __vue_inject_styles__$c = function (inject) {
|
|
|
8972
10060
|
/* scoped */
|
|
8973
10061
|
|
|
8974
10062
|
|
|
8975
|
-
const __vue_scope_id__$
|
|
10063
|
+
const __vue_scope_id__$a = undefined;
|
|
8976
10064
|
/* module identifier */
|
|
8977
10065
|
|
|
8978
|
-
const __vue_module_identifier__$
|
|
10066
|
+
const __vue_module_identifier__$a = undefined;
|
|
8979
10067
|
/* functional template */
|
|
8980
10068
|
|
|
8981
|
-
const __vue_is_functional_template__$
|
|
10069
|
+
const __vue_is_functional_template__$a = false;
|
|
8982
10070
|
/* style inject SSR */
|
|
8983
10071
|
|
|
8984
10072
|
/* style inject shadow dom */
|
|
8985
10073
|
|
|
8986
|
-
const __vue_component__$
|
|
8987
|
-
render: __vue_render__$
|
|
8988
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
8989
|
-
}, __vue_inject_styles__$
|
|
10074
|
+
const __vue_component__$a = /*#__PURE__*/normalizeComponent({
|
|
10075
|
+
render: __vue_render__$9,
|
|
10076
|
+
staticRenderFns: __vue_staticRenderFns__$9
|
|
10077
|
+
}, __vue_inject_styles__$a, __vue_script__$a, __vue_scope_id__$a, __vue_is_functional_template__$a, __vue_module_identifier__$a, false, createInjector, undefined, undefined);
|
|
8990
10078
|
|
|
8991
|
-
var Table$1 = __vue_component__$
|
|
10079
|
+
var Table$1 = __vue_component__$a;
|
|
8992
10080
|
|
|
8993
10081
|
const Format = {
|
|
8994
10082
|
Date: 'YYYY-MM-DD',
|
|
@@ -9006,7 +10094,7 @@ var Date$1 = {
|
|
|
9006
10094
|
* 在 element-ui 的 el-table-column 组件上拓展出 tree 类型
|
|
9007
10095
|
*/
|
|
9008
10096
|
|
|
9009
|
-
var script$
|
|
10097
|
+
var script$9 = {
|
|
9010
10098
|
name: 'ui-column',
|
|
9011
10099
|
mixins: [TableColumn$1],
|
|
9012
10100
|
inject: {
|
|
@@ -9334,12 +10422,12 @@ var script$b = {
|
|
|
9334
10422
|
};
|
|
9335
10423
|
|
|
9336
10424
|
/* script */
|
|
9337
|
-
const __vue_script__$
|
|
10425
|
+
const __vue_script__$9 = script$9;
|
|
9338
10426
|
/* template */
|
|
9339
10427
|
|
|
9340
10428
|
/* style */
|
|
9341
10429
|
|
|
9342
|
-
const __vue_inject_styles__$
|
|
10430
|
+
const __vue_inject_styles__$9 = function (inject) {
|
|
9343
10431
|
if (!inject) return;
|
|
9344
10432
|
inject("data-v-90b208a6_0", {
|
|
9345
10433
|
source: ".tree-toggle{display:inline-flex;width:24px;align-items:center;justify-content:center}.tree-toggle.pointer{cursor:pointer}",
|
|
@@ -9350,20 +10438,20 @@ const __vue_inject_styles__$b = function (inject) {
|
|
|
9350
10438
|
/* scoped */
|
|
9351
10439
|
|
|
9352
10440
|
|
|
9353
|
-
const __vue_scope_id__$
|
|
10441
|
+
const __vue_scope_id__$9 = undefined;
|
|
9354
10442
|
/* module identifier */
|
|
9355
10443
|
|
|
9356
|
-
const __vue_module_identifier__$
|
|
10444
|
+
const __vue_module_identifier__$9 = undefined;
|
|
9357
10445
|
/* functional template */
|
|
9358
10446
|
|
|
9359
|
-
const __vue_is_functional_template__$
|
|
10447
|
+
const __vue_is_functional_template__$9 = undefined;
|
|
9360
10448
|
/* style inject SSR */
|
|
9361
10449
|
|
|
9362
10450
|
/* style inject shadow dom */
|
|
9363
10451
|
|
|
9364
|
-
const __vue_component__$
|
|
10452
|
+
const __vue_component__$9 = /*#__PURE__*/normalizeComponent({}, __vue_inject_styles__$9, __vue_script__$9, __vue_scope_id__$9, __vue_is_functional_template__$9, __vue_module_identifier__$9, false, createInjector, undefined, undefined);
|
|
9365
10453
|
|
|
9366
|
-
var Column = __vue_component__$
|
|
10454
|
+
var Column = __vue_component__$9;
|
|
9367
10455
|
|
|
9368
10456
|
const actionButtonConfig = {
|
|
9369
10457
|
'!key': (button, index) => {
|
|
@@ -10176,7 +11264,7 @@ var TableColumn = {
|
|
|
10176
11264
|
//
|
|
10177
11265
|
//
|
|
10178
11266
|
//
|
|
10179
|
-
var script$
|
|
11267
|
+
var script$8 = {
|
|
10180
11268
|
name: 'ui-table-pagination',
|
|
10181
11269
|
inject: ['uiTable'],
|
|
10182
11270
|
props: {
|
|
@@ -10246,10 +11334,10 @@ var script$a = {
|
|
|
10246
11334
|
};
|
|
10247
11335
|
|
|
10248
11336
|
/* script */
|
|
10249
|
-
const __vue_script__$
|
|
11337
|
+
const __vue_script__$8 = script$8;
|
|
10250
11338
|
/* template */
|
|
10251
11339
|
|
|
10252
|
-
var __vue_render__$
|
|
11340
|
+
var __vue_render__$8 = function () {
|
|
10253
11341
|
var _vm = this;
|
|
10254
11342
|
|
|
10255
11343
|
var _h = _vm.$createElement;
|
|
@@ -10272,36 +11360,36 @@ var __vue_render__$9 = function () {
|
|
|
10272
11360
|
}, 'el-pagination', _vm.$attrs, false), [_vm._t("default")], 2);
|
|
10273
11361
|
};
|
|
10274
11362
|
|
|
10275
|
-
var __vue_staticRenderFns__$
|
|
11363
|
+
var __vue_staticRenderFns__$8 = [];
|
|
10276
11364
|
/* style */
|
|
10277
11365
|
|
|
10278
|
-
const __vue_inject_styles__$
|
|
11366
|
+
const __vue_inject_styles__$8 = undefined;
|
|
10279
11367
|
/* scoped */
|
|
10280
11368
|
|
|
10281
|
-
const __vue_scope_id__$
|
|
11369
|
+
const __vue_scope_id__$8 = "data-v-681d0726";
|
|
10282
11370
|
/* module identifier */
|
|
10283
11371
|
|
|
10284
|
-
const __vue_module_identifier__$
|
|
11372
|
+
const __vue_module_identifier__$8 = undefined;
|
|
10285
11373
|
/* functional template */
|
|
10286
11374
|
|
|
10287
|
-
const __vue_is_functional_template__$
|
|
11375
|
+
const __vue_is_functional_template__$8 = false;
|
|
10288
11376
|
/* style inject */
|
|
10289
11377
|
|
|
10290
11378
|
/* style inject SSR */
|
|
10291
11379
|
|
|
10292
11380
|
/* style inject shadow dom */
|
|
10293
11381
|
|
|
10294
|
-
const __vue_component__$
|
|
10295
|
-
render: __vue_render__$
|
|
10296
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
10297
|
-
}, __vue_inject_styles__$
|
|
11382
|
+
const __vue_component__$8 = /*#__PURE__*/normalizeComponent({
|
|
11383
|
+
render: __vue_render__$8,
|
|
11384
|
+
staticRenderFns: __vue_staticRenderFns__$8
|
|
11385
|
+
}, __vue_inject_styles__$8, __vue_script__$8, __vue_scope_id__$8, __vue_is_functional_template__$8, __vue_module_identifier__$8, false, undefined, undefined, undefined);
|
|
10298
11386
|
|
|
10299
|
-
var TablePagination = __vue_component__$
|
|
11387
|
+
var TablePagination = __vue_component__$8;
|
|
10300
11388
|
|
|
10301
11389
|
//
|
|
10302
11390
|
const SEARCH_PREFIX = 'select';
|
|
10303
11391
|
const SORT_PREFIX = 'sort';
|
|
10304
|
-
var script$
|
|
11392
|
+
var script$7 = {
|
|
10305
11393
|
name: 'ui-table-select',
|
|
10306
11394
|
inject: {
|
|
10307
11395
|
uiTable: {
|
|
@@ -10437,10 +11525,10 @@ var script$9 = {
|
|
|
10437
11525
|
};
|
|
10438
11526
|
|
|
10439
11527
|
/* script */
|
|
10440
|
-
const __vue_script__$
|
|
11528
|
+
const __vue_script__$7 = script$7;
|
|
10441
11529
|
/* template */
|
|
10442
11530
|
|
|
10443
|
-
var __vue_render__$
|
|
11531
|
+
var __vue_render__$7 = function () {
|
|
10444
11532
|
var _vm = this;
|
|
10445
11533
|
|
|
10446
11534
|
var _h = _vm.$createElement;
|
|
@@ -10481,10 +11569,10 @@ var __vue_render__$8 = function () {
|
|
|
10481
11569
|
}), _vm._v(" "), _vm._t("end")], 2);
|
|
10482
11570
|
};
|
|
10483
11571
|
|
|
10484
|
-
var __vue_staticRenderFns__$
|
|
11572
|
+
var __vue_staticRenderFns__$7 = [];
|
|
10485
11573
|
/* style */
|
|
10486
11574
|
|
|
10487
|
-
const __vue_inject_styles__$
|
|
11575
|
+
const __vue_inject_styles__$7 = function (inject) {
|
|
10488
11576
|
if (!inject) return;
|
|
10489
11577
|
inject("data-v-1bff1b12_0", {
|
|
10490
11578
|
source: ".ui-table-select{display:flex;align-items:center;flex-wrap:wrap}.ui-table-select .el-row{width:100%}.ui-table-select .fill{flex:1}.ui-table-select .el-form-item{margin-bottom:10px}.ui-table-select .el-form-item:last-child{margin-right:0}.ui-table-select .el-form-item,.ui-table-select .el-form-item.el-form-item--mini{margin-bottom:10px}",
|
|
@@ -10495,23 +11583,23 @@ const __vue_inject_styles__$9 = function (inject) {
|
|
|
10495
11583
|
/* scoped */
|
|
10496
11584
|
|
|
10497
11585
|
|
|
10498
|
-
const __vue_scope_id__$
|
|
11586
|
+
const __vue_scope_id__$7 = undefined;
|
|
10499
11587
|
/* module identifier */
|
|
10500
11588
|
|
|
10501
|
-
const __vue_module_identifier__$
|
|
11589
|
+
const __vue_module_identifier__$7 = undefined;
|
|
10502
11590
|
/* functional template */
|
|
10503
11591
|
|
|
10504
|
-
const __vue_is_functional_template__$
|
|
11592
|
+
const __vue_is_functional_template__$7 = false;
|
|
10505
11593
|
/* style inject SSR */
|
|
10506
11594
|
|
|
10507
11595
|
/* style inject shadow dom */
|
|
10508
11596
|
|
|
10509
|
-
const __vue_component__$
|
|
10510
|
-
render: __vue_render__$
|
|
10511
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
10512
|
-
}, __vue_inject_styles__$
|
|
11597
|
+
const __vue_component__$7 = /*#__PURE__*/normalizeComponent({
|
|
11598
|
+
render: __vue_render__$7,
|
|
11599
|
+
staticRenderFns: __vue_staticRenderFns__$7
|
|
11600
|
+
}, __vue_inject_styles__$7, __vue_script__$7, __vue_scope_id__$7, __vue_is_functional_template__$7, __vue_module_identifier__$7, false, createInjector, undefined, undefined);
|
|
10513
11601
|
|
|
10514
|
-
var TableSelect = __vue_component__$
|
|
11602
|
+
var TableSelect = __vue_component__$7;
|
|
10515
11603
|
|
|
10516
11604
|
var Table = {
|
|
10517
11605
|
install: Vue => {
|
|
@@ -10615,7 +11703,7 @@ var Drag = {
|
|
|
10615
11703
|
//
|
|
10616
11704
|
//
|
|
10617
11705
|
//
|
|
10618
|
-
var script$
|
|
11706
|
+
var script$6 = {
|
|
10619
11707
|
name: 'ui-dialog',
|
|
10620
11708
|
props: {
|
|
10621
11709
|
title: String,
|
|
@@ -10716,10 +11804,10 @@ var script$8 = {
|
|
|
10716
11804
|
};
|
|
10717
11805
|
|
|
10718
11806
|
/* script */
|
|
10719
|
-
const __vue_script__$
|
|
11807
|
+
const __vue_script__$6 = script$6;
|
|
10720
11808
|
/* template */
|
|
10721
11809
|
|
|
10722
|
-
var __vue_render__$
|
|
11810
|
+
var __vue_render__$6 = function () {
|
|
10723
11811
|
var _vm = this;
|
|
10724
11812
|
|
|
10725
11813
|
var _h = _vm.$createElement;
|
|
@@ -10780,10 +11868,10 @@ var __vue_render__$7 = function () {
|
|
|
10780
11868
|
}), 1) : _vm._e()], 2);
|
|
10781
11869
|
};
|
|
10782
11870
|
|
|
10783
|
-
var __vue_staticRenderFns__$
|
|
11871
|
+
var __vue_staticRenderFns__$6 = [];
|
|
10784
11872
|
/* style */
|
|
10785
11873
|
|
|
10786
|
-
const __vue_inject_styles__$
|
|
11874
|
+
const __vue_inject_styles__$6 = function (inject) {
|
|
10787
11875
|
if (!inject) return;
|
|
10788
11876
|
inject("data-v-2fef274f_0", {
|
|
10789
11877
|
source: ".ui-dialog[data-v-2fef274f] .el-dialog{margin-bottom:0}.ui-dialog[data-v-2fef274f] .el-dialog .title{position:relative;line-height:28px;padding:12px 48px 12px 24px;word-break:keep-all;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-bottom:1px solid #e8e8e8;color:#202124;font-weight:500;font-size:16px}.ui-dialog[data-v-2fef274f] .el-dialog .title .close{position:absolute;right:0;top:0;bottom:0;width:53px;height:53px;display:inline-block;text-align:center;cursor:pointer;transition:all .3s;user-select:none}.ui-dialog[data-v-2fef274f] .el-dialog .title .close:hover{color:var(--color-primary)}.ui-dialog[data-v-2fef274f] .el-dialog .title .close>i{font-size:20px;line-height:53px}[data-v-2fef274f] .el-form .ui-form-fieldset:first-child{margin-top:0}[data-v-2fef274f] .el-form .ui-form-fieldset:last-child{margin-bottom:0}[data-v-2fef274f] .el-dialog__header{padding:0;user-select:none}[data-v-2fef274f] .el-dialog__body{padding-bottom:20px}[data-v-2fef274f] .el-dialog__footer{padding:10px 20px;border-top:1px solid #dcdfe6}.el-dialog__footer .el-button[data-v-2fef274f]{border-radius:2px}@keyframes rotate-data-v-2fef274f{from{transform:rotate(0)}to{transform:rotate(360deg)}}",
|
|
@@ -10794,23 +11882,23 @@ const __vue_inject_styles__$8 = function (inject) {
|
|
|
10794
11882
|
/* scoped */
|
|
10795
11883
|
|
|
10796
11884
|
|
|
10797
|
-
const __vue_scope_id__$
|
|
11885
|
+
const __vue_scope_id__$6 = "data-v-2fef274f";
|
|
10798
11886
|
/* module identifier */
|
|
10799
11887
|
|
|
10800
|
-
const __vue_module_identifier__$
|
|
11888
|
+
const __vue_module_identifier__$6 = undefined;
|
|
10801
11889
|
/* functional template */
|
|
10802
11890
|
|
|
10803
|
-
const __vue_is_functional_template__$
|
|
11891
|
+
const __vue_is_functional_template__$6 = false;
|
|
10804
11892
|
/* style inject SSR */
|
|
10805
11893
|
|
|
10806
11894
|
/* style inject shadow dom */
|
|
10807
11895
|
|
|
10808
|
-
const __vue_component__$
|
|
10809
|
-
render: __vue_render__$
|
|
10810
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
10811
|
-
}, __vue_inject_styles__$
|
|
11896
|
+
const __vue_component__$6 = /*#__PURE__*/normalizeComponent({
|
|
11897
|
+
render: __vue_render__$6,
|
|
11898
|
+
staticRenderFns: __vue_staticRenderFns__$6
|
|
11899
|
+
}, __vue_inject_styles__$6, __vue_script__$6, __vue_scope_id__$6, __vue_is_functional_template__$6, __vue_module_identifier__$6, false, createInjector, undefined, undefined);
|
|
10812
11900
|
|
|
10813
|
-
var Dialog$1 = __vue_component__$
|
|
11901
|
+
var Dialog$1 = __vue_component__$6;
|
|
10814
11902
|
|
|
10815
11903
|
var Dialog = {
|
|
10816
11904
|
install: Vue => {
|
|
@@ -10837,15 +11925,15 @@ var Fragment = {
|
|
|
10837
11925
|
//
|
|
10838
11926
|
//
|
|
10839
11927
|
//
|
|
10840
|
-
var script$
|
|
11928
|
+
var script$5 = {
|
|
10841
11929
|
name: 'UiProvider'
|
|
10842
11930
|
};
|
|
10843
11931
|
|
|
10844
11932
|
/* script */
|
|
10845
|
-
const __vue_script__$
|
|
11933
|
+
const __vue_script__$5 = script$5;
|
|
10846
11934
|
/* template */
|
|
10847
11935
|
|
|
10848
|
-
var __vue_render__$
|
|
11936
|
+
var __vue_render__$5 = function () {
|
|
10849
11937
|
var _vm = this;
|
|
10850
11938
|
|
|
10851
11939
|
var _h = _vm.$createElement;
|
|
@@ -10859,31 +11947,31 @@ var __vue_render__$6 = function () {
|
|
|
10859
11947
|
}, [_c('router-view')], 1);
|
|
10860
11948
|
};
|
|
10861
11949
|
|
|
10862
|
-
var __vue_staticRenderFns__$
|
|
11950
|
+
var __vue_staticRenderFns__$5 = [];
|
|
10863
11951
|
/* style */
|
|
10864
11952
|
|
|
10865
|
-
const __vue_inject_styles__$
|
|
11953
|
+
const __vue_inject_styles__$5 = undefined;
|
|
10866
11954
|
/* scoped */
|
|
10867
11955
|
|
|
10868
|
-
const __vue_scope_id__$
|
|
11956
|
+
const __vue_scope_id__$5 = "data-v-3f1cadfa";
|
|
10869
11957
|
/* module identifier */
|
|
10870
11958
|
|
|
10871
|
-
const __vue_module_identifier__$
|
|
11959
|
+
const __vue_module_identifier__$5 = undefined;
|
|
10872
11960
|
/* functional template */
|
|
10873
11961
|
|
|
10874
|
-
const __vue_is_functional_template__$
|
|
11962
|
+
const __vue_is_functional_template__$5 = false;
|
|
10875
11963
|
/* style inject */
|
|
10876
11964
|
|
|
10877
11965
|
/* style inject SSR */
|
|
10878
11966
|
|
|
10879
11967
|
/* style inject shadow dom */
|
|
10880
11968
|
|
|
10881
|
-
const __vue_component__$
|
|
10882
|
-
render: __vue_render__$
|
|
10883
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
10884
|
-
}, __vue_inject_styles__$
|
|
11969
|
+
const __vue_component__$5 = /*#__PURE__*/normalizeComponent({
|
|
11970
|
+
render: __vue_render__$5,
|
|
11971
|
+
staticRenderFns: __vue_staticRenderFns__$5
|
|
11972
|
+
}, __vue_inject_styles__$5, __vue_script__$5, __vue_scope_id__$5, __vue_is_functional_template__$5, __vue_module_identifier__$5, false, undefined, undefined, undefined);
|
|
10885
11973
|
|
|
10886
|
-
var Provider$1 = __vue_component__$
|
|
11974
|
+
var Provider$1 = __vue_component__$5;
|
|
10887
11975
|
|
|
10888
11976
|
var Provider = {
|
|
10889
11977
|
install: Vue => {
|
|
@@ -10912,7 +12000,7 @@ var Permission$1 = {
|
|
|
10912
12000
|
identity = ''
|
|
10913
12001
|
} = context.props;
|
|
10914
12002
|
|
|
10915
|
-
if (permission(identity)) {
|
|
12003
|
+
if (!permission(identity)) {
|
|
10916
12004
|
return null;
|
|
10917
12005
|
}
|
|
10918
12006
|
|
|
@@ -11013,336 +12101,6 @@ var FillView = {
|
|
|
11013
12101
|
}
|
|
11014
12102
|
};
|
|
11015
12103
|
|
|
11016
|
-
var script$6 = {
|
|
11017
|
-
name: 'head-menu-submenu',
|
|
11018
|
-
inject: ['headMenu'],
|
|
11019
|
-
props: {
|
|
11020
|
-
item: Object
|
|
11021
|
-
},
|
|
11022
|
-
computed: {
|
|
11023
|
-
isLeaf() {
|
|
11024
|
-
const {
|
|
11025
|
-
children
|
|
11026
|
-
} = this.item;
|
|
11027
|
-
return !Array.isArray(children) || children.length <= 0;
|
|
11028
|
-
},
|
|
11029
|
-
|
|
11030
|
-
index() {
|
|
11031
|
-
const {
|
|
11032
|
-
url,
|
|
11033
|
-
id
|
|
11034
|
-
} = this.item;
|
|
11035
|
-
|
|
11036
|
-
if (this.isRouter) {
|
|
11037
|
-
return url || id + '';
|
|
11038
|
-
}
|
|
11039
|
-
|
|
11040
|
-
return id + '';
|
|
11041
|
-
},
|
|
11042
|
-
|
|
11043
|
-
route() {
|
|
11044
|
-
const {
|
|
11045
|
-
url
|
|
11046
|
-
} = this.item;
|
|
11047
|
-
return url;
|
|
11048
|
-
},
|
|
11049
|
-
|
|
11050
|
-
isRouter() {
|
|
11051
|
-
return this.headMenu.router;
|
|
11052
|
-
},
|
|
11053
|
-
|
|
11054
|
-
theme() {
|
|
11055
|
-
return this.headMenu.theme;
|
|
11056
|
-
},
|
|
11057
|
-
|
|
11058
|
-
popperClass() {
|
|
11059
|
-
return ['nav-menu-submenu-popup', this.theme].join(' ');
|
|
11060
|
-
}
|
|
11061
|
-
|
|
11062
|
-
},
|
|
11063
|
-
|
|
11064
|
-
render(createElement) {
|
|
11065
|
-
if (this.isLeaf) {
|
|
11066
|
-
return createElement('el-menu-item', {
|
|
11067
|
-
props: {
|
|
11068
|
-
index: this.index,
|
|
11069
|
-
route: this.route
|
|
11070
|
-
}
|
|
11071
|
-
}, [createElement('template', {
|
|
11072
|
-
slot: 'title'
|
|
11073
|
-
}, [this.item.name])]);
|
|
11074
|
-
}
|
|
11075
|
-
|
|
11076
|
-
return createElement('el-submenu', {
|
|
11077
|
-
props: {
|
|
11078
|
-
index: this.index,
|
|
11079
|
-
popperClass: this.popperClass,
|
|
11080
|
-
popperAppendToBody: false
|
|
11081
|
-
}
|
|
11082
|
-
}, [createElement('template', {
|
|
11083
|
-
slot: 'title'
|
|
11084
|
-
}, [this.item.name]), ...this.item.children.map(child => createElement('head-menu-submenu', {
|
|
11085
|
-
key: child.id,
|
|
11086
|
-
props: {
|
|
11087
|
-
item: child
|
|
11088
|
-
}
|
|
11089
|
-
}))]);
|
|
11090
|
-
}
|
|
11091
|
-
|
|
11092
|
-
};
|
|
11093
|
-
|
|
11094
|
-
/* script */
|
|
11095
|
-
const __vue_script__$6 = script$6;
|
|
11096
|
-
/* template */
|
|
11097
|
-
|
|
11098
|
-
/* style */
|
|
11099
|
-
|
|
11100
|
-
const __vue_inject_styles__$6 = function (inject) {
|
|
11101
|
-
if (!inject) return;
|
|
11102
|
-
inject("data-v-233ada7a_0", {
|
|
11103
|
-
source: ".el-menu--collapse .el-menu-item [class^=el-icon-],.el-menu--collapse .el-submenu .el-submenu__title [class^=el-icon-]{margin:0;vertical-align:middle;width:24px;text-align:center}.el-menu--collapse .el-menu-item .el-submenu__icon-arrow,.el-menu--collapse .el-submenu .el-submenu__title .el-submenu__icon-arrow{display:none}.el-menu--collapse .el-menu-item span,.el-menu--collapse .el-submenu .el-submenu__title span{height:0;width:0;overflow:hidden;visibility:hidden;display:inline-block}.nav-menu-submenu-popup .el-menu-item,.nav-menu-submenu-popup .el-submenu__title{height:40px;line-height:40px;font-size:12px}",
|
|
11104
|
-
map: undefined,
|
|
11105
|
-
media: undefined
|
|
11106
|
-
});
|
|
11107
|
-
};
|
|
11108
|
-
/* scoped */
|
|
11109
|
-
|
|
11110
|
-
|
|
11111
|
-
const __vue_scope_id__$6 = undefined;
|
|
11112
|
-
/* module identifier */
|
|
11113
|
-
|
|
11114
|
-
const __vue_module_identifier__$6 = undefined;
|
|
11115
|
-
/* functional template */
|
|
11116
|
-
|
|
11117
|
-
const __vue_is_functional_template__$6 = undefined;
|
|
11118
|
-
/* style inject SSR */
|
|
11119
|
-
|
|
11120
|
-
/* style inject shadow dom */
|
|
11121
|
-
|
|
11122
|
-
const __vue_component__$6 = /*#__PURE__*/normalizeComponent({}, __vue_inject_styles__$6, __vue_script__$6, __vue_scope_id__$6, __vue_is_functional_template__$6, __vue_module_identifier__$6, false, createInjector, undefined, undefined);
|
|
11123
|
-
|
|
11124
|
-
var MenuItem = __vue_component__$6;
|
|
11125
|
-
|
|
11126
|
-
//
|
|
11127
|
-
var script$5 = {
|
|
11128
|
-
name: 'ui-head-menu',
|
|
11129
|
-
components: {
|
|
11130
|
-
MenuItem
|
|
11131
|
-
},
|
|
11132
|
-
|
|
11133
|
-
provide() {
|
|
11134
|
-
return {
|
|
11135
|
-
headMenu: this
|
|
11136
|
-
};
|
|
11137
|
-
},
|
|
11138
|
-
|
|
11139
|
-
props: {
|
|
11140
|
-
router: {
|
|
11141
|
-
type: Boolean,
|
|
11142
|
-
default: true
|
|
11143
|
-
},
|
|
11144
|
-
defaultActive: String,
|
|
11145
|
-
mode: {
|
|
11146
|
-
default: 'horizontal'
|
|
11147
|
-
}
|
|
11148
|
-
},
|
|
11149
|
-
|
|
11150
|
-
data() {
|
|
11151
|
-
return {
|
|
11152
|
-
packUpWidth: 0
|
|
11153
|
-
};
|
|
11154
|
-
},
|
|
11155
|
-
|
|
11156
|
-
computed: { ...mapState(['menus']),
|
|
11157
|
-
|
|
11158
|
-
headMenu() {
|
|
11159
|
-
// eslint-disable-next-line
|
|
11160
|
-
return this.menus.filter(menu => [1, 2].includes(menu.type)).map(_ref => {
|
|
11161
|
-
let {
|
|
11162
|
-
children,
|
|
11163
|
-
...menu
|
|
11164
|
-
} = _ref;
|
|
11165
|
-
return menu;
|
|
11166
|
-
});
|
|
11167
|
-
},
|
|
11168
|
-
|
|
11169
|
-
active() {
|
|
11170
|
-
if (!this.router) {
|
|
11171
|
-
return this.defaultActive;
|
|
11172
|
-
}
|
|
11173
|
-
|
|
11174
|
-
const currentPath = this.$route.path;
|
|
11175
|
-
const isHeadRoute = this.headMenu.some(menu => menu.url === currentPath);
|
|
11176
|
-
|
|
11177
|
-
if (isHeadRoute) {
|
|
11178
|
-
return currentPath;
|
|
11179
|
-
}
|
|
11180
|
-
|
|
11181
|
-
const currentHeadMenu = this.getCurrentHeadMenu(currentPath, this.menus);
|
|
11182
|
-
return currentHeadMenu && (currentHeadMenu.path || currentHeadMenu.url);
|
|
11183
|
-
},
|
|
11184
|
-
|
|
11185
|
-
menuWidth() {
|
|
11186
|
-
return this.headMenu.reduce((total, item) => {
|
|
11187
|
-
return total + (item.name || '').split('').length * 16 + 25 * 2; // 16:字体大小值; 25:左右padding/margin值
|
|
11188
|
-
}, 60); // 100:菜单左边的margin值
|
|
11189
|
-
},
|
|
11190
|
-
|
|
11191
|
-
packUpIndex() {
|
|
11192
|
-
if (this.packUpWidth <= 0) {
|
|
11193
|
-
return -1;
|
|
11194
|
-
}
|
|
11195
|
-
|
|
11196
|
-
let index = -1;
|
|
11197
|
-
let width = this.packUpWidth + 130; // 50:更多下拉菜单所占宽度
|
|
11198
|
-
|
|
11199
|
-
for (let i = this.headMenu.length - 1; i >= 0; i--) {
|
|
11200
|
-
const item = this.headMenu[i];
|
|
11201
|
-
const currentWidth = (item.name || '').split('').length * 16 + 25 * 2;
|
|
11202
|
-
|
|
11203
|
-
if (currentWidth >= width) {
|
|
11204
|
-
index = i - 1;
|
|
11205
|
-
break;
|
|
11206
|
-
}
|
|
11207
|
-
|
|
11208
|
-
width = width - currentWidth;
|
|
11209
|
-
}
|
|
11210
|
-
|
|
11211
|
-
return Math.max(0, index);
|
|
11212
|
-
},
|
|
11213
|
-
|
|
11214
|
-
displayMenus() {
|
|
11215
|
-
if (this.packUpIndex === -1) {
|
|
11216
|
-
return this.headMenu;
|
|
11217
|
-
}
|
|
11218
|
-
|
|
11219
|
-
const menus = this.headMenu.slice(0, this.packUpIndex);
|
|
11220
|
-
const moreMenus = this.headMenu.slice(this.packUpIndex);
|
|
11221
|
-
menus.push({
|
|
11222
|
-
id: 'more',
|
|
11223
|
-
name: '更多菜单',
|
|
11224
|
-
children: moreMenus
|
|
11225
|
-
});
|
|
11226
|
-
return menus;
|
|
11227
|
-
}
|
|
11228
|
-
|
|
11229
|
-
},
|
|
11230
|
-
|
|
11231
|
-
mounted() {
|
|
11232
|
-
window.addEventListener('resize', this.onResize);
|
|
11233
|
-
this.onResize();
|
|
11234
|
-
const logo = document.querySelector('.page-header > .logo');
|
|
11235
|
-
logo && logo.addEventListener('load', () => this.onResize());
|
|
11236
|
-
},
|
|
11237
|
-
|
|
11238
|
-
beforeDestroy() {
|
|
11239
|
-
window.removeEventListener('resize', this.onResize);
|
|
11240
|
-
},
|
|
11241
|
-
|
|
11242
|
-
methods: {
|
|
11243
|
-
onResize() {
|
|
11244
|
-
clearTimeout(this.timer);
|
|
11245
|
-
this.timer = setTimeout(() => {
|
|
11246
|
-
const headerWidth = document.documentElement.clientWidth;
|
|
11247
|
-
const logoEl = document.querySelector('.page-header > .logo');
|
|
11248
|
-
const titleEl = document.querySelector('.page-header > .title');
|
|
11249
|
-
const messageEl = document.querySelector('.page-header > .screen');
|
|
11250
|
-
const usernameEl = document.querySelector('.page-header > .username');
|
|
11251
|
-
const logoWidth = (logoEl && logoEl.offsetWidth || 0) + 20; // 20 margin
|
|
11252
|
-
|
|
11253
|
-
const titleWidth = titleEl && titleEl.offsetWidth || 0;
|
|
11254
|
-
const messageElWidth = messageEl && messageEl.offsetWidth || 0;
|
|
11255
|
-
const usernameWidth = usernameEl && usernameEl.offsetWidth || 0;
|
|
11256
|
-
const allowedMenuWidth = headerWidth - 60 - logoWidth - titleWidth - messageElWidth - usernameWidth;
|
|
11257
|
-
this.packUpWidth = Math.max(0, this.menuWidth - allowedMenuWidth);
|
|
11258
|
-
}, 50);
|
|
11259
|
-
},
|
|
11260
|
-
|
|
11261
|
-
getCurrentHeadMenu(path, menus) {
|
|
11262
|
-
if (!Array.isArray(menus) || menus.length <= 0) {
|
|
11263
|
-
return undefined;
|
|
11264
|
-
}
|
|
11265
|
-
|
|
11266
|
-
return menus.find(menu => {
|
|
11267
|
-
const isMatched = (menu.children || []).some(childMenu => (childMenu.path || childMenu.url) === path);
|
|
11268
|
-
|
|
11269
|
-
if (isMatched) {
|
|
11270
|
-
return true;
|
|
11271
|
-
}
|
|
11272
|
-
|
|
11273
|
-
return this.getCurrentHeadMenu(path, menu.children);
|
|
11274
|
-
});
|
|
11275
|
-
}
|
|
11276
|
-
|
|
11277
|
-
}
|
|
11278
|
-
};
|
|
11279
|
-
|
|
11280
|
-
/* script */
|
|
11281
|
-
const __vue_script__$5 = script$5;
|
|
11282
|
-
/* template */
|
|
11283
|
-
|
|
11284
|
-
var __vue_render__$5 = function () {
|
|
11285
|
-
var _vm = this;
|
|
11286
|
-
|
|
11287
|
-
var _h = _vm.$createElement;
|
|
11288
|
-
|
|
11289
|
-
var _c = _vm._self._c || _h;
|
|
11290
|
-
|
|
11291
|
-
return _c('el-menu', _vm._g(_vm._b({
|
|
11292
|
-
staticClass: "head-menu",
|
|
11293
|
-
attrs: {
|
|
11294
|
-
"mode": _vm.mode,
|
|
11295
|
-
"router": _vm.router,
|
|
11296
|
-
"default-active": _vm.active
|
|
11297
|
-
}
|
|
11298
|
-
}, 'el-menu', _vm.$attrs, false), _vm.$listeners), _vm._l(_vm.displayMenus, function (item) {
|
|
11299
|
-
return _c('menu-item', {
|
|
11300
|
-
key: item.id,
|
|
11301
|
-
attrs: {
|
|
11302
|
-
"item": item
|
|
11303
|
-
}
|
|
11304
|
-
});
|
|
11305
|
-
}), 1);
|
|
11306
|
-
};
|
|
11307
|
-
|
|
11308
|
-
var __vue_staticRenderFns__$5 = [];
|
|
11309
|
-
/* style */
|
|
11310
|
-
|
|
11311
|
-
const __vue_inject_styles__$5 = function (inject) {
|
|
11312
|
-
if (!inject) return;
|
|
11313
|
-
inject("data-v-ef35c828_0", {
|
|
11314
|
-
source: ".head-menu.el-menu{background-color:transparent;border-bottom:none}.head-menu.el-menu>.el-menu-item,.head-menu.el-menu>.el-submenu .el-submenu__title{font-size:16px;font-weight:400;color:inherit;height:var(--header-height);line-height:var(--header-height);padding:0 25px;border:none;box-sizing:border-box;transition:all .2s ease-in-out}.head-menu.el-menu>.el-menu-item span,.head-menu.el-menu>.el-submenu .el-submenu__title span{vertical-align:unset}.head-menu.el-menu>.el-menu-item i,.head-menu.el-menu>.el-submenu .el-submenu__title i{width:20px;font-size:14px}.head-menu.el-menu>.el-menu-item:not(.is-disabled):not(.is-active):focus,.head-menu.el-menu>.el-menu-item:not(.is-disabled):not(.is-active):hover,.head-menu.el-menu>.el-submenu:not(.is-disabled):not(.is-active):focus .el-submenu__title,.head-menu.el-menu>.el-submenu:not(.is-disabled):not(.is-active):hover .el-submenu__title{color:inherit;background-color:rgba(0,146,63,.3)}.head-menu.el-menu>.el-menu-item.is-active,.head-menu.el-menu>.el-submenu.is-active .el-submenu__title{color:inherit;background-color:rgba(0,146,63,.6)}.head-menu.el-menu .el-submenu__title i{color:inherit}",
|
|
11315
|
-
map: undefined,
|
|
11316
|
-
media: undefined
|
|
11317
|
-
});
|
|
11318
|
-
};
|
|
11319
|
-
/* scoped */
|
|
11320
|
-
|
|
11321
|
-
|
|
11322
|
-
const __vue_scope_id__$5 = undefined;
|
|
11323
|
-
/* module identifier */
|
|
11324
|
-
|
|
11325
|
-
const __vue_module_identifier__$5 = undefined;
|
|
11326
|
-
/* functional template */
|
|
11327
|
-
|
|
11328
|
-
const __vue_is_functional_template__$5 = false;
|
|
11329
|
-
/* style inject SSR */
|
|
11330
|
-
|
|
11331
|
-
/* style inject shadow dom */
|
|
11332
|
-
|
|
11333
|
-
const __vue_component__$5 = /*#__PURE__*/normalizeComponent({
|
|
11334
|
-
render: __vue_render__$5,
|
|
11335
|
-
staticRenderFns: __vue_staticRenderFns__$5
|
|
11336
|
-
}, __vue_inject_styles__$5, __vue_script__$5, __vue_scope_id__$5, __vue_is_functional_template__$5, __vue_module_identifier__$5, false, createInjector, undefined, undefined);
|
|
11337
|
-
|
|
11338
|
-
var HeadMenu$1 = __vue_component__$5;
|
|
11339
|
-
|
|
11340
|
-
var HeadMenu = {
|
|
11341
|
-
install: Vue => {
|
|
11342
|
-
Vue.component(HeadMenu$1.name, HeadMenu$1);
|
|
11343
|
-
}
|
|
11344
|
-
};
|
|
11345
|
-
|
|
11346
12104
|
//
|
|
11347
12105
|
|
|
11348
12106
|
const firstUpperCase = str => {
|
|
@@ -12256,10 +13014,24 @@ var Page = {
|
|
|
12256
13014
|
}
|
|
12257
13015
|
};
|
|
12258
13016
|
|
|
12259
|
-
const
|
|
13017
|
+
const ComponentList = {
|
|
13018
|
+
Icon,
|
|
13019
|
+
Form,
|
|
13020
|
+
Table,
|
|
13021
|
+
Dialog,
|
|
13022
|
+
Drawer,
|
|
13023
|
+
Fragment,
|
|
13024
|
+
Provider,
|
|
13025
|
+
Permission,
|
|
13026
|
+
DocumentTitle: DocumentTitle$1,
|
|
13027
|
+
FillView,
|
|
13028
|
+
History,
|
|
13029
|
+
Minimize,
|
|
13030
|
+
Page
|
|
13031
|
+
};
|
|
12260
13032
|
var Components = {
|
|
12261
13033
|
install: (Vue, opt) => {
|
|
12262
|
-
|
|
13034
|
+
Object.values(ComponentList).forEach(component => {
|
|
12263
13035
|
Vue.use(component, opt);
|
|
12264
13036
|
});
|
|
12265
13037
|
}
|
|
@@ -12650,7 +13422,8 @@ var index = {
|
|
|
12650
13422
|
Vue.use(Mixins, opt);
|
|
12651
13423
|
Vue.use(Directives, opt);
|
|
12652
13424
|
Vue.use(Components, opt);
|
|
12653
|
-
}
|
|
13425
|
+
},
|
|
13426
|
+
Components: ComponentList
|
|
12654
13427
|
};
|
|
12655
13428
|
|
|
12656
|
-
export { arrays as Arrays, Axios,
|
|
13429
|
+
export { arrays as Arrays, Axios, Date$1 as Dates, FieldMixin, mixin as HistoryMixin, Objects, Router, Store, Strings, Upload, addFieldType, index as default };
|