|
@@ -50,43 +50,43 @@ window._AMapSecurityConfig = {
|
|
serviceHost: 'https://jiasm.zfire.top/' + '_AMapService'
|
|
serviceHost: 'https://jiasm.zfire.top/' + '_AMapService'
|
|
}
|
|
}
|
|
|
|
|
|
-import '@zjlib/element-plugins/dest/element-plugins.css'
|
|
|
|
-import ElementPlugins, { AMap } from '@zjlib/element-plugins'
|
|
|
|
-Vue.use(ElementPlugins, {
|
|
|
|
- // 表单页面表单属性配置
|
|
|
|
- formAttributes: {
|
|
|
|
- 'label-position': 'right'
|
|
|
|
- }
|
|
|
|
- // // 操作记录配置
|
|
|
|
- // operationRecord: function (options) {
|
|
|
|
- // // console.log(options.meta.moduleId)
|
|
|
|
- // // return new Promise((r, j) => {
|
|
|
|
- // // r([[], []])
|
|
|
|
- // // })
|
|
|
|
- // }
|
|
|
|
-})
|
|
|
|
-Vue.use(AMap)
|
|
|
|
-AMap.initAMapApiLoader({
|
|
|
|
- // 高德的key
|
|
|
|
- key: '5894bf90997454b0df3c3d60cab12f64',
|
|
|
|
- version: '2.0',
|
|
|
|
- plugins: ['AMap.Geocoder', 'AMap.AutoComplete', 'AMap.PlaceSearch', 'AMap.DistrictSearch']
|
|
|
|
-})
|
|
|
|
-
|
|
|
|
-// // 本地引用;
|
|
|
|
-// import ElementPlugins, { AMap } from '@packages'
|
|
|
|
|
|
+// import '@zjlib/element-plugins/dest/element-plugins.css'
|
|
|
|
+// import ElementPlugins, { AMap } from '@zjlib/element-plugins'
|
|
// Vue.use(ElementPlugins, {
|
|
// Vue.use(ElementPlugins, {
|
|
|
|
+// // 表单页面表单属性配置
|
|
// formAttributes: {
|
|
// formAttributes: {
|
|
// 'label-position': 'right'
|
|
// 'label-position': 'right'
|
|
// }
|
|
// }
|
|
|
|
+// // // 操作记录配置
|
|
|
|
+// // operationRecord: function (options) {
|
|
|
|
+// // // console.log(options.meta.moduleId)
|
|
|
|
+// // // return new Promise((r, j) => {
|
|
|
|
+// // // r([[], []])
|
|
|
|
+// // // })
|
|
|
|
+// // }
|
|
// })
|
|
// })
|
|
// Vue.use(AMap)
|
|
// Vue.use(AMap)
|
|
// AMap.initAMapApiLoader({
|
|
// AMap.initAMapApiLoader({
|
|
// // 高德的key
|
|
// // 高德的key
|
|
// key: '5894bf90997454b0df3c3d60cab12f64',
|
|
// key: '5894bf90997454b0df3c3d60cab12f64',
|
|
-// plugins: ['AMap.Geocoder', 'AMap.AutoComplete', 'AMap.PlaceSearch']
|
|
|
|
|
|
+// version: '2.0',
|
|
|
|
+// plugins: ['AMap.Geocoder', 'AMap.AutoComplete', 'AMap.PlaceSearch', 'AMap.DistrictSearch']
|
|
// })
|
|
// })
|
|
|
|
|
|
|
|
+// 本地引用;
|
|
|
|
+import ElementPlugins, { AMap } from '@packages'
|
|
|
|
+Vue.use(ElementPlugins, {
|
|
|
|
+ formAttributes: {
|
|
|
|
+ 'label-position': 'right'
|
|
|
|
+ }
|
|
|
|
+})
|
|
|
|
+Vue.use(AMap)
|
|
|
|
+AMap.initAMapApiLoader({
|
|
|
|
+ // 高德的key
|
|
|
|
+ key: '5894bf90997454b0df3c3d60cab12f64',
|
|
|
|
+ plugins: ['AMap.Geocoder', 'AMap.AutoComplete', 'AMap.PlaceSearch']
|
|
|
|
+})
|
|
|
|
+
|
|
import '@/utils/time.js'
|
|
import '@/utils/time.js'
|
|
import { getIPAdd } from '@/utils/lbs.js'
|
|
import { getIPAdd } from '@/utils/lbs.js'
|
|
|
|
|