Commit a35441f7 by xue_wengang

涉黑涉恶人员管理

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