Commit f28d3685 by huangdang

fix: 线索管理-线索详情加跳转

parent 28d67405
......@@ -2165,6 +2165,11 @@
"@xtuc/long": "4.2.2"
}
},
"@xmldom/xmldom": {
"version": "0.8.6",
"resolved": "https://registry.npmmirror.com/@xmldom/xmldom/-/xmldom-0.8.6.tgz",
"integrity": "sha512-uRjjusqpoqfmRkTaNuLJ2VohVr67Q5YwDATW3VU7PfzTj6IRaihGrYI7zckGZjxQPBIp63nfvJbM+Yu5ICh0Bg=="
},
"@xtuc/ieee754": {
"version": "1.2.0",
"resolved": "https://registry.npm.taobao.org/@xtuc/ieee754/download/@xtuc/ieee754-1.2.0.tgz",
......@@ -4354,7 +4359,7 @@
},
"crypto-js": {
"version": "4.1.1",
"resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.1.1.tgz",
"resolved": "https://registry.npmmirror.com/crypto-js/-/crypto-js-4.1.1.tgz",
"integrity": "sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw=="
},
"css-color-names": {
......@@ -4932,18 +4937,11 @@
}
},
"docxtemplater": {
"version": "3.22.5",
"resolved": "https://registry.nlark.com/docxtemplater/download/docxtemplater-3.22.5.tgz",
"integrity": "sha1-Cq/IUL+g/1UU7HlEy8mBeuIbERA=",
"version": "3.36.1",
"resolved": "https://registry.npmmirror.com/docxtemplater/-/docxtemplater-3.36.1.tgz",
"integrity": "sha512-W8N887XukTuGvmV5b/blGaouZiElYjwHpnMTg8gXYOK2C97Qvzt6LbnPj3WeJpegVQuwZUgzhW5Z/cAMzDu4/w==",
"requires": {
"xmldom": "^0.6.0"
},
"dependencies": {
"xmldom": {
"version": "0.6.0",
"resolved": "https://registry.nlark.com/xmldom/download/xmldom-0.6.0.tgz",
"integrity": "sha1-Q6luy4vuzpkc7zgsCDl9gtTQxG8="
}
"@xmldom/xmldom": "^0.8.6"
}
},
"dom-converter": {
......@@ -7310,9 +7308,9 @@
}
},
"jquery": {
"version": "3.5.1",
"resolved": "https://registry.npm.taobao.org/jquery/download/jquery-3.5.1.tgz",
"integrity": "sha1-17TQjhv9uGrS8aPQOeoXMEcXq7U=",
"version": "3.6.4",
"resolved": "https://registry.npmmirror.com/jquery/-/jquery-3.6.4.tgz",
"integrity": "sha512-v28EW9DWDFpzcD9O5iyJXg3R3+q+mET5JhnjJzQUZMHOv67bpSIHq81GEYpPNZHG+XXHsfSme3nxp/hndKEcsQ==",
"dev": true
},
"js-base64": {
......@@ -7442,8 +7440,8 @@
},
"jszip-utils": {
"version": "0.1.0",
"resolved": "https://registry.npm.taobao.org/jszip-utils/download/jszip-utils-0.1.0.tgz",
"integrity": "sha1-jATN7c2ykeg/BV9bJhs6MYjOygs="
"resolved": "https://registry.npmmirror.com/jszip-utils/-/jszip-utils-0.1.0.tgz",
"integrity": "sha512-tBNe0o3HAf8vo0BrOYnLPnXNo5A3KsRMnkBFYjh20Y3GPYGfgyoclEMgvVchx0nnL+mherPi74yLPIusHUQpZg=="
},
"keycode": {
"version": "2.2.0",
......@@ -8856,7 +8854,8 @@
"pako": {
"version": "1.0.11",
"resolved": "https://registry.npm.taobao.org/pako/download/pako-1.0.11.tgz",
"integrity": "sha1-bJWZ00DVTf05RjgCUqNXBaa5kr8="
"integrity": "sha1-bJWZ00DVTf05RjgCUqNXBaa5kr8=",
"dev": true
},
"parallel-transform": {
"version": "1.2.0",
......@@ -9056,11 +9055,18 @@
}
},
"pizzip": {
"version": "3.0.6",
"resolved": "https://registry.npm.taobao.org/pizzip/download/pizzip-3.0.6.tgz",
"integrity": "sha1-IjSFUR+eI6u7KIj9Z3NOEvx4Yag=",
"version": "3.1.4",
"resolved": "https://registry.npmmirror.com/pizzip/-/pizzip-3.1.4.tgz",
"integrity": "sha512-08yol1Of5Og1E0a1R56c+Z1jVkvfTEBUouwG9WYwCqpj8BjdcpEpLgZsrdLFNQYRgtxK0OOe0JpmBWJdrPr6Dg==",
"requires": {
"pako": "~1.0.2"
"pako": "^2.1.0"
},
"dependencies": {
"pako": {
"version": "2.1.0",
"resolved": "https://registry.npmmirror.com/pako/-/pako-2.1.0.tgz",
"integrity": "sha512-w+eufiZ1WuJYgPXbV/PO3NCMEc3xqylkKHzp8bxp1uW4qaSNQUkwmLLEc3kKsfz8lpV1F8Ht3U1Cm+9Srog2ug=="
}
}
},
"pkcs7": {
......
......@@ -10,14 +10,14 @@
"dependencies": {
"core-js": "^3.6.5",
"crypto-js": "^4.1.1",
"docxtemplater": "^3.22.5",
"docxtemplater": "^3.36.1",
"echarts": "^4.9.0",
"element-ui": "^2.14.1",
"file-saver": "^2.0.5",
"js-cookie": "^2.2.1",
"jszip-utils": "^0.1.0",
"kindeditor": "^4.1.10",
"pizzip": "^3.0.6",
"pizzip": "^3.1.4",
"qs": "^6.9.4",
"sass-resources-loader": "^2.1.1",
"vue": "^2.6.11",
......@@ -41,7 +41,7 @@
"eslint": "^6.7.2",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-vue": "^6.2.2",
"jquery": "^3.5.1",
"jquery": "^3.6.4",
"node-sass": "^4.14.1",
"prettier": "^1.19.1",
"sass": "^1.57.1",
......
......@@ -44,3 +44,6 @@ export const getBjyjFjList = params =>
// 保存并提请审批
export const saveAndTqspBjyj = params =>
post(`${base.alyIP}/xsBjyj/saveAndTqspBjyj`, params)
// 人员关联案件线索
export const getAjdaByZjhm = params => post(`${base.alyIP}/shsexsDa/getAjdaByZjhm`, params)
......@@ -131,7 +131,6 @@
<div class="content" v-for="item in xsDetails" :key="item.name">
<div :class="navList.length ? 'xs xsContentLeft' : 'xs'">
<p class="tb" id="square"></p>
<div class="xsTitle" :id="item.id">{{ item.name }}</div>
<div class="xs_xq">
<div class="xs_xq_wraps" v-if="item.vShow">
......@@ -341,6 +340,39 @@
>指令审核</span
>
</div>
<div v-else-if="columnTitle.prop == 'xm' || columnTitle.prop == 'jbrxm'">
<el-popover
placement="top-start"
title="警综"
width="700"
trigger="hover"
@show="showData(scope.row)"
>
<el-table :data="popData" v-loading="popDataLoad">
<el-table-column property="lx" label="案件/违法类型">
<template slot-scope="scope">
{{ getCode(scope.row.lx) }}
</template>
</el-table-column>
<el-table-column property="ajbh" label="案件编号">
<template slot-scope="scope1">
<span
@click="onEvent({...scope1.row,...scope.row})"
style="color: #1a81e1;cursor: pointer;"
>{{ scope1.row.ajbh }}</span>
</template>
</el-table-column>
<el-table-column property="fasjxx" label="时间"></el-table-column>
<el-table-column property="ajmc" label="案件名称"></el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
@current-change="jzCurChange"
:total="jzTotal">
</el-pagination>
<span slot="reference" style="color: #1a81e1;cursor: pointer;">{{ scope.row[columnTitle.prop] }}</span>
</el-popover>
</div>
<div v-else>
{{ scope.row[columnTitle.prop] }}
</div>
......@@ -2324,6 +2356,29 @@
<el-button type="primary" @click="hcnbYj()">确 定</el-button>
</span>
</el-dialog>
<!-- 警综弹框 -->
<el-dialog
:title="zaajData.xm || '提示'"
:visible.sync="jzVisible"
width="40%"
:before-close="() => jzVisible = false">
<div style="padding: 10px;box-sizing: border-box;">
<el-row :gutter="20">
<el-col :span="8">案件名称:{{ zaajData.ajmc || '无' }}</el-col>
<el-col :span="8">案件类别:{{ zaajData.ajlb || '无' }}</el-col>
<el-col :span="8">状态:{{ zaajData.ajzt || '无' }}</el-col>
<el-col :span="8">发案时间:{{ zaajData.fasjxx || '无' }}</el-col>
<el-col :span="8">受理单位:{{ zaajData.sldw || '无' }}</el-col>
<el-col :span="8">案件编号:{{ zaajData.ajbh || '无' }}</el-col>
<el-col :span="24">简要案情:{{ zaajData.jyaq || '无' }}</el-col>
</el-row>
</div>
<span slot="footer" class="dialog-footer">
<el-button @click="jzVisible = false">取 消</el-button>
<el-button type="primary" @click="jzVisible = false">确 定</el-button>
</span>
</el-dialog>
</div>
</div>
</template>
......@@ -2343,6 +2398,7 @@ import {
getBjyjSpList,
getDshXjfkyj,
getDshBjfkyj,
getAjdaByZjhm
} from "@/api/xsInput/bjyj.js";
import FormCommonPage from "@/views/xsForm/formCommonPage.vue";
import FjSc from "@/views/xsDetail/fjsc.vue";
......@@ -3767,6 +3823,17 @@ export default {
isNf: false,
},
wordList: [],
popData: [],
popDataLoad: false,
jzPage: {
zjhm: '',
shsexsbh: '',
page: 1,
rows: 10
},
jzTotal: 0,
jzVisible: false,
zaajData: {}
};
},
computed: {
......@@ -5660,6 +5727,66 @@ export default {
// })
});
},
// 警综列表
showData(e={}) {
this.popDataLoad = true
if (Object.keys(e).length != 0) {
this.jzPage.zjhm = e.gmsfzh
}
this.jzPage.shsexsbh = this.$route.query.shsexsbh
getAjdaByZjhm(this.jzPage).then(res => {
this.popDataLoad = false
if (res.code == 200) {
this.popData = res.data.rows
this.jzTotal = res.data.total
}
})
},
// 警综分页
jzCurChange(e) {
this.jzPage.page = e
this.showData()
},
// 警综事件
onEvent(e) {
console.log(e);
// 治安案件
if (e.lx == 1) {
this.jzVisible = true
this.zaajData = e
return;
}
// 刑事案件
if (e.lx == 2) {
window.open(`http://10.100.17.118:9047/queryAjdaxxs?asjbh=${e.ajbh}`)
return;
}
// 涉黑案件
if (e.lx == 3) {
let routeData = this.$router.resolve({
path: '/ajDetail',
query: {
jbxxzjbh: e.id,
name: e.xm,
navIndex: e.shsedm == '9'?'4':e.shsedm
}
});
window.open(routeData.href, '_blank');
return;
}
// 线索
if (e.lx == 4 || e.lx == 9) {
let routeData = this.$router.resolve({
path: '/xsDetail',
query: {
shsexsbh: e.ajbh
}
});
window.sessionStorage.setItem('shsexsbh',e.ajbh)
window.open(routeData.href, '_blank');
return;
}
},
// 查看详情
ckxqXq(scope) {
this.$router.pushToTab({
......@@ -5671,6 +5798,23 @@ export default {
},
});
},
// 翻译警综字典
getCode(e) {
let code = [{
label: '治安案件',
code: '1'
},{
label: '刑事案件',
code: '2'
},{
label: '涉黑案件',
code: '3'
},{
label: '线索',
code: '4'
}]
return code[e - 1].label
},
// 办结反馈意见审批
bjyjTqsp(scope) {
this.$router.pushToTab({
......
......@@ -63,7 +63,7 @@ module.exports = {
// http://39.98.114.80:8081/tldxyr/getXyrList
"/api": {
// target: "http://192.168.0.107:8080/", //统一的请求头部每次修改都要重启才会生效 http://39.99.224.27:8006/
target: "http://192.168.2.104:8080/",
target: "http://192.168.2.107:8081/",
// target: "http://39.99.155.173:8878",
ws: true,
changeOrigin: true,
......@@ -72,7 +72,7 @@ module.exports = {
}
},
"/ap": {
target: "http://192.168.2.104:8080/",
target: "http://192.168.2.107:8081/",
//target: "http://26.13.5.68:8001/", //内蒙
// target: "http://39.99.155.173:8878",
ws: true,
......
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