Commit f01709b8 by zhangzhijie

Merge remote-tracking branch 'origin/dev_xzeq' into dev_xzeq

# Conflicts:
#	src/components/ptCxForm_components.vue
parents 705d43de 2f6520d6
{
"code":200,
"data":{
"rows":[
{
"ids":"1044895",
"label":"政治安全",
"codeType":"CODE_SHCE_SJHYLYDM",
"text":"政治安全",
"pId":null,
"id":"0100",
"isParent":false,
"children":[]
},
{
"ids":"1044896",
"label":"农村地区",
"codeType":"CODE_SHCE_SJHYLYDM",
"text":"农村地区",
"pId":null,
"id":"0200",
"isParent":true,
"children":[
{
"ids":"1044897",
"label":"把持政权",
"codeType":"CODE_SHCE_SJHYLYDM",
"text":"把持政权",
"pId":"0200",
"id":"0201",
"isParent":false,
"children":[]
},
{
"ids":"1044898",
"label":"操纵破坏选举",
"codeType":"CODE_SHCE_SJHYLYDM",
"text":"操纵破坏选举",
"pId":"0200",
"id":"0202",
"isParent":false,
"children":[]
},
{
"ids":"1044899",
"label":"垄断资源",
"codeType":"CODE_SHCE_SJHYLYDM",
"text":"垄断资源",
"pId":"0200",
"id":"0203",
"isParent":false,
"children":[]
},
{
"ids":"1044900",
"label":"侵吞资产",
"codeType":"CODE_SHCE_SJHYLYDM",
"text":"侵吞资产",
"pId":"0200",
"id":"0204",
"isParent":false,
"children":[]
},
{
"ids":"1044901",
"label":"家族宗族势力",
"codeType":"CODE_SHCE_SJHYLYDM",
"text":"家族宗族势力",
"pId":"0200",
"id":"0205",
"isParent":false,
"children":[]
},
{
"ids":"1044902",
"label":"其他“村霸”",
"codeType":"CODE_SHCE_SJHYLYDM",
"text":"其他“村霸”",
"pId":"0200",
"id":"0299",
"isParent":false,
"children":[]
}
]
},
{
"ids":"1044903",
"label":"行业领域",
"codeType":"CODE_SHCE_SJHYLYDM",
"text":"行业领域",
"pId":null,
"id":"0300",
"isParent":true,
"children":[
{
"ids":"1044904",
"label":"征地、租地、拆迁",
"codeType":"CODE_SHCE_SJHYLYDM",
"text":"征地、租地、拆迁",
"pId":"0300",
"id":"0301",
"isParent":false,
"children":[]
},
{
"ids":"1044905",
"label":"建筑工程",
"codeType":"CODE_SHCE_SJHYLYDM",
"text":"建筑工程",
"pId":"0300",
"id":"0302",
"isParent":true,
"children":[]
},
{
"ids":"1044906",
"label":"交通运输",
"codeType":"CODE_SHCE_SJHYLYDM",
"text":"交通运输",
"pId":"0300",
"id":"0303",
"isParent":true,
"children":[]
},
{
"ids":"1044907",
"label":"矿产资源",
"codeType":"CODE_SHCE_SJHYLYDM",
"text":"矿产资源",
"pId":"0300",
"id":"0304",
"isParent":true,
"children":[]
},
{
"ids":"1044908",
"label":"渔业捕捞",
"codeType":"CODE_SHCE_SJHYLYDM",
"text":"渔业捕捞",
"pId":"0300",
"id":"0305",
"isParent":false,
"children":[]
},
{
"ids":"1044909",
"label":"其他行业领域",
"codeType":"CODE_SHCE_SJHYLYDM",
"text":"其他行业领域",
"pId":"0300",
"id":"0399",
"isParent":false,
"children":[]
}
]
},
{
"ids":"1044910",
"label":"涉足场所",
"codeType":"CODE_SHCE_SJHYLYDM",
"text":"涉足场所",
"pId":null,
"id":"0400",
"isParent":true,
"children":[
{
"ids":"1044911",
"label":"商贸集市",
"codeType":"CODE_SHCE_SJHYLYDM",
"text":"商贸集市",
"pId":"0400",
"id":"0401",
"isParent":true,
"children":[]
},
{
"ids":"1044912",
"label":"批发市场",
"codeType":"CODE_SHCE_SJHYLYDM",
"text":"批发市场",
"pId":"0400",
"id":"0402",
"isParent":false,
"children":[]
},
{
"ids":"1044913",
"label":"车站码头",
"codeType":"CODE_SHCE_SJHYLYDM",
"text":"车站码头",
"pId":"0400",
"id":"0403",
"isParent":false,
"children":[]
},
{
"ids":"1044914",
"label":"旅游景区",
"codeType":"CODE_SHCE_SJHYLYDM",
"text":"旅游景区",
"pId":"0400",
"id":"0404",
"isParent":true,
"children":[]
},
{
"ids":"1044915",
"label":"娱乐场所",
"codeType":"CODE_SHCE_SJHYLYDM",
"text":"娱乐场所",
"pId":"0400",
"id":"0405",
"isParent":true,
"children":[]
},
{
"ids":"1044916",
"label":"涉足其他场所",
"codeType":"CODE_SHCE_SJHYLYDM",
"text":"涉足其他场所",
"pId":"0400",
"id":"0499",
"isParent":false,
"children":[]
}
]
},
{
"ids":"1044917",
"label":"黄赌毒枪",
"codeType":"CODE_SHCE_SJHYLYDM",
"text":"黄赌毒枪",
"pId":null,
"id":"0500",
"isParent":true,
"children":[
{
"ids":"1044918",
"label":"涉黄",
"codeType":"CODE_SHCE_SJHYLYDM",
"text":"涉黄",
"pId":"0500",
"id":"0501",
"isParent":false,
"children":[]
},
{
"ids":"1044919",
"label":"涉赌",
"codeType":"CODE_SHCE_SJHYLYDM",
"text":"涉赌",
"pId":"0500",
"id":"0502",
"isParent":false,
"children":[]
},
{
"ids":"1044920",
"label":"涉毒",
"codeType":"CODE_SHCE_SJHYLYDM",
"text":"涉毒",
"pId":"0500",
"id":"0503",
"isParent":false,
"children":[]
},
{
"ids":"1044921",
"label":"涉枪",
"codeType":"CODE_SHCE_SJHYLYDM",
"text":"涉枪",
"pId":"0500",
"id":"0504",
"isParent":false,
"children":[]
},
{
"ids":"1044922",
"label":"其他黄赌毒枪",
"codeType":"CODE_SHCE_SJHYLYDM",
"text":"其他黄赌毒枪",
"pId":"0500",
"id":"0599",
"isParent":false,
"children":[]
}
]
},
{
"ids":"1044923",
"label":"放贷讨债",
"codeType":"CODE_SHCE_SJHYLYDM",
"text":"放贷讨债",
"pId":null,
"id":"0600",
"isParent":true,
"children":[
{
"ids":"1044924",
"label":"高利放贷",
"codeType":"CODE_SHCE_SJHYLYDM",
"text":"高利放贷",
"pId":"0600",
"id":"0601",
"isParent":false,
"children":[]
},
{
"ids":"1044925",
"label":"套路贷",
"codeType":"CODE_SHCE_SJHYLYDM",
"text":"套路贷",
"pId":"0600",
"id":"0602",
"isParent":false,
"children":[]
},
{
"ids":"1044926",
"label":"其他放贷讨债",
"codeType":"CODE_SHCE_SJHYLYDM",
"text":"其他放贷讨债",
"pId":"0600",
"id":"0699",
"isParent":false,
"children":[]
}
]
},
{
"ids":"1044927",
"label":"软暴力",
"codeType":"CODE_SHCE_SJHYLYDM",
"text":"软暴力",
"pId":null,
"id":"0700",
"isParent":true,
"children":[
{
"ids":"1044928",
"label":"通过互联网实施",
"codeType":"CODE_SHCE_SJHYLYDM",
"text":"通过互联网实施",
"pId":"0700",
"id":"0701",
"isParent":false,
"children":[]
},
{
"ids":"1044929",
"label":"线下实施",
"codeType":"CODE_SHCE_SJHYLYDM",
"text":"线下实施",
"pId":"0700",
"id":"0702",
"isParent":false,
"children":[]
}
]
},
{
"ids":"1044930",
"label":"境外黑社会",
"codeType":"CODE_SHCE_SJHYLYDM",
"text":"境外黑社会",
"pId":null,
"id":"0800",
"isParent":true,
"children":[
{
"ids":"1044931",
"label":"境外入境发展渗透",
"codeType":"CODE_SHCE_SJHYLYDM",
"text":"境外入境发展渗透",
"pId":"0800",
"id":"0801",
"isParent":false,
"children":[]
},
{
"ids":"1044932",
"label":"其他跨国跨境",
"codeType":"CODE_SHCE_SJHYLYDM",
"text":"其他跨国跨境",
"pId":"0800",
"id":"0899",
"isParent":false,
"children":[]
}
]
},
{
"ids":"1044933",
"label":"地下执法队",
"codeType":"CODE_SHCE_SJHYLYDM",
"text":"地下执法队",
"pId":null,
"id":"0900",
"isParent":false,
"children":[]
},
{
"ids":"1044934",
"label":"其他",
"codeType":"CODE_SHCE_SJHYLYDM",
"text":"其他",
"pId":null,
"id":"9999",
"isParent":false,
"children":[]
}
]
},
"success":true,
"message":"成功"
}
\ No newline at end of file
{
"code":200,
"data":{
"rows":[
{
"ids":"1047635",
"label":"套路贷",
"codeType":"CODE_SHCE_XXHELX",
"text":"套路贷",
"pId":null,
"id":"1",
"isParent":false,
"children":[]
},
{
"ids":"1047636",
"label":"网黑",
"codeType":"CODE_SHCE_XXHELX",
"text":"网黑",
"pId":null,
"id":"2",
"isParent":false,
"children":[]
}
]
},
"success":true,
"message":"成功"
}
\ No newline at end of file
import { get, post, postform } from "@/utils/http.js";
import base from "@/api/base";
// 个人效能评估
export const getGrXnpg = params =>
post(`${base.alyIP}/dwGrXnpg/getGrXnpg`, params);
// 表头设置查询
export const getMenuBt = params =>
post(`${base.alyIP}/dwGrXnpg/getMenuBt`, params);
// 表头设置修改
export const addMenuBt = params =>
post(`${base.alyIP}/dwGrXnpg/addMenuBt`, params);
\ No newline at end of file
......@@ -3,79 +3,102 @@ import base from "@/api/base";
// 61.1.2新增案件关注
export const insertGxzz = params =>
post(`${base.alyIP3}/shseaj/insertGxzz`, params);
post(`${base.alyIP}/shseaj/insertGxzz`, params);
// 61.新建团伙
export const insertThxx = params =>
postform(`${base.alyIP3}/insertThxx`, params);
postform(`${base.alyIP}/insertThxx`, params);
export const insertZdry = params =>
postform(`${base.alyIP3}/zdGzry/insertZdry`, params);
export const insertZdry = params =>
postform(`${base.alyIP}/zdGzry/insertZdry`, params);
// 61.修改团伙
export const updateThxxjt = params =>
postform(`${base.alyIP3}/updateThxxjt`, params);
postform(`${base.alyIP}/updateThxxjt`, params);
// 1.4.2新增线索
export const insertShseXs = params =>
postform(`${base.alyIP3}/insertShseXs`, params);
postform(`${base.alyIP}/insertShseXs`, params);
// 1.4.3删除线索
export const deleteShseXs = params =>
post(`${base.alyIP3}/deleteShseXs`, params);
post(`${base.alyIP}/deleteShseXs`, params);
// 1.4.3回显线索
export const getShseXsXq = params =>
post(`${base.alyIP3}/getShseXsXq`, params);
post(`${base.alyIP}/getShseXsXq`, params);
// 1.4.3修改线索
export const updateShseXs = params =>
postform(`${base.alyIP3}/updateShseXs`, params);
postform(`${base.alyIP}/updateShseXs`, params);
// 11.4.2上报
export const updateXsSbxf = params =>
postform(`${base.alyIP3}/updateXsSbxf`, params);
postform(`${base.alyIP}/updateXsSbxf`, params);
// 1.4.2新增线索反馈
export const insertXsFkxx = params =>
post(`${base.alyIP3}/insertXsFkxx`, params);
post(`${base.alyIP}/insertXsFkxx`, params);
// 1.4.2新增线索反馈
export const hbThajxyr = params =>
postform(`${base.alyIP3}/hbThajxyr`, params);
postform(`${base.alyIP}/hbThajxyr`, params);
// 1.3.1回显团伙
export const selectHxThAsjbh = params =>
post(`${base.alyIP3}/selectHxThAsjbh`, params);
post(`${base.alyIP}/selectHxThAsjbh`, params);
// 1.3.1 删除嫌疑人案件
export const deleteThxyrxx = params =>
post(`${base.alyIP3}/deleteThxyrxx`, params);
post(`${base.alyIP}/deleteThxyrxx`, params);
// 1.3.1删除团伙相关案件
export const deleteThajxx = params =>
post(`${base.alyIP3}/deleteThajxx`, params);
post(`${base.alyIP}/deleteThajxx`, params);
// 1.3.1删除团伙相关案件
export const cfThajxyr = params =>
postform(`${base.alyIP3}/cfThajxyr`, params);
postform(`${base.alyIP}/cfThajxyr`, params);
// 1.3.1删除团伙相关案件
export const deleteShseXsXyr = params =>
post(`${base.alyIP3}/deleteShseXsXyr`, params);
post(`${base.alyIP}/deleteShseXsXyr`, params);
// 1.5 团伙智能研判报告
export const getThZnypbg = params =>
post(`${base.alyIP3}/getThZnypbg`, params);
post(`${base.alyIP}/getThZnypbg`, params);
//1.3.1提取团伙关联案件
export const selectSjByAsjbh = params =>
post(`${base.alyIP3}/selectSjByAsjbh`, params);
post(`${base.alyIP}/selectSjByAsjbh`, params);
//11.3.1提取团伙关联嫌疑人
export const selectXyrByZjhm = params =>
post(`${base.alyIP3}/selectXyrByZjhm`, params);
\ No newline at end of file
post(`${base.alyIP}/selectXyrByZjhm`, params);
export const addFzthaj = params =>
postform(`${base.alyIP}/fzth/addFzthaj`, params);
export const getThgaByThbh = params =>
post(`${base.alyIP}/getThgaByThbh`, params);
export const getThxyrByThbh = params =>
post(`${base.alyIP}/getThxyrByThbh`, params);
export const getCchshzztjb = params =>
postform(`${base.alyIP}/fzth/getCchshzztjb`, params);
export const getLaShseList = params =>
post(`${base.alyIP}/fzth/getLaShseList`, params);
export const getZbfzxyrShseList = params =>
post(`${base.alyIP}/fzth/getZbfzxyrShseList`, params);
\ No newline at end of file
......@@ -99,6 +99,7 @@
<div
:class="'col' + i.col"
v-for="i in item.data"
v-show="!i.hidden"
:key="i.prop"
>
<span class="label" :style="{ width: labelWidth }">{{
......
......@@ -38,6 +38,7 @@
:key="item.id"
:prop="item.id"
:ref="item.id"
v-show="!item.hidden"
:label-width="
item.type && item.type != 'checkboxBotton' ? '120px' : '0px'
"
......@@ -1290,7 +1291,7 @@ export default {
if (item.type == "lazyCodeTree" || item.type == "codeTree") {
if (item.multiple) {
let str = `#${self.formLabelAlign[item.id].join("#")}`;
if (item.id == "zljsdwdm" || item.id == "kyxsbshlx") {
if (item.id == "zljsdwdm" || item.id == "kyxsbshlx" || item.id == "shseSjhylydm") {
str = self.formLabelAlign[item.id].join(",");
}
params.append(objStr + item.id, str);
......@@ -2155,6 +2156,47 @@ export default {
debugger;
}
},
"formLabelAlign.xxhelx": {
handler(newName, oldName) {
var self = this;
debugger;
if (newName == "2") {
this.propFormField[0].data[16].hidden = false;
this.propFormField[0].data[17].hidden = true;
this.propFormField[0].data[18].hidden = true;
this.propFormField[0].data[19].hidden = true;
this.propFormField[0].data[20].hidden = true;
this.rules["whlxdm"] = this.$rules.checkEmpty;
this.rules["tldlxdm"] = null;
this.rules["zybxxs"] = null;
this.rules["fdcsqk"] = null;
this.rules["tzlxsjq"] = null;
} else if (newName == "1") {
this.rules["whlxdm"] = null;
this.rules["tldlxdm"] = this.$rules.checkEmpty;
this.rules["zybxxs"] = this.$rules.checkEmpty;
this.rules["fdcsqk"] = this.$rules.checkEmpty;
this.rules["tzlxsjq"] = this.$rules.checkEmpty;
this.propFormField[0].data[16].hidden = true;
this.propFormField[0].data[17].hidden = false;
this.propFormField[0].data[18].hidden = false;
this.propFormField[0].data[19].hidden = false;
this.propFormField[0].data[20].hidden = false;
} else {
this.rules["whlxdm"] = null;
this.rules["tldlxdm"] = null;
this.rules["zybxxs"] = null;
this.rules["fdcsqk"] = null;
this.rules["tzlxsjq"] = null;
this.propFormField[0].data[16].hidden = true;
this.propFormField[0].data[17].hidden = true;
this.propFormField[0].data[18].hidden = true;
this.propFormField[0].data[19].hidden = true;
this.propFormField[0].data[20].hidden = true;
}
},
deep: true,
},
},
computed: {},
};
......
import menuLayout from "@/layout/menuLayout.vue";
const menuLayouts = [
// 旧的单位效能评估
// {
// path: "/queryDwxnpg",
// name: "queryDwxnpg",
// meta: {
// title: '单位效能评估',
// auth: '5'
// },
// component: () => import("@/views/sf/queryDwxnpg.vue")
// },
{
path: "/queryDwxnpg",
name: "queryDwxnpg",
......@@ -7,7 +17,16 @@ const menuLayouts = [
title: '单位效能评估',
auth: '5'
},
component: () => import("@/views/sf/queryDwxnpg.vue")
component: () => import("@/views/xnpgbg/dwxnpg.vue")
},
{
path: "/queryGrxnpg",
name: "queryGrxnpg",
meta: {
title: '个人效能评估',
auth: '5'
},
component: () => import("@/views/xnpgbg/grxnpg.vue")
},
];
......
import menuLayout from "@/layout/menuLayout.vue";
const menuLayouts = [
{
path: "/queryGrxnpg",
name: "queryGrxnpg",
meta: {
title: '个人效能评估',
auth: '5'
},
component: () => import("@/views/sf/queryGrxnpg.vue")
},
// {
// path: "/queryGrxnpg",
// name: "queryGrxnpg",
// meta: {
// title: '个人效能评估',
// auth: '5'
// },
// component: () => import("@/views/sf/queryGrxnpg.vue")
// },
];
export default {
......
......@@ -32,6 +32,14 @@ const menuLayouts = [
},
component: () => import("@/views/shse/shsexs/queryXsxx.vue")
},
{
path: "/queryShseTh",
name: "queryShseTh",
meta: {
title: '涉黑涉恶线索信息管理'
},
component: () => import("@/views/shse/shseTh/queryShseTh.vue")
},
];
......@@ -56,4 +64,20 @@ export default [{
},
component: () => import("@/views/shse/shsexs/xsxq.vue")
},
{
path: "/fzthDetail",
name: "fzthDetail",
meta: {
title: '犯罪团伙详情'
},
component: () => import("@/views/shse/fzth/fzthDetail.vue")
},
{
path: "/addShseth",
name: "addShseth",
meta: {
title: '团伙关系'
},
component: () => import("@/views/shse/shseTh/addShseth.vue")
},
];
\ No newline at end of file
......@@ -265,7 +265,7 @@ export default {
},
{
label: "受理单位",
prop: "jjdwmc",
prop: "jjdwMc",
// width: "220",
},
// {
......
......@@ -462,6 +462,14 @@ export default {
hasChildren: false,
},
{
id: "queryShseTh",
label: "团伙关系分析",
newAuth: "M0105",
index: "queryShseTh",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryXsxx",
label: "线索信息管理",
newAuth: "M0104",
......@@ -751,7 +759,7 @@ export default {
} else {
ajfl = "AjXx";
}
debugger
debugger;
var userInfo = JSON.parse(sessionStorage.getItem("userInfo"));
var idcard = userInfo.identitycard;
var params = {
......
<template>
<div class="Content">
<right-content
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
ref="rightContent"
>
<template #listOperation="scope">
<span class="hbyps" @click="thDc(scope.scope)">
<i class="el-icon-download"></i>导出</span
>
</template>
<template #btnGroup="scope">
<span class="hbyp" @click="toThfxKsh(scope.scope)">可视化分析</span>
<span class="hbyp" @click="goThxx(scope.scope)">登记为团伙</span>
</template>
</right-content>
</div>
</template>
<script>
import rightContent from "@c/ptCxForm_components.vue";
import { get, post, postform } from "@/utils/http.js";
export default {
name: "queryShseTh",
components: {
rightContent,
},
data() {
return {
header: "侦查",
pageBs: "queryShseTh",
cxFormData: {
rows: 10,
page: 1,
ajmc: "",
zjhm: "",
ryxm: "",
ladwdm: "",
ajlbdm: "",
hjd: "",
startDate: this.$moment().subtract(1, "year").format("YYYY-MM-DD"),
endDate: this.$moment().format("YYYY-MM-DD"),
ajlx: "00",
},
cxQueryField: [
{
name: "案件名称",
id: "ajmc",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "身份证号",
id: "zjhm",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "人员姓名",
id: "ryxm",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "立案单位",
id: "ladwdm",
type: "codeTreeDialog",
props: [], //字典弹框需要的字段
value: "",
col: "3",
codeOptions: [],
codeTree: "CODE_UNIT",
},
{
name: "案件类别",
id: "ajlbdm",
type: "codeTreeDialog",
props: [], //字典弹框需要的字段
value: "",
col: "3",
codeOptions: [],
codeTree: "CODE_AJLB",
},
{
name: "户籍地",
id: "hjd",
type: "codeTreeDialog",
props: [], //字典弹框需要的字段
value: "",
col: "3",
codeOptions: [],
codeTree: "CODE_XZQH",
},
{
name: "立案日期",
id: "startDate",
id2: "endDate",
type: "zdyDateTh",
value: "",
col: "3",
},
{
name: "类型",
id: "ajlx",
type: "radio",
value: "00",
placeholder: "",
col: "4",
radioData: [
{ label: "三人三案", val: "00" },
{ label: "三人两案", val: "01" },
{ label: "两人两案", val: "11" },
{ label: "两人三案", val: "10" },
],
},
],
cxDefaultFormThead: [
{
label: "案件数量",
prop: "ajCount",
},
{
label: "九类案件数量",
prop: "jlajCount",
},
{
label: "嫌疑人数量",
prop: "xyrCount",
},
{
label: "重点关注人员量",
prop: "zdgzyrCount",
},
],
cxUrl: "/getThByParam",
Url: "/apiXzxtGaw/getThByParam",
Menu: [
{
id: "queryShseTh",
label: "团伙关系分析",
index: "queryShseTh",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
};
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
},
methods: {
goThxx (scope) {
this.$router.pushToTab( {
path: '/addShseth',
query: {
thbh: scope.row.thbh
}
})
},
// 可视化分析
toThfxKsh(scope) {
debugger;
let params = {
id: scope.row.zjhm,
type: "person",
};
let obj = {
childrenXhrStr: "/apiXzxtGaw/getAccompliceById",
photoXhrStr: null,
params: params,
nodedata: {
type: "person",
id: 0,
name: scope.row.zjhm,
children: true,
},
nodeClickBoo: true,
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",
},
});
},
thDc(scope) {
var self = this;
let tHeader = [];
let filterVal = [];
let header = "团伙关系分析";
let params = new FormData();
params.append("rows", "5000");
params.append("page", this.cxFormData.page);
params.append("ajmc", this.cxFormData.ajmc);
params.append("zjhm", this.cxFormData.zjhm);
params.append("ryxm", this.cxFormData.ryxm);
params.append("ladwdm", this.cxFormData.ladwdm);
params.append("ajlbdm", this.cxFormData.ajlbdm);
params.append("hjd", this.cxFormData.hjd);
params.append("startDate", this.cxFormData.startDate);
params.append("endDate", this.cxFormData.endDate);
params.append("ajlx", this.cxFormData.ajlx);
self.cxDefaultFormThead.forEach((val) => {
tHeader.push(val.label);
filterVal.push(val.prop);
});
let loading = this.$loading({
lock: true,
text: "正在导出...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
post(this.Url, params).then((res) => {
debugger;
if (res.code === 200) {
require.ensure([], () => {
const { export_json_to_excel } = require("@/utils/Export2Excel");
const list = res.data.rows || res.data;
const data = self.formatJson(filterVal, list);
export_json_to_excel(tHeader, data, header);
});
loading.close();
}
});
},
formatJson(filterVal, jsonData) {
let arr = [];
jsonData.map((v) => {
let arr1 = [];
filterVal.map((j) => {
if (j.indexOf(",") != -1) {
let arr = j.split(",");
let data = "";
for (let i = 0; i <= arr.length - 1; i++) {
data += arr[i].split(":")[0] + ":" + v[arr[i].split(":")[1]];
}
arr1.push(data);
} else {
arr1.push(v[j]);
}
});
arr.push(arr1);
});
return arr;
},
},
watch: {},
};
</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">
.hbyps {
width: 82px;
height: 24px;
margin-left: 10px;
background: #ffffff;
border: 1px solid #007aff;
opacity: 1;
border-radius: 4px;
text-align: center;
align-items: center;
display: inline-block;
font-size: 12px !important;
font-weight: 400 !important;
color: #007aff !important;
cursor: pointer;
}
.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;
}
</style>
<template>
<!-- 注释的都是 旧的项目 -->
<div class="Content">
<right-content
:pageBs="pageBs"
......@@ -10,9 +11,10 @@
:pageASs="pageASs"
ref="rightContent"
>
<template #btnGroup="scope">
<!-- 旧的 -->
<!-- <template #btnGroup="scope">
<span class="hbyp" @click="toNt(scope.scope)"> 脑图</span>
</template>
</template> -->
</right-content>
</div>
</template>
......@@ -33,75 +35,161 @@ export default {
cxFormData: {
limit: 10,
page: 1,
asjbh: "",
zhfzxyrXm: "",
zhfzxyrCyzjZjhm: "",
// asjbh: "",
// zhfzxyrXm: "",
// zhfzxyrCyzjZjhm: "",
xm: "",
gmsfzh: "",
xbdm: "",
mzda: "",
hjdzXzqhdm: "",
gjdm: "",
},
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: "asjbh",
name: "姓名",
id: "xm",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "姓名",
id: "zhfzxyrXm",
name: "身份证号",
id: "gmsfzh",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "证件号码",
id: "zhfzxyrCyzjZjhm",
type: "text",
name: "性别",
id: "xbdm",
type: "codeTreeDialog",
value: "",
placeholder: "请选择",
col: "3",
codeOptions: [],
codeTree: "CODE_XB",
},
{
name: "民族",
id: "mzda",
type: "codeTreeDialog", //字典弹框
codeOptions: [],
codeTree: "CODE_MZ",
value: "",
col: "3",
},
{
name: "户籍地区划:",
id: "hjdzXzqhdm",
type: "codeTreeDialog",
codeTree: "CODE_XZQH",
codeOptions: [],
value: "",
placeholder: "请输入",
col: "3",
},
],
cxDefaultFormThead: [
{
label: "案事件编号",
// toInfor: true,
prop: "asjbh",
width: "250",
name: "国籍:",
id: "gjdm",
type: "codeTreeDialog",
codeTree: "CODE_GJ",
codeOptions: [],
value: "",
placeholder: "请选择",
col: "3",
},
],
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: "zhfzxyrXm",
width: "200",
prop: "xm",
},
{
label: "证件号码",
prop: "zhfzxyrCyzjZjhm",
width: "200",
label: "身份证号",
prop: "gmsfzh",
},
{
label: "抓捕日期",
prop: "zhrq",
width: "200",
label: "出生日期",
prop: "csrq",
},
{
label: "性别",
prop: "zhfzxyrXbdm",
width: "200",
label: "民族",
prop: "mzdaStr",
},
{
label: "国籍",
prop: "zhfzxyrGjdm",
width: "200",
label: "户籍地",
prop: "hjdzXzqhdmStr",
},
{
label: "民族",
prop: "zhfzxyrMzdm",
width: "200",
label: "国籍",
prop: "gjdmStr",
},
],
cxUrl: "/selectAjxyr",
// cxUrl: "/selectAjxyr", 旧的
cxUrl: "/fzth/getZdgzryList",
Menu: [
// zylx:"asj",
{
......@@ -126,40 +214,40 @@ export default {
this.$store.commit("user/SET_Menu", this.Menu);
},
methods: {
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.zhfzxyrCyzjZjhm,
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();
},
// 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.zhfzxyrCyzjZjhm,
// 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>
......
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