Commit c336a183 by xue_wengang

警情标注

parent c069311c
......@@ -5,7 +5,6 @@ import cfg from '@/config/defaultSettings'
export default function zoom(id) {
const width = cfg.windowWidth
const height = cfg.windowHeight
debugger
let x = window.innerWidth / width
let y = window.innerHeight / height
let scale = 'scale(' + x + ',' + y + ')'
......
......@@ -1099,8 +1099,8 @@ export default {
asjbh: this.$route.query.jjdbh,
jqxxInfo: {}, // 案件信息-警情信息
ajxxInfo: {}, // 案件信息-案件信息
xyrInfo: {}, // 人员-嫌疑人
shrInfo: {}, // 人员-受害人
xyrInfo: [], // 人员-嫌疑人
shrInfo: [], // 人员-受害人
barInfo: {}, // 人员-报案人
textarea: "",
dialogVisibleCheck: false,
......
......@@ -619,10 +619,6 @@ export default {
mounted() {
let self = this;
this.bnqyfpaqkInit(); //地市Top10
this.maMapTongJi(); //地图上图统计
axios.get(`map/460000.json`).then((res) => {
self.$echarts.registerMap(self.queryNum, res);
});
this.renderSs();
this.bnfasjfxInit(); //发案趋势
//监听浏览器视图变化
......@@ -658,6 +654,10 @@ export default {
this.getHyyh(); //活跃用户
this.getJrczcs(); //活跃用户
this.getZhrys(); //在逃人员数
this.maMapTongJi(); //地图上图统计
axios.get(`map/460000.json`).then((res) => {
self.$echarts.registerMap(self.queryNum, res);
});
zoom("dataVId");
window.addEventListener("resize", function () {
zoom("dataVId");
......@@ -777,6 +777,7 @@ export default {
larqQssj: self.formData.larqQssj,
larqJssj: self.formData.larqJssj,
unitcode: self.formData.unitcode,
type: "map",
}).then((res) => {
if (res.code == 200) {
var dataList = res.data.result;
......@@ -814,6 +815,7 @@ export default {
});
let dataListKb = JSON.parse(JSON.stringify(dataList));
dataListKb.sort(self.compare("faNum"));
console.log(document.getElementById("maMapTongJiChart"));
let myChart = this.$echarts.init(
document.getElementById("maMapTongJiChart")
);
......@@ -1392,7 +1394,6 @@ export default {
larqJssj: self.formData.larqJssj,
unitcode: self.formData.unitcode,
}).then((res) => {
debugger;
if (res.code == 200) {
let resData = res.data.result;
let arr = [],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment