@v2coding/ui 0.1.4 → 0.1.5
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 +1340 -282
- package/dist/v2coding-ui.min.js +1 -1
- package/dist/v2coding-ui.ssr.js +1331 -283
- package/package.json +1 -1
- package/src/components/field/field.fence.vue +856 -0
- package/src/components/field/field.lnglat.vue +236 -0
- package/src/components/table/table.vue +1 -1
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';
|
|
@@ -968,7 +970,7 @@ var Directives = {
|
|
|
968
970
|
};
|
|
969
971
|
|
|
970
972
|
//
|
|
971
|
-
var script$
|
|
973
|
+
var script$H = {
|
|
972
974
|
name: 'ui-icon',
|
|
973
975
|
props: {
|
|
974
976
|
name: String
|
|
@@ -1138,10 +1140,10 @@ function addStyle(id, css) {
|
|
|
1138
1140
|
}
|
|
1139
1141
|
|
|
1140
1142
|
/* script */
|
|
1141
|
-
const __vue_script__$
|
|
1143
|
+
const __vue_script__$I = script$H;
|
|
1142
1144
|
/* template */
|
|
1143
1145
|
|
|
1144
|
-
var __vue_render__$
|
|
1146
|
+
var __vue_render__$G = function () {
|
|
1145
1147
|
var _vm = this;
|
|
1146
1148
|
|
|
1147
1149
|
var _h = _vm.$createElement;
|
|
@@ -1160,10 +1162,10 @@ var __vue_render__$E = function () {
|
|
|
1160
1162
|
})]);
|
|
1161
1163
|
};
|
|
1162
1164
|
|
|
1163
|
-
var __vue_staticRenderFns__$
|
|
1165
|
+
var __vue_staticRenderFns__$G = [];
|
|
1164
1166
|
/* style */
|
|
1165
1167
|
|
|
1166
|
-
const __vue_inject_styles__$
|
|
1168
|
+
const __vue_inject_styles__$I = function (inject) {
|
|
1167
1169
|
if (!inject) return;
|
|
1168
1170
|
inject("data-v-135b2758_0", {
|
|
1169
1171
|
source: ".ui-icon[data-v-135b2758]{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden;display:inline-block}.ui-icon.ui-icon-loading[data-v-135b2758]{animation:rotating-data-v-135b2758 2s linear infinite}@keyframes rotating-data-v-135b2758{from{transform:rotate(0)}to{transform:rotate(1turn)}}",
|
|
@@ -1174,23 +1176,23 @@ const __vue_inject_styles__$G = function (inject) {
|
|
|
1174
1176
|
/* scoped */
|
|
1175
1177
|
|
|
1176
1178
|
|
|
1177
|
-
const __vue_scope_id__$
|
|
1179
|
+
const __vue_scope_id__$I = "data-v-135b2758";
|
|
1178
1180
|
/* module identifier */
|
|
1179
1181
|
|
|
1180
|
-
const __vue_module_identifier__$
|
|
1182
|
+
const __vue_module_identifier__$I = undefined;
|
|
1181
1183
|
/* functional template */
|
|
1182
1184
|
|
|
1183
|
-
const __vue_is_functional_template__$
|
|
1185
|
+
const __vue_is_functional_template__$I = false;
|
|
1184
1186
|
/* style inject SSR */
|
|
1185
1187
|
|
|
1186
1188
|
/* style inject shadow dom */
|
|
1187
1189
|
|
|
1188
|
-
const __vue_component__$
|
|
1189
|
-
render: __vue_render__$
|
|
1190
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
1191
|
-
}, __vue_inject_styles__$
|
|
1190
|
+
const __vue_component__$I = /*#__PURE__*/normalizeComponent({
|
|
1191
|
+
render: __vue_render__$G,
|
|
1192
|
+
staticRenderFns: __vue_staticRenderFns__$G
|
|
1193
|
+
}, __vue_inject_styles__$I, __vue_script__$I, __vue_scope_id__$I, __vue_is_functional_template__$I, __vue_module_identifier__$I, false, createInjector, undefined, undefined);
|
|
1192
1194
|
|
|
1193
|
-
var Icon$1 = __vue_component__$
|
|
1195
|
+
var Icon$1 = __vue_component__$I;
|
|
1194
1196
|
|
|
1195
1197
|
var Icon = {
|
|
1196
1198
|
install: Vue => {
|
|
@@ -1878,17 +1880,17 @@ var DisplayField = {
|
|
|
1878
1880
|
};
|
|
1879
1881
|
|
|
1880
1882
|
//
|
|
1881
|
-
var script$
|
|
1883
|
+
var script$G = {
|
|
1882
1884
|
name: 'ui-field-autocomplete',
|
|
1883
1885
|
inheritAttrs: false,
|
|
1884
1886
|
mixins: [FieldMixin]
|
|
1885
1887
|
};
|
|
1886
1888
|
|
|
1887
1889
|
/* script */
|
|
1888
|
-
const __vue_script__$
|
|
1890
|
+
const __vue_script__$H = script$G;
|
|
1889
1891
|
/* template */
|
|
1890
1892
|
|
|
1891
|
-
var __vue_render__$
|
|
1893
|
+
var __vue_render__$F = function () {
|
|
1892
1894
|
var _vm = this;
|
|
1893
1895
|
|
|
1894
1896
|
var _h = _vm.$createElement;
|
|
@@ -1902,34 +1904,34 @@ var __vue_render__$D = function () {
|
|
|
1902
1904
|
}, 'el-autocomplete', _vm.$attrs, false), _vm.$listeners));
|
|
1903
1905
|
};
|
|
1904
1906
|
|
|
1905
|
-
var __vue_staticRenderFns__$
|
|
1907
|
+
var __vue_staticRenderFns__$F = [];
|
|
1906
1908
|
/* style */
|
|
1907
1909
|
|
|
1908
|
-
const __vue_inject_styles__$
|
|
1910
|
+
const __vue_inject_styles__$H = undefined;
|
|
1909
1911
|
/* scoped */
|
|
1910
1912
|
|
|
1911
|
-
const __vue_scope_id__$
|
|
1913
|
+
const __vue_scope_id__$H = undefined;
|
|
1912
1914
|
/* module identifier */
|
|
1913
1915
|
|
|
1914
|
-
const __vue_module_identifier__$
|
|
1916
|
+
const __vue_module_identifier__$H = undefined;
|
|
1915
1917
|
/* functional template */
|
|
1916
1918
|
|
|
1917
|
-
const __vue_is_functional_template__$
|
|
1919
|
+
const __vue_is_functional_template__$H = false;
|
|
1918
1920
|
/* style inject */
|
|
1919
1921
|
|
|
1920
1922
|
/* style inject SSR */
|
|
1921
1923
|
|
|
1922
1924
|
/* style inject shadow dom */
|
|
1923
1925
|
|
|
1924
|
-
const __vue_component__$
|
|
1925
|
-
render: __vue_render__$
|
|
1926
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
1927
|
-
}, __vue_inject_styles__$
|
|
1926
|
+
const __vue_component__$H = /*#__PURE__*/normalizeComponent({
|
|
1927
|
+
render: __vue_render__$F,
|
|
1928
|
+
staticRenderFns: __vue_staticRenderFns__$F
|
|
1929
|
+
}, __vue_inject_styles__$H, __vue_script__$H, __vue_scope_id__$H, __vue_is_functional_template__$H, __vue_module_identifier__$H, false, undefined, undefined, undefined);
|
|
1928
1930
|
|
|
1929
|
-
var AutocompleteField = __vue_component__$
|
|
1931
|
+
var AutocompleteField = __vue_component__$H;
|
|
1930
1932
|
|
|
1931
1933
|
//
|
|
1932
|
-
var script$
|
|
1934
|
+
var script$F = {
|
|
1933
1935
|
name: 'ui-field-text',
|
|
1934
1936
|
inheritAttrs: false,
|
|
1935
1937
|
mixins: [FieldMixin],
|
|
@@ -1973,10 +1975,10 @@ var script$D = {
|
|
|
1973
1975
|
};
|
|
1974
1976
|
|
|
1975
1977
|
/* script */
|
|
1976
|
-
const __vue_script__$
|
|
1978
|
+
const __vue_script__$G = script$F;
|
|
1977
1979
|
/* template */
|
|
1978
1980
|
|
|
1979
|
-
var __vue_render__$
|
|
1981
|
+
var __vue_render__$E = function () {
|
|
1980
1982
|
var _vm = this;
|
|
1981
1983
|
|
|
1982
1984
|
var _h = _vm.$createElement;
|
|
@@ -1996,10 +1998,10 @@ var __vue_render__$C = function () {
|
|
|
1996
1998
|
}, 'el-input', _vm.$attrs, false), _vm.$listeners));
|
|
1997
1999
|
};
|
|
1998
2000
|
|
|
1999
|
-
var __vue_staticRenderFns__$
|
|
2001
|
+
var __vue_staticRenderFns__$E = [];
|
|
2000
2002
|
/* style */
|
|
2001
2003
|
|
|
2002
|
-
const __vue_inject_styles__$
|
|
2004
|
+
const __vue_inject_styles__$G = function (inject) {
|
|
2003
2005
|
if (!inject) return;
|
|
2004
2006
|
inject("data-v-5e8a712c_0", {
|
|
2005
2007
|
source: ".el-input__suffix-inner{display:flex;align-items:center;height:100%}.el-input--large .el-input__count .el-input__count-inner{line-height:38px}.el-input--medium .el-input__count .el-input__count-inner{line-height:34px}.el-input--mini .el-input__count .el-input__count-inner{line-height:26px}",
|
|
@@ -2010,23 +2012,23 @@ const __vue_inject_styles__$E = function (inject) {
|
|
|
2010
2012
|
/* scoped */
|
|
2011
2013
|
|
|
2012
2014
|
|
|
2013
|
-
const __vue_scope_id__$
|
|
2015
|
+
const __vue_scope_id__$G = undefined;
|
|
2014
2016
|
/* module identifier */
|
|
2015
2017
|
|
|
2016
|
-
const __vue_module_identifier__$
|
|
2018
|
+
const __vue_module_identifier__$G = undefined;
|
|
2017
2019
|
/* functional template */
|
|
2018
2020
|
|
|
2019
|
-
const __vue_is_functional_template__$
|
|
2021
|
+
const __vue_is_functional_template__$G = false;
|
|
2020
2022
|
/* style inject SSR */
|
|
2021
2023
|
|
|
2022
2024
|
/* style inject shadow dom */
|
|
2023
2025
|
|
|
2024
|
-
const __vue_component__$
|
|
2025
|
-
render: __vue_render__$
|
|
2026
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
2027
|
-
}, __vue_inject_styles__$
|
|
2026
|
+
const __vue_component__$G = /*#__PURE__*/normalizeComponent({
|
|
2027
|
+
render: __vue_render__$E,
|
|
2028
|
+
staticRenderFns: __vue_staticRenderFns__$E
|
|
2029
|
+
}, __vue_inject_styles__$G, __vue_script__$G, __vue_scope_id__$G, __vue_is_functional_template__$G, __vue_module_identifier__$G, false, createInjector, undefined, undefined);
|
|
2028
2030
|
|
|
2029
|
-
var TextField = __vue_component__$
|
|
2031
|
+
var TextField = __vue_component__$G;
|
|
2030
2032
|
|
|
2031
2033
|
const mapLabelValue = (data, config) => {
|
|
2032
2034
|
if (!Array.isArray(data)) {
|
|
@@ -2217,7 +2219,7 @@ var DataMixin = {
|
|
|
2217
2219
|
};
|
|
2218
2220
|
|
|
2219
2221
|
//
|
|
2220
|
-
var script$
|
|
2222
|
+
var script$E = {
|
|
2221
2223
|
name: 'ui-field-radio',
|
|
2222
2224
|
mixins: [FieldMixin, DataMixin],
|
|
2223
2225
|
props: {
|
|
@@ -2285,10 +2287,10 @@ var script$C = {
|
|
|
2285
2287
|
};
|
|
2286
2288
|
|
|
2287
2289
|
/* script */
|
|
2288
|
-
const __vue_script__$
|
|
2290
|
+
const __vue_script__$F = script$E;
|
|
2289
2291
|
/* template */
|
|
2290
2292
|
|
|
2291
|
-
var __vue_render__$
|
|
2293
|
+
var __vue_render__$D = function () {
|
|
2292
2294
|
var _vm = this;
|
|
2293
2295
|
|
|
2294
2296
|
var _h = _vm.$createElement;
|
|
@@ -2338,10 +2340,10 @@ var __vue_render__$B = function () {
|
|
|
2338
2340
|
}, [_vm._v("重新加载")])], 1) : _vm._e()], 1);
|
|
2339
2341
|
};
|
|
2340
2342
|
|
|
2341
|
-
var __vue_staticRenderFns__$
|
|
2343
|
+
var __vue_staticRenderFns__$D = [];
|
|
2342
2344
|
/* style */
|
|
2343
2345
|
|
|
2344
|
-
const __vue_inject_styles__$
|
|
2346
|
+
const __vue_inject_styles__$F = function (inject) {
|
|
2345
2347
|
if (!inject) return;
|
|
2346
2348
|
inject("data-v-f02e57a0_0", {
|
|
2347
2349
|
source: ".ui-field-radio .empty[data-v-f02e57a0]{display:inline-flex;align-items:center;font-size:12px;color:#909399}.ui-field-radio>.el-radio-group[data-v-f02e57a0]{display:inline-flex;flex-direction:row;flex-wrap:wrap;align-items:center}.ui-field-radio>.el-radio-group .el-radio[data-v-f02e57a0]{line-height:36px}[data-v-f02e57a0] .el-loading-mask .el-loading-spinner{margin-top:-14px}",
|
|
@@ -2352,26 +2354,26 @@ const __vue_inject_styles__$D = function (inject) {
|
|
|
2352
2354
|
/* scoped */
|
|
2353
2355
|
|
|
2354
2356
|
|
|
2355
|
-
const __vue_scope_id__$
|
|
2357
|
+
const __vue_scope_id__$F = "data-v-f02e57a0";
|
|
2356
2358
|
/* module identifier */
|
|
2357
2359
|
|
|
2358
|
-
const __vue_module_identifier__$
|
|
2360
|
+
const __vue_module_identifier__$F = undefined;
|
|
2359
2361
|
/* functional template */
|
|
2360
2362
|
|
|
2361
|
-
const __vue_is_functional_template__$
|
|
2363
|
+
const __vue_is_functional_template__$F = false;
|
|
2362
2364
|
/* style inject SSR */
|
|
2363
2365
|
|
|
2364
2366
|
/* style inject shadow dom */
|
|
2365
2367
|
|
|
2366
|
-
const __vue_component__$
|
|
2367
|
-
render: __vue_render__$
|
|
2368
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
2369
|
-
}, __vue_inject_styles__$
|
|
2368
|
+
const __vue_component__$F = /*#__PURE__*/normalizeComponent({
|
|
2369
|
+
render: __vue_render__$D,
|
|
2370
|
+
staticRenderFns: __vue_staticRenderFns__$D
|
|
2371
|
+
}, __vue_inject_styles__$F, __vue_script__$F, __vue_scope_id__$F, __vue_is_functional_template__$F, __vue_module_identifier__$F, false, createInjector, undefined, undefined);
|
|
2370
2372
|
|
|
2371
|
-
var RadioField = __vue_component__$
|
|
2373
|
+
var RadioField = __vue_component__$F;
|
|
2372
2374
|
|
|
2373
2375
|
//
|
|
2374
|
-
var script$
|
|
2376
|
+
var script$D = {
|
|
2375
2377
|
name: 'ui-field-checkbox',
|
|
2376
2378
|
mixins: [FieldMixin, DataMixin],
|
|
2377
2379
|
props: {
|
|
@@ -2452,10 +2454,10 @@ var script$B = {
|
|
|
2452
2454
|
};
|
|
2453
2455
|
|
|
2454
2456
|
/* script */
|
|
2455
|
-
const __vue_script__$
|
|
2457
|
+
const __vue_script__$E = script$D;
|
|
2456
2458
|
/* template */
|
|
2457
2459
|
|
|
2458
|
-
var __vue_render__$
|
|
2460
|
+
var __vue_render__$C = function () {
|
|
2459
2461
|
var _vm = this;
|
|
2460
2462
|
|
|
2461
2463
|
var _h = _vm.$createElement;
|
|
@@ -2542,10 +2544,10 @@ var __vue_render__$A = function () {
|
|
|
2542
2544
|
}, [_vm._v("重新加载")])], 1) : _vm._e()], 1);
|
|
2543
2545
|
};
|
|
2544
2546
|
|
|
2545
|
-
var __vue_staticRenderFns__$
|
|
2547
|
+
var __vue_staticRenderFns__$C = [];
|
|
2546
2548
|
/* style */
|
|
2547
2549
|
|
|
2548
|
-
const __vue_inject_styles__$
|
|
2550
|
+
const __vue_inject_styles__$E = function (inject) {
|
|
2549
2551
|
if (!inject) return;
|
|
2550
2552
|
inject("data-v-fe03ce2a_0", {
|
|
2551
2553
|
source: ".ui-field-checkbox .all[data-v-fe03ce2a]{display:flex}.ui-field-checkbox .all>.el-checkbox[data-v-fe03ce2a]{margin-right:0}.ui-field-checkbox .options[data-v-fe03ce2a]{display:flex;flex-direction:row;align-items:center}.ui-field-checkbox .empty[data-v-fe03ce2a]{display:inline-flex;align-items:center;font-size:12px;color:#909399}.ui-field-checkbox[data-v-fe03ce2a] .el-checkbox{margin:0 8px 0 0}.ui-field-checkbox[data-v-fe03ce2a] .el-checkbox.is-bordered+.el-checkbox.is-bordered{margin-left:0}.ui-field-checkbox[data-v-fe03ce2a] .el-divider{margin:0 10px}[data-v-fe03ce2a] .el-loading-mask .el-loading-spinner{margin-top:-14px}",
|
|
@@ -2556,26 +2558,26 @@ const __vue_inject_styles__$C = function (inject) {
|
|
|
2556
2558
|
/* scoped */
|
|
2557
2559
|
|
|
2558
2560
|
|
|
2559
|
-
const __vue_scope_id__$
|
|
2561
|
+
const __vue_scope_id__$E = "data-v-fe03ce2a";
|
|
2560
2562
|
/* module identifier */
|
|
2561
2563
|
|
|
2562
|
-
const __vue_module_identifier__$
|
|
2564
|
+
const __vue_module_identifier__$E = undefined;
|
|
2563
2565
|
/* functional template */
|
|
2564
2566
|
|
|
2565
|
-
const __vue_is_functional_template__$
|
|
2567
|
+
const __vue_is_functional_template__$E = false;
|
|
2566
2568
|
/* style inject SSR */
|
|
2567
2569
|
|
|
2568
2570
|
/* style inject shadow dom */
|
|
2569
2571
|
|
|
2570
|
-
const __vue_component__$
|
|
2571
|
-
render: __vue_render__$
|
|
2572
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
2573
|
-
}, __vue_inject_styles__$
|
|
2572
|
+
const __vue_component__$E = /*#__PURE__*/normalizeComponent({
|
|
2573
|
+
render: __vue_render__$C,
|
|
2574
|
+
staticRenderFns: __vue_staticRenderFns__$C
|
|
2575
|
+
}, __vue_inject_styles__$E, __vue_script__$E, __vue_scope_id__$E, __vue_is_functional_template__$E, __vue_module_identifier__$E, false, createInjector, undefined, undefined);
|
|
2574
2576
|
|
|
2575
|
-
var CheckboxField = __vue_component__$
|
|
2577
|
+
var CheckboxField = __vue_component__$E;
|
|
2576
2578
|
|
|
2577
2579
|
//
|
|
2578
|
-
var script$
|
|
2580
|
+
var script$C = {
|
|
2579
2581
|
name: 'ui-field-select',
|
|
2580
2582
|
mixins: [FieldMixin, DataMixin],
|
|
2581
2583
|
inheritAttrs: false,
|
|
@@ -2769,10 +2771,10 @@ var script$A = {
|
|
|
2769
2771
|
};
|
|
2770
2772
|
|
|
2771
2773
|
/* script */
|
|
2772
|
-
const __vue_script__$
|
|
2774
|
+
const __vue_script__$D = script$C;
|
|
2773
2775
|
/* template */
|
|
2774
2776
|
|
|
2775
|
-
var __vue_render__$
|
|
2777
|
+
var __vue_render__$B = function () {
|
|
2776
2778
|
var _vm = this;
|
|
2777
2779
|
|
|
2778
2780
|
var _h = _vm.$createElement;
|
|
@@ -2897,10 +2899,10 @@ var __vue_render__$z = function () {
|
|
|
2897
2899
|
})], 1)], 1) : _vm._e()], 1);
|
|
2898
2900
|
};
|
|
2899
2901
|
|
|
2900
|
-
var __vue_staticRenderFns__$
|
|
2902
|
+
var __vue_staticRenderFns__$B = [];
|
|
2901
2903
|
/* style */
|
|
2902
2904
|
|
|
2903
|
-
const __vue_inject_styles__$
|
|
2905
|
+
const __vue_inject_styles__$D = function (inject) {
|
|
2904
2906
|
if (!inject) return;
|
|
2905
2907
|
inject("data-v-7c196bc6_0", {
|
|
2906
2908
|
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}",
|
|
@@ -2911,26 +2913,26 @@ const __vue_inject_styles__$B = function (inject) {
|
|
|
2911
2913
|
/* scoped */
|
|
2912
2914
|
|
|
2913
2915
|
|
|
2914
|
-
const __vue_scope_id__$
|
|
2916
|
+
const __vue_scope_id__$D = undefined;
|
|
2915
2917
|
/* module identifier */
|
|
2916
2918
|
|
|
2917
|
-
const __vue_module_identifier__$
|
|
2919
|
+
const __vue_module_identifier__$D = undefined;
|
|
2918
2920
|
/* functional template */
|
|
2919
2921
|
|
|
2920
|
-
const __vue_is_functional_template__$
|
|
2922
|
+
const __vue_is_functional_template__$D = false;
|
|
2921
2923
|
/* style inject SSR */
|
|
2922
2924
|
|
|
2923
2925
|
/* style inject shadow dom */
|
|
2924
2926
|
|
|
2925
|
-
const __vue_component__$
|
|
2926
|
-
render: __vue_render__$
|
|
2927
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
2928
|
-
}, __vue_inject_styles__$
|
|
2927
|
+
const __vue_component__$D = /*#__PURE__*/normalizeComponent({
|
|
2928
|
+
render: __vue_render__$B,
|
|
2929
|
+
staticRenderFns: __vue_staticRenderFns__$B
|
|
2930
|
+
}, __vue_inject_styles__$D, __vue_script__$D, __vue_scope_id__$D, __vue_is_functional_template__$D, __vue_module_identifier__$D, false, createInjector, undefined, undefined);
|
|
2929
2931
|
|
|
2930
|
-
var SelectField = __vue_component__$
|
|
2932
|
+
var SelectField = __vue_component__$D;
|
|
2931
2933
|
|
|
2932
2934
|
//
|
|
2933
|
-
var script$
|
|
2935
|
+
var script$B = {
|
|
2934
2936
|
name: 'ui-field-number',
|
|
2935
2937
|
mixins: [FieldMixin],
|
|
2936
2938
|
props: {
|
|
@@ -2961,10 +2963,10 @@ var script$z = {
|
|
|
2961
2963
|
};
|
|
2962
2964
|
|
|
2963
2965
|
/* script */
|
|
2964
|
-
const __vue_script__$
|
|
2966
|
+
const __vue_script__$C = script$B;
|
|
2965
2967
|
/* template */
|
|
2966
2968
|
|
|
2967
|
-
var __vue_render__$
|
|
2969
|
+
var __vue_render__$A = function () {
|
|
2968
2970
|
var _vm = this;
|
|
2969
2971
|
|
|
2970
2972
|
var _h = _vm.$createElement;
|
|
@@ -2980,10 +2982,10 @@ var __vue_render__$y = function () {
|
|
|
2980
2982
|
}, 'el-input-number', _vm.$attrs, false), _vm.$listeners));
|
|
2981
2983
|
};
|
|
2982
2984
|
|
|
2983
|
-
var __vue_staticRenderFns__$
|
|
2985
|
+
var __vue_staticRenderFns__$A = [];
|
|
2984
2986
|
/* style */
|
|
2985
2987
|
|
|
2986
|
-
const __vue_inject_styles__$
|
|
2988
|
+
const __vue_inject_styles__$C = function (inject) {
|
|
2987
2989
|
if (!inject) return;
|
|
2988
2990
|
inject("data-v-53fd5ea2_0", {
|
|
2989
2991
|
source: ".ui-number-field[data-v-53fd5ea2]{width:100%}.ui-number-field[data-v-53fd5ea2] input{text-align:initial}",
|
|
@@ -2994,23 +2996,23 @@ const __vue_inject_styles__$A = function (inject) {
|
|
|
2994
2996
|
/* scoped */
|
|
2995
2997
|
|
|
2996
2998
|
|
|
2997
|
-
const __vue_scope_id__$
|
|
2999
|
+
const __vue_scope_id__$C = "data-v-53fd5ea2";
|
|
2998
3000
|
/* module identifier */
|
|
2999
3001
|
|
|
3000
|
-
const __vue_module_identifier__$
|
|
3002
|
+
const __vue_module_identifier__$C = undefined;
|
|
3001
3003
|
/* functional template */
|
|
3002
3004
|
|
|
3003
|
-
const __vue_is_functional_template__$
|
|
3005
|
+
const __vue_is_functional_template__$C = false;
|
|
3004
3006
|
/* style inject SSR */
|
|
3005
3007
|
|
|
3006
3008
|
/* style inject shadow dom */
|
|
3007
3009
|
|
|
3008
|
-
const __vue_component__$
|
|
3009
|
-
render: __vue_render__$
|
|
3010
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
3011
|
-
}, __vue_inject_styles__$
|
|
3010
|
+
const __vue_component__$C = /*#__PURE__*/normalizeComponent({
|
|
3011
|
+
render: __vue_render__$A,
|
|
3012
|
+
staticRenderFns: __vue_staticRenderFns__$A
|
|
3013
|
+
}, __vue_inject_styles__$C, __vue_script__$C, __vue_scope_id__$C, __vue_is_functional_template__$C, __vue_module_identifier__$C, false, createInjector, undefined, undefined);
|
|
3012
3014
|
|
|
3013
|
-
var NumberField = __vue_component__$
|
|
3015
|
+
var NumberField = __vue_component__$C;
|
|
3014
3016
|
|
|
3015
3017
|
const randomStr = length => {
|
|
3016
3018
|
let str = Math.random().toString(36).substr(2);
|
|
@@ -3028,7 +3030,7 @@ var Strings = {
|
|
|
3028
3030
|
};
|
|
3029
3031
|
|
|
3030
3032
|
//
|
|
3031
|
-
var script$
|
|
3033
|
+
var script$A = {
|
|
3032
3034
|
name: 'ui-field-cascade',
|
|
3033
3035
|
mixins: [FieldMixin, DataMixin],
|
|
3034
3036
|
props: {
|
|
@@ -3244,10 +3246,10 @@ var script$y = {
|
|
|
3244
3246
|
};
|
|
3245
3247
|
|
|
3246
3248
|
/* script */
|
|
3247
|
-
const __vue_script__$
|
|
3249
|
+
const __vue_script__$B = script$A;
|
|
3248
3250
|
/* template */
|
|
3249
3251
|
|
|
3250
|
-
var __vue_render__$
|
|
3252
|
+
var __vue_render__$z = function () {
|
|
3251
3253
|
var _vm = this;
|
|
3252
3254
|
|
|
3253
3255
|
var _h = _vm.$createElement;
|
|
@@ -3311,10 +3313,10 @@ var __vue_render__$x = function () {
|
|
|
3311
3313
|
})], 1)], 1) : _vm._e()], 1);
|
|
3312
3314
|
};
|
|
3313
3315
|
|
|
3314
|
-
var __vue_staticRenderFns__$
|
|
3316
|
+
var __vue_staticRenderFns__$z = [];
|
|
3315
3317
|
/* style */
|
|
3316
3318
|
|
|
3317
|
-
const __vue_inject_styles__$
|
|
3319
|
+
const __vue_inject_styles__$B = function (inject) {
|
|
3318
3320
|
if (!inject) return;
|
|
3319
3321
|
inject("data-v-3e45255c_0", {
|
|
3320
3322
|
source: ".ui-cascade-field[data-v-3e45255c]{width:100%}.ui-cascade-field-popper[data-v-3e45255c]{z-index:99999!important}.ui-cascade-field-popper .el-cascader-menu__item[data-v-3e45255c]{padding-right:30px}[data-v-3e45255c] .el-loading-mask .el-loading-spinner{margin-top:-14px}",
|
|
@@ -3325,23 +3327,23 @@ const __vue_inject_styles__$z = function (inject) {
|
|
|
3325
3327
|
/* scoped */
|
|
3326
3328
|
|
|
3327
3329
|
|
|
3328
|
-
const __vue_scope_id__$
|
|
3330
|
+
const __vue_scope_id__$B = "data-v-3e45255c";
|
|
3329
3331
|
/* module identifier */
|
|
3330
3332
|
|
|
3331
|
-
const __vue_module_identifier__$
|
|
3333
|
+
const __vue_module_identifier__$B = undefined;
|
|
3332
3334
|
/* functional template */
|
|
3333
3335
|
|
|
3334
|
-
const __vue_is_functional_template__$
|
|
3336
|
+
const __vue_is_functional_template__$B = false;
|
|
3335
3337
|
/* style inject SSR */
|
|
3336
3338
|
|
|
3337
3339
|
/* style inject shadow dom */
|
|
3338
3340
|
|
|
3339
|
-
const __vue_component__$
|
|
3340
|
-
render: __vue_render__$
|
|
3341
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
3342
|
-
}, __vue_inject_styles__$
|
|
3341
|
+
const __vue_component__$B = /*#__PURE__*/normalizeComponent({
|
|
3342
|
+
render: __vue_render__$z,
|
|
3343
|
+
staticRenderFns: __vue_staticRenderFns__$z
|
|
3344
|
+
}, __vue_inject_styles__$B, __vue_script__$B, __vue_scope_id__$B, __vue_is_functional_template__$B, __vue_module_identifier__$B, false, createInjector, undefined, undefined);
|
|
3343
3345
|
|
|
3344
|
-
var CascadeField = __vue_component__$
|
|
3346
|
+
var CascadeField = __vue_component__$B;
|
|
3345
3347
|
|
|
3346
3348
|
/**
|
|
3347
3349
|
* @param text
|
|
@@ -3403,7 +3405,7 @@ const DisabledDate = {
|
|
|
3403
3405
|
};
|
|
3404
3406
|
|
|
3405
3407
|
//
|
|
3406
|
-
var script$
|
|
3408
|
+
var script$z = {
|
|
3407
3409
|
name: 'ui-field-date',
|
|
3408
3410
|
mixins: [FieldMixin],
|
|
3409
3411
|
props: {
|
|
@@ -3549,10 +3551,10 @@ var script$x = {
|
|
|
3549
3551
|
};
|
|
3550
3552
|
|
|
3551
3553
|
/* script */
|
|
3552
|
-
const __vue_script__$
|
|
3554
|
+
const __vue_script__$A = script$z;
|
|
3553
3555
|
/* template */
|
|
3554
3556
|
|
|
3555
|
-
var __vue_render__$
|
|
3557
|
+
var __vue_render__$y = function () {
|
|
3556
3558
|
var _vm = this;
|
|
3557
3559
|
|
|
3558
3560
|
var _h = _vm.$createElement;
|
|
@@ -3576,10 +3578,10 @@ var __vue_render__$w = function () {
|
|
|
3576
3578
|
}, 'el-date-picker', _vm.$attrs, false), _vm._listeners));
|
|
3577
3579
|
};
|
|
3578
3580
|
|
|
3579
|
-
var __vue_staticRenderFns__$
|
|
3581
|
+
var __vue_staticRenderFns__$y = [];
|
|
3580
3582
|
/* style */
|
|
3581
3583
|
|
|
3582
|
-
const __vue_inject_styles__$
|
|
3584
|
+
const __vue_inject_styles__$A = function (inject) {
|
|
3583
3585
|
if (!inject) return;
|
|
3584
3586
|
inject("data-v-1409a14c_0", {
|
|
3585
3587
|
source: ".ui-date-field.el-date-editor[data-v-1409a14c]{width:100%}",
|
|
@@ -3590,26 +3592,26 @@ const __vue_inject_styles__$y = function (inject) {
|
|
|
3590
3592
|
/* scoped */
|
|
3591
3593
|
|
|
3592
3594
|
|
|
3593
|
-
const __vue_scope_id__$
|
|
3595
|
+
const __vue_scope_id__$A = "data-v-1409a14c";
|
|
3594
3596
|
/* module identifier */
|
|
3595
3597
|
|
|
3596
|
-
const __vue_module_identifier__$
|
|
3598
|
+
const __vue_module_identifier__$A = undefined;
|
|
3597
3599
|
/* functional template */
|
|
3598
3600
|
|
|
3599
|
-
const __vue_is_functional_template__$
|
|
3601
|
+
const __vue_is_functional_template__$A = false;
|
|
3600
3602
|
/* style inject SSR */
|
|
3601
3603
|
|
|
3602
3604
|
/* style inject shadow dom */
|
|
3603
3605
|
|
|
3604
|
-
const __vue_component__$
|
|
3605
|
-
render: __vue_render__$
|
|
3606
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
3607
|
-
}, __vue_inject_styles__$
|
|
3606
|
+
const __vue_component__$A = /*#__PURE__*/normalizeComponent({
|
|
3607
|
+
render: __vue_render__$y,
|
|
3608
|
+
staticRenderFns: __vue_staticRenderFns__$y
|
|
3609
|
+
}, __vue_inject_styles__$A, __vue_script__$A, __vue_scope_id__$A, __vue_is_functional_template__$A, __vue_module_identifier__$A, false, createInjector, undefined, undefined);
|
|
3608
3610
|
|
|
3609
|
-
var DateField = __vue_component__$
|
|
3611
|
+
var DateField = __vue_component__$A;
|
|
3610
3612
|
|
|
3611
3613
|
//
|
|
3612
|
-
var script$
|
|
3614
|
+
var script$y = {
|
|
3613
3615
|
name: 'ui-field-timepicker',
|
|
3614
3616
|
mixins: [FieldMixin],
|
|
3615
3617
|
props: {
|
|
@@ -3675,10 +3677,10 @@ var script$w = {
|
|
|
3675
3677
|
};
|
|
3676
3678
|
|
|
3677
3679
|
/* script */
|
|
3678
|
-
const __vue_script__$
|
|
3680
|
+
const __vue_script__$z = script$y;
|
|
3679
3681
|
/* template */
|
|
3680
3682
|
|
|
3681
|
-
var __vue_render__$
|
|
3683
|
+
var __vue_render__$x = function () {
|
|
3682
3684
|
var _vm = this;
|
|
3683
3685
|
|
|
3684
3686
|
var _h = _vm.$createElement;
|
|
@@ -3700,10 +3702,10 @@ var __vue_render__$v = function () {
|
|
|
3700
3702
|
}, 'el-time-picker', _vm.$attrs, false), _vm._listeners));
|
|
3701
3703
|
};
|
|
3702
3704
|
|
|
3703
|
-
var __vue_staticRenderFns__$
|
|
3705
|
+
var __vue_staticRenderFns__$x = [];
|
|
3704
3706
|
/* style */
|
|
3705
3707
|
|
|
3706
|
-
const __vue_inject_styles__$
|
|
3708
|
+
const __vue_inject_styles__$z = function (inject) {
|
|
3707
3709
|
if (!inject) return;
|
|
3708
3710
|
inject("data-v-18a65ed4_0", {
|
|
3709
3711
|
source: ".ui-timepicker-field.el-date-editor[data-v-18a65ed4]{width:100%}",
|
|
@@ -3714,26 +3716,26 @@ const __vue_inject_styles__$x = function (inject) {
|
|
|
3714
3716
|
/* scoped */
|
|
3715
3717
|
|
|
3716
3718
|
|
|
3717
|
-
const __vue_scope_id__$
|
|
3719
|
+
const __vue_scope_id__$z = "data-v-18a65ed4";
|
|
3718
3720
|
/* module identifier */
|
|
3719
3721
|
|
|
3720
|
-
const __vue_module_identifier__$
|
|
3722
|
+
const __vue_module_identifier__$z = undefined;
|
|
3721
3723
|
/* functional template */
|
|
3722
3724
|
|
|
3723
|
-
const __vue_is_functional_template__$
|
|
3725
|
+
const __vue_is_functional_template__$z = false;
|
|
3724
3726
|
/* style inject SSR */
|
|
3725
3727
|
|
|
3726
3728
|
/* style inject shadow dom */
|
|
3727
3729
|
|
|
3728
|
-
const __vue_component__$
|
|
3729
|
-
render: __vue_render__$
|
|
3730
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
3731
|
-
}, __vue_inject_styles__$
|
|
3730
|
+
const __vue_component__$z = /*#__PURE__*/normalizeComponent({
|
|
3731
|
+
render: __vue_render__$x,
|
|
3732
|
+
staticRenderFns: __vue_staticRenderFns__$x
|
|
3733
|
+
}, __vue_inject_styles__$z, __vue_script__$z, __vue_scope_id__$z, __vue_is_functional_template__$z, __vue_module_identifier__$z, false, createInjector, undefined, undefined);
|
|
3732
3734
|
|
|
3733
|
-
var TimePickerField = __vue_component__$
|
|
3735
|
+
var TimePickerField = __vue_component__$z;
|
|
3734
3736
|
|
|
3735
3737
|
//
|
|
3736
|
-
var script$
|
|
3738
|
+
var script$x = {
|
|
3737
3739
|
name: 'ui-field-timeselect',
|
|
3738
3740
|
mixins: [FieldMixin],
|
|
3739
3741
|
methods: {
|
|
@@ -3746,10 +3748,10 @@ var script$v = {
|
|
|
3746
3748
|
};
|
|
3747
3749
|
|
|
3748
3750
|
/* script */
|
|
3749
|
-
const __vue_script__$
|
|
3751
|
+
const __vue_script__$y = script$x;
|
|
3750
3752
|
/* template */
|
|
3751
3753
|
|
|
3752
|
-
var __vue_render__$
|
|
3754
|
+
var __vue_render__$w = function () {
|
|
3753
3755
|
var _vm = this;
|
|
3754
3756
|
|
|
3755
3757
|
var _h = _vm.$createElement;
|
|
@@ -3764,10 +3766,10 @@ var __vue_render__$u = function () {
|
|
|
3764
3766
|
}, 'el-time-select', _vm.$attrs, false), _vm.$listeners));
|
|
3765
3767
|
};
|
|
3766
3768
|
|
|
3767
|
-
var __vue_staticRenderFns__$
|
|
3769
|
+
var __vue_staticRenderFns__$w = [];
|
|
3768
3770
|
/* style */
|
|
3769
3771
|
|
|
3770
|
-
const __vue_inject_styles__$
|
|
3772
|
+
const __vue_inject_styles__$y = function (inject) {
|
|
3771
3773
|
if (!inject) return;
|
|
3772
3774
|
inject("data-v-502897fb_0", {
|
|
3773
3775
|
source: ".ui-timeselect-field.el-date-editor[data-v-502897fb]{width:100%}",
|
|
@@ -3778,23 +3780,23 @@ const __vue_inject_styles__$w = function (inject) {
|
|
|
3778
3780
|
/* scoped */
|
|
3779
3781
|
|
|
3780
3782
|
|
|
3781
|
-
const __vue_scope_id__$
|
|
3783
|
+
const __vue_scope_id__$y = "data-v-502897fb";
|
|
3782
3784
|
/* module identifier */
|
|
3783
3785
|
|
|
3784
|
-
const __vue_module_identifier__$
|
|
3786
|
+
const __vue_module_identifier__$y = undefined;
|
|
3785
3787
|
/* functional template */
|
|
3786
3788
|
|
|
3787
|
-
const __vue_is_functional_template__$
|
|
3789
|
+
const __vue_is_functional_template__$y = false;
|
|
3788
3790
|
/* style inject SSR */
|
|
3789
3791
|
|
|
3790
3792
|
/* style inject shadow dom */
|
|
3791
3793
|
|
|
3792
|
-
const __vue_component__$
|
|
3793
|
-
render: __vue_render__$
|
|
3794
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
3795
|
-
}, __vue_inject_styles__$
|
|
3794
|
+
const __vue_component__$y = /*#__PURE__*/normalizeComponent({
|
|
3795
|
+
render: __vue_render__$w,
|
|
3796
|
+
staticRenderFns: __vue_staticRenderFns__$w
|
|
3797
|
+
}, __vue_inject_styles__$y, __vue_script__$y, __vue_scope_id__$y, __vue_is_functional_template__$y, __vue_module_identifier__$y, false, createInjector, undefined, undefined);
|
|
3796
3798
|
|
|
3797
|
-
var TimeSelectField = __vue_component__$
|
|
3799
|
+
var TimeSelectField = __vue_component__$y;
|
|
3798
3800
|
|
|
3799
3801
|
//
|
|
3800
3802
|
|
|
@@ -3803,7 +3805,7 @@ Date.prototype.calendar = function () {
|
|
|
3803
3805
|
return [this.getFullYear(), month < 10 ? "0" + month : month, this.getDate()].join("-");
|
|
3804
3806
|
};
|
|
3805
3807
|
|
|
3806
|
-
var script$
|
|
3808
|
+
var script$w = {
|
|
3807
3809
|
name: 'ui-field-datse',
|
|
3808
3810
|
mixins: [FieldMixin],
|
|
3809
3811
|
props: {
|
|
@@ -3857,10 +3859,10 @@ var script$u = {
|
|
|
3857
3859
|
};
|
|
3858
3860
|
|
|
3859
3861
|
/* script */
|
|
3860
|
-
const __vue_script__$
|
|
3862
|
+
const __vue_script__$x = script$w;
|
|
3861
3863
|
/* template */
|
|
3862
3864
|
|
|
3863
|
-
var __vue_render__$
|
|
3865
|
+
var __vue_render__$v = function () {
|
|
3864
3866
|
var _vm = this;
|
|
3865
3867
|
|
|
3866
3868
|
var _h = _vm.$createElement;
|
|
@@ -3906,10 +3908,10 @@ var __vue_render__$t = function () {
|
|
|
3906
3908
|
})], 1);
|
|
3907
3909
|
};
|
|
3908
3910
|
|
|
3909
|
-
var __vue_staticRenderFns__$
|
|
3911
|
+
var __vue_staticRenderFns__$v = [];
|
|
3910
3912
|
/* style */
|
|
3911
3913
|
|
|
3912
|
-
const __vue_inject_styles__$
|
|
3914
|
+
const __vue_inject_styles__$x = function (inject) {
|
|
3913
3915
|
if (!inject) return;
|
|
3914
3916
|
inject("data-v-33f2225c_0", {
|
|
3915
3917
|
source: ".ui-date-field.el-date-editor[data-v-33f2225c]{width:100%}.calendar[data-v-33f2225c]{margin-right:20px}.calendar .calendarItem[data-v-33f2225c]{display:inline-block;box-sizing:border-box;width:45px;height:35px;cursor:pointer;border-right:1px solid #e3e3ee;text-align:center;border:1px solid #e3e3e3;font-size:14px}.calendar .calendarItem[data-v-33f2225c]:first-of-type{border-right:none;border-top-left-radius:5px;border-bottom-left-radius:5px}.calendar .calendarItem[data-v-33f2225c]:last-of-type{border-left:none;border-top-right-radius:5px;border-bottom-right-radius:5px}.calendar .calendar-active[data-v-33f2225c]{color:#1890ff;background:#e3e3e3}.separator[data-v-33f2225c]{margin-right:10px;color:#333}",
|
|
@@ -3920,26 +3922,26 @@ const __vue_inject_styles__$v = function (inject) {
|
|
|
3920
3922
|
/* scoped */
|
|
3921
3923
|
|
|
3922
3924
|
|
|
3923
|
-
const __vue_scope_id__$
|
|
3925
|
+
const __vue_scope_id__$x = "data-v-33f2225c";
|
|
3924
3926
|
/* module identifier */
|
|
3925
3927
|
|
|
3926
|
-
const __vue_module_identifier__$
|
|
3928
|
+
const __vue_module_identifier__$x = undefined;
|
|
3927
3929
|
/* functional template */
|
|
3928
3930
|
|
|
3929
|
-
const __vue_is_functional_template__$
|
|
3931
|
+
const __vue_is_functional_template__$x = false;
|
|
3930
3932
|
/* style inject SSR */
|
|
3931
3933
|
|
|
3932
3934
|
/* style inject shadow dom */
|
|
3933
3935
|
|
|
3934
|
-
const __vue_component__$
|
|
3935
|
-
render: __vue_render__$
|
|
3936
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
3937
|
-
}, __vue_inject_styles__$
|
|
3936
|
+
const __vue_component__$x = /*#__PURE__*/normalizeComponent({
|
|
3937
|
+
render: __vue_render__$v,
|
|
3938
|
+
staticRenderFns: __vue_staticRenderFns__$v
|
|
3939
|
+
}, __vue_inject_styles__$x, __vue_script__$x, __vue_scope_id__$x, __vue_is_functional_template__$x, __vue_module_identifier__$x, false, createInjector, undefined, undefined);
|
|
3938
3940
|
|
|
3939
|
-
var DatecCalendarField = __vue_component__$
|
|
3941
|
+
var DatecCalendarField = __vue_component__$x;
|
|
3940
3942
|
|
|
3941
3943
|
//
|
|
3942
|
-
var script$
|
|
3944
|
+
var script$v = {
|
|
3943
3945
|
name: 'ui-field-slider',
|
|
3944
3946
|
mixins: [FieldMixin],
|
|
3945
3947
|
props: {
|
|
@@ -4009,10 +4011,10 @@ var script$t = {
|
|
|
4009
4011
|
};
|
|
4010
4012
|
|
|
4011
4013
|
/* script */
|
|
4012
|
-
const __vue_script__$
|
|
4014
|
+
const __vue_script__$w = script$v;
|
|
4013
4015
|
/* template */
|
|
4014
4016
|
|
|
4015
|
-
var __vue_render__$
|
|
4017
|
+
var __vue_render__$u = function () {
|
|
4016
4018
|
var _vm = this;
|
|
4017
4019
|
|
|
4018
4020
|
var _h = _vm.$createElement;
|
|
@@ -4038,43 +4040,43 @@ var __vue_render__$s = function () {
|
|
|
4038
4040
|
}, 'el-slider', _vm.$attrs, false), _vm._listeners));
|
|
4039
4041
|
};
|
|
4040
4042
|
|
|
4041
|
-
var __vue_staticRenderFns__$
|
|
4043
|
+
var __vue_staticRenderFns__$u = [];
|
|
4042
4044
|
/* style */
|
|
4043
4045
|
|
|
4044
|
-
const __vue_inject_styles__$
|
|
4046
|
+
const __vue_inject_styles__$w = undefined;
|
|
4045
4047
|
/* scoped */
|
|
4046
4048
|
|
|
4047
|
-
const __vue_scope_id__$
|
|
4049
|
+
const __vue_scope_id__$w = "data-v-1f3d5145";
|
|
4048
4050
|
/* module identifier */
|
|
4049
4051
|
|
|
4050
|
-
const __vue_module_identifier__$
|
|
4052
|
+
const __vue_module_identifier__$w = undefined;
|
|
4051
4053
|
/* functional template */
|
|
4052
4054
|
|
|
4053
|
-
const __vue_is_functional_template__$
|
|
4055
|
+
const __vue_is_functional_template__$w = false;
|
|
4054
4056
|
/* style inject */
|
|
4055
4057
|
|
|
4056
4058
|
/* style inject SSR */
|
|
4057
4059
|
|
|
4058
4060
|
/* style inject shadow dom */
|
|
4059
4061
|
|
|
4060
|
-
const __vue_component__$
|
|
4061
|
-
render: __vue_render__$
|
|
4062
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
4063
|
-
}, __vue_inject_styles__$
|
|
4062
|
+
const __vue_component__$w = /*#__PURE__*/normalizeComponent({
|
|
4063
|
+
render: __vue_render__$u,
|
|
4064
|
+
staticRenderFns: __vue_staticRenderFns__$u
|
|
4065
|
+
}, __vue_inject_styles__$w, __vue_script__$w, __vue_scope_id__$w, __vue_is_functional_template__$w, __vue_module_identifier__$w, false, undefined, undefined, undefined);
|
|
4064
4066
|
|
|
4065
|
-
var SliderField = __vue_component__$
|
|
4067
|
+
var SliderField = __vue_component__$w;
|
|
4066
4068
|
|
|
4067
4069
|
//
|
|
4068
|
-
var script$
|
|
4070
|
+
var script$u = {
|
|
4069
4071
|
name: 'ui-field-switch',
|
|
4070
4072
|
mixins: [FieldMixin]
|
|
4071
4073
|
};
|
|
4072
4074
|
|
|
4073
4075
|
/* script */
|
|
4074
|
-
const __vue_script__$
|
|
4076
|
+
const __vue_script__$v = script$u;
|
|
4075
4077
|
/* template */
|
|
4076
4078
|
|
|
4077
|
-
var __vue_render__$
|
|
4079
|
+
var __vue_render__$t = function () {
|
|
4078
4080
|
var _vm = this;
|
|
4079
4081
|
|
|
4080
4082
|
var _h = _vm.$createElement;
|
|
@@ -4088,34 +4090,34 @@ var __vue_render__$r = function () {
|
|
|
4088
4090
|
}, 'el-switch', _vm.$attrs, false), _vm.$listeners));
|
|
4089
4091
|
};
|
|
4090
4092
|
|
|
4091
|
-
var __vue_staticRenderFns__$
|
|
4093
|
+
var __vue_staticRenderFns__$t = [];
|
|
4092
4094
|
/* style */
|
|
4093
4095
|
|
|
4094
|
-
const __vue_inject_styles__$
|
|
4096
|
+
const __vue_inject_styles__$v = undefined;
|
|
4095
4097
|
/* scoped */
|
|
4096
4098
|
|
|
4097
|
-
const __vue_scope_id__$
|
|
4099
|
+
const __vue_scope_id__$v = "data-v-0a1271ea";
|
|
4098
4100
|
/* module identifier */
|
|
4099
4101
|
|
|
4100
|
-
const __vue_module_identifier__$
|
|
4102
|
+
const __vue_module_identifier__$v = undefined;
|
|
4101
4103
|
/* functional template */
|
|
4102
4104
|
|
|
4103
|
-
const __vue_is_functional_template__$
|
|
4105
|
+
const __vue_is_functional_template__$v = false;
|
|
4104
4106
|
/* style inject */
|
|
4105
4107
|
|
|
4106
4108
|
/* style inject SSR */
|
|
4107
4109
|
|
|
4108
4110
|
/* style inject shadow dom */
|
|
4109
4111
|
|
|
4110
|
-
const __vue_component__$
|
|
4111
|
-
render: __vue_render__$
|
|
4112
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
4113
|
-
}, __vue_inject_styles__$
|
|
4112
|
+
const __vue_component__$v = /*#__PURE__*/normalizeComponent({
|
|
4113
|
+
render: __vue_render__$t,
|
|
4114
|
+
staticRenderFns: __vue_staticRenderFns__$t
|
|
4115
|
+
}, __vue_inject_styles__$v, __vue_script__$v, __vue_scope_id__$v, __vue_is_functional_template__$v, __vue_module_identifier__$v, false, undefined, undefined, undefined);
|
|
4114
4116
|
|
|
4115
|
-
var SwitchField = __vue_component__$
|
|
4117
|
+
var SwitchField = __vue_component__$v;
|
|
4116
4118
|
|
|
4117
4119
|
//
|
|
4118
|
-
var script$
|
|
4120
|
+
var script$t = {
|
|
4119
4121
|
name: 'ui-field-rate',
|
|
4120
4122
|
mixins: [FieldMixin],
|
|
4121
4123
|
props: {
|
|
@@ -4149,10 +4151,10 @@ var script$r = {
|
|
|
4149
4151
|
};
|
|
4150
4152
|
|
|
4151
4153
|
/* script */
|
|
4152
|
-
const __vue_script__$
|
|
4154
|
+
const __vue_script__$u = script$t;
|
|
4153
4155
|
/* template */
|
|
4154
4156
|
|
|
4155
|
-
var __vue_render__$
|
|
4157
|
+
var __vue_render__$s = function () {
|
|
4156
4158
|
var _vm = this;
|
|
4157
4159
|
|
|
4158
4160
|
var _h = _vm.$createElement;
|
|
@@ -4173,34 +4175,34 @@ var __vue_render__$q = function () {
|
|
|
4173
4175
|
}, 'el-rate', _vm.$attrs, false), _vm._listeners));
|
|
4174
4176
|
};
|
|
4175
4177
|
|
|
4176
|
-
var __vue_staticRenderFns__$
|
|
4178
|
+
var __vue_staticRenderFns__$s = [];
|
|
4177
4179
|
/* style */
|
|
4178
4180
|
|
|
4179
|
-
const __vue_inject_styles__$
|
|
4181
|
+
const __vue_inject_styles__$u = undefined;
|
|
4180
4182
|
/* scoped */
|
|
4181
4183
|
|
|
4182
|
-
const __vue_scope_id__$
|
|
4184
|
+
const __vue_scope_id__$u = "data-v-8027f8f8";
|
|
4183
4185
|
/* module identifier */
|
|
4184
4186
|
|
|
4185
|
-
const __vue_module_identifier__$
|
|
4187
|
+
const __vue_module_identifier__$u = undefined;
|
|
4186
4188
|
/* functional template */
|
|
4187
4189
|
|
|
4188
|
-
const __vue_is_functional_template__$
|
|
4190
|
+
const __vue_is_functional_template__$u = false;
|
|
4189
4191
|
/* style inject */
|
|
4190
4192
|
|
|
4191
4193
|
/* style inject SSR */
|
|
4192
4194
|
|
|
4193
4195
|
/* style inject shadow dom */
|
|
4194
4196
|
|
|
4195
|
-
const __vue_component__$
|
|
4196
|
-
render: __vue_render__$
|
|
4197
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
4198
|
-
}, __vue_inject_styles__$
|
|
4197
|
+
const __vue_component__$u = /*#__PURE__*/normalizeComponent({
|
|
4198
|
+
render: __vue_render__$s,
|
|
4199
|
+
staticRenderFns: __vue_staticRenderFns__$s
|
|
4200
|
+
}, __vue_inject_styles__$u, __vue_script__$u, __vue_scope_id__$u, __vue_is_functional_template__$u, __vue_module_identifier__$u, false, undefined, undefined, undefined);
|
|
4199
4201
|
|
|
4200
|
-
var RateField = __vue_component__$
|
|
4202
|
+
var RateField = __vue_component__$u;
|
|
4201
4203
|
|
|
4202
4204
|
//
|
|
4203
|
-
var script$
|
|
4205
|
+
var script$s = {
|
|
4204
4206
|
name: 'ui-field-color',
|
|
4205
4207
|
mixins: [FieldMixin],
|
|
4206
4208
|
props: {
|
|
@@ -4212,10 +4214,10 @@ var script$q = {
|
|
|
4212
4214
|
};
|
|
4213
4215
|
|
|
4214
4216
|
/* script */
|
|
4215
|
-
const __vue_script__$
|
|
4217
|
+
const __vue_script__$t = script$s;
|
|
4216
4218
|
/* template */
|
|
4217
4219
|
|
|
4218
|
-
var __vue_render__$
|
|
4220
|
+
var __vue_render__$r = function () {
|
|
4219
4221
|
var _vm = this;
|
|
4220
4222
|
|
|
4221
4223
|
var _h = _vm.$createElement;
|
|
@@ -4231,10 +4233,10 @@ var __vue_render__$p = function () {
|
|
|
4231
4233
|
}, 'el-color-picker', _vm.$attrs, false), _vm.$listeners));
|
|
4232
4234
|
};
|
|
4233
4235
|
|
|
4234
|
-
var __vue_staticRenderFns__$
|
|
4236
|
+
var __vue_staticRenderFns__$r = [];
|
|
4235
4237
|
/* style */
|
|
4236
4238
|
|
|
4237
|
-
const __vue_inject_styles__$
|
|
4239
|
+
const __vue_inject_styles__$t = function (inject) {
|
|
4238
4240
|
if (!inject) return;
|
|
4239
4241
|
inject("data-v-ce10c0fa_0", {
|
|
4240
4242
|
source: ".ui-field-color[data-v-ce10c0fa]{width:100%}",
|
|
@@ -4245,23 +4247,23 @@ const __vue_inject_styles__$r = function (inject) {
|
|
|
4245
4247
|
/* scoped */
|
|
4246
4248
|
|
|
4247
4249
|
|
|
4248
|
-
const __vue_scope_id__$
|
|
4250
|
+
const __vue_scope_id__$t = "data-v-ce10c0fa";
|
|
4249
4251
|
/* module identifier */
|
|
4250
4252
|
|
|
4251
|
-
const __vue_module_identifier__$
|
|
4253
|
+
const __vue_module_identifier__$t = undefined;
|
|
4252
4254
|
/* functional template */
|
|
4253
4255
|
|
|
4254
|
-
const __vue_is_functional_template__$
|
|
4256
|
+
const __vue_is_functional_template__$t = false;
|
|
4255
4257
|
/* style inject SSR */
|
|
4256
4258
|
|
|
4257
4259
|
/* style inject shadow dom */
|
|
4258
4260
|
|
|
4259
|
-
const __vue_component__$
|
|
4260
|
-
render: __vue_render__$
|
|
4261
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
4262
|
-
}, __vue_inject_styles__$
|
|
4261
|
+
const __vue_component__$t = /*#__PURE__*/normalizeComponent({
|
|
4262
|
+
render: __vue_render__$r,
|
|
4263
|
+
staticRenderFns: __vue_staticRenderFns__$r
|
|
4264
|
+
}, __vue_inject_styles__$t, __vue_script__$t, __vue_scope_id__$t, __vue_is_functional_template__$t, __vue_module_identifier__$t, false, createInjector, undefined, undefined);
|
|
4263
4265
|
|
|
4264
|
-
var ColorField = __vue_component__$
|
|
4266
|
+
var ColorField = __vue_component__$t;
|
|
4265
4267
|
|
|
4266
4268
|
var Upload = {
|
|
4267
4269
|
default: function (url) {
|
|
@@ -4492,10 +4494,10 @@ const RichField$1 = {
|
|
|
4492
4494
|
};
|
|
4493
4495
|
|
|
4494
4496
|
/* script */
|
|
4495
|
-
const __vue_script__$
|
|
4497
|
+
const __vue_script__$s = RichField$1;
|
|
4496
4498
|
/* template */
|
|
4497
4499
|
|
|
4498
|
-
var __vue_render__$
|
|
4500
|
+
var __vue_render__$q = function () {
|
|
4499
4501
|
var _vm = this;
|
|
4500
4502
|
|
|
4501
4503
|
var _h = _vm.$createElement;
|
|
@@ -4513,10 +4515,10 @@ var __vue_render__$o = function () {
|
|
|
4513
4515
|
});
|
|
4514
4516
|
};
|
|
4515
4517
|
|
|
4516
|
-
var __vue_staticRenderFns__$
|
|
4518
|
+
var __vue_staticRenderFns__$q = [];
|
|
4517
4519
|
/* style */
|
|
4518
4520
|
|
|
4519
|
-
const __vue_inject_styles__$
|
|
4521
|
+
const __vue_inject_styles__$s = function (inject) {
|
|
4520
4522
|
if (!inject) return;
|
|
4521
4523
|
inject("data-v-52e02522_0", {
|
|
4522
4524
|
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}",
|
|
@@ -4531,23 +4533,23 @@ const __vue_inject_styles__$q = function (inject) {
|
|
|
4531
4533
|
/* scoped */
|
|
4532
4534
|
|
|
4533
4535
|
|
|
4534
|
-
const __vue_scope_id__$
|
|
4536
|
+
const __vue_scope_id__$s = "data-v-52e02522";
|
|
4535
4537
|
/* module identifier */
|
|
4536
4538
|
|
|
4537
|
-
const __vue_module_identifier__$
|
|
4539
|
+
const __vue_module_identifier__$s = undefined;
|
|
4538
4540
|
/* functional template */
|
|
4539
4541
|
|
|
4540
|
-
const __vue_is_functional_template__$
|
|
4542
|
+
const __vue_is_functional_template__$s = false;
|
|
4541
4543
|
/* style inject SSR */
|
|
4542
4544
|
|
|
4543
4545
|
/* style inject shadow dom */
|
|
4544
4546
|
|
|
4545
|
-
const __vue_component__$
|
|
4546
|
-
render: __vue_render__$
|
|
4547
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
4548
|
-
}, __vue_inject_styles__$
|
|
4547
|
+
const __vue_component__$s = /*#__PURE__*/normalizeComponent({
|
|
4548
|
+
render: __vue_render__$q,
|
|
4549
|
+
staticRenderFns: __vue_staticRenderFns__$q
|
|
4550
|
+
}, __vue_inject_styles__$s, __vue_script__$s, __vue_scope_id__$s, __vue_is_functional_template__$s, __vue_module_identifier__$s, false, createInjector, undefined, undefined);
|
|
4549
4551
|
|
|
4550
|
-
var RichField = __vue_component__$
|
|
4552
|
+
var RichField = __vue_component__$s;
|
|
4551
4553
|
|
|
4552
4554
|
//
|
|
4553
4555
|
|
|
@@ -4565,7 +4567,7 @@ const getUrlSuffix = url => {
|
|
|
4565
4567
|
return url.substring(index + 1);
|
|
4566
4568
|
};
|
|
4567
4569
|
|
|
4568
|
-
var script$
|
|
4570
|
+
var script$r = {
|
|
4569
4571
|
name: 'ui-field-upload-file',
|
|
4570
4572
|
mixins: [FieldMixin],
|
|
4571
4573
|
props: {
|
|
@@ -4728,10 +4730,10 @@ var script$p = {
|
|
|
4728
4730
|
};
|
|
4729
4731
|
|
|
4730
4732
|
/* script */
|
|
4731
|
-
const __vue_script__$
|
|
4733
|
+
const __vue_script__$r = script$r;
|
|
4732
4734
|
/* template */
|
|
4733
4735
|
|
|
4734
|
-
var __vue_render__$
|
|
4736
|
+
var __vue_render__$p = function () {
|
|
4735
4737
|
var _vm = this;
|
|
4736
4738
|
|
|
4737
4739
|
var _h = _vm.$createElement;
|
|
@@ -4788,10 +4790,10 @@ var __vue_render__$n = function () {
|
|
|
4788
4790
|
})], 2)], 1);
|
|
4789
4791
|
};
|
|
4790
4792
|
|
|
4791
|
-
var __vue_staticRenderFns__$
|
|
4793
|
+
var __vue_staticRenderFns__$p = [];
|
|
4792
4794
|
/* style */
|
|
4793
4795
|
|
|
4794
|
-
const __vue_inject_styles__$
|
|
4796
|
+
const __vue_inject_styles__$r = function (inject) {
|
|
4795
4797
|
if (!inject) return;
|
|
4796
4798
|
inject("data-v-19ac5bf8_0", {
|
|
4797
4799
|
source: ".ui-file-upload-field[data-v-19ac5bf8]{width:100%}.ui-file-upload-field .uploader[data-v-19ac5bf8]{margin-bottom:5px}.ui-file-upload-field .uploader.disabled[data-v-19ac5bf8] .el-upload{cursor:not-allowed;pointer-events:none}.ui-file-upload-field .uploader.disabled[data-v-19ac5bf8] .el-upload .upload-btn{color:#888c94;background-color:#edeef0}.ui-file-upload-field .upload-btn[data-v-19ac5bf8]{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-19ac5bf8]:hover{background-color:#0d84ff}.ui-file-upload-field .files .file[data-v-19ac5bf8]{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-19ac5bf8]{flex:1;color:#606266;transition:all .3s;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-file-upload-field .files .file .close[data-v-19ac5bf8]{color:transparent;width:28px;text-align:center;visibility:hidden;transition:color .3s;font-weight:700}.ui-file-upload-field .files .file[data-v-19ac5bf8]:hover{background-color:#f5f7fa}.ui-file-upload-field .files .file:hover a[data-v-19ac5bf8]{color:#409eff}.ui-file-upload-field .files .file:hover .close[data-v-19ac5bf8]{color:#409eff;visibility:visible}",
|
|
@@ -4802,26 +4804,26 @@ const __vue_inject_styles__$p = function (inject) {
|
|
|
4802
4804
|
/* scoped */
|
|
4803
4805
|
|
|
4804
4806
|
|
|
4805
|
-
const __vue_scope_id__$
|
|
4807
|
+
const __vue_scope_id__$r = "data-v-19ac5bf8";
|
|
4806
4808
|
/* module identifier */
|
|
4807
4809
|
|
|
4808
|
-
const __vue_module_identifier__$
|
|
4810
|
+
const __vue_module_identifier__$r = undefined;
|
|
4809
4811
|
/* functional template */
|
|
4810
4812
|
|
|
4811
|
-
const __vue_is_functional_template__$
|
|
4813
|
+
const __vue_is_functional_template__$r = false;
|
|
4812
4814
|
/* style inject SSR */
|
|
4813
4815
|
|
|
4814
4816
|
/* style inject shadow dom */
|
|
4815
4817
|
|
|
4816
|
-
const __vue_component__$
|
|
4817
|
-
render: __vue_render__$
|
|
4818
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
4819
|
-
}, __vue_inject_styles__$
|
|
4818
|
+
const __vue_component__$r = /*#__PURE__*/normalizeComponent({
|
|
4819
|
+
render: __vue_render__$p,
|
|
4820
|
+
staticRenderFns: __vue_staticRenderFns__$p
|
|
4821
|
+
}, __vue_inject_styles__$r, __vue_script__$r, __vue_scope_id__$r, __vue_is_functional_template__$r, __vue_module_identifier__$r, false, createInjector, undefined, undefined);
|
|
4820
4822
|
|
|
4821
|
-
var FileUploadField = __vue_component__$
|
|
4823
|
+
var FileUploadField = __vue_component__$r;
|
|
4822
4824
|
|
|
4823
4825
|
//
|
|
4824
|
-
var script$
|
|
4826
|
+
var script$q = {
|
|
4825
4827
|
name: 'ui-field-upload-image',
|
|
4826
4828
|
mixins: [FileUploadField],
|
|
4827
4829
|
props: {
|
|
@@ -4841,10 +4843,10 @@ var script$o = {
|
|
|
4841
4843
|
};
|
|
4842
4844
|
|
|
4843
4845
|
/* script */
|
|
4844
|
-
const __vue_script__$
|
|
4846
|
+
const __vue_script__$q = script$q;
|
|
4845
4847
|
/* template */
|
|
4846
4848
|
|
|
4847
|
-
var __vue_render__$
|
|
4849
|
+
var __vue_render__$o = function () {
|
|
4848
4850
|
var _vm = this;
|
|
4849
4851
|
|
|
4850
4852
|
var _h = _vm.$createElement;
|
|
@@ -4900,10 +4902,10 @@ var __vue_render__$m = function () {
|
|
|
4900
4902
|
}), _vm._v(" "), _c('span', [_vm._v("上传图片")])])]) : _vm._e()], 2);
|
|
4901
4903
|
};
|
|
4902
4904
|
|
|
4903
|
-
var __vue_staticRenderFns__$
|
|
4905
|
+
var __vue_staticRenderFns__$o = [];
|
|
4904
4906
|
/* style */
|
|
4905
4907
|
|
|
4906
|
-
const __vue_inject_styles__$
|
|
4908
|
+
const __vue_inject_styles__$q = function (inject) {
|
|
4907
4909
|
if (!inject) return;
|
|
4908
4910
|
inject("data-v-65127316_0", {
|
|
4909
4911
|
source: ".ui-image-upload-field[data-v-65127316]{width:100%;display:flex;flex-direction:row;flex-wrap:wrap}.ui-image-upload-field .uploader.disabled[data-v-65127316] .el-upload{cursor:not-allowed;pointer-events:none}.ui-image-upload-field .uploader.disabled[data-v-65127316] .el-upload .upload-btn{background:#edeef0;color:#888c94}.ui-image-upload-field .item[data-v-65127316]{position:relative;display:flex;justify-content:center;align-items:center;overflow:hidden;width:140px;height:140px;margin-bottom:10px;margin-right:10px;border:1px dashed #d0d2d7;padding:8px;border-radius:2px;box-sizing:border-box}.ui-image-upload-field .item .remove[data-v-65127316]{position:absolute;top:0;right:0;width:24px;height:24px;background-color:rgba(0,0,0,.7);border-radius:0 0 0 22px;cursor:pointer}.ui-image-upload-field .item .remove .el-icon-close[data-v-65127316]{position:absolute;top:4px;right:4px;color:#fff;font-size:14px}.ui-image-upload-field .item.upload-btn[data-v-65127316]{background:#f7f8f9;display:flex;flex-direction:column;align-items:center;justify-content:center;border:none;color:#409eff}.ui-image-upload-field .item.upload-btn>.el-icon-plus[data-v-65127316]{font-size:1.6em}.ui-image-upload-field .item.upload-btn>span[data-v-65127316]{font-size:16px;line-height:1.2;margin-top:5px}.ui-image-upload-field .item:hover .modal[data-v-65127316]{visibility:visible}.ui-image-upload-field[data-v-65127316] .preview{display:inline-block;width:auto;max-width:60%;left:50%;transform:translateX(-50%)}",
|
|
@@ -4914,26 +4916,26 @@ const __vue_inject_styles__$o = function (inject) {
|
|
|
4914
4916
|
/* scoped */
|
|
4915
4917
|
|
|
4916
4918
|
|
|
4917
|
-
const __vue_scope_id__$
|
|
4919
|
+
const __vue_scope_id__$q = "data-v-65127316";
|
|
4918
4920
|
/* module identifier */
|
|
4919
4921
|
|
|
4920
|
-
const __vue_module_identifier__$
|
|
4922
|
+
const __vue_module_identifier__$q = undefined;
|
|
4921
4923
|
/* functional template */
|
|
4922
4924
|
|
|
4923
|
-
const __vue_is_functional_template__$
|
|
4925
|
+
const __vue_is_functional_template__$q = false;
|
|
4924
4926
|
/* style inject SSR */
|
|
4925
4927
|
|
|
4926
4928
|
/* style inject shadow dom */
|
|
4927
4929
|
|
|
4928
|
-
const __vue_component__$
|
|
4929
|
-
render: __vue_render__$
|
|
4930
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
4931
|
-
}, __vue_inject_styles__$
|
|
4930
|
+
const __vue_component__$q = /*#__PURE__*/normalizeComponent({
|
|
4931
|
+
render: __vue_render__$o,
|
|
4932
|
+
staticRenderFns: __vue_staticRenderFns__$o
|
|
4933
|
+
}, __vue_inject_styles__$q, __vue_script__$q, __vue_scope_id__$q, __vue_is_functional_template__$q, __vue_module_identifier__$q, false, createInjector, undefined, undefined);
|
|
4932
4934
|
|
|
4933
|
-
var ImageUploadField = __vue_component__$
|
|
4935
|
+
var ImageUploadField = __vue_component__$q;
|
|
4934
4936
|
|
|
4935
4937
|
//
|
|
4936
|
-
var script$
|
|
4938
|
+
var script$p = {
|
|
4937
4939
|
name: 'ui-field-trigger-dialog',
|
|
4938
4940
|
mixins: [FieldMixin],
|
|
4939
4941
|
props: {
|
|
@@ -4968,10 +4970,10 @@ var script$n = {
|
|
|
4968
4970
|
};
|
|
4969
4971
|
|
|
4970
4972
|
/* script */
|
|
4971
|
-
const __vue_script__$
|
|
4973
|
+
const __vue_script__$p = script$p;
|
|
4972
4974
|
/* template */
|
|
4973
4975
|
|
|
4974
|
-
var __vue_render__$
|
|
4976
|
+
var __vue_render__$n = function () {
|
|
4975
4977
|
var _vm = this;
|
|
4976
4978
|
|
|
4977
4979
|
var _h = _vm.$createElement;
|
|
@@ -5013,34 +5015,34 @@ var __vue_render__$l = function () {
|
|
|
5013
5015
|
}, 'ui-dialog', _vm.dialog, false), _vm.$listeners), [_vm._t("default")], 2)], 1);
|
|
5014
5016
|
};
|
|
5015
5017
|
|
|
5016
|
-
var __vue_staticRenderFns__$
|
|
5018
|
+
var __vue_staticRenderFns__$n = [];
|
|
5017
5019
|
/* style */
|
|
5018
5020
|
|
|
5019
|
-
const __vue_inject_styles__$
|
|
5021
|
+
const __vue_inject_styles__$p = undefined;
|
|
5020
5022
|
/* scoped */
|
|
5021
5023
|
|
|
5022
|
-
const __vue_scope_id__$
|
|
5024
|
+
const __vue_scope_id__$p = "data-v-60308614";
|
|
5023
5025
|
/* module identifier */
|
|
5024
5026
|
|
|
5025
|
-
const __vue_module_identifier__$
|
|
5027
|
+
const __vue_module_identifier__$p = undefined;
|
|
5026
5028
|
/* functional template */
|
|
5027
5029
|
|
|
5028
|
-
const __vue_is_functional_template__$
|
|
5030
|
+
const __vue_is_functional_template__$p = false;
|
|
5029
5031
|
/* style inject */
|
|
5030
5032
|
|
|
5031
5033
|
/* style inject SSR */
|
|
5032
5034
|
|
|
5033
5035
|
/* style inject shadow dom */
|
|
5034
5036
|
|
|
5035
|
-
const __vue_component__$
|
|
5036
|
-
render: __vue_render__$
|
|
5037
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
5038
|
-
}, __vue_inject_styles__$
|
|
5037
|
+
const __vue_component__$p = /*#__PURE__*/normalizeComponent({
|
|
5038
|
+
render: __vue_render__$n,
|
|
5039
|
+
staticRenderFns: __vue_staticRenderFns__$n
|
|
5040
|
+
}, __vue_inject_styles__$p, __vue_script__$p, __vue_scope_id__$p, __vue_is_functional_template__$p, __vue_module_identifier__$p, false, undefined, undefined, undefined);
|
|
5039
5041
|
|
|
5040
|
-
var DialogTrigger = __vue_component__$
|
|
5042
|
+
var DialogTrigger = __vue_component__$p;
|
|
5041
5043
|
|
|
5042
5044
|
//
|
|
5043
|
-
var script$
|
|
5045
|
+
var script$o = {
|
|
5044
5046
|
name: 'ui-field-trigger-popover',
|
|
5045
5047
|
mixins: [FieldMixin],
|
|
5046
5048
|
props: {
|
|
@@ -5089,10 +5091,10 @@ var script$m = {
|
|
|
5089
5091
|
};
|
|
5090
5092
|
|
|
5091
5093
|
/* script */
|
|
5092
|
-
const __vue_script__$
|
|
5094
|
+
const __vue_script__$o = script$o;
|
|
5093
5095
|
/* template */
|
|
5094
5096
|
|
|
5095
|
-
var __vue_render__$
|
|
5097
|
+
var __vue_render__$m = function () {
|
|
5096
5098
|
var _vm = this;
|
|
5097
5099
|
|
|
5098
5100
|
var _h = _vm.$createElement;
|
|
@@ -5137,10 +5139,10 @@ var __vue_render__$k = function () {
|
|
|
5137
5139
|
})], 2)], 2);
|
|
5138
5140
|
};
|
|
5139
5141
|
|
|
5140
|
-
var __vue_staticRenderFns__$
|
|
5142
|
+
var __vue_staticRenderFns__$m = [];
|
|
5141
5143
|
/* style */
|
|
5142
5144
|
|
|
5143
|
-
const __vue_inject_styles__$
|
|
5145
|
+
const __vue_inject_styles__$o = function (inject) {
|
|
5144
5146
|
if (!inject) return;
|
|
5145
5147
|
inject("data-v-17314b31_0", {
|
|
5146
5148
|
source: ".ui-field-trigger-popover[data-v-17314b31]{width:100%}",
|
|
@@ -5151,23 +5153,23 @@ const __vue_inject_styles__$m = function (inject) {
|
|
|
5151
5153
|
/* scoped */
|
|
5152
5154
|
|
|
5153
5155
|
|
|
5154
|
-
const __vue_scope_id__$
|
|
5156
|
+
const __vue_scope_id__$o = "data-v-17314b31";
|
|
5155
5157
|
/* module identifier */
|
|
5156
5158
|
|
|
5157
|
-
const __vue_module_identifier__$
|
|
5159
|
+
const __vue_module_identifier__$o = undefined;
|
|
5158
5160
|
/* functional template */
|
|
5159
5161
|
|
|
5160
|
-
const __vue_is_functional_template__$
|
|
5162
|
+
const __vue_is_functional_template__$o = false;
|
|
5161
5163
|
/* style inject SSR */
|
|
5162
5164
|
|
|
5163
5165
|
/* style inject shadow dom */
|
|
5164
5166
|
|
|
5165
|
-
const __vue_component__$
|
|
5166
|
-
render: __vue_render__$
|
|
5167
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
5168
|
-
}, __vue_inject_styles__$
|
|
5167
|
+
const __vue_component__$o = /*#__PURE__*/normalizeComponent({
|
|
5168
|
+
render: __vue_render__$m,
|
|
5169
|
+
staticRenderFns: __vue_staticRenderFns__$m
|
|
5170
|
+
}, __vue_inject_styles__$o, __vue_script__$o, __vue_scope_id__$o, __vue_is_functional_template__$o, __vue_module_identifier__$o, false, createInjector, undefined, undefined);
|
|
5169
5171
|
|
|
5170
|
-
var PopoverTrigger = __vue_component__$
|
|
5172
|
+
var PopoverTrigger = __vue_component__$o;
|
|
5171
5173
|
|
|
5172
5174
|
var TriggerField = {
|
|
5173
5175
|
name: 'ui-field-trigger',
|
|
@@ -5190,7 +5192,7 @@ var TriggerField = {
|
|
|
5190
5192
|
};
|
|
5191
5193
|
|
|
5192
5194
|
//
|
|
5193
|
-
var script$
|
|
5195
|
+
var script$n = {
|
|
5194
5196
|
name: 'ui-field-icons',
|
|
5195
5197
|
mixins: [FieldMixin],
|
|
5196
5198
|
components: {
|
|
@@ -5248,10 +5250,10 @@ var script$l = {
|
|
|
5248
5250
|
};
|
|
5249
5251
|
|
|
5250
5252
|
/* script */
|
|
5251
|
-
const __vue_script__$
|
|
5253
|
+
const __vue_script__$n = script$n;
|
|
5252
5254
|
/* template */
|
|
5253
5255
|
|
|
5254
|
-
var __vue_render__$
|
|
5256
|
+
var __vue_render__$l = function () {
|
|
5255
5257
|
var _vm = this;
|
|
5256
5258
|
|
|
5257
5259
|
var _h = _vm.$createElement;
|
|
@@ -5321,10 +5323,10 @@ var __vue_render__$j = function () {
|
|
|
5321
5323
|
}), 0)])], 1)]);
|
|
5322
5324
|
};
|
|
5323
5325
|
|
|
5324
|
-
var __vue_staticRenderFns__$
|
|
5326
|
+
var __vue_staticRenderFns__$l = [];
|
|
5325
5327
|
/* style */
|
|
5326
5328
|
|
|
5327
|
-
const __vue_inject_styles__$
|
|
5329
|
+
const __vue_inject_styles__$n = function (inject) {
|
|
5328
5330
|
if (!inject) return;
|
|
5329
5331
|
inject("data-v-12b8c18e_0", {
|
|
5330
5332
|
source: ".ui-field-icons .filter[data-v-12b8c18e]{margin-bottom:10px}.ui-field-icons .filter[data-v-12b8c18e] .el-input__validateIcon{display:none}.ui-field-icons .scroll[data-v-12b8c18e]{height:200px;overflow:auto}.ui-field-icons .icons[data-v-12b8c18e]{display:flex;flex-wrap:wrap}.ui-field-icons .icons .icon[data-v-12b8c18e]{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-12b8c18e]:hover{background:#eaeaea}.ui-field-icons .icons .icon.active[data-v-12b8c18e]{color:#409eff;box-shadow:inset 0 0 3px #666}.ui-field-icons .icons .icon .ui-icon[data-v-12b8c18e]{margin-right:4px}.ui-field-icons .icons .icon span[data-v-12b8c18e]{flex:1}",
|
|
@@ -5335,7 +5337,1061 @@ const __vue_inject_styles__$l = function (inject) {
|
|
|
5335
5337
|
/* scoped */
|
|
5336
5338
|
|
|
5337
5339
|
|
|
5338
|
-
const __vue_scope_id__$
|
|
5340
|
+
const __vue_scope_id__$n = "data-v-12b8c18e";
|
|
5341
|
+
/* module identifier */
|
|
5342
|
+
|
|
5343
|
+
const __vue_module_identifier__$n = undefined;
|
|
5344
|
+
/* functional template */
|
|
5345
|
+
|
|
5346
|
+
const __vue_is_functional_template__$n = false;
|
|
5347
|
+
/* style inject SSR */
|
|
5348
|
+
|
|
5349
|
+
/* style inject shadow dom */
|
|
5350
|
+
|
|
5351
|
+
const __vue_component__$n = /*#__PURE__*/normalizeComponent({
|
|
5352
|
+
render: __vue_render__$l,
|
|
5353
|
+
staticRenderFns: __vue_staticRenderFns__$l
|
|
5354
|
+
}, __vue_inject_styles__$n, __vue_script__$n, __vue_scope_id__$n, __vue_is_functional_template__$n, __vue_module_identifier__$n, false, createInjector, undefined, undefined);
|
|
5355
|
+
|
|
5356
|
+
var IconsField = __vue_component__$n;
|
|
5357
|
+
|
|
5358
|
+
const getAMap = function () {
|
|
5359
|
+
let plugins = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
5360
|
+
return AMapLoader.load({
|
|
5361
|
+
key: process.env.VUE_APP_AMAP_KEY,
|
|
5362
|
+
// eslint-disable-line
|
|
5363
|
+
version: '2.0',
|
|
5364
|
+
plugins: plugins
|
|
5365
|
+
});
|
|
5366
|
+
};
|
|
5367
|
+
|
|
5368
|
+
//
|
|
5369
|
+
const CoordTypes$1 = {
|
|
5370
|
+
bd09: gcoord.BD09,
|
|
5371
|
+
gcj02: gcoord.GCJ02,
|
|
5372
|
+
wgs84: gcoord.WGS84
|
|
5373
|
+
};
|
|
5374
|
+
var script$m = {
|
|
5375
|
+
name: 'ui-field-latlng',
|
|
5376
|
+
mixins: [FieldMixin],
|
|
5377
|
+
props: {
|
|
5378
|
+
coordType: {
|
|
5379
|
+
type: String,
|
|
5380
|
+
default: 'wgs84',
|
|
5381
|
+
validator: val => Object.keys(CoordTypes$1).includes(val)
|
|
5382
|
+
}
|
|
5383
|
+
},
|
|
5384
|
+
|
|
5385
|
+
data() {
|
|
5386
|
+
return {
|
|
5387
|
+
loading: true,
|
|
5388
|
+
keyword: ''
|
|
5389
|
+
};
|
|
5390
|
+
},
|
|
5391
|
+
|
|
5392
|
+
computed: {
|
|
5393
|
+
point() {
|
|
5394
|
+
if (!this.value) {
|
|
5395
|
+
return null;
|
|
5396
|
+
}
|
|
5397
|
+
|
|
5398
|
+
if (!this.isValidPoint(this.value)) {
|
|
5399
|
+
return null;
|
|
5400
|
+
}
|
|
5401
|
+
|
|
5402
|
+
const [lat, lng] = this.value.split(',');
|
|
5403
|
+
return {
|
|
5404
|
+
lat: +lat,
|
|
5405
|
+
lng: +lng
|
|
5406
|
+
};
|
|
5407
|
+
}
|
|
5408
|
+
|
|
5409
|
+
},
|
|
5410
|
+
watch: {
|
|
5411
|
+
point(p) {
|
|
5412
|
+
this.onPointChange(p);
|
|
5413
|
+
}
|
|
5414
|
+
|
|
5415
|
+
},
|
|
5416
|
+
methods: {
|
|
5417
|
+
init() {
|
|
5418
|
+
getAMap(['AMap.ToolBar', 'AMap.Geolocation', 'AMap.AutoComplete']).then(AMap => {
|
|
5419
|
+
this.initMap(AMap);
|
|
5420
|
+
this.loading = false;
|
|
5421
|
+
this.done();
|
|
5422
|
+
});
|
|
5423
|
+
},
|
|
5424
|
+
|
|
5425
|
+
initMap(AMap) {
|
|
5426
|
+
const map = new AMap.Map(this.$el.querySelector('.map'), {
|
|
5427
|
+
zoom: 11
|
|
5428
|
+
});
|
|
5429
|
+
map.addControl(new AMap.ToolBar({
|
|
5430
|
+
position: 'RT'
|
|
5431
|
+
}));
|
|
5432
|
+
map.addControl(new AMap.Geolocation({
|
|
5433
|
+
position: 'RB'
|
|
5434
|
+
}));
|
|
5435
|
+
const auto = new AMap.AutoComplete({
|
|
5436
|
+
input: this.$refs.input,
|
|
5437
|
+
output: this.$refs.output
|
|
5438
|
+
});
|
|
5439
|
+
map.on('click', this.onMapClick);
|
|
5440
|
+
auto.on('select', event => {
|
|
5441
|
+
if (!event.poi || !event.poi.location) {
|
|
5442
|
+
return;
|
|
5443
|
+
}
|
|
5444
|
+
|
|
5445
|
+
map.setZoomAndCenter(16, event.poi.location);
|
|
5446
|
+
});
|
|
5447
|
+
this.map = map;
|
|
5448
|
+
this.onPointChange(this.point);
|
|
5449
|
+
},
|
|
5450
|
+
|
|
5451
|
+
isValidPoint(val) {
|
|
5452
|
+
const [lat, lng] = val.split(',');
|
|
5453
|
+
return !(isNaN(+lat) || isNaN(+lng));
|
|
5454
|
+
},
|
|
5455
|
+
|
|
5456
|
+
onMapClick(_ref) {
|
|
5457
|
+
let {
|
|
5458
|
+
lnglat
|
|
5459
|
+
} = _ref;
|
|
5460
|
+
let {
|
|
5461
|
+
lat,
|
|
5462
|
+
lng
|
|
5463
|
+
} = lnglat; // 当前地图是 GCJ02 坐标系
|
|
5464
|
+
|
|
5465
|
+
if (this.coordType !== 'gcj02') {
|
|
5466
|
+
[lng, lat] = gcoord.transform([lng, lat], gcoord.GCJ02, CoordTypes$1[this.coordType]);
|
|
5467
|
+
lng = lng.toFixed(7) / 1;
|
|
5468
|
+
lat = lat.toFixed(7) / 1;
|
|
5469
|
+
}
|
|
5470
|
+
|
|
5471
|
+
this.onChange([lat, lng].join(','));
|
|
5472
|
+
},
|
|
5473
|
+
|
|
5474
|
+
onPointChange(point) {
|
|
5475
|
+
if (!this.map) {
|
|
5476
|
+
return;
|
|
5477
|
+
}
|
|
5478
|
+
|
|
5479
|
+
this.map.clearMap();
|
|
5480
|
+
|
|
5481
|
+
if (!point) {
|
|
5482
|
+
return;
|
|
5483
|
+
}
|
|
5484
|
+
|
|
5485
|
+
let {
|
|
5486
|
+
lng,
|
|
5487
|
+
lat
|
|
5488
|
+
} = point; // 当前地图是 GCJ02 坐标系
|
|
5489
|
+
|
|
5490
|
+
if (this.coordType !== 'gcj02') {
|
|
5491
|
+
[lng, lat] = gcoord.transform([lng, lat], CoordTypes$1[this.coordType], gcoord.GCJ02);
|
|
5492
|
+
} // eslint-disable-next-line no-undef
|
|
5493
|
+
|
|
5494
|
+
|
|
5495
|
+
const marker = new AMap.Marker({
|
|
5496
|
+
position: new AMap.LngLat(lng, lat)
|
|
5497
|
+
});
|
|
5498
|
+
this.map.add(marker);
|
|
5499
|
+
this.map.setCenter([lng, lat]);
|
|
5500
|
+
}
|
|
5501
|
+
|
|
5502
|
+
}
|
|
5503
|
+
};
|
|
5504
|
+
|
|
5505
|
+
/* script */
|
|
5506
|
+
const __vue_script__$m = script$m;
|
|
5507
|
+
/* template */
|
|
5508
|
+
|
|
5509
|
+
var __vue_render__$k = function () {
|
|
5510
|
+
var _vm = this;
|
|
5511
|
+
|
|
5512
|
+
var _h = _vm.$createElement;
|
|
5513
|
+
|
|
5514
|
+
var _c = _vm._self._c || _h;
|
|
5515
|
+
|
|
5516
|
+
return _c('div', {
|
|
5517
|
+
directives: [{
|
|
5518
|
+
name: "loading",
|
|
5519
|
+
rawName: "v-loading",
|
|
5520
|
+
value: _vm.loading,
|
|
5521
|
+
expression: "loading"
|
|
5522
|
+
}],
|
|
5523
|
+
staticClass: "ui-field-latlng"
|
|
5524
|
+
}, [_c('div', {
|
|
5525
|
+
staticClass: "map"
|
|
5526
|
+
}), _vm._v(" "), _c('div', {
|
|
5527
|
+
directives: [{
|
|
5528
|
+
name: "show",
|
|
5529
|
+
rawName: "v-show",
|
|
5530
|
+
value: !_vm.loading,
|
|
5531
|
+
expression: "!loading"
|
|
5532
|
+
}],
|
|
5533
|
+
staticClass: "info"
|
|
5534
|
+
}, [_c('div', {
|
|
5535
|
+
staticClass: "input-item searchbox"
|
|
5536
|
+
}, [_vm._m(0), _vm._v(" "), _c('input', {
|
|
5537
|
+
ref: "input",
|
|
5538
|
+
attrs: {
|
|
5539
|
+
"type": "text",
|
|
5540
|
+
"form": "__ignore__",
|
|
5541
|
+
"placeholder": "请输入..."
|
|
5542
|
+
}
|
|
5543
|
+
}), _vm._v(" "), _c('div', {
|
|
5544
|
+
ref: "output",
|
|
5545
|
+
staticClass: "search-result"
|
|
5546
|
+
})])])]);
|
|
5547
|
+
};
|
|
5548
|
+
|
|
5549
|
+
var __vue_staticRenderFns__$k = [function () {
|
|
5550
|
+
var _vm = this;
|
|
5551
|
+
|
|
5552
|
+
var _h = _vm.$createElement;
|
|
5553
|
+
|
|
5554
|
+
var _c = _vm._self._c || _h;
|
|
5555
|
+
|
|
5556
|
+
return _c('div', {
|
|
5557
|
+
staticClass: "input-item-prepend"
|
|
5558
|
+
}, [_c('span', {
|
|
5559
|
+
staticClass: "input-item-text"
|
|
5560
|
+
}, [_vm._v("搜索关键字")])]);
|
|
5561
|
+
}];
|
|
5562
|
+
/* style */
|
|
5563
|
+
|
|
5564
|
+
const __vue_inject_styles__$m = function (inject) {
|
|
5565
|
+
if (!inject) return;
|
|
5566
|
+
inject("data-v-69aba6ad_0", {
|
|
5567
|
+
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}",
|
|
5568
|
+
map: undefined,
|
|
5569
|
+
media: undefined
|
|
5570
|
+
});
|
|
5571
|
+
};
|
|
5572
|
+
/* scoped */
|
|
5573
|
+
|
|
5574
|
+
|
|
5575
|
+
const __vue_scope_id__$m = undefined;
|
|
5576
|
+
/* module identifier */
|
|
5577
|
+
|
|
5578
|
+
const __vue_module_identifier__$m = undefined;
|
|
5579
|
+
/* functional template */
|
|
5580
|
+
|
|
5581
|
+
const __vue_is_functional_template__$m = false;
|
|
5582
|
+
/* style inject SSR */
|
|
5583
|
+
|
|
5584
|
+
/* style inject shadow dom */
|
|
5585
|
+
|
|
5586
|
+
const __vue_component__$m = /*#__PURE__*/normalizeComponent({
|
|
5587
|
+
render: __vue_render__$k,
|
|
5588
|
+
staticRenderFns: __vue_staticRenderFns__$k
|
|
5589
|
+
}, __vue_inject_styles__$m, __vue_script__$m, __vue_scope_id__$m, __vue_is_functional_template__$m, __vue_module_identifier__$m, false, createInjector, undefined, undefined);
|
|
5590
|
+
|
|
5591
|
+
var LnglatField = __vue_component__$m;
|
|
5592
|
+
|
|
5593
|
+
//
|
|
5594
|
+
const CoordTypes = {
|
|
5595
|
+
bd09: gcoord.BD09,
|
|
5596
|
+
gcj02: gcoord.GCJ02,
|
|
5597
|
+
wgs84: gcoord.WGS84
|
|
5598
|
+
};
|
|
5599
|
+
const Types = {
|
|
5600
|
+
marker: 'AMap.Marker',
|
|
5601
|
+
polyline: 'Overlay.Polyline',
|
|
5602
|
+
circle: 'Overlay.Circle',
|
|
5603
|
+
polygon: 'Overlay.Polygon'
|
|
5604
|
+
};
|
|
5605
|
+
var script$l = {
|
|
5606
|
+
name: 'ui-field-fence',
|
|
5607
|
+
mixins: [FieldMixin],
|
|
5608
|
+
props: {
|
|
5609
|
+
/**
|
|
5610
|
+
* value:
|
|
5611
|
+
* {
|
|
5612
|
+
* markers: [[lng, lat], ...],
|
|
5613
|
+
* circles: [{center: [lng, lat], radius}, ...],
|
|
5614
|
+
* polylines: [[[lng,lat], ...], ...],
|
|
5615
|
+
* polygons: [[[lng,lat], ...], ...],
|
|
5616
|
+
* }
|
|
5617
|
+
*/
|
|
5618
|
+
coordType: {
|
|
5619
|
+
type: String,
|
|
5620
|
+
default: 'wgs84',
|
|
5621
|
+
validator: val => Object.keys(CoordTypes).includes(val)
|
|
5622
|
+
},
|
|
5623
|
+
|
|
5624
|
+
/**
|
|
5625
|
+
* 'marker,polyline,circle,polygon'
|
|
5626
|
+
*/
|
|
5627
|
+
tools: {
|
|
5628
|
+
type: String,
|
|
5629
|
+
default: 'marker,polyline,circle,polygon'
|
|
5630
|
+
},
|
|
5631
|
+
help: {
|
|
5632
|
+
type: Boolean,
|
|
5633
|
+
default: true
|
|
5634
|
+
},
|
|
5635
|
+
clear: {
|
|
5636
|
+
type: Boolean,
|
|
5637
|
+
default: true
|
|
5638
|
+
},
|
|
5639
|
+
multiple: {
|
|
5640
|
+
type: Boolean,
|
|
5641
|
+
default: false
|
|
5642
|
+
},
|
|
5643
|
+
|
|
5644
|
+
/**
|
|
5645
|
+
* 0:表示无限制
|
|
5646
|
+
*/
|
|
5647
|
+
limit: {
|
|
5648
|
+
type: Number,
|
|
5649
|
+
default: 0
|
|
5650
|
+
},
|
|
5651
|
+
|
|
5652
|
+
/**
|
|
5653
|
+
* 地图缩放
|
|
5654
|
+
* 缩放范围 2~20
|
|
5655
|
+
*/
|
|
5656
|
+
zoom: {
|
|
5657
|
+
type: Number,
|
|
5658
|
+
default: 15,
|
|
5659
|
+
validator: val => 2 <= val && val <= 20
|
|
5660
|
+
},
|
|
5661
|
+
|
|
5662
|
+
/**
|
|
5663
|
+
* 中心点
|
|
5664
|
+
* 'lng,lat' 字符串
|
|
5665
|
+
*/
|
|
5666
|
+
center: String,
|
|
5667
|
+
disabled: Boolean
|
|
5668
|
+
},
|
|
5669
|
+
|
|
5670
|
+
data() {
|
|
5671
|
+
return {
|
|
5672
|
+
loading: true,
|
|
5673
|
+
keyword: '',
|
|
5674
|
+
drawing: false
|
|
5675
|
+
};
|
|
5676
|
+
},
|
|
5677
|
+
|
|
5678
|
+
computed: {
|
|
5679
|
+
toolList() {
|
|
5680
|
+
return (this.tools || '').split(',').filter(tool => Object.keys(Types).includes(tool));
|
|
5681
|
+
},
|
|
5682
|
+
|
|
5683
|
+
realLimit() {
|
|
5684
|
+
if (this.multiple) {
|
|
5685
|
+
return this.limit;
|
|
5686
|
+
}
|
|
5687
|
+
|
|
5688
|
+
return 1;
|
|
5689
|
+
},
|
|
5690
|
+
|
|
5691
|
+
isCurrentCoord() {
|
|
5692
|
+
return this.coordType === 'gcj02';
|
|
5693
|
+
},
|
|
5694
|
+
|
|
5695
|
+
toolsVisible(_ref) {
|
|
5696
|
+
let {
|
|
5697
|
+
disabled,
|
|
5698
|
+
loading
|
|
5699
|
+
} = _ref;
|
|
5700
|
+
return !disabled && !loading;
|
|
5701
|
+
}
|
|
5702
|
+
|
|
5703
|
+
},
|
|
5704
|
+
watch: {
|
|
5705
|
+
value: {
|
|
5706
|
+
immediate: true,
|
|
5707
|
+
handler: 'onValueChange'
|
|
5708
|
+
},
|
|
5709
|
+
zoom: 'setMapZoom',
|
|
5710
|
+
center: 'setMapCenter',
|
|
5711
|
+
|
|
5712
|
+
toolsVisible(visible) {
|
|
5713
|
+
if (visible) {
|
|
5714
|
+
var _this$toolbarControl, _this$geolocationCont;
|
|
5715
|
+
|
|
5716
|
+
(_this$toolbarControl = this.toolbarControl) === null || _this$toolbarControl === void 0 ? void 0 : _this$toolbarControl.show();
|
|
5717
|
+
(_this$geolocationCont = this.geolocationControl) === null || _this$geolocationCont === void 0 ? void 0 : _this$geolocationCont.show();
|
|
5718
|
+
} else {
|
|
5719
|
+
var _this$mouseTool, _this$toolbarControl2, _this$geolocationCont2;
|
|
5720
|
+
|
|
5721
|
+
(_this$mouseTool = this.mouseTool) === null || _this$mouseTool === void 0 ? void 0 : _this$mouseTool.close();
|
|
5722
|
+
(_this$toolbarControl2 = this.toolbarControl) === null || _this$toolbarControl2 === void 0 ? void 0 : _this$toolbarControl2.hide();
|
|
5723
|
+
(_this$geolocationCont2 = this.geolocationControl) === null || _this$geolocationCont2 === void 0 ? void 0 : _this$geolocationCont2.hide();
|
|
5724
|
+
}
|
|
5725
|
+
}
|
|
5726
|
+
|
|
5727
|
+
},
|
|
5728
|
+
|
|
5729
|
+
created() {
|
|
5730
|
+
this.graph = {
|
|
5731
|
+
polylines: [],
|
|
5732
|
+
markers: [],
|
|
5733
|
+
circles: [],
|
|
5734
|
+
polygons: []
|
|
5735
|
+
};
|
|
5736
|
+
this.editor = {};
|
|
5737
|
+
},
|
|
5738
|
+
|
|
5739
|
+
methods: {
|
|
5740
|
+
init() {
|
|
5741
|
+
getAMap(['AMap.ToolBar', 'AMap.Geolocation', 'AMap.AutoComplete', 'AMap.MouseTool', 'AMap.PolygonEditor', 'AMap.PolylineEditor', 'AMap.CircleEditor']).then(AMap => {
|
|
5742
|
+
this.initMap(AMap);
|
|
5743
|
+
this.loading = false;
|
|
5744
|
+
this.done();
|
|
5745
|
+
});
|
|
5746
|
+
},
|
|
5747
|
+
|
|
5748
|
+
initMap(AMap) {
|
|
5749
|
+
this.AMap = AMap;
|
|
5750
|
+
this.map = new AMap.Map(this.$el.querySelector('.map'), {
|
|
5751
|
+
zoom: this.zoom,
|
|
5752
|
+
isHotspot: false
|
|
5753
|
+
});
|
|
5754
|
+
this.initMapControl(this.map);
|
|
5755
|
+
this.initMapAutoComplete(this.map);
|
|
5756
|
+
this.contextMenu = this.initMapContextMenu(this.map);
|
|
5757
|
+
this.mouseTool = this.initMapMouseTool(this.map); // 根据value初始化地图上图形
|
|
5758
|
+
|
|
5759
|
+
this.onValueChange(this.value); // 初始化地图中心点
|
|
5760
|
+
|
|
5761
|
+
this.setMapCenter();
|
|
5762
|
+
},
|
|
5763
|
+
|
|
5764
|
+
initMapControl(map) {
|
|
5765
|
+
this.toolbarControl = new this.AMap.ToolBar({
|
|
5766
|
+
position: 'RT'
|
|
5767
|
+
});
|
|
5768
|
+
this.geolocationControl = new this.AMap.Geolocation({
|
|
5769
|
+
position: 'RB'
|
|
5770
|
+
});
|
|
5771
|
+
map.addControl(this.toolbarControl);
|
|
5772
|
+
map.addControl(this.geolocationControl);
|
|
5773
|
+
|
|
5774
|
+
if (!this.toolsVisible) {
|
|
5775
|
+
this.toolbarControl.hide();
|
|
5776
|
+
this.geolocationControl.hide();
|
|
5777
|
+
}
|
|
5778
|
+
},
|
|
5779
|
+
|
|
5780
|
+
initMapAutoComplete(map) {
|
|
5781
|
+
const auto = new this.AMap.AutoComplete({
|
|
5782
|
+
input: this.$refs.input,
|
|
5783
|
+
output: this.$refs.output
|
|
5784
|
+
});
|
|
5785
|
+
auto.on('select', event => {
|
|
5786
|
+
if (!event.poi || !event.poi.location) {
|
|
5787
|
+
return;
|
|
5788
|
+
}
|
|
5789
|
+
|
|
5790
|
+
map.setZoomAndCenter(16, event.poi.location);
|
|
5791
|
+
});
|
|
5792
|
+
return auto;
|
|
5793
|
+
},
|
|
5794
|
+
|
|
5795
|
+
initMapContextMenu() {
|
|
5796
|
+
const contextMenu = new this.AMap.ContextMenu();
|
|
5797
|
+
contextMenu.addItem('删除', () => {
|
|
5798
|
+
const removeObj = this.contextMenuTarget;
|
|
5799
|
+
this.removeGraph(removeObj);
|
|
5800
|
+
removeObj.setMap(null);
|
|
5801
|
+
this.contextMenuTarget = null; // 点击右键菜单子的某一项不会触发 contextMenu 的 close 事件
|
|
5802
|
+
});
|
|
5803
|
+
contextMenu.on('close', () => {
|
|
5804
|
+
this.contextMenuTarget = null;
|
|
5805
|
+
});
|
|
5806
|
+
return contextMenu;
|
|
5807
|
+
},
|
|
5808
|
+
|
|
5809
|
+
initMapMouseTool(map) {
|
|
5810
|
+
const mouseTool = new this.AMap.MouseTool(map);
|
|
5811
|
+
mouseTool.on('draw', event => {
|
|
5812
|
+
mouseTool.close();
|
|
5813
|
+
this.drawing = false;
|
|
5814
|
+
const obj = event.obj;
|
|
5815
|
+
const isAdded = this.addGraph(obj);
|
|
5816
|
+
|
|
5817
|
+
if (!isAdded) {
|
|
5818
|
+
map.remove(obj);
|
|
5819
|
+
return;
|
|
5820
|
+
}
|
|
5821
|
+
|
|
5822
|
+
this.initGraphEvent(obj);
|
|
5823
|
+
this.onGraphChange();
|
|
5824
|
+
});
|
|
5825
|
+
return mouseTool;
|
|
5826
|
+
},
|
|
5827
|
+
|
|
5828
|
+
setMapZoom() {
|
|
5829
|
+
if (!this.zoom || !this.map) {
|
|
5830
|
+
return;
|
|
5831
|
+
}
|
|
5832
|
+
|
|
5833
|
+
this.map.setZoom(this.zoom);
|
|
5834
|
+
},
|
|
5835
|
+
|
|
5836
|
+
setMapCenter() {
|
|
5837
|
+
if (!this.center || !this.map) {
|
|
5838
|
+
return;
|
|
5839
|
+
}
|
|
5840
|
+
|
|
5841
|
+
const [lng, lat] = this.center.split(',');
|
|
5842
|
+
|
|
5843
|
+
if (!lng || !lat) {
|
|
5844
|
+
return;
|
|
5845
|
+
}
|
|
5846
|
+
|
|
5847
|
+
this.map.setCenter([+lng, +lat]);
|
|
5848
|
+
this.setMapZoom();
|
|
5849
|
+
},
|
|
5850
|
+
|
|
5851
|
+
getToolClass(tool) {
|
|
5852
|
+
if (this.realLimit <= 0 || !this.multiple) {
|
|
5853
|
+
return tool;
|
|
5854
|
+
}
|
|
5855
|
+
|
|
5856
|
+
const {
|
|
5857
|
+
markers,
|
|
5858
|
+
circles,
|
|
5859
|
+
polylines,
|
|
5860
|
+
polygons
|
|
5861
|
+
} = this.value || {};
|
|
5862
|
+
let length = 0;
|
|
5863
|
+
|
|
5864
|
+
if (tool === 'marker') {
|
|
5865
|
+
length = (markers || []).length;
|
|
5866
|
+
} else if (tool === 'circle') {
|
|
5867
|
+
length = (circles || []).length;
|
|
5868
|
+
} else if (tool === 'polyline') {
|
|
5869
|
+
length = (polylines || []).length;
|
|
5870
|
+
} else if (tool === 'polygon') {
|
|
5871
|
+
length = (polygons || []).length;
|
|
5872
|
+
}
|
|
5873
|
+
|
|
5874
|
+
if (length >= this.realLimit) {
|
|
5875
|
+
return tool + ' disabled';
|
|
5876
|
+
}
|
|
5877
|
+
|
|
5878
|
+
return tool;
|
|
5879
|
+
},
|
|
5880
|
+
|
|
5881
|
+
onValueChange(value) {
|
|
5882
|
+
if (!this.map) {
|
|
5883
|
+
return;
|
|
5884
|
+
}
|
|
5885
|
+
|
|
5886
|
+
const {
|
|
5887
|
+
markers,
|
|
5888
|
+
circles,
|
|
5889
|
+
polylines,
|
|
5890
|
+
polygons
|
|
5891
|
+
} = value || {};
|
|
5892
|
+
const removedMarkers = this.graph.markers.slice((markers || []).length);
|
|
5893
|
+
const removedCircles = this.graph.circles.slice((circles || []).length);
|
|
5894
|
+
const removedPolylines = this.graph.polylines.slice((polylines || []).length);
|
|
5895
|
+
const removedPolygons = this.graph.polygons.slice((polygons || []).length);
|
|
5896
|
+
[...removedMarkers, ...removedCircles, ...removedPolylines, ...removedPolygons].forEach(item => item.setMap(null));
|
|
5897
|
+
(markers || []).forEach((markerData, index) => {
|
|
5898
|
+
let mapMarker = this.graph.markers[index];
|
|
5899
|
+
const lngLatData = this.getMapLngLatData(markers[index]);
|
|
5900
|
+
const position = new this.AMap.LngLat(lngLatData[0], lngLatData[1]);
|
|
5901
|
+
|
|
5902
|
+
if (!mapMarker) {
|
|
5903
|
+
mapMarker = new this.AMap.Marker({
|
|
5904
|
+
map: this.map,
|
|
5905
|
+
position: position
|
|
5906
|
+
});
|
|
5907
|
+
this.addGraph(mapMarker);
|
|
5908
|
+
this.initGraphEvent(mapMarker);
|
|
5909
|
+
} else {
|
|
5910
|
+
mapMarker.setPosition(position);
|
|
5911
|
+
}
|
|
5912
|
+
});
|
|
5913
|
+
(circles || []).forEach((circleData, index) => {
|
|
5914
|
+
let mapCircle = this.graph.circles[index];
|
|
5915
|
+
const lngLatData = this.getMapLngLatData(circleData.center);
|
|
5916
|
+
const lngLat = new this.AMap.LngLat(lngLatData[0], lngLatData[1]);
|
|
5917
|
+
|
|
5918
|
+
if (!mapCircle) {
|
|
5919
|
+
mapCircle = new this.AMap.Circle({
|
|
5920
|
+
map: this.map,
|
|
5921
|
+
center: lngLat,
|
|
5922
|
+
radius: circleData.radius
|
|
5923
|
+
});
|
|
5924
|
+
this.map.add(mapCircle);
|
|
5925
|
+
this.addGraph(mapCircle);
|
|
5926
|
+
this.initGraphEvent(mapCircle);
|
|
5927
|
+
} else {
|
|
5928
|
+
mapCircle.setCenter(lngLat);
|
|
5929
|
+
mapCircle.setRadius(circleData.radius);
|
|
5930
|
+
}
|
|
5931
|
+
});
|
|
5932
|
+
(polylines || []).forEach((polylineData, index) => {
|
|
5933
|
+
let mapPolyline = this.graph.polylines[index];
|
|
5934
|
+
const path = polylineData.map(item => this.getMapLngLatData(item)).map(item => new this.AMap.LngLat(item[0], item[1]));
|
|
5935
|
+
|
|
5936
|
+
if (!mapPolyline) {
|
|
5937
|
+
mapPolyline = new this.AMap.Polyline({
|
|
5938
|
+
path: path
|
|
5939
|
+
});
|
|
5940
|
+
this.map.add(mapPolyline);
|
|
5941
|
+
this.addGraph(mapPolyline);
|
|
5942
|
+
this.initGraphEvent(mapPolyline);
|
|
5943
|
+
} else {
|
|
5944
|
+
mapPolyline.setPath(path);
|
|
5945
|
+
}
|
|
5946
|
+
});
|
|
5947
|
+
(polygons || []).forEach((polygonData, index) => {
|
|
5948
|
+
let mapPolygon = this.graph.polygons[index];
|
|
5949
|
+
const path = polygonData.map(item => this.getMapLngLatData(item)).map(item => new this.AMap.LngLat(item[0], item[1]));
|
|
5950
|
+
|
|
5951
|
+
if (!mapPolygon) {
|
|
5952
|
+
mapPolygon = new this.AMap.Polygon({
|
|
5953
|
+
path
|
|
5954
|
+
});
|
|
5955
|
+
this.map.add(mapPolygon);
|
|
5956
|
+
this.addGraph(mapPolygon);
|
|
5957
|
+
this.initGraphEvent(mapPolygon);
|
|
5958
|
+
} else {
|
|
5959
|
+
mapPolygon.setPath(path);
|
|
5960
|
+
}
|
|
5961
|
+
});
|
|
5962
|
+
this.map.setFitView();
|
|
5963
|
+
},
|
|
5964
|
+
|
|
5965
|
+
onGraphChange() {
|
|
5966
|
+
const {
|
|
5967
|
+
markers,
|
|
5968
|
+
circles,
|
|
5969
|
+
polylines,
|
|
5970
|
+
polygons
|
|
5971
|
+
} = this.graph;
|
|
5972
|
+
const value = {
|
|
5973
|
+
markers: this.getMarkerValue(markers),
|
|
5974
|
+
circles: this.getCircleValue(circles),
|
|
5975
|
+
polylines: this.getPolylineValue(polylines),
|
|
5976
|
+
polygons: this.getPolygonValue(polygons)
|
|
5977
|
+
};
|
|
5978
|
+
const count = Object.values(value).reduce((total, item) => total + item.length, 0);
|
|
5979
|
+
|
|
5980
|
+
if (count <= 0) {
|
|
5981
|
+
// required 效果
|
|
5982
|
+
this.onChange();
|
|
5983
|
+
return;
|
|
5984
|
+
}
|
|
5985
|
+
|
|
5986
|
+
this.onChange(Object.freeze(value));
|
|
5987
|
+
},
|
|
5988
|
+
|
|
5989
|
+
onEditorChange() {
|
|
5990
|
+
if (this.drawing) {
|
|
5991
|
+
return;
|
|
5992
|
+
}
|
|
5993
|
+
|
|
5994
|
+
this.onGraphChange();
|
|
5995
|
+
},
|
|
5996
|
+
|
|
5997
|
+
// onEditorAdd(obj) {
|
|
5998
|
+
// this.initGraphEvent(obj);
|
|
5999
|
+
// this.addGraph(obj);
|
|
6000
|
+
// this.drawing = false;
|
|
6001
|
+
// },
|
|
6002
|
+
// 使用 mouseTool 方式添加图形. editor方式添加的图形有bug(PolylineEditor 添加的初始线段无法响应click和rightclick事件)
|
|
6003
|
+
draw(type) {
|
|
6004
|
+
this.closeEditors();
|
|
6005
|
+
|
|
6006
|
+
if (type === 'marker') {
|
|
6007
|
+
this.drawMarker();
|
|
6008
|
+
} else if (type === 'circle') {
|
|
6009
|
+
this.drawCircle();
|
|
6010
|
+
} else if (type === 'polyline') {
|
|
6011
|
+
this.drawPolyline();
|
|
6012
|
+
} else if (type === 'polygon') {
|
|
6013
|
+
this.drawPolygon();
|
|
6014
|
+
}
|
|
6015
|
+
|
|
6016
|
+
this.drawing = true;
|
|
6017
|
+
},
|
|
6018
|
+
|
|
6019
|
+
drawMarker() {
|
|
6020
|
+
this.mouseTool.marker();
|
|
6021
|
+
},
|
|
6022
|
+
|
|
6023
|
+
drawCircle() {
|
|
6024
|
+
this.mouseTool.circle();
|
|
6025
|
+
},
|
|
6026
|
+
|
|
6027
|
+
drawPolyline() {
|
|
6028
|
+
this.mouseTool.polyline();
|
|
6029
|
+
},
|
|
6030
|
+
|
|
6031
|
+
drawPolygon() {
|
|
6032
|
+
this.mouseTool.polygon();
|
|
6033
|
+
},
|
|
6034
|
+
|
|
6035
|
+
initGraphEvent(graph) {
|
|
6036
|
+
graph.on('rightclick', e => {
|
|
6037
|
+
const editor = this.getEditor(graph.className);
|
|
6038
|
+
|
|
6039
|
+
if (editor && editor.getTarget() === graph) {
|
|
6040
|
+
this.closeEditor(editor);
|
|
6041
|
+
}
|
|
6042
|
+
|
|
6043
|
+
this.contextMenuTarget = graph;
|
|
6044
|
+
this.contextMenu.open(this.map, e.lnglat);
|
|
6045
|
+
});
|
|
6046
|
+
const editors = ['Overlay.Polyline', 'Overlay.Circle', 'Overlay.Polygon'];
|
|
6047
|
+
|
|
6048
|
+
if (!editors.includes(graph.className)) {
|
|
6049
|
+
return;
|
|
6050
|
+
}
|
|
6051
|
+
|
|
6052
|
+
graph.on('click', () => {
|
|
6053
|
+
const editor = this.getEditor(graph.className);
|
|
6054
|
+
const target = editor.getTarget();
|
|
6055
|
+
|
|
6056
|
+
if (target && target === graph) {
|
|
6057
|
+
this.closeEditor(editor);
|
|
6058
|
+
return;
|
|
6059
|
+
}
|
|
6060
|
+
|
|
6061
|
+
this.closeEditors();
|
|
6062
|
+
editor.setTarget(graph);
|
|
6063
|
+
editor.open();
|
|
6064
|
+
});
|
|
6065
|
+
},
|
|
6066
|
+
|
|
6067
|
+
removeGraph(graph) {
|
|
6068
|
+
const extData = graph.getExtData();
|
|
6069
|
+
const {
|
|
6070
|
+
index
|
|
6071
|
+
} = extData || {};
|
|
6072
|
+
let list;
|
|
6073
|
+
|
|
6074
|
+
if (graph.className === 'AMap.Marker') {
|
|
6075
|
+
list = this.graph.markers;
|
|
6076
|
+
} else if (graph.className === 'Overlay.Circle') {
|
|
6077
|
+
list = this.graph.circles;
|
|
6078
|
+
} else if (graph.className === 'Overlay.Polyline') {
|
|
6079
|
+
list = this.graph.polylines;
|
|
6080
|
+
} else if (graph.className === 'Overlay.Polygon') {
|
|
6081
|
+
list = this.graph.polygons;
|
|
6082
|
+
} else {
|
|
6083
|
+
list = [];
|
|
6084
|
+
}
|
|
6085
|
+
|
|
6086
|
+
list.splice(index, 1);
|
|
6087
|
+
this.onGraphChange();
|
|
6088
|
+
},
|
|
6089
|
+
|
|
6090
|
+
addGraph(graph) {
|
|
6091
|
+
if (graph.className === 'Overlay.Polyline') {
|
|
6092
|
+
return this.addPolyline(graph);
|
|
6093
|
+
} else if (graph.className === 'AMap.Marker') {
|
|
6094
|
+
return this.addMarker(graph);
|
|
6095
|
+
} else if (graph.className === 'Overlay.Circle') {
|
|
6096
|
+
return this.addCircle(graph);
|
|
6097
|
+
} else if (graph.className === 'Overlay.Polygon') {
|
|
6098
|
+
return this.addPolygon(graph);
|
|
6099
|
+
}
|
|
6100
|
+
},
|
|
6101
|
+
|
|
6102
|
+
addMarker(marker) {
|
|
6103
|
+
if (!this.multiple) {
|
|
6104
|
+
this.graph.markers.forEach(item => item.setMap(null));
|
|
6105
|
+
this.graph.markers.length = 0;
|
|
6106
|
+
}
|
|
6107
|
+
|
|
6108
|
+
const index = this.graph.markers.length;
|
|
6109
|
+
marker.setExtData({
|
|
6110
|
+
index
|
|
6111
|
+
});
|
|
6112
|
+
this.graph.markers.push(marker);
|
|
6113
|
+
return true;
|
|
6114
|
+
},
|
|
6115
|
+
|
|
6116
|
+
addCircle(circle) {
|
|
6117
|
+
if (circle.getRadius() <= 0) {
|
|
6118
|
+
return false;
|
|
6119
|
+
}
|
|
6120
|
+
|
|
6121
|
+
if (!this.multiple) {
|
|
6122
|
+
this.graph.circles.forEach(item => item.setMap(null));
|
|
6123
|
+
this.graph.circles.length = 0;
|
|
6124
|
+
}
|
|
6125
|
+
|
|
6126
|
+
const index = this.graph.circles.length;
|
|
6127
|
+
circle.setExtData({
|
|
6128
|
+
index
|
|
6129
|
+
});
|
|
6130
|
+
this.graph.circles.push(circle);
|
|
6131
|
+
return true;
|
|
6132
|
+
},
|
|
6133
|
+
|
|
6134
|
+
addPolyline(polyline) {
|
|
6135
|
+
if (polyline.getLength() <= 0) {
|
|
6136
|
+
return false;
|
|
6137
|
+
}
|
|
6138
|
+
|
|
6139
|
+
if (!this.multiple) {
|
|
6140
|
+
this.graph.polylines.forEach(item => item.setMap(null));
|
|
6141
|
+
this.graph.polylines.length = 0;
|
|
6142
|
+
}
|
|
6143
|
+
|
|
6144
|
+
const index = this.graph.polylines.length;
|
|
6145
|
+
polyline.setExtData({
|
|
6146
|
+
index
|
|
6147
|
+
});
|
|
6148
|
+
this.graph.polylines.push(polyline);
|
|
6149
|
+
return true;
|
|
6150
|
+
},
|
|
6151
|
+
|
|
6152
|
+
addPolygon(polygon) {
|
|
6153
|
+
if (polygon.getArea() <= 0) {
|
|
6154
|
+
this.$message.info('绘制多边形时请至少绘制3个点');
|
|
6155
|
+
return false;
|
|
6156
|
+
}
|
|
6157
|
+
|
|
6158
|
+
if (!this.multiple) {
|
|
6159
|
+
this.graph.polygons.forEach(item => item.setMap(null));
|
|
6160
|
+
this.graph.polygons.length = 0;
|
|
6161
|
+
}
|
|
6162
|
+
|
|
6163
|
+
const index = this.graph.polygons.length;
|
|
6164
|
+
polygon.setExtData({
|
|
6165
|
+
index
|
|
6166
|
+
});
|
|
6167
|
+
this.graph.polygons.push(polygon);
|
|
6168
|
+
return true;
|
|
6169
|
+
},
|
|
6170
|
+
|
|
6171
|
+
getEditor(type) {
|
|
6172
|
+
if (type === 'Overlay.Circle') {
|
|
6173
|
+
return this.editor.circle || this.initCircleEditor();
|
|
6174
|
+
} else if (type === 'Overlay.Polyline') {
|
|
6175
|
+
return this.editor.polyline || this.initPolylineEditor();
|
|
6176
|
+
} else if (type === 'Overlay.Polygon') {
|
|
6177
|
+
return this.editor.polygon || this.initPolygonEditor();
|
|
6178
|
+
}
|
|
6179
|
+
},
|
|
6180
|
+
|
|
6181
|
+
initCircleEditor() {
|
|
6182
|
+
const circleEditor = new this.AMap.CircleEditor(this.map);
|
|
6183
|
+
this.editor.circle = circleEditor;
|
|
6184
|
+
this.initEditorEvent(circleEditor);
|
|
6185
|
+
return circleEditor;
|
|
6186
|
+
},
|
|
6187
|
+
|
|
6188
|
+
initPolylineEditor() {
|
|
6189
|
+
const polylineEditor = new this.AMap.PolylineEditor(this.map);
|
|
6190
|
+
this.editor.polyline = polylineEditor;
|
|
6191
|
+
this.initEditorEvent(polylineEditor);
|
|
6192
|
+
return polylineEditor;
|
|
6193
|
+
},
|
|
6194
|
+
|
|
6195
|
+
initPolygonEditor() {
|
|
6196
|
+
const polygonEditor = new this.AMap.PolygonEditor(this.map);
|
|
6197
|
+
this.editor.polygon = polygonEditor;
|
|
6198
|
+
this.initEditorEvent(polygonEditor);
|
|
6199
|
+
return polygonEditor;
|
|
6200
|
+
},
|
|
6201
|
+
|
|
6202
|
+
initEditorEvent(editor) {
|
|
6203
|
+
editor.on('addnode', () => this.onEditorChange());
|
|
6204
|
+
editor.on('adjust', () => this.onEditorChange());
|
|
6205
|
+
editor.on('move', () => this.onEditorChange()); // editor.on('add', (event) => this.onEditorAdd(event.target));
|
|
6206
|
+
},
|
|
6207
|
+
|
|
6208
|
+
closeEditor(editor) {
|
|
6209
|
+
editor.setTarget();
|
|
6210
|
+
editor.close();
|
|
6211
|
+
},
|
|
6212
|
+
|
|
6213
|
+
closeEditors() {
|
|
6214
|
+
Object.values(this.editor).forEach(editor => this.closeEditor(editor));
|
|
6215
|
+
},
|
|
6216
|
+
|
|
6217
|
+
getMapLngLatData(point) {
|
|
6218
|
+
let [lng, lat] = point;
|
|
6219
|
+
|
|
6220
|
+
if (!this.isCurrentCoord) {
|
|
6221
|
+
[lng, lat] = gcoord.transform([lng, lat], CoordTypes[this.coordType], gcoord.GCJ02);
|
|
6222
|
+
}
|
|
6223
|
+
|
|
6224
|
+
return [lng, lat];
|
|
6225
|
+
},
|
|
6226
|
+
|
|
6227
|
+
getPoint(lngLat) {
|
|
6228
|
+
let [lng, lat] = lngLat;
|
|
6229
|
+
|
|
6230
|
+
if (!this.isCurrentCoord) {
|
|
6231
|
+
[lng, lat] = gcoord.transform([lng, lat], gcoord.GCJ02, CoordTypes[this.coordType]);
|
|
6232
|
+
lng = lng.toFixed(7) / 1;
|
|
6233
|
+
lat = lat.toFixed(7) / 1;
|
|
6234
|
+
}
|
|
6235
|
+
|
|
6236
|
+
return [lng, lat];
|
|
6237
|
+
},
|
|
6238
|
+
|
|
6239
|
+
getMarkerValue(markers) {
|
|
6240
|
+
return (markers || []).map(marker => {
|
|
6241
|
+
const lngLat = marker.getPosition();
|
|
6242
|
+
return this.getPoint([lngLat.getLng(), lngLat.getLat()]);
|
|
6243
|
+
});
|
|
6244
|
+
},
|
|
6245
|
+
|
|
6246
|
+
getCircleValue(circles) {
|
|
6247
|
+
return (circles || []).map(circle => {
|
|
6248
|
+
const radius = circle.getRadius();
|
|
6249
|
+
const lngLat = circle.getCenter();
|
|
6250
|
+
return {
|
|
6251
|
+
center: this.getPoint([lngLat.getLng(), lngLat.getLat()]),
|
|
6252
|
+
radius
|
|
6253
|
+
};
|
|
6254
|
+
});
|
|
6255
|
+
},
|
|
6256
|
+
|
|
6257
|
+
getPolylineValue(polylines) {
|
|
6258
|
+
return (polylines || []).map(polyline => {
|
|
6259
|
+
const path = polyline.getPath();
|
|
6260
|
+
return path.map(item => this.getPoint([item.getLng(), item.getLat()]));
|
|
6261
|
+
});
|
|
6262
|
+
},
|
|
6263
|
+
|
|
6264
|
+
getPolygonValue(polygons) {
|
|
6265
|
+
return (polygons || []).map(polygon => {
|
|
6266
|
+
const path = polygon.getPath();
|
|
6267
|
+
return path.map(item => this.getPoint([item.getLng(), item.getLat()]));
|
|
6268
|
+
});
|
|
6269
|
+
},
|
|
6270
|
+
|
|
6271
|
+
async handleClear() {
|
|
6272
|
+
const [, confirm] = await to(this.$confirm('确认清空地图上所有的图形?', '提示', {
|
|
6273
|
+
type: 'warning'
|
|
6274
|
+
}));
|
|
6275
|
+
|
|
6276
|
+
if (!confirm) {
|
|
6277
|
+
return;
|
|
6278
|
+
}
|
|
6279
|
+
|
|
6280
|
+
this.closeEditors();
|
|
6281
|
+
this.contextMenu.close();
|
|
6282
|
+
Object.values(this.graph).forEach(items => items.forEach(item => item.setMap(null)));
|
|
6283
|
+
this.graph = {
|
|
6284
|
+
polylines: [],
|
|
6285
|
+
markers: [],
|
|
6286
|
+
circles: [],
|
|
6287
|
+
polygons: []
|
|
6288
|
+
};
|
|
6289
|
+
this.onGraphChange();
|
|
6290
|
+
}
|
|
6291
|
+
|
|
6292
|
+
}
|
|
6293
|
+
};
|
|
6294
|
+
|
|
6295
|
+
/* script */
|
|
6296
|
+
const __vue_script__$l = script$l;
|
|
6297
|
+
/* template */
|
|
6298
|
+
|
|
6299
|
+
var __vue_render__$j = function () {
|
|
6300
|
+
var _vm = this;
|
|
6301
|
+
|
|
6302
|
+
var _h = _vm.$createElement;
|
|
6303
|
+
|
|
6304
|
+
var _c = _vm._self._c || _h;
|
|
6305
|
+
|
|
6306
|
+
return _c('div', {
|
|
6307
|
+
directives: [{
|
|
6308
|
+
name: "loading",
|
|
6309
|
+
rawName: "v-loading",
|
|
6310
|
+
value: _vm.loading,
|
|
6311
|
+
expression: "loading"
|
|
6312
|
+
}],
|
|
6313
|
+
staticClass: "ui-field-fence"
|
|
6314
|
+
}, [_c('div', {
|
|
6315
|
+
staticClass: "map"
|
|
6316
|
+
}), _vm._v(" "), _c('div', {
|
|
6317
|
+
directives: [{
|
|
6318
|
+
name: "show",
|
|
6319
|
+
rawName: "v-show",
|
|
6320
|
+
value: _vm.toolsVisible,
|
|
6321
|
+
expression: "toolsVisible"
|
|
6322
|
+
}],
|
|
6323
|
+
staticClass: "info"
|
|
6324
|
+
}, [_c('div', {
|
|
6325
|
+
staticClass: "input-item searchbox"
|
|
6326
|
+
}, [_vm._m(0), _vm._v(" "), _c('input', {
|
|
6327
|
+
ref: "input",
|
|
6328
|
+
attrs: {
|
|
6329
|
+
"type": "text",
|
|
6330
|
+
"form": "__ignore__",
|
|
6331
|
+
"placeholder": "请在地图上选择位置"
|
|
6332
|
+
}
|
|
6333
|
+
}), _vm._v(" "), _c('div', {
|
|
6334
|
+
ref: "output",
|
|
6335
|
+
staticClass: "search-result"
|
|
6336
|
+
})])]), _vm._v(" "), _c('div', {
|
|
6337
|
+
directives: [{
|
|
6338
|
+
name: "show",
|
|
6339
|
+
rawName: "v-show",
|
|
6340
|
+
value: _vm.toolsVisible,
|
|
6341
|
+
expression: "toolsVisible"
|
|
6342
|
+
}],
|
|
6343
|
+
staticClass: "tools",
|
|
6344
|
+
class: {
|
|
6345
|
+
disabled: _vm.drawing
|
|
6346
|
+
}
|
|
6347
|
+
}, [_vm.toolList.length > 0 && _vm.help ? _c('div', {
|
|
6348
|
+
staticClass: "tool help"
|
|
6349
|
+
}) : _vm._e(), _vm._v(" "), _vm._l(_vm.toolList, function (tool) {
|
|
6350
|
+
return _c('div', {
|
|
6351
|
+
key: tool,
|
|
6352
|
+
staticClass: "tool",
|
|
6353
|
+
class: _vm.getToolClass(tool),
|
|
6354
|
+
on: {
|
|
6355
|
+
"click": function ($event) {
|
|
6356
|
+
return _vm.draw(tool);
|
|
6357
|
+
}
|
|
6358
|
+
}
|
|
6359
|
+
});
|
|
6360
|
+
}), _vm._v(" "), _vm.toolList.length > 0 && _vm.clear ? _c('div', {
|
|
6361
|
+
staticClass: "tool clear",
|
|
6362
|
+
on: {
|
|
6363
|
+
"click": _vm.handleClear
|
|
6364
|
+
}
|
|
6365
|
+
}) : _vm._e()], 2)]);
|
|
6366
|
+
};
|
|
6367
|
+
|
|
6368
|
+
var __vue_staticRenderFns__$j = [function () {
|
|
6369
|
+
var _vm = this;
|
|
6370
|
+
|
|
6371
|
+
var _h = _vm.$createElement;
|
|
6372
|
+
|
|
6373
|
+
var _c = _vm._self._c || _h;
|
|
6374
|
+
|
|
6375
|
+
return _c('div', {
|
|
6376
|
+
staticClass: "input-item-prepend"
|
|
6377
|
+
}, [_c('span', {
|
|
6378
|
+
staticClass: "input-item-text"
|
|
6379
|
+
}, [_vm._v("搜索关键字")])]);
|
|
6380
|
+
}];
|
|
6381
|
+
/* style */
|
|
6382
|
+
|
|
6383
|
+
const __vue_inject_styles__$l = function (inject) {
|
|
6384
|
+
if (!inject) return;
|
|
6385
|
+
inject("data-v-680319f7_0", {
|
|
6386
|
+
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/xuUsODCjrAzbPbXqo3l5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LU4rZn5+3d1DQ1NTgjypS1GkVqNPVMsKdDqaYPk4LZPR76IYc1t7OwuFF3doyxaaxjVMBAVZhHuPzHyM3MxMxhn6Df1LS87K0+lF0Lf/KjP037sH7cotOqVS4Te8joXhYWzCTaaOjV0VfgSfIqapab2Er5sBFli9qJd+3rqVReEbhIeGPtDhS7qD3VFR8+k+Bu6xB8/sbmvA2jW+9o/jFr2DhKEhmmD5qNqxw/wGN0whV64I/U8IOzuDg93WAKvCLWu8dmYvjWg0wNL25QyVymIEItkr6JVKgUduiz+3vms89AbQbUyzzyoqbBU3X3m378CTExPWjGBHRS9wd+0/2/9dnLYLsDwk4rXSUkpDBm7o9d4jMx8it6zMWnGzGHH/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}",
|
|
6387
|
+
map: undefined,
|
|
6388
|
+
media: undefined
|
|
6389
|
+
});
|
|
6390
|
+
};
|
|
6391
|
+
/* scoped */
|
|
6392
|
+
|
|
6393
|
+
|
|
6394
|
+
const __vue_scope_id__$l = undefined;
|
|
5339
6395
|
/* module identifier */
|
|
5340
6396
|
|
|
5341
6397
|
const __vue_module_identifier__$l = undefined;
|
|
@@ -5351,7 +6407,7 @@ const __vue_component__$l = /*#__PURE__*/normalizeComponent({
|
|
|
5351
6407
|
staticRenderFns: __vue_staticRenderFns__$j
|
|
5352
6408
|
}, __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
6409
|
|
|
5354
|
-
var
|
|
6410
|
+
var FenceField = __vue_component__$l;
|
|
5355
6411
|
|
|
5356
6412
|
const fields = Object.create(null, {
|
|
5357
6413
|
text: {
|
|
@@ -5413,6 +6469,8 @@ const initDefaultField = () => {
|
|
|
5413
6469
|
addFieldType('image', ImageUploadField);
|
|
5414
6470
|
addFieldType('trigger', TriggerField);
|
|
5415
6471
|
addFieldType('icons', IconsField);
|
|
6472
|
+
addFieldType('lnglat', LnglatField);
|
|
6473
|
+
addFieldType('fence', FenceField);
|
|
5416
6474
|
};
|
|
5417
6475
|
|
|
5418
6476
|
initDefaultField();
|
|
@@ -8963,8 +10021,8 @@ var __vue_staticRenderFns__$a = [];
|
|
|
8963
10021
|
|
|
8964
10022
|
const __vue_inject_styles__$c = function (inject) {
|
|
8965
10023
|
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(
|
|
10024
|
+
inject("data-v-2c1fbdee_0", {
|
|
10025
|
+
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+CiAgICAgIDxlbGxpcHNlIGZpbGwtb3BhY2l0eT0iLjgiIGZpbGw9IiNGNUY1RjciIGN4PSI2Ny43OTciIGN5PSIxMDYuODkiIHJ4PSI2Ny43OTciIHJ5PSIxMi42NjgiPjwvZWxsaXBzZT4KICAgICA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RoNC45ODVWNS42M0g5LjI1OXoiPjwvcGF0aD4KICAgIDwvZz4KICA8L2c+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
10026
|
map: undefined,
|
|
8969
10027
|
media: undefined
|
|
8970
10028
|
});
|
|
@@ -10912,7 +11970,7 @@ var Permission$1 = {
|
|
|
10912
11970
|
identity = ''
|
|
10913
11971
|
} = context.props;
|
|
10914
11972
|
|
|
10915
|
-
if (permission(identity)) {
|
|
11973
|
+
if (!permission(identity)) {
|
|
10916
11974
|
return null;
|
|
10917
11975
|
}
|
|
10918
11976
|
|