@v2coding/ui 0.1.3 → 0.1.7

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.
@@ -14,6 +14,8 @@ import { Quill, quillEditor } from 'vue-quill-editor';
14
14
  import 'quill/dist/quill.core.css';
15
15
  import 'quill/dist/quill.snow.css';
16
16
  import 'quill/dist/quill.bubble.css';
17
+ import gcoord from 'gcoord';
18
+ import AMapLoader from '@amap/amap-jsapi-loader';
17
19
  import XLSX from 'xlsx';
18
20
  import { getPropByPath } from 'element-ui/lib/utils/util';
19
21
  import { addResizeListener, removeResizeListener } from 'element-ui/lib/utils/resize-event';
@@ -119,6 +121,11 @@ const DefaultSetting = {
119
121
  timeout: 30000,
120
122
  baseURL: process.env.VUE_APP_DOMAIN || 'http://localhost:8080' // eslint-disable-line
121
123
 
124
+ },
125
+ amap: {
126
+ version: '2.0',
127
+ key: process.env.VUE_APP_DOMAIN // eslint-disable-line
128
+
122
129
  }
123
130
  };
124
131
  var DefaultSetting$1 = DefaultSetting;
@@ -1009,139 +1016,139 @@ var script$F = {
1009
1016
  }
1010
1017
  };
1011
1018
 
1012
- function normalizeComponent(template, style, script, scopeId, isFunctionalTemplate, moduleIdentifier /* server only */, shadowMode, createInjector, createInjectorSSR, createInjectorShadow) {
1013
- if (typeof shadowMode !== 'boolean') {
1014
- createInjectorSSR = createInjector;
1015
- createInjector = shadowMode;
1016
- shadowMode = false;
1017
- }
1018
- // Vue.extend constructor export interop.
1019
- const options = typeof script === 'function' ? script.options : script;
1020
- // render functions
1021
- if (template && template.render) {
1022
- options.render = template.render;
1023
- options.staticRenderFns = template.staticRenderFns;
1024
- options._compiled = true;
1025
- // functional template
1026
- if (isFunctionalTemplate) {
1027
- options.functional = true;
1028
- }
1029
- }
1030
- // scopedId
1031
- if (scopeId) {
1032
- options._scopeId = scopeId;
1033
- }
1034
- let hook;
1035
- if (moduleIdentifier) {
1036
- // server build
1037
- hook = function (context) {
1038
- // 2.3 injection
1039
- context =
1040
- context || // cached call
1041
- (this.$vnode && this.$vnode.ssrContext) || // stateful
1042
- (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext); // functional
1043
- // 2.2 with runInNewContext: true
1044
- if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
1045
- context = __VUE_SSR_CONTEXT__;
1046
- }
1047
- // inject component styles
1048
- if (style) {
1049
- style.call(this, createInjectorSSR(context));
1050
- }
1051
- // register component module identifier for async chunk inference
1052
- if (context && context._registeredComponents) {
1053
- context._registeredComponents.add(moduleIdentifier);
1054
- }
1055
- };
1056
- // used by ssr in case component is cached and beforeCreate
1057
- // never gets called
1058
- options._ssrRegister = hook;
1059
- }
1060
- else if (style) {
1061
- hook = shadowMode
1062
- ? function (context) {
1063
- style.call(this, createInjectorShadow(context, this.$root.$options.shadowRoot));
1064
- }
1065
- : function (context) {
1066
- style.call(this, createInjector(context));
1067
- };
1068
- }
1069
- if (hook) {
1070
- if (options.functional) {
1071
- // register for functional component in vue file
1072
- const originalRender = options.render;
1073
- options.render = function renderWithStyleInjection(h, context) {
1074
- hook.call(context);
1075
- return originalRender(h, context);
1076
- };
1077
- }
1078
- else {
1079
- // inject component registration as beforeCreate hook
1080
- const existing = options.beforeCreate;
1081
- options.beforeCreate = existing ? [].concat(existing, hook) : [hook];
1082
- }
1083
- }
1084
- return script;
1019
+ function normalizeComponent(template, style, script, scopeId, isFunctionalTemplate, moduleIdentifier /* server only */, shadowMode, createInjector, createInjectorSSR, createInjectorShadow) {
1020
+ if (typeof shadowMode !== 'boolean') {
1021
+ createInjectorSSR = createInjector;
1022
+ createInjector = shadowMode;
1023
+ shadowMode = false;
1024
+ }
1025
+ // Vue.extend constructor export interop.
1026
+ const options = typeof script === 'function' ? script.options : script;
1027
+ // render functions
1028
+ if (template && template.render) {
1029
+ options.render = template.render;
1030
+ options.staticRenderFns = template.staticRenderFns;
1031
+ options._compiled = true;
1032
+ // functional template
1033
+ if (isFunctionalTemplate) {
1034
+ options.functional = true;
1035
+ }
1036
+ }
1037
+ // scopedId
1038
+ if (scopeId) {
1039
+ options._scopeId = scopeId;
1040
+ }
1041
+ let hook;
1042
+ if (moduleIdentifier) {
1043
+ // server build
1044
+ hook = function (context) {
1045
+ // 2.3 injection
1046
+ context =
1047
+ context || // cached call
1048
+ (this.$vnode && this.$vnode.ssrContext) || // stateful
1049
+ (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext); // functional
1050
+ // 2.2 with runInNewContext: true
1051
+ if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
1052
+ context = __VUE_SSR_CONTEXT__;
1053
+ }
1054
+ // inject component styles
1055
+ if (style) {
1056
+ style.call(this, createInjectorSSR(context));
1057
+ }
1058
+ // register component module identifier for async chunk inference
1059
+ if (context && context._registeredComponents) {
1060
+ context._registeredComponents.add(moduleIdentifier);
1061
+ }
1062
+ };
1063
+ // used by ssr in case component is cached and beforeCreate
1064
+ // never gets called
1065
+ options._ssrRegister = hook;
1066
+ }
1067
+ else if (style) {
1068
+ hook = shadowMode
1069
+ ? function (context) {
1070
+ style.call(this, createInjectorShadow(context, this.$root.$options.shadowRoot));
1071
+ }
1072
+ : function (context) {
1073
+ style.call(this, createInjector(context));
1074
+ };
1075
+ }
1076
+ if (hook) {
1077
+ if (options.functional) {
1078
+ // register for functional component in vue file
1079
+ const originalRender = options.render;
1080
+ options.render = function renderWithStyleInjection(h, context) {
1081
+ hook.call(context);
1082
+ return originalRender(h, context);
1083
+ };
1084
+ }
1085
+ else {
1086
+ // inject component registration as beforeCreate hook
1087
+ const existing = options.beforeCreate;
1088
+ options.beforeCreate = existing ? [].concat(existing, hook) : [hook];
1089
+ }
1090
+ }
1091
+ return script;
1085
1092
  }
1086
1093
 
1087
- const isOldIE = typeof navigator !== 'undefined' &&
1088
- /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
1089
- function createInjector(context) {
1090
- return (id, style) => addStyle(id, style);
1091
- }
1092
- let HEAD;
1093
- const styles = {};
1094
- function addStyle(id, css) {
1095
- const group = isOldIE ? css.media || 'default' : id;
1096
- const style = styles[group] || (styles[group] = { ids: new Set(), styles: [] });
1097
- if (!style.ids.has(id)) {
1098
- style.ids.add(id);
1099
- let code = css.source;
1100
- if (css.map) {
1101
- // https://developer.chrome.com/devtools/docs/javascript-debugging
1102
- // this makes source maps inside style tags work properly in Chrome
1103
- code += '\n/*# sourceURL=' + css.map.sources[0] + ' */';
1104
- // http://stackoverflow.com/a/26603875
1105
- code +=
1106
- '\n/*# sourceMappingURL=data:application/json;base64,' +
1107
- btoa(unescape(encodeURIComponent(JSON.stringify(css.map)))) +
1108
- ' */';
1109
- }
1110
- if (!style.element) {
1111
- style.element = document.createElement('style');
1112
- style.element.type = 'text/css';
1113
- if (css.media)
1114
- style.element.setAttribute('media', css.media);
1115
- if (HEAD === undefined) {
1116
- HEAD = document.head || document.getElementsByTagName('head')[0];
1117
- }
1118
- HEAD.appendChild(style.element);
1119
- }
1120
- if ('styleSheet' in style.element) {
1121
- style.styles.push(code);
1122
- style.element.styleSheet.cssText = style.styles
1123
- .filter(Boolean)
1124
- .join('\n');
1125
- }
1126
- else {
1127
- const index = style.ids.size - 1;
1128
- const textNode = document.createTextNode(code);
1129
- const nodes = style.element.childNodes;
1130
- if (nodes[index])
1131
- style.element.removeChild(nodes[index]);
1132
- if (nodes.length)
1133
- style.element.insertBefore(textNode, nodes[index]);
1134
- else
1135
- style.element.appendChild(textNode);
1136
- }
1137
- }
1094
+ const isOldIE = typeof navigator !== 'undefined' &&
1095
+ /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
1096
+ function createInjector(context) {
1097
+ return (id, style) => addStyle(id, style);
1098
+ }
1099
+ let HEAD;
1100
+ const styles = {};
1101
+ function addStyle(id, css) {
1102
+ const group = isOldIE ? css.media || 'default' : id;
1103
+ const style = styles[group] || (styles[group] = { ids: new Set(), styles: [] });
1104
+ if (!style.ids.has(id)) {
1105
+ style.ids.add(id);
1106
+ let code = css.source;
1107
+ if (css.map) {
1108
+ // https://developer.chrome.com/devtools/docs/javascript-debugging
1109
+ // this makes source maps inside style tags work properly in Chrome
1110
+ code += '\n/*# sourceURL=' + css.map.sources[0] + ' */';
1111
+ // http://stackoverflow.com/a/26603875
1112
+ code +=
1113
+ '\n/*# sourceMappingURL=data:application/json;base64,' +
1114
+ btoa(unescape(encodeURIComponent(JSON.stringify(css.map)))) +
1115
+ ' */';
1116
+ }
1117
+ if (!style.element) {
1118
+ style.element = document.createElement('style');
1119
+ style.element.type = 'text/css';
1120
+ if (css.media)
1121
+ style.element.setAttribute('media', css.media);
1122
+ if (HEAD === undefined) {
1123
+ HEAD = document.head || document.getElementsByTagName('head')[0];
1124
+ }
1125
+ HEAD.appendChild(style.element);
1126
+ }
1127
+ if ('styleSheet' in style.element) {
1128
+ style.styles.push(code);
1129
+ style.element.styleSheet.cssText = style.styles
1130
+ .filter(Boolean)
1131
+ .join('\n');
1132
+ }
1133
+ else {
1134
+ const index = style.ids.size - 1;
1135
+ const textNode = document.createTextNode(code);
1136
+ const nodes = style.element.childNodes;
1137
+ if (nodes[index])
1138
+ style.element.removeChild(nodes[index]);
1139
+ if (nodes.length)
1140
+ style.element.insertBefore(textNode, nodes[index]);
1141
+ else
1142
+ style.element.appendChild(textNode);
1143
+ }
1144
+ }
1138
1145
  }
1139
1146
 
1140
1147
  /* script */
1141
1148
  const __vue_script__$G = script$F;
1142
1149
  /* template */
1143
1150
 
1144
- var __vue_render__$E = function () {
1151
+ var __vue_render__$F = function () {
1145
1152
  var _vm = this;
1146
1153
 
1147
1154
  var _h = _vm.$createElement;
@@ -1160,7 +1167,7 @@ var __vue_render__$E = function () {
1160
1167
  })]);
1161
1168
  };
1162
1169
 
1163
- var __vue_staticRenderFns__$E = [];
1170
+ var __vue_staticRenderFns__$F = [];
1164
1171
  /* style */
1165
1172
 
1166
1173
  const __vue_inject_styles__$G = function (inject) {
@@ -1186,8 +1193,8 @@ const __vue_is_functional_template__$G = false;
1186
1193
  /* style inject shadow dom */
1187
1194
 
1188
1195
  const __vue_component__$G = /*#__PURE__*/normalizeComponent({
1189
- render: __vue_render__$E,
1190
- staticRenderFns: __vue_staticRenderFns__$E
1196
+ render: __vue_render__$F,
1197
+ staticRenderFns: __vue_staticRenderFns__$F
1191
1198
  }, __vue_inject_styles__$G, __vue_script__$G, __vue_scope_id__$G, __vue_is_functional_template__$G, __vue_module_identifier__$G, false, createInjector, undefined, undefined);
1192
1199
 
1193
1200
  var Icon$1 = __vue_component__$G;
@@ -1888,7 +1895,7 @@ var script$E = {
1888
1895
  const __vue_script__$F = script$E;
1889
1896
  /* template */
1890
1897
 
1891
- var __vue_render__$D = function () {
1898
+ var __vue_render__$E = function () {
1892
1899
  var _vm = this;
1893
1900
 
1894
1901
  var _h = _vm.$createElement;
@@ -1902,7 +1909,7 @@ var __vue_render__$D = function () {
1902
1909
  }, 'el-autocomplete', _vm.$attrs, false), _vm.$listeners));
1903
1910
  };
1904
1911
 
1905
- var __vue_staticRenderFns__$D = [];
1912
+ var __vue_staticRenderFns__$E = [];
1906
1913
  /* style */
1907
1914
 
1908
1915
  const __vue_inject_styles__$F = undefined;
@@ -1922,8 +1929,8 @@ const __vue_is_functional_template__$F = false;
1922
1929
  /* style inject shadow dom */
1923
1930
 
1924
1931
  const __vue_component__$F = /*#__PURE__*/normalizeComponent({
1925
- render: __vue_render__$D,
1926
- staticRenderFns: __vue_staticRenderFns__$D
1932
+ render: __vue_render__$E,
1933
+ staticRenderFns: __vue_staticRenderFns__$E
1927
1934
  }, __vue_inject_styles__$F, __vue_script__$F, __vue_scope_id__$F, __vue_is_functional_template__$F, __vue_module_identifier__$F, false, undefined, undefined, undefined);
1928
1935
 
1929
1936
  var AutocompleteField = __vue_component__$F;
@@ -1976,7 +1983,7 @@ var script$D = {
1976
1983
  const __vue_script__$E = script$D;
1977
1984
  /* template */
1978
1985
 
1979
- var __vue_render__$C = function () {
1986
+ var __vue_render__$D = function () {
1980
1987
  var _vm = this;
1981
1988
 
1982
1989
  var _h = _vm.$createElement;
@@ -1996,7 +2003,7 @@ var __vue_render__$C = function () {
1996
2003
  }, 'el-input', _vm.$attrs, false), _vm.$listeners));
1997
2004
  };
1998
2005
 
1999
- var __vue_staticRenderFns__$C = [];
2006
+ var __vue_staticRenderFns__$D = [];
2000
2007
  /* style */
2001
2008
 
2002
2009
  const __vue_inject_styles__$E = function (inject) {
@@ -2022,8 +2029,8 @@ const __vue_is_functional_template__$E = false;
2022
2029
  /* style inject shadow dom */
2023
2030
 
2024
2031
  const __vue_component__$E = /*#__PURE__*/normalizeComponent({
2025
- render: __vue_render__$C,
2026
- staticRenderFns: __vue_staticRenderFns__$C
2032
+ render: __vue_render__$D,
2033
+ staticRenderFns: __vue_staticRenderFns__$D
2027
2034
  }, __vue_inject_styles__$E, __vue_script__$E, __vue_scope_id__$E, __vue_is_functional_template__$E, __vue_module_identifier__$E, false, createInjector, undefined, undefined);
2028
2035
 
2029
2036
  var TextField = __vue_component__$E;
@@ -2288,7 +2295,7 @@ var script$C = {
2288
2295
  const __vue_script__$D = script$C;
2289
2296
  /* template */
2290
2297
 
2291
- var __vue_render__$B = function () {
2298
+ var __vue_render__$C = function () {
2292
2299
  var _vm = this;
2293
2300
 
2294
2301
  var _h = _vm.$createElement;
@@ -2338,7 +2345,7 @@ var __vue_render__$B = function () {
2338
2345
  }, [_vm._v("重新加载")])], 1) : _vm._e()], 1);
2339
2346
  };
2340
2347
 
2341
- var __vue_staticRenderFns__$B = [];
2348
+ var __vue_staticRenderFns__$C = [];
2342
2349
  /* style */
2343
2350
 
2344
2351
  const __vue_inject_styles__$D = function (inject) {
@@ -2364,8 +2371,8 @@ const __vue_is_functional_template__$D = false;
2364
2371
  /* style inject shadow dom */
2365
2372
 
2366
2373
  const __vue_component__$D = /*#__PURE__*/normalizeComponent({
2367
- render: __vue_render__$B,
2368
- staticRenderFns: __vue_staticRenderFns__$B
2374
+ render: __vue_render__$C,
2375
+ staticRenderFns: __vue_staticRenderFns__$C
2369
2376
  }, __vue_inject_styles__$D, __vue_script__$D, __vue_scope_id__$D, __vue_is_functional_template__$D, __vue_module_identifier__$D, false, createInjector, undefined, undefined);
2370
2377
 
2371
2378
  var RadioField = __vue_component__$D;
@@ -2455,7 +2462,7 @@ var script$B = {
2455
2462
  const __vue_script__$C = script$B;
2456
2463
  /* template */
2457
2464
 
2458
- var __vue_render__$A = function () {
2465
+ var __vue_render__$B = function () {
2459
2466
  var _vm = this;
2460
2467
 
2461
2468
  var _h = _vm.$createElement;
@@ -2542,7 +2549,7 @@ var __vue_render__$A = function () {
2542
2549
  }, [_vm._v("重新加载")])], 1) : _vm._e()], 1);
2543
2550
  };
2544
2551
 
2545
- var __vue_staticRenderFns__$A = [];
2552
+ var __vue_staticRenderFns__$B = [];
2546
2553
  /* style */
2547
2554
 
2548
2555
  const __vue_inject_styles__$C = function (inject) {
@@ -2568,8 +2575,8 @@ const __vue_is_functional_template__$C = false;
2568
2575
  /* style inject shadow dom */
2569
2576
 
2570
2577
  const __vue_component__$C = /*#__PURE__*/normalizeComponent({
2571
- render: __vue_render__$A,
2572
- staticRenderFns: __vue_staticRenderFns__$A
2578
+ render: __vue_render__$B,
2579
+ staticRenderFns: __vue_staticRenderFns__$B
2573
2580
  }, __vue_inject_styles__$C, __vue_script__$C, __vue_scope_id__$C, __vue_is_functional_template__$C, __vue_module_identifier__$C, false, createInjector, undefined, undefined);
2574
2581
 
2575
2582
  var CheckboxField = __vue_component__$C;
@@ -2772,7 +2779,7 @@ var script$A = {
2772
2779
  const __vue_script__$B = script$A;
2773
2780
  /* template */
2774
2781
 
2775
- var __vue_render__$z = function () {
2782
+ var __vue_render__$A = function () {
2776
2783
  var _vm = this;
2777
2784
 
2778
2785
  var _h = _vm.$createElement;
@@ -2897,7 +2904,7 @@ var __vue_render__$z = function () {
2897
2904
  })], 1)], 1) : _vm._e()], 1);
2898
2905
  };
2899
2906
 
2900
- var __vue_staticRenderFns__$z = [];
2907
+ var __vue_staticRenderFns__$A = [];
2901
2908
  /* style */
2902
2909
 
2903
2910
  const __vue_inject_styles__$B = function (inject) {
@@ -2923,8 +2930,8 @@ const __vue_is_functional_template__$B = false;
2923
2930
  /* style inject shadow dom */
2924
2931
 
2925
2932
  const __vue_component__$B = /*#__PURE__*/normalizeComponent({
2926
- render: __vue_render__$z,
2927
- staticRenderFns: __vue_staticRenderFns__$z
2933
+ render: __vue_render__$A,
2934
+ staticRenderFns: __vue_staticRenderFns__$A
2928
2935
  }, __vue_inject_styles__$B, __vue_script__$B, __vue_scope_id__$B, __vue_is_functional_template__$B, __vue_module_identifier__$B, false, createInjector, undefined, undefined);
2929
2936
 
2930
2937
  var SelectField = __vue_component__$B;
@@ -2964,7 +2971,7 @@ var script$z = {
2964
2971
  const __vue_script__$A = script$z;
2965
2972
  /* template */
2966
2973
 
2967
- var __vue_render__$y = function () {
2974
+ var __vue_render__$z = function () {
2968
2975
  var _vm = this;
2969
2976
 
2970
2977
  var _h = _vm.$createElement;
@@ -2980,7 +2987,7 @@ var __vue_render__$y = function () {
2980
2987
  }, 'el-input-number', _vm.$attrs, false), _vm.$listeners));
2981
2988
  };
2982
2989
 
2983
- var __vue_staticRenderFns__$y = [];
2990
+ var __vue_staticRenderFns__$z = [];
2984
2991
  /* style */
2985
2992
 
2986
2993
  const __vue_inject_styles__$A = function (inject) {
@@ -3006,8 +3013,8 @@ const __vue_is_functional_template__$A = false;
3006
3013
  /* style inject shadow dom */
3007
3014
 
3008
3015
  const __vue_component__$A = /*#__PURE__*/normalizeComponent({
3009
- render: __vue_render__$y,
3010
- staticRenderFns: __vue_staticRenderFns__$y
3016
+ render: __vue_render__$z,
3017
+ staticRenderFns: __vue_staticRenderFns__$z
3011
3018
  }, __vue_inject_styles__$A, __vue_script__$A, __vue_scope_id__$A, __vue_is_functional_template__$A, __vue_module_identifier__$A, false, createInjector, undefined, undefined);
3012
3019
 
3013
3020
  var NumberField = __vue_component__$A;
@@ -3247,7 +3254,7 @@ var script$y = {
3247
3254
  const __vue_script__$z = script$y;
3248
3255
  /* template */
3249
3256
 
3250
- var __vue_render__$x = function () {
3257
+ var __vue_render__$y = function () {
3251
3258
  var _vm = this;
3252
3259
 
3253
3260
  var _h = _vm.$createElement;
@@ -3311,7 +3318,7 @@ var __vue_render__$x = function () {
3311
3318
  })], 1)], 1) : _vm._e()], 1);
3312
3319
  };
3313
3320
 
3314
- var __vue_staticRenderFns__$x = [];
3321
+ var __vue_staticRenderFns__$y = [];
3315
3322
  /* style */
3316
3323
 
3317
3324
  const __vue_inject_styles__$z = function (inject) {
@@ -3337,8 +3344,8 @@ const __vue_is_functional_template__$z = false;
3337
3344
  /* style inject shadow dom */
3338
3345
 
3339
3346
  const __vue_component__$z = /*#__PURE__*/normalizeComponent({
3340
- render: __vue_render__$x,
3341
- staticRenderFns: __vue_staticRenderFns__$x
3347
+ render: __vue_render__$y,
3348
+ staticRenderFns: __vue_staticRenderFns__$y
3342
3349
  }, __vue_inject_styles__$z, __vue_script__$z, __vue_scope_id__$z, __vue_is_functional_template__$z, __vue_module_identifier__$z, false, createInjector, undefined, undefined);
3343
3350
 
3344
3351
  var CascadeField = __vue_component__$z;
@@ -3552,7 +3559,7 @@ var script$x = {
3552
3559
  const __vue_script__$y = script$x;
3553
3560
  /* template */
3554
3561
 
3555
- var __vue_render__$w = function () {
3562
+ var __vue_render__$x = function () {
3556
3563
  var _vm = this;
3557
3564
 
3558
3565
  var _h = _vm.$createElement;
@@ -3576,7 +3583,7 @@ var __vue_render__$w = function () {
3576
3583
  }, 'el-date-picker', _vm.$attrs, false), _vm._listeners));
3577
3584
  };
3578
3585
 
3579
- var __vue_staticRenderFns__$w = [];
3586
+ var __vue_staticRenderFns__$x = [];
3580
3587
  /* style */
3581
3588
 
3582
3589
  const __vue_inject_styles__$y = function (inject) {
@@ -3602,8 +3609,8 @@ const __vue_is_functional_template__$y = false;
3602
3609
  /* style inject shadow dom */
3603
3610
 
3604
3611
  const __vue_component__$y = /*#__PURE__*/normalizeComponent({
3605
- render: __vue_render__$w,
3606
- staticRenderFns: __vue_staticRenderFns__$w
3612
+ render: __vue_render__$x,
3613
+ staticRenderFns: __vue_staticRenderFns__$x
3607
3614
  }, __vue_inject_styles__$y, __vue_script__$y, __vue_scope_id__$y, __vue_is_functional_template__$y, __vue_module_identifier__$y, false, createInjector, undefined, undefined);
3608
3615
 
3609
3616
  var DateField = __vue_component__$y;
@@ -3678,7 +3685,7 @@ var script$w = {
3678
3685
  const __vue_script__$x = script$w;
3679
3686
  /* template */
3680
3687
 
3681
- var __vue_render__$v = function () {
3688
+ var __vue_render__$w = function () {
3682
3689
  var _vm = this;
3683
3690
 
3684
3691
  var _h = _vm.$createElement;
@@ -3700,7 +3707,7 @@ var __vue_render__$v = function () {
3700
3707
  }, 'el-time-picker', _vm.$attrs, false), _vm._listeners));
3701
3708
  };
3702
3709
 
3703
- var __vue_staticRenderFns__$v = [];
3710
+ var __vue_staticRenderFns__$w = [];
3704
3711
  /* style */
3705
3712
 
3706
3713
  const __vue_inject_styles__$x = function (inject) {
@@ -3726,8 +3733,8 @@ const __vue_is_functional_template__$x = false;
3726
3733
  /* style inject shadow dom */
3727
3734
 
3728
3735
  const __vue_component__$x = /*#__PURE__*/normalizeComponent({
3729
- render: __vue_render__$v,
3730
- staticRenderFns: __vue_staticRenderFns__$v
3736
+ render: __vue_render__$w,
3737
+ staticRenderFns: __vue_staticRenderFns__$w
3731
3738
  }, __vue_inject_styles__$x, __vue_script__$x, __vue_scope_id__$x, __vue_is_functional_template__$x, __vue_module_identifier__$x, false, createInjector, undefined, undefined);
3732
3739
 
3733
3740
  var TimePickerField = __vue_component__$x;
@@ -3749,7 +3756,7 @@ var script$v = {
3749
3756
  const __vue_script__$w = script$v;
3750
3757
  /* template */
3751
3758
 
3752
- var __vue_render__$u = function () {
3759
+ var __vue_render__$v = function () {
3753
3760
  var _vm = this;
3754
3761
 
3755
3762
  var _h = _vm.$createElement;
@@ -3764,7 +3771,7 @@ var __vue_render__$u = function () {
3764
3771
  }, 'el-time-select', _vm.$attrs, false), _vm.$listeners));
3765
3772
  };
3766
3773
 
3767
- var __vue_staticRenderFns__$u = [];
3774
+ var __vue_staticRenderFns__$v = [];
3768
3775
  /* style */
3769
3776
 
3770
3777
  const __vue_inject_styles__$w = function (inject) {
@@ -3790,8 +3797,8 @@ const __vue_is_functional_template__$w = false;
3790
3797
  /* style inject shadow dom */
3791
3798
 
3792
3799
  const __vue_component__$w = /*#__PURE__*/normalizeComponent({
3793
- render: __vue_render__$u,
3794
- staticRenderFns: __vue_staticRenderFns__$u
3800
+ render: __vue_render__$v,
3801
+ staticRenderFns: __vue_staticRenderFns__$v
3795
3802
  }, __vue_inject_styles__$w, __vue_script__$w, __vue_scope_id__$w, __vue_is_functional_template__$w, __vue_module_identifier__$w, false, createInjector, undefined, undefined);
3796
3803
 
3797
3804
  var TimeSelectField = __vue_component__$w;
@@ -3860,7 +3867,7 @@ var script$u = {
3860
3867
  const __vue_script__$v = script$u;
3861
3868
  /* template */
3862
3869
 
3863
- var __vue_render__$t = function () {
3870
+ var __vue_render__$u = function () {
3864
3871
  var _vm = this;
3865
3872
 
3866
3873
  var _h = _vm.$createElement;
@@ -3906,7 +3913,7 @@ var __vue_render__$t = function () {
3906
3913
  })], 1);
3907
3914
  };
3908
3915
 
3909
- var __vue_staticRenderFns__$t = [];
3916
+ var __vue_staticRenderFns__$u = [];
3910
3917
  /* style */
3911
3918
 
3912
3919
  const __vue_inject_styles__$v = function (inject) {
@@ -3932,8 +3939,8 @@ const __vue_is_functional_template__$v = false;
3932
3939
  /* style inject shadow dom */
3933
3940
 
3934
3941
  const __vue_component__$v = /*#__PURE__*/normalizeComponent({
3935
- render: __vue_render__$t,
3936
- staticRenderFns: __vue_staticRenderFns__$t
3942
+ render: __vue_render__$u,
3943
+ staticRenderFns: __vue_staticRenderFns__$u
3937
3944
  }, __vue_inject_styles__$v, __vue_script__$v, __vue_scope_id__$v, __vue_is_functional_template__$v, __vue_module_identifier__$v, false, createInjector, undefined, undefined);
3938
3945
 
3939
3946
  var DatecCalendarField = __vue_component__$v;
@@ -4012,7 +4019,7 @@ var script$t = {
4012
4019
  const __vue_script__$u = script$t;
4013
4020
  /* template */
4014
4021
 
4015
- var __vue_render__$s = function () {
4022
+ var __vue_render__$t = function () {
4016
4023
  var _vm = this;
4017
4024
 
4018
4025
  var _h = _vm.$createElement;
@@ -4038,7 +4045,7 @@ var __vue_render__$s = function () {
4038
4045
  }, 'el-slider', _vm.$attrs, false), _vm._listeners));
4039
4046
  };
4040
4047
 
4041
- var __vue_staticRenderFns__$s = [];
4048
+ var __vue_staticRenderFns__$t = [];
4042
4049
  /* style */
4043
4050
 
4044
4051
  const __vue_inject_styles__$u = undefined;
@@ -4058,8 +4065,8 @@ const __vue_is_functional_template__$u = false;
4058
4065
  /* style inject shadow dom */
4059
4066
 
4060
4067
  const __vue_component__$u = /*#__PURE__*/normalizeComponent({
4061
- render: __vue_render__$s,
4062
- staticRenderFns: __vue_staticRenderFns__$s
4068
+ render: __vue_render__$t,
4069
+ staticRenderFns: __vue_staticRenderFns__$t
4063
4070
  }, __vue_inject_styles__$u, __vue_script__$u, __vue_scope_id__$u, __vue_is_functional_template__$u, __vue_module_identifier__$u, false, undefined, undefined, undefined);
4064
4071
 
4065
4072
  var SliderField = __vue_component__$u;
@@ -4074,7 +4081,7 @@ var script$s = {
4074
4081
  const __vue_script__$t = script$s;
4075
4082
  /* template */
4076
4083
 
4077
- var __vue_render__$r = function () {
4084
+ var __vue_render__$s = function () {
4078
4085
  var _vm = this;
4079
4086
 
4080
4087
  var _h = _vm.$createElement;
@@ -4088,7 +4095,7 @@ var __vue_render__$r = function () {
4088
4095
  }, 'el-switch', _vm.$attrs, false), _vm.$listeners));
4089
4096
  };
4090
4097
 
4091
- var __vue_staticRenderFns__$r = [];
4098
+ var __vue_staticRenderFns__$s = [];
4092
4099
  /* style */
4093
4100
 
4094
4101
  const __vue_inject_styles__$t = undefined;
@@ -4108,8 +4115,8 @@ const __vue_is_functional_template__$t = false;
4108
4115
  /* style inject shadow dom */
4109
4116
 
4110
4117
  const __vue_component__$t = /*#__PURE__*/normalizeComponent({
4111
- render: __vue_render__$r,
4112
- staticRenderFns: __vue_staticRenderFns__$r
4118
+ render: __vue_render__$s,
4119
+ staticRenderFns: __vue_staticRenderFns__$s
4113
4120
  }, __vue_inject_styles__$t, __vue_script__$t, __vue_scope_id__$t, __vue_is_functional_template__$t, __vue_module_identifier__$t, false, undefined, undefined, undefined);
4114
4121
 
4115
4122
  var SwitchField = __vue_component__$t;
@@ -4152,7 +4159,7 @@ var script$r = {
4152
4159
  const __vue_script__$s = script$r;
4153
4160
  /* template */
4154
4161
 
4155
- var __vue_render__$q = function () {
4162
+ var __vue_render__$r = function () {
4156
4163
  var _vm = this;
4157
4164
 
4158
4165
  var _h = _vm.$createElement;
@@ -4173,7 +4180,7 @@ var __vue_render__$q = function () {
4173
4180
  }, 'el-rate', _vm.$attrs, false), _vm._listeners));
4174
4181
  };
4175
4182
 
4176
- var __vue_staticRenderFns__$q = [];
4183
+ var __vue_staticRenderFns__$r = [];
4177
4184
  /* style */
4178
4185
 
4179
4186
  const __vue_inject_styles__$s = undefined;
@@ -4193,8 +4200,8 @@ const __vue_is_functional_template__$s = false;
4193
4200
  /* style inject shadow dom */
4194
4201
 
4195
4202
  const __vue_component__$s = /*#__PURE__*/normalizeComponent({
4196
- render: __vue_render__$q,
4197
- staticRenderFns: __vue_staticRenderFns__$q
4203
+ render: __vue_render__$r,
4204
+ staticRenderFns: __vue_staticRenderFns__$r
4198
4205
  }, __vue_inject_styles__$s, __vue_script__$s, __vue_scope_id__$s, __vue_is_functional_template__$s, __vue_module_identifier__$s, false, undefined, undefined, undefined);
4199
4206
 
4200
4207
  var RateField = __vue_component__$s;
@@ -4215,7 +4222,7 @@ var script$q = {
4215
4222
  const __vue_script__$r = script$q;
4216
4223
  /* template */
4217
4224
 
4218
- var __vue_render__$p = function () {
4225
+ var __vue_render__$q = function () {
4219
4226
  var _vm = this;
4220
4227
 
4221
4228
  var _h = _vm.$createElement;
@@ -4231,7 +4238,7 @@ var __vue_render__$p = function () {
4231
4238
  }, 'el-color-picker', _vm.$attrs, false), _vm.$listeners));
4232
4239
  };
4233
4240
 
4234
- var __vue_staticRenderFns__$p = [];
4241
+ var __vue_staticRenderFns__$q = [];
4235
4242
  /* style */
4236
4243
 
4237
4244
  const __vue_inject_styles__$r = function (inject) {
@@ -4257,8 +4264,8 @@ const __vue_is_functional_template__$r = false;
4257
4264
  /* style inject shadow dom */
4258
4265
 
4259
4266
  const __vue_component__$r = /*#__PURE__*/normalizeComponent({
4260
- render: __vue_render__$p,
4261
- staticRenderFns: __vue_staticRenderFns__$p
4267
+ render: __vue_render__$q,
4268
+ staticRenderFns: __vue_staticRenderFns__$q
4262
4269
  }, __vue_inject_styles__$r, __vue_script__$r, __vue_scope_id__$r, __vue_is_functional_template__$r, __vue_module_identifier__$r, false, createInjector, undefined, undefined);
4263
4270
 
4264
4271
  var ColorField = __vue_component__$r;
@@ -4495,7 +4502,7 @@ const RichField$1 = {
4495
4502
  const __vue_script__$q = RichField$1;
4496
4503
  /* template */
4497
4504
 
4498
- var __vue_render__$o = function () {
4505
+ var __vue_render__$p = function () {
4499
4506
  var _vm = this;
4500
4507
 
4501
4508
  var _h = _vm.$createElement;
@@ -4513,7 +4520,7 @@ var __vue_render__$o = function () {
4513
4520
  });
4514
4521
  };
4515
4522
 
4516
- var __vue_staticRenderFns__$o = [];
4523
+ var __vue_staticRenderFns__$p = [];
4517
4524
  /* style */
4518
4525
 
4519
4526
  const __vue_inject_styles__$q = function (inject) {
@@ -4543,8 +4550,8 @@ const __vue_is_functional_template__$q = false;
4543
4550
  /* style inject shadow dom */
4544
4551
 
4545
4552
  const __vue_component__$q = /*#__PURE__*/normalizeComponent({
4546
- render: __vue_render__$o,
4547
- staticRenderFns: __vue_staticRenderFns__$o
4553
+ render: __vue_render__$p,
4554
+ staticRenderFns: __vue_staticRenderFns__$p
4548
4555
  }, __vue_inject_styles__$q, __vue_script__$q, __vue_scope_id__$q, __vue_is_functional_template__$q, __vue_module_identifier__$q, false, createInjector, undefined, undefined);
4549
4556
 
4550
4557
  var RichField = __vue_component__$q;
@@ -4615,7 +4622,7 @@ var script$p = {
4615
4622
  },
4616
4623
  createAttachmentUrl: {
4617
4624
  type: String,
4618
- default: '/Sys/SysAttachment/create'
4625
+ default: '/System/SystemSysAttachment/create'
4619
4626
  },
4620
4627
  createAttachmentParams: null,
4621
4628
  createAttachment: {
@@ -4731,7 +4738,7 @@ var script$p = {
4731
4738
  const __vue_script__$p = script$p;
4732
4739
  /* template */
4733
4740
 
4734
- var __vue_render__$n = function () {
4741
+ var __vue_render__$o = function () {
4735
4742
  var _vm = this;
4736
4743
 
4737
4744
  var _h = _vm.$createElement;
@@ -4788,13 +4795,13 @@ var __vue_render__$n = function () {
4788
4795
  })], 2)], 1);
4789
4796
  };
4790
4797
 
4791
- var __vue_staticRenderFns__$n = [];
4798
+ var __vue_staticRenderFns__$o = [];
4792
4799
  /* style */
4793
4800
 
4794
4801
  const __vue_inject_styles__$p = function (inject) {
4795
4802
  if (!inject) return;
4796
- inject("data-v-19ac5bf8_0", {
4797
- 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}",
4803
+ inject("data-v-6ad1ec4e_0", {
4804
+ source: ".ui-file-upload-field[data-v-6ad1ec4e]{width:100%}.ui-file-upload-field .uploader[data-v-6ad1ec4e]{margin-bottom:5px}.ui-file-upload-field .uploader.disabled[data-v-6ad1ec4e] .el-upload{cursor:not-allowed;pointer-events:none}.ui-file-upload-field .uploader.disabled[data-v-6ad1ec4e] .el-upload .upload-btn{color:#888c94;background-color:#edeef0}.ui-file-upload-field .upload-btn[data-v-6ad1ec4e]{padding:5px 10px;line-height:1;background-color:#409eff;color:#fff;font-size:12px;transition:background-color .3s}.ui-file-upload-field .upload-btn[data-v-6ad1ec4e]:hover{background-color:#0d84ff}.ui-file-upload-field .files .file[data-v-6ad1ec4e]{color:#606266;font-size:14px;transition:all .3s;cursor:pointer;line-height:28px;display:flex;align-items:center}.ui-file-upload-field .files .file a[data-v-6ad1ec4e]{flex:1;color:#606266;transition:all .3s;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-file-upload-field .files .file .close[data-v-6ad1ec4e]{color:transparent;width:28px;text-align:center;visibility:hidden;transition:color .3s;font-weight:700}.ui-file-upload-field .files .file[data-v-6ad1ec4e]:hover{background-color:#f5f7fa}.ui-file-upload-field .files .file:hover a[data-v-6ad1ec4e]{color:#409eff}.ui-file-upload-field .files .file:hover .close[data-v-6ad1ec4e]{color:#409eff;visibility:visible}",
4798
4805
  map: undefined,
4799
4806
  media: undefined
4800
4807
  });
@@ -4802,7 +4809,7 @@ const __vue_inject_styles__$p = function (inject) {
4802
4809
  /* scoped */
4803
4810
 
4804
4811
 
4805
- const __vue_scope_id__$p = "data-v-19ac5bf8";
4812
+ const __vue_scope_id__$p = "data-v-6ad1ec4e";
4806
4813
  /* module identifier */
4807
4814
 
4808
4815
  const __vue_module_identifier__$p = undefined;
@@ -4814,8 +4821,8 @@ const __vue_is_functional_template__$p = false;
4814
4821
  /* style inject shadow dom */
4815
4822
 
4816
4823
  const __vue_component__$p = /*#__PURE__*/normalizeComponent({
4817
- render: __vue_render__$n,
4818
- staticRenderFns: __vue_staticRenderFns__$n
4824
+ render: __vue_render__$o,
4825
+ staticRenderFns: __vue_staticRenderFns__$o
4819
4826
  }, __vue_inject_styles__$p, __vue_script__$p, __vue_scope_id__$p, __vue_is_functional_template__$p, __vue_module_identifier__$p, false, createInjector, undefined, undefined);
4820
4827
 
4821
4828
  var FileUploadField = __vue_component__$p;
@@ -4844,7 +4851,7 @@ var script$o = {
4844
4851
  const __vue_script__$o = script$o;
4845
4852
  /* template */
4846
4853
 
4847
- var __vue_render__$m = function () {
4854
+ var __vue_render__$n = function () {
4848
4855
  var _vm = this;
4849
4856
 
4850
4857
  var _h = _vm.$createElement;
@@ -4900,7 +4907,7 @@ var __vue_render__$m = function () {
4900
4907
  }), _vm._v(" "), _c('span', [_vm._v("上传图片")])])]) : _vm._e()], 2);
4901
4908
  };
4902
4909
 
4903
- var __vue_staticRenderFns__$m = [];
4910
+ var __vue_staticRenderFns__$n = [];
4904
4911
  /* style */
4905
4912
 
4906
4913
  const __vue_inject_styles__$o = function (inject) {
@@ -4926,8 +4933,8 @@ const __vue_is_functional_template__$o = false;
4926
4933
  /* style inject shadow dom */
4927
4934
 
4928
4935
  const __vue_component__$o = /*#__PURE__*/normalizeComponent({
4929
- render: __vue_render__$m,
4930
- staticRenderFns: __vue_staticRenderFns__$m
4936
+ render: __vue_render__$n,
4937
+ staticRenderFns: __vue_staticRenderFns__$n
4931
4938
  }, __vue_inject_styles__$o, __vue_script__$o, __vue_scope_id__$o, __vue_is_functional_template__$o, __vue_module_identifier__$o, false, createInjector, undefined, undefined);
4932
4939
 
4933
4940
  var ImageUploadField = __vue_component__$o;
@@ -4971,7 +4978,7 @@ var script$n = {
4971
4978
  const __vue_script__$n = script$n;
4972
4979
  /* template */
4973
4980
 
4974
- var __vue_render__$l = function () {
4981
+ var __vue_render__$m = function () {
4975
4982
  var _vm = this;
4976
4983
 
4977
4984
  var _h = _vm.$createElement;
@@ -5013,7 +5020,7 @@ var __vue_render__$l = function () {
5013
5020
  }, 'ui-dialog', _vm.dialog, false), _vm.$listeners), [_vm._t("default")], 2)], 1);
5014
5021
  };
5015
5022
 
5016
- var __vue_staticRenderFns__$l = [];
5023
+ var __vue_staticRenderFns__$m = [];
5017
5024
  /* style */
5018
5025
 
5019
5026
  const __vue_inject_styles__$n = undefined;
@@ -5033,8 +5040,8 @@ const __vue_is_functional_template__$n = false;
5033
5040
  /* style inject shadow dom */
5034
5041
 
5035
5042
  const __vue_component__$n = /*#__PURE__*/normalizeComponent({
5036
- render: __vue_render__$l,
5037
- staticRenderFns: __vue_staticRenderFns__$l
5043
+ render: __vue_render__$m,
5044
+ staticRenderFns: __vue_staticRenderFns__$m
5038
5045
  }, __vue_inject_styles__$n, __vue_script__$n, __vue_scope_id__$n, __vue_is_functional_template__$n, __vue_module_identifier__$n, false, undefined, undefined, undefined);
5039
5046
 
5040
5047
  var DialogTrigger = __vue_component__$n;
@@ -5092,7 +5099,7 @@ var script$m = {
5092
5099
  const __vue_script__$m = script$m;
5093
5100
  /* template */
5094
5101
 
5095
- var __vue_render__$k = function () {
5102
+ var __vue_render__$l = function () {
5096
5103
  var _vm = this;
5097
5104
 
5098
5105
  var _h = _vm.$createElement;
@@ -5137,7 +5144,7 @@ var __vue_render__$k = function () {
5137
5144
  })], 2)], 2);
5138
5145
  };
5139
5146
 
5140
- var __vue_staticRenderFns__$k = [];
5147
+ var __vue_staticRenderFns__$l = [];
5141
5148
  /* style */
5142
5149
 
5143
5150
  const __vue_inject_styles__$m = function (inject) {
@@ -5163,8 +5170,8 @@ const __vue_is_functional_template__$m = false;
5163
5170
  /* style inject shadow dom */
5164
5171
 
5165
5172
  const __vue_component__$m = /*#__PURE__*/normalizeComponent({
5166
- render: __vue_render__$k,
5167
- staticRenderFns: __vue_staticRenderFns__$k
5173
+ render: __vue_render__$l,
5174
+ staticRenderFns: __vue_staticRenderFns__$l
5168
5175
  }, __vue_inject_styles__$m, __vue_script__$m, __vue_scope_id__$m, __vue_is_functional_template__$m, __vue_module_identifier__$m, false, createInjector, undefined, undefined);
5169
5176
 
5170
5177
  var PopoverTrigger = __vue_component__$m;
@@ -5251,7 +5258,7 @@ var script$l = {
5251
5258
  const __vue_script__$l = script$l;
5252
5259
  /* template */
5253
5260
 
5254
- var __vue_render__$j = function () {
5261
+ var __vue_render__$k = function () {
5255
5262
  var _vm = this;
5256
5263
 
5257
5264
  var _h = _vm.$createElement;
@@ -5321,7 +5328,7 @@ var __vue_render__$j = function () {
5321
5328
  }), 0)])], 1)]);
5322
5329
  };
5323
5330
 
5324
- var __vue_staticRenderFns__$j = [];
5331
+ var __vue_staticRenderFns__$k = [];
5325
5332
  /* style */
5326
5333
 
5327
5334
  const __vue_inject_styles__$l = function (inject) {
@@ -5347,60 +5354,1112 @@ const __vue_is_functional_template__$l = false;
5347
5354
  /* style inject shadow dom */
5348
5355
 
5349
5356
  const __vue_component__$l = /*#__PURE__*/normalizeComponent({
5350
- render: __vue_render__$j,
5351
- staticRenderFns: __vue_staticRenderFns__$j
5357
+ render: __vue_render__$k,
5358
+ staticRenderFns: __vue_staticRenderFns__$k
5352
5359
  }, __vue_inject_styles__$l, __vue_script__$l, __vue_scope_id__$l, __vue_is_functional_template__$l, __vue_module_identifier__$l, false, createInjector, undefined, undefined);
5353
5360
 
5354
5361
  var IconsField = __vue_component__$l;
5355
5362
 
5356
- const fields = Object.create(null, {
5357
- text: {
5358
- enumerable: true,
5359
- value: TextField
5363
+ const getAMap = function () {
5364
+ let plugins = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
5365
+ const setting = getSetting();
5366
+ return AMapLoader.load({ ...setting.amap,
5367
+ plugins: plugins
5368
+ });
5369
+ };
5370
+
5371
+ //
5372
+ const CoordTypes$1 = {
5373
+ bd09: gcoord.BD09,
5374
+ gcj02: gcoord.GCJ02,
5375
+ wgs84: gcoord.WGS84
5376
+ };
5377
+ var script$k = {
5378
+ name: 'ui-field-latlng',
5379
+ mixins: [FieldMixin],
5380
+ props: {
5381
+ coordType: {
5382
+ type: String,
5383
+ default: 'wgs84',
5384
+ validator: val => Object.keys(CoordTypes$1).includes(val)
5385
+ }
5360
5386
  },
5361
- textarea: {
5362
- enumerable: true,
5363
- value: TextField
5387
+
5388
+ data() {
5389
+ return {
5390
+ loading: true,
5391
+ keyword: ''
5392
+ };
5364
5393
  },
5365
- password: {
5366
- enumerable: true,
5367
- value: TextField
5368
- }
5369
- });
5370
- /**
5371
- *
5372
- * @param type {string}
5373
- * @param field
5374
- */
5375
5394
 
5376
- const addFieldType = (type, field) => {
5377
- if (Objects.hasProp(fields, type)) {
5378
- console.warn(`already have a ${type} field`);
5379
- return;
5380
- }
5395
+ computed: {
5396
+ point() {
5397
+ if (!this.value) {
5398
+ return null;
5399
+ }
5381
5400
 
5382
- fields[type] = field;
5383
- };
5401
+ if (!this.isValidPoint(this.value)) {
5402
+ return null;
5403
+ }
5384
5404
 
5385
- const initDefaultField = () => {
5386
- addFieldType('hidden', HiddenField);
5387
- addFieldType('display', DisplayField);
5388
- addFieldType('autocomplete', AutocompleteField);
5389
- addFieldType('radio', RadioField);
5390
- addFieldType('checkbox', CheckboxField);
5391
- addFieldType('select', SelectField);
5392
- addFieldType('number', NumberField);
5393
- addFieldType('cascade', CascadeField);
5394
- addFieldType('year', DateField);
5395
- addFieldType('month', DateField);
5396
- addFieldType('monthrange', DateField);
5397
- addFieldType('date', DateField);
5398
- addFieldType('dates', DateField);
5399
- addFieldType('week', DateField);
5400
- addFieldType('datetime', DateField);
5401
- addFieldType('datetimerange', DateField);
5402
- addFieldType('daterange', DateField);
5403
- addFieldType('datecCalendar', DatecCalendarField);
5405
+ const [lat, lng] = this.value.split(',');
5406
+ return {
5407
+ lat: +lat,
5408
+ lng: +lng
5409
+ };
5410
+ }
5411
+
5412
+ },
5413
+ watch: {
5414
+ point(p) {
5415
+ this.onPointChange(p);
5416
+ }
5417
+
5418
+ },
5419
+ methods: {
5420
+ init() {
5421
+ getAMap(['AMap.ToolBar', 'AMap.Geolocation', 'AMap.AutoComplete']).then(AMap => {
5422
+ this.initMap(AMap);
5423
+ this.loading = false;
5424
+ this.done();
5425
+ });
5426
+ },
5427
+
5428
+ initMap(AMap) {
5429
+ const map = new AMap.Map(this.$el.querySelector('.map'), {
5430
+ zoom: 11
5431
+ });
5432
+ map.addControl(new AMap.ToolBar({
5433
+ position: 'RT'
5434
+ }));
5435
+ map.addControl(new AMap.Geolocation({
5436
+ position: 'RB'
5437
+ }));
5438
+ const auto = new AMap.AutoComplete({
5439
+ input: this.$refs.input,
5440
+ output: this.$refs.output
5441
+ });
5442
+ map.on('click', this.onMapClick);
5443
+ auto.on('select', event => {
5444
+ if (!event.poi || !event.poi.location) {
5445
+ return;
5446
+ }
5447
+
5448
+ map.setZoomAndCenter(16, event.poi.location);
5449
+ });
5450
+ this.map = map;
5451
+ this.onPointChange(this.point);
5452
+ },
5453
+
5454
+ isValidPoint(val) {
5455
+ const [lat, lng] = val.split(',');
5456
+ return !(isNaN(+lat) || isNaN(+lng));
5457
+ },
5458
+
5459
+ onMapClick(_ref) {
5460
+ let {
5461
+ lnglat
5462
+ } = _ref;
5463
+ let {
5464
+ lat,
5465
+ lng
5466
+ } = lnglat; // 当前地图是 GCJ02 坐标系
5467
+
5468
+ if (this.coordType !== 'gcj02') {
5469
+ [lng, lat] = gcoord.transform([lng, lat], gcoord.GCJ02, CoordTypes$1[this.coordType]);
5470
+ lng = lng.toFixed(7) / 1;
5471
+ lat = lat.toFixed(7) / 1;
5472
+ }
5473
+
5474
+ this.onChange([lat, lng].join(','));
5475
+ },
5476
+
5477
+ onPointChange(point) {
5478
+ if (!this.map) {
5479
+ return;
5480
+ }
5481
+
5482
+ this.map.clearMap();
5483
+
5484
+ if (!point) {
5485
+ return;
5486
+ }
5487
+
5488
+ let {
5489
+ lng,
5490
+ lat
5491
+ } = point; // 当前地图是 GCJ02 坐标系
5492
+
5493
+ if (this.coordType !== 'gcj02') {
5494
+ [lng, lat] = gcoord.transform([lng, lat], CoordTypes$1[this.coordType], gcoord.GCJ02);
5495
+ } // eslint-disable-next-line no-undef
5496
+
5497
+
5498
+ const marker = new AMap.Marker({
5499
+ position: new AMap.LngLat(lng, lat)
5500
+ });
5501
+ this.map.add(marker);
5502
+ this.map.setCenter([lng, lat]);
5503
+ }
5504
+
5505
+ }
5506
+ };
5507
+
5508
+ /* script */
5509
+ const __vue_script__$k = script$k;
5510
+ /* template */
5511
+
5512
+ var __vue_render__$j = function () {
5513
+ var _vm = this;
5514
+
5515
+ var _h = _vm.$createElement;
5516
+
5517
+ var _c = _vm._self._c || _h;
5518
+
5519
+ return _c('div', {
5520
+ directives: [{
5521
+ name: "loading",
5522
+ rawName: "v-loading",
5523
+ value: _vm.loading,
5524
+ expression: "loading"
5525
+ }],
5526
+ staticClass: "ui-field-latlng"
5527
+ }, [_c('div', {
5528
+ staticClass: "map"
5529
+ }), _vm._v(" "), _c('div', {
5530
+ directives: [{
5531
+ name: "show",
5532
+ rawName: "v-show",
5533
+ value: !_vm.loading,
5534
+ expression: "!loading"
5535
+ }],
5536
+ staticClass: "info"
5537
+ }, [_c('div', {
5538
+ staticClass: "input-item searchbox"
5539
+ }, [_vm._m(0), _vm._v(" "), _c('input', {
5540
+ ref: "input",
5541
+ attrs: {
5542
+ "type": "text",
5543
+ "form": "__ignore__",
5544
+ "placeholder": "请输入..."
5545
+ }
5546
+ }), _vm._v(" "), _c('div', {
5547
+ ref: "output",
5548
+ staticClass: "search-result"
5549
+ })])])]);
5550
+ };
5551
+
5552
+ var __vue_staticRenderFns__$j = [function () {
5553
+ var _vm = this;
5554
+
5555
+ var _h = _vm.$createElement;
5556
+
5557
+ var _c = _vm._self._c || _h;
5558
+
5559
+ return _c('div', {
5560
+ staticClass: "input-item-prepend"
5561
+ }, [_c('span', {
5562
+ staticClass: "input-item-text"
5563
+ }, [_vm._v("搜索关键字")])]);
5564
+ }];
5565
+ /* style */
5566
+
5567
+ const __vue_inject_styles__$k = function (inject) {
5568
+ if (!inject) return;
5569
+ inject("data-v-69aba6ad_0", {
5570
+ source: ".ui-field-latlng{width:100%;height:280px;position:relative}.ui-field-latlng .map{width:100%;height:100%}.ui-field-latlng .info{position:absolute;top:0;left:0;right:0;bottom:0;pointer-events:none}.ui-field-latlng .info .searchbox{left:12px;top:12px;background-color:#fff;box-shadow:0 0 3px rgba(0,0,0,.5);pointer-events:initial;border-radius:3px;padding:3px}.ui-field-latlng .info .searchbox .search-result{position:absolute;top:calc(100% - 2px);left:0;right:0;background-color:#fefefe;box-shadow:0 1px 3px #999;visibility:hidden;border-radius:0 0 3px 3px}.ui-field-latlng .info .searchbox .search-result .auto-item{white-space:nowrap;font-size:12px;cursor:pointer;padding:4px;line-height:14px}.ui-field-latlng .input-item{position:relative;display:inline-flex;align-items:center;width:220px;font-size:12px}.ui-field-latlng .input-item .input-item-prepend{margin-right:-1px}.ui-field-latlng .input-item .input-item-prepend .input-item-text{padding:.25em .5em;display:block;text-justify:distribute-all-lines;text-align-last:justify;align-items:center;margin-bottom:0;font-weight:400;line-height:1.5;color:#495057;text-align:center;white-space:nowrap;background-color:#e9ecef;border:1px solid #ced4da;border-radius:.25rem 0 0 .25rem;box-sizing:border-box}.ui-field-latlng .input-item input{position:relative;flex:1 1 auto;width:1%;margin:0;background:#fff;padding:.25em .5em;display:inline-block;line-height:1.5;color:#495057;vertical-align:middle;border:1px solid #ced4da;border-radius:0 .25rem .25rem 0;appearance:none;box-sizing:border-box}.ui-field-latlng .input-item input:focus{border-color:#80bdff;outline:0;box-shadow:0 0 0 .1rem rgba(128,189,255,.1)}.ui-field-latlng .amap-copyright,.ui-field-latlng .amap-logo{display:none!important}",
5571
+ map: undefined,
5572
+ media: undefined
5573
+ });
5574
+ };
5575
+ /* scoped */
5576
+
5577
+
5578
+ const __vue_scope_id__$k = undefined;
5579
+ /* module identifier */
5580
+
5581
+ const __vue_module_identifier__$k = undefined;
5582
+ /* functional template */
5583
+
5584
+ const __vue_is_functional_template__$k = false;
5585
+ /* style inject SSR */
5586
+
5587
+ /* style inject shadow dom */
5588
+
5589
+ const __vue_component__$k = /*#__PURE__*/normalizeComponent({
5590
+ render: __vue_render__$j,
5591
+ staticRenderFns: __vue_staticRenderFns__$j
5592
+ }, __vue_inject_styles__$k, __vue_script__$k, __vue_scope_id__$k, __vue_is_functional_template__$k, __vue_module_identifier__$k, false, createInjector, undefined, undefined);
5593
+
5594
+ var LnglatField = __vue_component__$k;
5595
+
5596
+ //
5597
+ const CoordTypes = {
5598
+ bd09: gcoord.BD09,
5599
+ gcj02: gcoord.GCJ02,
5600
+ wgs84: gcoord.WGS84
5601
+ };
5602
+ const Types = {
5603
+ marker: 'AMap.Marker',
5604
+ polyline: 'Overlay.Polyline',
5605
+ circle: 'Overlay.Circle',
5606
+ polygon: 'Overlay.Polygon'
5607
+ };
5608
+ var script$j = {
5609
+ name: 'ui-field-fence',
5610
+ mixins: [FieldMixin],
5611
+ props: {
5612
+ /**
5613
+ * value:
5614
+ * {
5615
+ * markers: [[lng, lat], ...],
5616
+ * circles: [{center: [lng, lat], radius}, ...],
5617
+ * polylines: [[[lng,lat], ...], ...],
5618
+ * polygons: [[[lng,lat], ...], ...],
5619
+ * }
5620
+ */
5621
+ coordType: {
5622
+ type: String,
5623
+ default: 'wgs84',
5624
+ validator: val => Object.keys(CoordTypes).includes(val)
5625
+ },
5626
+
5627
+ /**
5628
+ * 'marker,polyline,circle,polygon'
5629
+ */
5630
+ tools: {
5631
+ type: String,
5632
+ default: 'marker,polyline,circle,polygon'
5633
+ },
5634
+ help: {
5635
+ type: Boolean,
5636
+ default: true
5637
+ },
5638
+ clear: {
5639
+ type: Boolean,
5640
+ default: true
5641
+ },
5642
+ multiple: {
5643
+ type: Boolean,
5644
+ default: false
5645
+ },
5646
+
5647
+ /**
5648
+ * 0:表示无限制
5649
+ */
5650
+ limit: {
5651
+ type: Number,
5652
+ default: 0
5653
+ },
5654
+
5655
+ /**
5656
+ * 地图缩放
5657
+ * 缩放范围 2~20
5658
+ */
5659
+ zoom: {
5660
+ type: Number,
5661
+ default: 15,
5662
+ validator: val => 2 <= val && val <= 20
5663
+ },
5664
+
5665
+ /**
5666
+ * 中心点
5667
+ * 'lng,lat' 字符串
5668
+ */
5669
+ center: String,
5670
+ disabled: Boolean
5671
+ },
5672
+
5673
+ data() {
5674
+ return {
5675
+ loading: true,
5676
+ keyword: '',
5677
+ drawing: false
5678
+ };
5679
+ },
5680
+
5681
+ computed: {
5682
+ toolList() {
5683
+ return (this.tools || '').split(',').filter(tool => Object.keys(Types).includes(tool));
5684
+ },
5685
+
5686
+ realLimit() {
5687
+ if (this.multiple) {
5688
+ return this.limit;
5689
+ }
5690
+
5691
+ return 1;
5692
+ },
5693
+
5694
+ isCurrentCoord() {
5695
+ return this.coordType === 'gcj02';
5696
+ },
5697
+
5698
+ toolsVisible(_ref) {
5699
+ let {
5700
+ disabled,
5701
+ loading
5702
+ } = _ref;
5703
+ return !disabled && !loading;
5704
+ }
5705
+
5706
+ },
5707
+ watch: {
5708
+ value: {
5709
+ immediate: true,
5710
+ handler: 'onValueChange'
5711
+ },
5712
+ zoom: 'setMapZoom',
5713
+ center: 'setMapCenter',
5714
+
5715
+ toolsVisible(visible) {
5716
+ if (visible) {
5717
+ var _this$toolbarControl, _this$geolocationCont;
5718
+
5719
+ (_this$toolbarControl = this.toolbarControl) === null || _this$toolbarControl === void 0 ? void 0 : _this$toolbarControl.show();
5720
+ (_this$geolocationCont = this.geolocationControl) === null || _this$geolocationCont === void 0 ? void 0 : _this$geolocationCont.show();
5721
+ } else {
5722
+ var _this$mouseTool, _this$toolbarControl2, _this$geolocationCont2;
5723
+
5724
+ (_this$mouseTool = this.mouseTool) === null || _this$mouseTool === void 0 ? void 0 : _this$mouseTool.close();
5725
+ (_this$toolbarControl2 = this.toolbarControl) === null || _this$toolbarControl2 === void 0 ? void 0 : _this$toolbarControl2.hide();
5726
+ (_this$geolocationCont2 = this.geolocationControl) === null || _this$geolocationCont2 === void 0 ? void 0 : _this$geolocationCont2.hide();
5727
+ }
5728
+ }
5729
+
5730
+ },
5731
+
5732
+ created() {
5733
+ this.graph = {
5734
+ polylines: [],
5735
+ markers: [],
5736
+ circles: [],
5737
+ polygons: []
5738
+ };
5739
+ this.editor = {};
5740
+ },
5741
+
5742
+ methods: {
5743
+ init() {
5744
+ getAMap(['AMap.ToolBar', 'AMap.Geolocation', 'AMap.AutoComplete', 'AMap.MouseTool', 'AMap.PolygonEditor', 'AMap.PolylineEditor', 'AMap.CircleEditor']).then(AMap => {
5745
+ this.initMap(AMap);
5746
+ this.loading = false;
5747
+ this.done();
5748
+ });
5749
+ },
5750
+
5751
+ initMap(AMap) {
5752
+ this.AMap = AMap;
5753
+ this.map = new AMap.Map(this.$el.querySelector('.map'), {
5754
+ zoom: this.zoom,
5755
+ isHotspot: false
5756
+ });
5757
+ this.initMapControl(this.map);
5758
+ this.initMapAutoComplete(this.map);
5759
+ this.contextMenu = this.initMapContextMenu(this.map);
5760
+ this.mouseTool = this.initMapMouseTool(this.map); // 根据value初始化地图上图形
5761
+
5762
+ this.onValueChange(this.value); // 初始化地图中心点
5763
+
5764
+ this.setMapCenter();
5765
+ },
5766
+
5767
+ initMapControl(map) {
5768
+ this.toolbarControl = new this.AMap.ToolBar({
5769
+ position: 'RT'
5770
+ });
5771
+ this.geolocationControl = new this.AMap.Geolocation({
5772
+ position: 'RB'
5773
+ });
5774
+ map.addControl(this.toolbarControl);
5775
+ map.addControl(this.geolocationControl);
5776
+
5777
+ if (!this.toolsVisible) {
5778
+ this.toolbarControl.hide();
5779
+ this.geolocationControl.hide();
5780
+ }
5781
+ },
5782
+
5783
+ initMapAutoComplete(map) {
5784
+ const auto = new this.AMap.AutoComplete({
5785
+ input: this.$refs.input,
5786
+ output: this.$refs.output
5787
+ });
5788
+ auto.on('select', event => {
5789
+ if (!event.poi || !event.poi.location) {
5790
+ return;
5791
+ }
5792
+
5793
+ map.setZoomAndCenter(16, event.poi.location);
5794
+ });
5795
+ return auto;
5796
+ },
5797
+
5798
+ initMapContextMenu() {
5799
+ const contextMenu = new this.AMap.ContextMenu();
5800
+ contextMenu.addItem('删除', () => {
5801
+ const removeObj = this.contextMenuTarget;
5802
+ this.removeGraph(removeObj);
5803
+ removeObj.setMap(null);
5804
+ this.contextMenuTarget = null; // 点击右键菜单子的某一项不会触发 contextMenu 的 close 事件
5805
+ });
5806
+ contextMenu.on('close', () => {
5807
+ this.contextMenuTarget = null;
5808
+ });
5809
+ return contextMenu;
5810
+ },
5811
+
5812
+ initMapMouseTool(map) {
5813
+ const mouseTool = new this.AMap.MouseTool(map);
5814
+ mouseTool.on('draw', event => {
5815
+ mouseTool.close();
5816
+ this.drawing = false;
5817
+ const obj = event.obj;
5818
+ const isAdded = this.addGraph(obj);
5819
+
5820
+ if (!isAdded) {
5821
+ map.remove(obj);
5822
+ return;
5823
+ }
5824
+
5825
+ this.initGraphEvent(obj);
5826
+ this.onGraphChange();
5827
+ });
5828
+ return mouseTool;
5829
+ },
5830
+
5831
+ setMapZoom() {
5832
+ if (!this.zoom || !this.map) {
5833
+ return;
5834
+ }
5835
+
5836
+ this.map.setZoom(this.zoom);
5837
+ },
5838
+
5839
+ setMapCenter() {
5840
+ if (!this.center || !this.map) {
5841
+ return;
5842
+ }
5843
+
5844
+ const [lng, lat] = this.center.split(',');
5845
+
5846
+ if (!lng || !lat) {
5847
+ return;
5848
+ }
5849
+
5850
+ this.map.setCenter([+lng, +lat]);
5851
+ this.setMapZoom();
5852
+ },
5853
+
5854
+ getToolClass(tool) {
5855
+ if (this.realLimit <= 0 || !this.multiple) {
5856
+ return tool;
5857
+ }
5858
+
5859
+ const {
5860
+ markers,
5861
+ circles,
5862
+ polylines,
5863
+ polygons
5864
+ } = this.value || {};
5865
+ let length = 0;
5866
+
5867
+ if (tool === 'marker') {
5868
+ length = (markers || []).length;
5869
+ } else if (tool === 'circle') {
5870
+ length = (circles || []).length;
5871
+ } else if (tool === 'polyline') {
5872
+ length = (polylines || []).length;
5873
+ } else if (tool === 'polygon') {
5874
+ length = (polygons || []).length;
5875
+ }
5876
+
5877
+ if (length >= this.realLimit) {
5878
+ return tool + ' disabled';
5879
+ }
5880
+
5881
+ return tool;
5882
+ },
5883
+
5884
+ onValueChange(value) {
5885
+ if (!this.map) {
5886
+ return;
5887
+ }
5888
+
5889
+ const {
5890
+ markers,
5891
+ circles,
5892
+ polylines,
5893
+ polygons
5894
+ } = value || {};
5895
+ const removedMarkers = this.graph.markers.slice((markers || []).length);
5896
+ const removedCircles = this.graph.circles.slice((circles || []).length);
5897
+ const removedPolylines = this.graph.polylines.slice((polylines || []).length);
5898
+ const removedPolygons = this.graph.polygons.slice((polygons || []).length);
5899
+ [...removedMarkers, ...removedCircles, ...removedPolylines, ...removedPolygons].forEach(item => item.setMap(null));
5900
+ (markers || []).forEach((markerData, index) => {
5901
+ let mapMarker = this.graph.markers[index];
5902
+ const lngLatData = this.getMapLngLatData(markers[index]);
5903
+ const position = new this.AMap.LngLat(lngLatData[0], lngLatData[1]);
5904
+
5905
+ if (!mapMarker) {
5906
+ mapMarker = new this.AMap.Marker({
5907
+ map: this.map,
5908
+ position: position
5909
+ });
5910
+ this.addGraph(mapMarker);
5911
+ this.initGraphEvent(mapMarker);
5912
+ } else {
5913
+ mapMarker.setPosition(position);
5914
+ }
5915
+ });
5916
+ (circles || []).forEach((circleData, index) => {
5917
+ let mapCircle = this.graph.circles[index];
5918
+ const lngLatData = this.getMapLngLatData(circleData.center);
5919
+ const lngLat = new this.AMap.LngLat(lngLatData[0], lngLatData[1]);
5920
+
5921
+ if (!mapCircle) {
5922
+ mapCircle = new this.AMap.Circle({
5923
+ map: this.map,
5924
+ center: lngLat,
5925
+ radius: circleData.radius
5926
+ });
5927
+ this.map.add(mapCircle);
5928
+ this.addGraph(mapCircle);
5929
+ this.initGraphEvent(mapCircle);
5930
+ } else {
5931
+ mapCircle.setCenter(lngLat);
5932
+ mapCircle.setRadius(circleData.radius);
5933
+ }
5934
+ });
5935
+ (polylines || []).forEach((polylineData, index) => {
5936
+ let mapPolyline = this.graph.polylines[index];
5937
+ const path = polylineData.map(item => this.getMapLngLatData(item)).map(item => new this.AMap.LngLat(item[0], item[1]));
5938
+
5939
+ if (!mapPolyline) {
5940
+ mapPolyline = new this.AMap.Polyline({
5941
+ path: path
5942
+ });
5943
+ this.map.add(mapPolyline);
5944
+ this.addGraph(mapPolyline);
5945
+ this.initGraphEvent(mapPolyline);
5946
+ } else {
5947
+ mapPolyline.setPath(path);
5948
+ }
5949
+ });
5950
+ (polygons || []).forEach((polygonData, index) => {
5951
+ let mapPolygon = this.graph.polygons[index];
5952
+ const path = polygonData.map(item => this.getMapLngLatData(item)).map(item => new this.AMap.LngLat(item[0], item[1]));
5953
+
5954
+ if (!mapPolygon) {
5955
+ mapPolygon = new this.AMap.Polygon({
5956
+ path
5957
+ });
5958
+ this.map.add(mapPolygon);
5959
+ this.addGraph(mapPolygon);
5960
+ this.initGraphEvent(mapPolygon);
5961
+ } else {
5962
+ mapPolygon.setPath(path);
5963
+ }
5964
+ });
5965
+ this.map.setFitView();
5966
+ },
5967
+
5968
+ onGraphChange() {
5969
+ const {
5970
+ markers,
5971
+ circles,
5972
+ polylines,
5973
+ polygons
5974
+ } = this.graph;
5975
+ const value = {
5976
+ markers: this.getMarkerValue(markers),
5977
+ circles: this.getCircleValue(circles),
5978
+ polylines: this.getPolylineValue(polylines),
5979
+ polygons: this.getPolygonValue(polygons)
5980
+ };
5981
+ const count = Object.values(value).reduce((total, item) => total + item.length, 0);
5982
+
5983
+ if (count <= 0) {
5984
+ // required 效果
5985
+ this.onChange();
5986
+ return;
5987
+ }
5988
+
5989
+ this.onChange(Object.freeze(value));
5990
+ },
5991
+
5992
+ onEditorChange() {
5993
+ if (this.drawing) {
5994
+ return;
5995
+ }
5996
+
5997
+ this.onGraphChange();
5998
+ },
5999
+
6000
+ // onEditorAdd(obj) {
6001
+ // this.initGraphEvent(obj);
6002
+ // this.addGraph(obj);
6003
+ // this.drawing = false;
6004
+ // },
6005
+ // 使用 mouseTool 方式添加图形. editor方式添加的图形有bug(PolylineEditor 添加的初始线段无法响应click和rightclick事件)
6006
+ draw(type) {
6007
+ this.closeEditors();
6008
+
6009
+ if (type === 'marker') {
6010
+ this.drawMarker();
6011
+ } else if (type === 'circle') {
6012
+ this.drawCircle();
6013
+ } else if (type === 'polyline') {
6014
+ this.drawPolyline();
6015
+ } else if (type === 'polygon') {
6016
+ this.drawPolygon();
6017
+ }
6018
+
6019
+ this.drawing = true;
6020
+ },
6021
+
6022
+ drawMarker() {
6023
+ this.mouseTool.marker();
6024
+ },
6025
+
6026
+ drawCircle() {
6027
+ this.mouseTool.circle();
6028
+ },
6029
+
6030
+ drawPolyline() {
6031
+ this.mouseTool.polyline();
6032
+ },
6033
+
6034
+ drawPolygon() {
6035
+ this.mouseTool.polygon();
6036
+ },
6037
+
6038
+ initGraphEvent(graph) {
6039
+ graph.on('rightclick', e => {
6040
+ const editor = this.getEditor(graph.className);
6041
+
6042
+ if (editor && editor.getTarget() === graph) {
6043
+ this.closeEditor(editor);
6044
+ }
6045
+
6046
+ this.contextMenuTarget = graph;
6047
+ this.contextMenu.open(this.map, e.lnglat);
6048
+ });
6049
+ const editors = ['Overlay.Polyline', 'Overlay.Circle', 'Overlay.Polygon'];
6050
+
6051
+ if (!editors.includes(graph.className)) {
6052
+ return;
6053
+ }
6054
+
6055
+ graph.on('click', () => {
6056
+ const editor = this.getEditor(graph.className);
6057
+ const target = editor.getTarget();
6058
+
6059
+ if (target && target === graph) {
6060
+ this.closeEditor(editor);
6061
+ return;
6062
+ }
6063
+
6064
+ this.closeEditors();
6065
+ editor.setTarget(graph);
6066
+ editor.open();
6067
+ });
6068
+ },
6069
+
6070
+ removeGraph(graph) {
6071
+ const extData = graph.getExtData();
6072
+ const {
6073
+ index
6074
+ } = extData || {};
6075
+ let list;
6076
+
6077
+ if (graph.className === 'AMap.Marker') {
6078
+ list = this.graph.markers;
6079
+ } else if (graph.className === 'Overlay.Circle') {
6080
+ list = this.graph.circles;
6081
+ } else if (graph.className === 'Overlay.Polyline') {
6082
+ list = this.graph.polylines;
6083
+ } else if (graph.className === 'Overlay.Polygon') {
6084
+ list = this.graph.polygons;
6085
+ } else {
6086
+ list = [];
6087
+ }
6088
+
6089
+ list.splice(index, 1);
6090
+ this.onGraphChange();
6091
+ },
6092
+
6093
+ addGraph(graph) {
6094
+ if (graph.className === 'Overlay.Polyline') {
6095
+ return this.addPolyline(graph);
6096
+ } else if (graph.className === 'AMap.Marker') {
6097
+ return this.addMarker(graph);
6098
+ } else if (graph.className === 'Overlay.Circle') {
6099
+ return this.addCircle(graph);
6100
+ } else if (graph.className === 'Overlay.Polygon') {
6101
+ return this.addPolygon(graph);
6102
+ }
6103
+ },
6104
+
6105
+ addMarker(marker) {
6106
+ if (!this.multiple) {
6107
+ this.graph.markers.forEach(item => item.setMap(null));
6108
+ this.graph.markers.length = 0;
6109
+ }
6110
+
6111
+ const index = this.graph.markers.length;
6112
+ marker.setExtData({
6113
+ index
6114
+ });
6115
+ this.graph.markers.push(marker);
6116
+ return true;
6117
+ },
6118
+
6119
+ addCircle(circle) {
6120
+ if (circle.getRadius() <= 0) {
6121
+ return false;
6122
+ }
6123
+
6124
+ if (!this.multiple) {
6125
+ this.graph.circles.forEach(item => item.setMap(null));
6126
+ this.graph.circles.length = 0;
6127
+ }
6128
+
6129
+ const index = this.graph.circles.length;
6130
+ circle.setExtData({
6131
+ index
6132
+ });
6133
+ this.graph.circles.push(circle);
6134
+ return true;
6135
+ },
6136
+
6137
+ addPolyline(polyline) {
6138
+ if (polyline.getLength() <= 0) {
6139
+ return false;
6140
+ }
6141
+
6142
+ if (!this.multiple) {
6143
+ this.graph.polylines.forEach(item => item.setMap(null));
6144
+ this.graph.polylines.length = 0;
6145
+ }
6146
+
6147
+ const index = this.graph.polylines.length;
6148
+ polyline.setExtData({
6149
+ index
6150
+ });
6151
+ this.graph.polylines.push(polyline);
6152
+ return true;
6153
+ },
6154
+
6155
+ addPolygon(polygon) {
6156
+ if (polygon.getArea() <= 0) {
6157
+ this.$message.info('绘制多边形时请至少绘制3个点');
6158
+ return false;
6159
+ }
6160
+
6161
+ if (!this.multiple) {
6162
+ this.graph.polygons.forEach(item => item.setMap(null));
6163
+ this.graph.polygons.length = 0;
6164
+ }
6165
+
6166
+ const index = this.graph.polygons.length;
6167
+ polygon.setExtData({
6168
+ index
6169
+ });
6170
+ this.graph.polygons.push(polygon);
6171
+ return true;
6172
+ },
6173
+
6174
+ getEditor(type) {
6175
+ if (type === 'Overlay.Circle') {
6176
+ return this.editor.circle || this.initCircleEditor();
6177
+ } else if (type === 'Overlay.Polyline') {
6178
+ return this.editor.polyline || this.initPolylineEditor();
6179
+ } else if (type === 'Overlay.Polygon') {
6180
+ return this.editor.polygon || this.initPolygonEditor();
6181
+ }
6182
+ },
6183
+
6184
+ initCircleEditor() {
6185
+ const circleEditor = new this.AMap.CircleEditor(this.map);
6186
+ this.editor.circle = circleEditor;
6187
+ this.initEditorEvent(circleEditor);
6188
+ return circleEditor;
6189
+ },
6190
+
6191
+ initPolylineEditor() {
6192
+ const polylineEditor = new this.AMap.PolylineEditor(this.map);
6193
+ this.editor.polyline = polylineEditor;
6194
+ this.initEditorEvent(polylineEditor);
6195
+ return polylineEditor;
6196
+ },
6197
+
6198
+ initPolygonEditor() {
6199
+ const polygonEditor = new this.AMap.PolygonEditor(this.map);
6200
+ this.editor.polygon = polygonEditor;
6201
+ this.initEditorEvent(polygonEditor);
6202
+ return polygonEditor;
6203
+ },
6204
+
6205
+ initEditorEvent(editor) {
6206
+ editor.on('addnode', () => this.onEditorChange());
6207
+ editor.on('adjust', () => this.onEditorChange());
6208
+ editor.on('move', () => this.onEditorChange()); // editor.on('add', (event) => this.onEditorAdd(event.target));
6209
+ },
6210
+
6211
+ closeEditor(editor) {
6212
+ editor.setTarget();
6213
+ editor.close();
6214
+ },
6215
+
6216
+ closeEditors() {
6217
+ Object.values(this.editor).forEach(editor => this.closeEditor(editor));
6218
+ },
6219
+
6220
+ getMapLngLatData(point) {
6221
+ let [lng, lat] = point;
6222
+
6223
+ if (!this.isCurrentCoord) {
6224
+ [lng, lat] = gcoord.transform([lng, lat], CoordTypes[this.coordType], gcoord.GCJ02);
6225
+ }
6226
+
6227
+ return [lng, lat];
6228
+ },
6229
+
6230
+ getPoint(lngLat) {
6231
+ let [lng, lat] = lngLat;
6232
+
6233
+ if (!this.isCurrentCoord) {
6234
+ [lng, lat] = gcoord.transform([lng, lat], gcoord.GCJ02, CoordTypes[this.coordType]);
6235
+ lng = lng.toFixed(7) / 1;
6236
+ lat = lat.toFixed(7) / 1;
6237
+ }
6238
+
6239
+ return [lng, lat];
6240
+ },
6241
+
6242
+ getMarkerValue(markers) {
6243
+ return (markers || []).map(marker => {
6244
+ const lngLat = marker.getPosition();
6245
+ return this.getPoint([lngLat.getLng(), lngLat.getLat()]);
6246
+ });
6247
+ },
6248
+
6249
+ getCircleValue(circles) {
6250
+ return (circles || []).map(circle => {
6251
+ const radius = circle.getRadius();
6252
+ const lngLat = circle.getCenter();
6253
+ return {
6254
+ center: this.getPoint([lngLat.getLng(), lngLat.getLat()]),
6255
+ radius
6256
+ };
6257
+ });
6258
+ },
6259
+
6260
+ getPolylineValue(polylines) {
6261
+ return (polylines || []).map(polyline => {
6262
+ const path = polyline.getPath();
6263
+ return path.map(item => this.getPoint([item.getLng(), item.getLat()]));
6264
+ });
6265
+ },
6266
+
6267
+ getPolygonValue(polygons) {
6268
+ return (polygons || []).map(polygon => {
6269
+ const path = polygon.getPath();
6270
+ return path.map(item => this.getPoint([item.getLng(), item.getLat()]));
6271
+ });
6272
+ },
6273
+
6274
+ async handleClear() {
6275
+ const [, confirm] = await to(this.$confirm('确认清空地图上所有的图形?', '提示', {
6276
+ type: 'warning'
6277
+ }));
6278
+
6279
+ if (!confirm) {
6280
+ return;
6281
+ }
6282
+
6283
+ this.closeEditors();
6284
+ this.contextMenu.close();
6285
+ Object.values(this.graph).forEach(items => items.forEach(item => item.setMap(null)));
6286
+ this.graph = {
6287
+ polylines: [],
6288
+ markers: [],
6289
+ circles: [],
6290
+ polygons: []
6291
+ };
6292
+ this.onGraphChange();
6293
+ }
6294
+
6295
+ }
6296
+ };
6297
+
6298
+ /* script */
6299
+ const __vue_script__$j = script$j;
6300
+ /* template */
6301
+
6302
+ var __vue_render__$i = function () {
6303
+ var _vm = this;
6304
+
6305
+ var _h = _vm.$createElement;
6306
+
6307
+ var _c = _vm._self._c || _h;
6308
+
6309
+ return _c('div', {
6310
+ directives: [{
6311
+ name: "loading",
6312
+ rawName: "v-loading",
6313
+ value: _vm.loading,
6314
+ expression: "loading"
6315
+ }],
6316
+ staticClass: "ui-field-fence"
6317
+ }, [_c('div', {
6318
+ staticClass: "map"
6319
+ }), _vm._v(" "), _c('div', {
6320
+ directives: [{
6321
+ name: "show",
6322
+ rawName: "v-show",
6323
+ value: _vm.toolsVisible,
6324
+ expression: "toolsVisible"
6325
+ }],
6326
+ staticClass: "info"
6327
+ }, [_c('div', {
6328
+ staticClass: "input-item searchbox"
6329
+ }, [_vm._m(0), _vm._v(" "), _c('input', {
6330
+ ref: "input",
6331
+ attrs: {
6332
+ "type": "text",
6333
+ "form": "__ignore__",
6334
+ "placeholder": "请在地图上选择位置"
6335
+ }
6336
+ }), _vm._v(" "), _c('div', {
6337
+ ref: "output",
6338
+ staticClass: "search-result"
6339
+ })])]), _vm._v(" "), _c('div', {
6340
+ directives: [{
6341
+ name: "show",
6342
+ rawName: "v-show",
6343
+ value: _vm.toolsVisible,
6344
+ expression: "toolsVisible"
6345
+ }],
6346
+ staticClass: "tools",
6347
+ class: {
6348
+ disabled: _vm.drawing
6349
+ }
6350
+ }, [_vm.toolList.length > 0 && _vm.help ? _c('div', {
6351
+ staticClass: "tool help"
6352
+ }) : _vm._e(), _vm._v(" "), _vm._l(_vm.toolList, function (tool) {
6353
+ return _c('div', {
6354
+ key: tool,
6355
+ staticClass: "tool",
6356
+ class: _vm.getToolClass(tool),
6357
+ on: {
6358
+ "click": function ($event) {
6359
+ return _vm.draw(tool);
6360
+ }
6361
+ }
6362
+ });
6363
+ }), _vm._v(" "), _vm.toolList.length > 0 && _vm.clear ? _c('div', {
6364
+ staticClass: "tool clear",
6365
+ on: {
6366
+ "click": _vm.handleClear
6367
+ }
6368
+ }) : _vm._e()], 2)]);
6369
+ };
6370
+
6371
+ var __vue_staticRenderFns__$i = [function () {
6372
+ var _vm = this;
6373
+
6374
+ var _h = _vm.$createElement;
6375
+
6376
+ var _c = _vm._self._c || _h;
6377
+
6378
+ return _c('div', {
6379
+ staticClass: "input-item-prepend"
6380
+ }, [_c('span', {
6381
+ staticClass: "input-item-text"
6382
+ }, [_vm._v("搜索关键字")])]);
6383
+ }];
6384
+ /* style */
6385
+
6386
+ const __vue_inject_styles__$j = function (inject) {
6387
+ if (!inject) return;
6388
+ inject("data-v-680319f7_0", {
6389
+ source: ".ui-field-fence{width:100%;height:280px;position:relative}.ui-field-fence .map{width:100%;height:100%}.ui-field-fence .info{position:absolute;top:0;left:0;right:0;bottom:0;pointer-events:none}.ui-field-fence .info .searchbox{left:12px;top:12px;background-color:#fff;box-shadow:0 0 3px rgba(0,0,0,.5);pointer-events:initial;border-radius:3px;padding:3px}.ui-field-fence .info .searchbox .search-result{overflow:auto;position:absolute;top:calc(100% - 2px);left:0;right:0;background-color:#fefefe;box-shadow:0 1px 3px #999;visibility:hidden;border-radius:0 0 3px 3px}.ui-field-fence .info .searchbox .search-result .auto-item{white-space:nowrap;font-size:12px;cursor:pointer;padding:4px;line-height:14px}.ui-field-fence .input-item{position:relative;display:inline-flex;align-items:center;width:220px;font-size:12px}.ui-field-fence .input-item .input-item-prepend{margin-right:-1px}.ui-field-fence .input-item .input-item-prepend .input-item-text{padding:.25em .5em;display:block;text-justify:distribute-all-lines;text-align-last:justify;align-items:center;margin-bottom:0;font-weight:400;line-height:1.5;color:#495057;text-align:center;white-space:nowrap;background-color:#e9ecef;border:1px solid #ced4da;border-radius:.25rem 0 0 .25rem;box-sizing:border-box}.ui-field-fence .input-item input{position:relative;flex:1 1 auto;width:1%;margin:0;background:#fff;padding:.25em .5em;display:inline-block;line-height:1.5;color:#495057;vertical-align:middle;border:1px solid #ced4da;border-radius:0 .25rem .25rem 0;appearance:none;box-sizing:border-box}.ui-field-fence .input-item input:focus{border-color:#80bdff;outline:0;box-shadow:0 0 0 .1rem rgba(128,189,255,.1)}.ui-field-fence .tools{position:absolute;bottom:15px;left:50%;transform:translateX(-50%);display:flex;flex-direction:row;border-radius:4px;background-color:#fff;box-shadow:0 0 3px rgba(0,0,0,.5)}.ui-field-fence .tools .tool{width:32px;height:32px;box-sizing:border-box;background:#fff center no-repeat;background-size:18px;cursor:pointer;position:relative}.ui-field-fence .tools .tool:first-of-type{border-radius:4px 0 0 4px}.ui-field-fence .tools .tool:last-of-type{border-radius:0 4px 4px 0}.ui-field-fence .tools .tool:hover{background-color:#f0f0f0}.ui-field-fence .tools .tool::before{position:absolute;top:0;left:50%;transform:translate(-50%,-100%);padding:4px 8px;border-radius:4px;background-color:#fff;box-shadow:0 0 3px rgba(0,0,0,.5);color:#666;font-size:12px;line-height:16px;transition:all .2s ease-in-out;opacity:0;word-break:keep-all;visibility:hidden;pointer-events:none}.ui-field-fence .tools .tool:hover::before{top:-4px;opacity:1;visibility:visible}.ui-field-fence .tools .tool+.tool{border-left:1px solid #eee}.ui-field-fence .tools .tool.marker{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgEAYAAAAj6qa3AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEA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ToxMiswODowMN3IczYAAABJdEVYdHN2ZzpiYXNlLXVyaQBmaWxlOi8vL2hvbWUvYWRtaW4vaWNvbi1mb250L3RtcC9pY29uX3UwYjMwZjhjMm0vZGlhbndlaS5zdmcHvXebAAAAAElFTkSuQmCC)}.ui-field-fence .tools .tool.circle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgEAYAAAAj6qa3AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAZiS0dEAAAAAAAA+UO7fwAAAAlwSFlzAAAASAAAAEgARslrPgAABmRJREFUaN7tmHtQVOcZxp/vLIsgkbWDQ9UmYiO1BCwKRtjvHDgrSQS2SWYySUHjBXGcAeOlkHEcBw2KikWCyWATR1CmacZhMOC0mpAQBVHYBRZl18vUSbwwI64hEgVMpLBb2PP2D7ob22RbgSXbTPz9d853znve5/mu7wEe8eNk0cXIosiigAAdSRRLCxfqSIwUI+fMGWkcwdtCRkv/1Elpk9JCQ0lHkiCePk1RdJSO7t79kzHAU/zkDfDxVCApSAqSgiZNUmVhk2OrXk9a2icUxcayDqTS1xERRPg9NqlUrI3qMP2LLxoPtmS2ZKan/2gNiM+Oz47PnjYNPUPrh9bn5LAXqVjJW7kS7+BDVhUYyOrwS5oJADgHAAxYgZMALWeHkVhXh4PfHze8MrwyvNLXN4g0z2qe3bXLbQKLFH/FPzgYkxkAgIyshJWEh8d/zLt5d2Ghu9fIhlSkGgzGlS2nWk5VV7MRCz8rXom9vXgxJuKksH//frYWFagLCsJG6CH399NzmIeDR46gh6VTdH09TWY3lJLz56GH3neVzaYyqAwqQ09PA2tgDezevf+M7xpJEfRrZfY333ikmx9kLbuCycXFjUuaultqXn/9oQ2Qs8VEbdTWrbCgj/nl5yMXm7BRUYiwlm0oLqadwixhVn6+0Wg0Go29vaPNT0c60pGPj3Ju8Kqt65VX3PZkH06y7SEhQ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h0ZGF0ZTpjcmVhdGUAMjAyMC0xMS0xOVQxODo1NzowMSswODowMNOAvgoAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjAtMTEtMTlUMTg6NTc6MDErMDg6MDCi3Qa2AAAATHRFWHRzdmc6YmFzZS11cmkAZmlsZTovLy9ob21lL2FkbWluL2ljb24tZm9udC90bXAvaWNvbl91Mmh4aGJndGdvL3Fpbmdrb25nXzEuc3ZnghROGAAAAABJRU5ErkJggg==)}.ui-field-fence .tools .tool.marker:before{content:'绘制点标注'}.ui-field-fence .tools .tool.circle:before{content:'绘制圆形'}.ui-field-fence .tools .tool.polyline:before{content:'绘制折线'}.ui-field-fence .tools .tool.polygon:before{content:'绘制多边形'}.ui-field-fence .tools .tool.help:before{content:'1.点击要绘制的图形\\A 2.在地图上进行绘制,其中折线和多边形双击结束绘制\\A 3.点击已经绘制好的地图进入编辑模式,再次点击退出编辑模式\\A 4.在绘制好了的图形上右键可以删除该图形';white-space:pre}.ui-field-fence .tools .tool.clear:before{content:'清空所有图形'}.ui-field-fence .tools .tool.disabled,.ui-field-fence .tools.disabled .tool:not(.help){filter:opacity(.3);cursor:none;pointer-events:none}.ui-field-fence .close-btn{position:absolute;bottom:15px;left:50%;transform:translateX(-50%);display:inline-block;padding:0 12px;font-size:12px;line-height:32px;border-radius:4px;background-color:#fff;cursor:pointer;box-shadow:0 0 3px rgba(0,0,0,.5)}.ui-field-fence .close-btn:hover{background-color:#f0f0f0}.ui-field-fence .amap-copyright,.ui-field-fence .amap-logo{display:none!important}",
6390
+ map: undefined,
6391
+ media: undefined
6392
+ });
6393
+ };
6394
+ /* scoped */
6395
+
6396
+
6397
+ const __vue_scope_id__$j = undefined;
6398
+ /* module identifier */
6399
+
6400
+ const __vue_module_identifier__$j = undefined;
6401
+ /* functional template */
6402
+
6403
+ const __vue_is_functional_template__$j = false;
6404
+ /* style inject SSR */
6405
+
6406
+ /* style inject shadow dom */
6407
+
6408
+ const __vue_component__$j = /*#__PURE__*/normalizeComponent({
6409
+ render: __vue_render__$i,
6410
+ staticRenderFns: __vue_staticRenderFns__$i
6411
+ }, __vue_inject_styles__$j, __vue_script__$j, __vue_scope_id__$j, __vue_is_functional_template__$j, __vue_module_identifier__$j, false, createInjector, undefined, undefined);
6412
+
6413
+ var FenceField = __vue_component__$j;
6414
+
6415
+ const fields = Object.create(null, {
6416
+ text: {
6417
+ enumerable: true,
6418
+ value: TextField
6419
+ },
6420
+ textarea: {
6421
+ enumerable: true,
6422
+ value: TextField
6423
+ },
6424
+ password: {
6425
+ enumerable: true,
6426
+ value: TextField
6427
+ }
6428
+ });
6429
+ /**
6430
+ *
6431
+ * @param type {string}
6432
+ * @param field
6433
+ */
6434
+
6435
+ const addFieldType = (type, field) => {
6436
+ if (Objects.hasProp(fields, type)) {
6437
+ console.warn(`already have a ${type} field`);
6438
+ return;
6439
+ }
6440
+
6441
+ fields[type] = field;
6442
+ };
6443
+
6444
+ const initDefaultField = () => {
6445
+ addFieldType('hidden', HiddenField);
6446
+ addFieldType('display', DisplayField);
6447
+ addFieldType('autocomplete', AutocompleteField);
6448
+ addFieldType('radio', RadioField);
6449
+ addFieldType('checkbox', CheckboxField);
6450
+ addFieldType('select', SelectField);
6451
+ addFieldType('number', NumberField);
6452
+ addFieldType('cascade', CascadeField);
6453
+ addFieldType('year', DateField);
6454
+ addFieldType('month', DateField);
6455
+ addFieldType('monthrange', DateField);
6456
+ addFieldType('date', DateField);
6457
+ addFieldType('dates', DateField);
6458
+ addFieldType('week', DateField);
6459
+ addFieldType('datetime', DateField);
6460
+ addFieldType('datetimerange', DateField);
6461
+ addFieldType('daterange', DateField);
6462
+ addFieldType('datecCalendar', DatecCalendarField);
5404
6463
  addFieldType('timepicker', TimePickerField);
5405
6464
  addFieldType('timeselect', TimeSelectField);
5406
6465
  addFieldType('slider', SliderField);
@@ -5413,6 +6472,8 @@ const initDefaultField = () => {
5413
6472
  addFieldType('image', ImageUploadField);
5414
6473
  addFieldType('trigger', TriggerField);
5415
6474
  addFieldType('icons', IconsField);
6475
+ addFieldType('lnglat', LnglatField);
6476
+ addFieldType('fence', FenceField);
5416
6477
  };
5417
6478
 
5418
6479
  initDefaultField();
@@ -5435,7 +6496,7 @@ var FormField = {
5435
6496
  };
5436
6497
 
5437
6498
  //
5438
- var script$k = {
6499
+ var script$i = {
5439
6500
  name: 'ui-form-item',
5440
6501
  inheritAttrs: false,
5441
6502
  inject: ['uiForm'],
@@ -5617,10 +6678,10 @@ var script$k = {
5617
6678
  };
5618
6679
 
5619
6680
  /* script */
5620
- const __vue_script__$k = script$k;
6681
+ const __vue_script__$i = script$i;
5621
6682
  /* template */
5622
6683
 
5623
- var __vue_render__$i = function () {
6684
+ var __vue_render__$h = function () {
5624
6685
  var _vm = this;
5625
6686
 
5626
6687
  var _h = _vm.$createElement;
@@ -5677,10 +6738,10 @@ var __vue_render__$i = function () {
5677
6738
  }, [_vm._t("suffix")], 2) : _vm._e()], 2);
5678
6739
  };
5679
6740
 
5680
- var __vue_staticRenderFns__$i = [];
6741
+ var __vue_staticRenderFns__$h = [];
5681
6742
  /* style */
5682
6743
 
5683
- const __vue_inject_styles__$k = function (inject) {
6744
+ const __vue_inject_styles__$i = function (inject) {
5684
6745
  if (!inject) return;
5685
6746
  inject("data-v-abe604d6_0", {
5686
6747
  source: ".ui-form-item[data-v-abe604d6] .el-form-item__content{display:flex;flex-direction:row;align-items:center}.ui-form-item[data-v-abe604d6] .el-form-item__content>div{flex:1;display:flex;align-items:center}.ui-form-item[data-v-abe604d6] .el-form-item__content .ui-form-item-prefix,.ui-form-item[data-v-abe604d6] .el-form-item__content .ui-form-item-suffix{flex:none}.ui-form-item .info[data-v-abe604d6]{color:#909399;cursor:pointer;margin-left:4px}.ui-form-item.hidden-item[data-v-abe604d6]{display:none}.el-form--inline .ui-form-item[data-v-abe604d6] .el-form-item__label{flex:none;white-space:nowrap}.el-form--inline .ui-form-item[data-v-abe604d6] .el-form-item__content{display:inline-flex}",
@@ -5691,23 +6752,23 @@ const __vue_inject_styles__$k = function (inject) {
5691
6752
  /* scoped */
5692
6753
 
5693
6754
 
5694
- const __vue_scope_id__$k = "data-v-abe604d6";
6755
+ const __vue_scope_id__$i = "data-v-abe604d6";
5695
6756
  /* module identifier */
5696
6757
 
5697
- const __vue_module_identifier__$k = undefined;
6758
+ const __vue_module_identifier__$i = undefined;
5698
6759
  /* functional template */
5699
6760
 
5700
- const __vue_is_functional_template__$k = false;
6761
+ const __vue_is_functional_template__$i = false;
5701
6762
  /* style inject SSR */
5702
6763
 
5703
6764
  /* style inject shadow dom */
5704
6765
 
5705
- const __vue_component__$k = /*#__PURE__*/normalizeComponent({
5706
- render: __vue_render__$i,
5707
- staticRenderFns: __vue_staticRenderFns__$i
5708
- }, __vue_inject_styles__$k, __vue_script__$k, __vue_scope_id__$k, __vue_is_functional_template__$k, __vue_module_identifier__$k, false, createInjector, undefined, undefined);
6766
+ const __vue_component__$i = /*#__PURE__*/normalizeComponent({
6767
+ render: __vue_render__$h,
6768
+ staticRenderFns: __vue_staticRenderFns__$h
6769
+ }, __vue_inject_styles__$i, __vue_script__$i, __vue_scope_id__$i, __vue_is_functional_template__$i, __vue_module_identifier__$i, false, createInjector, undefined, undefined);
5709
6770
 
5710
- var FormItem = __vue_component__$k;
6771
+ var FormItem = __vue_component__$i;
5711
6772
 
5712
6773
  const Operator = {
5713
6774
  eq: '=',
@@ -5758,7 +6819,7 @@ var TableSelectItem = {
5758
6819
  };
5759
6820
 
5760
6821
  //
5761
- var script$j = {
6822
+ var script$h = {
5762
6823
  name: 'ui-form',
5763
6824
  inheritAttrs: false,
5764
6825
 
@@ -6126,10 +7187,10 @@ var script$j = {
6126
7187
  };
6127
7188
 
6128
7189
  /* script */
6129
- const __vue_script__$j = script$j;
7190
+ const __vue_script__$h = script$h;
6130
7191
  /* template */
6131
7192
 
6132
- var __vue_render__$h = function () {
7193
+ var __vue_render__$g = function () {
6133
7194
  var _vm = this;
6134
7195
 
6135
7196
  var _h = _vm.$createElement;
@@ -6156,10 +7217,10 @@ var __vue_render__$h = function () {
6156
7217
  }), _vm._v(" "), _vm._t("default")], 2);
6157
7218
  };
6158
7219
 
6159
- var __vue_staticRenderFns__$h = [];
7220
+ var __vue_staticRenderFns__$g = [];
6160
7221
  /* style */
6161
7222
 
6162
- const __vue_inject_styles__$j = function (inject) {
7223
+ const __vue_inject_styles__$h = function (inject) {
6163
7224
  if (!inject) return;
6164
7225
  inject("data-v-2a9aa6b4_0", {
6165
7226
  source: ".el-form--inline[data-v-2a9aa6b4] .el-form-item{display:inline-flex}",
@@ -6170,23 +7231,23 @@ const __vue_inject_styles__$j = function (inject) {
6170
7231
  /* scoped */
6171
7232
 
6172
7233
 
6173
- const __vue_scope_id__$j = "data-v-2a9aa6b4";
7234
+ const __vue_scope_id__$h = "data-v-2a9aa6b4";
6174
7235
  /* module identifier */
6175
7236
 
6176
- const __vue_module_identifier__$j = undefined;
7237
+ const __vue_module_identifier__$h = undefined;
6177
7238
  /* functional template */
6178
7239
 
6179
- const __vue_is_functional_template__$j = false;
7240
+ const __vue_is_functional_template__$h = false;
6180
7241
  /* style inject SSR */
6181
7242
 
6182
7243
  /* style inject shadow dom */
6183
7244
 
6184
- const __vue_component__$j = /*#__PURE__*/normalizeComponent({
6185
- render: __vue_render__$h,
6186
- staticRenderFns: __vue_staticRenderFns__$h
6187
- }, __vue_inject_styles__$j, __vue_script__$j, __vue_scope_id__$j, __vue_is_functional_template__$j, __vue_module_identifier__$j, false, createInjector, undefined, undefined);
7245
+ const __vue_component__$h = /*#__PURE__*/normalizeComponent({
7246
+ render: __vue_render__$g,
7247
+ staticRenderFns: __vue_staticRenderFns__$g
7248
+ }, __vue_inject_styles__$h, __vue_script__$h, __vue_scope_id__$h, __vue_is_functional_template__$h, __vue_module_identifier__$h, false, createInjector, undefined, undefined);
6188
7249
 
6189
- var Form$1 = __vue_component__$j;
7250
+ var Form$1 = __vue_component__$h;
6190
7251
 
6191
7252
  //
6192
7253
  //
@@ -6200,7 +7261,7 @@ var Form$1 = __vue_component__$j;
6200
7261
  //
6201
7262
  //
6202
7263
  //
6203
- var script$i = {
7264
+ var script$g = {
6204
7265
  name: 'ui-form-dialog',
6205
7266
  inheritAttrs: false,
6206
7267
  props: {
@@ -6393,10 +7454,10 @@ var script$i = {
6393
7454
  };
6394
7455
 
6395
7456
  /* script */
6396
- const __vue_script__$i = script$i;
7457
+ const __vue_script__$g = script$g;
6397
7458
  /* template */
6398
7459
 
6399
- var __vue_render__$g = function () {
7460
+ var __vue_render__$f = function () {
6400
7461
  var _vm = this;
6401
7462
 
6402
7463
  var _h = _vm.$createElement;
@@ -6455,10 +7516,10 @@ var __vue_render__$g = function () {
6455
7516
  }, [_vm._v(_vm._s(_vm.confirmText))])], 1) : _vm._e()], 2)], 1);
6456
7517
  };
6457
7518
 
6458
- var __vue_staticRenderFns__$g = [];
7519
+ var __vue_staticRenderFns__$f = [];
6459
7520
  /* style */
6460
7521
 
6461
- const __vue_inject_styles__$i = function (inject) {
7522
+ const __vue_inject_styles__$g = function (inject) {
6462
7523
  if (!inject) return;
6463
7524
  inject("data-v-02f7d8d6_0", {
6464
7525
  source: ".action-button[data-v-02f7d8d6]{text-align:right;margin:0 -20px -20px;padding:10px 20px;border-top:1px solid #e8e8e8}",
@@ -6469,23 +7530,23 @@ const __vue_inject_styles__$i = function (inject) {
6469
7530
  /* scoped */
6470
7531
 
6471
7532
 
6472
- const __vue_scope_id__$i = "data-v-02f7d8d6";
7533
+ const __vue_scope_id__$g = "data-v-02f7d8d6";
6473
7534
  /* module identifier */
6474
7535
 
6475
- const __vue_module_identifier__$i = undefined;
7536
+ const __vue_module_identifier__$g = undefined;
6476
7537
  /* functional template */
6477
7538
 
6478
- const __vue_is_functional_template__$i = false;
7539
+ const __vue_is_functional_template__$g = false;
6479
7540
  /* style inject SSR */
6480
7541
 
6481
7542
  /* style inject shadow dom */
6482
7543
 
6483
- const __vue_component__$i = /*#__PURE__*/normalizeComponent({
6484
- render: __vue_render__$g,
6485
- staticRenderFns: __vue_staticRenderFns__$g
6486
- }, __vue_inject_styles__$i, __vue_script__$i, __vue_scope_id__$i, __vue_is_functional_template__$i, __vue_module_identifier__$i, false, createInjector, undefined, undefined);
7544
+ const __vue_component__$g = /*#__PURE__*/normalizeComponent({
7545
+ render: __vue_render__$f,
7546
+ staticRenderFns: __vue_staticRenderFns__$f
7547
+ }, __vue_inject_styles__$g, __vue_script__$g, __vue_scope_id__$g, __vue_is_functional_template__$g, __vue_module_identifier__$g, false, createInjector, undefined, undefined);
6487
7548
 
6488
- var FormDialog = __vue_component__$i;
7549
+ var FormDialog = __vue_component__$g;
6489
7550
 
6490
7551
  // 判断参数是否是其中之一
6491
7552
  function oneOf(value, validList) {
@@ -6617,7 +7678,7 @@ const off = function () {
6617
7678
 
6618
7679
  //
6619
7680
  const prefixCls = 'ui-drawer';
6620
- var script$h = {
7681
+ var script$f = {
6621
7682
  name: 'UiDrawer',
6622
7683
  directives: {
6623
7684
  TransferDom
@@ -6868,10 +7929,10 @@ var script$h = {
6868
7929
  };
6869
7930
 
6870
7931
  /* script */
6871
- const __vue_script__$h = script$h;
7932
+ const __vue_script__$f = script$f;
6872
7933
  /* template */
6873
7934
 
6874
- var __vue_render__$f = function () {
7935
+ var __vue_render__$e = function () {
6875
7936
  var _vm = this;
6876
7937
 
6877
7938
  var _h = _vm.$createElement;
@@ -6958,10 +8019,10 @@ var __vue_render__$f = function () {
6958
8019
  })], 2) : _vm._e()])])], 1)], 1);
6959
8020
  };
6960
8021
 
6961
- var __vue_staticRenderFns__$f = [];
8022
+ var __vue_staticRenderFns__$e = [];
6962
8023
  /* style */
6963
8024
 
6964
- const __vue_inject_styles__$h = function (inject) {
8025
+ const __vue_inject_styles__$f = function (inject) {
6965
8026
  if (!inject) return;
6966
8027
  inject("data-v-0c67e85e_0", {
6967
8028
  source: ".ui-drawer{width:auto;height:100%;position:fixed;top:0}.ui-drawer-inner{position:absolute}.ui-drawer-left{left:0}.ui-drawer-right{right:0}.ui-drawer-hidden{display:none!important}.ui-drawer-wrap{position:fixed;overflow:auto;top:0;right:0;bottom:0;left:0;z-index:1000;-webkit-overflow-scrolling:touch;outline:0}.ui-drawer-wrap-inner{position:absolute;overflow:hidden}.ui-drawer-wrap-dragging{user-select:none}.ui-drawer-wrap *{-webkit-tap-highlight-color:transparent}.ui-drawer-mask{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(55,55,55,.6);height:100%;z-index:1000}.ui-drawer-mask-hidden{display:none}.ui-drawer-mask-inner{position:absolute}.ui-drawer-content{width:100%;height:100%;position:absolute;top:0;bottom:0;background-color:#fff;border:0;background-clip:padding-box;box-shadow:0 4px 12px rgba(0,0,0,.15)}.ui-drawer-content-no-mask{pointer-events:auto}.ui-drawer-header{border-bottom:1px solid #e8eaec;padding:14px 16px;line-height:1}.ui-drawer-header p,.ui-drawer-header-inner{display:inline-block;width:100%;height:20px;line-height:20px;font-size:16px;color:#17233d;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-drawer-close{z-index:1;font-size:12px;position:absolute;right:15px;top:15px;overflow:hidden;cursor:pointer}.ui-drawer-close .el-icon-close{font-size:20px;color:#999;transition:color .2s ease;position:relative;top:1px}.ui-drawer-close .el-icon-close:hover{color:#444}.ui-drawer-body{width:100%;height:calc(100% - 51px);padding:16px;font-size:14px;line-height:1.5;word-wrap:break-word;position:absolute;overflow:auto;box-sizing:border-box}.ui-drawer-no-header .ui-drawer-body{height:100%}.ui-drawer-no-mask{pointer-events:none}.ui-drawer-no-mask .ui-drawer-drag{pointer-events:auto}.ui-drawer-drag{top:0;height:100%;width:0;position:absolute}.ui-drawer-drag-left{right:0}.ui-drawer-drag-move-trigger{width:8px;height:100px;line-height:100px;position:absolute;top:50%;background:#f3f3f3;transform:translate(-50%,-50%);border-radius:4px/6px;box-shadow:0 0 1px 1px rgba(0,0,0,.2);cursor:col-resize}.ui-drawer-drag-move-trigger-point{display:inline-block;width:50%;transform:translateX(50%)}.ui-drawer-drag-move-trigger-point i{display:block;border-bottom:1px solid silver;padding-bottom:2px}.fade-appear,.fade-enter-active{animation-duration:.15s;animation-fill-mode:both;animation-play-state:paused}.fade-leave-active{animation-duration:.15s;animation-fill-mode:both;animation-play-state:paused}.fade-appear,.fade-enter-active{animation-name:uiFadeInIn;animation-play-state:running}.fade-leave-active{animation-name:uiFadeInOut;animation-play-state:running}.fade-appear,.fade-enter-active{opacity:0;animation-timing-function:linear}.fade-leave-active{animation-timing-function:linear}@keyframes uiFadeIn{0%{opacity:0}100%{opacity:1}}@keyframes ivuFadeOut{0%{opacity:1}100%{opacity:0}}",
@@ -6972,26 +8033,26 @@ const __vue_inject_styles__$h = function (inject) {
6972
8033
  /* scoped */
6973
8034
 
6974
8035
 
6975
- const __vue_scope_id__$h = undefined;
8036
+ const __vue_scope_id__$f = undefined;
6976
8037
  /* module identifier */
6977
8038
 
6978
- const __vue_module_identifier__$h = undefined;
8039
+ const __vue_module_identifier__$f = undefined;
6979
8040
  /* functional template */
6980
8041
 
6981
- const __vue_is_functional_template__$h = false;
8042
+ const __vue_is_functional_template__$f = false;
6982
8043
  /* style inject SSR */
6983
8044
 
6984
8045
  /* style inject shadow dom */
6985
8046
 
6986
- const __vue_component__$h = /*#__PURE__*/normalizeComponent({
6987
- render: __vue_render__$f,
6988
- staticRenderFns: __vue_staticRenderFns__$f
6989
- }, __vue_inject_styles__$h, __vue_script__$h, __vue_scope_id__$h, __vue_is_functional_template__$h, __vue_module_identifier__$h, false, createInjector, undefined, undefined);
8047
+ const __vue_component__$f = /*#__PURE__*/normalizeComponent({
8048
+ render: __vue_render__$e,
8049
+ staticRenderFns: __vue_staticRenderFns__$e
8050
+ }, __vue_inject_styles__$f, __vue_script__$f, __vue_scope_id__$f, __vue_is_functional_template__$f, __vue_module_identifier__$f, false, createInjector, undefined, undefined);
6990
8051
 
6991
- var Drawer$1 = __vue_component__$h;
8052
+ var Drawer$1 = __vue_component__$f;
6992
8053
 
6993
8054
  //
6994
- var script$g = {
8055
+ var script$e = {
6995
8056
  name: 'ui-form-drawer',
6996
8057
  inheritAttrs: false,
6997
8058
  components: {
@@ -7198,10 +8259,10 @@ var script$g = {
7198
8259
  };
7199
8260
 
7200
8261
  /* script */
7201
- const __vue_script__$g = script$g;
8262
+ const __vue_script__$e = script$e;
7202
8263
  /* template */
7203
8264
 
7204
- var __vue_render__$e = function () {
8265
+ var __vue_render__$d = function () {
7205
8266
  var _vm = this;
7206
8267
 
7207
8268
  var _h = _vm.$createElement;
@@ -7260,10 +8321,10 @@ var __vue_render__$e = function () {
7260
8321
  }, [_vm._v(_vm._s(_vm.cancelText))])], 1) : _vm._e()]);
7261
8322
  };
7262
8323
 
7263
- var __vue_staticRenderFns__$e = [];
8324
+ var __vue_staticRenderFns__$d = [];
7264
8325
  /* style */
7265
8326
 
7266
- const __vue_inject_styles__$g = function (inject) {
8327
+ const __vue_inject_styles__$e = function (inject) {
7267
8328
  if (!inject) return;
7268
8329
  inject("data-v-61a29de6_0", {
7269
8330
  source: ".ui-form-drawer{display:flex;flex-direction:column;padding:0;outline:0}.ui-form-drawer .ui-drawer-body{flex:1;padding:0;overflow:hidden;display:flex;flex-direction:column}.ui-form-drawer .ui-drawer-body>.el-form{flex:1;overflow:auto}.ui-form-drawer .ui-drawer-body>.action-button{flex:none}.ui-form-drawer .ui-form-drawer-wrapper{flex:1;overflow:hidden}.ui-form-drawer .ui-form-drawer-wrapper .el-form{width:100%;height:100%;overflow:auto;padding:16px;box-sizing:border-box}.ui-form-drawer .action-button{flex:none;padding:16px;border-top:1px solid #e8eaec;display:flex;flex-direction:row-reverse}.ui-form-drawer .action-button button+button{margin-right:16px}.ui-form-drawer .action-button::after{content:'';clear:both}",
@@ -7274,23 +8335,23 @@ const __vue_inject_styles__$g = function (inject) {
7274
8335
  /* scoped */
7275
8336
 
7276
8337
 
7277
- const __vue_scope_id__$g = undefined;
8338
+ const __vue_scope_id__$e = undefined;
7278
8339
  /* module identifier */
7279
8340
 
7280
- const __vue_module_identifier__$g = undefined;
8341
+ const __vue_module_identifier__$e = undefined;
7281
8342
  /* functional template */
7282
8343
 
7283
- const __vue_is_functional_template__$g = false;
8344
+ const __vue_is_functional_template__$e = false;
7284
8345
  /* style inject SSR */
7285
8346
 
7286
8347
  /* style inject shadow dom */
7287
8348
 
7288
- const __vue_component__$g = /*#__PURE__*/normalizeComponent({
7289
- render: __vue_render__$e,
7290
- staticRenderFns: __vue_staticRenderFns__$e
7291
- }, __vue_inject_styles__$g, __vue_script__$g, __vue_scope_id__$g, __vue_is_functional_template__$g, __vue_module_identifier__$g, false, createInjector, undefined, undefined);
8349
+ const __vue_component__$e = /*#__PURE__*/normalizeComponent({
8350
+ render: __vue_render__$d,
8351
+ staticRenderFns: __vue_staticRenderFns__$d
8352
+ }, __vue_inject_styles__$e, __vue_script__$e, __vue_scope_id__$e, __vue_is_functional_template__$e, __vue_module_identifier__$e, false, createInjector, undefined, undefined);
7292
8353
 
7293
- var FormDrawer = __vue_component__$g;
8354
+ var FormDrawer = __vue_component__$e;
7294
8355
 
7295
8356
  //
7296
8357
  //
@@ -7301,7 +8362,7 @@ var FormDrawer = __vue_component__$g;
7301
8362
  //
7302
8363
  //
7303
8364
  //
7304
- var script$f = {
8365
+ var script$d = {
7305
8366
  name: 'ui-form-fieldset',
7306
8367
  props: {
7307
8368
  label: {
@@ -7360,10 +8421,10 @@ var script$f = {
7360
8421
  };
7361
8422
 
7362
8423
  /* script */
7363
- const __vue_script__$f = script$f;
8424
+ const __vue_script__$d = script$d;
7364
8425
  /* template */
7365
8426
 
7366
- var __vue_render__$d = function () {
8427
+ var __vue_render__$c = function () {
7367
8428
  var _vm = this;
7368
8429
 
7369
8430
  var _h = _vm.$createElement;
@@ -7386,7 +8447,7 @@ var __vue_render__$d = function () {
7386
8447
  }, [_vm._t("default")], 2)]);
7387
8448
  };
7388
8449
 
7389
- var __vue_staticRenderFns__$d = [function () {
8450
+ var __vue_staticRenderFns__$c = [function () {
7390
8451
  var _vm = this;
7391
8452
 
7392
8453
  var _h = _vm.$createElement;
@@ -7402,7 +8463,7 @@ var __vue_staticRenderFns__$d = [function () {
7402
8463
  }];
7403
8464
  /* style */
7404
8465
 
7405
- const __vue_inject_styles__$f = function (inject) {
8466
+ const __vue_inject_styles__$d = function (inject) {
7406
8467
  if (!inject) return;
7407
8468
  inject("data-v-f2017c28_0", {
7408
8469
  source: ".ui-form-fieldset[data-v-f2017c28]{padding:30px 20px 10px;margin:30px 0 20px;border:1px dashed #aaa;border-radius:2px;position:relative}.ui-form-fieldset.toggle.collapse[data-v-f2017c28]{padding:0;border-bottom:none}.ui-form-fieldset.toggle.collapse .ui-form-fieldset-legend[data-v-f2017c28]::after{content:'\\f107'}.ui-form-fieldset.toggle .ui-form-fieldset-legend[data-v-f2017c28]{cursor:pointer;font-family:FontAwesome,serif;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ui-form-fieldset.toggle .ui-form-fieldset-legend[data-v-f2017c28]::after{margin-left:4px;content:'\\f106'}.ui-form-fieldset>.ui-form-fieldset-legend[data-v-f2017c28]{position:absolute;top:-8px;padding:0 30px;margin:0;height:16px;line-height:16px;font-size:14px;color:#666;left:50%;transform:translateX(-50%);background:#fff;user-select:none}.ui-form-fieldset+.ui-form-fieldset[data-v-f2017c28]{margin-top:40px}",
@@ -7413,23 +8474,23 @@ const __vue_inject_styles__$f = function (inject) {
7413
8474
  /* scoped */
7414
8475
 
7415
8476
 
7416
- const __vue_scope_id__$f = "data-v-f2017c28";
8477
+ const __vue_scope_id__$d = "data-v-f2017c28";
7417
8478
  /* module identifier */
7418
8479
 
7419
- const __vue_module_identifier__$f = undefined;
8480
+ const __vue_module_identifier__$d = undefined;
7420
8481
  /* functional template */
7421
8482
 
7422
- const __vue_is_functional_template__$f = false;
8483
+ const __vue_is_functional_template__$d = false;
7423
8484
  /* style inject SSR */
7424
8485
 
7425
8486
  /* style inject shadow dom */
7426
8487
 
7427
- const __vue_component__$f = /*#__PURE__*/normalizeComponent({
7428
- render: __vue_render__$d,
7429
- staticRenderFns: __vue_staticRenderFns__$d
7430
- }, __vue_inject_styles__$f, __vue_script__$f, __vue_scope_id__$f, __vue_is_functional_template__$f, __vue_module_identifier__$f, false, createInjector, undefined, undefined);
8488
+ const __vue_component__$d = /*#__PURE__*/normalizeComponent({
8489
+ render: __vue_render__$c,
8490
+ staticRenderFns: __vue_staticRenderFns__$c
8491
+ }, __vue_inject_styles__$d, __vue_script__$d, __vue_scope_id__$d, __vue_is_functional_template__$d, __vue_module_identifier__$d, false, createInjector, undefined, undefined);
7431
8492
 
7432
- var FormFieldset = __vue_component__$f;
8493
+ var FormFieldset = __vue_component__$d;
7433
8494
 
7434
8495
  var Form = {
7435
8496
  install: Vue => {
@@ -7469,7 +8530,7 @@ var BindTable = {
7469
8530
  //
7470
8531
  //
7471
8532
  //
7472
- var script$e = {
8533
+ var script$c = {
7473
8534
  name: 'ui-fill-view',
7474
8535
  props: {
7475
8536
  direction: {
@@ -7488,10 +8549,10 @@ var script$e = {
7488
8549
  };
7489
8550
 
7490
8551
  /* script */
7491
- const __vue_script__$e = script$e;
8552
+ const __vue_script__$c = script$c;
7492
8553
  /* template */
7493
8554
 
7494
- var __vue_render__$c = function () {
8555
+ var __vue_render__$b = function () {
7495
8556
  var _vm = this;
7496
8557
 
7497
8558
  var _h = _vm.$createElement;
@@ -7506,10 +8567,10 @@ var __vue_render__$c = function () {
7506
8567
  }, [_vm._t("default")], 2)]);
7507
8568
  };
7508
8569
 
7509
- var __vue_staticRenderFns__$c = [];
8570
+ var __vue_staticRenderFns__$b = [];
7510
8571
  /* style */
7511
8572
 
7512
- const __vue_inject_styles__$e = function (inject) {
8573
+ const __vue_inject_styles__$c = function (inject) {
7513
8574
  if (!inject) return;
7514
8575
  inject("data-v-71000ef8_0", {
7515
8576
  source: ".ui-fill-view[data-v-71000ef8]{flex:1;position:relative}.ui-fill-view .wrapper[data-v-71000ef8]{position:absolute;top:0;bottom:0;left:0;right:0;display:flex;flex-direction:column}",
@@ -7520,23 +8581,23 @@ const __vue_inject_styles__$e = function (inject) {
7520
8581
  /* scoped */
7521
8582
 
7522
8583
 
7523
- const __vue_scope_id__$e = "data-v-71000ef8";
8584
+ const __vue_scope_id__$c = "data-v-71000ef8";
7524
8585
  /* module identifier */
7525
8586
 
7526
- const __vue_module_identifier__$e = undefined;
8587
+ const __vue_module_identifier__$c = undefined;
7527
8588
  /* functional template */
7528
8589
 
7529
- const __vue_is_functional_template__$e = false;
8590
+ const __vue_is_functional_template__$c = false;
7530
8591
  /* style inject SSR */
7531
8592
 
7532
8593
  /* style inject shadow dom */
7533
8594
 
7534
- const __vue_component__$e = /*#__PURE__*/normalizeComponent({
7535
- render: __vue_render__$c,
7536
- staticRenderFns: __vue_staticRenderFns__$c
7537
- }, __vue_inject_styles__$e, __vue_script__$e, __vue_scope_id__$e, __vue_is_functional_template__$e, __vue_module_identifier__$e, false, createInjector, undefined, undefined);
8595
+ const __vue_component__$c = /*#__PURE__*/normalizeComponent({
8596
+ render: __vue_render__$b,
8597
+ staticRenderFns: __vue_staticRenderFns__$b
8598
+ }, __vue_inject_styles__$c, __vue_script__$c, __vue_scope_id__$c, __vue_is_functional_template__$c, __vue_module_identifier__$c, false, createInjector, undefined, undefined);
7538
8599
 
7539
- var FillView$1 = __vue_component__$e;
8600
+ var FillView$1 = __vue_component__$c;
7540
8601
 
7541
8602
  /**
7542
8603
  * 导出
@@ -7655,7 +8716,7 @@ var ExportsMixin = {
7655
8716
  //
7656
8717
  //
7657
8718
  //
7658
- var script$d = {
8719
+ var script$b = {
7659
8720
  name: 'remote-exports-dialog',
7660
8721
  props: {
7661
8722
  visible: Boolean,
@@ -7847,10 +8908,10 @@ var script$d = {
7847
8908
  };
7848
8909
 
7849
8910
  /* script */
7850
- const __vue_script__$d = script$d;
8911
+ const __vue_script__$b = script$b;
7851
8912
  /* template */
7852
8913
 
7853
- var __vue_render__$b = function () {
8914
+ var __vue_render__$a = function () {
7854
8915
  var _vm = this;
7855
8916
 
7856
8917
  var _h = _vm.$createElement;
@@ -7978,10 +9039,10 @@ var __vue_render__$b = function () {
7978
9039
  }), 1)], 1)], 1)])]);
7979
9040
  };
7980
9041
 
7981
- var __vue_staticRenderFns__$b = [];
9042
+ var __vue_staticRenderFns__$a = [];
7982
9043
  /* style */
7983
9044
 
7984
- const __vue_inject_styles__$d = function (inject) {
9045
+ const __vue_inject_styles__$b = function (inject) {
7985
9046
  if (!inject) return;
7986
9047
  inject("data-v-8a0ac17c_0", {
7987
9048
  source: ".exports-dialog-wrapper[data-v-8a0ac17c]{display:flex;align-items:center;flex-direction:column;max-height:320px;overflow:auto}.exports-dialog-wrapper h3[data-v-8a0ac17c]{text-align:center;margin-bottom:15px}.exports-dialog-wrapper .exports-from[data-v-8a0ac17c] .el-form-item{margin-right:0}.exports-dialog-wrapper .exports-from[data-v-8a0ac17c] .el-form-item .el-input__inner{width:60px;text-align:center}.exports-dialog-wrapper .start-input[data-v-8a0ac17c] .el-input-group__append{border-radius:0;border-right:0}.exports-dialog-wrapper .end-input[data-v-8a0ac17c] .el-input__inner{border-radius:0}",
@@ -7992,27 +9053,27 @@ const __vue_inject_styles__$d = function (inject) {
7992
9053
  /* scoped */
7993
9054
 
7994
9055
 
7995
- const __vue_scope_id__$d = "data-v-8a0ac17c";
9056
+ const __vue_scope_id__$b = "data-v-8a0ac17c";
7996
9057
  /* module identifier */
7997
9058
 
7998
- const __vue_module_identifier__$d = undefined;
9059
+ const __vue_module_identifier__$b = undefined;
7999
9060
  /* functional template */
8000
9061
 
8001
- const __vue_is_functional_template__$d = false;
9062
+ const __vue_is_functional_template__$b = false;
8002
9063
  /* style inject SSR */
8003
9064
 
8004
9065
  /* style inject shadow dom */
8005
9066
 
8006
- const __vue_component__$d = /*#__PURE__*/normalizeComponent({
8007
- render: __vue_render__$b,
8008
- staticRenderFns: __vue_staticRenderFns__$b
8009
- }, __vue_inject_styles__$d, __vue_script__$d, __vue_scope_id__$d, __vue_is_functional_template__$d, __vue_module_identifier__$d, false, createInjector, undefined, undefined);
9067
+ const __vue_component__$b = /*#__PURE__*/normalizeComponent({
9068
+ render: __vue_render__$a,
9069
+ staticRenderFns: __vue_staticRenderFns__$a
9070
+ }, __vue_inject_styles__$b, __vue_script__$b, __vue_scope_id__$b, __vue_is_functional_template__$b, __vue_module_identifier__$b, false, createInjector, undefined, undefined);
8010
9071
 
8011
- var RemoteExportsDialog = __vue_component__$d;
9072
+ var RemoteExportsDialog = __vue_component__$b;
8012
9073
 
8013
9074
  //
8014
9075
  let tableIdSeed = 1;
8015
- var script$c = {
9076
+ var script$a = {
8016
9077
  name: 'ui-table',
8017
9078
 
8018
9079
  provide() {
@@ -8845,10 +9906,10 @@ var script$c = {
8845
9906
  };
8846
9907
 
8847
9908
  /* script */
8848
- const __vue_script__$c = script$c;
9909
+ const __vue_script__$a = script$a;
8849
9910
  /* template */
8850
9911
 
8851
- var __vue_render__$a = function () {
9912
+ var __vue_render__$9 = function () {
8852
9913
  var _vm = this;
8853
9914
 
8854
9915
  var _h = _vm.$createElement;
@@ -8958,13 +10019,13 @@ var __vue_render__$a = function () {
8958
10019
  })], 1);
8959
10020
  };
8960
10021
 
8961
- var __vue_staticRenderFns__$a = [];
10022
+ var __vue_staticRenderFns__$9 = [];
8962
10023
  /* style */
8963
10024
 
8964
- const __vue_inject_styles__$c = function (inject) {
10025
+ const __vue_inject_styles__$a = function (inject) {
8965
10026
  if (!inject) return;
8966
- inject("data-v-7303d635_0", {
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(../../assets/svg/empty.svg) 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}",
10027
+ inject("data-v-2c1fbdee_0", {
10028
+ 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+CiAgICAgIDxlbGxpcHNlIGZpbGwtb3BhY2l0eT0iLjgiIGZpbGw9IiNGNUY1RjciIGN4PSI2Ny43OTciIGN5PSIxMDYuODkiIHJ4PSI2Ny43OTciIHJ5PSIxMi42NjgiPjwvZWxsaXBzZT4KICAgICAgPHBhdGggZD0iTTEyMi4wMzQgNjkuNjc0TDk4LjEwOSA0MC4yMjljLTEuMTQ4LTEuMzg2LTIuODI2LTIuMjI1LTQuNTkzLTIuMjI1aC01MS40NGMtMS43NjYgMC0zLjQ0NC44MzktNC41OTIgMi4yMjVMMTMuNTYgNjkuNjc0djE1LjM4M2gxMDguNDc1VjY5LjY3NHoiIGZpbGw9IiNBRUI4QzIiPjwvcGF0aD4KICAgICAgPHBhdGggZD0iTTEwMS41MzcgODYuMjE0TDgwLjYzIDYxLjEwMmMtMS4wMDEtMS4yMDctMi41MDctMS44NjctNC4wNDgtMS44NjdIMzEuN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zLTUuNDI2IDUuMjUtNS40MjZoMjYuMzE4djMzLjU2OWMwIC42MTctLjA3NyAxLjIxNi0uMjIxIDEuNzg5eiIKICAgICAgICBmaWxsPSIjRENFMEU2Ij48L3BhdGg+CiAgICA8L2c+CiAgICA8cGF0aCBkPSJNMTQ5LjEyMSAzMy4yOTJsLTYuODMgMi42NWExIDEgMCAwIDEtMS4zMTctMS4yM2wxLjkzNy02LjIwN2MtMi41ODktMi45NDQtNC4xMDktNi41MzQtNC4xMDktMTAuNDA4QzEzOC44MDIgOC4xMDIgMTQ4LjkyIDAgMTYxLjQwMiAwIDE3My44ODEgMCAxODQgOC4xMDIgMTg0IDE4LjA5N2MwIDkuOTk1LTEwLjExOCAxOC4wOTctMjIuNTk5IDE4LjA5Ny00LjUyOCAwLTguNzQ0LTEuMDY2LTEyLjI4LTIuOTAyeiIgZmlsbD0iI0RDRTBFNiI+PC9wYXRoPgogICAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTQ5LjY1IDE1LjM4MykiIGZpbGw9IiNGRkYiPgogICAgICA8ZWxsaXBzZSBjeD0iMjAuNjU0IiBjeT0iMy4xNjciIHJ4PSIyLjg0OSIgcnk9IjIuODE1Ij48L2VsbGlwc2U+CiAgICAgIDxwYXRoIGQ9Ik01LjY5OCA1LjYzSDBMMi44OTguNzA0ek05LjI1OS43MDRoNC45ODVWNS42M0g5LjI1OXoiPjwvcGF0aD4KICAgIDwvZz4KICA8L2c+Cjwvc3ZnPgo=) center top no-repeat;background-size:auto 100px;color:rgba(0,0,0,.65);font-size:14px;line-height:22px;text-align:center}.column-label{width:80px;display:inline-block;vertical-align:middle;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-table-column-action .el-button{box-shadow:none;padding:0;line-height:inherit}",
8968
10029
  map: undefined,
8969
10030
  media: undefined
8970
10031
  });
@@ -8972,23 +10033,23 @@ const __vue_inject_styles__$c = function (inject) {
8972
10033
  /* scoped */
8973
10034
 
8974
10035
 
8975
- const __vue_scope_id__$c = undefined;
10036
+ const __vue_scope_id__$a = undefined;
8976
10037
  /* module identifier */
8977
10038
 
8978
- const __vue_module_identifier__$c = undefined;
10039
+ const __vue_module_identifier__$a = undefined;
8979
10040
  /* functional template */
8980
10041
 
8981
- const __vue_is_functional_template__$c = false;
10042
+ const __vue_is_functional_template__$a = false;
8982
10043
  /* style inject SSR */
8983
10044
 
8984
10045
  /* style inject shadow dom */
8985
10046
 
8986
- const __vue_component__$c = /*#__PURE__*/normalizeComponent({
8987
- render: __vue_render__$a,
8988
- staticRenderFns: __vue_staticRenderFns__$a
8989
- }, __vue_inject_styles__$c, __vue_script__$c, __vue_scope_id__$c, __vue_is_functional_template__$c, __vue_module_identifier__$c, false, createInjector, undefined, undefined);
10047
+ const __vue_component__$a = /*#__PURE__*/normalizeComponent({
10048
+ render: __vue_render__$9,
10049
+ staticRenderFns: __vue_staticRenderFns__$9
10050
+ }, __vue_inject_styles__$a, __vue_script__$a, __vue_scope_id__$a, __vue_is_functional_template__$a, __vue_module_identifier__$a, false, createInjector, undefined, undefined);
8990
10051
 
8991
- var Table$1 = __vue_component__$c;
10052
+ var Table$1 = __vue_component__$a;
8992
10053
 
8993
10054
  const Format = {
8994
10055
  Date: 'YYYY-MM-DD',
@@ -9006,7 +10067,7 @@ var Date$1 = {
9006
10067
  * 在 element-ui 的 el-table-column 组件上拓展出 tree 类型
9007
10068
  */
9008
10069
 
9009
- var script$b = {
10070
+ var script$9 = {
9010
10071
  name: 'ui-column',
9011
10072
  mixins: [TableColumn$1],
9012
10073
  inject: {
@@ -9334,12 +10395,12 @@ var script$b = {
9334
10395
  };
9335
10396
 
9336
10397
  /* script */
9337
- const __vue_script__$b = script$b;
10398
+ const __vue_script__$9 = script$9;
9338
10399
  /* template */
9339
10400
 
9340
10401
  /* style */
9341
10402
 
9342
- const __vue_inject_styles__$b = function (inject) {
10403
+ const __vue_inject_styles__$9 = function (inject) {
9343
10404
  if (!inject) return;
9344
10405
  inject("data-v-90b208a6_0", {
9345
10406
  source: ".tree-toggle{display:inline-flex;width:24px;align-items:center;justify-content:center}.tree-toggle.pointer{cursor:pointer}",
@@ -9350,20 +10411,20 @@ const __vue_inject_styles__$b = function (inject) {
9350
10411
  /* scoped */
9351
10412
 
9352
10413
 
9353
- const __vue_scope_id__$b = undefined;
10414
+ const __vue_scope_id__$9 = undefined;
9354
10415
  /* module identifier */
9355
10416
 
9356
- const __vue_module_identifier__$b = undefined;
10417
+ const __vue_module_identifier__$9 = undefined;
9357
10418
  /* functional template */
9358
10419
 
9359
- const __vue_is_functional_template__$b = undefined;
10420
+ const __vue_is_functional_template__$9 = undefined;
9360
10421
  /* style inject SSR */
9361
10422
 
9362
10423
  /* style inject shadow dom */
9363
10424
 
9364
- const __vue_component__$b = /*#__PURE__*/normalizeComponent({}, __vue_inject_styles__$b, __vue_script__$b, __vue_scope_id__$b, __vue_is_functional_template__$b, __vue_module_identifier__$b, false, createInjector, undefined, undefined);
10425
+ const __vue_component__$9 = /*#__PURE__*/normalizeComponent({}, __vue_inject_styles__$9, __vue_script__$9, __vue_scope_id__$9, __vue_is_functional_template__$9, __vue_module_identifier__$9, false, createInjector, undefined, undefined);
9365
10426
 
9366
- var Column = __vue_component__$b;
10427
+ var Column = __vue_component__$9;
9367
10428
 
9368
10429
  const actionButtonConfig = {
9369
10430
  '!key': (button, index) => {
@@ -10176,7 +11237,7 @@ var TableColumn = {
10176
11237
  //
10177
11238
  //
10178
11239
  //
10179
- var script$a = {
11240
+ var script$8 = {
10180
11241
  name: 'ui-table-pagination',
10181
11242
  inject: ['uiTable'],
10182
11243
  props: {
@@ -10246,10 +11307,10 @@ var script$a = {
10246
11307
  };
10247
11308
 
10248
11309
  /* script */
10249
- const __vue_script__$a = script$a;
11310
+ const __vue_script__$8 = script$8;
10250
11311
  /* template */
10251
11312
 
10252
- var __vue_render__$9 = function () {
11313
+ var __vue_render__$8 = function () {
10253
11314
  var _vm = this;
10254
11315
 
10255
11316
  var _h = _vm.$createElement;
@@ -10272,36 +11333,36 @@ var __vue_render__$9 = function () {
10272
11333
  }, 'el-pagination', _vm.$attrs, false), [_vm._t("default")], 2);
10273
11334
  };
10274
11335
 
10275
- var __vue_staticRenderFns__$9 = [];
11336
+ var __vue_staticRenderFns__$8 = [];
10276
11337
  /* style */
10277
11338
 
10278
- const __vue_inject_styles__$a = undefined;
11339
+ const __vue_inject_styles__$8 = undefined;
10279
11340
  /* scoped */
10280
11341
 
10281
- const __vue_scope_id__$a = "data-v-681d0726";
11342
+ const __vue_scope_id__$8 = "data-v-681d0726";
10282
11343
  /* module identifier */
10283
11344
 
10284
- const __vue_module_identifier__$a = undefined;
11345
+ const __vue_module_identifier__$8 = undefined;
10285
11346
  /* functional template */
10286
11347
 
10287
- const __vue_is_functional_template__$a = false;
11348
+ const __vue_is_functional_template__$8 = false;
10288
11349
  /* style inject */
10289
11350
 
10290
11351
  /* style inject SSR */
10291
11352
 
10292
11353
  /* style inject shadow dom */
10293
11354
 
10294
- const __vue_component__$a = /*#__PURE__*/normalizeComponent({
10295
- render: __vue_render__$9,
10296
- staticRenderFns: __vue_staticRenderFns__$9
10297
- }, __vue_inject_styles__$a, __vue_script__$a, __vue_scope_id__$a, __vue_is_functional_template__$a, __vue_module_identifier__$a, false, undefined, undefined, undefined);
11355
+ const __vue_component__$8 = /*#__PURE__*/normalizeComponent({
11356
+ render: __vue_render__$8,
11357
+ staticRenderFns: __vue_staticRenderFns__$8
11358
+ }, __vue_inject_styles__$8, __vue_script__$8, __vue_scope_id__$8, __vue_is_functional_template__$8, __vue_module_identifier__$8, false, undefined, undefined, undefined);
10298
11359
 
10299
- var TablePagination = __vue_component__$a;
11360
+ var TablePagination = __vue_component__$8;
10300
11361
 
10301
11362
  //
10302
11363
  const SEARCH_PREFIX = 'select';
10303
11364
  const SORT_PREFIX = 'sort';
10304
- var script$9 = {
11365
+ var script$7 = {
10305
11366
  name: 'ui-table-select',
10306
11367
  inject: {
10307
11368
  uiTable: {
@@ -10437,10 +11498,10 @@ var script$9 = {
10437
11498
  };
10438
11499
 
10439
11500
  /* script */
10440
- const __vue_script__$9 = script$9;
11501
+ const __vue_script__$7 = script$7;
10441
11502
  /* template */
10442
11503
 
10443
- var __vue_render__$8 = function () {
11504
+ var __vue_render__$7 = function () {
10444
11505
  var _vm = this;
10445
11506
 
10446
11507
  var _h = _vm.$createElement;
@@ -10481,10 +11542,10 @@ var __vue_render__$8 = function () {
10481
11542
  }), _vm._v(" "), _vm._t("end")], 2);
10482
11543
  };
10483
11544
 
10484
- var __vue_staticRenderFns__$8 = [];
11545
+ var __vue_staticRenderFns__$7 = [];
10485
11546
  /* style */
10486
11547
 
10487
- const __vue_inject_styles__$9 = function (inject) {
11548
+ const __vue_inject_styles__$7 = function (inject) {
10488
11549
  if (!inject) return;
10489
11550
  inject("data-v-1bff1b12_0", {
10490
11551
  source: ".ui-table-select{display:flex;align-items:center;flex-wrap:wrap}.ui-table-select .el-row{width:100%}.ui-table-select .fill{flex:1}.ui-table-select .el-form-item{margin-bottom:10px}.ui-table-select .el-form-item:last-child{margin-right:0}.ui-table-select .el-form-item,.ui-table-select .el-form-item.el-form-item--mini{margin-bottom:10px}",
@@ -10495,23 +11556,23 @@ const __vue_inject_styles__$9 = function (inject) {
10495
11556
  /* scoped */
10496
11557
 
10497
11558
 
10498
- const __vue_scope_id__$9 = undefined;
11559
+ const __vue_scope_id__$7 = undefined;
10499
11560
  /* module identifier */
10500
11561
 
10501
- const __vue_module_identifier__$9 = undefined;
11562
+ const __vue_module_identifier__$7 = undefined;
10502
11563
  /* functional template */
10503
11564
 
10504
- const __vue_is_functional_template__$9 = false;
11565
+ const __vue_is_functional_template__$7 = false;
10505
11566
  /* style inject SSR */
10506
11567
 
10507
11568
  /* style inject shadow dom */
10508
11569
 
10509
- const __vue_component__$9 = /*#__PURE__*/normalizeComponent({
10510
- render: __vue_render__$8,
10511
- staticRenderFns: __vue_staticRenderFns__$8
10512
- }, __vue_inject_styles__$9, __vue_script__$9, __vue_scope_id__$9, __vue_is_functional_template__$9, __vue_module_identifier__$9, false, createInjector, undefined, undefined);
11570
+ const __vue_component__$7 = /*#__PURE__*/normalizeComponent({
11571
+ render: __vue_render__$7,
11572
+ staticRenderFns: __vue_staticRenderFns__$7
11573
+ }, __vue_inject_styles__$7, __vue_script__$7, __vue_scope_id__$7, __vue_is_functional_template__$7, __vue_module_identifier__$7, false, createInjector, undefined, undefined);
10513
11574
 
10514
- var TableSelect = __vue_component__$9;
11575
+ var TableSelect = __vue_component__$7;
10515
11576
 
10516
11577
  var Table = {
10517
11578
  install: Vue => {
@@ -10615,7 +11676,7 @@ var Drag = {
10615
11676
  //
10616
11677
  //
10617
11678
  //
10618
- var script$8 = {
11679
+ var script$6 = {
10619
11680
  name: 'ui-dialog',
10620
11681
  props: {
10621
11682
  title: String,
@@ -10716,10 +11777,10 @@ var script$8 = {
10716
11777
  };
10717
11778
 
10718
11779
  /* script */
10719
- const __vue_script__$8 = script$8;
11780
+ const __vue_script__$6 = script$6;
10720
11781
  /* template */
10721
11782
 
10722
- var __vue_render__$7 = function () {
11783
+ var __vue_render__$6 = function () {
10723
11784
  var _vm = this;
10724
11785
 
10725
11786
  var _h = _vm.$createElement;
@@ -10780,10 +11841,10 @@ var __vue_render__$7 = function () {
10780
11841
  }), 1) : _vm._e()], 2);
10781
11842
  };
10782
11843
 
10783
- var __vue_staticRenderFns__$7 = [];
11844
+ var __vue_staticRenderFns__$6 = [];
10784
11845
  /* style */
10785
11846
 
10786
- const __vue_inject_styles__$8 = function (inject) {
11847
+ const __vue_inject_styles__$6 = function (inject) {
10787
11848
  if (!inject) return;
10788
11849
  inject("data-v-2fef274f_0", {
10789
11850
  source: ".ui-dialog[data-v-2fef274f] .el-dialog{margin-bottom:0}.ui-dialog[data-v-2fef274f] .el-dialog .title{position:relative;line-height:28px;padding:12px 48px 12px 24px;word-break:keep-all;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-bottom:1px solid #e8e8e8;color:#202124;font-weight:500;font-size:16px}.ui-dialog[data-v-2fef274f] .el-dialog .title .close{position:absolute;right:0;top:0;bottom:0;width:53px;height:53px;display:inline-block;text-align:center;cursor:pointer;transition:all .3s;user-select:none}.ui-dialog[data-v-2fef274f] .el-dialog .title .close:hover{color:var(--color-primary)}.ui-dialog[data-v-2fef274f] .el-dialog .title .close>i{font-size:20px;line-height:53px}[data-v-2fef274f] .el-form .ui-form-fieldset:first-child{margin-top:0}[data-v-2fef274f] .el-form .ui-form-fieldset:last-child{margin-bottom:0}[data-v-2fef274f] .el-dialog__header{padding:0;user-select:none}[data-v-2fef274f] .el-dialog__body{padding-bottom:20px}[data-v-2fef274f] .el-dialog__footer{padding:10px 20px;border-top:1px solid #dcdfe6}.el-dialog__footer .el-button[data-v-2fef274f]{border-radius:2px}@keyframes rotate-data-v-2fef274f{from{transform:rotate(0)}to{transform:rotate(360deg)}}",
@@ -10794,23 +11855,23 @@ const __vue_inject_styles__$8 = function (inject) {
10794
11855
  /* scoped */
10795
11856
 
10796
11857
 
10797
- const __vue_scope_id__$8 = "data-v-2fef274f";
11858
+ const __vue_scope_id__$6 = "data-v-2fef274f";
10798
11859
  /* module identifier */
10799
11860
 
10800
- const __vue_module_identifier__$8 = undefined;
11861
+ const __vue_module_identifier__$6 = undefined;
10801
11862
  /* functional template */
10802
11863
 
10803
- const __vue_is_functional_template__$8 = false;
11864
+ const __vue_is_functional_template__$6 = false;
10804
11865
  /* style inject SSR */
10805
11866
 
10806
11867
  /* style inject shadow dom */
10807
11868
 
10808
- const __vue_component__$8 = /*#__PURE__*/normalizeComponent({
10809
- render: __vue_render__$7,
10810
- staticRenderFns: __vue_staticRenderFns__$7
10811
- }, __vue_inject_styles__$8, __vue_script__$8, __vue_scope_id__$8, __vue_is_functional_template__$8, __vue_module_identifier__$8, false, createInjector, undefined, undefined);
11869
+ const __vue_component__$6 = /*#__PURE__*/normalizeComponent({
11870
+ render: __vue_render__$6,
11871
+ staticRenderFns: __vue_staticRenderFns__$6
11872
+ }, __vue_inject_styles__$6, __vue_script__$6, __vue_scope_id__$6, __vue_is_functional_template__$6, __vue_module_identifier__$6, false, createInjector, undefined, undefined);
10812
11873
 
10813
- var Dialog$1 = __vue_component__$8;
11874
+ var Dialog$1 = __vue_component__$6;
10814
11875
 
10815
11876
  var Dialog = {
10816
11877
  install: Vue => {
@@ -10837,15 +11898,15 @@ var Fragment = {
10837
11898
  //
10838
11899
  //
10839
11900
  //
10840
- var script$7 = {
11901
+ var script$5 = {
10841
11902
  name: 'UiProvider'
10842
11903
  };
10843
11904
 
10844
11905
  /* script */
10845
- const __vue_script__$7 = script$7;
11906
+ const __vue_script__$5 = script$5;
10846
11907
  /* template */
10847
11908
 
10848
- var __vue_render__$6 = function () {
11909
+ var __vue_render__$5 = function () {
10849
11910
  var _vm = this;
10850
11911
 
10851
11912
  var _h = _vm.$createElement;
@@ -10859,31 +11920,31 @@ var __vue_render__$6 = function () {
10859
11920
  }, [_c('router-view')], 1);
10860
11921
  };
10861
11922
 
10862
- var __vue_staticRenderFns__$6 = [];
11923
+ var __vue_staticRenderFns__$5 = [];
10863
11924
  /* style */
10864
11925
 
10865
- const __vue_inject_styles__$7 = undefined;
11926
+ const __vue_inject_styles__$5 = undefined;
10866
11927
  /* scoped */
10867
11928
 
10868
- const __vue_scope_id__$7 = "data-v-3f1cadfa";
11929
+ const __vue_scope_id__$5 = "data-v-3f1cadfa";
10869
11930
  /* module identifier */
10870
11931
 
10871
- const __vue_module_identifier__$7 = undefined;
11932
+ const __vue_module_identifier__$5 = undefined;
10872
11933
  /* functional template */
10873
11934
 
10874
- const __vue_is_functional_template__$7 = false;
11935
+ const __vue_is_functional_template__$5 = false;
10875
11936
  /* style inject */
10876
11937
 
10877
11938
  /* style inject SSR */
10878
11939
 
10879
11940
  /* style inject shadow dom */
10880
11941
 
10881
- const __vue_component__$7 = /*#__PURE__*/normalizeComponent({
10882
- render: __vue_render__$6,
10883
- staticRenderFns: __vue_staticRenderFns__$6
10884
- }, __vue_inject_styles__$7, __vue_script__$7, __vue_scope_id__$7, __vue_is_functional_template__$7, __vue_module_identifier__$7, false, undefined, undefined, undefined);
11942
+ const __vue_component__$5 = /*#__PURE__*/normalizeComponent({
11943
+ render: __vue_render__$5,
11944
+ staticRenderFns: __vue_staticRenderFns__$5
11945
+ }, __vue_inject_styles__$5, __vue_script__$5, __vue_scope_id__$5, __vue_is_functional_template__$5, __vue_module_identifier__$5, false, undefined, undefined, undefined);
10885
11946
 
10886
- var Provider$1 = __vue_component__$7;
11947
+ var Provider$1 = __vue_component__$5;
10887
11948
 
10888
11949
  var Provider = {
10889
11950
  install: Vue => {
@@ -10912,7 +11973,7 @@ var Permission$1 = {
10912
11973
  identity = ''
10913
11974
  } = context.props;
10914
11975
 
10915
- if (permission(identity)) {
11976
+ if (!permission(identity)) {
10916
11977
  return null;
10917
11978
  }
10918
11979
 
@@ -11013,336 +12074,6 @@ var FillView = {
11013
12074
  }
11014
12075
  };
11015
12076
 
11016
- var script$6 = {
11017
- name: 'head-menu-submenu',
11018
- inject: ['headMenu'],
11019
- props: {
11020
- item: Object
11021
- },
11022
- computed: {
11023
- isLeaf() {
11024
- const {
11025
- children
11026
- } = this.item;
11027
- return !Array.isArray(children) || children.length <= 0;
11028
- },
11029
-
11030
- index() {
11031
- const {
11032
- url,
11033
- id
11034
- } = this.item;
11035
-
11036
- if (this.isRouter) {
11037
- return url || id + '';
11038
- }
11039
-
11040
- return id + '';
11041
- },
11042
-
11043
- route() {
11044
- const {
11045
- url
11046
- } = this.item;
11047
- return url;
11048
- },
11049
-
11050
- isRouter() {
11051
- return this.headMenu.router;
11052
- },
11053
-
11054
- theme() {
11055
- return this.headMenu.theme;
11056
- },
11057
-
11058
- popperClass() {
11059
- return ['nav-menu-submenu-popup', this.theme].join(' ');
11060
- }
11061
-
11062
- },
11063
-
11064
- render(createElement) {
11065
- if (this.isLeaf) {
11066
- return createElement('el-menu-item', {
11067
- props: {
11068
- index: this.index,
11069
- route: this.route
11070
- }
11071
- }, [createElement('template', {
11072
- slot: 'title'
11073
- }, [this.item.name])]);
11074
- }
11075
-
11076
- return createElement('el-submenu', {
11077
- props: {
11078
- index: this.index,
11079
- popperClass: this.popperClass,
11080
- popperAppendToBody: false
11081
- }
11082
- }, [createElement('template', {
11083
- slot: 'title'
11084
- }, [this.item.name]), ...this.item.children.map(child => createElement('head-menu-submenu', {
11085
- key: child.id,
11086
- props: {
11087
- item: child
11088
- }
11089
- }))]);
11090
- }
11091
-
11092
- };
11093
-
11094
- /* script */
11095
- const __vue_script__$6 = script$6;
11096
- /* template */
11097
-
11098
- /* style */
11099
-
11100
- const __vue_inject_styles__$6 = function (inject) {
11101
- if (!inject) return;
11102
- inject("data-v-233ada7a_0", {
11103
- source: ".el-menu--collapse .el-menu-item [class^=el-icon-],.el-menu--collapse .el-submenu .el-submenu__title [class^=el-icon-]{margin:0;vertical-align:middle;width:24px;text-align:center}.el-menu--collapse .el-menu-item .el-submenu__icon-arrow,.el-menu--collapse .el-submenu .el-submenu__title .el-submenu__icon-arrow{display:none}.el-menu--collapse .el-menu-item span,.el-menu--collapse .el-submenu .el-submenu__title span{height:0;width:0;overflow:hidden;visibility:hidden;display:inline-block}.nav-menu-submenu-popup .el-menu-item,.nav-menu-submenu-popup .el-submenu__title{height:40px;line-height:40px;font-size:12px}",
11104
- map: undefined,
11105
- media: undefined
11106
- });
11107
- };
11108
- /* scoped */
11109
-
11110
-
11111
- const __vue_scope_id__$6 = undefined;
11112
- /* module identifier */
11113
-
11114
- const __vue_module_identifier__$6 = undefined;
11115
- /* functional template */
11116
-
11117
- const __vue_is_functional_template__$6 = undefined;
11118
- /* style inject SSR */
11119
-
11120
- /* style inject shadow dom */
11121
-
11122
- const __vue_component__$6 = /*#__PURE__*/normalizeComponent({}, __vue_inject_styles__$6, __vue_script__$6, __vue_scope_id__$6, __vue_is_functional_template__$6, __vue_module_identifier__$6, false, createInjector, undefined, undefined);
11123
-
11124
- var MenuItem = __vue_component__$6;
11125
-
11126
- //
11127
- var script$5 = {
11128
- name: 'ui-head-menu',
11129
- components: {
11130
- MenuItem
11131
- },
11132
-
11133
- provide() {
11134
- return {
11135
- headMenu: this
11136
- };
11137
- },
11138
-
11139
- props: {
11140
- router: {
11141
- type: Boolean,
11142
- default: true
11143
- },
11144
- defaultActive: String,
11145
- mode: {
11146
- default: 'horizontal'
11147
- }
11148
- },
11149
-
11150
- data() {
11151
- return {
11152
- packUpWidth: 0
11153
- };
11154
- },
11155
-
11156
- computed: { ...mapState(['menus']),
11157
-
11158
- headMenu() {
11159
- // eslint-disable-next-line
11160
- return this.menus.filter(menu => [1, 2].includes(menu.type)).map(_ref => {
11161
- let {
11162
- children,
11163
- ...menu
11164
- } = _ref;
11165
- return menu;
11166
- });
11167
- },
11168
-
11169
- active() {
11170
- if (!this.router) {
11171
- return this.defaultActive;
11172
- }
11173
-
11174
- const currentPath = this.$route.path;
11175
- const isHeadRoute = this.headMenu.some(menu => menu.url === currentPath);
11176
-
11177
- if (isHeadRoute) {
11178
- return currentPath;
11179
- }
11180
-
11181
- const currentHeadMenu = this.getCurrentHeadMenu(currentPath, this.menus);
11182
- return currentHeadMenu && (currentHeadMenu.path || currentHeadMenu.url);
11183
- },
11184
-
11185
- menuWidth() {
11186
- return this.headMenu.reduce((total, item) => {
11187
- return total + (item.name || '').split('').length * 16 + 25 * 2; // 16:字体大小值; 25:左右padding/margin值
11188
- }, 60); // 100:菜单左边的margin值
11189
- },
11190
-
11191
- packUpIndex() {
11192
- if (this.packUpWidth <= 0) {
11193
- return -1;
11194
- }
11195
-
11196
- let index = -1;
11197
- let width = this.packUpWidth + 130; // 50:更多下拉菜单所占宽度
11198
-
11199
- for (let i = this.headMenu.length - 1; i >= 0; i--) {
11200
- const item = this.headMenu[i];
11201
- const currentWidth = (item.name || '').split('').length * 16 + 25 * 2;
11202
-
11203
- if (currentWidth >= width) {
11204
- index = i - 1;
11205
- break;
11206
- }
11207
-
11208
- width = width - currentWidth;
11209
- }
11210
-
11211
- return Math.max(0, index);
11212
- },
11213
-
11214
- displayMenus() {
11215
- if (this.packUpIndex === -1) {
11216
- return this.headMenu;
11217
- }
11218
-
11219
- const menus = this.headMenu.slice(0, this.packUpIndex);
11220
- const moreMenus = this.headMenu.slice(this.packUpIndex);
11221
- menus.push({
11222
- id: 'more',
11223
- name: '更多菜单',
11224
- children: moreMenus
11225
- });
11226
- return menus;
11227
- }
11228
-
11229
- },
11230
-
11231
- mounted() {
11232
- window.addEventListener('resize', this.onResize);
11233
- this.onResize();
11234
- const logo = document.querySelector('.page-header > .logo');
11235
- logo && logo.addEventListener('load', () => this.onResize());
11236
- },
11237
-
11238
- beforeDestroy() {
11239
- window.removeEventListener('resize', this.onResize);
11240
- },
11241
-
11242
- methods: {
11243
- onResize() {
11244
- clearTimeout(this.timer);
11245
- this.timer = setTimeout(() => {
11246
- const headerWidth = document.documentElement.clientWidth;
11247
- const logoEl = document.querySelector('.page-header > .logo');
11248
- const titleEl = document.querySelector('.page-header > .title');
11249
- const messageEl = document.querySelector('.page-header > .screen');
11250
- const usernameEl = document.querySelector('.page-header > .username');
11251
- const logoWidth = (logoEl && logoEl.offsetWidth || 0) + 20; // 20 margin
11252
-
11253
- const titleWidth = titleEl && titleEl.offsetWidth || 0;
11254
- const messageElWidth = messageEl && messageEl.offsetWidth || 0;
11255
- const usernameWidth = usernameEl && usernameEl.offsetWidth || 0;
11256
- const allowedMenuWidth = headerWidth - 60 - logoWidth - titleWidth - messageElWidth - usernameWidth;
11257
- this.packUpWidth = Math.max(0, this.menuWidth - allowedMenuWidth);
11258
- }, 50);
11259
- },
11260
-
11261
- getCurrentHeadMenu(path, menus) {
11262
- if (!Array.isArray(menus) || menus.length <= 0) {
11263
- return undefined;
11264
- }
11265
-
11266
- return menus.find(menu => {
11267
- const isMatched = (menu.children || []).some(childMenu => (childMenu.path || childMenu.url) === path);
11268
-
11269
- if (isMatched) {
11270
- return true;
11271
- }
11272
-
11273
- return this.getCurrentHeadMenu(path, menu.children);
11274
- });
11275
- }
11276
-
11277
- }
11278
- };
11279
-
11280
- /* script */
11281
- const __vue_script__$5 = script$5;
11282
- /* template */
11283
-
11284
- var __vue_render__$5 = function () {
11285
- var _vm = this;
11286
-
11287
- var _h = _vm.$createElement;
11288
-
11289
- var _c = _vm._self._c || _h;
11290
-
11291
- return _c('el-menu', _vm._g(_vm._b({
11292
- staticClass: "head-menu",
11293
- attrs: {
11294
- "mode": _vm.mode,
11295
- "router": _vm.router,
11296
- "default-active": _vm.active
11297
- }
11298
- }, 'el-menu', _vm.$attrs, false), _vm.$listeners), _vm._l(_vm.displayMenus, function (item) {
11299
- return _c('menu-item', {
11300
- key: item.id,
11301
- attrs: {
11302
- "item": item
11303
- }
11304
- });
11305
- }), 1);
11306
- };
11307
-
11308
- var __vue_staticRenderFns__$5 = [];
11309
- /* style */
11310
-
11311
- const __vue_inject_styles__$5 = function (inject) {
11312
- if (!inject) return;
11313
- inject("data-v-ef35c828_0", {
11314
- source: ".head-menu.el-menu{background-color:transparent;border-bottom:none}.head-menu.el-menu>.el-menu-item,.head-menu.el-menu>.el-submenu .el-submenu__title{font-size:16px;font-weight:400;color:inherit;height:var(--header-height);line-height:var(--header-height);padding:0 25px;border:none;box-sizing:border-box;transition:all .2s ease-in-out}.head-menu.el-menu>.el-menu-item span,.head-menu.el-menu>.el-submenu .el-submenu__title span{vertical-align:unset}.head-menu.el-menu>.el-menu-item i,.head-menu.el-menu>.el-submenu .el-submenu__title i{width:20px;font-size:14px}.head-menu.el-menu>.el-menu-item:not(.is-disabled):not(.is-active):focus,.head-menu.el-menu>.el-menu-item:not(.is-disabled):not(.is-active):hover,.head-menu.el-menu>.el-submenu:not(.is-disabled):not(.is-active):focus .el-submenu__title,.head-menu.el-menu>.el-submenu:not(.is-disabled):not(.is-active):hover .el-submenu__title{color:inherit;background-color:rgba(0,146,63,.3)}.head-menu.el-menu>.el-menu-item.is-active,.head-menu.el-menu>.el-submenu.is-active .el-submenu__title{color:inherit;background-color:rgba(0,146,63,.6)}.head-menu.el-menu .el-submenu__title i{color:inherit}",
11315
- map: undefined,
11316
- media: undefined
11317
- });
11318
- };
11319
- /* scoped */
11320
-
11321
-
11322
- const __vue_scope_id__$5 = undefined;
11323
- /* module identifier */
11324
-
11325
- const __vue_module_identifier__$5 = undefined;
11326
- /* functional template */
11327
-
11328
- const __vue_is_functional_template__$5 = false;
11329
- /* style inject SSR */
11330
-
11331
- /* style inject shadow dom */
11332
-
11333
- const __vue_component__$5 = /*#__PURE__*/normalizeComponent({
11334
- render: __vue_render__$5,
11335
- staticRenderFns: __vue_staticRenderFns__$5
11336
- }, __vue_inject_styles__$5, __vue_script__$5, __vue_scope_id__$5, __vue_is_functional_template__$5, __vue_module_identifier__$5, false, createInjector, undefined, undefined);
11337
-
11338
- var HeadMenu$1 = __vue_component__$5;
11339
-
11340
- var HeadMenu = {
11341
- install: Vue => {
11342
- Vue.component(HeadMenu$1.name, HeadMenu$1);
11343
- }
11344
- };
11345
-
11346
12077
  //
11347
12078
 
11348
12079
  const firstUpperCase = str => {
@@ -11634,7 +12365,7 @@ var script$3 = {
11634
12365
  },
11635
12366
 
11636
12367
  onContextMenu(event) {
11637
- const container = this.$el.querySelector(".scroll-nav__nav");
12368
+ const container = this.$el.querySelector(".ui-scroll-view__nav");
11638
12369
  const index = this.getChildContainIndex(container, event.target);
11639
12370
  const rect = this.$el.getBoundingClientRect();
11640
12371
 
@@ -11806,8 +12537,8 @@ var __vue_staticRenderFns__$3 = [];
11806
12537
 
11807
12538
  const __vue_inject_styles__$3 = function (inject) {
11808
12539
  if (!inject) return;
11809
- inject("data-v-d36fabca_0", {
11810
- source: ".history{flex:none;height:40px;position:relative;margin:10px 0 0}.history .history-tabs.scroll-nav__nav-wrap{left:0;right:0;top:0;bottom:0;position:absolute;align-items:flex-end}.history .history-tabs.scroll-nav__nav-wrap .scroll-nav__nav-scroll{flex:1}.history .history-tabs.scroll-nav__nav-wrap .scroll-nav__nav-control{width:20px;height:30px}.history .history-tabs.scroll-nav__nav-wrap .scroll-nav__nav-control.is-disabled .menu-nav-control::after,.history .history-tabs.scroll-nav__nav-wrap .scroll-nav__nav-control.is-disabled .menu-nav-control::before{background:var(--color-primary-light-3)}.history .history-tabs.scroll-nav__nav-wrap .scroll-nav__nav{align-items:flex-end}.history .history-tabs.scroll-nav__nav-wrap .menu-nav-control{height:30px}.history .history-tabs.scroll-nav__nav-wrap .menu-nav-control::after,.history .history-tabs.scroll-nav__nav-wrap .menu-nav-control::before{width:3px;height:12px;background:var(--color-primary-light-6)}.history .history-tabs.scroll-nav__nav-wrap .menu-nav-control::before{bottom:-2px}.history .history-tabs.scroll-nav__nav-wrap .menu-nav-control::after{top:-2px}.history .contextmenu{width:0;height:0;position:absolute;top:0;left:0}.history .contextmenu .modal{position:fixed;top:0;left:0;bottom:0;right:0;z-index:99}.history .history-menu{height:30px;color:#fff;font-size:14px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;cursor:pointer;background:rgba(83,109,139,.6);border-radius:5px 5px 0 0;transition:all .3s ease-in-out;position:relative;background:var(--color-primary-light-9)}.history .history-menu+.history-menu{border-left:1px solid var(--color-darken-primary-2)}.history .history-menu.is-active{height:40px;color:#fff;background:var(--color-darken-primary-2);text-shadow:2px 2px 2px rgba(0,0,0,.95);box-shadow:7px 5px 5px rgba(0,0,0,.2);z-index:1}.history .history-menu:hover i{opacity:1}.history .history-menu>span{flex:1;padding:0 25px}.history .history-menu>i{position:absolute;top:2px;right:3px;opacity:.3;width:14px;height:14px;font-size:12px;border-radius:50%;transition:opacity .3s ease-in-out}.history .history-menu>i:hover{background-color:var(--color-primary)}.history .el-tabs{background:0 0}.history .el-tabs>.el-tabs__header{background:0 0;border-bottom:none}.history .el-tabs>.el-tabs__header .el-tabs__nav{border:none}.history .el-tabs>.el-tabs__header .el-tabs__nav-wrap::after{content:unset}.history .el-tabs>.el-tabs__content{padding:0}.history .el-tabs .el-tabs__nav-next,.history .el-tabs .el-tabs__nav-prev{color:#536d8b;width:20px;line-height:39px;text-align:center;font-size:18px}.history .el-tabs .el-tabs__nav-prev{border-right:1px solid #ddd}.history .el-tabs .el-tabs__nav-next{border-left:1px solid #ddd}.history .el-tabs .el-tabs__item{margin:8px;border:none;height:34px;line-height:34px;background:#2e557e;box-shadow:0 3px 6px rgba(0,0,0,.16);color:#fff;display:inline-flex;flex-direction:row;align-items:center}.history .history-tab-title{width:6em;display:inline-block;vertical-align:middle}.history-dropdown{position:absolute;top:0;left:0}.history-contextmenu.el-popper{margin-top:0}",
12540
+ inject("data-v-500076e4_0", {
12541
+ source: ".history{flex:none;height:40px;position:relative;margin:10px 0 0}.history .history-tabs.ui-scroll-view__nav-wrap{left:0;right:0;top:0;bottom:0;position:absolute;align-items:flex-end}.history .history-tabs.ui-scroll-view__nav-wrap .ui-scroll-view__nav-scroll{flex:1}.history .history-tabs.ui-scroll-view__nav-wrap .ui-scroll-view__nav-control{width:20px;height:30px}.history .history-tabs.ui-scroll-view__nav-wrap .ui-scroll-view__nav-control.is-disabled .menu-nav-control::after,.history .history-tabs.ui-scroll-view__nav-wrap .ui-scroll-view__nav-control.is-disabled .menu-nav-control::before{background:var(--color-primary-light-3)}.history .history-tabs.ui-scroll-view__nav-wrap .ui-scroll-view__nav{align-items:flex-end}.history .history-tabs.ui-scroll-view__nav-wrap .menu-nav-control{height:30px}.history .history-tabs.ui-scroll-view__nav-wrap .menu-nav-control::after,.history .history-tabs.ui-scroll-view__nav-wrap .menu-nav-control::before{width:3px;height:12px;background:var(--color-primary-light-6)}.history .history-tabs.ui-scroll-view__nav-wrap .menu-nav-control::before{bottom:-2px}.history .history-tabs.ui-scroll-view__nav-wrap .menu-nav-control::after{top:-2px}.history .contextmenu{width:0;height:0;position:absolute;top:0;left:0}.history .contextmenu .modal{position:fixed;top:0;left:0;bottom:0;right:0;z-index:99}.history .history-menu{height:30px;color:#fff;font-size:14px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;cursor:pointer;background:rgba(83,109,139,.6);border-radius:5px 5px 0 0;transition:all .3s ease-in-out;position:relative;background:var(--color-primary-light-9)}.history .history-menu+.history-menu{border-left:1px solid var(--color-darken-primary-2)}.history .history-menu.is-active{height:40px;color:#fff;background:var(--color-darken-primary-2);text-shadow:2px 2px 2px rgba(0,0,0,.95);box-shadow:7px 5px 5px rgba(0,0,0,.2);z-index:1}.history .history-menu:hover i{opacity:1}.history .history-menu>span{flex:1;padding:0 25px}.history .history-menu>i{position:absolute;top:2px;right:3px;opacity:.3;width:14px;height:14px;font-size:12px;border-radius:50%;transition:opacity .3s ease-in-out}.history .history-menu>i:hover{background-color:var(--color-primary)}.history .el-tabs{background:0 0}.history .el-tabs>.el-tabs__header{background:0 0;border-bottom:none}.history .el-tabs>.el-tabs__header .el-tabs__nav{border:none}.history .el-tabs>.el-tabs__header .el-tabs__nav-wrap::after{content:unset}.history .el-tabs>.el-tabs__content{padding:0}.history .el-tabs .el-tabs__nav-next,.history .el-tabs .el-tabs__nav-prev{color:#536d8b;width:20px;line-height:39px;text-align:center;font-size:18px}.history .el-tabs .el-tabs__nav-prev{border-right:1px solid #ddd}.history .el-tabs .el-tabs__nav-next{border-left:1px solid #ddd}.history .el-tabs .el-tabs__item{margin:8px;border:none;height:34px;line-height:34px;background:#2e557e;box-shadow:0 3px 6px rgba(0,0,0,.16);color:#fff;display:inline-flex;flex-direction:row;align-items:center}.history .history-tab-title{width:6em;display:inline-block;vertical-align:middle}.history-dropdown{position:absolute;top:0;left:0}.history-contextmenu.el-popper{margin-top:0}",
11811
12542
  map: undefined,
11812
12543
  media: undefined
11813
12544
  });
@@ -12256,7 +12987,7 @@ var Page = {
12256
12987
  }
12257
12988
  };
12258
12989
 
12259
- const components = [Icon, Form, Table, Dialog, Drawer, Fragment, Provider, Permission, DocumentTitle$1, FillView, HeadMenu, History, Minimize, Page];
12990
+ const components = [Icon, Form, Table, Dialog, Drawer, Fragment, Provider, Permission, DocumentTitle$1, FillView, History, Minimize, Page];
12260
12991
  var Components = {
12261
12992
  install: (Vue, opt) => {
12262
12993
  components.forEach(component => {