Commit a35441f7 by xue_wengang

涉黑涉恶人员管理

parent e55d46ab
......@@ -102,3 +102,11 @@ export const getLaShseList = params =>
export const getZbfzxyrShseList = params =>
post(`${base.alyIP}/fzth/getZbfzxyrShseList`, params);
//人员关注
export const updateZdgzry = params =>
post(`${base.alyIP}/fzth/updateZdgzry`, params);
\ No newline at end of file
......@@ -1288,7 +1288,7 @@
/>
</div>
<div
v-else-if="columnTitle.prop == 'codeTxt'"
v-else-if="columnTitle.prop == 'codeTxt' || columnTitle.prop == 'rybqMc' || columnTitle.prop == 'ajlbMc'"
style="font-size: 13px !important"
>
<el-tag
......@@ -1503,10 +1503,8 @@
align="center"
label="操作"
:width="
pageBs == 'gzrygl'
pageBs == 'gzrygl' || pageBs == 'queryHbyp'
? '460'
: '200' || pageBs == 'queryHbyp'
? '400'
: '200'
"
fixed="left"
......@@ -1599,7 +1597,7 @@
"
>
<template slot-scope="scope">
<slot name="btnGroup" :scope="scope"></slot>
<slot name="btnGroup" :scope="scope" style="width:200px"></slot>
<span
@click="edit(scope)"
class="edit"
......@@ -2813,53 +2811,53 @@ export default {
},
bqDetail(item, zjhm) {
this.bqShuju = [];
if (item == "团伙作案" || item == "结伙作案") {
getDrbqDetail({
zjhm,
})
.then((res) => {
this.dialogTableVisible = true;
this.bqShuju = res.data.rows;
})
.catch((err) => {
console.log(err);
});
} else if (item == "一人多案" || item == "一人两案") {
getDrDetail({
zjhm,
})
.then((res) => {
this.dialogTableVisible = true;
this.bqShuju = res.data.rows;
})
.catch((err) => {
console.log(err);
});
} else if (item == "在逃" || item == "撤逃") {
let ryzt = item == "在逃" ? 0 : 1;
getZtDetail({
zjhm,
ryzt,
})
.then((res) => {
this.dialogTableVisible = true;
this.bqShuju = res.data.rows;
})
.catch((err) => {
console.log(err);
});
} else if (item == "涉毒") {
getXdryDetail({
zjhm,
})
.then((res) => {
this.dialogTableVisible = true;
this.bqShuju = res.data.rows;
})
.catch((err) => {
console.log(err);
});
}
// if (item == "团伙作案" || item == "结伙作案") {
// getDrbqDetail({
// zjhm,
// })
// .then((res) => {
// this.dialogTableVisible = true;
// this.bqShuju = res.data.rows;
// })
// .catch((err) => {
// console.log(err);
// });
// } else if (item == "一人多案" || item == "一人两案") {
// getDrDetail({
// zjhm,
// })
// .then((res) => {
// this.dialogTableVisible = true;
// this.bqShuju = res.data.rows;
// })
// .catch((err) => {
// console.log(err);
// });
// } else if (item == "在逃" || item == "撤逃") {
// let ryzt = item == "在逃" ? 0 : 1;
// getZtDetail({
// zjhm,
// ryzt,
// })
// .then((res) => {
// this.dialogTableVisible = true;
// this.bqShuju = res.data.rows;
// })
// .catch((err) => {
// console.log(err);
// });
// } else if (item == "涉毒") {
// getXdryDetail({
// zjhm,
// })
// .then((res) => {
// this.dialogTableVisible = true;
// this.bqShuju = res.data.rows;
// })
// .catch((err) => {
// console.log(err);
// });
// }
},
returnBtn() {
this.$emit("returnBtn");
......@@ -3570,6 +3568,9 @@ export default {
if (item.sabqxxtkTxt) {
item.sabqxxtkTxt = item.sabqxxtkTxt.split("#").slice(1);
}
if (item.ajlbMc) {
item.ajlbMc = item.ajlbMc.split("#");
}
if (item.sabqTxt) {
item.sabqTxt = item.sabqTxt
.split("#")
......@@ -3577,6 +3578,9 @@ export default {
.slice(1)
.trim();
}
if (item.rybqMc) {
item.rybqMc = item.rybqMc.split("#");
}
if (item.codeTxt) {
let array = item.codeTxt.split("#").slice(1);
// array.forEach((ajitem) => {
......
......@@ -13,6 +13,13 @@
>
<template #btnGroup="scope">
<span class="hbyp" @click="toNt(scope.scope)"> 脑图</span>
<span
class="hbyp"
@click="rygz(scope.scope)"
v-if="scope.scope.row.gzryZjhm == 0"
><i class="el-icon-plus"></i> 关注</span
>
<span class="hbyp gzClass" v-else> 已关注</span>
</template>
</right-content>
</div>
......@@ -20,6 +27,7 @@
<script>
import rightContent from "@c/ptCxForm_components.vue";
import { updateZdgzry } from "@/api/shse/shse.js";
import base from "@/api/base";
export default {
name: "queryHbyp",
......@@ -38,37 +46,15 @@ export default {
// zhfzxyrXm: "",
// zhfzxyrCyzjZjhm: "",
xm: "",
gmsfzh: "",
xbdm: "",
mzda: "",
zjhm: "",
xb: "",
mz: "",
hjdzXzqhdm: "",
gjdm: "",
ajlb: "",
rybq:"",
gzryZjhm:'',
},
cxQueryField: [
// {
// name: "案事件编号",
// id: "asjbh",
// type: "text",
// value: "",
// placeholder: "请输入",
// col: "3",
// },
// {
// name: "姓名",
// id: "zhfzxyrXm",
// type: "text",
// value: "",
// placeholder: "请输入",
// col: "3",
// },
// {
// name: "证件号码",
// id: "zhfzxyrCyzjZjhm",
// type: "text",
// value: "",
// placeholder: "请输入",
// col: "3",
// },
{
name: "姓名",
id: "xm",
......@@ -79,15 +65,35 @@ export default {
},
{
name: "身份证号",
id: "gmsfzh",
id: "zjhm",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "户籍地区划",
id: "hjdzXzqhdm",
type: "codeTreeDialog",
codeTree: "CODE_XZQH",
codeOptions: [],
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "案件类别",
id: "ajlb",
type: "codeTreeDialog",
codeTree: "CODE_AJLB",
codeOptions: [],
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "性别",
id: "xbdm",
id: "xb",
type: "codeTreeDialog",
value: "",
placeholder: "请选择",
......@@ -97,7 +103,7 @@ export default {
},
{
name: "民族",
id: "mzdm",
id: "mz",
type: "codeTreeDialog", //字典弹框
codeOptions: [],
codeTree: "CODE_MZ",
......@@ -105,90 +111,61 @@ export default {
col: "3",
},
{
name: "户籍地区划:",
id: "hjdzXzqhdm",
name: "人员标签",
id: "rybq",
type: "codeTreeDialog",
codeTree: "CODE_XZQH",
codeTree: "CODE_SHCE_RYBQ",
codeOptions: [],
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "国籍:",
id: "gjdm",
type: "codeTreeDialog",
codeTree: "CODE_GJ",
codeOptions: [],
name: "关注人员",
id: "gzryZjhm",
type: "radio",
value: "",
placeholder: "请选择",
placeholder: "",
col: "3",
radioData: [
{ label: "全部", val: "" },
{
label: "我的关注",
val: JSON.parse(window.sessionStorage.getItem("userInfo")).identitycard,
},
],
},
],
cxDefaultFormThead: [
// {
// label: "案事件编号",
// // toInfor: true,
// prop: "asjbh",
// width: "250",
// },
// {
// label: "姓名",
// prop: "zhfzxyrXm",
// width: "200",
// },
// {
// label: "证件号码",
// prop: "zhfzxyrCyzjZjhm",
// width: "200",
// },
// {
// label: "抓捕日期",
// prop: "zhrq",
// width: "200",
// },
// {
// label: "性别",
// prop: "zhfzxyrXbdm",
// width: "200",
// },
// {
// label: "国籍",
// prop: "zhfzxyrGjdm",
// width: "200",
// },
// {
// label: "民族",
// prop: "zhfzxyrMzdm",
// width: "200",
// },
{
label: "姓名",
prop: "xm",
},
{
label: '性别',
prop: 'xbdmStr'
label: "性别",
prop: "xb",
},
{
label: "身份证号",
prop: "gmsfzh",
},
{
label: "出生日期",
prop: "csrq",
prop: "zjhm",
},
{
label: "民族",
prop: "mzdmStr",
prop: "mz",
},
{
label: "户籍地",
prop: "hjdzXzqhdmStr",
prop: "hjdzXzqhdm",
},
{
label: "案件类别",
prop: "ajlbMc",
width: 300,
},
{
label: "国籍",
prop: "gjdmStr",
label: "人员标签",
prop: "rybqMc",
width: 300,
},
],
// cxUrl: "/selectAjxyr", 旧的
......@@ -217,6 +194,19 @@ export default {
this.$store.commit("user/SET_Menu", this.Menu);
},
methods: {
rygz(scope) {
let self = this;
updateZdgzry({
zjhm: scope.row.zjhm,
}).then((res) => {
if (res.code == 200 && res.data.data == 1) {
self.$message.success("关注成功");
self.$refs.rightContent.doQuery("yes");
} else {
self.$message.error("关注失败");
}
});
},
toNt(scope) {
// let path = `http://39.99.155.173:8007/naotuBox?type=hnDxzp&kybh=${scope.row.asjbh}`;
// window.open(path, "_blank");
......@@ -321,4 +311,8 @@ export default {
margin-right: 16px;
cursor: pointer;
}
.gzClass {
color: #555;
cursor: no-drop;
}
</style>
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