Commit ede3cb2e by gao_yingdong

Merge branch 'dev_xzeq' of http://39.99.224.27:9022/changchao/founder_vue into dev_xzeq

parents e4100f4e 78ee9e0e
......@@ -92,14 +92,14 @@
<p>高危</p>
</el-button>
</div>
<div class="leftToolbar2" ref="leftToolbar" v-if="showTuanhuo">
<div class="leftToolbar" ref="leftToolbar" v-if="showTuanhuo">
<el-button
class="toolBarItem"
@click.native="toTuanhuo"
title="获取团伙信息"
>
<i class="el-icon-picture-outline-round"></i>
<p>团伙</p>
<p>主嫌</p>
</el-button>
</div>
<div class="leftToolbar3" ref="leftToolbar" v-if="showNt">
......@@ -538,33 +538,32 @@ export default {
debugger;
if (this.objSfhm.name) {
debugger;
let params = {
id: this.objSfhm.zjhm,
type: 'person',
};
let obj = {
childrenXhrStr: "/apialy/thyp/getAccompliceById",
photoXhrStr: null,
params: params,
nodedata: {
type: "person",
id: 0,
name: scope.row.zjhm,
children: true,
},
nodeClickBoo: true,
this.params = {
zjhm: this.objSfhm.name,
};
sessionStorage.setItem("key", JSON.stringify(obj));
this.$router.pushToTab({
path: "/ypEcharts",
// key: data.row.bfkh,
query: {
title: "嫌疑人分析",
type: "xyrfx",
// type: "argxfx",
types: "tonat",
},
});
let _this = this;
_this.photoLoading = true;
this.callApi("/apialy/thyp/getXyrByZjhm", this.params).then((res) => {
_this.photoLoading = false;
debugger
if (res.success && res.code == 200) {
this.$message.success("获取成功");
setTimeout(() => {
_this.activeIdArr = [];
_this.nodeArr = [];
_this.linkArr = [];
_this.linkAll = [];
_this.genData = [];
_this.setGraphData();
}, 200);
} else if (res.code == 207) {
this.$notify.info({
title: "提示",
message: res.message,
duration: 3000,
});
}
});
} else {
this.$message.error("请选择嫌疑人!");
}
......
......@@ -121,7 +121,7 @@ export default {
this.topHeader = this.header;
this.$bus.$on("routerPath", () => {
console.log(sessionStorage.getItem("routerPath"));
this.$refs.menu.activeIndex = sessionStorage.getItem("routerPath");
// this.$refs.menu.activeIndex = sessionStorage.getItem("routerPath");
});
},
watch: {
......@@ -143,8 +143,8 @@ export default {
// this.header = val;
},
$route(val) {
this.activeIndex =
sessionStorage.getItem("routerPath") || this.$route.name;
this.activeIndex =this.$route.name;
debugger
let index = this.topMenus.findIndex((i) => i.id == val.name);
if (!val.meta.isAdd && index >= 0) {
this.activeName = val.name;
......
......@@ -67,7 +67,7 @@ export default {
id: "queryRyhx",
label: "画像工厂",
newAuth: "M01",
index: "2",
index: "1",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
......
......@@ -243,13 +243,13 @@ export default {
},
// 可视化
toKshfx(scope) {
//
debugger;
let params = {
zjhm: scope.row.zjhm,
id: scope.row.zjhm,
type: "person",
};
let obj = {
childrenXhrStr: "/apialy/thyp/getXyrByZjhm",
childrenXhrStr: "/apialy/thyp/getAccompliceById",
photoXhrStr: null,
params: params,
nodedata: {
......@@ -267,8 +267,7 @@ export default {
query: {
title: "群体发现分析",
type: "qtfxfx",
// type: "argxfx",
types: "tonat",
types: 'tonat'
},
});
},
......
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