@v2coding/ui 0.2.0 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -11
- package/dist/v2coding-ui.esm.js +543 -2040
- package/dist/v2coding-ui.min.js +2 -2
- package/dist/v2coding-ui.ssr.js +597 -2016
- package/package.json +53 -53
package/dist/v2coding-ui.esm.js
CHANGED
|
@@ -13,8 +13,6 @@ import { Quill, quillEditor } from 'vue-quill-editor';
|
|
|
13
13
|
import 'quill/dist/quill.core.css';
|
|
14
14
|
import 'quill/dist/quill.snow.css';
|
|
15
15
|
import 'quill/dist/quill.bubble.css';
|
|
16
|
-
import gcoord from 'gcoord';
|
|
17
|
-
import AMapLoader from '@amap/amap-jsapi-loader';
|
|
18
16
|
import { getPropByPath } from 'element-ui/lib/utils/util';
|
|
19
17
|
import { addResizeListener, removeResizeListener } from 'element-ui/lib/utils/resize-event';
|
|
20
18
|
import { Multipane, MultipaneResizer } from 'vue-multipane';
|
|
@@ -119,11 +117,6 @@ const DefaultSetting = {
|
|
|
119
117
|
timeout: 30000,
|
|
120
118
|
baseURL: process.env.VUE_APP_DOMAIN || 'http://localhost:8080' // eslint-disable-line
|
|
121
119
|
|
|
122
|
-
},
|
|
123
|
-
amap: {
|
|
124
|
-
version: '2.0',
|
|
125
|
-
key: process.env.VUE_APP_AMAP_KEY // eslint-disable-line
|
|
126
|
-
|
|
127
120
|
}
|
|
128
121
|
};
|
|
129
122
|
var DefaultSetting$1 = DefaultSetting;
|
|
@@ -664,8 +657,8 @@ const getSetting = () => {
|
|
|
664
657
|
return Objects.merge({}, setting);
|
|
665
658
|
};
|
|
666
659
|
|
|
667
|
-
/**
|
|
668
|
-
* 自动解析 get/post 请求并提示信息(解析返回信息中的 message/data 字段)
|
|
660
|
+
/**
|
|
661
|
+
* 自动解析 get/post 请求并提示信息(解析返回信息中的 message/data 字段)
|
|
669
662
|
*/
|
|
670
663
|
var AxiosWithMessage = {
|
|
671
664
|
methods: {
|
|
@@ -738,9 +731,9 @@ var AxiosWithMessage = {
|
|
|
738
731
|
}
|
|
739
732
|
};
|
|
740
733
|
|
|
741
|
-
/**
|
|
742
|
-
* 注: 需要在 data 中先配置好 api
|
|
743
|
-
* 提供 select/selectList/create/update/delete/deleteList 方法及每个方法请求时对应的请求状态
|
|
734
|
+
/**
|
|
735
|
+
* 注: 需要在 data 中先配置好 api
|
|
736
|
+
* 提供 select/selectList/create/update/delete/deleteList 方法及每个方法请求时对应的请求状态
|
|
744
737
|
*/
|
|
745
738
|
var EntityRequest = {
|
|
746
739
|
data() {
|
|
@@ -876,8 +869,8 @@ var EntityRequest = {
|
|
|
876
869
|
}
|
|
877
870
|
};
|
|
878
871
|
|
|
879
|
-
/**
|
|
880
|
-
* router 进入时自动执行 refresh 方法.(解决 keep-alive 缓存页面再次进入时统一刷新页面)
|
|
872
|
+
/**
|
|
873
|
+
* router 进入时自动执行 refresh 方法.(解决 keep-alive 缓存页面再次进入时统一刷新页面)
|
|
881
874
|
*/
|
|
882
875
|
var Refresh = {
|
|
883
876
|
beforeRouteEnter(to, from, next) {
|
|
@@ -898,11 +891,11 @@ var Refresh = {
|
|
|
898
891
|
|
|
899
892
|
var Utils = {
|
|
900
893
|
methods: {
|
|
901
|
-
/**
|
|
902
|
-
*
|
|
903
|
-
* @param {Number} min
|
|
904
|
-
* @param {Number} max
|
|
905
|
-
* @return {*}
|
|
894
|
+
/**
|
|
895
|
+
*
|
|
896
|
+
* @param {Number} min
|
|
897
|
+
* @param {Number} max
|
|
898
|
+
* @return {*}
|
|
906
899
|
*/
|
|
907
900
|
random() {
|
|
908
901
|
let min = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
|
|
@@ -942,9 +935,9 @@ var Mixins = {
|
|
|
942
935
|
}
|
|
943
936
|
};
|
|
944
937
|
|
|
945
|
-
/**
|
|
946
|
-
* 打印页面中的指定的 dom
|
|
947
|
-
* @param element elementNode
|
|
938
|
+
/**
|
|
939
|
+
* 打印页面中的指定的 dom
|
|
940
|
+
* @param element elementNode
|
|
948
941
|
*/
|
|
949
942
|
const print = element => {
|
|
950
943
|
if (!element || element.nodeType !== 1) {
|
|
@@ -965,9 +958,9 @@ const print = element => {
|
|
|
965
958
|
};
|
|
966
959
|
};
|
|
967
960
|
|
|
968
|
-
/**
|
|
969
|
-
* @param {Array|String} identities 权限标识
|
|
970
|
-
* @return {Boolean} 是否含有权限
|
|
961
|
+
/**
|
|
962
|
+
* @param {Array|String} identities 权限标识
|
|
963
|
+
* @return {Boolean} 是否含有权限
|
|
971
964
|
*/
|
|
972
965
|
|
|
973
966
|
const permission = identities => {
|
|
@@ -1078,7 +1071,7 @@ var Directives = {
|
|
|
1078
1071
|
};
|
|
1079
1072
|
|
|
1080
1073
|
//
|
|
1081
|
-
var script$
|
|
1074
|
+
var script$C = {
|
|
1082
1075
|
name: 'ui-icon',
|
|
1083
1076
|
props: {
|
|
1084
1077
|
name: String
|
|
@@ -1248,10 +1241,10 @@ function addStyle(id, css) {
|
|
|
1248
1241
|
}
|
|
1249
1242
|
|
|
1250
1243
|
/* script */
|
|
1251
|
-
const __vue_script__$
|
|
1244
|
+
const __vue_script__$D = script$C;
|
|
1252
1245
|
/* template */
|
|
1253
1246
|
|
|
1254
|
-
var __vue_render__$
|
|
1247
|
+
var __vue_render__$C = function () {
|
|
1255
1248
|
var _vm = this;
|
|
1256
1249
|
|
|
1257
1250
|
var _h = _vm.$createElement;
|
|
@@ -1270,13 +1263,13 @@ var __vue_render__$F = function () {
|
|
|
1270
1263
|
})]);
|
|
1271
1264
|
};
|
|
1272
1265
|
|
|
1273
|
-
var __vue_staticRenderFns__$
|
|
1266
|
+
var __vue_staticRenderFns__$C = [];
|
|
1274
1267
|
/* style */
|
|
1275
1268
|
|
|
1276
|
-
const __vue_inject_styles__$
|
|
1269
|
+
const __vue_inject_styles__$D = function (inject) {
|
|
1277
1270
|
if (!inject) return;
|
|
1278
|
-
inject("data-v-
|
|
1279
|
-
source: ".ui-icon[data-v-
|
|
1271
|
+
inject("data-v-aaa469fe_0", {
|
|
1272
|
+
source: ".ui-icon[data-v-aaa469fe]{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden;display:inline-block}.ui-icon.ui-icon-loading[data-v-aaa469fe]{animation:rotating-data-v-aaa469fe 2s linear infinite}@keyframes rotating-data-v-aaa469fe{from{transform:rotate(0)}to{transform:rotate(1turn)}}",
|
|
1280
1273
|
map: undefined,
|
|
1281
1274
|
media: undefined
|
|
1282
1275
|
});
|
|
@@ -1284,23 +1277,23 @@ const __vue_inject_styles__$G = function (inject) {
|
|
|
1284
1277
|
/* scoped */
|
|
1285
1278
|
|
|
1286
1279
|
|
|
1287
|
-
const __vue_scope_id__$
|
|
1280
|
+
const __vue_scope_id__$D = "data-v-aaa469fe";
|
|
1288
1281
|
/* module identifier */
|
|
1289
1282
|
|
|
1290
|
-
const __vue_module_identifier__$
|
|
1283
|
+
const __vue_module_identifier__$D = undefined;
|
|
1291
1284
|
/* functional template */
|
|
1292
1285
|
|
|
1293
|
-
const __vue_is_functional_template__$
|
|
1286
|
+
const __vue_is_functional_template__$D = false;
|
|
1294
1287
|
/* style inject SSR */
|
|
1295
1288
|
|
|
1296
1289
|
/* style inject shadow dom */
|
|
1297
1290
|
|
|
1298
|
-
const __vue_component__$
|
|
1299
|
-
render: __vue_render__$
|
|
1300
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
1301
|
-
}, __vue_inject_styles__$
|
|
1291
|
+
const __vue_component__$D = /*#__PURE__*/normalizeComponent({
|
|
1292
|
+
render: __vue_render__$C,
|
|
1293
|
+
staticRenderFns: __vue_staticRenderFns__$C
|
|
1294
|
+
}, __vue_inject_styles__$D, __vue_script__$D, __vue_scope_id__$D, __vue_is_functional_template__$D, __vue_module_identifier__$D, false, createInjector, undefined, undefined);
|
|
1302
1295
|
|
|
1303
|
-
var Icon$1 = __vue_component__$
|
|
1296
|
+
var Icon$1 = __vue_component__$D;
|
|
1304
1297
|
|
|
1305
1298
|
var Icon = {
|
|
1306
1299
|
install: Vue => {
|
|
@@ -1727,9 +1720,9 @@ const getInputTypeText = type => {
|
|
|
1727
1720
|
return input;
|
|
1728
1721
|
};
|
|
1729
1722
|
const VType = Object.create(null);
|
|
1730
|
-
/**
|
|
1731
|
-
* type: {String} 名称
|
|
1732
|
-
* func: {Function} (props, ...args) => {...}. props: {name,label,type,placeholder,vtype}; ...args: 通过":"传递的参数
|
|
1723
|
+
/**
|
|
1724
|
+
* type: {String} 名称
|
|
1725
|
+
* func: {Function} (props, ...args) => {...}. props: {name,label,type,placeholder,vtype}; ...args: 通过":"传递的参数
|
|
1733
1726
|
*/
|
|
1734
1727
|
|
|
1735
1728
|
const addVType = (type, func) => {
|
|
@@ -1933,6 +1926,43 @@ const DefaultVType = {
|
|
|
1933
1926
|
pattern: /^(?=.*[a-zA-Z])(?=.*\d)[^]{6,20}$/,
|
|
1934
1927
|
message: message || `请输入6-20位的${label},至少包含字母和字符串`
|
|
1935
1928
|
};
|
|
1929
|
+
},
|
|
1930
|
+
complexCipher: _ref17 => {
|
|
1931
|
+
return {
|
|
1932
|
+
validator: (rule, value, callback) => {
|
|
1933
|
+
// 检查重复的数字
|
|
1934
|
+
const repeatingRegex = /(\d)\1{5,}/; // 匹配连续重复6次或以上的数字
|
|
1935
|
+
// 检查连续递增的数字
|
|
1936
|
+
|
|
1937
|
+
for (let i = 0; i < value.length - 1; i++) {
|
|
1938
|
+
if (Number(value[i + 1]) - Number(value[i]) === 1) {
|
|
1939
|
+
const sequenceStart = i;
|
|
1940
|
+
let sequenceEnd = i + 1; // 1 < 6 && 2 - 1 === 1
|
|
1941
|
+
// 2 < 6 && 3 - 2 === 1
|
|
1942
|
+
// 3 < 6 && 4 - 3 === 1
|
|
1943
|
+
// .....
|
|
1944
|
+
|
|
1945
|
+
while (sequenceEnd < value.length && Number(value[sequenceEnd]) - Number(value[sequenceEnd - 1]) === 1) {
|
|
1946
|
+
sequenceEnd++;
|
|
1947
|
+
}
|
|
1948
|
+
|
|
1949
|
+
if (sequenceEnd - sequenceStart >= 6) {
|
|
1950
|
+
// 至少需要6个数字才能构成连续序列
|
|
1951
|
+
callback(new Error('不能输入连续的数字'));
|
|
1952
|
+
return;
|
|
1953
|
+
}
|
|
1954
|
+
|
|
1955
|
+
i = sequenceEnd - 1; // 跳过已检查的序列
|
|
1956
|
+
}
|
|
1957
|
+
}
|
|
1958
|
+
|
|
1959
|
+
if (repeatingRegex.test(value)) {
|
|
1960
|
+
callback(new Error('不能连续输入任何一个重复的数字超过6个'));
|
|
1961
|
+
} else {
|
|
1962
|
+
callback();
|
|
1963
|
+
}
|
|
1964
|
+
}
|
|
1965
|
+
};
|
|
1936
1966
|
}
|
|
1937
1967
|
};
|
|
1938
1968
|
|
|
@@ -1944,7 +1974,6 @@ const initDefaultVType = () => {
|
|
|
1944
1974
|
};
|
|
1945
1975
|
|
|
1946
1976
|
initDefaultVType();
|
|
1947
|
-
var VType$1 = VType;
|
|
1948
1977
|
|
|
1949
1978
|
var FieldMixin = {
|
|
1950
1979
|
inheritAttrs: false,
|
|
@@ -2055,17 +2084,17 @@ var DisplayField = {
|
|
|
2055
2084
|
};
|
|
2056
2085
|
|
|
2057
2086
|
//
|
|
2058
|
-
var script$
|
|
2087
|
+
var script$B = {
|
|
2059
2088
|
name: 'ui-field-autocomplete',
|
|
2060
2089
|
inheritAttrs: false,
|
|
2061
2090
|
mixins: [FieldMixin]
|
|
2062
2091
|
};
|
|
2063
2092
|
|
|
2064
2093
|
/* script */
|
|
2065
|
-
const __vue_script__$
|
|
2094
|
+
const __vue_script__$C = script$B;
|
|
2066
2095
|
/* template */
|
|
2067
2096
|
|
|
2068
|
-
var __vue_render__$
|
|
2097
|
+
var __vue_render__$B = function () {
|
|
2069
2098
|
var _vm = this;
|
|
2070
2099
|
|
|
2071
2100
|
var _h = _vm.$createElement;
|
|
@@ -2079,34 +2108,34 @@ var __vue_render__$E = function () {
|
|
|
2079
2108
|
}, 'el-autocomplete', _vm.$attrs, false), _vm.$listeners));
|
|
2080
2109
|
};
|
|
2081
2110
|
|
|
2082
|
-
var __vue_staticRenderFns__$
|
|
2111
|
+
var __vue_staticRenderFns__$B = [];
|
|
2083
2112
|
/* style */
|
|
2084
2113
|
|
|
2085
|
-
const __vue_inject_styles__$
|
|
2114
|
+
const __vue_inject_styles__$C = undefined;
|
|
2086
2115
|
/* scoped */
|
|
2087
2116
|
|
|
2088
|
-
const __vue_scope_id__$
|
|
2117
|
+
const __vue_scope_id__$C = undefined;
|
|
2089
2118
|
/* module identifier */
|
|
2090
2119
|
|
|
2091
|
-
const __vue_module_identifier__$
|
|
2120
|
+
const __vue_module_identifier__$C = undefined;
|
|
2092
2121
|
/* functional template */
|
|
2093
2122
|
|
|
2094
|
-
const __vue_is_functional_template__$
|
|
2123
|
+
const __vue_is_functional_template__$C = false;
|
|
2095
2124
|
/* style inject */
|
|
2096
2125
|
|
|
2097
2126
|
/* style inject SSR */
|
|
2098
2127
|
|
|
2099
2128
|
/* style inject shadow dom */
|
|
2100
2129
|
|
|
2101
|
-
const __vue_component__$
|
|
2102
|
-
render: __vue_render__$
|
|
2103
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
2104
|
-
}, __vue_inject_styles__$
|
|
2130
|
+
const __vue_component__$C = /*#__PURE__*/normalizeComponent({
|
|
2131
|
+
render: __vue_render__$B,
|
|
2132
|
+
staticRenderFns: __vue_staticRenderFns__$B
|
|
2133
|
+
}, __vue_inject_styles__$C, __vue_script__$C, __vue_scope_id__$C, __vue_is_functional_template__$C, __vue_module_identifier__$C, false, undefined, undefined, undefined);
|
|
2105
2134
|
|
|
2106
|
-
var AutocompleteField = __vue_component__$
|
|
2135
|
+
var AutocompleteField = __vue_component__$C;
|
|
2107
2136
|
|
|
2108
2137
|
//
|
|
2109
|
-
var script$
|
|
2138
|
+
var script$A = {
|
|
2110
2139
|
name: 'ui-field-text',
|
|
2111
2140
|
inheritAttrs: false,
|
|
2112
2141
|
mixins: [FieldMixin],
|
|
@@ -2150,10 +2179,10 @@ var script$D = {
|
|
|
2150
2179
|
};
|
|
2151
2180
|
|
|
2152
2181
|
/* script */
|
|
2153
|
-
const __vue_script__$
|
|
2182
|
+
const __vue_script__$B = script$A;
|
|
2154
2183
|
/* template */
|
|
2155
2184
|
|
|
2156
|
-
var __vue_render__$
|
|
2185
|
+
var __vue_render__$A = function () {
|
|
2157
2186
|
var _vm = this;
|
|
2158
2187
|
|
|
2159
2188
|
var _h = _vm.$createElement;
|
|
@@ -2173,12 +2202,12 @@ var __vue_render__$D = function () {
|
|
|
2173
2202
|
}, 'el-input', _vm.$attrs, false), _vm.$listeners));
|
|
2174
2203
|
};
|
|
2175
2204
|
|
|
2176
|
-
var __vue_staticRenderFns__$
|
|
2205
|
+
var __vue_staticRenderFns__$A = [];
|
|
2177
2206
|
/* style */
|
|
2178
2207
|
|
|
2179
|
-
const __vue_inject_styles__$
|
|
2208
|
+
const __vue_inject_styles__$B = function (inject) {
|
|
2180
2209
|
if (!inject) return;
|
|
2181
|
-
inject("data-v-
|
|
2210
|
+
inject("data-v-208093e4_0", {
|
|
2182
2211
|
source: ".el-input__suffix-inner{display:flex;align-items:center;height:100%}.el-input--large .el-input__count .el-input__count-inner{line-height:38px}.el-input--medium .el-input__count .el-input__count-inner{line-height:34px}.el-input--mini .el-input__count .el-input__count-inner{line-height:26px}",
|
|
2183
2212
|
map: undefined,
|
|
2184
2213
|
media: undefined
|
|
@@ -2187,23 +2216,23 @@ const __vue_inject_styles__$E = function (inject) {
|
|
|
2187
2216
|
/* scoped */
|
|
2188
2217
|
|
|
2189
2218
|
|
|
2190
|
-
const __vue_scope_id__$
|
|
2219
|
+
const __vue_scope_id__$B = undefined;
|
|
2191
2220
|
/* module identifier */
|
|
2192
2221
|
|
|
2193
|
-
const __vue_module_identifier__$
|
|
2222
|
+
const __vue_module_identifier__$B = undefined;
|
|
2194
2223
|
/* functional template */
|
|
2195
2224
|
|
|
2196
|
-
const __vue_is_functional_template__$
|
|
2225
|
+
const __vue_is_functional_template__$B = false;
|
|
2197
2226
|
/* style inject SSR */
|
|
2198
2227
|
|
|
2199
2228
|
/* style inject shadow dom */
|
|
2200
2229
|
|
|
2201
|
-
const __vue_component__$
|
|
2202
|
-
render: __vue_render__$
|
|
2203
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
2204
|
-
}, __vue_inject_styles__$
|
|
2230
|
+
const __vue_component__$B = /*#__PURE__*/normalizeComponent({
|
|
2231
|
+
render: __vue_render__$A,
|
|
2232
|
+
staticRenderFns: __vue_staticRenderFns__$A
|
|
2233
|
+
}, __vue_inject_styles__$B, __vue_script__$B, __vue_scope_id__$B, __vue_is_functional_template__$B, __vue_module_identifier__$B, false, createInjector, undefined, undefined);
|
|
2205
2234
|
|
|
2206
|
-
var TextField = __vue_component__$
|
|
2235
|
+
var TextField = __vue_component__$B;
|
|
2207
2236
|
|
|
2208
2237
|
const mapLabelValue = (data, config) => {
|
|
2209
2238
|
if (!Array.isArray(data)) {
|
|
@@ -2250,10 +2279,10 @@ var DataMixin = {
|
|
|
2250
2279
|
})
|
|
2251
2280
|
},
|
|
2252
2281
|
|
|
2253
|
-
/**
|
|
2254
|
-
* 级联
|
|
2255
|
-
* 当 depends 中每一个 key 改变则重新请求数据并重置当前 data 为空
|
|
2256
|
-
* 当 depends 中某一个 key 为空则只重置当前 data 为空(所级联的上级清空了)
|
|
2282
|
+
/**
|
|
2283
|
+
* 级联
|
|
2284
|
+
* 当 depends 中每一个 key 改变则重新请求数据并重置当前 data 为空
|
|
2285
|
+
* 当 depends 中某一个 key 为空则只重置当前 data 为空(所级联的上级清空了)
|
|
2257
2286
|
*/
|
|
2258
2287
|
depends: {
|
|
2259
2288
|
type: [Boolean, Object],
|
|
@@ -2394,7 +2423,7 @@ var DataMixin = {
|
|
|
2394
2423
|
};
|
|
2395
2424
|
|
|
2396
2425
|
//
|
|
2397
|
-
var script$
|
|
2426
|
+
var script$z = {
|
|
2398
2427
|
name: 'ui-field-radio',
|
|
2399
2428
|
mixins: [FieldMixin, DataMixin],
|
|
2400
2429
|
props: {
|
|
@@ -2462,10 +2491,10 @@ var script$C = {
|
|
|
2462
2491
|
};
|
|
2463
2492
|
|
|
2464
2493
|
/* script */
|
|
2465
|
-
const __vue_script__$
|
|
2494
|
+
const __vue_script__$A = script$z;
|
|
2466
2495
|
/* template */
|
|
2467
2496
|
|
|
2468
|
-
var __vue_render__$
|
|
2497
|
+
var __vue_render__$z = function () {
|
|
2469
2498
|
var _vm = this;
|
|
2470
2499
|
|
|
2471
2500
|
var _h = _vm.$createElement;
|
|
@@ -2515,13 +2544,13 @@ var __vue_render__$C = function () {
|
|
|
2515
2544
|
}, [_vm._v("重新加载")])], 1) : _vm._e()], 1);
|
|
2516
2545
|
};
|
|
2517
2546
|
|
|
2518
|
-
var __vue_staticRenderFns__$
|
|
2547
|
+
var __vue_staticRenderFns__$z = [];
|
|
2519
2548
|
/* style */
|
|
2520
2549
|
|
|
2521
|
-
const __vue_inject_styles__$
|
|
2550
|
+
const __vue_inject_styles__$A = function (inject) {
|
|
2522
2551
|
if (!inject) return;
|
|
2523
|
-
inject("data-v-
|
|
2524
|
-
source: ".ui-field-radio .empty[data-v-
|
|
2552
|
+
inject("data-v-3f514931_0", {
|
|
2553
|
+
source: ".ui-field-radio .empty[data-v-3f514931]{display:inline-flex;align-items:center;font-size:12px;color:#909399}.ui-field-radio>.el-radio-group[data-v-3f514931]{display:inline-flex;flex-direction:row;flex-wrap:wrap;align-items:center}.ui-field-radio>.el-radio-group .el-radio[data-v-3f514931]{line-height:36px}[data-v-3f514931] .el-loading-mask .el-loading-spinner{margin-top:-14px}",
|
|
2525
2554
|
map: undefined,
|
|
2526
2555
|
media: undefined
|
|
2527
2556
|
});
|
|
@@ -2529,26 +2558,26 @@ const __vue_inject_styles__$D = function (inject) {
|
|
|
2529
2558
|
/* scoped */
|
|
2530
2559
|
|
|
2531
2560
|
|
|
2532
|
-
const __vue_scope_id__$
|
|
2561
|
+
const __vue_scope_id__$A = "data-v-3f514931";
|
|
2533
2562
|
/* module identifier */
|
|
2534
2563
|
|
|
2535
|
-
const __vue_module_identifier__$
|
|
2564
|
+
const __vue_module_identifier__$A = undefined;
|
|
2536
2565
|
/* functional template */
|
|
2537
2566
|
|
|
2538
|
-
const __vue_is_functional_template__$
|
|
2567
|
+
const __vue_is_functional_template__$A = false;
|
|
2539
2568
|
/* style inject SSR */
|
|
2540
2569
|
|
|
2541
2570
|
/* style inject shadow dom */
|
|
2542
2571
|
|
|
2543
|
-
const __vue_component__$
|
|
2544
|
-
render: __vue_render__$
|
|
2545
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
2546
|
-
}, __vue_inject_styles__$
|
|
2572
|
+
const __vue_component__$A = /*#__PURE__*/normalizeComponent({
|
|
2573
|
+
render: __vue_render__$z,
|
|
2574
|
+
staticRenderFns: __vue_staticRenderFns__$z
|
|
2575
|
+
}, __vue_inject_styles__$A, __vue_script__$A, __vue_scope_id__$A, __vue_is_functional_template__$A, __vue_module_identifier__$A, false, createInjector, undefined, undefined);
|
|
2547
2576
|
|
|
2548
|
-
var RadioField = __vue_component__$
|
|
2577
|
+
var RadioField = __vue_component__$A;
|
|
2549
2578
|
|
|
2550
2579
|
//
|
|
2551
|
-
var script$
|
|
2580
|
+
var script$y = {
|
|
2552
2581
|
name: 'ui-field-checkbox',
|
|
2553
2582
|
mixins: [FieldMixin, DataMixin],
|
|
2554
2583
|
props: {
|
|
@@ -2629,10 +2658,10 @@ var script$B = {
|
|
|
2629
2658
|
};
|
|
2630
2659
|
|
|
2631
2660
|
/* script */
|
|
2632
|
-
const __vue_script__$
|
|
2661
|
+
const __vue_script__$z = script$y;
|
|
2633
2662
|
/* template */
|
|
2634
2663
|
|
|
2635
|
-
var __vue_render__$
|
|
2664
|
+
var __vue_render__$y = function () {
|
|
2636
2665
|
var _vm = this;
|
|
2637
2666
|
|
|
2638
2667
|
var _h = _vm.$createElement;
|
|
@@ -2713,13 +2742,13 @@ var __vue_render__$B = function () {
|
|
|
2713
2742
|
}, [_vm._v("重新加载")])], 1) : _vm._e()], 1);
|
|
2714
2743
|
};
|
|
2715
2744
|
|
|
2716
|
-
var __vue_staticRenderFns__$
|
|
2745
|
+
var __vue_staticRenderFns__$y = [];
|
|
2717
2746
|
/* style */
|
|
2718
2747
|
|
|
2719
|
-
const __vue_inject_styles__$
|
|
2748
|
+
const __vue_inject_styles__$z = function (inject) {
|
|
2720
2749
|
if (!inject) return;
|
|
2721
|
-
inject("data-v-
|
|
2722
|
-
source: ".ui-field-checkbox .all[data-v-
|
|
2750
|
+
inject("data-v-7832f5f2_0", {
|
|
2751
|
+
source: ".ui-field-checkbox .all[data-v-7832f5f2]{display:flex}.ui-field-checkbox .all>.el-checkbox[data-v-7832f5f2]{margin-right:0}.ui-field-checkbox .options[data-v-7832f5f2]{display:flex;flex-direction:row;align-items:center}.ui-field-checkbox .empty[data-v-7832f5f2]{display:inline-flex;align-items:center;font-size:12px;color:#909399}.ui-field-checkbox[data-v-7832f5f2] .el-checkbox{margin:0 8px 0 0}.ui-field-checkbox[data-v-7832f5f2] .el-checkbox.is-bordered+.el-checkbox.is-bordered{margin-left:0}.ui-field-checkbox[data-v-7832f5f2] .el-divider{margin:0 10px}[data-v-7832f5f2] .el-loading-mask .el-loading-spinner{margin-top:-14px}",
|
|
2723
2752
|
map: undefined,
|
|
2724
2753
|
media: undefined
|
|
2725
2754
|
});
|
|
@@ -2727,26 +2756,26 @@ const __vue_inject_styles__$C = function (inject) {
|
|
|
2727
2756
|
/* scoped */
|
|
2728
2757
|
|
|
2729
2758
|
|
|
2730
|
-
const __vue_scope_id__$
|
|
2759
|
+
const __vue_scope_id__$z = "data-v-7832f5f2";
|
|
2731
2760
|
/* module identifier */
|
|
2732
2761
|
|
|
2733
|
-
const __vue_module_identifier__$
|
|
2762
|
+
const __vue_module_identifier__$z = undefined;
|
|
2734
2763
|
/* functional template */
|
|
2735
2764
|
|
|
2736
|
-
const __vue_is_functional_template__$
|
|
2765
|
+
const __vue_is_functional_template__$z = false;
|
|
2737
2766
|
/* style inject SSR */
|
|
2738
2767
|
|
|
2739
2768
|
/* style inject shadow dom */
|
|
2740
2769
|
|
|
2741
|
-
const __vue_component__$
|
|
2742
|
-
render: __vue_render__$
|
|
2743
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
2744
|
-
}, __vue_inject_styles__$
|
|
2770
|
+
const __vue_component__$z = /*#__PURE__*/normalizeComponent({
|
|
2771
|
+
render: __vue_render__$y,
|
|
2772
|
+
staticRenderFns: __vue_staticRenderFns__$y
|
|
2773
|
+
}, __vue_inject_styles__$z, __vue_script__$z, __vue_scope_id__$z, __vue_is_functional_template__$z, __vue_module_identifier__$z, false, createInjector, undefined, undefined);
|
|
2745
2774
|
|
|
2746
|
-
var CheckboxField = __vue_component__$
|
|
2775
|
+
var CheckboxField = __vue_component__$z;
|
|
2747
2776
|
|
|
2748
2777
|
//
|
|
2749
|
-
var script$
|
|
2778
|
+
var script$x = {
|
|
2750
2779
|
name: 'ui-field-select',
|
|
2751
2780
|
mixins: [FieldMixin, DataMixin],
|
|
2752
2781
|
inheritAttrs: false,
|
|
@@ -2948,10 +2977,10 @@ var script$A = {
|
|
|
2948
2977
|
};
|
|
2949
2978
|
|
|
2950
2979
|
/* script */
|
|
2951
|
-
const __vue_script__$
|
|
2980
|
+
const __vue_script__$y = script$x;
|
|
2952
2981
|
/* template */
|
|
2953
2982
|
|
|
2954
|
-
var __vue_render__$
|
|
2983
|
+
var __vue_render__$x = function () {
|
|
2955
2984
|
var _vm = this;
|
|
2956
2985
|
|
|
2957
2986
|
var _h = _vm.$createElement;
|
|
@@ -3076,12 +3105,12 @@ var __vue_render__$A = function () {
|
|
|
3076
3105
|
})], 1)], 1) : _vm._e()], 1);
|
|
3077
3106
|
};
|
|
3078
3107
|
|
|
3079
|
-
var __vue_staticRenderFns__$
|
|
3108
|
+
var __vue_staticRenderFns__$x = [];
|
|
3080
3109
|
/* style */
|
|
3081
3110
|
|
|
3082
|
-
const __vue_inject_styles__$
|
|
3111
|
+
const __vue_inject_styles__$y = function (inject) {
|
|
3083
3112
|
if (!inject) return;
|
|
3084
|
-
inject("data-v-
|
|
3113
|
+
inject("data-v-216b333a_0", {
|
|
3085
3114
|
source: ".ui-field-select .el-select{width:100%}.ui-field-select .el-input-group--append .el-select .el-input.is-focus .el-input__inner{border-color:var(--color-primary)}.ui-field-select .empty{font-size:12px;color:#909399;display:flex;align-items:center}.ui-field-select .el-loading-mask .el-loading-spinner{margin-top:-14px}",
|
|
3086
3115
|
map: undefined,
|
|
3087
3116
|
media: undefined
|
|
@@ -3090,26 +3119,26 @@ const __vue_inject_styles__$B = function (inject) {
|
|
|
3090
3119
|
/* scoped */
|
|
3091
3120
|
|
|
3092
3121
|
|
|
3093
|
-
const __vue_scope_id__$
|
|
3122
|
+
const __vue_scope_id__$y = undefined;
|
|
3094
3123
|
/* module identifier */
|
|
3095
3124
|
|
|
3096
|
-
const __vue_module_identifier__$
|
|
3125
|
+
const __vue_module_identifier__$y = undefined;
|
|
3097
3126
|
/* functional template */
|
|
3098
3127
|
|
|
3099
|
-
const __vue_is_functional_template__$
|
|
3128
|
+
const __vue_is_functional_template__$y = false;
|
|
3100
3129
|
/* style inject SSR */
|
|
3101
3130
|
|
|
3102
3131
|
/* style inject shadow dom */
|
|
3103
3132
|
|
|
3104
|
-
const __vue_component__$
|
|
3105
|
-
render: __vue_render__$
|
|
3106
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
3107
|
-
}, __vue_inject_styles__$
|
|
3133
|
+
const __vue_component__$y = /*#__PURE__*/normalizeComponent({
|
|
3134
|
+
render: __vue_render__$x,
|
|
3135
|
+
staticRenderFns: __vue_staticRenderFns__$x
|
|
3136
|
+
}, __vue_inject_styles__$y, __vue_script__$y, __vue_scope_id__$y, __vue_is_functional_template__$y, __vue_module_identifier__$y, false, createInjector, undefined, undefined);
|
|
3108
3137
|
|
|
3109
|
-
var SelectField = __vue_component__$
|
|
3138
|
+
var SelectField = __vue_component__$y;
|
|
3110
3139
|
|
|
3111
3140
|
//
|
|
3112
|
-
var script$
|
|
3141
|
+
var script$w = {
|
|
3113
3142
|
name: 'ui-field-number',
|
|
3114
3143
|
mixins: [FieldMixin],
|
|
3115
3144
|
props: {
|
|
@@ -3140,10 +3169,10 @@ var script$z = {
|
|
|
3140
3169
|
};
|
|
3141
3170
|
|
|
3142
3171
|
/* script */
|
|
3143
|
-
const __vue_script__$
|
|
3172
|
+
const __vue_script__$x = script$w;
|
|
3144
3173
|
/* template */
|
|
3145
3174
|
|
|
3146
|
-
var __vue_render__$
|
|
3175
|
+
var __vue_render__$w = function () {
|
|
3147
3176
|
var _vm = this;
|
|
3148
3177
|
|
|
3149
3178
|
var _h = _vm.$createElement;
|
|
@@ -3159,13 +3188,13 @@ var __vue_render__$z = function () {
|
|
|
3159
3188
|
}, 'el-input-number', _vm.$attrs, false), _vm.$listeners));
|
|
3160
3189
|
};
|
|
3161
3190
|
|
|
3162
|
-
var __vue_staticRenderFns__$
|
|
3191
|
+
var __vue_staticRenderFns__$w = [];
|
|
3163
3192
|
/* style */
|
|
3164
3193
|
|
|
3165
|
-
const __vue_inject_styles__$
|
|
3194
|
+
const __vue_inject_styles__$x = function (inject) {
|
|
3166
3195
|
if (!inject) return;
|
|
3167
|
-
inject("data-v-
|
|
3168
|
-
source: ".ui-number-field[data-v-
|
|
3196
|
+
inject("data-v-054f9f65_0", {
|
|
3197
|
+
source: ".ui-number-field[data-v-054f9f65]{width:100%}.ui-number-field[data-v-054f9f65] input{text-align:initial}",
|
|
3169
3198
|
map: undefined,
|
|
3170
3199
|
media: undefined
|
|
3171
3200
|
});
|
|
@@ -3173,23 +3202,23 @@ const __vue_inject_styles__$A = function (inject) {
|
|
|
3173
3202
|
/* scoped */
|
|
3174
3203
|
|
|
3175
3204
|
|
|
3176
|
-
const __vue_scope_id__$
|
|
3205
|
+
const __vue_scope_id__$x = "data-v-054f9f65";
|
|
3177
3206
|
/* module identifier */
|
|
3178
3207
|
|
|
3179
|
-
const __vue_module_identifier__$
|
|
3208
|
+
const __vue_module_identifier__$x = undefined;
|
|
3180
3209
|
/* functional template */
|
|
3181
3210
|
|
|
3182
|
-
const __vue_is_functional_template__$
|
|
3211
|
+
const __vue_is_functional_template__$x = false;
|
|
3183
3212
|
/* style inject SSR */
|
|
3184
3213
|
|
|
3185
3214
|
/* style inject shadow dom */
|
|
3186
3215
|
|
|
3187
|
-
const __vue_component__$
|
|
3188
|
-
render: __vue_render__$
|
|
3189
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
3190
|
-
}, __vue_inject_styles__$
|
|
3216
|
+
const __vue_component__$x = /*#__PURE__*/normalizeComponent({
|
|
3217
|
+
render: __vue_render__$w,
|
|
3218
|
+
staticRenderFns: __vue_staticRenderFns__$w
|
|
3219
|
+
}, __vue_inject_styles__$x, __vue_script__$x, __vue_scope_id__$x, __vue_is_functional_template__$x, __vue_module_identifier__$x, false, createInjector, undefined, undefined);
|
|
3191
3220
|
|
|
3192
|
-
var NumberField = __vue_component__$
|
|
3221
|
+
var NumberField = __vue_component__$x;
|
|
3193
3222
|
|
|
3194
3223
|
const randomStr = length => {
|
|
3195
3224
|
let str = Math.random().toString(36).substr(2);
|
|
@@ -3207,7 +3236,7 @@ var Strings = {
|
|
|
3207
3236
|
};
|
|
3208
3237
|
|
|
3209
3238
|
//
|
|
3210
|
-
var script$
|
|
3239
|
+
var script$v = {
|
|
3211
3240
|
name: 'ui-field-cascade',
|
|
3212
3241
|
mixins: [FieldMixin, DataMixin],
|
|
3213
3242
|
props: {
|
|
@@ -3377,8 +3406,8 @@ var script$y = {
|
|
|
3377
3406
|
});
|
|
3378
3407
|
},
|
|
3379
3408
|
|
|
3380
|
-
/**
|
|
3381
|
-
* 展开有层级关系的 list
|
|
3409
|
+
/**
|
|
3410
|
+
* 展开有层级关系的 list
|
|
3382
3411
|
*/
|
|
3383
3412
|
getExpandList(data, valueKey, upValue) {
|
|
3384
3413
|
return data.reduce((prev, _ref) => {
|
|
@@ -3398,13 +3427,13 @@ var script$y = {
|
|
|
3398
3427
|
}, []);
|
|
3399
3428
|
},
|
|
3400
3429
|
|
|
3401
|
-
/**
|
|
3402
|
-
* 返回
|
|
3403
|
-
* {
|
|
3404
|
-
* child1: [father1,grandfather1,...],
|
|
3405
|
-
* child2: [father2,grandfather2,...],
|
|
3406
|
-
* ...
|
|
3407
|
-
* }
|
|
3430
|
+
/**
|
|
3431
|
+
* 返回
|
|
3432
|
+
* {
|
|
3433
|
+
* child1: [father1,grandfather1,...],
|
|
3434
|
+
* child2: [father2,grandfather2,...],
|
|
3435
|
+
* ...
|
|
3436
|
+
* }
|
|
3408
3437
|
*/
|
|
3409
3438
|
getExpandMap(data) {
|
|
3410
3439
|
const {
|
|
@@ -3478,10 +3507,10 @@ var script$y = {
|
|
|
3478
3507
|
};
|
|
3479
3508
|
|
|
3480
3509
|
/* script */
|
|
3481
|
-
const __vue_script__$
|
|
3510
|
+
const __vue_script__$w = script$v;
|
|
3482
3511
|
/* template */
|
|
3483
3512
|
|
|
3484
|
-
var __vue_render__$
|
|
3513
|
+
var __vue_render__$v = function () {
|
|
3485
3514
|
var _vm = this;
|
|
3486
3515
|
|
|
3487
3516
|
var _h = _vm.$createElement;
|
|
@@ -3545,13 +3574,13 @@ var __vue_render__$y = function () {
|
|
|
3545
3574
|
})], 1)], 1) : _vm._e()], 1);
|
|
3546
3575
|
};
|
|
3547
3576
|
|
|
3548
|
-
var __vue_staticRenderFns__$
|
|
3577
|
+
var __vue_staticRenderFns__$v = [];
|
|
3549
3578
|
/* style */
|
|
3550
3579
|
|
|
3551
|
-
const __vue_inject_styles__$
|
|
3580
|
+
const __vue_inject_styles__$w = function (inject) {
|
|
3552
3581
|
if (!inject) return;
|
|
3553
|
-
inject("data-v-
|
|
3554
|
-
source: ".ui-cascade-field[data-v-
|
|
3582
|
+
inject("data-v-5b114890_0", {
|
|
3583
|
+
source: ".ui-cascade-field[data-v-5b114890]{width:100%}.ui-cascade-field-popper[data-v-5b114890]{z-index:99999!important}.ui-cascade-field-popper .el-cascader-menu__item[data-v-5b114890]{padding-right:30px}[data-v-5b114890] .el-loading-mask .el-loading-spinner{margin-top:-14px}",
|
|
3555
3584
|
map: undefined,
|
|
3556
3585
|
media: undefined
|
|
3557
3586
|
});
|
|
@@ -3559,38 +3588,38 @@ const __vue_inject_styles__$z = function (inject) {
|
|
|
3559
3588
|
/* scoped */
|
|
3560
3589
|
|
|
3561
3590
|
|
|
3562
|
-
const __vue_scope_id__$
|
|
3591
|
+
const __vue_scope_id__$w = "data-v-5b114890";
|
|
3563
3592
|
/* module identifier */
|
|
3564
3593
|
|
|
3565
|
-
const __vue_module_identifier__$
|
|
3594
|
+
const __vue_module_identifier__$w = undefined;
|
|
3566
3595
|
/* functional template */
|
|
3567
3596
|
|
|
3568
|
-
const __vue_is_functional_template__$
|
|
3597
|
+
const __vue_is_functional_template__$w = false;
|
|
3569
3598
|
/* style inject SSR */
|
|
3570
3599
|
|
|
3571
3600
|
/* style inject shadow dom */
|
|
3572
3601
|
|
|
3573
|
-
const __vue_component__$
|
|
3574
|
-
render: __vue_render__$
|
|
3575
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
3576
|
-
}, __vue_inject_styles__$
|
|
3602
|
+
const __vue_component__$w = /*#__PURE__*/normalizeComponent({
|
|
3603
|
+
render: __vue_render__$v,
|
|
3604
|
+
staticRenderFns: __vue_staticRenderFns__$v
|
|
3605
|
+
}, __vue_inject_styles__$w, __vue_script__$w, __vue_scope_id__$w, __vue_is_functional_template__$w, __vue_module_identifier__$w, false, createInjector, undefined, undefined);
|
|
3577
3606
|
|
|
3578
|
-
var CascadeField = __vue_component__$
|
|
3579
|
-
|
|
3580
|
-
/**
|
|
3581
|
-
* @param text
|
|
3582
|
-
* @param unit
|
|
3583
|
-
years y
|
|
3584
|
-
quarters Q
|
|
3585
|
-
months M
|
|
3586
|
-
weeks w
|
|
3587
|
-
days d
|
|
3588
|
-
hours h
|
|
3589
|
-
minutes m
|
|
3590
|
-
seconds s
|
|
3591
|
-
milliseconds ms
|
|
3592
|
-
* @param num num > 0 表示当前时间之前; num < 0 表示当前时间之后
|
|
3593
|
-
* @return {{onClick(*): void, text: *}|null}
|
|
3607
|
+
var CascadeField = __vue_component__$w;
|
|
3608
|
+
|
|
3609
|
+
/**
|
|
3610
|
+
* @param text
|
|
3611
|
+
* @param unit
|
|
3612
|
+
years y
|
|
3613
|
+
quarters Q
|
|
3614
|
+
months M
|
|
3615
|
+
weeks w
|
|
3616
|
+
days d
|
|
3617
|
+
hours h
|
|
3618
|
+
minutes m
|
|
3619
|
+
seconds s
|
|
3620
|
+
milliseconds ms
|
|
3621
|
+
* @param num num > 0 表示当前时间之前; num < 0 表示当前时间之后
|
|
3622
|
+
* @return {{onClick(*): void, text: *}|null}
|
|
3594
3623
|
*/
|
|
3595
3624
|
|
|
3596
3625
|
const generateShortcut = (text, unit, num) => {
|
|
@@ -3637,7 +3666,7 @@ const DisabledDate = {
|
|
|
3637
3666
|
};
|
|
3638
3667
|
|
|
3639
3668
|
//
|
|
3640
|
-
var script$
|
|
3669
|
+
var script$u = {
|
|
3641
3670
|
name: 'ui-field-date',
|
|
3642
3671
|
mixins: [FieldMixin],
|
|
3643
3672
|
props: {
|
|
@@ -3786,10 +3815,10 @@ var script$x = {
|
|
|
3786
3815
|
};
|
|
3787
3816
|
|
|
3788
3817
|
/* script */
|
|
3789
|
-
const __vue_script__$
|
|
3818
|
+
const __vue_script__$v = script$u;
|
|
3790
3819
|
/* template */
|
|
3791
3820
|
|
|
3792
|
-
var __vue_render__$
|
|
3821
|
+
var __vue_render__$u = function () {
|
|
3793
3822
|
var _vm = this;
|
|
3794
3823
|
|
|
3795
3824
|
var _h = _vm.$createElement;
|
|
@@ -3813,13 +3842,13 @@ var __vue_render__$x = function () {
|
|
|
3813
3842
|
}, 'el-date-picker', _vm.$attrs, false), _vm._listeners));
|
|
3814
3843
|
};
|
|
3815
3844
|
|
|
3816
|
-
var __vue_staticRenderFns__$
|
|
3845
|
+
var __vue_staticRenderFns__$u = [];
|
|
3817
3846
|
/* style */
|
|
3818
3847
|
|
|
3819
|
-
const __vue_inject_styles__$
|
|
3848
|
+
const __vue_inject_styles__$v = function (inject) {
|
|
3820
3849
|
if (!inject) return;
|
|
3821
|
-
inject("data-v-
|
|
3822
|
-
source: ".ui-date-field.el-date-editor[data-v-
|
|
3850
|
+
inject("data-v-753bcd9c_0", {
|
|
3851
|
+
source: ".ui-date-field.el-date-editor[data-v-753bcd9c]{width:100%}",
|
|
3823
3852
|
map: undefined,
|
|
3824
3853
|
media: undefined
|
|
3825
3854
|
});
|
|
@@ -3827,26 +3856,26 @@ const __vue_inject_styles__$y = function (inject) {
|
|
|
3827
3856
|
/* scoped */
|
|
3828
3857
|
|
|
3829
3858
|
|
|
3830
|
-
const __vue_scope_id__$
|
|
3859
|
+
const __vue_scope_id__$v = "data-v-753bcd9c";
|
|
3831
3860
|
/* module identifier */
|
|
3832
3861
|
|
|
3833
|
-
const __vue_module_identifier__$
|
|
3862
|
+
const __vue_module_identifier__$v = undefined;
|
|
3834
3863
|
/* functional template */
|
|
3835
3864
|
|
|
3836
|
-
const __vue_is_functional_template__$
|
|
3865
|
+
const __vue_is_functional_template__$v = false;
|
|
3837
3866
|
/* style inject SSR */
|
|
3838
3867
|
|
|
3839
3868
|
/* style inject shadow dom */
|
|
3840
3869
|
|
|
3841
|
-
const __vue_component__$
|
|
3842
|
-
render: __vue_render__$
|
|
3843
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
3844
|
-
}, __vue_inject_styles__$
|
|
3870
|
+
const __vue_component__$v = /*#__PURE__*/normalizeComponent({
|
|
3871
|
+
render: __vue_render__$u,
|
|
3872
|
+
staticRenderFns: __vue_staticRenderFns__$u
|
|
3873
|
+
}, __vue_inject_styles__$v, __vue_script__$v, __vue_scope_id__$v, __vue_is_functional_template__$v, __vue_module_identifier__$v, false, createInjector, undefined, undefined);
|
|
3845
3874
|
|
|
3846
|
-
var DateField = __vue_component__$
|
|
3875
|
+
var DateField = __vue_component__$v;
|
|
3847
3876
|
|
|
3848
3877
|
//
|
|
3849
|
-
var script$
|
|
3878
|
+
var script$t = {
|
|
3850
3879
|
name: 'ui-field-timepicker',
|
|
3851
3880
|
mixins: [FieldMixin],
|
|
3852
3881
|
props: {
|
|
@@ -3912,10 +3941,10 @@ var script$w = {
|
|
|
3912
3941
|
};
|
|
3913
3942
|
|
|
3914
3943
|
/* script */
|
|
3915
|
-
const __vue_script__$
|
|
3944
|
+
const __vue_script__$u = script$t;
|
|
3916
3945
|
/* template */
|
|
3917
3946
|
|
|
3918
|
-
var __vue_render__$
|
|
3947
|
+
var __vue_render__$t = function () {
|
|
3919
3948
|
var _vm = this;
|
|
3920
3949
|
|
|
3921
3950
|
var _h = _vm.$createElement;
|
|
@@ -3937,13 +3966,13 @@ var __vue_render__$w = function () {
|
|
|
3937
3966
|
}, 'el-time-picker', _vm.$attrs, false), _vm._listeners));
|
|
3938
3967
|
};
|
|
3939
3968
|
|
|
3940
|
-
var __vue_staticRenderFns__$
|
|
3969
|
+
var __vue_staticRenderFns__$t = [];
|
|
3941
3970
|
/* style */
|
|
3942
3971
|
|
|
3943
|
-
const __vue_inject_styles__$
|
|
3972
|
+
const __vue_inject_styles__$u = function (inject) {
|
|
3944
3973
|
if (!inject) return;
|
|
3945
|
-
inject("data-v-
|
|
3946
|
-
source: ".ui-timepicker-field.el-date-editor[data-v-
|
|
3974
|
+
inject("data-v-241ad60c_0", {
|
|
3975
|
+
source: ".ui-timepicker-field.el-date-editor[data-v-241ad60c]{width:100%}",
|
|
3947
3976
|
map: undefined,
|
|
3948
3977
|
media: undefined
|
|
3949
3978
|
});
|
|
@@ -3951,26 +3980,26 @@ const __vue_inject_styles__$x = function (inject) {
|
|
|
3951
3980
|
/* scoped */
|
|
3952
3981
|
|
|
3953
3982
|
|
|
3954
|
-
const __vue_scope_id__$
|
|
3983
|
+
const __vue_scope_id__$u = "data-v-241ad60c";
|
|
3955
3984
|
/* module identifier */
|
|
3956
3985
|
|
|
3957
|
-
const __vue_module_identifier__$
|
|
3986
|
+
const __vue_module_identifier__$u = undefined;
|
|
3958
3987
|
/* functional template */
|
|
3959
3988
|
|
|
3960
|
-
const __vue_is_functional_template__$
|
|
3989
|
+
const __vue_is_functional_template__$u = false;
|
|
3961
3990
|
/* style inject SSR */
|
|
3962
3991
|
|
|
3963
3992
|
/* style inject shadow dom */
|
|
3964
3993
|
|
|
3965
|
-
const __vue_component__$
|
|
3966
|
-
render: __vue_render__$
|
|
3967
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
3968
|
-
}, __vue_inject_styles__$
|
|
3994
|
+
const __vue_component__$u = /*#__PURE__*/normalizeComponent({
|
|
3995
|
+
render: __vue_render__$t,
|
|
3996
|
+
staticRenderFns: __vue_staticRenderFns__$t
|
|
3997
|
+
}, __vue_inject_styles__$u, __vue_script__$u, __vue_scope_id__$u, __vue_is_functional_template__$u, __vue_module_identifier__$u, false, createInjector, undefined, undefined);
|
|
3969
3998
|
|
|
3970
|
-
var TimePickerField = __vue_component__$
|
|
3999
|
+
var TimePickerField = __vue_component__$u;
|
|
3971
4000
|
|
|
3972
4001
|
//
|
|
3973
|
-
var script$
|
|
4002
|
+
var script$s = {
|
|
3974
4003
|
name: 'ui-field-timeselect',
|
|
3975
4004
|
mixins: [FieldMixin],
|
|
3976
4005
|
methods: {
|
|
@@ -3983,10 +4012,10 @@ var script$v = {
|
|
|
3983
4012
|
};
|
|
3984
4013
|
|
|
3985
4014
|
/* script */
|
|
3986
|
-
const __vue_script__$
|
|
4015
|
+
const __vue_script__$t = script$s;
|
|
3987
4016
|
/* template */
|
|
3988
4017
|
|
|
3989
|
-
var __vue_render__$
|
|
4018
|
+
var __vue_render__$s = function () {
|
|
3990
4019
|
var _vm = this;
|
|
3991
4020
|
|
|
3992
4021
|
var _h = _vm.$createElement;
|
|
@@ -4001,13 +4030,13 @@ var __vue_render__$v = function () {
|
|
|
4001
4030
|
}, 'el-time-select', _vm.$attrs, false), _vm.$listeners));
|
|
4002
4031
|
};
|
|
4003
4032
|
|
|
4004
|
-
var __vue_staticRenderFns__$
|
|
4033
|
+
var __vue_staticRenderFns__$s = [];
|
|
4005
4034
|
/* style */
|
|
4006
4035
|
|
|
4007
|
-
const __vue_inject_styles__$
|
|
4036
|
+
const __vue_inject_styles__$t = function (inject) {
|
|
4008
4037
|
if (!inject) return;
|
|
4009
|
-
inject("data-v-
|
|
4010
|
-
source: ".ui-timeselect-field.el-date-editor[data-v-
|
|
4038
|
+
inject("data-v-5d8b6449_0", {
|
|
4039
|
+
source: ".ui-timeselect-field.el-date-editor[data-v-5d8b6449]{width:100%}",
|
|
4011
4040
|
map: undefined,
|
|
4012
4041
|
media: undefined
|
|
4013
4042
|
});
|
|
@@ -4015,23 +4044,23 @@ const __vue_inject_styles__$w = function (inject) {
|
|
|
4015
4044
|
/* scoped */
|
|
4016
4045
|
|
|
4017
4046
|
|
|
4018
|
-
const __vue_scope_id__$
|
|
4047
|
+
const __vue_scope_id__$t = "data-v-5d8b6449";
|
|
4019
4048
|
/* module identifier */
|
|
4020
4049
|
|
|
4021
|
-
const __vue_module_identifier__$
|
|
4050
|
+
const __vue_module_identifier__$t = undefined;
|
|
4022
4051
|
/* functional template */
|
|
4023
4052
|
|
|
4024
|
-
const __vue_is_functional_template__$
|
|
4053
|
+
const __vue_is_functional_template__$t = false;
|
|
4025
4054
|
/* style inject SSR */
|
|
4026
4055
|
|
|
4027
4056
|
/* style inject shadow dom */
|
|
4028
4057
|
|
|
4029
|
-
const __vue_component__$
|
|
4030
|
-
render: __vue_render__$
|
|
4031
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
4032
|
-
}, __vue_inject_styles__$
|
|
4058
|
+
const __vue_component__$t = /*#__PURE__*/normalizeComponent({
|
|
4059
|
+
render: __vue_render__$s,
|
|
4060
|
+
staticRenderFns: __vue_staticRenderFns__$s
|
|
4061
|
+
}, __vue_inject_styles__$t, __vue_script__$t, __vue_scope_id__$t, __vue_is_functional_template__$t, __vue_module_identifier__$t, false, createInjector, undefined, undefined);
|
|
4033
4062
|
|
|
4034
|
-
var TimeSelectField = __vue_component__$
|
|
4063
|
+
var TimeSelectField = __vue_component__$t;
|
|
4035
4064
|
|
|
4036
4065
|
//
|
|
4037
4066
|
|
|
@@ -4040,7 +4069,7 @@ Date.prototype.calendar = function () {
|
|
|
4040
4069
|
return [this.getFullYear(), month < 10 ? "0" + month : month, this.getDate()].join("-");
|
|
4041
4070
|
};
|
|
4042
4071
|
|
|
4043
|
-
var script$
|
|
4072
|
+
var script$r = {
|
|
4044
4073
|
name: 'ui-field-datse',
|
|
4045
4074
|
mixins: [FieldMixin],
|
|
4046
4075
|
props: {
|
|
@@ -4094,10 +4123,10 @@ var script$u = {
|
|
|
4094
4123
|
};
|
|
4095
4124
|
|
|
4096
4125
|
/* script */
|
|
4097
|
-
const __vue_script__$
|
|
4126
|
+
const __vue_script__$s = script$r;
|
|
4098
4127
|
/* template */
|
|
4099
4128
|
|
|
4100
|
-
var __vue_render__$
|
|
4129
|
+
var __vue_render__$r = function () {
|
|
4101
4130
|
var _vm = this;
|
|
4102
4131
|
|
|
4103
4132
|
var _h = _vm.$createElement;
|
|
@@ -4143,13 +4172,13 @@ var __vue_render__$u = function () {
|
|
|
4143
4172
|
})], 1);
|
|
4144
4173
|
};
|
|
4145
4174
|
|
|
4146
|
-
var __vue_staticRenderFns__$
|
|
4175
|
+
var __vue_staticRenderFns__$r = [];
|
|
4147
4176
|
/* style */
|
|
4148
4177
|
|
|
4149
|
-
const __vue_inject_styles__$
|
|
4178
|
+
const __vue_inject_styles__$s = function (inject) {
|
|
4150
4179
|
if (!inject) return;
|
|
4151
|
-
inject("data-v-
|
|
4152
|
-
source: ".ui-date-field.el-date-editor[data-v-
|
|
4180
|
+
inject("data-v-3cf1c39a_0", {
|
|
4181
|
+
source: ".ui-date-field.el-date-editor[data-v-3cf1c39a]{width:100%}.calendar[data-v-3cf1c39a]{margin-right:20px}.calendar .calendarItem[data-v-3cf1c39a]{display:inline-block;box-sizing:border-box;width:45px;height:35px;cursor:pointer;border-right:1px solid #e3e3ee;text-align:center;border:1px solid #e3e3e3;font-size:14px}.calendar .calendarItem[data-v-3cf1c39a]:first-of-type{border-right:none;border-top-left-radius:5px;border-bottom-left-radius:5px}.calendar .calendarItem[data-v-3cf1c39a]:last-of-type{border-left:none;border-top-right-radius:5px;border-bottom-right-radius:5px}.calendar .calendar-active[data-v-3cf1c39a]{color:#1890ff;background:#e3e3e3}.separator[data-v-3cf1c39a]{margin-right:10px;color:#333}",
|
|
4153
4182
|
map: undefined,
|
|
4154
4183
|
media: undefined
|
|
4155
4184
|
});
|
|
@@ -4157,26 +4186,26 @@ const __vue_inject_styles__$v = function (inject) {
|
|
|
4157
4186
|
/* scoped */
|
|
4158
4187
|
|
|
4159
4188
|
|
|
4160
|
-
const __vue_scope_id__$
|
|
4189
|
+
const __vue_scope_id__$s = "data-v-3cf1c39a";
|
|
4161
4190
|
/* module identifier */
|
|
4162
4191
|
|
|
4163
|
-
const __vue_module_identifier__$
|
|
4192
|
+
const __vue_module_identifier__$s = undefined;
|
|
4164
4193
|
/* functional template */
|
|
4165
4194
|
|
|
4166
|
-
const __vue_is_functional_template__$
|
|
4195
|
+
const __vue_is_functional_template__$s = false;
|
|
4167
4196
|
/* style inject SSR */
|
|
4168
4197
|
|
|
4169
4198
|
/* style inject shadow dom */
|
|
4170
4199
|
|
|
4171
|
-
const __vue_component__$
|
|
4172
|
-
render: __vue_render__$
|
|
4173
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
4174
|
-
}, __vue_inject_styles__$
|
|
4200
|
+
const __vue_component__$s = /*#__PURE__*/normalizeComponent({
|
|
4201
|
+
render: __vue_render__$r,
|
|
4202
|
+
staticRenderFns: __vue_staticRenderFns__$r
|
|
4203
|
+
}, __vue_inject_styles__$s, __vue_script__$s, __vue_scope_id__$s, __vue_is_functional_template__$s, __vue_module_identifier__$s, false, createInjector, undefined, undefined);
|
|
4175
4204
|
|
|
4176
|
-
var DatecCalendarField = __vue_component__$
|
|
4205
|
+
var DatecCalendarField = __vue_component__$s;
|
|
4177
4206
|
|
|
4178
4207
|
//
|
|
4179
|
-
var script$
|
|
4208
|
+
var script$q = {
|
|
4180
4209
|
name: 'ui-field-slider',
|
|
4181
4210
|
mixins: [FieldMixin],
|
|
4182
4211
|
props: {
|
|
@@ -4246,10 +4275,10 @@ var script$t = {
|
|
|
4246
4275
|
};
|
|
4247
4276
|
|
|
4248
4277
|
/* script */
|
|
4249
|
-
const __vue_script__$
|
|
4278
|
+
const __vue_script__$r = script$q;
|
|
4250
4279
|
/* template */
|
|
4251
4280
|
|
|
4252
|
-
var __vue_render__$
|
|
4281
|
+
var __vue_render__$q = function () {
|
|
4253
4282
|
var _vm = this;
|
|
4254
4283
|
|
|
4255
4284
|
var _h = _vm.$createElement;
|
|
@@ -4275,43 +4304,43 @@ var __vue_render__$t = function () {
|
|
|
4275
4304
|
}, 'el-slider', _vm.$attrs, false), _vm._listeners));
|
|
4276
4305
|
};
|
|
4277
4306
|
|
|
4278
|
-
var __vue_staticRenderFns__$
|
|
4307
|
+
var __vue_staticRenderFns__$q = [];
|
|
4279
4308
|
/* style */
|
|
4280
4309
|
|
|
4281
|
-
const __vue_inject_styles__$
|
|
4310
|
+
const __vue_inject_styles__$r = undefined;
|
|
4282
4311
|
/* scoped */
|
|
4283
4312
|
|
|
4284
|
-
const __vue_scope_id__$
|
|
4313
|
+
const __vue_scope_id__$r = "data-v-75848f56";
|
|
4285
4314
|
/* module identifier */
|
|
4286
4315
|
|
|
4287
|
-
const __vue_module_identifier__$
|
|
4316
|
+
const __vue_module_identifier__$r = undefined;
|
|
4288
4317
|
/* functional template */
|
|
4289
4318
|
|
|
4290
|
-
const __vue_is_functional_template__$
|
|
4319
|
+
const __vue_is_functional_template__$r = false;
|
|
4291
4320
|
/* style inject */
|
|
4292
4321
|
|
|
4293
4322
|
/* style inject SSR */
|
|
4294
4323
|
|
|
4295
4324
|
/* style inject shadow dom */
|
|
4296
4325
|
|
|
4297
|
-
const __vue_component__$
|
|
4298
|
-
render: __vue_render__$
|
|
4299
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
4300
|
-
}, __vue_inject_styles__$
|
|
4301
|
-
|
|
4302
|
-
var SliderField = __vue_component__$
|
|
4326
|
+
const __vue_component__$r = /*#__PURE__*/normalizeComponent({
|
|
4327
|
+
render: __vue_render__$q,
|
|
4328
|
+
staticRenderFns: __vue_staticRenderFns__$q
|
|
4329
|
+
}, __vue_inject_styles__$r, __vue_script__$r, __vue_scope_id__$r, __vue_is_functional_template__$r, __vue_module_identifier__$r, false, undefined, undefined, undefined);
|
|
4330
|
+
|
|
4331
|
+
var SliderField = __vue_component__$r;
|
|
4303
4332
|
|
|
4304
4333
|
//
|
|
4305
|
-
var script$
|
|
4334
|
+
var script$p = {
|
|
4306
4335
|
name: 'ui-field-switch',
|
|
4307
4336
|
mixins: [FieldMixin]
|
|
4308
4337
|
};
|
|
4309
4338
|
|
|
4310
4339
|
/* script */
|
|
4311
|
-
const __vue_script__$
|
|
4340
|
+
const __vue_script__$q = script$p;
|
|
4312
4341
|
/* template */
|
|
4313
4342
|
|
|
4314
|
-
var __vue_render__$
|
|
4343
|
+
var __vue_render__$p = function () {
|
|
4315
4344
|
var _vm = this;
|
|
4316
4345
|
|
|
4317
4346
|
var _h = _vm.$createElement;
|
|
@@ -4325,34 +4354,34 @@ var __vue_render__$s = function () {
|
|
|
4325
4354
|
}, 'el-switch', _vm.$attrs, false), _vm.$listeners));
|
|
4326
4355
|
};
|
|
4327
4356
|
|
|
4328
|
-
var __vue_staticRenderFns__$
|
|
4357
|
+
var __vue_staticRenderFns__$p = [];
|
|
4329
4358
|
/* style */
|
|
4330
4359
|
|
|
4331
|
-
const __vue_inject_styles__$
|
|
4360
|
+
const __vue_inject_styles__$q = undefined;
|
|
4332
4361
|
/* scoped */
|
|
4333
4362
|
|
|
4334
|
-
const __vue_scope_id__$
|
|
4363
|
+
const __vue_scope_id__$q = "data-v-df0fd42a";
|
|
4335
4364
|
/* module identifier */
|
|
4336
4365
|
|
|
4337
|
-
const __vue_module_identifier__$
|
|
4366
|
+
const __vue_module_identifier__$q = undefined;
|
|
4338
4367
|
/* functional template */
|
|
4339
4368
|
|
|
4340
|
-
const __vue_is_functional_template__$
|
|
4369
|
+
const __vue_is_functional_template__$q = false;
|
|
4341
4370
|
/* style inject */
|
|
4342
4371
|
|
|
4343
4372
|
/* style inject SSR */
|
|
4344
4373
|
|
|
4345
4374
|
/* style inject shadow dom */
|
|
4346
4375
|
|
|
4347
|
-
const __vue_component__$
|
|
4348
|
-
render: __vue_render__$
|
|
4349
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
4350
|
-
}, __vue_inject_styles__$
|
|
4376
|
+
const __vue_component__$q = /*#__PURE__*/normalizeComponent({
|
|
4377
|
+
render: __vue_render__$p,
|
|
4378
|
+
staticRenderFns: __vue_staticRenderFns__$p
|
|
4379
|
+
}, __vue_inject_styles__$q, __vue_script__$q, __vue_scope_id__$q, __vue_is_functional_template__$q, __vue_module_identifier__$q, false, undefined, undefined, undefined);
|
|
4351
4380
|
|
|
4352
|
-
var SwitchField = __vue_component__$
|
|
4381
|
+
var SwitchField = __vue_component__$q;
|
|
4353
4382
|
|
|
4354
4383
|
//
|
|
4355
|
-
var script$
|
|
4384
|
+
var script$o = {
|
|
4356
4385
|
name: 'ui-field-rate',
|
|
4357
4386
|
mixins: [FieldMixin],
|
|
4358
4387
|
props: {
|
|
@@ -4386,10 +4415,10 @@ var script$r = {
|
|
|
4386
4415
|
};
|
|
4387
4416
|
|
|
4388
4417
|
/* script */
|
|
4389
|
-
const __vue_script__$
|
|
4418
|
+
const __vue_script__$p = script$o;
|
|
4390
4419
|
/* template */
|
|
4391
4420
|
|
|
4392
|
-
var __vue_render__$
|
|
4421
|
+
var __vue_render__$o = function () {
|
|
4393
4422
|
var _vm = this;
|
|
4394
4423
|
|
|
4395
4424
|
var _h = _vm.$createElement;
|
|
@@ -4410,34 +4439,34 @@ var __vue_render__$r = function () {
|
|
|
4410
4439
|
}, 'el-rate', _vm.$attrs, false), _vm._listeners));
|
|
4411
4440
|
};
|
|
4412
4441
|
|
|
4413
|
-
var __vue_staticRenderFns__$
|
|
4442
|
+
var __vue_staticRenderFns__$o = [];
|
|
4414
4443
|
/* style */
|
|
4415
4444
|
|
|
4416
|
-
const __vue_inject_styles__$
|
|
4445
|
+
const __vue_inject_styles__$p = undefined;
|
|
4417
4446
|
/* scoped */
|
|
4418
4447
|
|
|
4419
|
-
const __vue_scope_id__$
|
|
4448
|
+
const __vue_scope_id__$p = "data-v-1b34cf02";
|
|
4420
4449
|
/* module identifier */
|
|
4421
4450
|
|
|
4422
|
-
const __vue_module_identifier__$
|
|
4451
|
+
const __vue_module_identifier__$p = undefined;
|
|
4423
4452
|
/* functional template */
|
|
4424
4453
|
|
|
4425
|
-
const __vue_is_functional_template__$
|
|
4454
|
+
const __vue_is_functional_template__$p = false;
|
|
4426
4455
|
/* style inject */
|
|
4427
4456
|
|
|
4428
4457
|
/* style inject SSR */
|
|
4429
4458
|
|
|
4430
4459
|
/* style inject shadow dom */
|
|
4431
4460
|
|
|
4432
|
-
const __vue_component__$
|
|
4433
|
-
render: __vue_render__$
|
|
4434
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
4435
|
-
}, __vue_inject_styles__$
|
|
4461
|
+
const __vue_component__$p = /*#__PURE__*/normalizeComponent({
|
|
4462
|
+
render: __vue_render__$o,
|
|
4463
|
+
staticRenderFns: __vue_staticRenderFns__$o
|
|
4464
|
+
}, __vue_inject_styles__$p, __vue_script__$p, __vue_scope_id__$p, __vue_is_functional_template__$p, __vue_module_identifier__$p, false, undefined, undefined, undefined);
|
|
4436
4465
|
|
|
4437
|
-
var RateField = __vue_component__$
|
|
4466
|
+
var RateField = __vue_component__$p;
|
|
4438
4467
|
|
|
4439
4468
|
//
|
|
4440
|
-
var script$
|
|
4469
|
+
var script$n = {
|
|
4441
4470
|
name: 'ui-field-color',
|
|
4442
4471
|
mixins: [FieldMixin],
|
|
4443
4472
|
props: {
|
|
@@ -4449,10 +4478,10 @@ var script$q = {
|
|
|
4449
4478
|
};
|
|
4450
4479
|
|
|
4451
4480
|
/* script */
|
|
4452
|
-
const __vue_script__$
|
|
4481
|
+
const __vue_script__$o = script$n;
|
|
4453
4482
|
/* template */
|
|
4454
4483
|
|
|
4455
|
-
var __vue_render__$
|
|
4484
|
+
var __vue_render__$n = function () {
|
|
4456
4485
|
var _vm = this;
|
|
4457
4486
|
|
|
4458
4487
|
var _h = _vm.$createElement;
|
|
@@ -4468,13 +4497,13 @@ var __vue_render__$q = function () {
|
|
|
4468
4497
|
}, 'el-color-picker', _vm.$attrs, false), _vm.$listeners));
|
|
4469
4498
|
};
|
|
4470
4499
|
|
|
4471
|
-
var __vue_staticRenderFns__$
|
|
4500
|
+
var __vue_staticRenderFns__$n = [];
|
|
4472
4501
|
/* style */
|
|
4473
4502
|
|
|
4474
|
-
const __vue_inject_styles__$
|
|
4503
|
+
const __vue_inject_styles__$o = function (inject) {
|
|
4475
4504
|
if (!inject) return;
|
|
4476
|
-
inject("data-v-
|
|
4477
|
-
source: ".ui-field-color[data-v-
|
|
4505
|
+
inject("data-v-1d42ab35_0", {
|
|
4506
|
+
source: ".ui-field-color[data-v-1d42ab35]{width:100%}",
|
|
4478
4507
|
map: undefined,
|
|
4479
4508
|
media: undefined
|
|
4480
4509
|
});
|
|
@@ -4482,23 +4511,23 @@ const __vue_inject_styles__$r = function (inject) {
|
|
|
4482
4511
|
/* scoped */
|
|
4483
4512
|
|
|
4484
4513
|
|
|
4485
|
-
const __vue_scope_id__$
|
|
4514
|
+
const __vue_scope_id__$o = "data-v-1d42ab35";
|
|
4486
4515
|
/* module identifier */
|
|
4487
4516
|
|
|
4488
|
-
const __vue_module_identifier__$
|
|
4517
|
+
const __vue_module_identifier__$o = undefined;
|
|
4489
4518
|
/* functional template */
|
|
4490
4519
|
|
|
4491
|
-
const __vue_is_functional_template__$
|
|
4520
|
+
const __vue_is_functional_template__$o = false;
|
|
4492
4521
|
/* style inject SSR */
|
|
4493
4522
|
|
|
4494
4523
|
/* style inject shadow dom */
|
|
4495
4524
|
|
|
4496
|
-
const __vue_component__$
|
|
4497
|
-
render: __vue_render__$
|
|
4498
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
4499
|
-
}, __vue_inject_styles__$
|
|
4525
|
+
const __vue_component__$o = /*#__PURE__*/normalizeComponent({
|
|
4526
|
+
render: __vue_render__$n,
|
|
4527
|
+
staticRenderFns: __vue_staticRenderFns__$n
|
|
4528
|
+
}, __vue_inject_styles__$o, __vue_script__$o, __vue_scope_id__$o, __vue_is_functional_template__$o, __vue_module_identifier__$o, false, createInjector, undefined, undefined);
|
|
4500
4529
|
|
|
4501
|
-
var ColorField = __vue_component__$
|
|
4530
|
+
var ColorField = __vue_component__$o;
|
|
4502
4531
|
|
|
4503
4532
|
var Upload = {
|
|
4504
4533
|
default: function (url) {
|
|
@@ -4761,10 +4790,10 @@ const RichField$1 = {
|
|
|
4761
4790
|
};
|
|
4762
4791
|
|
|
4763
4792
|
/* script */
|
|
4764
|
-
const __vue_script__$
|
|
4793
|
+
const __vue_script__$n = RichField$1;
|
|
4765
4794
|
/* template */
|
|
4766
4795
|
|
|
4767
|
-
var __vue_render__$
|
|
4796
|
+
var __vue_render__$m = function () {
|
|
4768
4797
|
var _vm = this;
|
|
4769
4798
|
|
|
4770
4799
|
var _h = _vm.$createElement;
|
|
@@ -4782,17 +4811,17 @@ var __vue_render__$p = function () {
|
|
|
4782
4811
|
});
|
|
4783
4812
|
};
|
|
4784
4813
|
|
|
4785
|
-
var __vue_staticRenderFns__$
|
|
4814
|
+
var __vue_staticRenderFns__$m = [];
|
|
4786
4815
|
/* style */
|
|
4787
4816
|
|
|
4788
|
-
const __vue_inject_styles__$
|
|
4817
|
+
const __vue_inject_styles__$n = function (inject) {
|
|
4789
4818
|
if (!inject) return;
|
|
4790
|
-
inject("data-v-
|
|
4819
|
+
inject("data-v-4eb4343e_0", {
|
|
4791
4820
|
source: ".quill-editor .ql-font span[data-value=Arial]::before{content:\"Arial\"!important;font-family:Arial,serif}.quill-editor .ql-font span[data-value=FangSong]::before{content:\"仿宋\"!important;font-family:\"仿宋_GB2312\",FangSong_GB2312,\"宋体\",SimSun,STFangsong,STSong,serif}.quill-editor .ql-font span[data-value=HeiTi]::before{content:\"黑体\"!important;font-family:\"黑体\",SimHei,\"微软正黑体\",\"Microsoft JhengHei\",STHeiti,serif}.quill-editor .ql-font span[data-value=Microsoft]::before{content:\"微软雅黑\"!important;font-family:\"微软雅黑\",\"Microsoft YaHei\",serif}.quill-editor .ql-font-Arial{font-family:Arial,serif}.quill-editor .ql-font-FangSong{font-family:\"仿宋_GB2312\",FangSong_GB2312,\"宋体\",SimSun,STFangsong,STSong,serif}.quill-editor .ql-font-HeiTi{font-family:\"黑体\",SimHei,\"微软正黑体\",\"Microsoft JhengHei\",STHeiti,serif}.quill-editor .ql-font-Microsoft{font-family:\"微软雅黑\",\"Microsoft YaHei\",serif}",
|
|
4792
4821
|
map: undefined,
|
|
4793
4822
|
media: undefined
|
|
4794
|
-
}), inject("data-v-
|
|
4795
|
-
source: ".quill-editor[data-v-
|
|
4823
|
+
}), inject("data-v-4eb4343e_1", {
|
|
4824
|
+
source: ".quill-editor[data-v-4eb4343e]{width:100%;display:flex;align-items:initial!important;flex-direction:column}.quill-editor .ql-toolbar[data-v-4eb4343e]{flex:none}.quill-editor .ql-container[data-v-4eb4343e]{flex:auto;height:initial;display:flex;flex-direction:column}.quill-editor .ql-container .ql-editor[data-v-4eb4343e]{flex:auto}.quill-editor[data-v-4eb4343e] .ql-editor{min-height:200px}",
|
|
4796
4825
|
map: undefined,
|
|
4797
4826
|
media: undefined
|
|
4798
4827
|
});
|
|
@@ -4800,23 +4829,23 @@ const __vue_inject_styles__$q = function (inject) {
|
|
|
4800
4829
|
/* scoped */
|
|
4801
4830
|
|
|
4802
4831
|
|
|
4803
|
-
const __vue_scope_id__$
|
|
4832
|
+
const __vue_scope_id__$n = "data-v-4eb4343e";
|
|
4804
4833
|
/* module identifier */
|
|
4805
4834
|
|
|
4806
|
-
const __vue_module_identifier__$
|
|
4835
|
+
const __vue_module_identifier__$n = undefined;
|
|
4807
4836
|
/* functional template */
|
|
4808
4837
|
|
|
4809
|
-
const __vue_is_functional_template__$
|
|
4838
|
+
const __vue_is_functional_template__$n = false;
|
|
4810
4839
|
/* style inject SSR */
|
|
4811
4840
|
|
|
4812
4841
|
/* style inject shadow dom */
|
|
4813
4842
|
|
|
4814
|
-
const __vue_component__$
|
|
4815
|
-
render: __vue_render__$
|
|
4816
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
4817
|
-
}, __vue_inject_styles__$
|
|
4843
|
+
const __vue_component__$n = /*#__PURE__*/normalizeComponent({
|
|
4844
|
+
render: __vue_render__$m,
|
|
4845
|
+
staticRenderFns: __vue_staticRenderFns__$m
|
|
4846
|
+
}, __vue_inject_styles__$n, __vue_script__$n, __vue_scope_id__$n, __vue_is_functional_template__$n, __vue_module_identifier__$n, false, createInjector, undefined, undefined);
|
|
4818
4847
|
|
|
4819
|
-
var RichField = __vue_component__$
|
|
4848
|
+
var RichField = __vue_component__$n;
|
|
4820
4849
|
|
|
4821
4850
|
//
|
|
4822
4851
|
|
|
@@ -4834,7 +4863,7 @@ const getUrlSuffix = url => {
|
|
|
4834
4863
|
return url.substring(index + 1);
|
|
4835
4864
|
};
|
|
4836
4865
|
|
|
4837
|
-
var script$
|
|
4866
|
+
var script$m = {
|
|
4838
4867
|
name: 'ui-field-upload-file',
|
|
4839
4868
|
mixins: [FieldMixin],
|
|
4840
4869
|
props: {
|
|
@@ -4861,10 +4890,10 @@ var script$p = {
|
|
|
4861
4890
|
default: true
|
|
4862
4891
|
},
|
|
4863
4892
|
|
|
4864
|
-
/**
|
|
4865
|
-
* eg: beforeUpload(file) { ... }
|
|
4866
|
-
*
|
|
4867
|
-
* return false will cancel upload
|
|
4893
|
+
/**
|
|
4894
|
+
* eg: beforeUpload(file) { ... }
|
|
4895
|
+
*
|
|
4896
|
+
* return false will cancel upload
|
|
4868
4897
|
**/
|
|
4869
4898
|
beforeUpload: {
|
|
4870
4899
|
type: Function,
|
|
@@ -5027,10 +5056,10 @@ var script$p = {
|
|
|
5027
5056
|
};
|
|
5028
5057
|
|
|
5029
5058
|
/* script */
|
|
5030
|
-
const __vue_script__$
|
|
5059
|
+
const __vue_script__$m = script$m;
|
|
5031
5060
|
/* template */
|
|
5032
5061
|
|
|
5033
|
-
var __vue_render__$
|
|
5062
|
+
var __vue_render__$l = function () {
|
|
5034
5063
|
var _vm = this;
|
|
5035
5064
|
|
|
5036
5065
|
var _h = _vm.$createElement;
|
|
@@ -5088,13 +5117,13 @@ var __vue_render__$o = function () {
|
|
|
5088
5117
|
})], 2)], 1);
|
|
5089
5118
|
};
|
|
5090
5119
|
|
|
5091
|
-
var __vue_staticRenderFns__$
|
|
5120
|
+
var __vue_staticRenderFns__$l = [];
|
|
5092
5121
|
/* style */
|
|
5093
5122
|
|
|
5094
|
-
const __vue_inject_styles__$
|
|
5123
|
+
const __vue_inject_styles__$m = function (inject) {
|
|
5095
5124
|
if (!inject) return;
|
|
5096
|
-
inject("data-v-
|
|
5097
|
-
source: ".ui-file-upload-field[data-v-
|
|
5125
|
+
inject("data-v-a0ac883e_0", {
|
|
5126
|
+
source: ".ui-file-upload-field[data-v-a0ac883e]{width:100%}.ui-file-upload-field .uploader[data-v-a0ac883e]{margin-bottom:5px}.ui-file-upload-field .uploader.disabled[data-v-a0ac883e] .el-upload{cursor:not-allowed;pointer-events:none}.ui-file-upload-field .uploader.disabled[data-v-a0ac883e] .el-upload .upload-btn{color:#888c94;background-color:#edeef0}.ui-file-upload-field .upload-btn[data-v-a0ac883e]{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-a0ac883e]:hover{background-color:#0d84ff}.ui-file-upload-field .files[data-v-a0ac883e]{max-width:100%}.ui-file-upload-field .files .file[data-v-a0ac883e]{color:#606266;font-size:14px;transition:all .3s;cursor:pointer;display:grid;grid-template-columns:14px auto 28px;align-items:center;max-width:100%}.ui-file-upload-field .files .file a[data-v-a0ac883e]{color:#606266;transition:all .3s;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-file-upload-field .files .file .close[data-v-a0ac883e]{color:transparent;width:28px;text-align:center;visibility:hidden;transition:color .3s;font-weight:700}.ui-file-upload-field .files .file[data-v-a0ac883e]:hover{background-color:#f5f7fa}.ui-file-upload-field .files .file:hover a[data-v-a0ac883e]{color:var(--color-primary)}.ui-file-upload-field .files .file:hover .close[data-v-a0ac883e]{color:#409eff;visibility:visible}",
|
|
5098
5127
|
map: undefined,
|
|
5099
5128
|
media: undefined
|
|
5100
5129
|
});
|
|
@@ -5102,26 +5131,26 @@ const __vue_inject_styles__$p = function (inject) {
|
|
|
5102
5131
|
/* scoped */
|
|
5103
5132
|
|
|
5104
5133
|
|
|
5105
|
-
const __vue_scope_id__$
|
|
5134
|
+
const __vue_scope_id__$m = "data-v-a0ac883e";
|
|
5106
5135
|
/* module identifier */
|
|
5107
5136
|
|
|
5108
|
-
const __vue_module_identifier__$
|
|
5137
|
+
const __vue_module_identifier__$m = undefined;
|
|
5109
5138
|
/* functional template */
|
|
5110
5139
|
|
|
5111
|
-
const __vue_is_functional_template__$
|
|
5140
|
+
const __vue_is_functional_template__$m = false;
|
|
5112
5141
|
/* style inject SSR */
|
|
5113
5142
|
|
|
5114
5143
|
/* style inject shadow dom */
|
|
5115
5144
|
|
|
5116
|
-
const __vue_component__$
|
|
5117
|
-
render: __vue_render__$
|
|
5118
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
5119
|
-
}, __vue_inject_styles__$
|
|
5145
|
+
const __vue_component__$m = /*#__PURE__*/normalizeComponent({
|
|
5146
|
+
render: __vue_render__$l,
|
|
5147
|
+
staticRenderFns: __vue_staticRenderFns__$l
|
|
5148
|
+
}, __vue_inject_styles__$m, __vue_script__$m, __vue_scope_id__$m, __vue_is_functional_template__$m, __vue_module_identifier__$m, false, createInjector, undefined, undefined);
|
|
5120
5149
|
|
|
5121
|
-
var FileUploadField = __vue_component__$
|
|
5150
|
+
var FileUploadField = __vue_component__$m;
|
|
5122
5151
|
|
|
5123
5152
|
//
|
|
5124
|
-
var script$
|
|
5153
|
+
var script$l = {
|
|
5125
5154
|
name: 'ui-field-upload-image',
|
|
5126
5155
|
mixins: [FileUploadField],
|
|
5127
5156
|
props: {
|
|
@@ -5141,10 +5170,10 @@ var script$o = {
|
|
|
5141
5170
|
};
|
|
5142
5171
|
|
|
5143
5172
|
/* script */
|
|
5144
|
-
const __vue_script__$
|
|
5173
|
+
const __vue_script__$l = script$l;
|
|
5145
5174
|
/* template */
|
|
5146
5175
|
|
|
5147
|
-
var __vue_render__$
|
|
5176
|
+
var __vue_render__$k = function () {
|
|
5148
5177
|
var _vm = this;
|
|
5149
5178
|
|
|
5150
5179
|
var _h = _vm.$createElement;
|
|
@@ -5200,13 +5229,13 @@ var __vue_render__$n = function () {
|
|
|
5200
5229
|
}), _vm._v(" "), _c('span', [_vm._v("上传图片")])])]) : _vm._e()], 2);
|
|
5201
5230
|
};
|
|
5202
5231
|
|
|
5203
|
-
var __vue_staticRenderFns__$
|
|
5232
|
+
var __vue_staticRenderFns__$k = [];
|
|
5204
5233
|
/* style */
|
|
5205
5234
|
|
|
5206
|
-
const __vue_inject_styles__$
|
|
5235
|
+
const __vue_inject_styles__$l = function (inject) {
|
|
5207
5236
|
if (!inject) return;
|
|
5208
|
-
inject("data-v-
|
|
5209
|
-
source: ".ui-image-upload-field[data-v-
|
|
5237
|
+
inject("data-v-49662d87_0", {
|
|
5238
|
+
source: ".ui-image-upload-field[data-v-49662d87]{width:100%;display:flex;flex-direction:row;flex-wrap:wrap}.ui-image-upload-field .uploader.disabled[data-v-49662d87] .el-upload{cursor:not-allowed;pointer-events:none}.ui-image-upload-field .uploader.disabled[data-v-49662d87] .el-upload .upload-btn{background:#edeef0;color:#888c94}.ui-image-upload-field .item[data-v-49662d87]{position:relative;display:flex;justify-content:center;align-items:center;overflow:hidden;width:140px;height:140px;margin-bottom:10px;margin-right:10px;border:1px dashed #d0d2d7;padding:8px;border-radius:2px;box-sizing:border-box}.ui-image-upload-field .item .remove[data-v-49662d87]{position:absolute;top:0;right:0;width:24px;height:24px;background-color:rgba(0,0,0,.7);border-radius:0 0 0 22px;cursor:pointer}.ui-image-upload-field .item .remove .el-icon-close[data-v-49662d87]{position:absolute;top:4px;right:4px;color:#fff;font-size:14px}.ui-image-upload-field .item.upload-btn[data-v-49662d87]{background:#f7f8f9;display:flex;flex-direction:column;align-items:center;justify-content:center;border:none;color:#409eff}.ui-image-upload-field .item.upload-btn>.el-icon-plus[data-v-49662d87]{font-size:1.6em}.ui-image-upload-field .item.upload-btn>span[data-v-49662d87]{font-size:16px;line-height:1.2;margin-top:5px}.ui-image-upload-field .item:hover .modal[data-v-49662d87]{visibility:visible}.ui-image-upload-field[data-v-49662d87] .preview{display:inline-block;width:auto;max-width:60%;left:50%;transform:translateX(-50%)}",
|
|
5210
5239
|
map: undefined,
|
|
5211
5240
|
media: undefined
|
|
5212
5241
|
});
|
|
@@ -5214,26 +5243,26 @@ const __vue_inject_styles__$o = function (inject) {
|
|
|
5214
5243
|
/* scoped */
|
|
5215
5244
|
|
|
5216
5245
|
|
|
5217
|
-
const __vue_scope_id__$
|
|
5246
|
+
const __vue_scope_id__$l = "data-v-49662d87";
|
|
5218
5247
|
/* module identifier */
|
|
5219
5248
|
|
|
5220
|
-
const __vue_module_identifier__$
|
|
5249
|
+
const __vue_module_identifier__$l = undefined;
|
|
5221
5250
|
/* functional template */
|
|
5222
5251
|
|
|
5223
|
-
const __vue_is_functional_template__$
|
|
5252
|
+
const __vue_is_functional_template__$l = false;
|
|
5224
5253
|
/* style inject SSR */
|
|
5225
5254
|
|
|
5226
5255
|
/* style inject shadow dom */
|
|
5227
5256
|
|
|
5228
|
-
const __vue_component__$
|
|
5229
|
-
render: __vue_render__$
|
|
5230
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
5231
|
-
}, __vue_inject_styles__$
|
|
5257
|
+
const __vue_component__$l = /*#__PURE__*/normalizeComponent({
|
|
5258
|
+
render: __vue_render__$k,
|
|
5259
|
+
staticRenderFns: __vue_staticRenderFns__$k
|
|
5260
|
+
}, __vue_inject_styles__$l, __vue_script__$l, __vue_scope_id__$l, __vue_is_functional_template__$l, __vue_module_identifier__$l, false, createInjector, undefined, undefined);
|
|
5232
5261
|
|
|
5233
|
-
var ImageUploadField = __vue_component__$
|
|
5262
|
+
var ImageUploadField = __vue_component__$l;
|
|
5234
5263
|
|
|
5235
5264
|
//
|
|
5236
|
-
var script$
|
|
5265
|
+
var script$k = {
|
|
5237
5266
|
name: 'ui-field-trigger-dialog',
|
|
5238
5267
|
mixins: [FieldMixin],
|
|
5239
5268
|
props: {
|
|
@@ -5268,10 +5297,10 @@ var script$n = {
|
|
|
5268
5297
|
};
|
|
5269
5298
|
|
|
5270
5299
|
/* script */
|
|
5271
|
-
const __vue_script__$
|
|
5300
|
+
const __vue_script__$k = script$k;
|
|
5272
5301
|
/* template */
|
|
5273
5302
|
|
|
5274
|
-
var __vue_render__$
|
|
5303
|
+
var __vue_render__$j = function () {
|
|
5275
5304
|
var _vm = this;
|
|
5276
5305
|
|
|
5277
5306
|
var _h = _vm.$createElement;
|
|
@@ -5313,34 +5342,34 @@ var __vue_render__$m = function () {
|
|
|
5313
5342
|
}, 'ui-dialog', _vm.dialog, false), _vm.$listeners), [_vm._t("default")], 2)], 1);
|
|
5314
5343
|
};
|
|
5315
5344
|
|
|
5316
|
-
var __vue_staticRenderFns__$
|
|
5345
|
+
var __vue_staticRenderFns__$j = [];
|
|
5317
5346
|
/* style */
|
|
5318
5347
|
|
|
5319
|
-
const __vue_inject_styles__$
|
|
5348
|
+
const __vue_inject_styles__$k = undefined;
|
|
5320
5349
|
/* scoped */
|
|
5321
5350
|
|
|
5322
|
-
const __vue_scope_id__$
|
|
5351
|
+
const __vue_scope_id__$k = "data-v-c78e8610";
|
|
5323
5352
|
/* module identifier */
|
|
5324
5353
|
|
|
5325
|
-
const __vue_module_identifier__$
|
|
5354
|
+
const __vue_module_identifier__$k = undefined;
|
|
5326
5355
|
/* functional template */
|
|
5327
5356
|
|
|
5328
|
-
const __vue_is_functional_template__$
|
|
5357
|
+
const __vue_is_functional_template__$k = false;
|
|
5329
5358
|
/* style inject */
|
|
5330
5359
|
|
|
5331
5360
|
/* style inject SSR */
|
|
5332
5361
|
|
|
5333
5362
|
/* style inject shadow dom */
|
|
5334
5363
|
|
|
5335
|
-
const __vue_component__$
|
|
5336
|
-
render: __vue_render__$
|
|
5337
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
5338
|
-
}, __vue_inject_styles__$
|
|
5364
|
+
const __vue_component__$k = /*#__PURE__*/normalizeComponent({
|
|
5365
|
+
render: __vue_render__$j,
|
|
5366
|
+
staticRenderFns: __vue_staticRenderFns__$j
|
|
5367
|
+
}, __vue_inject_styles__$k, __vue_script__$k, __vue_scope_id__$k, __vue_is_functional_template__$k, __vue_module_identifier__$k, false, undefined, undefined, undefined);
|
|
5339
5368
|
|
|
5340
|
-
var DialogTrigger = __vue_component__$
|
|
5369
|
+
var DialogTrigger = __vue_component__$k;
|
|
5341
5370
|
|
|
5342
5371
|
//
|
|
5343
|
-
var script$
|
|
5372
|
+
var script$j = {
|
|
5344
5373
|
name: 'ui-field-trigger-popover',
|
|
5345
5374
|
mixins: [FieldMixin],
|
|
5346
5375
|
props: {
|
|
@@ -5389,10 +5418,10 @@ var script$m = {
|
|
|
5389
5418
|
};
|
|
5390
5419
|
|
|
5391
5420
|
/* script */
|
|
5392
|
-
const __vue_script__$
|
|
5421
|
+
const __vue_script__$j = script$j;
|
|
5393
5422
|
/* template */
|
|
5394
5423
|
|
|
5395
|
-
var __vue_render__$
|
|
5424
|
+
var __vue_render__$i = function () {
|
|
5396
5425
|
var _vm = this;
|
|
5397
5426
|
|
|
5398
5427
|
var _h = _vm.$createElement;
|
|
@@ -5437,13 +5466,13 @@ var __vue_render__$l = function () {
|
|
|
5437
5466
|
})], 2)], 2);
|
|
5438
5467
|
};
|
|
5439
5468
|
|
|
5440
|
-
var __vue_staticRenderFns__$
|
|
5469
|
+
var __vue_staticRenderFns__$i = [];
|
|
5441
5470
|
/* style */
|
|
5442
5471
|
|
|
5443
|
-
const __vue_inject_styles__$
|
|
5472
|
+
const __vue_inject_styles__$j = function (inject) {
|
|
5444
5473
|
if (!inject) return;
|
|
5445
|
-
inject("data-v-
|
|
5446
|
-
source: ".ui-field-trigger-popover[data-v-
|
|
5474
|
+
inject("data-v-78f8007b_0", {
|
|
5475
|
+
source: ".ui-field-trigger-popover[data-v-78f8007b]{width:100%}",
|
|
5447
5476
|
map: undefined,
|
|
5448
5477
|
media: undefined
|
|
5449
5478
|
});
|
|
@@ -5451,23 +5480,23 @@ const __vue_inject_styles__$m = function (inject) {
|
|
|
5451
5480
|
/* scoped */
|
|
5452
5481
|
|
|
5453
5482
|
|
|
5454
|
-
const __vue_scope_id__$
|
|
5483
|
+
const __vue_scope_id__$j = "data-v-78f8007b";
|
|
5455
5484
|
/* module identifier */
|
|
5456
5485
|
|
|
5457
|
-
const __vue_module_identifier__$
|
|
5486
|
+
const __vue_module_identifier__$j = undefined;
|
|
5458
5487
|
/* functional template */
|
|
5459
5488
|
|
|
5460
|
-
const __vue_is_functional_template__$
|
|
5489
|
+
const __vue_is_functional_template__$j = false;
|
|
5461
5490
|
/* style inject SSR */
|
|
5462
5491
|
|
|
5463
5492
|
/* style inject shadow dom */
|
|
5464
5493
|
|
|
5465
|
-
const __vue_component__$
|
|
5466
|
-
render: __vue_render__$
|
|
5467
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
5468
|
-
}, __vue_inject_styles__$
|
|
5494
|
+
const __vue_component__$j = /*#__PURE__*/normalizeComponent({
|
|
5495
|
+
render: __vue_render__$i,
|
|
5496
|
+
staticRenderFns: __vue_staticRenderFns__$i
|
|
5497
|
+
}, __vue_inject_styles__$j, __vue_script__$j, __vue_scope_id__$j, __vue_is_functional_template__$j, __vue_module_identifier__$j, false, createInjector, undefined, undefined);
|
|
5469
5498
|
|
|
5470
|
-
var PopoverTrigger = __vue_component__$
|
|
5499
|
+
var PopoverTrigger = __vue_component__$j;
|
|
5471
5500
|
|
|
5472
5501
|
var TriggerField = {
|
|
5473
5502
|
name: 'ui-field-trigger',
|
|
@@ -5490,7 +5519,7 @@ var TriggerField = {
|
|
|
5490
5519
|
};
|
|
5491
5520
|
|
|
5492
5521
|
//
|
|
5493
|
-
var script$
|
|
5522
|
+
var script$i = {
|
|
5494
5523
|
name: 'ui-field-icons',
|
|
5495
5524
|
mixins: [FieldMixin],
|
|
5496
5525
|
components: {
|
|
@@ -5548,10 +5577,10 @@ var script$l = {
|
|
|
5548
5577
|
};
|
|
5549
5578
|
|
|
5550
5579
|
/* script */
|
|
5551
|
-
const __vue_script__$
|
|
5580
|
+
const __vue_script__$i = script$i;
|
|
5552
5581
|
/* template */
|
|
5553
5582
|
|
|
5554
|
-
var __vue_render__$
|
|
5583
|
+
var __vue_render__$h = function () {
|
|
5555
5584
|
var _vm = this;
|
|
5556
5585
|
|
|
5557
5586
|
var _h = _vm.$createElement;
|
|
@@ -5621,13 +5650,13 @@ var __vue_render__$k = function () {
|
|
|
5621
5650
|
}), 0)])], 1)]);
|
|
5622
5651
|
};
|
|
5623
5652
|
|
|
5624
|
-
var __vue_staticRenderFns__$
|
|
5653
|
+
var __vue_staticRenderFns__$h = [];
|
|
5625
5654
|
/* style */
|
|
5626
5655
|
|
|
5627
|
-
const __vue_inject_styles__$
|
|
5656
|
+
const __vue_inject_styles__$i = function (inject) {
|
|
5628
5657
|
if (!inject) return;
|
|
5629
|
-
inject("data-v-
|
|
5630
|
-
source: ".ui-field-icons .filter[data-v-
|
|
5658
|
+
inject("data-v-32071a3e_0", {
|
|
5659
|
+
source: ".ui-field-icons .filter[data-v-32071a3e]{margin-bottom:10px}.ui-field-icons .filter[data-v-32071a3e] .el-input__validateIcon{display:none}.ui-field-icons .scroll[data-v-32071a3e]{height:200px;overflow:auto}.ui-field-icons .icons[data-v-32071a3e]{display:flex;flex-wrap:wrap}.ui-field-icons .icons .icon[data-v-32071a3e]{flex:none;width:150px;height:28px;margin:2px;padding:4px;border-radius:2px;cursor:pointer;transition:all .3s;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;flex-direction:row;align-items:center}.ui-field-icons .icons .icon[data-v-32071a3e]:hover{background:#eaeaea}.ui-field-icons .icons .icon.active[data-v-32071a3e]{color:#409eff;box-shadow:inset 0 0 3px #666}.ui-field-icons .icons .icon .ui-icon[data-v-32071a3e]{margin-right:4px}.ui-field-icons .icons .icon span[data-v-32071a3e]{flex:1}",
|
|
5631
5660
|
map: undefined,
|
|
5632
5661
|
media: undefined
|
|
5633
5662
|
});
|
|
@@ -5635,1558 +5664,36 @@ const __vue_inject_styles__$l = function (inject) {
|
|
|
5635
5664
|
/* scoped */
|
|
5636
5665
|
|
|
5637
5666
|
|
|
5638
|
-
const __vue_scope_id__$
|
|
5667
|
+
const __vue_scope_id__$i = "data-v-32071a3e";
|
|
5639
5668
|
/* module identifier */
|
|
5640
5669
|
|
|
5641
|
-
const __vue_module_identifier__$
|
|
5670
|
+
const __vue_module_identifier__$i = undefined;
|
|
5642
5671
|
/* functional template */
|
|
5643
5672
|
|
|
5644
|
-
const __vue_is_functional_template__$
|
|
5673
|
+
const __vue_is_functional_template__$i = false;
|
|
5645
5674
|
/* style inject SSR */
|
|
5646
5675
|
|
|
5647
5676
|
/* style inject shadow dom */
|
|
5648
5677
|
|
|
5649
|
-
const __vue_component__$
|
|
5650
|
-
render: __vue_render__$
|
|
5651
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
5652
|
-
}, __vue_inject_styles__$
|
|
5653
|
-
|
|
5654
|
-
var IconsField = __vue_component__$l;
|
|
5655
|
-
|
|
5656
|
-
const getAMap = function () {
|
|
5657
|
-
let plugins = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
5658
|
-
let options = arguments.length > 1 ? arguments[1] : undefined;
|
|
5659
|
-
const setting = getSetting();
|
|
5660
|
-
return AMapLoader.load(Object.assign({ ...setting.amap,
|
|
5661
|
-
plugins: plugins
|
|
5662
|
-
}, options || {}));
|
|
5663
|
-
};
|
|
5664
|
-
|
|
5665
|
-
//
|
|
5666
|
-
const CoordTypes$2 = {
|
|
5667
|
-
bd09: gcoord.BD09,
|
|
5668
|
-
gcj02: gcoord.GCJ02,
|
|
5669
|
-
wgs84: gcoord.WGS84
|
|
5670
|
-
};
|
|
5671
|
-
var script$k = {
|
|
5672
|
-
name: 'ui-field-latlng',
|
|
5673
|
-
mixins: [FieldMixin],
|
|
5674
|
-
props: {
|
|
5675
|
-
coordType: {
|
|
5676
|
-
type: String,
|
|
5677
|
-
default: 'wgs84',
|
|
5678
|
-
validator: val => Object.keys(CoordTypes$2).includes(val)
|
|
5679
|
-
}
|
|
5680
|
-
},
|
|
5681
|
-
|
|
5682
|
-
data() {
|
|
5683
|
-
return {
|
|
5684
|
-
loading: true,
|
|
5685
|
-
keyword: ''
|
|
5686
|
-
};
|
|
5687
|
-
},
|
|
5688
|
-
|
|
5689
|
-
computed: {
|
|
5690
|
-
point() {
|
|
5691
|
-
if (!this.value) {
|
|
5692
|
-
return null;
|
|
5693
|
-
}
|
|
5694
|
-
|
|
5695
|
-
if (!this.isValidPoint(this.value)) {
|
|
5696
|
-
return null;
|
|
5697
|
-
}
|
|
5678
|
+
const __vue_component__$i = /*#__PURE__*/normalizeComponent({
|
|
5679
|
+
render: __vue_render__$h,
|
|
5680
|
+
staticRenderFns: __vue_staticRenderFns__$h
|
|
5681
|
+
}, __vue_inject_styles__$i, __vue_script__$i, __vue_scope_id__$i, __vue_is_functional_template__$i, __vue_module_identifier__$i, false, createInjector, undefined, undefined);
|
|
5698
5682
|
|
|
5699
|
-
|
|
5700
|
-
return {
|
|
5701
|
-
lat: +lat,
|
|
5702
|
-
lng: +lng
|
|
5703
|
-
};
|
|
5704
|
-
}
|
|
5683
|
+
var IconsField = __vue_component__$i;
|
|
5705
5684
|
|
|
5685
|
+
const fields = Object.create(null, {
|
|
5686
|
+
text: {
|
|
5687
|
+
enumerable: true,
|
|
5688
|
+
value: TextField
|
|
5706
5689
|
},
|
|
5707
|
-
|
|
5708
|
-
|
|
5709
|
-
|
|
5710
|
-
}
|
|
5711
|
-
|
|
5690
|
+
textarea: {
|
|
5691
|
+
enumerable: true,
|
|
5692
|
+
value: TextField
|
|
5712
5693
|
},
|
|
5713
|
-
|
|
5714
|
-
|
|
5715
|
-
|
|
5716
|
-
AMapUI: {
|
|
5717
|
-
version: '1.1',
|
|
5718
|
-
plugins: ['control/BasicControl']
|
|
5719
|
-
}
|
|
5720
|
-
}).then(AMap => {
|
|
5721
|
-
this.initMap(AMap);
|
|
5722
|
-
this.loading = false;
|
|
5723
|
-
this.done();
|
|
5724
|
-
});
|
|
5725
|
-
},
|
|
5726
|
-
|
|
5727
|
-
initMap(AMap) {
|
|
5728
|
-
const map = new AMap.Map(this.$el.querySelector('.map'), {
|
|
5729
|
-
zoom: 11
|
|
5730
|
-
});
|
|
5731
|
-
map.addControl(new AMap.ToolBar({
|
|
5732
|
-
position: 'LB'
|
|
5733
|
-
}));
|
|
5734
|
-
map.addControl(new AMapUI.BasicControl.LayerSwitcher({
|
|
5735
|
-
position: 'RT'
|
|
5736
|
-
}));
|
|
5737
|
-
const auto = new AMap.AutoComplete({
|
|
5738
|
-
input: this.$refs.input,
|
|
5739
|
-
output: this.$refs.output
|
|
5740
|
-
});
|
|
5741
|
-
map.on('click', this.onMapClick);
|
|
5742
|
-
auto.on('select', event => {
|
|
5743
|
-
if (!event.poi || !event.poi.location) {
|
|
5744
|
-
return;
|
|
5745
|
-
}
|
|
5746
|
-
|
|
5747
|
-
map.setZoomAndCenter(16, event.poi.location);
|
|
5748
|
-
});
|
|
5749
|
-
this.map = map;
|
|
5750
|
-
this.onPointChange(this.point);
|
|
5751
|
-
},
|
|
5752
|
-
|
|
5753
|
-
isValidPoint(val) {
|
|
5754
|
-
const [lat, lng] = val.split(',');
|
|
5755
|
-
return !(isNaN(+lat) || isNaN(+lng));
|
|
5756
|
-
},
|
|
5757
|
-
|
|
5758
|
-
onMapClick(_ref) {
|
|
5759
|
-
let {
|
|
5760
|
-
lnglat
|
|
5761
|
-
} = _ref;
|
|
5762
|
-
let {
|
|
5763
|
-
lat,
|
|
5764
|
-
lng
|
|
5765
|
-
} = lnglat; // 当前地图是 GCJ02 坐标系
|
|
5766
|
-
|
|
5767
|
-
if (this.coordType !== 'gcj02') {
|
|
5768
|
-
[lng, lat] = gcoord.transform([lng, lat], gcoord.GCJ02, CoordTypes$2[this.coordType]);
|
|
5769
|
-
lng = lng.toFixed(7) / 1;
|
|
5770
|
-
lat = lat.toFixed(7) / 1;
|
|
5771
|
-
}
|
|
5772
|
-
|
|
5773
|
-
this.onChange([lat, lng].join(','));
|
|
5774
|
-
},
|
|
5775
|
-
|
|
5776
|
-
onPointChange(point) {
|
|
5777
|
-
if (!this.map) {
|
|
5778
|
-
return;
|
|
5779
|
-
}
|
|
5780
|
-
|
|
5781
|
-
this.map.clearMap();
|
|
5782
|
-
|
|
5783
|
-
if (!point) {
|
|
5784
|
-
return;
|
|
5785
|
-
}
|
|
5786
|
-
|
|
5787
|
-
let {
|
|
5788
|
-
lng,
|
|
5789
|
-
lat
|
|
5790
|
-
} = point; // 当前地图是 GCJ02 坐标系
|
|
5791
|
-
|
|
5792
|
-
if (this.coordType !== 'gcj02') {
|
|
5793
|
-
[lng, lat] = gcoord.transform([lng, lat], CoordTypes$2[this.coordType], gcoord.GCJ02);
|
|
5794
|
-
} // eslint-disable-next-line no-undef
|
|
5795
|
-
|
|
5796
|
-
|
|
5797
|
-
const marker = new AMap.Marker({
|
|
5798
|
-
position: new AMap.LngLat(lng, lat)
|
|
5799
|
-
});
|
|
5800
|
-
this.map.add(marker);
|
|
5801
|
-
this.map.setCenter([lng, lat]);
|
|
5802
|
-
}
|
|
5803
|
-
|
|
5804
|
-
}
|
|
5805
|
-
};
|
|
5806
|
-
|
|
5807
|
-
/* script */
|
|
5808
|
-
const __vue_script__$k = script$k;
|
|
5809
|
-
/* template */
|
|
5810
|
-
|
|
5811
|
-
var __vue_render__$j = function () {
|
|
5812
|
-
var _vm = this;
|
|
5813
|
-
|
|
5814
|
-
var _h = _vm.$createElement;
|
|
5815
|
-
|
|
5816
|
-
var _c = _vm._self._c || _h;
|
|
5817
|
-
|
|
5818
|
-
return _c('div', {
|
|
5819
|
-
directives: [{
|
|
5820
|
-
name: "loading",
|
|
5821
|
-
rawName: "v-loading",
|
|
5822
|
-
value: _vm.loading,
|
|
5823
|
-
expression: "loading"
|
|
5824
|
-
}],
|
|
5825
|
-
staticClass: "ui-field-latlng"
|
|
5826
|
-
}, [_c('div', {
|
|
5827
|
-
staticClass: "map"
|
|
5828
|
-
}), _vm._v(" "), _c('div', {
|
|
5829
|
-
directives: [{
|
|
5830
|
-
name: "show",
|
|
5831
|
-
rawName: "v-show",
|
|
5832
|
-
value: !_vm.loading,
|
|
5833
|
-
expression: "!loading"
|
|
5834
|
-
}],
|
|
5835
|
-
staticClass: "info"
|
|
5836
|
-
}, [_c('div', {
|
|
5837
|
-
staticClass: "input-item searchbox"
|
|
5838
|
-
}, [_vm._m(0), _vm._v(" "), _c('input', {
|
|
5839
|
-
ref: "input",
|
|
5840
|
-
attrs: {
|
|
5841
|
-
"type": "text",
|
|
5842
|
-
"form": "__ignore__",
|
|
5843
|
-
"placeholder": "请输入..."
|
|
5844
|
-
}
|
|
5845
|
-
}), _vm._v(" "), _c('div', {
|
|
5846
|
-
ref: "output",
|
|
5847
|
-
staticClass: "search-result"
|
|
5848
|
-
})])])]);
|
|
5849
|
-
};
|
|
5850
|
-
|
|
5851
|
-
var __vue_staticRenderFns__$j = [function () {
|
|
5852
|
-
var _vm = this;
|
|
5853
|
-
|
|
5854
|
-
var _h = _vm.$createElement;
|
|
5855
|
-
|
|
5856
|
-
var _c = _vm._self._c || _h;
|
|
5857
|
-
|
|
5858
|
-
return _c('div', {
|
|
5859
|
-
staticClass: "input-item-prepend"
|
|
5860
|
-
}, [_c('span', {
|
|
5861
|
-
staticClass: "input-item-text"
|
|
5862
|
-
}, [_vm._v("搜索关键字")])]);
|
|
5863
|
-
}];
|
|
5864
|
-
/* style */
|
|
5865
|
-
|
|
5866
|
-
const __vue_inject_styles__$k = function (inject) {
|
|
5867
|
-
if (!inject) return;
|
|
5868
|
-
inject("data-v-4943489f_0", {
|
|
5869
|
-
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}.ui-field-latlng .amap-ui-control-position-rt,.ui-field-latlng .amap-ui-control-position-tr{top:15px;right:15px}",
|
|
5870
|
-
map: undefined,
|
|
5871
|
-
media: undefined
|
|
5872
|
-
});
|
|
5873
|
-
};
|
|
5874
|
-
/* scoped */
|
|
5875
|
-
|
|
5876
|
-
|
|
5877
|
-
const __vue_scope_id__$k = undefined;
|
|
5878
|
-
/* module identifier */
|
|
5879
|
-
|
|
5880
|
-
const __vue_module_identifier__$k = undefined;
|
|
5881
|
-
/* functional template */
|
|
5882
|
-
|
|
5883
|
-
const __vue_is_functional_template__$k = false;
|
|
5884
|
-
/* style inject SSR */
|
|
5885
|
-
|
|
5886
|
-
/* style inject shadow dom */
|
|
5887
|
-
|
|
5888
|
-
const __vue_component__$k = /*#__PURE__*/normalizeComponent({
|
|
5889
|
-
render: __vue_render__$j,
|
|
5890
|
-
staticRenderFns: __vue_staticRenderFns__$j
|
|
5891
|
-
}, __vue_inject_styles__$k, __vue_script__$k, __vue_scope_id__$k, __vue_is_functional_template__$k, __vue_module_identifier__$k, false, createInjector, undefined, undefined);
|
|
5892
|
-
|
|
5893
|
-
var LnglatField = __vue_component__$k;
|
|
5894
|
-
|
|
5895
|
-
//
|
|
5896
|
-
const CoordTypes$1 = {
|
|
5897
|
-
bd09: gcoord.BD09,
|
|
5898
|
-
gcj02: gcoord.GCJ02,
|
|
5899
|
-
wgs84: gcoord.WGS84
|
|
5900
|
-
};
|
|
5901
|
-
var script$j = {
|
|
5902
|
-
name: 'ui-field-latlng-new',
|
|
5903
|
-
mixins: [FieldMixin],
|
|
5904
|
-
props: {
|
|
5905
|
-
coordType: {
|
|
5906
|
-
type: String,
|
|
5907
|
-
default: 'wgs84',
|
|
5908
|
-
validator: val => Object.keys(CoordTypes$1).includes(val)
|
|
5909
|
-
},
|
|
5910
|
-
showAddress: {
|
|
5911
|
-
type: Boolean,
|
|
5912
|
-
default: true
|
|
5913
|
-
},
|
|
5914
|
-
showlnglat: {
|
|
5915
|
-
type: Boolean,
|
|
5916
|
-
default: true
|
|
5917
|
-
},
|
|
5918
|
-
address: String,
|
|
5919
|
-
|
|
5920
|
-
/**
|
|
5921
|
-
* 地图缩放
|
|
5922
|
-
* 缩放范围 2~20
|
|
5923
|
-
*/
|
|
5924
|
-
zoom: {
|
|
5925
|
-
type: Number,
|
|
5926
|
-
default: 15,
|
|
5927
|
-
validator: val => 2 <= val && val <= 20
|
|
5928
|
-
},
|
|
5929
|
-
|
|
5930
|
-
/**
|
|
5931
|
-
* 中心点
|
|
5932
|
-
* 'lng,lat' 字符串
|
|
5933
|
-
*/
|
|
5934
|
-
center: String,
|
|
5935
|
-
disabled: Boolean
|
|
5936
|
-
},
|
|
5937
|
-
|
|
5938
|
-
data() {
|
|
5939
|
-
return {
|
|
5940
|
-
loading: true,
|
|
5941
|
-
currentTab: 1,
|
|
5942
|
-
tabList: [{
|
|
5943
|
-
label: '按关键字搜索',
|
|
5944
|
-
value: 1
|
|
5945
|
-
}, {
|
|
5946
|
-
label: '按经纬度搜索',
|
|
5947
|
-
value: 2
|
|
5948
|
-
}],
|
|
5949
|
-
crs: 'wgs84',
|
|
5950
|
-
crsList: [{
|
|
5951
|
-
label: '原始坐标系',
|
|
5952
|
-
value: 'wgs84'
|
|
5953
|
-
}, {
|
|
5954
|
-
label: '高德坐标系',
|
|
5955
|
-
value: 'gcj02'
|
|
5956
|
-
}, {
|
|
5957
|
-
label: '百度坐标系',
|
|
5958
|
-
value: 'bd09'
|
|
5959
|
-
}],
|
|
5960
|
-
displayLngLat: ''
|
|
5961
|
-
};
|
|
5962
|
-
},
|
|
5963
|
-
|
|
5964
|
-
computed: {
|
|
5965
|
-
point() {
|
|
5966
|
-
return this.getCoords(this.value);
|
|
5967
|
-
},
|
|
5968
|
-
|
|
5969
|
-
lngLat() {
|
|
5970
|
-
return this.transformLngLat(this.value, CoordTypes$1[this.coordType], CoordTypes$1[this.crs]);
|
|
5971
|
-
},
|
|
5972
|
-
|
|
5973
|
-
lngLatText() {
|
|
5974
|
-
return (this.lngLat || '').split(',');
|
|
5975
|
-
},
|
|
5976
|
-
|
|
5977
|
-
toolsVisible(_ref) {
|
|
5978
|
-
let {
|
|
5979
|
-
disabled,
|
|
5980
|
-
loading
|
|
5981
|
-
} = _ref;
|
|
5982
|
-
return !disabled && !loading;
|
|
5983
|
-
}
|
|
5984
|
-
|
|
5985
|
-
},
|
|
5986
|
-
watch: {
|
|
5987
|
-
point(p) {
|
|
5988
|
-
this.onPointChange(p);
|
|
5989
|
-
},
|
|
5990
|
-
|
|
5991
|
-
lngLat: {
|
|
5992
|
-
immediate: true,
|
|
5993
|
-
|
|
5994
|
-
handler(val) {
|
|
5995
|
-
this.displayLngLat = val;
|
|
5996
|
-
}
|
|
5997
|
-
|
|
5998
|
-
},
|
|
5999
|
-
zoom: 'setMapZoom',
|
|
6000
|
-
center: 'setMapCenter',
|
|
6001
|
-
|
|
6002
|
-
toolsVisible(visible) {
|
|
6003
|
-
if (visible) {
|
|
6004
|
-
var _this$toolbarControl;
|
|
6005
|
-
|
|
6006
|
-
(_this$toolbarControl = this.toolbarControl) === null || _this$toolbarControl === void 0 ? void 0 : _this$toolbarControl.show();
|
|
6007
|
-
this.map.on('click', this.onMapClick);
|
|
6008
|
-
} else {
|
|
6009
|
-
var _this$toolbarControl2;
|
|
6010
|
-
|
|
6011
|
-
this.map.off('click', this.onMapClick);
|
|
6012
|
-
(_this$toolbarControl2 = this.toolbarControl) === null || _this$toolbarControl2 === void 0 ? void 0 : _this$toolbarControl2.hide();
|
|
6013
|
-
}
|
|
6014
|
-
}
|
|
6015
|
-
|
|
6016
|
-
},
|
|
6017
|
-
methods: {
|
|
6018
|
-
init() {
|
|
6019
|
-
getAMap(['AMap.ToolBar', 'AMap.AutoComplete'], {
|
|
6020
|
-
AMapUI: {
|
|
6021
|
-
version: '1.1',
|
|
6022
|
-
plugins: ['control/BasicControl']
|
|
6023
|
-
}
|
|
6024
|
-
}).then(AMap => {
|
|
6025
|
-
this.initMap(AMap);
|
|
6026
|
-
this.loading = false;
|
|
6027
|
-
this.done();
|
|
6028
|
-
});
|
|
6029
|
-
},
|
|
6030
|
-
|
|
6031
|
-
initMap(AMap) {
|
|
6032
|
-
const map = new AMap.Map(this.$el.querySelector('.map'), {
|
|
6033
|
-
zoom: this.zoom
|
|
6034
|
-
});
|
|
6035
|
-
this.toolbarControl = new AMap.ToolBar({
|
|
6036
|
-
position: 'LB'
|
|
6037
|
-
});
|
|
6038
|
-
this.layerSwitcherControl = new AMapUI.BasicControl.LayerSwitcher({
|
|
6039
|
-
position: 'RT'
|
|
6040
|
-
});
|
|
6041
|
-
map.addControl(this.toolbarControl);
|
|
6042
|
-
map.addControl(this.layerSwitcherControl);
|
|
6043
|
-
|
|
6044
|
-
if (!this.toolsVisible) {
|
|
6045
|
-
this.toolbarControl.hide();
|
|
6046
|
-
}
|
|
6047
|
-
|
|
6048
|
-
const auto = new AMap.AutoComplete({
|
|
6049
|
-
input: this.$refs.input,
|
|
6050
|
-
output: this.$refs.output
|
|
6051
|
-
});
|
|
6052
|
-
map.on('click', this.onMapClick);
|
|
6053
|
-
auto.on('select', event => {
|
|
6054
|
-
if (!event.poi || !event.poi.location) {
|
|
6055
|
-
return;
|
|
6056
|
-
}
|
|
6057
|
-
|
|
6058
|
-
map.setZoomAndCenter(16, event.poi.location);
|
|
6059
|
-
});
|
|
6060
|
-
this.map = map;
|
|
6061
|
-
this.onPointChange(this.point); // 初始化地图中心点
|
|
6062
|
-
|
|
6063
|
-
this.setMapCenter();
|
|
6064
|
-
},
|
|
6065
|
-
|
|
6066
|
-
isValidPoint(val) {
|
|
6067
|
-
const [lng, lat] = val.split(',');
|
|
6068
|
-
return !(isNaN(+lng) || isNaN(+lat));
|
|
6069
|
-
},
|
|
6070
|
-
|
|
6071
|
-
onMapClick(_ref2) {
|
|
6072
|
-
let {
|
|
6073
|
-
lnglat
|
|
6074
|
-
} = _ref2;
|
|
6075
|
-
let {
|
|
6076
|
-
lat,
|
|
6077
|
-
lng
|
|
6078
|
-
} = lnglat; // 当前地图是 GCJ02 坐标系
|
|
6079
|
-
|
|
6080
|
-
if (this.coordType !== 'gcj02') {
|
|
6081
|
-
[lng, lat] = gcoord.transform([lng, lat], gcoord.GCJ02, CoordTypes$1[this.coordType]);
|
|
6082
|
-
lng = lng.toFixed(7) / 1;
|
|
6083
|
-
lat = lat.toFixed(7) / 1;
|
|
6084
|
-
}
|
|
6085
|
-
|
|
6086
|
-
this.onChange([lng, lat].join(','));
|
|
6087
|
-
},
|
|
6088
|
-
|
|
6089
|
-
handleLngLat() {
|
|
6090
|
-
const point = this.getCoords(this.displayLngLat);
|
|
6091
|
-
|
|
6092
|
-
if (!point) {
|
|
6093
|
-
this.$message.error('请输入正常的经纬度');
|
|
6094
|
-
return;
|
|
6095
|
-
}
|
|
6096
|
-
|
|
6097
|
-
const value = this.transformLngLat(this.displayLngLat, CoordTypes$1[this.crs], CoordTypes$1[this.coordType]);
|
|
6098
|
-
this.onChange(value);
|
|
6099
|
-
const mapCoords = this.getCoords(value);
|
|
6100
|
-
this.map.setCenter(mapCoords);
|
|
6101
|
-
},
|
|
6102
|
-
|
|
6103
|
-
onPointChange(point) {
|
|
6104
|
-
if (!this.map) {
|
|
6105
|
-
return;
|
|
6106
|
-
}
|
|
6107
|
-
|
|
6108
|
-
this.map.clearMap();
|
|
6109
|
-
|
|
6110
|
-
if (!point) {
|
|
6111
|
-
return;
|
|
6112
|
-
}
|
|
6113
|
-
|
|
6114
|
-
let [lng, lat] = point; // 当前地图是 GCJ02 坐标系
|
|
6115
|
-
|
|
6116
|
-
if (this.coordType !== 'gcj02') {
|
|
6117
|
-
[lng, lat] = gcoord.transform([lng, lat], CoordTypes$1[this.coordType], gcoord.GCJ02);
|
|
6118
|
-
} // eslint-disable-next-line no-undef
|
|
6119
|
-
|
|
6120
|
-
|
|
6121
|
-
const marker = new AMap.Marker({
|
|
6122
|
-
position: new AMap.LngLat(lng, lat)
|
|
6123
|
-
});
|
|
6124
|
-
this.map.add(marker);
|
|
6125
|
-
this.map.setCenter([lng, lat]);
|
|
6126
|
-
},
|
|
6127
|
-
|
|
6128
|
-
setMapCenter() {
|
|
6129
|
-
if (!this.center || !this.map) {
|
|
6130
|
-
return;
|
|
6131
|
-
}
|
|
6132
|
-
|
|
6133
|
-
const [lng, lat] = this.center.split(',');
|
|
6134
|
-
|
|
6135
|
-
if (!lng || !lat) {
|
|
6136
|
-
return;
|
|
6137
|
-
}
|
|
6138
|
-
|
|
6139
|
-
this.map.setCenter([+lng, +lat]);
|
|
6140
|
-
this.setMapZoom();
|
|
6141
|
-
},
|
|
6142
|
-
|
|
6143
|
-
setMapZoom() {
|
|
6144
|
-
if (!this.zoom || !this.map) {
|
|
6145
|
-
return;
|
|
6146
|
-
}
|
|
6147
|
-
|
|
6148
|
-
this.map.setZoom(this.zoom);
|
|
6149
|
-
},
|
|
6150
|
-
|
|
6151
|
-
getCoords(lngLat) {
|
|
6152
|
-
if (!lngLat) {
|
|
6153
|
-
return null;
|
|
6154
|
-
}
|
|
6155
|
-
|
|
6156
|
-
if (!this.isValidPoint(lngLat)) {
|
|
6157
|
-
return null;
|
|
6158
|
-
}
|
|
6159
|
-
|
|
6160
|
-
const [lng, lat] = lngLat.split(',');
|
|
6161
|
-
return [+lng, +lat];
|
|
6162
|
-
},
|
|
6163
|
-
|
|
6164
|
-
transformLngLat(lngLat, crsFrom, crsTo) {
|
|
6165
|
-
if (crsFrom === crsTo) {
|
|
6166
|
-
return lngLat;
|
|
6167
|
-
}
|
|
6168
|
-
|
|
6169
|
-
const coords = this.getCoords(lngLat);
|
|
6170
|
-
|
|
6171
|
-
if (!coords) {
|
|
6172
|
-
return '';
|
|
6173
|
-
}
|
|
6174
|
-
|
|
6175
|
-
const transformedCoords = gcoord.transform(coords, crsFrom, crsTo);
|
|
6176
|
-
return transformedCoords.map(item => item.toFixed(7) / 1).join(',');
|
|
6177
|
-
}
|
|
6178
|
-
|
|
6179
|
-
}
|
|
6180
|
-
};
|
|
6181
|
-
|
|
6182
|
-
/* script */
|
|
6183
|
-
const __vue_script__$j = script$j;
|
|
6184
|
-
/* template */
|
|
6185
|
-
|
|
6186
|
-
var __vue_render__$i = function () {
|
|
6187
|
-
var _vm = this;
|
|
6188
|
-
|
|
6189
|
-
var _h = _vm.$createElement;
|
|
6190
|
-
|
|
6191
|
-
var _c = _vm._self._c || _h;
|
|
6192
|
-
|
|
6193
|
-
return _c('div', {
|
|
6194
|
-
directives: [{
|
|
6195
|
-
name: "loading",
|
|
6196
|
-
rawName: "v-loading",
|
|
6197
|
-
value: _vm.loading,
|
|
6198
|
-
expression: "loading"
|
|
6199
|
-
}],
|
|
6200
|
-
staticClass: "ui-field-latlng-new"
|
|
6201
|
-
}, [_c('div', {
|
|
6202
|
-
staticClass: "tabs"
|
|
6203
|
-
}, _vm._l(_vm.tabList, function (tab) {
|
|
6204
|
-
return _c('div', {
|
|
6205
|
-
key: tab.label,
|
|
6206
|
-
class: ['tab', _vm.currentTab === tab.value ? 'active' : ''],
|
|
6207
|
-
on: {
|
|
6208
|
-
"click": function ($event) {
|
|
6209
|
-
_vm.currentTab = tab.value;
|
|
6210
|
-
}
|
|
6211
|
-
}
|
|
6212
|
-
}, [_vm._v("\n " + _vm._s(tab.label) + "\n ")]);
|
|
6213
|
-
}), 0), _vm._v(" "), _c('div', {
|
|
6214
|
-
staticClass: "map"
|
|
6215
|
-
}), _vm._v(" "), _c('div', {
|
|
6216
|
-
directives: [{
|
|
6217
|
-
name: "show",
|
|
6218
|
-
rawName: "v-show",
|
|
6219
|
-
value: _vm.toolsVisible && _vm.currentTab === 1,
|
|
6220
|
-
expression: "toolsVisible && currentTab === 1"
|
|
6221
|
-
}],
|
|
6222
|
-
staticClass: "info"
|
|
6223
|
-
}, [_c('div', {
|
|
6224
|
-
staticClass: "input-item searchbox"
|
|
6225
|
-
}, [_vm._m(0), _vm._v(" "), _c('input', {
|
|
6226
|
-
ref: "input",
|
|
6227
|
-
attrs: {
|
|
6228
|
-
"type": "text",
|
|
6229
|
-
"form": "__ignore__",
|
|
6230
|
-
"placeholder": "请输入..."
|
|
6231
|
-
}
|
|
6232
|
-
}), _vm._v(" "), _c('div', {
|
|
6233
|
-
ref: "output",
|
|
6234
|
-
staticClass: "search-result"
|
|
6235
|
-
})])]), _vm._v(" "), _vm.currentTab === 2 ? _c('div', {
|
|
6236
|
-
staticClass: "lnglat"
|
|
6237
|
-
}, [_c('el-input', {
|
|
6238
|
-
attrs: {
|
|
6239
|
-
"placeholder": "请输入经纬度",
|
|
6240
|
-
"size": "mini",
|
|
6241
|
-
"disabled": _vm.disabled
|
|
6242
|
-
},
|
|
6243
|
-
model: {
|
|
6244
|
-
value: _vm.displayLngLat,
|
|
6245
|
-
callback: function ($$v) {
|
|
6246
|
-
_vm.displayLngLat = $$v;
|
|
6247
|
-
},
|
|
6248
|
-
expression: "displayLngLat"
|
|
6249
|
-
}
|
|
6250
|
-
}, [_c('el-select', {
|
|
6251
|
-
attrs: {
|
|
6252
|
-
"slot": "prepend",
|
|
6253
|
-
"disabled": _vm.disabled,
|
|
6254
|
-
"size": "mini"
|
|
6255
|
-
},
|
|
6256
|
-
slot: "prepend",
|
|
6257
|
-
model: {
|
|
6258
|
-
value: _vm.crs,
|
|
6259
|
-
callback: function ($$v) {
|
|
6260
|
-
_vm.crs = $$v;
|
|
6261
|
-
},
|
|
6262
|
-
expression: "crs"
|
|
6263
|
-
}
|
|
6264
|
-
}, _vm._l(_vm.crsList, function (item) {
|
|
6265
|
-
return _c('el-option', {
|
|
6266
|
-
key: item.value,
|
|
6267
|
-
attrs: {
|
|
6268
|
-
"label": item.label,
|
|
6269
|
-
"value": item.value
|
|
6270
|
-
}
|
|
6271
|
-
});
|
|
6272
|
-
}), 1), _vm._v(" "), _c('el-button', {
|
|
6273
|
-
attrs: {
|
|
6274
|
-
"slot": "append",
|
|
6275
|
-
"icon": "el-icon-position",
|
|
6276
|
-
"size": "mini",
|
|
6277
|
-
"disabled": _vm.disabled
|
|
6278
|
-
},
|
|
6279
|
-
on: {
|
|
6280
|
-
"click": _vm.handleLngLat
|
|
6281
|
-
},
|
|
6282
|
-
slot: "append"
|
|
6283
|
-
})], 1)], 1) : _vm._e(), _vm._v(" "), _vm.showAddress ? _c('div', {
|
|
6284
|
-
staticClass: "address"
|
|
6285
|
-
}, [_c('div', {
|
|
6286
|
-
staticClass: "address-label"
|
|
6287
|
-
}, [_vm._v("地址:")]), _vm._v(" "), _c('div', {
|
|
6288
|
-
staticClass: "address-box",
|
|
6289
|
-
attrs: {
|
|
6290
|
-
"title": _vm.address
|
|
6291
|
-
}
|
|
6292
|
-
}, [_vm._v(_vm._s(_vm.address || '-'))])]) : _vm._e(), _vm._v(" "), _vm.showlnglat ? _c('div', {
|
|
6293
|
-
staticClass: "lnglat-text"
|
|
6294
|
-
}, [_c('div', {
|
|
6295
|
-
staticClass: "lng"
|
|
6296
|
-
}, [_c('div', {
|
|
6297
|
-
staticClass: "label"
|
|
6298
|
-
}, [_vm._v("经度:")]), _vm._v(" "), _c('div', {
|
|
6299
|
-
staticClass: "value"
|
|
6300
|
-
}, [_vm._v(_vm._s(_vm.lngLatText && _vm.lngLatText[0] || '-'))])]), _vm._v(" "), _c('div', {
|
|
6301
|
-
staticClass: "lat"
|
|
6302
|
-
}, [_c('div', {
|
|
6303
|
-
staticClass: "label"
|
|
6304
|
-
}, [_vm._v("纬度:")]), _vm._v(" "), _c('div', {
|
|
6305
|
-
staticClass: "value"
|
|
6306
|
-
}, [_vm._v(_vm._s(_vm.lngLatText && _vm.lngLatText[1] || '-'))])])]) : _vm._e()]);
|
|
6307
|
-
};
|
|
6308
|
-
|
|
6309
|
-
var __vue_staticRenderFns__$i = [function () {
|
|
6310
|
-
var _vm = this;
|
|
6311
|
-
|
|
6312
|
-
var _h = _vm.$createElement;
|
|
6313
|
-
|
|
6314
|
-
var _c = _vm._self._c || _h;
|
|
6315
|
-
|
|
6316
|
-
return _c('div', {
|
|
6317
|
-
staticClass: "input-item-prepend"
|
|
6318
|
-
}, [_c('span', {
|
|
6319
|
-
staticClass: "input-item-text"
|
|
6320
|
-
}, [_vm._v("搜索关键字")])]);
|
|
6321
|
-
}];
|
|
6322
|
-
/* style */
|
|
6323
|
-
|
|
6324
|
-
const __vue_inject_styles__$j = function (inject) {
|
|
6325
|
-
if (!inject) return;
|
|
6326
|
-
inject("data-v-2e6905bd_0", {
|
|
6327
|
-
source: ".ui-field-latlng-new{position:relative;font-size:12px;display:flex;flex-direction:column}.ui-field-latlng-new .tabs{width:100%;display:flex;align-items:center}.ui-field-latlng-new .tabs .tab{padding:0 10px;cursor:pointer}.ui-field-latlng-new .tabs .tab.active{color:#fff;background:#02cbff}.ui-field-latlng-new .map{width:100%;height:280px;background-color:#f5f7fa}.ui-field-latlng-new .lnglat{position:absolute;top:36px;left:0;right:0;bottom:0}.ui-field-latlng-new .lnglat .el-input .el-select{width:120px}.ui-field-latlng-new .info{position:absolute;top:36px;left:0;right:0;bottom:0;pointer-events:none}.ui-field-latlng-new .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-new .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-new .info .searchbox .search-result .auto-item{white-space:nowrap;font-size:12px;cursor:pointer;padding:4px;line-height:14px}.ui-field-latlng-new .input-item{position:relative;display:inline-flex;align-items:center;width:220px;font-size:12px}.ui-field-latlng-new .input-item .input-item-prepend{margin-right:-1px}.ui-field-latlng-new .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-new .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-new .input-item input:focus{border-color:#80bdff;outline:0;box-shadow:0 0 0 .1rem rgba(128,189,255,.1)}.ui-field-latlng-new .address{width:100%;display:flex}.ui-field-latlng-new .address .address-label{flex:none;margin-right:5px}.ui-field-latlng-new .address .address-box{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ui-field-latlng-new .lnglat-text{width:100%;display:flex;align-items:center}.ui-field-latlng-new .lnglat-text .lat,.ui-field-latlng-new .lnglat-text .lng{flex:1;display:flex;align-items:center}.ui-field-latlng-new .lnglat-text .label{flex:none;margin-right:5px}.ui-field-latlng-new .amap-copyright,.ui-field-latlng-new .amap-logo{display:none!important}.ui-field-latlng-new .amap-ui-control-position-rt,.ui-field-latlng-new .amap-ui-control-position-tr{top:46px;right:15px}",
|
|
6328
|
-
map: undefined,
|
|
6329
|
-
media: undefined
|
|
6330
|
-
});
|
|
6331
|
-
};
|
|
6332
|
-
/* scoped */
|
|
6333
|
-
|
|
6334
|
-
|
|
6335
|
-
const __vue_scope_id__$j = undefined;
|
|
6336
|
-
/* module identifier */
|
|
6337
|
-
|
|
6338
|
-
const __vue_module_identifier__$j = undefined;
|
|
6339
|
-
/* functional template */
|
|
6340
|
-
|
|
6341
|
-
const __vue_is_functional_template__$j = false;
|
|
6342
|
-
/* style inject SSR */
|
|
6343
|
-
|
|
6344
|
-
/* style inject shadow dom */
|
|
6345
|
-
|
|
6346
|
-
const __vue_component__$j = /*#__PURE__*/normalizeComponent({
|
|
6347
|
-
render: __vue_render__$i,
|
|
6348
|
-
staticRenderFns: __vue_staticRenderFns__$i
|
|
6349
|
-
}, __vue_inject_styles__$j, __vue_script__$j, __vue_scope_id__$j, __vue_is_functional_template__$j, __vue_module_identifier__$j, false, createInjector, undefined, undefined);
|
|
6350
|
-
|
|
6351
|
-
var NewLnglatField = __vue_component__$j;
|
|
6352
|
-
|
|
6353
|
-
//
|
|
6354
|
-
const CoordTypes = {
|
|
6355
|
-
bd09: gcoord.BD09,
|
|
6356
|
-
gcj02: gcoord.GCJ02,
|
|
6357
|
-
wgs84: gcoord.WGS84
|
|
6358
|
-
};
|
|
6359
|
-
const Types = {
|
|
6360
|
-
marker: 'AMap.Marker',
|
|
6361
|
-
polyline: 'Overlay.Polyline',
|
|
6362
|
-
circle: 'Overlay.Circle',
|
|
6363
|
-
polygon: 'Overlay.Polygon'
|
|
6364
|
-
};
|
|
6365
|
-
var script$i = {
|
|
6366
|
-
name: 'ui-field-fence',
|
|
6367
|
-
mixins: [FieldMixin],
|
|
6368
|
-
props: {
|
|
6369
|
-
/**
|
|
6370
|
-
* value:
|
|
6371
|
-
* {
|
|
6372
|
-
* markers: [[lng, lat], ...],
|
|
6373
|
-
* circles: [{center: [lng, lat], radius}, ...],
|
|
6374
|
-
* polylines: [[[lng,lat], ...], ...],
|
|
6375
|
-
* polygons: [[[lng,lat], ...], ...],
|
|
6376
|
-
* }
|
|
6377
|
-
*/
|
|
6378
|
-
coordType: {
|
|
6379
|
-
type: String,
|
|
6380
|
-
default: 'wgs84',
|
|
6381
|
-
validator: val => Object.keys(CoordTypes).includes(val)
|
|
6382
|
-
},
|
|
6383
|
-
|
|
6384
|
-
/**
|
|
6385
|
-
* 'marker,polyline,circle,polygon'
|
|
6386
|
-
*/
|
|
6387
|
-
tools: {
|
|
6388
|
-
type: String,
|
|
6389
|
-
default: 'marker,polyline,circle,polygon'
|
|
6390
|
-
},
|
|
6391
|
-
help: {
|
|
6392
|
-
type: Boolean,
|
|
6393
|
-
default: true
|
|
6394
|
-
},
|
|
6395
|
-
clear: {
|
|
6396
|
-
type: Boolean,
|
|
6397
|
-
default: true
|
|
6398
|
-
},
|
|
6399
|
-
multiple: {
|
|
6400
|
-
type: Boolean,
|
|
6401
|
-
default: false
|
|
6402
|
-
},
|
|
6403
|
-
|
|
6404
|
-
/**
|
|
6405
|
-
* 0:表示无限制
|
|
6406
|
-
*/
|
|
6407
|
-
limit: {
|
|
6408
|
-
type: Number,
|
|
6409
|
-
default: 0
|
|
6410
|
-
},
|
|
6411
|
-
|
|
6412
|
-
/**
|
|
6413
|
-
* 地图缩放
|
|
6414
|
-
* 缩放范围 2~20
|
|
6415
|
-
*/
|
|
6416
|
-
zoom: {
|
|
6417
|
-
type: Number,
|
|
6418
|
-
default: 15,
|
|
6419
|
-
validator: val => 2 <= val && val <= 20
|
|
6420
|
-
},
|
|
6421
|
-
|
|
6422
|
-
/**
|
|
6423
|
-
* 中心点
|
|
6424
|
-
* 'lng,lat' 字符串
|
|
6425
|
-
*/
|
|
6426
|
-
center: String,
|
|
6427
|
-
disabled: Boolean
|
|
6428
|
-
},
|
|
6429
|
-
|
|
6430
|
-
data() {
|
|
6431
|
-
return {
|
|
6432
|
-
loading: true,
|
|
6433
|
-
keyword: '',
|
|
6434
|
-
drawing: false
|
|
6435
|
-
};
|
|
6436
|
-
},
|
|
6437
|
-
|
|
6438
|
-
computed: {
|
|
6439
|
-
toolList() {
|
|
6440
|
-
return (this.tools || '').split(',').filter(tool => Object.keys(Types).includes(tool));
|
|
6441
|
-
},
|
|
6442
|
-
|
|
6443
|
-
realLimit() {
|
|
6444
|
-
if (this.multiple) {
|
|
6445
|
-
return this.limit;
|
|
6446
|
-
}
|
|
6447
|
-
|
|
6448
|
-
return 1;
|
|
6449
|
-
},
|
|
6450
|
-
|
|
6451
|
-
isCurrentCoord() {
|
|
6452
|
-
return this.coordType === 'gcj02';
|
|
6453
|
-
},
|
|
6454
|
-
|
|
6455
|
-
toolsVisible(_ref) {
|
|
6456
|
-
let {
|
|
6457
|
-
disabled,
|
|
6458
|
-
loading
|
|
6459
|
-
} = _ref;
|
|
6460
|
-
return !disabled && !loading;
|
|
6461
|
-
}
|
|
6462
|
-
|
|
6463
|
-
},
|
|
6464
|
-
watch: {
|
|
6465
|
-
value: {
|
|
6466
|
-
immediate: true,
|
|
6467
|
-
handler: 'onValueChange'
|
|
6468
|
-
},
|
|
6469
|
-
zoom: 'setMapZoom',
|
|
6470
|
-
center: 'setMapCenter',
|
|
6471
|
-
|
|
6472
|
-
toolsVisible(visible) {
|
|
6473
|
-
if (visible) {
|
|
6474
|
-
var _this$toolbarControl;
|
|
6475
|
-
|
|
6476
|
-
(_this$toolbarControl = this.toolbarControl) === null || _this$toolbarControl === void 0 ? void 0 : _this$toolbarControl.show();
|
|
6477
|
-
} else {
|
|
6478
|
-
var _this$mouseTool, _this$toolbarControl2;
|
|
6479
|
-
|
|
6480
|
-
(_this$mouseTool = this.mouseTool) === null || _this$mouseTool === void 0 ? void 0 : _this$mouseTool.close();
|
|
6481
|
-
(_this$toolbarControl2 = this.toolbarControl) === null || _this$toolbarControl2 === void 0 ? void 0 : _this$toolbarControl2.hide();
|
|
6482
|
-
}
|
|
6483
|
-
}
|
|
6484
|
-
|
|
6485
|
-
},
|
|
6486
|
-
|
|
6487
|
-
created() {
|
|
6488
|
-
this.graph = {
|
|
6489
|
-
polylines: [],
|
|
6490
|
-
markers: [],
|
|
6491
|
-
circles: [],
|
|
6492
|
-
polygons: []
|
|
6493
|
-
};
|
|
6494
|
-
this.editor = {};
|
|
6495
|
-
},
|
|
6496
|
-
|
|
6497
|
-
methods: {
|
|
6498
|
-
init() {
|
|
6499
|
-
getAMap(['AMap.ToolBar', 'AMap.AutoComplete', 'AMap.MouseTool', 'AMap.PolygonEditor', 'AMap.PolylineEditor', 'AMap.CircleEditor'], {
|
|
6500
|
-
AMapUI: {
|
|
6501
|
-
version: '1.1',
|
|
6502
|
-
plugins: ['control/BasicControl']
|
|
6503
|
-
}
|
|
6504
|
-
}).then(AMap => {
|
|
6505
|
-
this.initMap(AMap);
|
|
6506
|
-
this.loading = false;
|
|
6507
|
-
this.done();
|
|
6508
|
-
});
|
|
6509
|
-
},
|
|
6510
|
-
|
|
6511
|
-
initMap(AMap) {
|
|
6512
|
-
this.AMap = AMap;
|
|
6513
|
-
this.map = new AMap.Map(this.$el.querySelector('.map'), {
|
|
6514
|
-
zoom: this.zoom,
|
|
6515
|
-
isHotspot: false
|
|
6516
|
-
});
|
|
6517
|
-
this.initMapControl(this.map);
|
|
6518
|
-
this.initMapAutoComplete(this.map);
|
|
6519
|
-
this.contextMenu = this.initMapContextMenu(this.map);
|
|
6520
|
-
this.mouseTool = this.initMapMouseTool(this.map); // 根据value初始化地图上图形
|
|
6521
|
-
|
|
6522
|
-
this.onValueChange(this.value); // 初始化地图中心点
|
|
6523
|
-
|
|
6524
|
-
this.setMapCenter();
|
|
6525
|
-
},
|
|
6526
|
-
|
|
6527
|
-
initMapControl(map) {
|
|
6528
|
-
this.toolbarControl = new this.AMap.ToolBar({
|
|
6529
|
-
position: 'LB'
|
|
6530
|
-
});
|
|
6531
|
-
this.layerSwitcherControl = new AMapUI.BasicControl.LayerSwitcher({
|
|
6532
|
-
position: 'RT'
|
|
6533
|
-
});
|
|
6534
|
-
map.addControl(this.toolbarControl);
|
|
6535
|
-
map.addControl(this.layerSwitcherControl);
|
|
6536
|
-
|
|
6537
|
-
if (!this.toolsVisible) {
|
|
6538
|
-
this.toolbarControl.hide();
|
|
6539
|
-
}
|
|
6540
|
-
},
|
|
6541
|
-
|
|
6542
|
-
initMapAutoComplete(map) {
|
|
6543
|
-
const auto = new this.AMap.AutoComplete({
|
|
6544
|
-
input: this.$refs.input,
|
|
6545
|
-
output: this.$refs.output
|
|
6546
|
-
});
|
|
6547
|
-
auto.on('select', event => {
|
|
6548
|
-
if (!event.poi || !event.poi.location) {
|
|
6549
|
-
return;
|
|
6550
|
-
}
|
|
6551
|
-
|
|
6552
|
-
map.setZoomAndCenter(16, event.poi.location);
|
|
6553
|
-
});
|
|
6554
|
-
return auto;
|
|
6555
|
-
},
|
|
6556
|
-
|
|
6557
|
-
initMapContextMenu() {
|
|
6558
|
-
const contextMenu = new this.AMap.ContextMenu();
|
|
6559
|
-
contextMenu.addItem('删除', () => {
|
|
6560
|
-
const removeObj = this.contextMenuTarget;
|
|
6561
|
-
this.removeGraph(removeObj);
|
|
6562
|
-
removeObj.setMap(null);
|
|
6563
|
-
this.contextMenuTarget = null; // 点击右键菜单子的某一项不会触发 contextMenu 的 close 事件
|
|
6564
|
-
});
|
|
6565
|
-
contextMenu.on('close', () => {
|
|
6566
|
-
this.contextMenuTarget = null;
|
|
6567
|
-
});
|
|
6568
|
-
return contextMenu;
|
|
6569
|
-
},
|
|
6570
|
-
|
|
6571
|
-
initMapMouseTool(map) {
|
|
6572
|
-
const mouseTool = new this.AMap.MouseTool(map);
|
|
6573
|
-
mouseTool.on('draw', event => {
|
|
6574
|
-
mouseTool.close();
|
|
6575
|
-
this.drawing = false;
|
|
6576
|
-
const obj = event.obj;
|
|
6577
|
-
const isAdded = this.addGraph(obj);
|
|
6578
|
-
|
|
6579
|
-
if (!isAdded) {
|
|
6580
|
-
map.remove(obj);
|
|
6581
|
-
return;
|
|
6582
|
-
}
|
|
6583
|
-
|
|
6584
|
-
this.initGraphEvent(obj);
|
|
6585
|
-
this.onGraphChange();
|
|
6586
|
-
});
|
|
6587
|
-
return mouseTool;
|
|
6588
|
-
},
|
|
6589
|
-
|
|
6590
|
-
setMapZoom() {
|
|
6591
|
-
if (!this.zoom || !this.map) {
|
|
6592
|
-
return;
|
|
6593
|
-
}
|
|
6594
|
-
|
|
6595
|
-
this.map.setZoom(this.zoom);
|
|
6596
|
-
},
|
|
6597
|
-
|
|
6598
|
-
setMapCenter() {
|
|
6599
|
-
if (!this.center || !this.map) {
|
|
6600
|
-
return;
|
|
6601
|
-
}
|
|
6602
|
-
|
|
6603
|
-
const [lng, lat] = this.center.split(',');
|
|
6604
|
-
|
|
6605
|
-
if (!lng || !lat) {
|
|
6606
|
-
return;
|
|
6607
|
-
}
|
|
6608
|
-
|
|
6609
|
-
this.map.setCenter([+lng, +lat]);
|
|
6610
|
-
this.setMapZoom();
|
|
6611
|
-
},
|
|
6612
|
-
|
|
6613
|
-
getToolClass(tool) {
|
|
6614
|
-
if (this.realLimit <= 0 || !this.multiple) {
|
|
6615
|
-
return tool;
|
|
6616
|
-
}
|
|
6617
|
-
|
|
6618
|
-
const {
|
|
6619
|
-
markers,
|
|
6620
|
-
circles,
|
|
6621
|
-
polylines,
|
|
6622
|
-
polygons
|
|
6623
|
-
} = this.value || {};
|
|
6624
|
-
let length = 0;
|
|
6625
|
-
|
|
6626
|
-
if (tool === 'marker') {
|
|
6627
|
-
length = (markers || []).length;
|
|
6628
|
-
} else if (tool === 'circle') {
|
|
6629
|
-
length = (circles || []).length;
|
|
6630
|
-
} else if (tool === 'polyline') {
|
|
6631
|
-
length = (polylines || []).length;
|
|
6632
|
-
} else if (tool === 'polygon') {
|
|
6633
|
-
length = (polygons || []).length;
|
|
6634
|
-
}
|
|
6635
|
-
|
|
6636
|
-
if (length >= this.realLimit) {
|
|
6637
|
-
return tool + ' disabled';
|
|
6638
|
-
}
|
|
6639
|
-
|
|
6640
|
-
return tool;
|
|
6641
|
-
},
|
|
6642
|
-
|
|
6643
|
-
onValueChange(value) {
|
|
6644
|
-
if (!this.map) {
|
|
6645
|
-
return;
|
|
6646
|
-
}
|
|
6647
|
-
|
|
6648
|
-
const {
|
|
6649
|
-
markers,
|
|
6650
|
-
circles,
|
|
6651
|
-
polylines,
|
|
6652
|
-
polygons
|
|
6653
|
-
} = value || {};
|
|
6654
|
-
const removedMarkers = this.graph.markers.slice((markers || []).length);
|
|
6655
|
-
const removedCircles = this.graph.circles.slice((circles || []).length);
|
|
6656
|
-
const removedPolylines = this.graph.polylines.slice((polylines || []).length);
|
|
6657
|
-
const removedPolygons = this.graph.polygons.slice((polygons || []).length);
|
|
6658
|
-
[...removedMarkers, ...removedCircles, ...removedPolylines, ...removedPolygons].forEach(item => item.setMap(null));
|
|
6659
|
-
(markers || []).forEach((markerData, index) => {
|
|
6660
|
-
let mapMarker = this.graph.markers[index];
|
|
6661
|
-
const lngLatData = this.getMapLngLatData(markers[index]);
|
|
6662
|
-
const position = new this.AMap.LngLat(lngLatData[0], lngLatData[1]);
|
|
6663
|
-
|
|
6664
|
-
if (!mapMarker) {
|
|
6665
|
-
mapMarker = new this.AMap.Marker({
|
|
6666
|
-
map: this.map,
|
|
6667
|
-
position: position
|
|
6668
|
-
});
|
|
6669
|
-
this.addGraph(mapMarker);
|
|
6670
|
-
this.initGraphEvent(mapMarker);
|
|
6671
|
-
} else {
|
|
6672
|
-
mapMarker.setPosition(position);
|
|
6673
|
-
}
|
|
6674
|
-
});
|
|
6675
|
-
(circles || []).forEach((circleData, index) => {
|
|
6676
|
-
let mapCircle = this.graph.circles[index];
|
|
6677
|
-
const lngLatData = this.getMapLngLatData(circleData.center);
|
|
6678
|
-
const lngLat = new this.AMap.LngLat(lngLatData[0], lngLatData[1]);
|
|
6679
|
-
|
|
6680
|
-
if (!mapCircle) {
|
|
6681
|
-
mapCircle = new this.AMap.Circle({
|
|
6682
|
-
map: this.map,
|
|
6683
|
-
center: lngLat,
|
|
6684
|
-
radius: circleData.radius
|
|
6685
|
-
});
|
|
6686
|
-
this.map.add(mapCircle);
|
|
6687
|
-
this.addGraph(mapCircle);
|
|
6688
|
-
this.initGraphEvent(mapCircle);
|
|
6689
|
-
} else {
|
|
6690
|
-
mapCircle.setCenter(lngLat);
|
|
6691
|
-
mapCircle.setRadius(circleData.radius);
|
|
6692
|
-
}
|
|
6693
|
-
});
|
|
6694
|
-
(polylines || []).forEach((polylineData, index) => {
|
|
6695
|
-
let mapPolyline = this.graph.polylines[index];
|
|
6696
|
-
const path = polylineData.map(item => this.getMapLngLatData(item)).map(item => new this.AMap.LngLat(item[0], item[1]));
|
|
6697
|
-
|
|
6698
|
-
if (!mapPolyline) {
|
|
6699
|
-
mapPolyline = new this.AMap.Polyline({
|
|
6700
|
-
path: path
|
|
6701
|
-
});
|
|
6702
|
-
this.map.add(mapPolyline);
|
|
6703
|
-
this.addGraph(mapPolyline);
|
|
6704
|
-
this.initGraphEvent(mapPolyline);
|
|
6705
|
-
} else {
|
|
6706
|
-
mapPolyline.setPath(path);
|
|
6707
|
-
}
|
|
6708
|
-
});
|
|
6709
|
-
(polygons || []).forEach((polygonData, index) => {
|
|
6710
|
-
let mapPolygon = this.graph.polygons[index];
|
|
6711
|
-
const path = polygonData.map(item => this.getMapLngLatData(item)).map(item => new this.AMap.LngLat(item[0], item[1]));
|
|
6712
|
-
|
|
6713
|
-
if (!mapPolygon) {
|
|
6714
|
-
mapPolygon = new this.AMap.Polygon({
|
|
6715
|
-
path
|
|
6716
|
-
});
|
|
6717
|
-
this.map.add(mapPolygon);
|
|
6718
|
-
this.addGraph(mapPolygon);
|
|
6719
|
-
this.initGraphEvent(mapPolygon);
|
|
6720
|
-
} else {
|
|
6721
|
-
mapPolygon.setPath(path);
|
|
6722
|
-
}
|
|
6723
|
-
});
|
|
6724
|
-
this.map.setFitView();
|
|
6725
|
-
},
|
|
6726
|
-
|
|
6727
|
-
onGraphChange() {
|
|
6728
|
-
const {
|
|
6729
|
-
markers,
|
|
6730
|
-
circles,
|
|
6731
|
-
polylines,
|
|
6732
|
-
polygons
|
|
6733
|
-
} = this.graph;
|
|
6734
|
-
const value = {
|
|
6735
|
-
markers: this.getMarkerValue(markers),
|
|
6736
|
-
circles: this.getCircleValue(circles),
|
|
6737
|
-
polylines: this.getPolylineValue(polylines),
|
|
6738
|
-
polygons: this.getPolygonValue(polygons)
|
|
6739
|
-
};
|
|
6740
|
-
const count = Object.values(value).reduce((total, item) => total + item.length, 0);
|
|
6741
|
-
|
|
6742
|
-
if (count <= 0) {
|
|
6743
|
-
// required 效果
|
|
6744
|
-
this.onChange();
|
|
6745
|
-
return;
|
|
6746
|
-
}
|
|
6747
|
-
|
|
6748
|
-
this.onChange(Object.freeze(value));
|
|
6749
|
-
},
|
|
6750
|
-
|
|
6751
|
-
onEditorChange() {
|
|
6752
|
-
if (this.drawing) {
|
|
6753
|
-
return;
|
|
6754
|
-
}
|
|
6755
|
-
|
|
6756
|
-
this.onGraphChange();
|
|
6757
|
-
},
|
|
6758
|
-
|
|
6759
|
-
// onEditorAdd(obj) {
|
|
6760
|
-
// this.initGraphEvent(obj);
|
|
6761
|
-
// this.addGraph(obj);
|
|
6762
|
-
// this.drawing = false;
|
|
6763
|
-
// },
|
|
6764
|
-
// 使用 mouseTool 方式添加图形. editor方式添加的图形有bug(PolylineEditor 添加的初始线段无法响应click和rightclick事件)
|
|
6765
|
-
draw(type) {
|
|
6766
|
-
this.closeEditors();
|
|
6767
|
-
|
|
6768
|
-
if (type === 'marker') {
|
|
6769
|
-
this.drawMarker();
|
|
6770
|
-
} else if (type === 'circle') {
|
|
6771
|
-
this.drawCircle();
|
|
6772
|
-
} else if (type === 'polyline') {
|
|
6773
|
-
this.drawPolyline();
|
|
6774
|
-
} else if (type === 'polygon') {
|
|
6775
|
-
this.drawPolygon();
|
|
6776
|
-
}
|
|
6777
|
-
|
|
6778
|
-
this.drawing = true;
|
|
6779
|
-
},
|
|
6780
|
-
|
|
6781
|
-
drawMarker() {
|
|
6782
|
-
this.mouseTool.marker();
|
|
6783
|
-
},
|
|
6784
|
-
|
|
6785
|
-
drawCircle() {
|
|
6786
|
-
this.mouseTool.circle();
|
|
6787
|
-
},
|
|
6788
|
-
|
|
6789
|
-
drawPolyline() {
|
|
6790
|
-
this.mouseTool.polyline();
|
|
6791
|
-
},
|
|
6792
|
-
|
|
6793
|
-
drawPolygon() {
|
|
6794
|
-
this.mouseTool.polygon();
|
|
6795
|
-
},
|
|
6796
|
-
|
|
6797
|
-
initGraphEvent(graph) {
|
|
6798
|
-
graph.on('rightclick', e => {
|
|
6799
|
-
const editor = this.getEditor(graph.className);
|
|
6800
|
-
|
|
6801
|
-
if (editor && editor.getTarget() === graph) {
|
|
6802
|
-
this.closeEditor(editor);
|
|
6803
|
-
}
|
|
6804
|
-
|
|
6805
|
-
this.contextMenuTarget = graph;
|
|
6806
|
-
this.contextMenu.open(this.map, e.lnglat);
|
|
6807
|
-
});
|
|
6808
|
-
const editors = ['Overlay.Polyline', 'Overlay.Circle', 'Overlay.Polygon'];
|
|
6809
|
-
|
|
6810
|
-
if (!editors.includes(graph.className)) {
|
|
6811
|
-
return;
|
|
6812
|
-
}
|
|
6813
|
-
|
|
6814
|
-
graph.on('click', () => {
|
|
6815
|
-
const editor = this.getEditor(graph.className);
|
|
6816
|
-
const target = editor.getTarget();
|
|
6817
|
-
|
|
6818
|
-
if (target && target === graph) {
|
|
6819
|
-
this.closeEditor(editor);
|
|
6820
|
-
return;
|
|
6821
|
-
}
|
|
6822
|
-
|
|
6823
|
-
this.closeEditors();
|
|
6824
|
-
editor.setTarget(graph);
|
|
6825
|
-
editor.open();
|
|
6826
|
-
});
|
|
6827
|
-
},
|
|
6828
|
-
|
|
6829
|
-
removeGraph(graph) {
|
|
6830
|
-
const extData = graph.getExtData();
|
|
6831
|
-
const {
|
|
6832
|
-
index
|
|
6833
|
-
} = extData || {};
|
|
6834
|
-
let list;
|
|
6835
|
-
|
|
6836
|
-
if (graph.className === 'AMap.Marker') {
|
|
6837
|
-
list = this.graph.markers;
|
|
6838
|
-
} else if (graph.className === 'Overlay.Circle') {
|
|
6839
|
-
list = this.graph.circles;
|
|
6840
|
-
} else if (graph.className === 'Overlay.Polyline') {
|
|
6841
|
-
list = this.graph.polylines;
|
|
6842
|
-
} else if (graph.className === 'Overlay.Polygon') {
|
|
6843
|
-
list = this.graph.polygons;
|
|
6844
|
-
} else {
|
|
6845
|
-
list = [];
|
|
6846
|
-
}
|
|
6847
|
-
|
|
6848
|
-
list.splice(index, 1);
|
|
6849
|
-
this.onGraphChange();
|
|
6850
|
-
},
|
|
6851
|
-
|
|
6852
|
-
addGraph(graph) {
|
|
6853
|
-
if (graph.className === 'Overlay.Polyline') {
|
|
6854
|
-
return this.addPolyline(graph);
|
|
6855
|
-
} else if (graph.className === 'AMap.Marker') {
|
|
6856
|
-
return this.addMarker(graph);
|
|
6857
|
-
} else if (graph.className === 'Overlay.Circle') {
|
|
6858
|
-
return this.addCircle(graph);
|
|
6859
|
-
} else if (graph.className === 'Overlay.Polygon') {
|
|
6860
|
-
return this.addPolygon(graph);
|
|
6861
|
-
}
|
|
6862
|
-
},
|
|
6863
|
-
|
|
6864
|
-
addMarker(marker) {
|
|
6865
|
-
if (!this.multiple) {
|
|
6866
|
-
this.graph.markers.forEach(item => item.setMap(null));
|
|
6867
|
-
this.graph.markers.length = 0;
|
|
6868
|
-
}
|
|
6869
|
-
|
|
6870
|
-
const index = this.graph.markers.length;
|
|
6871
|
-
marker.setExtData({
|
|
6872
|
-
index
|
|
6873
|
-
});
|
|
6874
|
-
this.graph.markers.push(marker);
|
|
6875
|
-
return true;
|
|
6876
|
-
},
|
|
6877
|
-
|
|
6878
|
-
addCircle(circle) {
|
|
6879
|
-
if (circle.getRadius() <= 0) {
|
|
6880
|
-
return false;
|
|
6881
|
-
}
|
|
6882
|
-
|
|
6883
|
-
if (!this.multiple) {
|
|
6884
|
-
this.graph.circles.forEach(item => item.setMap(null));
|
|
6885
|
-
this.graph.circles.length = 0;
|
|
6886
|
-
}
|
|
6887
|
-
|
|
6888
|
-
const index = this.graph.circles.length;
|
|
6889
|
-
circle.setExtData({
|
|
6890
|
-
index
|
|
6891
|
-
});
|
|
6892
|
-
this.graph.circles.push(circle);
|
|
6893
|
-
return true;
|
|
6894
|
-
},
|
|
6895
|
-
|
|
6896
|
-
addPolyline(polyline) {
|
|
6897
|
-
if (polyline.getLength() <= 0) {
|
|
6898
|
-
return false;
|
|
6899
|
-
}
|
|
6900
|
-
|
|
6901
|
-
if (!this.multiple) {
|
|
6902
|
-
this.graph.polylines.forEach(item => item.setMap(null));
|
|
6903
|
-
this.graph.polylines.length = 0;
|
|
6904
|
-
}
|
|
6905
|
-
|
|
6906
|
-
const index = this.graph.polylines.length;
|
|
6907
|
-
polyline.setExtData({
|
|
6908
|
-
index
|
|
6909
|
-
});
|
|
6910
|
-
this.graph.polylines.push(polyline);
|
|
6911
|
-
return true;
|
|
6912
|
-
},
|
|
6913
|
-
|
|
6914
|
-
addPolygon(polygon) {
|
|
6915
|
-
if (polygon.getArea() <= 0) {
|
|
6916
|
-
this.$message.info('绘制多边形时请至少绘制3个点');
|
|
6917
|
-
return false;
|
|
6918
|
-
}
|
|
6919
|
-
|
|
6920
|
-
if (!this.multiple) {
|
|
6921
|
-
this.graph.polygons.forEach(item => item.setMap(null));
|
|
6922
|
-
this.graph.polygons.length = 0;
|
|
6923
|
-
}
|
|
6924
|
-
|
|
6925
|
-
const index = this.graph.polygons.length;
|
|
6926
|
-
polygon.setExtData({
|
|
6927
|
-
index
|
|
6928
|
-
});
|
|
6929
|
-
this.graph.polygons.push(polygon);
|
|
6930
|
-
return true;
|
|
6931
|
-
},
|
|
6932
|
-
|
|
6933
|
-
getEditor(type) {
|
|
6934
|
-
if (type === 'Overlay.Circle') {
|
|
6935
|
-
return this.editor.circle || this.initCircleEditor();
|
|
6936
|
-
} else if (type === 'Overlay.Polyline') {
|
|
6937
|
-
return this.editor.polyline || this.initPolylineEditor();
|
|
6938
|
-
} else if (type === 'Overlay.Polygon') {
|
|
6939
|
-
return this.editor.polygon || this.initPolygonEditor();
|
|
6940
|
-
}
|
|
6941
|
-
},
|
|
6942
|
-
|
|
6943
|
-
initCircleEditor() {
|
|
6944
|
-
const circleEditor = new this.AMap.CircleEditor(this.map);
|
|
6945
|
-
this.editor.circle = circleEditor;
|
|
6946
|
-
this.initEditorEvent(circleEditor);
|
|
6947
|
-
return circleEditor;
|
|
6948
|
-
},
|
|
6949
|
-
|
|
6950
|
-
initPolylineEditor() {
|
|
6951
|
-
const polylineEditor = new this.AMap.PolylineEditor(this.map);
|
|
6952
|
-
this.editor.polyline = polylineEditor;
|
|
6953
|
-
this.initEditorEvent(polylineEditor);
|
|
6954
|
-
return polylineEditor;
|
|
6955
|
-
},
|
|
6956
|
-
|
|
6957
|
-
initPolygonEditor() {
|
|
6958
|
-
const polygonEditor = new this.AMap.PolygonEditor(this.map);
|
|
6959
|
-
this.editor.polygon = polygonEditor;
|
|
6960
|
-
this.initEditorEvent(polygonEditor);
|
|
6961
|
-
return polygonEditor;
|
|
6962
|
-
},
|
|
6963
|
-
|
|
6964
|
-
initEditorEvent(editor) {
|
|
6965
|
-
editor.on('addnode', () => this.onEditorChange());
|
|
6966
|
-
editor.on('adjust', () => this.onEditorChange());
|
|
6967
|
-
editor.on('move', () => this.onEditorChange()); // editor.on('add', (event) => this.onEditorAdd(event.target));
|
|
6968
|
-
},
|
|
6969
|
-
|
|
6970
|
-
closeEditor(editor) {
|
|
6971
|
-
editor.setTarget();
|
|
6972
|
-
editor.close();
|
|
6973
|
-
},
|
|
6974
|
-
|
|
6975
|
-
closeEditors() {
|
|
6976
|
-
Object.values(this.editor).forEach(editor => this.closeEditor(editor));
|
|
6977
|
-
},
|
|
6978
|
-
|
|
6979
|
-
getMapLngLatData(point) {
|
|
6980
|
-
let [lng, lat] = point;
|
|
6981
|
-
|
|
6982
|
-
if (!this.isCurrentCoord) {
|
|
6983
|
-
[lng, lat] = gcoord.transform([lng, lat], CoordTypes[this.coordType], gcoord.GCJ02);
|
|
6984
|
-
}
|
|
6985
|
-
|
|
6986
|
-
return [lng, lat];
|
|
6987
|
-
},
|
|
6988
|
-
|
|
6989
|
-
getPoint(lngLat) {
|
|
6990
|
-
let [lng, lat] = lngLat;
|
|
6991
|
-
|
|
6992
|
-
if (!this.isCurrentCoord) {
|
|
6993
|
-
[lng, lat] = gcoord.transform([lng, lat], gcoord.GCJ02, CoordTypes[this.coordType]);
|
|
6994
|
-
lng = lng.toFixed(7) / 1;
|
|
6995
|
-
lat = lat.toFixed(7) / 1;
|
|
6996
|
-
}
|
|
6997
|
-
|
|
6998
|
-
return [lng, lat];
|
|
6999
|
-
},
|
|
7000
|
-
|
|
7001
|
-
getMarkerValue(markers) {
|
|
7002
|
-
return (markers || []).map(marker => {
|
|
7003
|
-
const lngLat = marker.getPosition();
|
|
7004
|
-
return this.getPoint([lngLat.getLng(), lngLat.getLat()]);
|
|
7005
|
-
});
|
|
7006
|
-
},
|
|
7007
|
-
|
|
7008
|
-
getCircleValue(circles) {
|
|
7009
|
-
return (circles || []).map(circle => {
|
|
7010
|
-
const radius = circle.getRadius();
|
|
7011
|
-
const lngLat = circle.getCenter();
|
|
7012
|
-
return {
|
|
7013
|
-
center: this.getPoint([lngLat.getLng(), lngLat.getLat()]),
|
|
7014
|
-
radius
|
|
7015
|
-
};
|
|
7016
|
-
});
|
|
7017
|
-
},
|
|
7018
|
-
|
|
7019
|
-
getPolylineValue(polylines) {
|
|
7020
|
-
return (polylines || []).map(polyline => {
|
|
7021
|
-
const path = polyline.getPath();
|
|
7022
|
-
return path.map(item => this.getPoint([item.getLng(), item.getLat()]));
|
|
7023
|
-
});
|
|
7024
|
-
},
|
|
7025
|
-
|
|
7026
|
-
getPolygonValue(polygons) {
|
|
7027
|
-
return (polygons || []).map(polygon => {
|
|
7028
|
-
const path = polygon.getPath();
|
|
7029
|
-
return path.map(item => this.getPoint([item.getLng(), item.getLat()]));
|
|
7030
|
-
});
|
|
7031
|
-
},
|
|
7032
|
-
|
|
7033
|
-
async handleClear(warn) {
|
|
7034
|
-
if (warn) {
|
|
7035
|
-
const [, confirm] = await to(this.$confirm('确认清空地图上所有的图形?', '提示', {
|
|
7036
|
-
type: 'warning'
|
|
7037
|
-
}));
|
|
7038
|
-
|
|
7039
|
-
if (!confirm) {
|
|
7040
|
-
return;
|
|
7041
|
-
}
|
|
7042
|
-
}
|
|
7043
|
-
|
|
7044
|
-
this.closeEditors();
|
|
7045
|
-
this.contextMenu.close();
|
|
7046
|
-
Object.values(this.graph).forEach(items => items.forEach(item => item.setMap(null)));
|
|
7047
|
-
this.graph = {
|
|
7048
|
-
polylines: [],
|
|
7049
|
-
markers: [],
|
|
7050
|
-
circles: [],
|
|
7051
|
-
polygons: []
|
|
7052
|
-
};
|
|
7053
|
-
this.onGraphChange();
|
|
7054
|
-
}
|
|
7055
|
-
|
|
7056
|
-
}
|
|
7057
|
-
};
|
|
7058
|
-
|
|
7059
|
-
/* script */
|
|
7060
|
-
const __vue_script__$i = script$i;
|
|
7061
|
-
/* template */
|
|
7062
|
-
|
|
7063
|
-
var __vue_render__$h = function () {
|
|
7064
|
-
var _vm = this;
|
|
7065
|
-
|
|
7066
|
-
var _h = _vm.$createElement;
|
|
7067
|
-
|
|
7068
|
-
var _c = _vm._self._c || _h;
|
|
7069
|
-
|
|
7070
|
-
return _c('div', {
|
|
7071
|
-
directives: [{
|
|
7072
|
-
name: "loading",
|
|
7073
|
-
rawName: "v-loading",
|
|
7074
|
-
value: _vm.loading,
|
|
7075
|
-
expression: "loading"
|
|
7076
|
-
}],
|
|
7077
|
-
staticClass: "ui-field-fence"
|
|
7078
|
-
}, [_c('div', {
|
|
7079
|
-
staticClass: "map"
|
|
7080
|
-
}), _vm._v(" "), _c('div', {
|
|
7081
|
-
directives: [{
|
|
7082
|
-
name: "show",
|
|
7083
|
-
rawName: "v-show",
|
|
7084
|
-
value: _vm.toolsVisible,
|
|
7085
|
-
expression: "toolsVisible"
|
|
7086
|
-
}],
|
|
7087
|
-
staticClass: "info"
|
|
7088
|
-
}, [_c('div', {
|
|
7089
|
-
staticClass: "input-item searchbox"
|
|
7090
|
-
}, [_vm._m(0), _vm._v(" "), _c('input', {
|
|
7091
|
-
ref: "input",
|
|
7092
|
-
attrs: {
|
|
7093
|
-
"type": "text",
|
|
7094
|
-
"form": "__ignore__",
|
|
7095
|
-
"placeholder": "请在地图上选择位置"
|
|
7096
|
-
}
|
|
7097
|
-
}), _vm._v(" "), _c('div', {
|
|
7098
|
-
ref: "output",
|
|
7099
|
-
staticClass: "search-result"
|
|
7100
|
-
})])]), _vm._v(" "), _c('div', {
|
|
7101
|
-
directives: [{
|
|
7102
|
-
name: "show",
|
|
7103
|
-
rawName: "v-show",
|
|
7104
|
-
value: _vm.toolsVisible,
|
|
7105
|
-
expression: "toolsVisible"
|
|
7106
|
-
}],
|
|
7107
|
-
staticClass: "tools",
|
|
7108
|
-
class: {
|
|
7109
|
-
disabled: _vm.drawing
|
|
7110
|
-
}
|
|
7111
|
-
}, [_vm.toolList.length > 0 && _vm.help ? _c('div', {
|
|
7112
|
-
staticClass: "tool help"
|
|
7113
|
-
}) : _vm._e(), _vm._v(" "), _vm._l(_vm.toolList, function (tool) {
|
|
7114
|
-
return _c('div', {
|
|
7115
|
-
key: tool,
|
|
7116
|
-
staticClass: "tool",
|
|
7117
|
-
class: _vm.getToolClass(tool),
|
|
7118
|
-
on: {
|
|
7119
|
-
"click": function ($event) {
|
|
7120
|
-
return _vm.draw(tool);
|
|
7121
|
-
}
|
|
7122
|
-
}
|
|
7123
|
-
});
|
|
7124
|
-
}), _vm._v(" "), _vm.toolList.length > 0 && _vm.clear ? _c('div', {
|
|
7125
|
-
staticClass: "tool clear",
|
|
7126
|
-
on: {
|
|
7127
|
-
"click": function ($event) {
|
|
7128
|
-
return _vm.handleClear(true);
|
|
7129
|
-
}
|
|
7130
|
-
}
|
|
7131
|
-
}) : _vm._e()], 2)]);
|
|
7132
|
-
};
|
|
7133
|
-
|
|
7134
|
-
var __vue_staticRenderFns__$h = [function () {
|
|
7135
|
-
var _vm = this;
|
|
7136
|
-
|
|
7137
|
-
var _h = _vm.$createElement;
|
|
7138
|
-
|
|
7139
|
-
var _c = _vm._self._c || _h;
|
|
7140
|
-
|
|
7141
|
-
return _c('div', {
|
|
7142
|
-
staticClass: "input-item-prepend"
|
|
7143
|
-
}, [_c('span', {
|
|
7144
|
-
staticClass: "input-item-text"
|
|
7145
|
-
}, [_vm._v("搜索关键字")])]);
|
|
7146
|
-
}];
|
|
7147
|
-
/* style */
|
|
7148
|
-
|
|
7149
|
-
const __vue_inject_styles__$i = function (inject) {
|
|
7150
|
-
if (!inject) return;
|
|
7151
|
-
inject("data-v-07d13f74_0", {
|
|
7152
|
-
source: ".ui-field-fence{width:100%;height:280px;position:relative}.ui-field-fence .map{width:100%;height:100%}.ui-field-fence .info{position:absolute;top:0;left:0;right:0;bottom:0;pointer-events:none}.ui-field-fence .info .searchbox{left:12px;top:12px;background-color:#fff;box-shadow:0 0 3px rgba(0,0,0,.5);pointer-events:initial;border-radius:3px;padding:3px}.ui-field-fence .info .searchbox .search-result{overflow:auto;position:absolute;top:calc(100% - 2px);left:0;right:0;background-color:#fefefe;box-shadow:0 1px 3px #999;visibility:hidden;border-radius:0 0 3px 3px}.ui-field-fence .info .searchbox .search-result .auto-item{white-space:nowrap;font-size:12px;cursor:pointer;padding:4px;line-height:14px}.ui-field-fence .input-item{position:relative;display:inline-flex;align-items:center;width:220px;font-size:12px}.ui-field-fence .input-item .input-item-prepend{margin-right:-1px}.ui-field-fence .input-item .input-item-prepend .input-item-text{padding:.25em .5em;display:block;text-justify:distribute-all-lines;text-align-last:justify;align-items:center;margin-bottom:0;font-weight:400;line-height:1.5;color:#495057;text-align:center;white-space:nowrap;background-color:#e9ecef;border:1px solid #ced4da;border-radius:.25rem 0 0 .25rem;box-sizing:border-box}.ui-field-fence .input-item input{position:relative;flex:1 1 auto;width:1%;margin:0;background:#fff;padding:.25em .5em;display:inline-block;line-height:1.5;color:#495057;vertical-align:middle;border:1px solid #ced4da;border-radius:0 .25rem .25rem 0;appearance:none;box-sizing:border-box}.ui-field-fence .input-item input:focus{border-color:#80bdff;outline:0;box-shadow:0 0 0 .1rem rgba(128,189,255,.1)}.ui-field-fence .tools{position:absolute;bottom:15px;left:50%;transform:translateX(-50%);display:flex;flex-direction:row;border-radius:4px;background-color:#fff;box-shadow:0 0 3px rgba(0,0,0,.5)}.ui-field-fence .tools .tool{width:32px;height:32px;box-sizing:border-box;background:#fff center no-repeat;background-size:18px;cursor:pointer;position:relative}.ui-field-fence .tools .tool:first-of-type{border-radius:4px 0 0 4px}.ui-field-fence .tools .tool:last-of-type{border-radius:0 4px 4px 0}.ui-field-fence .tools .tool:hover{background-color:#f0f0f0}.ui-field-fence .tools .tool::before{position:absolute;top:0;left:50%;transform:translate(-50%,-100%);padding:4px 8px;border-radius:4px;background-color:#fff;box-shadow:0 0 3px rgba(0,0,0,.5);color:#666;font-size:12px;line-height:16px;transition:all .2s ease-in-out;opacity:0;word-break:keep-all;visibility:hidden;pointer-events:none}.ui-field-fence .tools .tool:hover::before{top:-4px;opacity:1;visibility:visible}.ui-field-fence .tools .tool+.tool{border-left:1px solid #eee}.ui-field-fence .tools .tool.marker{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgEAYAAAAj6qa3AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAZiS0dEAAAAAAAA+UO7fwAAAAlwSFlzAAAASAAAAEgARslrPgAABbFJREFUaN7tmH9M1GUcx9+f7zFBOWDOH0QeCiiVrQEL5b7P9+AOXP44nZtu3tEZGNqWrlBXtIxpmWWYWSslK1zOyzOnoJtG6ky2PH4EnErAikoKgVOzZDqZTiHu++kPdldTG5B3oNP3f8+e5/t5Pu/Xd8+PzwM80P0tClRgwyjDKMOosDDpcy7gghkz0Iit6sWZM7GC7TQ7JoaSaRuyRo/mzfwMiq5do2U4iZPnz/M7UikvqKiglZpT6guHDpVfKb/iKj1z5q4HYGITm1ir5ef+GvvX2Bdf5NXYyuvz82kxPoI9IuL/xuUsODCjrAzbPbXqo3l5FbW1C2sXNjbeNQDS9Prd+t0JCRQmSZJ04AC6aQs2x8b6BkQhDvXl5ZzHQcgsLZVmST3qjIYG3qGOkxo6OjCNzGTWajmY3lWb4uLoDN9A7KxZHMavkGfuXHqaCvBOaChew7OwdXcjlzfjsxUryluqm6qbioqGDEDaZVEn6oxGkjGRxxw6hEgyk1WrxePIQqTLRZ/ST1L0ypVOqiqsKqypGWj8aTX63frdkZE9nZIqqW++iXKqR93SpTDBAI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ZnyLB+hgAAAABJRU5ErkJggg==)}.ui-field-fence .tools .tool.polyline{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgEAYAAAAj6qa3AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAZiS0dEAAAAAAAA+UO7fwAAAAlwSFlzAAAASAAAAEgARslrPgAABMJJREFUaN7tlmtMVEcUx89cYKVAQF1KiBQCEkBEJZTXnbl771oxaosPEl1p1NZtbULTQsUmkn4okXbF0NgWeURdtUKNxiJYMBaQRyjZKlgwFBWqJNJKLg0sYvEBIuju6YcN/WCzaWVBjL2/r+fMmfn/5+TMACgoKCgoKCj8XyFTVYiXeZmX585VWbhdsFSvh3TYRwJDQzGJJGFxR4dr1P3XH3xXVFQXeWXnlZ0jIzMtfMoMWPY2L/Oyn9/jWC4YoKkJvsTL0OPpCflkiJzt7IQMjMDUyEisIYlk/s2brneH143s4fnnxQjO0QKPorkdcMVggDN4jFywWB57kWTug7Aw07om1vyFRmMp5FqcrkdEkEZAeMXH5+FZd+JOMjJmWviUIQ6wZBp27Zp4gDbQhuxse3lSLT1Ojx84IA7RNtpWWzvT557A4Q4gjbAelpjNEE384Fh4uN3EO0QFZ8LDiZqoYHtf37MSqNFoNBrNnDliMS/zclzck3HnyRa23aQkAY/B+HJ0NNERA8l1dxfTmYqp9u9HA/ZgT0MD50Vuw8Y1a9ATr0OyKHI+XIk1rq0N+gEgYPqEazFWF6vz9bX2WPssFXV18DsBqB4etkUpnch76g6QIpiBGVasICZSCSXV1VBDdgCcO0cMUEvqN20ievCwdi9bxiUQAeJOngQTOqM+MhJDuBT4Jj8f38NRbl96upTDivlSg2GqhYstYkvMA39/FF3ecY41mcgd+BV/c3HhlloeWl/T6SZdWPMtTaAJq1dLkcyNwuio5MWGacqJE1rUohad7XQS+ccrI8qCmk/YvFmKY/Op/6NH0nL2C/U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93WAKvCLWu8dmYvjWg0wNL25QyVymIEItkr6JVKgUduiz+3vms89AbQbUyzzyoqbBU3X3m378CTExPWjGBHRS9wd+0/2/9dnLYLsDwk4rXSUkpDBm7o9d4jMx8it6zMWnGzGHH/j/M8OyoK4+5qteZfGNB3/jwAIMyNDPAZ7PA1GPR6DAKAXo8iAP22x63uGtkAUFDgLOEWNu4CtjosLXElXMnU1OqLI2immLAwZxcne1k4kaJSyMPDMcZeJHVAAEvAMRT/JV8b2Lw2EgEAY8Zv+Qhl/cCA5UjrauFWBdXiA5iqq31e7ojqG8rJsdXf5gy4f7MmWmkXNXC1+/fjVSqkirY2VCIDwwsLLhesQhTU09MW4abtnnu5xrw8V+e1wQZuwh8O+xrVlxHM2AAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMC0xMS0xOVQxODo1NzowMSswODowMNOAvgoAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjAtMTEtMTlUMTg6NTc6MDErMDg6MDCi3Qa2AAAATHRFWHRzdmc6YmFzZS11cmkAZmlsZTovLy9ob21lL2FkbWluL2ljb24tZm9udC90bXAvaWNvbl91Mmh4aGJndGdvL3Fpbmdrb25nXzEuc3ZnghROGAAAAABJRU5ErkJggg==)}.ui-field-fence .tools .tool.marker:before{content:'绘制点标注'}.ui-field-fence .tools .tool.circle:before{content:'绘制圆形'}.ui-field-fence .tools .tool.polyline:before{content:'绘制折线'}.ui-field-fence .tools .tool.polygon:before{content:'绘制多边形'}.ui-field-fence .tools .tool.help:before{content:'1.点击要绘制的图形\\A 2.在地图上进行绘制,其中折线和多边形双击结束绘制\\A 3.点击已经绘制好的地图进入编辑模式,再次点击退出编辑模式\\A 4.在绘制好了的图形上右键可以删除该图形';white-space:pre}.ui-field-fence .tools .tool.clear:before{content:'清空所有图形'}.ui-field-fence .tools .tool.disabled,.ui-field-fence .tools.disabled .tool:not(.help){filter:opacity(.3);cursor:none;pointer-events:none}.ui-field-fence .close-btn{position:absolute;bottom:15px;left:50%;transform:translateX(-50%);display:inline-block;padding:0 12px;font-size:12px;line-height:32px;border-radius:4px;background-color:#fff;cursor:pointer;box-shadow:0 0 3px rgba(0,0,0,.5)}.ui-field-fence .close-btn:hover{background-color:#f0f0f0}.ui-field-fence .amap-copyright,.ui-field-fence .amap-logo{display:none!important}.ui-field-fence .amap-ui-control-position-rt,.ui-field-fence .amap-ui-control-position-tr{top:15px;right:15px}",
|
|
7153
|
-
map: undefined,
|
|
7154
|
-
media: undefined
|
|
7155
|
-
});
|
|
7156
|
-
};
|
|
7157
|
-
/* scoped */
|
|
7158
|
-
|
|
7159
|
-
|
|
7160
|
-
const __vue_scope_id__$i = undefined;
|
|
7161
|
-
/* module identifier */
|
|
7162
|
-
|
|
7163
|
-
const __vue_module_identifier__$i = undefined;
|
|
7164
|
-
/* functional template */
|
|
7165
|
-
|
|
7166
|
-
const __vue_is_functional_template__$i = false;
|
|
7167
|
-
/* style inject SSR */
|
|
7168
|
-
|
|
7169
|
-
/* style inject shadow dom */
|
|
7170
|
-
|
|
7171
|
-
const __vue_component__$i = /*#__PURE__*/normalizeComponent({
|
|
7172
|
-
render: __vue_render__$h,
|
|
7173
|
-
staticRenderFns: __vue_staticRenderFns__$h
|
|
7174
|
-
}, __vue_inject_styles__$i, __vue_script__$i, __vue_scope_id__$i, __vue_is_functional_template__$i, __vue_module_identifier__$i, false, createInjector, undefined, undefined);
|
|
7175
|
-
|
|
7176
|
-
var FenceField = __vue_component__$i;
|
|
7177
|
-
|
|
7178
|
-
const fields = Object.create(null, {
|
|
7179
|
-
text: {
|
|
7180
|
-
enumerable: true,
|
|
7181
|
-
value: TextField
|
|
7182
|
-
},
|
|
7183
|
-
textarea: {
|
|
7184
|
-
enumerable: true,
|
|
7185
|
-
value: TextField
|
|
7186
|
-
},
|
|
7187
|
-
password: {
|
|
7188
|
-
enumerable: true,
|
|
7189
|
-
value: TextField
|
|
5694
|
+
password: {
|
|
5695
|
+
enumerable: true,
|
|
5696
|
+
value: TextField
|
|
7190
5697
|
}
|
|
7191
5698
|
});
|
|
7192
5699
|
const FormFields = {
|
|
@@ -7211,23 +5718,19 @@ const FormFields = {
|
|
|
7211
5718
|
FileUploadField,
|
|
7212
5719
|
ImageUploadField,
|
|
7213
5720
|
TriggerField,
|
|
7214
|
-
IconsField
|
|
7215
|
-
|
|
7216
|
-
|
|
7217
|
-
|
|
7218
|
-
}
|
|
7219
|
-
|
|
7220
|
-
*
|
|
7221
|
-
* @param type {string}
|
|
7222
|
-
* @param field
|
|
5721
|
+
IconsField
|
|
5722
|
+
};
|
|
5723
|
+
/**
|
|
5724
|
+
*
|
|
5725
|
+
* @param type {string}
|
|
5726
|
+
* @param field
|
|
7223
5727
|
*/
|
|
7224
5728
|
|
|
7225
5729
|
const addFieldType = (type, field) => {
|
|
7226
|
-
if (Objects.hasProp(fields, type)) {
|
|
7227
|
-
|
|
7228
|
-
|
|
7229
|
-
}
|
|
7230
|
-
|
|
5730
|
+
// if (Objects.hasProp(fields, type)) {
|
|
5731
|
+
// console.warn(`already have a ${type} field`);
|
|
5732
|
+
// return;
|
|
5733
|
+
// }
|
|
7231
5734
|
fields[type] = field;
|
|
7232
5735
|
};
|
|
7233
5736
|
|
|
@@ -7323,9 +5826,9 @@ var script$h = {
|
|
|
7323
5826
|
info: String,
|
|
7324
5827
|
rules: null,
|
|
7325
5828
|
|
|
7326
|
-
/**
|
|
7327
|
-
* 是否显示 label 后面的冒号
|
|
7328
|
-
* 默认显示
|
|
5829
|
+
/**
|
|
5830
|
+
* 是否显示 label 后面的冒号
|
|
5831
|
+
* 默认显示
|
|
7329
5832
|
*/
|
|
7330
5833
|
colon: {
|
|
7331
5834
|
type: Boolean,
|
|
@@ -7379,7 +5882,7 @@ var script$h = {
|
|
|
7379
5882
|
|
|
7380
5883
|
if (typeof vtype === 'string') {
|
|
7381
5884
|
const [type, ...args] = vtype.split(':');
|
|
7382
|
-
rule = VType
|
|
5885
|
+
rule = VType[type](this.$props, ...args);
|
|
7383
5886
|
}
|
|
7384
5887
|
|
|
7385
5888
|
rule && rules.push(rule);
|
|
@@ -7536,8 +6039,8 @@ var __vue_staticRenderFns__$g = [];
|
|
|
7536
6039
|
|
|
7537
6040
|
const __vue_inject_styles__$h = function (inject) {
|
|
7538
6041
|
if (!inject) return;
|
|
7539
|
-
inject("data-v-
|
|
7540
|
-
source: ".ui-form-item.el-form-item--small[data-v-
|
|
6042
|
+
inject("data-v-7980c558_0", {
|
|
6043
|
+
source: ".ui-form-item.el-form-item--small[data-v-7980c558] .el-form-item__content .ui-form-item-prefix,.ui-form-item.el-form-item--small[data-v-7980c558] .el-form-item__content .ui-form-item-suffix{height:32px}.ui-form-item[data-v-7980c558] .el-form-item__content{display:flex;flex-direction:row;align-items:center}.ui-form-item[data-v-7980c558] .el-form-item__content>.ui-form-field:not(.ui-file-upload-field){flex:1;display:flex;align-items:center}.ui-form-item[data-v-7980c558] .el-form-item__content .ui-file-upload-field{flex:1;display:flex;flex-direction:column;align-items:flex-start}.ui-form-item[data-v-7980c558] .el-form-item__content .has-suffix .el-input__inner{border-top-right-radius:0;border-bottom-right-radius:0}.ui-form-item[data-v-7980c558] .el-form-item__content .ui-form-item-prefix,.ui-form-item[data-v-7980c558] .el-form-item__content .ui-form-item-suffix{flex:none;background-color:#f5f7fa;color:#909399;vertical-align:middle;display:table-cell;position:relative;border:1px solid #dcdfe6;border-left:0;height:36px;border-radius:0 4px 4px 0;padding:0 20px;white-space:nowrap}.ui-form-item .info[data-v-7980c558]{color:#909399;cursor:pointer;margin-left:4px}.ui-form-item.hidden-item[data-v-7980c558]{display:none!important}.el-form--inline .ui-form-item[data-v-7980c558] .el-form-item__label{flex:none;white-space:nowrap}.el-form--inline .ui-form-item[data-v-7980c558] .el-form-item__content{display:inline-flex}",
|
|
7541
6044
|
map: undefined,
|
|
7542
6045
|
media: undefined
|
|
7543
6046
|
});
|
|
@@ -7545,7 +6048,7 @@ const __vue_inject_styles__$h = function (inject) {
|
|
|
7545
6048
|
/* scoped */
|
|
7546
6049
|
|
|
7547
6050
|
|
|
7548
|
-
const __vue_scope_id__$h = "data-v-
|
|
6051
|
+
const __vue_scope_id__$h = "data-v-7980c558";
|
|
7549
6052
|
/* module identifier */
|
|
7550
6053
|
|
|
7551
6054
|
const __vue_module_identifier__$h = undefined;
|
|
@@ -7636,8 +6139,8 @@ var script$g = {
|
|
|
7636
6139
|
default: 'post'
|
|
7637
6140
|
},
|
|
7638
6141
|
|
|
7639
|
-
/**
|
|
7640
|
-
* 是否显示 label 后面的冒号
|
|
6142
|
+
/**
|
|
6143
|
+
* 是否显示 label 后面的冒号
|
|
7641
6144
|
*/
|
|
7642
6145
|
colon: {
|
|
7643
6146
|
type: Boolean,
|
|
@@ -7651,12 +6154,12 @@ var script$g = {
|
|
|
7651
6154
|
type: Boolean,
|
|
7652
6155
|
default: false
|
|
7653
6156
|
}
|
|
7654
|
-
/**
|
|
7655
|
-
* listeners:
|
|
7656
|
-
* ready 所有表单项都准备好后触发
|
|
7657
|
-
* submit 触发提交事件
|
|
7658
|
-
* after-submit 配置 url 后触发submit事件时触发提交数据完成事件
|
|
7659
|
-
* validate 任一表单项被校验后触发
|
|
6157
|
+
/**
|
|
6158
|
+
* listeners:
|
|
6159
|
+
* ready 所有表单项都准备好后触发
|
|
6160
|
+
* submit 触发提交事件
|
|
6161
|
+
* after-submit 配置 url 后触发submit事件时触发提交数据完成事件
|
|
6162
|
+
* validate 任一表单项被校验后触发
|
|
7660
6163
|
**/
|
|
7661
6164
|
|
|
7662
6165
|
},
|
|
@@ -7702,29 +6205,29 @@ var script$g = {
|
|
|
7702
6205
|
},
|
|
7703
6206
|
|
|
7704
6207
|
methods: {
|
|
7705
|
-
/**
|
|
7706
|
-
* @public
|
|
6208
|
+
/**
|
|
6209
|
+
* @public
|
|
7707
6210
|
*/
|
|
7708
6211
|
validate() {
|
|
7709
6212
|
return this.$refs.form.validate(...arguments);
|
|
7710
6213
|
},
|
|
7711
6214
|
|
|
7712
|
-
/**
|
|
7713
|
-
* @public
|
|
6215
|
+
/**
|
|
6216
|
+
* @public
|
|
7714
6217
|
*/
|
|
7715
6218
|
validateField() {
|
|
7716
6219
|
return this.$refs.form.validateField(...arguments);
|
|
7717
6220
|
},
|
|
7718
6221
|
|
|
7719
|
-
/**
|
|
7720
|
-
* @public
|
|
6222
|
+
/**
|
|
6223
|
+
* @public
|
|
7721
6224
|
*/
|
|
7722
6225
|
clearValidate() {
|
|
7723
6226
|
return this.$refs.form.clearValidate(...arguments);
|
|
7724
6227
|
},
|
|
7725
6228
|
|
|
7726
|
-
/**
|
|
7727
|
-
* @public
|
|
6229
|
+
/**
|
|
6230
|
+
* @public
|
|
7728
6231
|
*/
|
|
7729
6232
|
resetValues(values) {
|
|
7730
6233
|
let all = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
|
@@ -7743,8 +6246,8 @@ var script$g = {
|
|
|
7743
6246
|
});
|
|
7744
6247
|
},
|
|
7745
6248
|
|
|
7746
|
-
/**
|
|
7747
|
-
* @public
|
|
6249
|
+
/**
|
|
6250
|
+
* @public
|
|
7748
6251
|
*/
|
|
7749
6252
|
setValues(values) {
|
|
7750
6253
|
if (!values || !Objects.isObject(values)) {
|
|
@@ -7764,8 +6267,8 @@ var script$g = {
|
|
|
7764
6267
|
});
|
|
7765
6268
|
},
|
|
7766
6269
|
|
|
7767
|
-
/**
|
|
7768
|
-
* @public
|
|
6270
|
+
/**
|
|
6271
|
+
* @public
|
|
7769
6272
|
*/
|
|
7770
6273
|
getValues() {
|
|
7771
6274
|
const formItems = this.getFormItems();
|
|
@@ -7797,8 +6300,8 @@ var script$g = {
|
|
|
7797
6300
|
return listSearchItem(this.$children);
|
|
7798
6301
|
},
|
|
7799
6302
|
|
|
7800
|
-
/**
|
|
7801
|
-
* @private
|
|
6303
|
+
/**
|
|
6304
|
+
* @private
|
|
7802
6305
|
*/
|
|
7803
6306
|
addField(name) {
|
|
7804
6307
|
let defaultValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
|
@@ -7809,9 +6312,9 @@ var script$g = {
|
|
|
7809
6312
|
}
|
|
7810
6313
|
},
|
|
7811
6314
|
|
|
7812
|
-
/**
|
|
7813
|
-
* (函数节流. 600ms内只执行一次, 防止 form 表单多次提交)
|
|
7814
|
-
* @private
|
|
6315
|
+
/**
|
|
6316
|
+
* (函数节流. 600ms内只执行一次, 防止 form 表单多次提交)
|
|
6317
|
+
* @private
|
|
7815
6318
|
*/
|
|
7816
6319
|
onSubmit: throttle(async function () {
|
|
7817
6320
|
let formData = this.getValues();
|
|
@@ -7870,8 +6373,8 @@ var script$g = {
|
|
|
7870
6373
|
});
|
|
7871
6374
|
},
|
|
7872
6375
|
|
|
7873
|
-
/**
|
|
7874
|
-
* @private
|
|
6376
|
+
/**
|
|
6377
|
+
* @private
|
|
7875
6378
|
*/
|
|
7876
6379
|
onReset(e) {
|
|
7877
6380
|
e.preventDefault();
|
|
@@ -7879,8 +6382,8 @@ var script$g = {
|
|
|
7879
6382
|
this.$emit('reset');
|
|
7880
6383
|
},
|
|
7881
6384
|
|
|
7882
|
-
/**
|
|
7883
|
-
* @private
|
|
6385
|
+
/**
|
|
6386
|
+
* @private
|
|
7884
6387
|
*/
|
|
7885
6388
|
trigger(event) {
|
|
7886
6389
|
if (typeof event !== 'string') {
|
|
@@ -7900,8 +6403,8 @@ var script$g = {
|
|
|
7900
6403
|
this[`onField${e}`](...args);
|
|
7901
6404
|
},
|
|
7902
6405
|
|
|
7903
|
-
/**
|
|
7904
|
-
* @private
|
|
6406
|
+
/**
|
|
6407
|
+
* @private
|
|
7905
6408
|
*/
|
|
7906
6409
|
onFieldPending(component) {
|
|
7907
6410
|
if (!component.name) {
|
|
@@ -7915,8 +6418,8 @@ var script$g = {
|
|
|
7915
6418
|
});
|
|
7916
6419
|
},
|
|
7917
6420
|
|
|
7918
|
-
/**
|
|
7919
|
-
* @private
|
|
6421
|
+
/**
|
|
6422
|
+
* @private
|
|
7920
6423
|
*/
|
|
7921
6424
|
onFieldDestroy(component) {
|
|
7922
6425
|
if (component.name) {
|
|
@@ -7933,8 +6436,8 @@ var script$g = {
|
|
|
7933
6436
|
}
|
|
7934
6437
|
},
|
|
7935
6438
|
|
|
7936
|
-
/**
|
|
7937
|
-
* @private
|
|
6439
|
+
/**
|
|
6440
|
+
* @private
|
|
7938
6441
|
*/
|
|
7939
6442
|
onFieldDone(component) {
|
|
7940
6443
|
if (!component.name) {
|
|
@@ -8017,8 +6520,8 @@ var __vue_staticRenderFns__$f = [];
|
|
|
8017
6520
|
|
|
8018
6521
|
const __vue_inject_styles__$g = function (inject) {
|
|
8019
6522
|
if (!inject) return;
|
|
8020
|
-
inject("data-v-
|
|
8021
|
-
source: ".el-form--inline[data-v-
|
|
6523
|
+
inject("data-v-2b13c885_0", {
|
|
6524
|
+
source: ".el-form--inline[data-v-2b13c885] .el-form-item{display:inline-flex}",
|
|
8022
6525
|
map: undefined,
|
|
8023
6526
|
media: undefined
|
|
8024
6527
|
});
|
|
@@ -8026,7 +6529,7 @@ const __vue_inject_styles__$g = function (inject) {
|
|
|
8026
6529
|
/* scoped */
|
|
8027
6530
|
|
|
8028
6531
|
|
|
8029
|
-
const __vue_scope_id__$g = "data-v-
|
|
6532
|
+
const __vue_scope_id__$g = "data-v-2b13c885";
|
|
8030
6533
|
/* module identifier */
|
|
8031
6534
|
|
|
8032
6535
|
const __vue_module_identifier__$g = undefined;
|
|
@@ -8334,8 +6837,8 @@ var __vue_staticRenderFns__$e = [];
|
|
|
8334
6837
|
|
|
8335
6838
|
const __vue_inject_styles__$f = function (inject) {
|
|
8336
6839
|
if (!inject) return;
|
|
8337
|
-
inject("data-v-
|
|
8338
|
-
source: ".action-button[data-v-
|
|
6840
|
+
inject("data-v-9bbf9f2a_0", {
|
|
6841
|
+
source: ".action-button[data-v-9bbf9f2a]{text-align:right;margin:0 -20px -20px;padding:10px 20px;border-top:1px solid #e8e8e8}",
|
|
8339
6842
|
map: undefined,
|
|
8340
6843
|
media: undefined
|
|
8341
6844
|
});
|
|
@@ -8343,7 +6846,7 @@ const __vue_inject_styles__$f = function (inject) {
|
|
|
8343
6846
|
/* scoped */
|
|
8344
6847
|
|
|
8345
6848
|
|
|
8346
|
-
const __vue_scope_id__$f = "data-v-
|
|
6849
|
+
const __vue_scope_id__$f = "data-v-9bbf9f2a";
|
|
8347
6850
|
/* module identifier */
|
|
8348
6851
|
|
|
8349
6852
|
const __vue_module_identifier__$f = undefined;
|
|
@@ -8454,7 +6957,7 @@ var __vue_staticRenderFns__$d = [];
|
|
|
8454
6957
|
|
|
8455
6958
|
const __vue_inject_styles__$e = function (inject) {
|
|
8456
6959
|
if (!inject) return;
|
|
8457
|
-
inject("data-v-
|
|
6960
|
+
inject("data-v-6a84e835_0", {
|
|
8458
6961
|
source: ".ui-drawer .el-drawer__header{margin:0;padding:14px 16px;height:50px;border-bottom:1px solid #e8eaec;display:flex;flex-direction:row;align-items:center}.ui-drawer .el-drawer__header>span:first-child{color:#17233d}.ui-drawer .el-drawer__body{height:calc(100% - 51px);display:flex;flex-direction:column}",
|
|
8459
6962
|
map: undefined,
|
|
8460
6963
|
media: undefined
|
|
@@ -8770,7 +7273,7 @@ var __vue_staticRenderFns__$c = [];
|
|
|
8770
7273
|
|
|
8771
7274
|
const __vue_inject_styles__$d = function (inject) {
|
|
8772
7275
|
if (!inject) return;
|
|
8773
|
-
inject("data-v-
|
|
7276
|
+
inject("data-v-787ced62_0", {
|
|
8774
7277
|
source: ".ui-form-drawer{display:flex;flex-direction:column;padding:0;outline:0}.ui-form-drawer .el-drawer-body{flex:1;padding:0;overflow:hidden;display:flex;flex-direction:column}.ui-form-drawer .el-drawer-body>.el-form{flex:1;overflow:auto}.ui-form-drawer .el-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}",
|
|
8775
7278
|
map: undefined,
|
|
8776
7279
|
media: undefined
|
|
@@ -8823,8 +7326,8 @@ var script$c = {
|
|
|
8823
7326
|
|
|
8824
7327
|
},
|
|
8825
7328
|
|
|
8826
|
-
/**
|
|
8827
|
-
* 初始时是否展开
|
|
7329
|
+
/**
|
|
7330
|
+
* 初始时是否展开
|
|
8828
7331
|
*/
|
|
8829
7332
|
collapse: {
|
|
8830
7333
|
type: Boolean,
|
|
@@ -8909,8 +7412,8 @@ var __vue_staticRenderFns__$b = [function () {
|
|
|
8909
7412
|
|
|
8910
7413
|
const __vue_inject_styles__$c = function (inject) {
|
|
8911
7414
|
if (!inject) return;
|
|
8912
|
-
inject("data-v-
|
|
8913
|
-
source: ".ui-form-fieldset[data-v-
|
|
7415
|
+
inject("data-v-7cefb544_0", {
|
|
7416
|
+
source: ".ui-form-fieldset[data-v-7cefb544]{padding:30px 20px 10px;margin:30px 0 20px;border:1px dashed #aaa;border-radius:2px;position:relative}.ui-form-fieldset.toggle.collapse[data-v-7cefb544]{padding:0;border-bottom:none}.ui-form-fieldset.toggle.collapse .ui-form-fieldset-legend[data-v-7cefb544]::after{content:'\\f107'}.ui-form-fieldset.toggle .ui-form-fieldset-legend[data-v-7cefb544]{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-7cefb544]::after{margin-left:4px;content:'\\f106'}.ui-form-fieldset>.ui-form-fieldset-legend[data-v-7cefb544]{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-7cefb544]{margin-top:40px}",
|
|
8914
7417
|
map: undefined,
|
|
8915
7418
|
media: undefined
|
|
8916
7419
|
});
|
|
@@ -8918,7 +7421,7 @@ const __vue_inject_styles__$c = function (inject) {
|
|
|
8918
7421
|
/* scoped */
|
|
8919
7422
|
|
|
8920
7423
|
|
|
8921
|
-
const __vue_scope_id__$c = "data-v-
|
|
7424
|
+
const __vue_scope_id__$c = "data-v-7cefb544";
|
|
8922
7425
|
/* module identifier */
|
|
8923
7426
|
|
|
8924
7427
|
const __vue_module_identifier__$c = undefined;
|
|
@@ -9017,8 +7520,8 @@ var __vue_staticRenderFns__$a = [];
|
|
|
9017
7520
|
|
|
9018
7521
|
const __vue_inject_styles__$b = function (inject) {
|
|
9019
7522
|
if (!inject) return;
|
|
9020
|
-
inject("data-v-
|
|
9021
|
-
source: ".ui-fill-view[data-v-
|
|
7523
|
+
inject("data-v-181def7d_0", {
|
|
7524
|
+
source: ".ui-fill-view[data-v-181def7d]{flex:1;position:relative}.ui-fill-view .wrapper[data-v-181def7d]{position:absolute;top:0;bottom:0;left:0;right:0;display:flex;flex-direction:column}",
|
|
9022
7525
|
map: undefined,
|
|
9023
7526
|
media: undefined
|
|
9024
7527
|
});
|
|
@@ -9026,7 +7529,7 @@ const __vue_inject_styles__$b = function (inject) {
|
|
|
9026
7529
|
/* scoped */
|
|
9027
7530
|
|
|
9028
7531
|
|
|
9029
|
-
const __vue_scope_id__$b = "data-v-
|
|
7532
|
+
const __vue_scope_id__$b = "data-v-181def7d";
|
|
9030
7533
|
/* module identifier */
|
|
9031
7534
|
|
|
9032
7535
|
const __vue_module_identifier__$b = undefined;
|
|
@@ -9359,8 +7862,8 @@ var script$a = {
|
|
|
9359
7862
|
};
|
|
9360
7863
|
},
|
|
9361
7864
|
|
|
9362
|
-
/**
|
|
9363
|
-
* @private
|
|
7865
|
+
/**
|
|
7866
|
+
* @private
|
|
9364
7867
|
*/
|
|
9365
7868
|
fetchData(params) {
|
|
9366
7869
|
this.remoteLoading = true;
|
|
@@ -9397,31 +7900,31 @@ var script$a = {
|
|
|
9397
7900
|
});
|
|
9398
7901
|
},
|
|
9399
7902
|
|
|
9400
|
-
/**
|
|
9401
|
-
* @private
|
|
7903
|
+
/**
|
|
7904
|
+
* @private
|
|
9402
7905
|
*/
|
|
9403
7906
|
registerSearchBar(searchBar) {
|
|
9404
7907
|
this.searchBar = searchBar;
|
|
9405
7908
|
},
|
|
9406
7909
|
|
|
9407
|
-
/**
|
|
9408
|
-
* @private
|
|
7910
|
+
/**
|
|
7911
|
+
* @private
|
|
9409
7912
|
*/
|
|
9410
7913
|
registerPagination(pagination) {
|
|
9411
7914
|
this.pagination = pagination;
|
|
9412
7915
|
this.initPaginationParams();
|
|
9413
7916
|
},
|
|
9414
7917
|
|
|
9415
|
-
/**
|
|
9416
|
-
* @private
|
|
7918
|
+
/**
|
|
7919
|
+
* @private
|
|
9417
7920
|
*/
|
|
9418
7921
|
unRegisterPagination() {
|
|
9419
7922
|
this.removePaginationParams();
|
|
9420
7923
|
this.pagination = null;
|
|
9421
7924
|
},
|
|
9422
7925
|
|
|
9423
|
-
/**
|
|
9424
|
-
* @private
|
|
7926
|
+
/**
|
|
7927
|
+
* @private
|
|
9425
7928
|
*/
|
|
9426
7929
|
initPaginationParams() {
|
|
9427
7930
|
if (!this.pagination) {
|
|
@@ -9439,15 +7942,15 @@ var script$a = {
|
|
|
9439
7942
|
this.tablePageParams = {};
|
|
9440
7943
|
},
|
|
9441
7944
|
|
|
9442
|
-
/**
|
|
9443
|
-
* @private
|
|
7945
|
+
/**
|
|
7946
|
+
* @private
|
|
9444
7947
|
*/
|
|
9445
7948
|
clearSelection() {
|
|
9446
7949
|
this.$refs.table.clearSelection();
|
|
9447
7950
|
},
|
|
9448
7951
|
|
|
9449
|
-
/**
|
|
9450
|
-
* Events
|
|
7952
|
+
/**
|
|
7953
|
+
* Events
|
|
9451
7954
|
*/
|
|
9452
7955
|
toggleSearchBarVisible() {
|
|
9453
7956
|
this.searchBarVisible = !this.searchBarVisible;
|
|
@@ -9540,8 +8043,8 @@ var script$a = {
|
|
|
9540
8043
|
}
|
|
9541
8044
|
},
|
|
9542
8045
|
|
|
9543
|
-
/**
|
|
9544
|
-
* @private
|
|
8046
|
+
/**
|
|
8047
|
+
* @private
|
|
9545
8048
|
*/
|
|
9546
8049
|
addColumn(column) {
|
|
9547
8050
|
const isAdded = this.cols.some(c => c.id === column.id);
|
|
@@ -9599,8 +8102,8 @@ var script$a = {
|
|
|
9599
8102
|
}));
|
|
9600
8103
|
},
|
|
9601
8104
|
|
|
9602
|
-
/**
|
|
9603
|
-
* @private
|
|
8105
|
+
/**
|
|
8106
|
+
* @private
|
|
9604
8107
|
*/
|
|
9605
8108
|
getVisible(id) {
|
|
9606
8109
|
const column = this.cols.find(column => column.id === id);
|
|
@@ -9911,7 +8414,7 @@ var __vue_staticRenderFns__$9 = [];
|
|
|
9911
8414
|
|
|
9912
8415
|
const __vue_inject_styles__$a = function (inject) {
|
|
9913
8416
|
if (!inject) return;
|
|
9914
|
-
inject("data-v-
|
|
8417
|
+
inject("data-v-681d4562_0", {
|
|
9915
8418
|
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{padding:0;display:flex;flex-direction:row-reverse}.ui-table .footer-bar .el-pagination .el-pagination__rightwrapper+*{flex:1;text-align:left}.ui-table .footer-bar .el-pagination::after,.ui-table .footer-bar .el-pagination::before{content:unset}.ui-table .ui-table-empty{padding-top:110px;background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTg0IiBoZWlnaHQ9IjE1MiIgdmlld0JveD0iMCAwIDE4NCAxNTIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgIDxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDI0IDMxLjY3KSI+CiAgICAgIDxlbGxpcHNlIGZpbGwtb3BhY2l0eT0iLjgiIGZpbGw9IiNGNUY1RjciIGN4PSI2Ny43OTciIGN5PSIxMDYuODkiIHJ4PSI2Ny43OTciIHJ5PSIxMi42NjgiPjwvZWxsaXBzZT4KICAgICAgPHBhdGggZD0iTTEyMi4wMzQgNjkuNjc0TDk4LjEwOSA0MC4yMjljLTEuMTQ4LTEuMzg2LTIuODI2LTIuMjI1LTQuNTkzLTIuMjI1aC01MS40NGMtMS43NjYgMC0zLjQ0NC44MzktNC41OTIgMi4yMjVMMTMuNTYgNjkuNjc0djE1LjM4M2gxMDguNDc1VjY5LjY3NHoiIGZpbGw9IiNBRUI4QzIiPjwvcGF0aD4KICAgICAgPHBhdGggZD0iTTEwMS41MzcgODYuMjE0TDgwLjYzIDYxLjEwMmMtMS4wMDEtMS4yMDctMi41MDctMS44NjctNC4wNDgtMS44NjdIMzEuNzI0Yy0x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2IDUuMjUtNS40MjZoMjYuMzE4djMzLjU2OWMwIC42MTctLjA3NyAxLjIxNi0uMjIxIDEuNzg5eiIKICAgICAgICBmaWxsPSIjRENFMEU2Ij48L3BhdGg+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}",
|
|
9916
8419
|
map: undefined,
|
|
9917
8420
|
media: undefined
|
|
@@ -9949,9 +8452,9 @@ var Date$1 = {
|
|
|
9949
8452
|
isDate
|
|
9950
8453
|
};
|
|
9951
8454
|
|
|
9952
|
-
/**
|
|
9953
|
-
* ui-table-column 内置组件.
|
|
9954
|
-
* 在 element-ui 的 el-table-column 组件上拓展出 tree 类型
|
|
8455
|
+
/**
|
|
8456
|
+
* ui-table-column 内置组件.
|
|
8457
|
+
* 在 element-ui 的 el-table-column 组件上拓展出 tree 类型
|
|
9955
8458
|
*/
|
|
9956
8459
|
|
|
9957
8460
|
var script$9 = {
|
|
@@ -9985,12 +8488,12 @@ var script$9 = {
|
|
|
9985
8488
|
type: [Boolean, String]
|
|
9986
8489
|
},
|
|
9987
8490
|
|
|
9988
|
-
/**
|
|
9989
|
-
* tree 动态加载返回children方法
|
|
9990
|
-
*
|
|
9991
|
-
* row {Object} 点击展开的 node 数据
|
|
9992
|
-
* resolve {Function} 调用此方法返回 children 数据. eg: resolve(row.children);
|
|
9993
|
-
* - 使用自定义 loadData 时可先判断 row 的 children 是否已经加载过, 已经加载过则直接 resolve.
|
|
8491
|
+
/**
|
|
8492
|
+
* tree 动态加载返回children方法
|
|
8493
|
+
*
|
|
8494
|
+
* row {Object} 点击展开的 node 数据
|
|
8495
|
+
* resolve {Function} 调用此方法返回 children 数据. eg: resolve(row.children);
|
|
8496
|
+
* - 使用自定义 loadData 时可先判断 row 的 children 是否已经加载过, 已经加载过则直接 resolve.
|
|
9994
8497
|
*/
|
|
9995
8498
|
loadData: {
|
|
9996
8499
|
type: Function,
|
|
@@ -10289,7 +8792,7 @@ const __vue_script__$9 = script$9;
|
|
|
10289
8792
|
|
|
10290
8793
|
const __vue_inject_styles__$9 = function (inject) {
|
|
10291
8794
|
if (!inject) return;
|
|
10292
|
-
inject("data-v-
|
|
8795
|
+
inject("data-v-757fe6ea_0", {
|
|
10293
8796
|
source: ".tree-toggle{display:inline-flex;width:24px;align-items:center;justify-content:center}.tree-toggle.pointer{cursor:pointer}",
|
|
10294
8797
|
map: undefined,
|
|
10295
8798
|
media: undefined
|
|
@@ -10365,10 +8868,10 @@ var Fragment$1 = {
|
|
|
10365
8868
|
};
|
|
10366
8869
|
|
|
10367
8870
|
const ColumnType = Object.create(null);
|
|
10368
|
-
/**
|
|
10369
|
-
*
|
|
10370
|
-
* @param type {string}
|
|
10371
|
-
* @param config {Function} (opt) => string/Vnode/Vnodes. opt: {row, column, cellValue, index, attrs, props, h}
|
|
8871
|
+
/**
|
|
8872
|
+
*
|
|
8873
|
+
* @param type {string}
|
|
8874
|
+
* @param config {Function} (opt) => string/Vnode/Vnodes. opt: {row, column, cellValue, index, attrs, props, h}
|
|
10372
8875
|
*/
|
|
10373
8876
|
|
|
10374
8877
|
const addColumnType = (type, config) => {
|
|
@@ -11238,7 +9741,7 @@ var __vue_staticRenderFns__$8 = [];
|
|
|
11238
9741
|
const __vue_inject_styles__$8 = undefined;
|
|
11239
9742
|
/* scoped */
|
|
11240
9743
|
|
|
11241
|
-
const __vue_scope_id__$8 = "data-v-
|
|
9744
|
+
const __vue_scope_id__$8 = "data-v-2e12dc5c";
|
|
11242
9745
|
/* module identifier */
|
|
11243
9746
|
|
|
11244
9747
|
const __vue_module_identifier__$8 = undefined;
|
|
@@ -11468,7 +9971,7 @@ var __vue_staticRenderFns__$7 = [];
|
|
|
11468
9971
|
|
|
11469
9972
|
const __vue_inject_styles__$7 = function (inject) {
|
|
11470
9973
|
if (!inject) return;
|
|
11471
|
-
inject("data-v-
|
|
9974
|
+
inject("data-v-7ca55d64_0", {
|
|
11472
9975
|
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}",
|
|
11473
9976
|
map: undefined,
|
|
11474
9977
|
media: undefined
|
|
@@ -11649,13 +10152,13 @@ var script$6 = {
|
|
|
11649
10152
|
default: hide => hide()
|
|
11650
10153
|
},
|
|
11651
10154
|
|
|
11652
|
-
/**
|
|
11653
|
-
* {
|
|
11654
|
-
* text: '', // required
|
|
11655
|
-
* handle: () => {}, // required
|
|
11656
|
-
* icon: '', // optional
|
|
11657
|
-
* ... el-button`s options
|
|
11658
|
-
* }
|
|
10155
|
+
/**
|
|
10156
|
+
* {
|
|
10157
|
+
* text: '', // required
|
|
10158
|
+
* handle: () => {}, // required
|
|
10159
|
+
* icon: '', // optional
|
|
10160
|
+
* ... el-button`s options
|
|
10161
|
+
* }
|
|
11659
10162
|
*/
|
|
11660
10163
|
buttons: {
|
|
11661
10164
|
type: null,
|
|
@@ -11788,8 +10291,8 @@ var __vue_staticRenderFns__$6 = [];
|
|
|
11788
10291
|
|
|
11789
10292
|
const __vue_inject_styles__$6 = function (inject) {
|
|
11790
10293
|
if (!inject) return;
|
|
11791
|
-
inject("data-v-
|
|
11792
|
-
source: ".ui-dialog[data-v-
|
|
10294
|
+
inject("data-v-4f9bbab1_0", {
|
|
10295
|
+
source: ".ui-dialog[data-v-4f9bbab1] .el-dialog{margin-bottom:0}.ui-dialog[data-v-4f9bbab1] .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-4f9bbab1] .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-4f9bbab1] .el-dialog .title .close:hover{color:var(--color-primary)}.ui-dialog[data-v-4f9bbab1] .el-dialog .title .close>i{font-size:20px;line-height:53px}[data-v-4f9bbab1] .el-form .ui-form-fieldset:first-child{margin-top:0}[data-v-4f9bbab1] .el-form .ui-form-fieldset:last-child{margin-bottom:0}[data-v-4f9bbab1] .el-dialog__header{padding:0;user-select:none}[data-v-4f9bbab1] .el-dialog__body{padding-bottom:20px}[data-v-4f9bbab1] .el-dialog__footer{padding:10px 20px;border-top:1px solid #dcdfe6}.el-dialog__footer .el-button[data-v-4f9bbab1]{border-radius:2px}@keyframes rotate-data-v-4f9bbab1{from{transform:rotate(0)}to{transform:rotate(360deg)}}",
|
|
11793
10296
|
map: undefined,
|
|
11794
10297
|
media: undefined
|
|
11795
10298
|
});
|
|
@@ -11797,7 +10300,7 @@ const __vue_inject_styles__$6 = function (inject) {
|
|
|
11797
10300
|
/* scoped */
|
|
11798
10301
|
|
|
11799
10302
|
|
|
11800
|
-
const __vue_scope_id__$6 = "data-v-
|
|
10303
|
+
const __vue_scope_id__$6 = "data-v-4f9bbab1";
|
|
11801
10304
|
/* module identifier */
|
|
11802
10305
|
|
|
11803
10306
|
const __vue_module_identifier__$6 = undefined;
|
|
@@ -11868,7 +10371,7 @@ var __vue_staticRenderFns__$5 = [];
|
|
|
11868
10371
|
const __vue_inject_styles__$5 = undefined;
|
|
11869
10372
|
/* scoped */
|
|
11870
10373
|
|
|
11871
|
-
const __vue_scope_id__$5 = "data-v-
|
|
10374
|
+
const __vue_scope_id__$5 = "data-v-b839600e";
|
|
11872
10375
|
/* module identifier */
|
|
11873
10376
|
|
|
11874
10377
|
const __vue_module_identifier__$5 = undefined;
|
|
@@ -12208,7 +10711,7 @@ var __vue_staticRenderFns__$4 = [];
|
|
|
12208
10711
|
|
|
12209
10712
|
const __vue_inject_styles__$4 = function (inject) {
|
|
12210
10713
|
if (!inject) return;
|
|
12211
|
-
inject("data-v-
|
|
10714
|
+
inject("data-v-92d4e482_0", {
|
|
12212
10715
|
source: ".ui-scroll-view__nav-wrap{overflow:hidden;position:relative;display:flex;align-items:center;flex-wrap:nowrap}.ui-scroll-view__nav-wrap.is-row{flex-direction:row}.ui-scroll-view__nav-wrap.is-column{flex-direction:column}.ui-scroll-view__nav-wrap .ui-scroll-view__nav-scroll{overflow:hidden}.ui-scroll-view__nav-wrap .ui-scroll-view__nav-scroll .ui-scroll-view__nav{position:relative;transition:transform .3s;display:flex;flex-wrap:nowrap;float:left}.ui-scroll-view__nav-wrap .ui-scroll-view__nav-scroll .ui-scroll-view__nav.is-row{flex-direction:row}.ui-scroll-view__nav-wrap .ui-scroll-view__nav-scroll .ui-scroll-view__nav.is-column{flex-direction:column}.ui-scroll-view__nav-wrap.is-row .ui-scroll-view__nav-control{flex:none;width:50px;height:100%;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;visibility:hidden}.ui-scroll-view__nav-wrap.is-row .ui-scroll-view__nav-control.ui-scroll-view__nav-active{visibility:visible}.ui-scroll-view__nav-wrap.is-row .ui-scroll-view__nav-control .menu-nav-control{width:25px;height:70px;display:flex;align-items:center;justify-content:center;flex-direction:column}.ui-scroll-view__nav-wrap.is-row .ui-scroll-view__nav-control .menu-nav-control::after,.ui-scroll-view__nav-wrap.is-row .ui-scroll-view__nav-control .menu-nav-control::before{content:'';display:block;position:relative;width:6px;height:50px;background-color:#fff;transition:all .3s ease-in-out;border-radius:3px}.ui-scroll-view__nav-wrap.is-row .ui-scroll-view__nav-control .menu-nav-control::before{bottom:-4px}.ui-scroll-view__nav-wrap.is-row .ui-scroll-view__nav-control .menu-nav-control::after{top:-4px}.ui-scroll-view__nav-wrap.is-row .ui-scroll-view__nav-control.ui-scroll-view__nav-prev .menu-nav-control::before{transform:rotate(18deg)}.ui-scroll-view__nav-wrap.is-row .ui-scroll-view__nav-control.ui-scroll-view__nav-prev .menu-nav-control::after{transform:rotate(-18deg)}.ui-scroll-view__nav-wrap.is-row .ui-scroll-view__nav-control.ui-scroll-view__nav-next .menu-nav-control::before{transform:rotate(-18deg)}.ui-scroll-view__nav-wrap.is-row .ui-scroll-view__nav-control.ui-scroll-view__nav-next .menu-nav-control::after{transform:rotate(18deg)}.ui-scroll-view__nav-wrap.is-row .ui-scroll-view__nav-control.ui-scroll-view__nav-prev:hover .menu-nav-control::before{transform:rotate(30deg)}.ui-scroll-view__nav-wrap.is-row .ui-scroll-view__nav-control.ui-scroll-view__nav-prev:hover .menu-nav-control::after{transform:rotate(-30deg)}.ui-scroll-view__nav-wrap.is-row .ui-scroll-view__nav-control.ui-scroll-view__nav-next:hover .menu-nav-control::before{transform:rotate(-30deg)}.ui-scroll-view__nav-wrap.is-row .ui-scroll-view__nav-control.ui-scroll-view__nav-next:hover .menu-nav-control::after{transform:rotate(30deg)}.ui-scroll-view__nav-wrap.is-row .ui-scroll-view__nav-control.is-disabled{pointer-events:none}.ui-scroll-view__nav-wrap.is-row .ui-scroll-view__nav-control.is-disabled .menu-nav-control::after,.ui-scroll-view__nav-wrap.is-row .ui-scroll-view__nav-control.is-disabled .menu-nav-control::before{background-color:#ccc}.ui-scroll-view__nav-wrap.is-column{height:100%}.ui-scroll-view__nav-wrap.is-column .ui-scroll-view__nav-control{flex:none;width:100%;height:35px;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;visibility:hidden}.ui-scroll-view__nav-wrap.is-column .ui-scroll-view__nav-control.ui-scroll-view__nav-active{visibility:visible}.ui-scroll-view__nav-wrap.is-column .ui-scroll-view__nav-control .menu-nav-control{width:40px;height:17px;display:flex;align-items:center;justify-content:center;flex-direction:row}.ui-scroll-view__nav-wrap.is-column .ui-scroll-view__nav-control .menu-nav-control::after,.ui-scroll-view__nav-wrap.is-column .ui-scroll-view__nav-control .menu-nav-control::before{content:'';display:block;position:relative;width:17px;height:4px;background-color:#fff;transition:all .3s ease-in-out;border-radius:3px}.ui-scroll-view__nav-wrap.is-column .ui-scroll-view__nav-control .menu-nav-control::before{right:-2.5px}.ui-scroll-view__nav-wrap.is-column .ui-scroll-view__nav-control .menu-nav-control::after{left:-2.5px}.ui-scroll-view__nav-wrap.is-column .ui-scroll-view__nav-control.ui-scroll-view__nav-prev .menu-nav-control::before{transform:rotate(-18deg)}.ui-scroll-view__nav-wrap.is-column .ui-scroll-view__nav-control.ui-scroll-view__nav-prev .menu-nav-control::after{transform:rotate(18deg)}.ui-scroll-view__nav-wrap.is-column .ui-scroll-view__nav-control.ui-scroll-view__nav-next .menu-nav-control::before{transform:rotate(18deg)}.ui-scroll-view__nav-wrap.is-column .ui-scroll-view__nav-control.ui-scroll-view__nav-next .menu-nav-control::after{transform:rotate(-18deg)}.ui-scroll-view__nav-wrap.is-column .ui-scroll-view__nav-control.ui-scroll-view__nav-prev:hover .menu-nav-control::before{transform:rotate(-30deg)}.ui-scroll-view__nav-wrap.is-column .ui-scroll-view__nav-control.ui-scroll-view__nav-prev:hover .menu-nav-control::after{transform:rotate(30deg)}.ui-scroll-view__nav-wrap.is-column .ui-scroll-view__nav-control.ui-scroll-view__nav-next:hover .menu-nav-control::before{transform:rotate(30deg)}.ui-scroll-view__nav-wrap.is-column .ui-scroll-view__nav-control.ui-scroll-view__nav-next:hover .menu-nav-control::after{transform:rotate(-30deg)}.ui-scroll-view__nav-wrap.is-column .ui-scroll-view__nav-control.is-disabled{pointer-events:none}.ui-scroll-view__nav-wrap.is-column .ui-scroll-view__nav-control.is-disabled .menu-nav-control::after,.ui-scroll-view__nav-wrap.is-column .ui-scroll-view__nav-control.is-disabled .menu-nav-control::before{background-color:#ccc}",
|
|
12213
10716
|
map: undefined,
|
|
12214
10717
|
media: undefined
|
|
@@ -12485,7 +10988,7 @@ var __vue_staticRenderFns__$3 = [];
|
|
|
12485
10988
|
|
|
12486
10989
|
const __vue_inject_styles__$3 = function (inject) {
|
|
12487
10990
|
if (!inject) return;
|
|
12488
|
-
inject("data-v-
|
|
10991
|
+
inject("data-v-4c265cf7_0", {
|
|
12489
10992
|
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}",
|
|
12490
10993
|
map: undefined,
|
|
12491
10994
|
media: undefined
|
|
@@ -12668,8 +11171,8 @@ var __vue_staticRenderFns__$2 = [];
|
|
|
12668
11171
|
|
|
12669
11172
|
const __vue_inject_styles__$2 = function (inject) {
|
|
12670
11173
|
if (!inject) return;
|
|
12671
|
-
inject("data-v-
|
|
12672
|
-
source: ".minimize[data-v-
|
|
11174
|
+
inject("data-v-4b6f2af8_0", {
|
|
11175
|
+
source: ".minimize[data-v-4b6f2af8]{position:absolute;display:flex;align-items:center;cursor:pointer}.minimize .line[data-v-4b6f2af8]{position:absolute;background-color:#ccc;transition-duration:.2s;transition-property:background-color,width,height;transition-timing-function:ease-in-out}.minimize .indicator[data-v-4b6f2af8]{opacity:.6;background-color:#ccc;transition-duration:.2s;transition-property:background-color,opacity;transition-timing-function:ease-in-out}.minimize.hover .indicator[data-v-4b6f2af8]{opacity:1}.minimize.bottom[data-v-4b6f2af8],.minimize.top[data-v-4b6f2af8]{left:0;right:0;height:14px;flex-direction:column}.minimize.bottom .line[data-v-4b6f2af8],.minimize.top .line[data-v-4b6f2af8]{height:1px;width:100%}.minimize.bottom .indicator[data-v-4b6f2af8],.minimize.top .indicator[data-v-4b6f2af8]{width:36px;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:row}.minimize.bottom .indicator[data-v-4b6f2af8]::after,.minimize.bottom .indicator[data-v-4b6f2af8]::before,.minimize.top .indicator[data-v-4b6f2af8]::after,.minimize.top .indicator[data-v-4b6f2af8]::before{content:'';display:block;position:relative;width:10px;height:2px;background-color:#fff;transition:all .3s ease-in-out}.minimize.bottom .indicator[data-v-4b6f2af8]::before,.minimize.top .indicator[data-v-4b6f2af8]::before{left:1px}.minimize.bottom .indicator[data-v-4b6f2af8]::after,.minimize.top .indicator[data-v-4b6f2af8]::after{right:1px}.minimize.bottom:hover .line[data-v-4b6f2af8],.minimize.top:hover .line[data-v-4b6f2af8]{height:2px;background-color:#3da8f5}.minimize.bottom:hover .indicator[data-v-4b6f2af8],.minimize.top:hover .indicator[data-v-4b6f2af8]{opacity:1;background-color:#3da8f5}.minimize.left[data-v-4b6f2af8],.minimize.right[data-v-4b6f2af8]{width:14px;top:0;bottom:0;flex-direction:row}.minimize.left .line[data-v-4b6f2af8],.minimize.right .line[data-v-4b6f2af8]{width:1px;height:100%}.minimize.left .indicator[data-v-4b6f2af8],.minimize.right .indicator[data-v-4b6f2af8]{width:100%;height:36px;display:flex;align-items:center;justify-content:center;flex-direction:column}.minimize.left .indicator[data-v-4b6f2af8]::after,.minimize.left .indicator[data-v-4b6f2af8]::before,.minimize.right .indicator[data-v-4b6f2af8]::after,.minimize.right .indicator[data-v-4b6f2af8]::before{content:'';display:block;position:relative;width:2px;height:10px;background-color:#fff;transition:all .3s ease-in-out}.minimize.left .indicator[data-v-4b6f2af8]::before,.minimize.right .indicator[data-v-4b6f2af8]::before{bottom:-1px}.minimize.left .indicator[data-v-4b6f2af8]::after,.minimize.right .indicator[data-v-4b6f2af8]::after{top:-1px}.minimize.left:hover .line[data-v-4b6f2af8],.minimize.right:hover .line[data-v-4b6f2af8]{width:2px;background-color:#3da8f5}.minimize.left:hover .indicator[data-v-4b6f2af8],.minimize.right:hover .indicator[data-v-4b6f2af8]{opacity:1;background-color:#3da8f5}.minimize.top[data-v-4b6f2af8]{bottom:-14px}.minimize.top .line[data-v-4b6f2af8]{top:0}.minimize.top .indicator[data-v-4b6f2af8]{border-radius:0 0 4px 4px}.minimize.top:hover .indicator[data-v-4b6f2af8]::before{transform:rotate(-24deg)}.minimize.top:hover .indicator[data-v-4b6f2af8]::after{transform:rotate(24deg)}.minimize.top.collapse:hover .indicator[data-v-4b6f2af8]{opacity:1}.minimize.top.collapse:hover .indicator[data-v-4b6f2af8]::before{transform:rotate(24deg)}.minimize.top.collapse:hover .indicator[data-v-4b6f2af8]::after{transform:rotate(-24deg)}.minimize.right[data-v-4b6f2af8]{left:-14px}.minimize.right .line[data-v-4b6f2af8]{right:0}.minimize.right .indicator[data-v-4b6f2af8]{border-radius:4px 0 0 4px}.minimize.right:hover .indicator[data-v-4b6f2af8]::before{transform:rotate(-24deg)}.minimize.right:hover .indicator[data-v-4b6f2af8]::after{transform:rotate(24deg)}.minimize.right.collapse .indicator[data-v-4b6f2af8]{opacity:1}.minimize.right.collapse .indicator[data-v-4b6f2af8]::before{transform:rotate(24deg)}.minimize.right.collapse .indicator[data-v-4b6f2af8]::after{transform:rotate(-24deg)}.minimize.bottom[data-v-4b6f2af8]{top:-14px}.minimize.bottom .line[data-v-4b6f2af8]{bottom:0}.minimize.bottom .indicator[data-v-4b6f2af8]{border-radius:4px 4px 0 0}.minimize.bottom:hover .indicator[data-v-4b6f2af8]::before{transform:rotate(24deg)}.minimize.bottom:hover .indicator[data-v-4b6f2af8]::after{transform:rotate(-24deg)}.minimize.bottom.collapse .indicator[data-v-4b6f2af8]{opacity:1}.minimize.bottom.collapse .indicator[data-v-4b6f2af8]::before{transform:rotate(-24deg)}.minimize.bottom.collapse .indicator[data-v-4b6f2af8]::after{transform:rotate(24deg)}.minimize.left[data-v-4b6f2af8]{right:-14px}.minimize.left .line[data-v-4b6f2af8]{left:0}.minimize.left .indicator[data-v-4b6f2af8]{border-radius:0 4px 4px 0}.minimize.left:hover .indicator[data-v-4b6f2af8]::before{transform:rotate(24deg)}.minimize.left:hover .indicator[data-v-4b6f2af8]::after{transform:rotate(-24deg)}.minimize.left.collapse .indicator[data-v-4b6f2af8]{opacity:1}.minimize.left.collapse .indicator[data-v-4b6f2af8]::before{transform:rotate(-24deg)}.minimize.left.collapse .indicator[data-v-4b6f2af8]::after{transform:rotate(24deg)}",
|
|
12673
11176
|
map: undefined,
|
|
12674
11177
|
media: undefined
|
|
12675
11178
|
});
|
|
@@ -12677,7 +11180,7 @@ const __vue_inject_styles__$2 = function (inject) {
|
|
|
12677
11180
|
/* scoped */
|
|
12678
11181
|
|
|
12679
11182
|
|
|
12680
|
-
const __vue_scope_id__$2 = "data-v-
|
|
11183
|
+
const __vue_scope_id__$2 = "data-v-4b6f2af8";
|
|
12681
11184
|
/* module identifier */
|
|
12682
11185
|
|
|
12683
11186
|
const __vue_module_identifier__$2 = undefined;
|
|
@@ -12754,7 +11257,7 @@ var __vue_staticRenderFns__$1 = [];
|
|
|
12754
11257
|
|
|
12755
11258
|
const __vue_inject_styles__$1 = function (inject) {
|
|
12756
11259
|
if (!inject) return;
|
|
12757
|
-
inject("data-v-
|
|
11260
|
+
inject("data-v-87438316_0", {
|
|
12758
11261
|
source: ".ui-page{display:flex;flex-direction:column;overflow:auto;position:relative}.ui-page.ui-page-direction-row{flex-direction:row}",
|
|
12759
11262
|
map: undefined,
|
|
12760
11263
|
media: undefined
|
|
@@ -12901,7 +11404,7 @@ var __vue_staticRenderFns__ = [];
|
|
|
12901
11404
|
|
|
12902
11405
|
const __vue_inject_styles__ = function (inject) {
|
|
12903
11406
|
if (!inject) return;
|
|
12904
|
-
inject("data-v-
|
|
11407
|
+
inject("data-v-c9cc23c4_0", {
|
|
12905
11408
|
source: ".router-search-page{height:100%}.router-search-page .page-search-conditions{display:flex;flex-direction:column;position:relative}.router-search-page .page-search-conditions .search-content{flex:1;display:flex;flex-direction:column}.router-search-page .page-search-conditions .indicator{position:absolute;top:50%;right:0;transform:translateY(-50%);width:14px;height:36px;opacity:.3;background-color:#ccc;transition-duration:.2s;transition-property:background-color,opacity;transition-timing-function:ease-in-out;display:flex;align-items:center;justify-content:center;flex-direction:column;border-radius:4px 0 0 4px;cursor:pointer}.router-search-page .page-search-conditions .indicator:hover{opacity:1;background-color:var(--color-primary)}.router-search-page .page-search-conditions .indicator:hover:before{transform:rotate(24deg)}.router-search-page .page-search-conditions .indicator:hover:after{transform:rotate(-24deg)}.router-search-page .page-search-conditions .indicator::after,.router-search-page .page-search-conditions .indicator::before{content:\"\";display:block;position:relative;width:2px;height:10px;background-color:#fff;transition:all .3s ease-in-out}.router-search-page .page-search-conditions .indicator::before{bottom:-1px}.router-search-page .page-search-conditions .indicator::after{top:-1px}.router-search-page .page-search-conditions.collapse{z-index:2}.router-search-page .page-search-conditions.collapse .indicator{border-radius:0 4px 4px 0;right:-14px}.router-search-page .page-search-conditions.collapse .indicator:hover:before{transform:rotate(-24deg)}.router-search-page .page-search-conditions.collapse .indicator:hover:after{transform:rotate(24deg)}.router-search-page .page-search-content{flex:1;position:relative;display:flex;flex-direction:column;overflow:auto}.router-search-page .page-search-content.page-search-content-direction-row{flex-direction:row}.router-search-page.layout-v>.multipane-resizer{margin:0;left:0;position:relative}.router-search-page.layout-v>.multipane-resizer.collapse{display:none}.router-search-page.layout-v>.multipane-resizer:before{display:block;content:\"\";width:3px;height:40px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border-left:1px solid #ccc;border-right:1px solid #ccc}.router-search-page.layout-v>.multipane-resizer:hover:before{border-color:#999}",
|
|
12906
11409
|
map: undefined,
|
|
12907
11410
|
media: undefined
|
|
@@ -12959,8 +11462,8 @@ var Components = {
|
|
|
12959
11462
|
}
|
|
12960
11463
|
};
|
|
12961
11464
|
|
|
12962
|
-
/**
|
|
12963
|
-
* 以引用的特性构建tree
|
|
11465
|
+
/**
|
|
11466
|
+
* 以引用的特性构建tree
|
|
12964
11467
|
*/
|
|
12965
11468
|
const array2Tree = function (arr) {
|
|
12966
11469
|
let opt = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
@@ -13381,4 +11884,4 @@ var index = {
|
|
|
13381
11884
|
Components: ComponentList
|
|
13382
11885
|
};
|
|
13383
11886
|
|
|
13384
|
-
export { arrays as Arrays, Axios, Date$1 as Dates, FieldMixin, mixin as HistoryMixin, Objects, Router, Store, Strings, Upload, addFieldType, index as default,
|
|
11887
|
+
export { arrays as Arrays, Axios, Date$1 as Dates, FieldMixin, mixin as HistoryMixin, Objects, Router, Store, Strings, Upload, addFieldType, addVType, index as default, onReady };
|