Commit 643863c2 by lp784568205

Merge branch 'dev_xzeq' of http://47.92.108.28/changchao/founder_vue into dev_xzeq

parents dda0307f 4ffaaa1b
<template>
<div class="drawer-cont" v-loading="loading">
<div class="cont top">
<div class="left">
<p class="p-title">原图</p>
<p><el-image :src="ytp" lazy></el-image></p>
<div class="zcbd" @click="bdAgain">再次对比</div>
<p class="p3">{{ dswObj.xxlyms }}</p>
</div>
<div class="right">
<p class="p-title" style="padding-left: 20px;">比中结果</p>
<ul v-if="rows.length > 0">
<li v-for="(item, index) in rows" :key="index">
<p><el-image :src="'data:image/jpeg;base64,' + item.zp" lazy></el-image></p>
<p class="p2"><span><img class="card-img" src="../assets/img/bdjg.png"/>{{ item.xm }}</span><span class="bfb">{{ item.similarity + '%' }}</span></p>
<p class="p3">{{ item.cyzjZjhm }}</p>
<div v-if="rxcc" class="rd" @click="getSaqk(item)">涉案情况</div>
<div v-else class="rd" @click="submit(item)">认定</div>
</li>
</ul>
<ul v-else style="margin-left: 20px;">
暂无数据
</ul>
</div>
</div>
<div class="cont middle" v-loading="loading3">
<p class="p-title">认定战果<span class="num">{{ rdjgList.length || 0 }}</span></p>
<el-tabs v-model="activeName" @tab-click="handleClick">
<el-tab-pane lazy v-for="(item, index) in rdjgList" :key="index" :label="`战果${index+1}`" :name="`index${index}`">
<div v-if="rxcc" class="zhanguo">
<div class="div-zg" style="margin-left: 0px;">
<p><span class="span01">姓名:</span><span class="span02">{{ item.bzrXm }}</span></p>
<p><span class="span01">身份证:</span><span class="span02">{{ item.bzrGmsfhm }}</span></p>
<p><span class="span01">案事件编号:</span><span class="span02">{{ item.asjbh }}</span></p>
<p><span class="span01">案件名称:</span><span class="span02">{{ item.ajmc }}</span></p>
<p><span class="span01">案件类别:</span><span class="span02">{{ item.ajlbmc }}</span></p>
</div>
<div class="div-zg jyaq">
<p><span class="span01">简要案情:</span><span class="span02">{{ item.jyaq }}</span></p>
</div>
</div>
<div v-else class="zhanguo">
<div><el-image :src="'data:image/jpeg;base64,' + item.zp" lazy></el-image></div>
<div class="div-zg">
<p><span class="span01">姓名:</span><span class="span02">{{ item.xm }}</span></p>
<p><span class="span01">证件号码:</span><span class="span02">{{ item.cyzjZjhm }}</span></p>
<p><span class="span01">性别:</span><span class="span02">{{ item.xbdmStr }}</span></p>
<p><span class="span01">出生日期:</span><span class="span02">{{ item.csrq }}</span></p>
<p v-if="!isDsw"><span class="span01">人员编号:</span><span class="span02"><el-button style="line-height: 0;" type="text" @click="toSwtzxxgl(item.asjxgrybh)">{{ item.asjxgrybh }}</el-button></span></p>
</div>
</div>
</el-tab-pane>
</el-tabs>
</div>
<div class="bottom">
<el-button type="primary" @click="gameOver">完成</el-button>
</div>
<el-dialog title="涉案情况" :visible.sync="dialogTableVisible" append-to-body width="80%">
<el-table :data="tableData" v-loading="loading2">
<el-table-column
prop="asjbh"
label="案事件编号"
width="230">
</el-table-column>
<el-table-column
prop="ajmc"
label="案件名称"
width="200">
</el-table-column>
<el-table-column
prop="jyaq"
label="简要案情">
</el-table-column>
<el-table-column
prop="ajlbdmStr"
label="案件类别"
width="120">
</el-table-column>
<el-table-column
label="操作"
width="120">
<template slot-scope="scope">
<el-button @click="submit(scope.row)" type="text" size="small">认 定</el-button>
</template>
</el-table-column>
</el-table>
<!-- <div slot="footer" class="dialog-footer">
<el-button @click="dialogTableVisible = false">取 消</el-button>
<el-button type="primary" @click="submit(sardform)">认 定</el-button>
</div> -->
</el-dialog>
</div>
</template>
<script>
import { post } from "@/utils/http.js";
import url from "@/api/base";
export default {
data() {
return {
dialogTableVisible: false,
tableData: [],
activeName: 'index0',
rows: [], // 比中结果列表
dswObj: [], // 比对信息详情
ytp: '', // 原图片
rdjgList: [], //认定战果
loading: false,
loading2: false,
loading3: false,
cxUrl3: '/Rxccbzrw/updateRxbdJkrdById',
cxUrl5: '/rxbz/querySaAll' //查询人像涉案列表信息
}
},
props: {
cxUrl: String,
cxUrl2: String,
// cxUrl3: String,
cxUrl4: String,
table: Boolean,
xxzjbh: String,
rxcc: Boolean, // 是否为人像串查
isDsw: Boolean // 是否为人像串查
},
methods: {
handleClose(done) {
done()
},
handleClick(tab, event) {
console.log(tab, event);
},
// 再次比对
bdAgain() {
this.loading = true
setTimeout(() => {
this.$message({
message: ' 发送比对任务成功',
type: 'success'
})
this.loading = false
this.gameOver()
}, 2000)
},
// 查询人像比中结果
getResult() {
this.loading = true
post(`${url.alyIP}${this.cxUrl}`, {xxzjbh:this.xxzjbh}).then(
(res) => {
if (res.success) {
this.rows = res.data.rows
}
this.loading = false
}
);
},
// 获取详情
getDetail() {
post(`${url.alyIP}${this.cxUrl2}`, {xxzjbh:this.xxzjbh}).then(
(res) => {
if (res.success) {
this.dswObj = res.data.rows
this.ytp = 'data:image/jpeg;base64,' + res.data.rows.zpDzwjnr
}
}
);
},
// 进行认定操作
submit(obj) {
console.log('obj', obj)
let form = {}
if(this.rxcc) {
form = {glxxzjbh: this.xxzjbh, asjbh: obj.asjbh, ajmc: obj.ajmc, ajlbmc: obj.ajlbdmStr, bzrGmsfhm: obj.zhfzxyrCyzjZjhm, bzrXm: obj.zhfzxyrXm, jyaq: obj.jyaq }
} else {
form = {glxxzjbh: this.xxzjbh, xyrZjhm: obj.cyzjZjhm, bzrZp: obj.zp, tagAry: obj.tagAry, xyrXm: obj.xm}
}
console.log('form', form)
this.loading = true
post(`${url.alyIP}${this.cxUrl3}`, form).then(
(res) => {
if (res.success) {
this.dialogTableVisible = false
this.getRdjg()
this.loading = false
}
}
);
},
// 查询战果
getRdjg() {
this.loading3 = true
post(`${url.alyIP}${this.cxUrl4}`, {xxzjbh:this.xxzjbh}).then(
(res) => {
if (res.success) {
this.rdjgList = res.data.rows
console.log('this.rdjgList', this.rdjgList)
}
this.loading3 = false
}
);
},
gameOver() {
this.$emit('changeTable')
},
// 跳转多生物管理
toSwtzxxgl(asjxgrybh){
this.$router.push({
path:'/swtzxxgl',
query:{rybh: asjxgrybh}
})
},
// 查询人像涉案列表信息
getSaqk(item) {
console.log('item', item)
this.loading2 = true
post(`${url.alyIP}${this.cxUrl5}`, {zhfzxyrCyzjZjhm:item.cyzjZjhm}).then(
(res) => {
if (res.success) {
if(res.data.rows && res.data.rows.length > 0) {
this.tableData = res.data.rows
// const rows = res.data.rows[0]
// this.sardform = {glxxzjbh: this.xxzjbh, asjbh: rows.asjbh, ajmc: rows.ajmc, ajlbmc: rows.ajlbmc, bzrGmsfhm: item.cyzjZjhm, bzrXm: item.xm}
// console.log(res.data.rows)
} else {
this.tableData = []
}
this.dialogTableVisible = true
this.loading2 = false
}
}
)
}
},
mounted() {
if(this.table) {
this.getResult()
this.getDetail()
this.getRdjg()
}
}
};
</script>
<style lang="scss" scoped>
.drawer-cont{
::v-deep .el-image{
img{
width: 135px;
max-height: 135px;
}
}
.top {
display: flex;
// justify-content: space-between;
border-bottom: 1px solid #C7C7C7;
margin-bottom: 10px !important;
padding-bottom: 10px !important;
.left{
// width: 112px;
.zcbd{
width: 135px;
height: 32px;
color: #0061F7;
line-height: 32px;
text-align: center;
background: #EBF2FF;
border: 1px solid #0061F7;
opacity: 1;
border-radius: 4px;
margin: 20px 0;
cursor: pointer;
}
.p3{
font-size: 14px;
font-weight: 400;
color: #C4C4C4;
}
}
.right{
padding-left: 35px;
height: 280px;
overflow-y: scroll;
ul{
overflow: hidden;
li{
float: left;
width: 135px;
margin: 0px 19px 25px;
.p2{
display: flex;
justify-content: space-between;
font-size: 14px;
.bfb{
font-size: 14px;
color: #1A1A1A;
font-weight: bold;
color: #FF9500;
}
}
.p3{
font-size: 11px;
color: #999999;
font-weight: 400;
}
.card-img{
width: auto;
height: 14px;
margin-right: 5px;
margin-top: -3px;
}
.rd{
width: 135px;
height: 28px;
background: #FFFFFF;
border: 1px solid #C4C4C4;
opacity: 1;
border-radius: 4px;
text-align: center;
line-height: 28px;
cursor: pointer;
}
}
}
}
}
.middle{
.zhanguo{
display: flex;
// justify-content: space-between;
margin-top: 15px;
.div-zg{
width: 370px;
font-size: 14px;
margin-top: 5px;
margin-left: 35px;
p{
line-height: 1.5;
}
.span01{
display: inline-block;
margin-right: 10px;
width: 75px;
color: #222222;
}
.span02{
color: #808591;
}
}
.jyaq{
width:calc(100% - 370px)
}
}
}
.bottom{
border-top: 1px solid #C7C7C7;
text-align: right;
position: fixed;
bottom: 0;
padding: 5px 20px;
background: #fff;
width: 880px;
z-index: 9999;
}
.cont{
margin: 5px 35px;
}
.p-title{
font-size: 15px;
color: #1A1A1A;
font-weight: bold;
margin-bottom: 5px;
.num{
color: #fff;
width: 24px;
height: 20px;
line-height: 20px;
background: #FF9500;
opacity: 1;
border-radius: 10px;
display: inline-block;
font-size: 14px;
margin-left: 7px;
text-align: center;
vertical-align: text-bottom;
}
}
::v-deep .el-tabs__nav{
border-bottom: 1px solid #C7C7C7;
}
::v-deep .el-tabs__item{
color: #656565;
width: 90px;
text-align: center;
padding: 0;
height: 30px;
line-height: 30px;
}
::-webkit-scrollbar {
width: 7px;
height: 7px;
} /*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar-track {
background-color: linear-gradient(#0d1d36, #134792);
} /*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-thumb {
background-color: #D9D9DA;
border-radius: 6px;
} /*定义滑块 内阴影+圆角*/
.el-dialog{
z-index: 9999999999;
}
}
</style>
......@@ -61,7 +61,8 @@
<script>
import { post } from "@/utils/http.js";
import url from "@/api/base";
import compareInfo from "@c/compareInfo.vue";
// import compareInfo from "@c/compareInfo.vue";
import compareInfo from "@c/compareInfo_v2.vue";
export default {
name: "rxbd",
components: {
......
......@@ -11,16 +11,18 @@
@revokeLK="revokeLK"
ref="rightContent"
>
<template #listOperation="scope">
<!-- <template #listOperation="scope">
<span class="hbyps" @click="add(scope.scope)">
<i class="el-icon-plus"></i>新增</span
>
</template>
</template> -->
<template #btnGroup="scope">
<span class="hbyp" @click="edit(scope.scope)">修改</span>
<span class="hbyp" @click="dele(scope.scope)">删除</span>
<span class="hbyp" @click="newlyLK(scope.scope)">列控信息</span>
<span class="hbyp" @click="revokeLK(scope.scope)">撤控信息</span>
<span class="hbyp" @click="sendBk(scope.scope)">发起布控</span>
<span class="hbyp" @click="lowdaZl(scope.scope)">下达指令</span>
<!-- <span class="hbyp" @click="newlyLK(scope.scope)">列控信息</span>
<span class="hbyp" @click="revokeLK(scope.scope)">撤控信息</span> -->
</template>
</right-content>
<!-- 新增列控 -->
......@@ -261,6 +263,16 @@ export default {
placeholder: "请选择",
col: "3",
},
{
name: "案件类别",
id: "ajlbdm",
type: "codeTreeDialog",
codeTree: "CODE_AJLB",
codeOptions: [],
value: "",
placeholder: "请输入",
col: "3",
},
],
cxDefaultFormThead: [
//table 展示
......@@ -271,7 +283,7 @@ export default {
},
{
/*table默认得表头*/
label: "证件号码",
label: "身份证号",
prop: "zjhm",
width: "200",
},
......@@ -280,25 +292,45 @@ export default {
prop: "xbdmStr",
},
{
label: "人员类别",
prop: "xzgzrylbdmStr",
label: "案件类别",
prop: "",
},
{
label: "婚姻状况",
prop: "hyzkdmStr",
label: "作案手段",
prop: "",
},
{
label: "纳嫌单位",
prop: "xxdjdwGajgmc",
label: "关联案件",
prop: "",
},
{
label: "政治面貌",
prop: "zzmmdmStr",
label: "人员类别",
prop: "",
},
{
label: "列控状态",
prop: "xzgzryztStr",
label: "户籍地",
prop: "",
},
// {
// label: "人员类别",
// prop: "xzgzrylbdmStr",
// },
// {
// label: "婚姻状况",
// prop: "hyzkdmStr",
// },
// {
// label: "纳嫌单位",
// prop: "xxdjdwGajgmc",
// },
// {
// label: "政治面貌",
// prop: "zzmmdmStr",
// },
// {
// label: "列控状态",
// prop: "xzgzryztStr",
// },
],
cxUrl: "/xxgzry/selectGzry", //列表查询接口
Menu: [
......@@ -466,142 +498,142 @@ export default {
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "queryLklz",
label: "刑嫌对象列控流转处理",
index: "queryLklz",
auth: "M0102",
className: "iconfont icongongnengfuwu",
disabled: false,
},
{
id: "queryCklz",
label: "刑嫌对象撤控流转处理",
index: "queryCklz",
auth: "M0103",
className: "iconfont iconfangwen",
disabled: false,
},
{
id: "queryGzzkyxs",
label: "工作中可疑线索",
index: "queryGzzkyxs",
auth: "M0103",
className: "iconfont iconfangwen",
disabled: false,
},
{
id: "queryLklzG",
label: "工作中可疑线索列控流转",
index: "queryLklzG",
auth: "M0102",
className: "iconfont icongongnengfuwu",
disabled: false,
},
{
id: "queryCklzG",
label: "工作中可疑线索撤控流转",
index: "queryCklzG",
auth: "M0103",
className: "iconfont iconfangwen",
disabled: false,
},
],
},
{
id: "queryGzry",
label: "刑嫌对象日常管控",
newAuth: "M01",
index: "2",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "home",
label: "高危人员滚动查控",
index: "home",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "queryLklzs",
label: "刑嫌对象线索发现及管控",
index: "queryLklzs",
auth: "M0102",
className: "iconfont icongongnengfuwu",
disabled: false,
},
{
id: "queryCklzs",
label: "管控工作指令",
index: "queryCklzs",
auth: "M0103",
className: "iconfont iconfangwen",
disabled: false,
},
],
},
{
id: "queryGzry",
label: "刑嫌对象信息研判",
newAuth: "M01",
index: "3",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "queryGzry",
label: "刑嫌对象研判",
index: "queryGzry",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "queryLklz",
label: "刑嫌对象异常情况研判",
index: "queryLklz",
auth: "M0102",
className: "iconfont icongongnengfuwu",
disabled: false,
},
{
id: "queryCklz",
label: "登记工作发现线索信息",
index: "queryCklz",
auth: "M0103",
className: "iconfont iconfangwen",
disabled: false,
},
],
},
{
id: "queryGzry",
label: "智能化信息服务",
newAuth: "M01",
index: "4",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "queryGzry",
label: "刑嫌对象关联线索定向推送",
index: "queryGzry",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "queryLklz",
label: "列控管理提醒信息服务",
index: "queryLklz",
auth: "M0102",
className: "iconfont icongongnengfuwu",
disabled: false,
},
// {
// id: "queryLklz",
// label: "刑嫌对象列控流转处理",
// index: "queryLklz",
// auth: "M0102",
// className: "iconfont icongongnengfuwu",
// disabled: false,
// },
// {
// id: "queryCklz",
// label: "刑嫌对象撤控流转处理",
// index: "queryCklz",
// auth: "M0103",
// className: "iconfont iconfangwen",
// disabled: false,
// },
// {
// id: "queryGzzkyxs",
// label: "工作中可疑线索",
// index: "queryGzzkyxs",
// auth: "M0104",
// className: "iconfont iconfangwen",
// disabled: false,
// },
// {
// id: "queryLklzG",
// label: "工作中可疑线索列控流转",
// index: "queryLklzG",
// auth: "M0105",
// className: "iconfont icongongnengfuwu",
// disabled: false,
// },
// {
// id: "queryCklzG",
// label: "工作中可疑线索撤控流转",
// index: "queryCklzG",
// auth: "M0106",
// className: "iconfont iconfangwen",
// disabled: false,
// },
],
},
// {
// id: "queryGzry",
// label: "刑嫌对象日常管控",
// newAuth: "M01",
// index: "2",
// className: "iconfont icongongnengfuwu",
// hasChildren: true,
// children: [
// {
// id: "home",
// label: "高危人员滚动查控",
// index: "home",
// auth: "M0201",
// className: "iconfont iconrizhi",
// disabled: false,
// },
// {
// id: "queryLklzs",
// label: "刑嫌对象线索发现及管控",
// index: "queryLklzs",
// auth: "M0202",
// className: "iconfont icongongnengfuwu",
// disabled: false,
// },
// {
// id: "queryCklzs",
// label: "管控工作指令",
// index: "queryCklzs",
// auth: "M0203",
// className: "iconfont iconfangwen",
// disabled: false,
// },
// ],
// },
// {
// id: "queryGzry",
// label: "刑嫌对象信息研判",
// newAuth: "M01",
// index: "3",
// className: "iconfont icongongnengfuwu",
// hasChildren: true,
// children: [
// {
// id: "queryGzry",
// label: "刑嫌对象研判",
// index: "queryGzry",
// auth: "M0301",
// className: "iconfont iconrizhi",
// disabled: false,
// },
// {
// id: "queryLklz",
// label: "刑嫌对象异常情况研判",
// index: "queryLklz",
// auth: "M0302",
// className: "iconfont icongongnengfuwu",
// disabled: false,
// },
// {
// id: "queryCklz",
// label: "登记工作发现线索信息",
// index: "queryCklz",
// auth: "M0303",
// className: "iconfont iconfangwen",
// disabled: false,
// },
// ],
// },
// {
// id: "queryGzry",
// label: "智能化信息服务",
// newAuth: "M01",
// index: "4",
// className: "iconfont icongongnengfuwu",
// hasChildren: true,
// children: [
// {
// id: "queryGzry",
// label: "刑嫌对象关联线索定向推送",
// index: "queryGzry",
// auth: "M0401",
// className: "iconfont iconrizhi",
// disabled: false,
// },
// {
// id: "queryLklz",
// label: "列控管理提醒信息服务",
// index: "queryLklz",
// auth: "M0402",
// className: "iconfont icongongnengfuwu",
// disabled: false,
// },
// ],
// },
],
newlyVisiable: false,
lkForm: {
......@@ -850,6 +882,14 @@ export default {
}
});
},
// 发起布控
sendBk() {
},
// 下达指令
lowdaZl() {
}
},
};
</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