diff --git a/public/pbImg/marker_red_sprite.png b/public/pbImg/marker_red_sprite.png new file mode 100644 index 0000000..9aa486d Binary files /dev/null and b/public/pbImg/marker_red_sprite.png differ diff --git a/public/pbImg/企业.png b/public/pbImg/企业.png new file mode 100644 index 0000000..d3d6c39 Binary files /dev/null and b/public/pbImg/企业.png differ diff --git a/public/pbImg/企业icon(悬浮).png b/public/pbImg/企业icon(悬浮).png new file mode 100644 index 0000000..9aa486d Binary files /dev/null and b/public/pbImg/企业icon(悬浮).png differ diff --git a/public/pbImg/企业备份.png b/public/pbImg/企业备份.png new file mode 100644 index 0000000..0fa458a Binary files /dev/null and b/public/pbImg/企业备份.png differ diff --git a/public/pbImg/关闭icon.png b/public/pbImg/关闭icon.png new file mode 100644 index 0000000..6aba9f5 Binary files /dev/null and b/public/pbImg/关闭icon.png differ diff --git a/public/pbImg/搜索2121.png b/public/pbImg/搜索2121.png new file mode 100644 index 0000000..4432574 Binary files /dev/null and b/public/pbImg/搜索2121.png differ diff --git a/public/pbImg/正确.png b/public/pbImg/正确.png new file mode 100644 index 0000000..7feaae1 Binary files /dev/null and b/public/pbImg/正确.png differ diff --git a/public/pbImg/消息.png b/public/pbImg/消息.png new file mode 100644 index 0000000..284a2a3 Binary files /dev/null and b/public/pbImg/消息.png differ diff --git a/public/pbImg/监控.png b/public/pbImg/监控.png new file mode 100644 index 0000000..5e416f3 Binary files /dev/null and b/public/pbImg/监控.png differ diff --git a/public/pbImg/监控icon(常态).png b/public/pbImg/监控icon(常态).png new file mode 100644 index 0000000..0fa458a Binary files /dev/null and b/public/pbImg/监控icon(常态).png differ diff --git a/public/pbImg/监控icon(常态)备份.png b/public/pbImg/监控icon(常态)备份.png new file mode 100644 index 0000000..baf9f0e Binary files /dev/null and b/public/pbImg/监控icon(常态)备份.png differ diff --git a/public/pbImg/监控icon(悬浮).png b/public/pbImg/监控icon(悬浮).png new file mode 100644 index 0000000..3f47412 Binary files /dev/null and b/public/pbImg/监控icon(悬浮).png differ diff --git a/public/pbImg/监控icon(悬浮)备份.png b/public/pbImg/监控icon(悬浮)备份.png new file mode 100644 index 0000000..3f47412 Binary files /dev/null and b/public/pbImg/监控icon(悬浮)备份.png differ diff --git a/public/pbImg/矩形.png b/public/pbImg/矩形.png new file mode 100644 index 0000000..23d2bea Binary files /dev/null and b/public/pbImg/矩形.png differ diff --git a/public/pbImg/矩形备份 18.png b/public/pbImg/矩形备份 18.png new file mode 100644 index 0000000..01a83f7 Binary files /dev/null and b/public/pbImg/矩形备份 18.png differ diff --git a/public/pbImg/编组 11991备份 29.png b/public/pbImg/编组 11991备份 29.png new file mode 100644 index 0000000..df339a6 Binary files /dev/null and b/public/pbImg/编组 11991备份 29.png differ diff --git a/public/pbImg/编组 11991备份 3.png b/public/pbImg/编组 11991备份 3.png new file mode 100644 index 0000000..ed5c7a2 Binary files /dev/null and b/public/pbImg/编组 11991备份 3.png differ diff --git a/public/pbImg/编组 18.png b/public/pbImg/编组 18.png new file mode 100644 index 0000000..e497093 Binary files /dev/null and b/public/pbImg/编组 18.png differ diff --git a/public/pbImg/编组 242221.png b/public/pbImg/编组 242221.png new file mode 100644 index 0000000..684f5f6 Binary files /dev/null and b/public/pbImg/编组 242221.png differ diff --git a/public/pbImg/背景.png b/public/pbImg/背景.png new file mode 100644 index 0000000..6da66d2 Binary files /dev/null and b/public/pbImg/背景.png differ diff --git a/public/pbImg/蒙版.png b/public/pbImg/蒙版.png new file mode 100644 index 0000000..f06d25b Binary files /dev/null and b/public/pbImg/蒙版.png differ diff --git a/public/pbImg/跳转icon.png b/public/pbImg/跳转icon.png new file mode 100644 index 0000000..a20d0cd Binary files /dev/null and b/public/pbImg/跳转icon.png differ diff --git a/src/api/factorResources/index.js b/src/api/factorResources/index.js new file mode 100644 index 0000000..2d72e41 --- /dev/null +++ b/src/api/factorResources/index.js @@ -0,0 +1,33 @@ +import request from '@/utils/request' +//查询企业数据 +export function queryCompany(params) { + return request({ + url: '/element/resource/queryCompany', + method: 'get', + params + }) +} +//查询监控数据 +export function queryVideo(params) { + return request({ + url: '/element/resource/queryVideo', + method: 'get', + params + }) +} +//根据企业id查询企业信息 +export function selectCompanyInfoById(params) { + return request({ + url: '/element/resource/selectCompanyInfoById', + method: 'get', + params + }) +} +//图层数据 +export function statistic(params) { + return request({ + url: '/element/resource/statistic', + method: 'get', + params + }) +} \ No newline at end of file diff --git a/src/components/offLineMap/index.vue b/src/components/offLineMap/index.vue index 6b5a79a..97944d0 100644 --- a/src/components/offLineMap/index.vue +++ b/src/components/offLineMap/index.vue @@ -45,7 +45,7 @@ export default { }); let that = this map.centerAndZoom(new BMap.Point(this.dongtaiPoint[0], this.dongtaiPoint[1]), 12); - // map.setMinZoom(11) + map.setMinZoom(12) map.setMaxZoom(19) map.enableScrollWheelZoom(true); // hjrequest({ @@ -196,7 +196,8 @@ export default { label.setOffset(new BMap.Size(130, -10)) label.setStyle({ width: '372px', height: '242px', background: 'url(pbImg/bz49.png) no-repeat', backgroundSize: '100% 100%', border: '0', color: '#fff', padding: '13px 20px' }) label.setContent(` -