Commit e1f74c1d by liyuhang19990520

涉黑可视化

parent 67b55d6a
This source diff could not be displayed because it is too large. You can view the blob instead.
<!--
* @Author: your name
* @Date: 2021-07-18 16:03:37
* @LastEditTime: 2021-08-03 18:09:01
* @LastEditTime: 2021-08-04 15:20:31
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\App.vue
......
/*
* @Author: your name
* @Date: 2021-07-05 17:04:26
* @LastEditTime: 2021-08-03 18:08:41
* @LastEditTime: 2021-08-04 15:20:38
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\api\home.js
......@@ -33,6 +33,8 @@ export const getasjbhByBsh = params =>
get(setting.BaseURL + "/ksh/getasjbhByBsh", params);
export const shcelogin = params =>
get("/shceapi/doLogin?username=admin&password=0", params);
// export const shcelogin = params =>
// get("/shceapi/doLogin?username=001198&password=0", params);
......@@ -379,6 +379,8 @@ export default {
return require(`@/assets/img/graphEcharts/${str}imsi.png`);
case "broadband":
return require(`@/assets/img/graphEcharts/${str}kuandai.png`);
case "thread":
return require(`@/assets/img/graphEcharts/${str}thread.png`);
}
},
/**
......
......@@ -573,6 +573,7 @@ export default {
tHeader.push(val.label);
filterVal.push(val.prop);
});
self.excelHeader = this.$route.meta.title;
if (this.cxUrl == "/api/ksh/getHdList") {
postJson(this.cxUrl, JSON.stringify(json)).then((res) => {
if (res.code === 200) {
......@@ -594,8 +595,9 @@ export default {
}
self.tableLoadingEmit = false;
});
} else if (this.cxUrl == "/api/ksh/getQzList") {
} else if (this.cxUrl == "/api/ksh/getQzList" || this.cxUrl == "/shceapi/ajQuery/getAjByDateAndType") {
post(this.cxUrl, json).then((res) => {
console.log(res)
if (res.code === 200) {
require.ensure([], () => {
const {
......@@ -615,7 +617,7 @@ export default {
}
self.tableLoadingEmit = false;
});
}
}
}
},
delectByAjbh(asjbh) {
......
<!--
* @Author: your name
* @Date: 2021-07-20 14:08:33
* @LastEditTime: 2021-08-03 09:54:52
* @LastEditTime: 2021-08-04 14:11:03
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\layout\main.vue
......@@ -55,6 +55,13 @@ export default {
disabled: false,
className: 'el-icon-coin'
},
{
id: "ryxsbd",
label: "人员线索比对",
index: "ryxsbd",
disabled: false,
className: 'el-icon-document-copy'
},
],
};
},
......
/*
* @Author: your name
* @Date: 2021-07-20 14:42:16
* @LastEditTime: 2021-08-03 09:31:59
* @LastEditTime: 2021-08-04 14:11:29
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\router\modules\rightContent.js
......@@ -32,6 +32,14 @@ const router = [
},
component: () => import("@/views/shceksh/shthfx.vue")
},
{
path: "/ryxsbd",
name: "ryxsbd",
meta: {
title: '人员线索比对'
},
component: () => import("@/views/shceksh/ryxsbd.vue")
},
]
......
/*
* @Author: your name
* @Date: 2021-06-20 11:48:40
* @LastEditTime: 2021-07-08 21:23:06
* @LastEditTime: 2021-08-04 11:52:17
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \control_platform\src\settings.js
......@@ -15,6 +15,8 @@ module.exports = {
/**
* @description 服务器后台地址
*/
// 获取实时路径标点
// 可视化研判平台
BaseURL: process.env.NODE_ENV == 'development' ? "/api" : '/api',
// 扫黑除恶
BaseURL2: process.env.NODE_ENV == 'development' ? "/api" : '/api',
}
<!--
* @Author: your name
* @Date: 2021-07-20 14:38:05
* @LastEditTime: 2021-08-04 17:04:38
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\yppt\argxfx.vue
-->
<template>
<div class="personSearch">
<el-form ref="form" :model="form" label-width="0px">
<el-form-item>
<el-input v-model="form.zjhm" placeholder="请输入证件号码"></el-input>
</el-form-item>
<el-form-item>
<el-input v-model="form.xm" placeholder="请输入姓名"></el-input>
</el-form-item>
<el-form-item>
<el-cascader
placeholder="请选择涉及区域"
:options="selectData"
:props="{ checkStrictly: true, label: 'label', value: 'id' }"
:show-all-levels="false"
clearable
filterable
@change="change"
></el-cascader>
</el-form-item>
<el-button @click="search">搜索</el-button>
</el-form>
</div>
</template>
<script>
import { get, post, postform, postJson } from "@/utils/http.js";
import LazySelectTreeDialog from "@c/treeCode_components.vue";
export default {
components: {
LazySelectTreeDialog,
},
data() {
return {
form: {
zjhm: "",
xm: "",
sjdq: "",
},
selectData: [],
};
},
mounted() {
this.getSelectData();
},
methods: {
getSelectData() {
get("jsonData/CODE_XZQH.json").then((res) => {
this.selectData = res.rows;
});
},
change(data) {
if (data.length > 0) {
this.$set(this.form, "sjdq", data[data.length - 1]);
} else {
this.$set(this.form, "sjdq", "");
}
console.log(this.form);
},
search() {
if (this.form.zjhm.trim() == "") {
if (this.form.xm.trim() == "" || this.form.sjdq.trim() == "") {
this.$message.error("请输入证件号码或者输入姓名以及区域");
} else {
//调接口
this.toVisual();
}
} else {
//调接口
this.toVisual();
}
},
toVisual() {
let obj = {
childrenXhrStr: "/shceapi/ryksh/getRykshByZjhm",
photoXhrStr: "/shceapi/ryksh/getQgckZp",
params: {
},
nodedata: {
type: "person",
id: null,
name: this.form.zjhm,
children: true,
},
nodeClickBoo: true,
unfoldParams: {
startDate: "startDate",
endDate: "endDate",
id: "name",
pid: "parentId",
type: "type",
},
highLightArr: [
"03080700",
"04000900",
"05001000",
"05001100",
"06012300",
"06012400",
"06013900",
"06080100",
"06080200",
],
};
let key = util.uuid();
localStorage.setItem(key, JSON.stringify(obj));
this.$router.pushToTab({
path: "/echarts",
query: {
key: key,
title: this.$route.meta.title,
},
});
},
},
};
</script>
<style lang="scss" scoped>
.personSearch /deep/ {
width: 100%;
text-align: center;
position: absolute;
top: 30%;
left: 50%;
transform: translateX(-50%);
.el-form-item {
display: inline-block;
width: 20%;
margin-right: 20px;
}
.el-cascader {
width: 100%;
}
.el-input {
width: 100%;
border-radius: 4px;
margin-right: 20px;
.el-input__inner {
background: #0d3354;
border: 1px solid #0268ff;
color: #fff;
}
}
.el-button {
width: 72px;
background: #0268ff;
border-radius: 4px;
color: #fff;
border: none;
}
}
</style>
\ No newline at end of file
/*
* @Author: your name
* @Date: 2021-07-05 17:04:26
* @LastEditTime: 2021-08-03 17:43:35
* @LastEditTime: 2021-08-04 15:20:21
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\vue.config.js
......@@ -56,8 +56,8 @@ module.exports = {
},
proxy: {
"/api": {
// target: "http://26.13.5.1:8501/",
target: "http://39.99.155.173:8501/",
// target: "http://26.13.5.1:8501/", //公安网
target: "http://39.99.155.173:8501/", //阿里云
ws: true,
changeOrigin: true,
pathRewrite: {
......@@ -65,8 +65,8 @@ module.exports = {
}
},
"/shceapi": {
// target: "http://26.13.5.1:8501/",
target: "http://39.99.224.27:8001/",
// target: "http://26.13.5.68:8001/", //公安网
target: "http://39.99.224.27:8001/",//阿里云
ws: true,
changeOrigin: true,
pathRewrite: {
......
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