Commit 7e26fda2 by gao_yingdong

研判工具

parent 0f21f633
No preview for this file type
......@@ -55,3 +55,7 @@ export const getKyClTj = params =>
//银行卡统计
export const getYhClTj = params =>
postJson(`${base.alyIP}/dwkyxs/getYhClTj`, params);
// 号码统计
export const getKyRyTj = params =>
postJson(`${base.alyIP}/dwkyxs/getKyRyTj`, params);
\ No newline at end of file
......@@ -327,6 +327,20 @@
:key="item.id"
@change="getChange"
>{{ item.name }}
<span
style="
color: #126ce4;
border: 1px solid;
font-size: 14px;
border-radius: 50px;
padding: 0px 3px;
font-weight: 600;
"
v-if="item.idShow"
>{{
item.id == "agefl" ? "人" : item.id == "hmfl" ? "号" : "车"
}}</span
>
</el-checkbox-button>
</el-checkbox-group>
</div>
......
......@@ -47,10 +47,7 @@
<div class="table" v-if="tableData.length > 0">
<div class="title">查询结果</div>
<div style="text-align: right; margin-bottom: 10px">
<el-button
@click="$emit('toDytj', keyNum)"
size="small"
type="primary"
<el-button @click="$emit('toDytj', keyNum)" size="small" type="primary"
>地域统计</el-button
>
<el-button
......@@ -107,6 +104,15 @@
</div>
</template>
</el-table-column>
<el-table-column align="center" label="操作" width="200">
<template slot-scope="scope">
<span
style="cursor: pointer; color: #126ce4; border-bottom: 1px solid"
@click="addKj(scope)"
><i class="el-icon-upload"></i> 存入工作空间</span
>
</template>
</el-table-column>
</el-table>
<div
v-loading="loading"
......@@ -187,6 +193,9 @@ export default {
};
},
methods: {
addKj(rows) {
this.$message.success("保存成功!");
},
handleSizeChange(val) {
this.limit = val;
this.$emit("handleSizeChange", val, this.key);
......
......@@ -205,8 +205,19 @@ export default {
id: "typefl",
},
{
name: "性别",
id: "agefl",
idShow: true,
},
{
name: "手机号码",
id: "hmfl",
idShow: true,
},
{
name: "车牌号码",
id: "cpfl",
idShow: true,
},
],
Menu: [
......
......@@ -26,7 +26,12 @@
</template>
<script>
import { getKyDhTj, getKyClTj, getYhClTj } from "@/api/dictionaryCode";
import {
getKyDhTj,
getKyClTj,
getYhClTj,
getKyRyTj,
} from "@/api/dictionaryCode";
export default {
data() {
return {
......@@ -102,7 +107,7 @@ export default {
}
this.loading = false;
});
} else {
} else if (this.$route.query.key == "hmxs") {
getKyDhTj(JSON.stringify(josn)).then((res) => {
if (res.code == 200 && res.success) {
if (res.success && res.code == 200) {
......@@ -129,6 +134,33 @@ export default {
}
this.loading = false;
});
} else {
getKyRyTj(JSON.stringify(josn)).then((res) => {
if (res.code == 200 && res.success) {
if (res.success && res.code == 200) {
if (this.nextType) {
let xData = res.data.rows.map((i) => ({
name: i.name,
value: i.name,
}));
let data = res.data.rows.map((i) => ({
name: i.name,
value: i.num,
dm: i.name,
}));
this.nextType = res.data.nextType;
//添加到histoy数组
this.historyArrs.push(res.data.nextType);
this.historyArr.push({ x: xData, data: data });
//刷新图
this.getCharts(xData, data);
} else {
this.$message.warning("没有下一层了");
}
}
}
this.loading = false;
});
}
},
//点击返回上一层事件
......
......@@ -170,32 +170,32 @@ export default {
let resluts = {
nodes: [
{
id: "140112199852524521",
id: "542421197606230015",
data: {
symbol: "",
xm: "杨洋",
ids: "140112199852524521",
xm: "尼玛次仁",
ids: "542421197606230015",
type: "1",
},
text: null,
type: "1",
},
{
id: "蒙DAH123",
id: "藏EC0070",
data: {
symbol: "",
xm: "",
ids: "蒙DAH123",
ids: "藏EC0070",
type: "2",
},
text: null,
type: "2",
},
{
id: "16859623648",
id: "18199625540",
data: {
symbol: "",
ids: "16859623648",
ids: "18199625540",
type: "3",
},
text: null,
......@@ -204,13 +204,13 @@ export default {
],
links: [
{
from: "蒙DAH123",
to: "140112199852524521",
from: "藏EC0070",
to: "542421197606230015",
// text: "涉案",
},
{
from: "16859623648",
to: "140112199852524521",
from: "18199625540",
to: "542421197606230015",
},
],
};
......@@ -330,7 +330,7 @@ export default {
} else {
let paths =
data.type == "1"
? "/rydaIndex/ry"
? "/rydaIndex/ryGl"
: data.type == "2"
? "/cardaIndex"
: "/sjdaIndex";
......
......@@ -156,6 +156,9 @@ export default {
lxrSfz: "",
lxrXm: "",
rygx: "",
gxmqd: "",
qtdxMin: "",
qtdxMax: "",
},
cxQueryField: [
{
......@@ -174,6 +177,38 @@ export default {
value: "",
col: "3",
},
{
name: "关系密切度",
id: "gxmqd",
type: "select",
selectData: [
{
value: "高",
name: "高",
},
{
value: "中",
name: "中",
},
{
value: "低",
name: "低",
},
],
value: "",
col: "3",
},
{
name: "群体大小",
id: "qtdxMin",
id2: "qtdxMax",
type: "zdyText",
value: "",
placeholder: "请输入",
value2: "",
placeholder2: "请输入",
col: "3",
},
],
cxDefaultFormThead: [
{
......@@ -628,6 +663,38 @@ export default {
value: "",
col: "3",
},
{
name: "关系密切度",
id: "gxmqd",
type: "select",
selectData: [
{
value: "高",
name: "高",
},
{
value: "中",
name: "中",
},
{
value: "低",
name: "低",
},
],
value: "",
col: "3",
},
{
name: "群体大小",
id: "qtdxMin",
id2: "qtdxMax",
type: "zdyText",
value: "",
placeholder: "请输入",
value2: "",
placeholder2: "请输入",
col: "3",
},
];
var arrey = [
{
......
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