Commit e78c30e5 by gao_yingdong

智能研判统计

parent bec4cf95
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
<script> <script>
import { mapGetters } from "vuex"; import { mapGetters } from "vuex";
const Base64 = require('js-base64').Base64 const Base64 = require("js-base64").Base64;
export default { export default {
name: "leftMenu_components", name: "leftMenu_components",
props: { props: {
...@@ -154,12 +154,16 @@ export default { ...@@ -154,12 +154,16 @@ export default {
if (item.id == "dwcx") { if (item.id == "dwcx") {
let path = `http://39.99.155.173:9002/#/jccxIndex`; let path = `http://39.99.155.173:9002/#/jccxIndex`;
window.open(path, "_blank"); window.open(path, "_blank");
} else if(item.id == "brainDzajSP") { } else if (item.id == "brainDzajSP") {
let obj = JSON.parse(sessionStorage.getItem("userInfo")) let obj = JSON.parse(sessionStorage.getItem("userInfo"));
let account = obj.account let account = obj.account;
let exStr = Base64.encode(account) let exStr = Base64.encode(account);
let path = `http://39.99.155.173:8006/toFzSpJsp?cxrJh=${exStr}`; let path = `http://39.99.155.173:8006/toFzSpJsp?cxrJh=${exStr}`;
window.open(path, "_blank"); window.open(path, "_blank");
} else if (item.id == "queryYpzl") {
this.$router.push({
path: '/wfzdzczl'
})
} else { } else {
this.$router.push(item.index); this.$router.push(item.index);
} }
......
...@@ -16,14 +16,14 @@ const menuLayouts = [ ...@@ -16,14 +16,14 @@ const menuLayouts = [
}, },
component: () => import("@/views/hbyprw/xswj/xswj.vue") component: () => import("@/views/hbyprw/xswj/xswj.vue")
}, },
{ // {
path: "/queryYpzl", // path: "/queryYpzl",
name: "queryYpzl", // name: "queryYpzl",
meta: { // meta: {
title: '研判指令' // title: '研判指令'
}, // },
component: () => import("@/views/hbyprw/queryYpzl/queryYpzl.vue") // component: () => import("@/views/hbyprw/queryYpzl/queryYpzl.vue")
}, // },
{ {
path: "/queryYpcp", path: "/queryYpcp",
name: "queryYpcp", name: "queryYpcp",
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
</span> </span>
</div> </div>
<div class="Boxcontent"> <div class="Boxcontent">
<div style="display: flex;"> <div style="display: flex">
<div id="ajtj" class="tj"></div> <div id="ajtj" class="tj"></div>
<div id="xyrtj" class="tj"></div> <div id="xyrtj" class="tj"></div>
</div> </div>
...@@ -210,6 +210,7 @@ export default { ...@@ -210,6 +210,7 @@ export default {
data() { data() {
return { return {
result: [], result: [],
resultXyr: [],
//页脚配置 //页脚配置
footerProps: this.pageFooterProps, footerProps: this.pageFooterProps,
//页面信息对象 //页面信息对象
...@@ -271,6 +272,14 @@ export default { ...@@ -271,6 +272,14 @@ export default {
}); });
} }
}); });
res.data.rows.xyrgs.forEach((item) => {
if (item.count != 0) {
this.resultXyr.push({
name: item.paname,
value: item.count,
});
}
});
this.getAjzdhyly_one(); this.getAjzdhyly_one();
this.getAjzdhyly_two(); this.getAjzdhyly_two();
}); });
...@@ -356,7 +365,7 @@ export default { ...@@ -356,7 +365,7 @@ export default {
text: "嫌疑人统计", text: "嫌疑人统计",
padding: [5, 24], padding: [5, 24],
textStyle: { textStyle: {
color: "#333333", color: "#334333",
fontSize: 16, fontSize: 16,
fontWeight: "bold", fontWeight: "bold",
}, },
...@@ -410,7 +419,7 @@ export default { ...@@ -410,7 +419,7 @@ export default {
length: 50, length: 50,
}, },
}, },
data: this.result, data: this.resultXyr,
}, },
], ],
}); });
......
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