Commit a9baf237 by xue_wengang

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

parents 5e4854de 9990be1f
......@@ -33,6 +33,22 @@ const menuLayouts = [
component: () => import("@/views/shse/shsexs/queryXsxx.vue")
},
{
path: "/shseajxxxsyj",
name: "shseajxxxsyj",
meta: {
title: '涉黑涉恶案件信息线索预警'
},
component: () => import("@/views/shse/xxyj/ajxx.vue")
},
{
path: "/shseryxxyj",
name: "shseryxxyj",
meta: {
title: '涉黑涉恶人员线索预警'
},
component: () => import("@/views/shse/xxyj/ryxs.vue")
},
{
path: "/queryShseTh",
name: "queryShseTh",
meta: {
......
......@@ -478,13 +478,29 @@ export default {
hasChildren: false,
},
{
id: "queryShseajxxxsyj",
label: "案件信息线索预警",
newAuth: "M0104",
index: "shseajxxxsyj",
className: "iconfont icongongnengfuwu",
hasChildren: false
},
{
id: "queryShseryxxyj",
label: "人员线索预警",
newAuth: "M0104",
index: "shseryxxyj",
className: "iconfont icongongnengfuwu",
hasChildren: false
},
{
id: "queryZdcs",
label: "重点场所信息管理",
newAuth: "M0106",
index: "queryZdcs",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
}
],
},
{
......
<template>
<div class="Content">
<right-content
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
ref="rightContent"
@toInfor="toInfor"
>
<template slot="cxyhz">
<el-tooltip placement="top">
<div slot="content">
预警等级<br>
A:团伙案件数量和人员数量都大于等于3;<br>
B:团伙案件数量或人员数量有一个等于2;<br>
C:团伙案件数量或人员数量有一个等于1;
</div>
<span style="margin-left: 20px;cursor: pointer;">等级说明</span>
</el-tooltip>
</template>
<template #btnGroup="scope">
<span class="hbyp" @click="toNt(scope.scope)"> 脑图</span>
<span class="hbyp" @click="toThfxKsh(scope.scope)">可视化分析</span>
</template>
</right-content>
</div>
</template>
<script>
import rightContent from "@c/ptCxForm_components.vue";
// import { insertGxzz } from "@/api/shse/shse.js";
// import base from "@/api/base";
export default {
name: "queryHbyp",
components: {
rightContent,
},
data() {
return {
header: "涉黑涉恶案件侦查",
pageBs: "queryShseaj",
cxFormData: {
limit: 10,
page: 1,
asjbh: "",
ajlbdm: "",
larqkssj: "",
larqjssj: "",
},
cxQueryField: [
{
name: "案事件编号",
id: "asjbh",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "案件类别",
id: "ajlbdm",
type: "codeTreeDialog",
codeTree: "CODE_AJLB_MIS",
codeOptions: [],
value: "",
placeholder: "请选择",
col: "3",
},
{
name: "立案时间",
id: "larqkssj",
id2: "larqjssj",
type: "zdyDate",
value: "",
col: "3",
},
],
cxDefaultFormThead: [
{
label: "案事件编号",
toInfor: true,
prop: "asjbh",
width: "250",
},
{
label: "案件名称",
prop: "ajmc",
width: "200"
},
{
label: "立案日期",
prop: "larq",
width: "200"
},
{
label: "立案单位",
prop: "ladwGajgmc",
width: "200"
},
{
label: "现场勘验编号",
prop: "xckybh",
toInfor: true
// width: "200"
},
{
label: "简要案情",
prop: "jyaq"
// toInfor: true,
// width: "200"
},
{
label: "预警等级",
prop: "yjdj"
// toInfor: true,
// width: "200"
}
// {
// label: "案事件来源",
// prop: "asjlydmStr",
// width: "200",
// },
],
cxUrl: "/shseaj/selectShseAjyjList",
Menu: [
// zylx:"asj",
{
id: "queryShseaj",
label: "案事件信息管理",
index: "queryShseaj",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
selectArr: [],
revokeVisiable: false,
ckForm: {
file: "",
},
fileArr: [],
zdXxzjbh: "",
};
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
// this.$store.commit("user/SET_LeftMenu", this.leftMenus);
// this.$store.commit("user/SET_Header", this.header);
},
methods: {
toInfor(scope, columnTitle) {
if (columnTitle.prop == "asjbh") {
let path = `${this.$baseUrl.alyIP5}/queryAjdaxxs?asjbh=${scope.asjbh}`;
window.open(path, "_blank");
} else {
window.open(
`http://10.184.14.150/xcky_pic/page/sceneview/intoSceneview.action?functionType=3&id=${scope.xckybh}&IMP=1`,
"_blank"
);
}
},
getAjlb() {
var self = this;
self.cxUrl = "/shseaj/selectAjxx";
// this.$refs.rightContent.doQuery("yes");
},
getWdgzlb() {
var self = this;
self.cxUrl = "/shseaj/selectWgzKyxs";
// this.$refs.rightContent.doQuery("yes");
},
toThfxKsh(scope) {
let params = {
id: scope.row.thbh,
type: "group",
};
let childrenDz = this.$baseUrl.alyIP3 + '/thyp/getAccompliceBythId'
let obj = {
childrenXhrStr: childrenDz,
photoXhrStr: null,
params: params,
nodedata: {
type: "person",
id: scope.row.thbh,
name: scope.row.thbh,
zdyjd: 'zdyjd',
children: true,
},
nodeClickBoo: false,
unfoldParams: {
startDate: "startDate",
endDate: "endDate",
id: "name",
// pid: "parentId",
type: "type",
isXsAj: "isXsAj",
},
};
sessionStorage.setItem("key", JSON.stringify(obj));
this.$router.pushToTab({
path: "/ypEcharts",
query: {
title: "团伙关系分析",
type: "thfxfx",
types: "tonat",
},
});
},
toNt(scope) {
// let path = `http://39.99.155.173:8007/naotuBox?type=hnDxzp&kybh=${scope.row.asjbh}`;
// window.open(path, "_blank");
// ?userId=142302198901012417
var obj = JSON.parse(sessionStorage.getItem("userInfo"));
var params = {
type: "shse",
kybh: scope.row.asjbh,
userId: obj.identitycard,
username: obj.userName,
trueName: obj.userName,
identitycard: obj.identitycard,
unitcode: obj.unitcode,
unitname: obj.unitname,
};
debugger;
console.log(params);
this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
// ${this.$baseUrl.alyIP4}/naotuBox
},
toDetail(url, PARAMS) {
var temp_form = document.createElement("form");
temp_form.action = url;
temp_form.target = "_blank";
temp_form.method = "post";
temp_form.style.display = "none";
for (var x in PARAMS) {
var opt = document.createElement("textarea");
opt.name = x;
opt.value = PARAMS[x];
temp_form.appendChild(opt);
}
document.body.appendChild(temp_form);
temp_form.submit();
},
},
};
</script>
<style>
.el-dialog__body {
padding: 10px 15px !important;
}
.rightContent .el-input__inner,
#formCommonPage .el-input__inner {
height: 32px;
line-height: 32px;
font-family: inherit;
}
.el-table__header-wrapper th,
.el-table__header-wrapper tr {
background: #f4f6f7;
}
.rightContent .el-input__icon,
#formCommonPage .el-input__icon,
.el-input__suffix-inner {
line-height: 36px;
}
.rightContent .el-range-separator {
position: relative;
top: -4px;
}
.rightContent .el-textarea__inner,
#formCommonPage .el-textarea__inner {
width: 100%;
font-family: inherit;
}
.rightContent .el-range-input,
#formCommonPage .el-range-input {
vertical-align: top;
}
.rightContent .el-date-editor .el-range__close-icon {
margin-top: -4px;
}
.rightContent .el-form-item__error {
left: calc(66% - 27px);
top: 12px;
}
.success-row {
background-color: #fbf9f4 !important;
}
.Content .el-input,
.Content .el-date-editor--daterange.el-input__inner {
width: 100% !important;
}
</style>
<style scoped lang="scss">
.el-form-item {
margin: 15px 0 20px 0;
}
.red {
color: red;
}
.black {
color: black;
}
@import "@/assets/styles/rightContent.scss";
.hbyp {
font-size: 14px;
font-family: Source Han Sans CN;
font-weight: 400;
line-height: 22px;
color: #007aff;
margin-right: 16px;
cursor: pointer;
}
.hbyps {
font-size: 14px;
font-family: Source Han Sans CN;
font-weight: 400;
line-height: 22px;
color: #007aff;
margin-right: 16px;
cursor: pointer;
display: inline-block;
width: 87px;
border: 1px solid;
line-height: 28px;
text-align: center;
}
</style>
<template>
<!-- 注释的都是 旧的项目 -->
<div class="Content">
<right-content
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
:pageASs="pageASs"
ref="rightContent"
@toInfor="toInfor"
>
<template slot="cxyhz">
<el-tooltip placement="top">
<div slot="content">
预警等级<br>
A:团伙案件数量和人员数量都大于等于3;<br>
B:团伙案件数量或人员数量有一个等于2;<br>
C:团伙案件数量或人员数量有一个等于1;
</div>
<span style="margin-left: 20px;cursor: pointer;">等级说明</span>
</el-tooltip>
</template>
<template #btnGroup="scope">
<span class="hbyp" @click="toNt(scope.scope)"> 脑图</span>
<span class="hbyp" @click="toThfxKsh(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>
</template>
<script>
import rightContent from "@c/ptCxForm_components.vue";
// import { selectShseXyryjList } from "@/api/shse/shse.js";
import secret from "@/utils/secret";
export default {
name: "queryHbyp",
components: {
rightContent
},
data() {
return {
pageASs: "queryShsery",
header: "涉黑涉恶案件侦查",
pageBs: "queryShsery",
cxFormData: {
limit: 10,
page: 1,
xm: "",
zjhm: ""
},
cxQueryField: [
{
name: "姓名",
id: "xm",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "身份证号",
id: "zjhm",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
}
],
cxDefaultFormThead: [
{
label: "姓名",
prop: "zhfzxyrXm",
},
{
label: "性别",
prop: "zhfzxyrXbdm",
},
{
label: "身份证号",
prop: "zhfzxyrCyzjZjhm",
toInfor: true
},
{
label: "民族",
prop: "zhfzxyrMzdm",
},
{
label: "户籍地",
prop: "zhfzxyrHjdzXzqhdm",
},
{
label: "预警等级",
prop: "yjdj",
width: 300,
}
// {
// label: "团伙编号",
// prop: "thbh",
// width: 300,
// },
],
// cxUrl: "/selectAjxyr", 旧的
cxUrl: "/shseaj/selectShseXyryjList",
Menu: [
// zylx:"asj",
{
id: "queryShsery",
label: "人员信息管理",
index: "queryShsery",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
selectArr: [],
revokeVisiable: false,
ckForm: {
file: "",
},
fileArr: [],
zdXxzjbh: "",
};
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
},
methods: {
toInfor(scope) {
let base = encodeURIComponent(
secret.Encrypt(
JSON.stringify(JSON.parse(sessionStorage.getItem("user")))
)
);
let path = `${
this.$baseUrl.alyIP14
}/#/jump?token=${base}&path=/rydaIndex/ryGl&zjhms=${scope.zjhm}&zjhm=${
JSON.parse(sessionStorage.getItem("userInfo")).identitycard
}`;
window.open(path, "_blank");
},
toThfxKsh(scope) {
let params = {
id: scope.row.thbh,
type: "group",
};
let childrenDz = this.$baseUrl.alyIP3 + '/thyp/getAccompliceBythId'
let obj = {
childrenXhrStr: childrenDz,
photoXhrStr: null,
params: params,
nodedata: {
type: "person",
id: scope.row.thbh,
name: scope.row.thbh,
zdyjd: 'zdyjd',
children: true,
},
nodeClickBoo: false,
unfoldParams: {
startDate: "startDate",
endDate: "endDate",
id: "name",
// pid: "parentId",
type: "type",
isXsAj: "isXsAj",
},
};
sessionStorage.setItem("key", JSON.stringify(obj));
this.$router.pushToTab({
path: "/ypEcharts",
query: {
title: "团伙关系分析",
type: "thfxfx",
types: "tonat",
},
});
},
toNt(scope) {
// let path = `http://39.99.155.173:8007/naotuBox?type=hnDxzp&kybh=${scope.row.asjbh}`;
// window.open(path, "_blank");
// ?userId=142302198901012417
var obj = JSON.parse(sessionStorage.getItem("userInfo"));
var params = {
type: "KyRy",
kybh: scope.row.zjhm,
userId: obj.identitycard,
username: obj.userName,
trueName: obj.userName,
identitycard: obj.identitycard,
unitcode: obj.unitcode,
unitname: obj.unitname,
};
console.log(params);
this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
// this.toDetail("http://39.99.155.173:8007/naotuBox", params);
},
toDetail(url, PARAMS) {
var temp_form = document.createElement("form");
temp_form.action = url;
temp_form.target = "_blank";
temp_form.method = "post";
temp_form.style.display = "none";
for (var x in PARAMS) {
var opt = document.createElement("textarea");
opt.name = x;
opt.value = PARAMS[x];
temp_form.appendChild(opt);
}
document.body.appendChild(temp_form);
temp_form.submit();
},
},
};
</script>
<style>
.el-dialog__body {
padding: 10px 15px !important;
}
.rightContent .el-input__inner,
#formCommonPage .el-input__inner {
height: 32px;
line-height: 32px;
font-family: inherit;
}
.el-table__header-wrapper th,
.el-table__header-wrapper tr {
background: #f4f6f7;
}
.rightContent .el-input__icon,
#formCommonPage .el-input__icon,
.el-input__suffix-inner {
line-height: 36px;
}
.rightContent .el-range-separator {
position: relative;
top: -4px;
}
.rightContent .el-textarea__inner,
#formCommonPage .el-textarea__inner {
width: 100%;
font-family: inherit;
}
.rightContent .el-range-input,
#formCommonPage .el-range-input {
vertical-align: top;
}
.rightContent .el-date-editor .el-range__close-icon {
margin-top: -4px;
}
.rightContent .el-form-item__error {
left: calc(66% - 27px);
top: 12px;
}
.success-row {
background-color: #fbf9f4 !important;
}
.Content .el-input,
.Content .el-date-editor--daterange.el-input__inner {
width: 100% !important;
}
</style>
<style scoped lang="scss">
.el-form-item {
margin: 15px 0 20px 0;
}
.red {
color: red;
}
.black {
color: black;
}
@import "@/assets/styles/rightContent.scss";
.hbyp {
font-size: 14px;
font-family: Source Han Sans CN;
font-weight: 400;
line-height: 22px;
color: #007aff;
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