Commit 4ce8fb39 by 李姝悦

rg下载和截屏 ty和al图像展示

parent 85abb185
......@@ -1642,17 +1642,17 @@ export default {
// 下载
$btnDownload.on("click", function (e) {
e.stopPropagation()
if (self.$route.name == 'LT' || self.$route.name == 'fhxxLT') {
if (self.$route.name == 'LT' || self.$route.name == 'fhxxLT' || self.$route.name == 'rgLT') {
// 正查 -- 左案件 -- 右人员
self.downLoadSource()
// 人员图片下载
// TODO
self.getRyPic(sessionStorage.getItem('destseqno'), sessionStorage.getItem('destbarcode'))
} else if (self.$route.name == 'TL' || self.$route.name == 'fhxxTL') {
} else if (self.$route.name == 'TL' || self.$route.name == 'fhxxTL' || self.$route.name == 'rgTL') {
// 倒查 -- 左人员 -- 右案件
self.getRyPic(sessionStorage.getItem('srcseqno'), sessionStorage.getItem('srcbarcode'))
self.downLoadTarget()
} else if (self.$route.name == 'LL' || self.$route.name == 'fhxxLL') {
} else if (self.$route.name == 'LL' || self.$route.name == 'fhxxLL' || self.$route.name == 'rgLL') {
// 串查 -- 左案件 -- 右案件
self.downLoadSource()
self.downLoadTarget()
......@@ -2122,8 +2122,8 @@ export default {
self.newWidth_target = sizeValue.newWidth
self.newHeight_target = sizeValue.newHeight
console.log(self.newWidth_target);
console.log(self.newHeight_target);
// console.log(self.newWidth_target);
// console.log(self.newHeight_target);
$(".tui-image-editor2").css('width', '33.75rem')
$(".tui-image-editor2").css('height', '33.75rem')
$(".tui-image-editor2 .tui-image-editor-canvas-container").css('width', '33.75rem')
......@@ -2302,7 +2302,7 @@ export default {
if (supportingFileAPI) {
blob = this.base64ToBlob(dataURL);
type = blob.type.split("/")[1];
imageName += ".bmp"
imageName += ".png"
// Library: FileSaver - saveAs
saveAs(blob, imageName); // eslint-disable-line
......@@ -2326,7 +2326,7 @@ export default {
if (supportingFileAPI) {
blob = this.base64ToBlob(dataURL);
type = blob.type.split("/")[1];
imageName += ".bmp"
imageName += ".png"
// Library: FileSaver - saveAs
saveAs(blob, imageName); // eslint-disable-line
......@@ -2395,9 +2395,9 @@ export default {
let a = document.createElement('a') //创建一个a标签
a.href = url;
if (type === 2) {
a.download = '掌纹图片.bmp'
a.download = '掌纹图片.png'
} else {
a.download = '指纹图片.bmp';
a.download = '指纹图片.png';
}
a.click();
URL.revokeObjectURL(a.href); //释放之前创建的url对象
......@@ -4659,7 +4659,7 @@ export default {
this.isCropper = true;
this.initStatus();
let self = this;
if (this.$route.name == "LT") {
if (this.$route.name == "LT" || this.$route.name == 'rgLT') {
// 正查界面
$(".header").css("opacity", "0");
$(".lt_header").css("opacity", "0");
......@@ -4698,7 +4698,7 @@ export default {
$(".lt_cnadidate_search").css("opacity", "1");
$(".el-checkbox").css("opacity", "1");
});
} else if (this.$route.name == "TL") {
} else if (this.$route.name == "TL" || this.$route.name == 'rgTL') {
// 倒查页面
$(".header").css("opacity", "0");
$(".lt_header").css("opacity", "0");
......@@ -4737,7 +4737,7 @@ export default {
$(".tl-search").css("opacity", "1");
$(".lt_main_footer").css("opacity", "1");
});
} else if (this.$route.name == 'LL') {
} else if (this.$route.name == 'LL' || this.$route.name == 'rgLL' ) {
$(".lt_header").css('opacity', '0')
$(".lt_main_header").css('opacity', '0')
$(".lt_main_footer").css('opacity', '0')
......
......@@ -22,10 +22,7 @@
v-if="reqParam.personStoreCustomSearch.ysxtAsjxgrybh.length > 0"
@click="empty"
></i>
<div
class="search-icon el-icon-search"
@click="search"
></div>
<div class="search-icon el-icon-search" @click="search"></div>
<el-radio-group
v-model="reqParam.personStoreCustomSearch.searchOptions"
@change="searchStyle"
......@@ -38,10 +35,7 @@
<!-- 三 -->
<div class="options">
<div class="left">
<div
class="btn"
@click="batch"
>批量操作</div>
<div class="btn" @click="batch">批量操作</div>
<el-checkbox-group
v-model="reqParam.personStoreCustomSearch.checkboxQuery"
@change="searchCheckList"
......@@ -57,7 +51,9 @@
class="btn"
@click="isShowTjddlBtn"
v-if="roleArr.includes('F-1-1')"
>添加到队列</div>
>
添加到队列
</div>
<div
class="btn"
v-if="roleArr.includes('F-1-2')"
......@@ -72,22 +68,22 @@
class="btn"
v-if="roleArr.includes('F-1-3')"
@click="isShowDcftpxBtn"
>FPTX导出</div>
<div
class="btn"
v-if="roleArr.includes('F-1-4')"
@click="isShowGzBtn"
>关注</div>
<div
class="btn"
v-if="roleArr.includes('F-1-5')"
@click="delMore"
>删除</div>
>
FPTX导出
</div>
<div class="btn" v-if="roleArr.includes('F-1-4')" @click="isShowGzBtn">
关注
</div>
<div class="btn" v-if="roleArr.includes('F-1-5')" @click="delMore">
删除
</div>
<div
class="btn send"
v-if="roleArr.includes('F-1-6')"
@click="isShowFcxBtn"
>发查询</div>
>
发查询
</div>
<button
v-if="roleArr.includes('F-1-7')"
:class="this.disabled ? 'btn disabled ' : 'btn new'"
......@@ -117,7 +113,8 @@
:underline="false"
style="margin-left: 1.25rem"
@click="toggleSelection()"
>清除</el-link>
>清除</el-link
>
</el-tag>
<!-- 五 -->
......@@ -128,7 +125,7 @@
:row-key="getRowKeys"
tooltip-effect="dark"
style="width: 100%"
:class="{delSelection: !selectBoo}"
:class="{ delSelection: !selectBoo }"
@selection-change="handleSelectionChange"
@row-click="isShowRyxxkBtn"
>
......@@ -173,29 +170,13 @@
:formatter="xbdmFormat"
>
</el-table-column>
<el-table-column
prop="rollcount"
label="滚动"
:width="width5"
>
<el-table-column prop="rollcount" label="滚动" :width="width5">
</el-table-column>
<el-table-column
prop="plancount"
label="平面"
:width="width5"
>
<el-table-column prop="plancount" label="平面" :width="width5">
</el-table-column>
<el-table-column
prop="plamcount"
label="掌纹"
:width="width5"
>
<el-table-column prop="plamcount" label="掌纹" :width="width5">
</el-table-column>
<el-table-column
prop="piccount"
label="人像"
:width="width5"
>
<el-table-column prop="piccount" label="人像" :width="width5">
</el-table-column>
<el-table-column
prop="ifidcard"
......@@ -211,16 +192,9 @@
show-overflow-tooltip
>
</el-table-column>
<el-table-column
fixed="right"
label="操作"
width="auto"
>
<el-table-column fixed="right" label="操作" width="auto">
<template slot-scope="scope">
<div
class="ops"
@click="closeSelected"
>
<div class="ops" @click="closeSelected">
<el-tooltip
class="item"
v-if="roleArr.includes('F-1-8')"
......@@ -231,10 +205,7 @@
>
<!-- <i></i> -->
<!-- <span class="iconfont icon-bianji1 zttb"></span> -->
<div
class="icon-div"
@click.stop="handleClick(scope.row)"
>
<div class="icon-div" @click.stop="handleClick(scope.row)">
<!-- <img-->
<!-- src="../../assets/img/qbryk/bj.svg"-->
<!-- alt=""-->
......@@ -272,10 +243,7 @@
</div>
</el-popconfirm>
</div>
<div
v-else
class="icon-div"
>
<div v-else class="icon-div">
<!-- class="icon sc"-->
<div @click.stop="isShowGzBtn1(scope.row)">
<!-- <img-->
......@@ -294,10 +262,7 @@
:open-delay="500"
v-if="roleArr.includes('F-1-10')"
>
<div
class="icon-div"
@click.stop="isShowGgrytmBtn(scope.row)"
>
<div class="icon-div" @click.stop="isShowGgrytmBtn(scope.row)">
<!-- <img-->
<!-- src="../../assets/img/qbryk/gx.svg"-->
<!-- alt=""-->
......@@ -313,10 +278,7 @@
:open-delay="500"
v-if="roleArr.includes('F-1-11')"
>
<div
class="icon-div"
@click.stop="isShowFcxBtn1(scope.row)"
>
<div class="icon-div" @click.stop="isShowFcxBtn1(scope.row)">
<!-- <img-->
<!-- src="../../assets/img/qbryk/search.svg"-->
<!-- alt=""-->
......@@ -332,10 +294,7 @@
v-if="roleArr.includes('F-1-12')"
:open-delay="500"
>
<div
class="icon-div"
@click.stop="isShowFztmBtn(scope.row)"
>
<div class="icon-div" @click.stop="isShowFztmBtn(scope.row)">
<!-- <img-->
<!-- src="../../assets/img/qbryk/bz.svg"-->
<!-- alt=""-->
......@@ -350,10 +309,7 @@
placement="top"
:open-delay="500"
>
<div
class="icon-div"
@click.stop="handleClick(scope.row)"
>
<div class="icon-div" @click.stop="handleClick(scope.row)">
<!-- <img-->
<!-- src="../../assets/img/qbryk/print.svg"-->
<!-- alt=""-->
......@@ -369,10 +325,7 @@
placement="top"
:open-delay="500"
>
<div
@click.stop
class="icon-div"
>
<div @click.stop class="icon-div">
<el-popconfirm
placement="top-start"
:hide-icon="true"
......@@ -396,9 +349,11 @@
</el-table>
<!-- 六 -->
<div class="block">
<span class="record">共{{ reqParam.page.total }}条记录 第{{ reqParam.page.currPage }}/{{
<span class="record"
>共{{ reqParam.page.total }}条记录 第{{ reqParam.page.currPage }}/{{
Tpage
}}页</span>
}}页</span
>
<el-pagination
class="paging"
@size-change="handleSizeChange"
......@@ -456,16 +411,14 @@
>
</fcx>
<!-- 新增人员弹窗 -->
<xzry
:isShowXzry="isShowXzry"
@closeXzry="closeXzry"
> </xzry>
<xzry :isShowXzry="isShowXzry" @closeXzry="closeXzry"> </xzry>
<!-- 人员信息卡 -->
<ryxxk
:isShowRyxxk="isShowRyxxk"
:rowData="rowData"
@closeRyxxk="closeRyxxk"
> </ryxxk>
>
</ryxxk>
<!-- <el-drawer
title="我是标题"
......@@ -502,7 +455,7 @@ export default {
xzry,
ryxxk
},
created () {
created() {
let w1 = 1920;
let w2 = window.innerWidth;
this.height = (this.height * w2) / w1;
......@@ -512,10 +465,10 @@ export default {
this.width4 = (this.width4 * w2) / w1;
this.width5 = (this.width5 * w2) / w1;
},
data () {
data() {
return {
width33: "50",
selectBoo: false,// 是否批量操作
selectBoo: false, // 是否批量操作
width5: 80,
width4: 110,
width3: 180,
......@@ -539,13 +492,13 @@ export default {
page: {
total: 0, //表格条数
pageSize: 10, //当前选择要显示的条数
currPage: 1, // 当前在第几页
currPage: 1 // 当前在第几页
},
personStoreCustomSearch: {
ysxtAsjxgrybh: "", // 搜索框内容
searchOptions: 3, // 默认搜索方式
checkboxQuery: [], //滚动平面等筛选条件
},
checkboxQuery: [] //滚动平面等筛选条件
}
},
tableDate: [
{
......@@ -559,43 +512,43 @@ export default {
plamcount: "10",
piccount: "10",
ifidcard: "1",
nydwGajgmc: "海南省海口市公安局ssssssssssssssssssssssssssss",
},
nydwGajgmc: "海南省海口市公安局ssssssssssssssssssssssssssss"
}
], // 人员列表数据
multipleSelection: [], // 表单选择项目
isShowTip: false, //批量操作提示
selectionData: [],
selectionData: []
};
},
methods: {
// 单击行抽屉
handle (row, event, column) {
handle(row, event, column) {
//console.log(row, event, column)
// this.drawer = true
// this.$bus.emit('isBlur', true)
},
handleClose (done) {
this.$confirm('确认关闭?')
handleClose(done) {
this.$confirm("确认关闭?")
.then(_ => {
done();
})
.catch(_ => { });
.catch(_ => {});
},
cellClass (row) {
cellClass(row) {
if (row.columnIndex === 0) {
return 'disableheadselection'
return "disableheadselection";
}
},
closeSelected () {
closeSelected() {
this.selectBoo = false;
this.toggleSelection();
},
// 获取全部人员列表请求
search () {
search() {
// //console.info("请求===>", this.reqParam);
this.$axios
.post("/api/personstore/person/list", this.reqParam)
.then((response) => {
.then(response => {
if (response.data.code === 0) {
this.tableDate = response.data.ret.list;
this.reqParam.page.total = response.data.ret.total;
......@@ -607,49 +560,49 @@ export default {
});
},
// 保存选中的数据,row-key就是要指定一个key标识这一行的数据
getRowKeys (row) {
getRowKeys(row) {
return row.id;
},
// 清空输入框
empty () {
empty() {
this.reqParam.personStoreCustomSearch.ysxtAsjxgrybh = "";
this.search();
},
// 新增案件操作
isShowXzryBtn () {
isShowXzryBtn() {
this.isShowXzry = true;
},
closeXzry (val) {
closeXzry(val) {
//console.log("新增人员关闭", val);
// 增加毛玻璃
this.$bus.emit('isBlur', val)
this.$bus.emit("isBlur", val);
this.isShowXzry = val;
if (val == false) {
this.search()
this.search();
}
// this.search();
},
// 人员信息卡操作
isShowRyxxkBtn (row) {
isShowRyxxkBtn(row) {
// console.log("row", row)
this.rowData = row
console.log("row", row)
this.rowData = row;
console.log("row", row);
this.isShowRyxxk = true;
},
closeRyxxk (val) {
closeRyxxk(val) {
//console.log("新增人员关闭", val);
// 增加毛玻璃
this.$bus.emit('isBlur', val)
this.$bus.emit("isBlur", val);
this.isShowRyxxk = val;
// this.search();
},
// 时间格式化
dateTimeFormat (row, colnum) {
dateTimeFormat(row, colnum) {
let prop = colnum.property;
return row[prop] ? moment(row[prop]).format("YYYY-MM-DD") : "---";
},
// 性别格式化
xbdmFormat (row, colnum) {
xbdmFormat(row, colnum) {
let xbdm = row.xbdm;
let showProp = null;
if (xbdm == 0) {
......@@ -666,7 +619,7 @@ export default {
return showProp;
},
// 是否采集二代证格式化
ifidcardFormat (row, colnum) {
ifidcardFormat(row, colnum) {
let ifidcard = row.ifidcard;
let showProp = null;
if (ifidcard == 1) {
......@@ -679,27 +632,27 @@ export default {
return showProp;
},
// 搜索方式
searchStyle (val) {
searchStyle(val) {
// //console.log(val, '搜索方式')
this.reqParam.page.searchOptions = val;
// //console.log(this.reqParam.page.searchOptions)
},
//滚动平面等筛选条件
searchCheckList (val) {
searchCheckList(val) {
//console.log(val, "筛选条件");
this.reqParam.page.checkboxQuery = val;
//console.log(this.reqParam.page.checkboxQuery);
this.search();
},
// 复制条码号 获取选中条码值
getysxtAsjxgrybh () {
getysxtAsjxgrybh() {
let self = this;
this.ysxtAsjxgrybh = [];
if (this.multipleSelection.length === 0) {
this.$message.error("请选择需要复制条码号的数据!");
this.selectBoo = true;
} else {
self.multipleSelection.forEach((item) => {
self.multipleSelection.forEach(item => {
self.ysxtAsjxgrybh.push(item.ysxtAsjxgrybh);
});
this.ysxtAsjxgrybh = this.ysxtAsjxgrybh.join(",");
......@@ -712,25 +665,23 @@ export default {
// }
},
// 复制成功时的回调函数
onCopy (e) {
onCopy(e) {
if (this.multipleSelection.length != 0) {
this.$message({
type: "success",
// message: "复制条码号:" + this.ysxtAsjxgrybh + "成功!"
message: "已复制到剪切板",
message: "已复制到剪切板"
});
}
},
// 复制失败时的回调函数
onError (e) {
onError(e) {
if (this.multipleSelection.length != 0) {
this.$message.error("抱歉,复制条码号失败!");
}
},
// 添加到队列
isShowTjddlBtn () {
isShowTjddlBtn() {
//console.log("添加到队列");
if (this.multipleSelection.length === 0) {
this.$message.error("请选择需要添加到队列的数据!");
......@@ -740,13 +691,13 @@ export default {
this.isShowTjddl = true;
}
},
closeTjddl (val) {
this.$bus.emit('isBlur', val)
closeTjddl(val) {
this.$bus.emit("isBlur", val);
//console.log("添加到队列关闭", val);
this.isShowTjddl = val;
},
// 导出FPTX
isShowDcftpxBtn () {
isShowDcftpxBtn() {
// 多行
//console.log("导出FPTX");
......@@ -768,13 +719,13 @@ export default {
// this.isShowDcftpx = true;
// }
},
closeDcftpx (val) {
this.$bus.emit('isBlur', val)
closeDcftpx(val) {
this.$bus.emit("isBlur", val);
//console.log("导出FPTX关闭", val);
this.isShowDcftpx = val;
},
// 关注
isShowGzBtn () {
isShowGzBtn() {
// 多行
//console.log("关注");
let newarr = [];
......@@ -800,7 +751,7 @@ export default {
}
}
},
isShowGzBtn1 (val) {
isShowGzBtn1(val) {
// 单行
//console.log(val, 123);
let rowVal = [];
......@@ -808,8 +759,8 @@ export default {
this.rowData = rowVal;
this.isShowGz = true;
},
closeGz (val) {
this.$bus.emit('isBlur', val)
closeGz(val) {
this.$bus.emit("isBlur", val);
//console.log("关注关闭", val);
this.isShowGz = val;
if (val == false) {
......@@ -817,11 +768,11 @@ export default {
}
},
// 取消关注
qxgz (val) {
qxgz(val) {
// alert(val)
this.$axios
.delete("/api/mypsn/cancel", { params: { pids: val } })
.then((response) => {
.then(response => {
if (response.data.code === 0) {
this.$message.success("取消关注成功");
this.search();
......@@ -831,13 +782,13 @@ export default {
});
},
// 更改条码操作
isShowGgrytmBtn (val) {
isShowGgrytmBtn(val) {
//console.log("更改条码", val);
this.rowData = val;
this.isShowGgrytm = true;
},
closeGgrytm (val) {
this.$bus.emit('isBlur', val)
closeGgrytm(val) {
this.$bus.emit("isBlur", val);
//console.log("更改条码关闭", val);
this.isShowGgrytm = val;
if (val == false) {
......@@ -846,13 +797,13 @@ export default {
},
//复制条码列表操作
isShowFztmBtn (val) {
isShowFztmBtn(val) {
//console.log("复制条码", val);
this.rowData = val;
this.isShowFztm = true;
},
closeFztm (val) {
this.$bus.emit('isBlur', val)
closeFztm(val) {
this.$bus.emit("isBlur", val);
//console.log("closeFztm复制条码关闭", val);
this.isShowFztm = val;
if (val == false) {
......@@ -861,7 +812,7 @@ export default {
},
//发查询操作(多行)
isShowFcxBtn () {
isShowFcxBtn() {
if (this.multipleSelection.length === 0) {
this.$message.error("请选择需要发查询的数据!");
this.selectBoo = true;
......@@ -870,21 +821,21 @@ export default {
this.isShowFcx = true;
}
},
isShowFcxBtn1 (val) {
isShowFcxBtn1(val) {
//console.log("单行人员发查询数据", val);
let rowVal = [];
rowVal.push(val);
this.rowData = rowVal;
this.isShowFcx = true;
},
closeFcx (val) {
this.$bus.emit('isBlur', val)
closeFcx(val) {
this.$bus.emit("isBlur", val);
//console.log("发查询关闭", val);
this.isShowFcx = val;
// this.search()
},
// 多选删除
delMore () {
delMore() {
// 检查table选择的数据 如果没有选择则不可以删除
if (this.multipleSelection.length === 0) {
this.$message.error("请选择需要删除的数据!");
......@@ -892,7 +843,7 @@ export default {
return;
} else {
// this.$bus.emit('isBlur', true)
this.$confirm('是否确认删除?', '提示')
this.$confirm("是否确认删除?", "提示")
.then(_ => {
// 封装删除的psns为数组
let psns = [];
......@@ -901,7 +852,7 @@ export default {
}
this.doDelete(psns);
})
.catch(_ => { });
.catch(_ => {});
}
// // 封装删除的psns为数组
// let psns = [];
......@@ -911,7 +862,7 @@ export default {
// this.doDelete(psns);
},
// 单选删除
delOne (val) {
delOne(val) {
//console.log("删除数据");
// 将传入的psns转为数组
let psns = [];
......@@ -920,10 +871,10 @@ export default {
this.doDelete(psns);
},
// 请求删除接口
doDelete (psns) {
doDelete(psns) {
this.$axios
.post("/api/personstore/delete", { psns: psns })
.then((response) => {
.then(response => {
if (response.data.code === 0) {
this.$message.success("删除成功");
this.search();
......@@ -937,7 +888,7 @@ export default {
* @param {*}
* @return {*}
*/
batch () {
batch() {
this.disabled = !this.disabled;
this.selectBoo = !this.selectBoo;
this.isShowTip = !this.isShowTip;
......@@ -946,7 +897,7 @@ export default {
}
// this.$set(this.multipleSelection, [])
},
cancel () {
cancel() {
alert(888);
},
/**
......@@ -954,10 +905,10 @@ export default {
* @param {*} row
* @return {*}
*/
handleClick (row) {
handleClick(row) {
this.closeSelected();
//console.log(row);
this.$store.commit('rydaxx/setRyInfo', row)
this.$store.commit("rydaxx/setRyInfo", row);
this.$router.push("/ryzwbj/" + row.id + "/" + row.ysxtAsjxgrybh);
},
/**
......@@ -965,7 +916,7 @@ export default {
* @param {*} val
* @return {*}
*/
handleSelectionChange (val) {
handleSelectionChange(val) {
this.multipleSelection = val;
//console.log(this.multipleSelection);
// if (this.multipleSelection.length) {
......@@ -979,7 +930,7 @@ export default {
* @param {*} pageSize 每页条数
* @return {*}
*/
handleSizeChange (pageSize) {
handleSizeChange(pageSize) {
this.reqParam.page.pageSize = pageSize;
//console.log("每页条数", this.reqParam.page.pageSize);
},
......@@ -988,7 +939,7 @@ export default {
* @param {*} page 当前页
* @return {*}
*/
handleCurrentChange (page) {
handleCurrentChange(page) {
this.reqParam.page.currPage = page;
//console.log("当前页", this.reqParam.page.currPage);
this.search();
......@@ -998,20 +949,19 @@ export default {
* @param {*}
* @return {*}
*/
toggleSelection (rows) {
toggleSelection(rows) {
if (rows) {
rows.forEach((row) => {
rows.forEach(row => {
this.$refs.multipleTable.toggleRowSelection(row);
});
} else {
this.$refs.multipleTable.clearSelection();
}
// //console.log(this.multipleSelection);
},
}
},
computed: {
roleArr () {
roleArr() {
return this.$store.state.layout.Menu;
},
/**
......@@ -1019,18 +969,16 @@ export default {
* @param {*}
* @return {*}
*/
Tpage () {
return (
Math.floor(this.reqParam.page.total / this.reqParam.page.pageSize)
);
},
Tpage() {
return Math.floor(this.reqParam.page.total / this.reqParam.page.pageSize);
}
},
mounted () {
mounted() {
this.search();
if (this.$route.query.xzry === 'true') {
this.isShowXzry = true
if (this.$route.query.xzry === "true") {
this.isShowXzry = true;
}
},
}
};
</script>
<style lang="scss">
......
......@@ -7,53 +7,49 @@
:direction="direction"
:before-close="handleClose"
:with-header="false"
:modal='false'
:modal="false"
append-to-body
size='36%'
size="36%"
>
<div class="header">
<div class="header-title">案件档案信息</div>
<div
class="header-close"
@click="closeDrawer"
>
<svg
class="icon"
aria-hidden="true"
>
<div class="header-close" @click="closeDrawer">
<svg class="icon" aria-hidden="true">
<use xlink:href="#icon-fanhui"></use>
</svg>
</div>
</div>
<div class='jbxx'>
<div class='jbxxLeft'>
<div class='sjx l1'>
<div class="jbxx">
<div class="jbxxLeft">
<div class="sjx l1">
<span class="span1">案件编号:</span>
<span class="span2">{{this.ysajjbxx.ysxtAsjbh}}</span>
<span :class="fcxInfo.hitStatus==1?'span3':'span3 wbz'">比中</span>
<span class="span2">{{ this.ysajjbxx.ysxtAsjbh }}</span>
<span :class="fcxInfo.hitStatus == 1 ? 'span3' : 'span3 wbz'"
>比中</span
>
</div>
<div class='sjx l2'>
<div class="sjx l2">
<span class="span1">现勘编号:</span>
<span class="span2">{{this.ysajjbxx.xckybh}}</span>
<span class="span2">{{ this.ysajjbxx.xckybh }}</span>
</div>
<!-- <div class='sjx l3'>
<span class="span1">性别:</span>
<span class="span2">{{this.ysajjbxx.xbdm}}</span>
</div> -->
</div>
<div class='jbxxCenter'>
<div class="jbxxCenter">
<div class="sjx l1">
<div class='sjxLeft'>
<svg
class="icon"
aria-hidden="true"
>
<div class="sjxLeft">
<svg class="icon" aria-hidden="true">
<use xlink:href="#icon-cishu"></use>
</svg>
</div>
<div class='sjxRight'>
<div class="sjxRight">
<div>
<span>{{fcxInfo.queryCount?fcxInfo.queryCount:'暂无发查询记录'}}</span>/次
<span>{{
fcxInfo.queryCount ? fcxInfo.queryCount : "暂无发查询记录"
}}</span
>/次
</div>
<div>
发查询历史次数
......@@ -61,95 +57,79 @@
</div>
</div>
<div class="sjx l2">
<div class='sjxLeft'>
<svg
class="icon"
aria-hidden="true"
>
<div class="sjxLeft">
<svg class="icon" aria-hidden="true">
<use xlink:href="#icon-shijian"></use>
</svg>
</div>
<div class='sjxRight'>
<div class="sjxRight">
<div>
<span>{{fcxInfo.lastQueryTime?fcxInfo.lastQueryTime:'暂无发查询记录'}}</span>
<span>{{
fcxInfo.lastQueryTime
? fcxInfo.lastQueryTime
: "暂无发查询记录"
}}</span>
</div>
<div>
最后一次发查询时间
</div>
</div>
</div>
</div>
<div class='jbxxRight'>
<div class='sjlxImg'>
<div class="jbxxRight">
<div class="sjlxImg">
<img
v-if="fcxInfo.queryType==2"
v-if="fcxInfo.queryType == 2"
src="../../../assets/img/xxk/LT.png"
alt=""
>
/>
<img
v-if="fcxInfo.queryType==3"
v-if="fcxInfo.queryType == 3"
src="../../../assets/img/xxk/LL.png"
alt=""
>
/>
</div>
</div>
</div>
<div class="cz">
<div class='czLeft'>
<div class="czLeft">
<el-radio-group v-model="radio1">
<el-radio-button label="1">现场指纹({{CaseImgNum}}</el-radio-button>
<el-radio-button label="1"
>现场指纹({{ CaseImgNum }}</el-radio-button
>
<!-- <el-radio-button label="2">掌纹(4)</el-radio-button>
<el-radio-button label="3">人像(3)</el-radio-button> -->
</el-radio-group>
</div>
<div class='czRight'>
<div class="czRight">
<el-button type="text">全选</el-button>
<el-button
plain
class="sc"
>删除</el-button>
<el-button plain class="sc">删除</el-button>
</div>
</div>
<!-- 指纹 -->
<div
class="label1"
v-if="radio1==1"
>
<div class="label1" v-if="radio1 == 1">
<!-- 滚动 -->
<div class='zwDiv gd'>
<div class='zwDivHead'>
<div class="zwDiv gd">
<div class="zwDivHead">
<!-- <div class="blueDiv"></div>滚动<div class="Num"><span>8</span>/10</div> -->
</div>
<div
class='zwDivBodyNoImg'
v-if="caseLoading"
>
<div class="zwDivBodyNoImg" v-if="caseLoading">
正在加载
</div>
<div
class='zwDivBody'
v-else-if="CaseImgNum&&caseLoading==false"
>
<div
v-for="(item, index) in CaseImg"
:key="index"
>
<div class='zw'>
<div class='zwImg'>
<img
:src="'data:image/jpeg;base64,' + item.img"
alt=""
>
<div class="zwDivBody" v-else-if="CaseImgNum && caseLoading == false">
<div v-for="(item, index) in CaseImg" :key="index">
<div class="zw">
<div class="zwImg">
<img :src="'data:image/jpeg;base64,' + item.img" alt="" />
</div>
<div class='zwName'>{{ item.code }}</div>
<div class="zwName">{{ item.code }}</div>
</div>
</div>
</div>
<div
class='zwDivBodyNoImg'
v-else-if='CaseImgNum==0&&caseLoading==false'
class="zwDivBodyNoImg"
v-else-if="CaseImgNum == 0 && caseLoading == false"
>
该案件无图像信息
</div>
......@@ -170,56 +150,59 @@ export default {
default: false
}
},
data () {
data() {
return {
drawer: false, // 抽屉开关
direction: 'rtl', // 抽屉类型
direction: "rtl", // 抽屉类型
radio1: 1, // 指纹,掌纹,人像
ysajjbxx: { // 人员基本信息(人员库获取)
ysxtAsjbh: '', // 案件编号
xckybh: "",// 现勘编号
id: '', // 案件id
ysajjbxx: {
// 人员基本信息(人员库获取)
ysxtAsjbh: "", // 案件编号
xckybh: "", // 现勘编号
id: "" // 案件id
},
fcxInfo: { // 发查询信息
lastQueryTime: '',
queryCount: '',
queryType: '',
hitStatus: '',
fcxInfo: {
// 发查询信息
lastQueryTime: "",
queryCount: "",
queryType: "",
hitStatus: ""
},
CaseImg: [ // 案件图像
CaseImg: [
// 案件图像
],
caseLoading: true,
CaseImgNum: 0,
CaseImgNum: 0
};
},
mounted () {
mounted() {
this.drawer = this.isShowAjxxk;
},
watch: {
isShowAjxxk (newVal, oldVal) {
isShowAjxxk(newVal, oldVal) {
this.drawer = newVal;
},
drawer (val) {
this.$emit('closeAjxxk', this.drawer);
drawer(val) {
this.$emit("closeAjxxk", this.drawer);
},
rowData (val) {
this.ysajjbxx.ysxtAsjbh = val.ysxtAsjbh
this.ysajjbxx.xckybh = val.xckybh
this.ysajjbxx.id = val.id
rowData(val) {
this.ysajjbxx.ysxtAsjbh = val.ysxtAsjbh;
this.ysajjbxx.xckybh = val.xckybh;
this.ysajjbxx.id = val.id;
if (this.drawer == true) {
this.getfileinfo()
this.getCaseBybarcode()
this.getfileinfo();
this.getCaseBybarcode();
}
},
CaseImgNum (val) {
// 去掉加载状态
CaseImgNum(val) {
// 去掉加载状态
this.caseLoading = false;
}
},
methods: {
getCaseBybarcode () { // 案件原图
getCaseBybarcode() {
// 案件原图
let self = this;
this.$axios
.post(
......@@ -227,46 +210,47 @@ export default {
{ barcode: this.ysajjbxx.ysxtAsjbh },
{ loading: false }
)
.then((response) => {
if (response.data.code == 0) {
self.CaseImgNum = response.data.ret.length;
.then(response => {
console.log(response.data);
if (response.data.code == 0) { //请求成功 代码为0
self.CaseImgNum = response.data.ret.length;
if (self.CaseImgNum > 0) {
for (let i = 0; i <= response.data.ret.length; i++) {
let arr = {
code: null,
img: null
}
arr.code = response.data.ret[i].seq
arr.img = response.data.ret[i].image
self.CaseImg.push(arr)
};
arr.code = response.data.ret[i].seq;
arr.img = response.data.ret[i].image;
self.CaseImg.push(arr);
}
// self.$forceUpdate()
console.log(self.CaseImg, 'CaseImg')
console.log(self.CaseImg, "CaseImg");
}
// 去掉加载状态
// 去掉加载状态
self.caseLoading = false;
} else if (response.data.code == 4) {
// 去掉加载状态
self.caseLoading = false;
}
})
.catch(function (error) {
.catch(function(error) {
//console.log(error);
});
},
getfileinfo () { // 获取发查询信息
getfileinfo() {
// 获取发查询信息
this.$axios({
method: 'get',
method: "get",
url: "api/fileinfo/queryque/" + this.ysajjbxx.ysxtAsjbh,
loading: false,
}).then((response) => {
loading: false
}).then(response => {
if (response.data.code === 0) {
// console.log(response.data)
this.fcxInfo.lastQueryTime = response.data.ret.lastQueryTime
this.fcxInfo.queryCount = response.data.ret.queryCount
this.fcxInfo.queryType = response.data.ret.queryType
this.fcxInfo.hitStatus = response.data.ret.hitStatus
this.fcxInfo.lastQueryTime = response.data.ret.lastQueryTime;
this.fcxInfo.queryCount = response.data.ret.queryCount;
this.fcxInfo.queryType = response.data.ret.queryType;
this.fcxInfo.hitStatus = response.data.ret.hitStatus;
//console.info("查询结果===>", this.tableDate);
// this.userInfo = this.getUserInfo(this.tableDate);
} else {
......@@ -274,7 +258,7 @@ export default {
}
});
},
handleClose (done) {
handleClose(done) {
// console.log(1111111111111111)
// this.$confirm('确认关闭?')
// .then(_ => {
......@@ -282,20 +266,19 @@ export default {
// })
// .catch(_ => { });
this.drawer = false
this.$emit('closeAjxxk', this.drawer);
this.CaseImgNum = 0
this.CaseImg = []
this.caseLoading = true
this.drawer = false;
this.$emit("closeAjxxk", this.drawer);
this.CaseImgNum = 0;
this.CaseImg = [];
this.caseLoading = true;
},
closeDrawer () {
this.drawer = false
this.$emit('closeAjxxk', this.drawer);
this.CaseImgNum = 0
this.CaseImg = []
this.caseLoading = true
closeDrawer() {
this.drawer = false;
this.$emit("closeAjxxk", this.drawer);
this.CaseImgNum = 0;
this.CaseImg = [];
this.caseLoading = true;
}
}
};
......
......@@ -7,169 +7,151 @@
:direction="direction"
:before-close="handleClose"
:with-header="false"
:modal='false'
:modal="false"
append-to-body
size='36%'
size="36%"
>
<div class="header">
<div class="header-title">人员档案信息</div>
<div
class="header-close"
@click="closeDrawer"
>
<svg
class="icon"
aria-hidden="true"
>
<div class="header-close" @click="closeDrawer">
<svg class="icon" aria-hidden="true">
<use xlink:href="#icon-fanhui"></use>
</svg>
</div>
</div>
<div class='jbxx'>
<div class='jbxxLeft'>
<div class='sjx l1'>
<div class="jbxx">
<div class="jbxxLeft">
<div class="sjx l1">
<span class="span1">人员编号:</span>
<span class="span2">{{ysryjbxx.ysxtAsjxgrybh}}</span>
<span :class="fcxInfo.hitStatus==1?'span3':'span3 wbz'">比中</span>
<span class="span2">{{ ysryjbxx.ysxtAsjxgrybh }}</span>
<span :class="fcxInfo.hitStatus == 1 ? 'span3' : 'span3 wbz'"
>比中</span
>
</div>
<div class='sjx l2'>
<div class="sjx l2">
<span class="span1">姓名:</span>
<span class="span2">{{ysryjbxx.xm}}</span>
<span class="span2">{{ ysryjbxx.xm }}</span>
</div>
<div class='sjx l3'>
<div class="sjx l3">
<span class="span1">性别:</span>
<span class="span2">{{ysryjbxx.xbdm | xbdmFormat}}</span>
<span class="span2">{{ ysryjbxx.xbdm | xbdmFormat }}</span>
</div>
</div>
<div class='jbxxCenter'>
<div class="jbxxCenter">
<div class="sjx l1">
<div class='sjxLeft'>
<svg
class="icon"
aria-hidden="true"
>
<div class="sjxLeft">
<svg class="icon" aria-hidden="true">
<use xlink:href="#icon-cishu"></use>
</svg>
</div>
<div class='sjxRight'>
<div>
<span>{{fcxInfo.queryCount?fcxInfo.queryCount:'暂无发查询记录'}}</span>/次
</div>
<div class="sjxRight">
<div>
发查询历史次数
<span>{{
fcxInfo.queryCount ? fcxInfo.queryCount : "暂无发查询记录"
}}</span
>/次
</div>
<div>发查询历史次数</div>
</div>
</div>
<div class="sjx l2">
<div class='sjxLeft'>
<svg
class="icon"
aria-hidden="true"
>
<div class="sjxLeft">
<svg class="icon" aria-hidden="true">
<use xlink:href="#icon-shijian"></use>
</svg>
</div>
<div class='sjxRight'>
<div class="sjxRight">
<div>
<span>{{fcxInfo.lastQueryTime?fcxInfo.lastQueryTime:'暂无发查询记录'}}</span>
</div>
<div>
最后一次发查询时间
<span>{{
fcxInfo.lastQueryTime
? fcxInfo.lastQueryTime
: "暂无发查询记录"
}}</span>
</div>
<div>最后一次发查询时间</div>
</div>
</div>
</div>
<div class='jbxxRight'>
<div class='sjlxImg'>
<div class="jbxxRight">
<div class="sjlxImg">
<img
v-if="fcxInfo.queryType==1"
v-if="fcxInfo.queryType == 1"
src="../../../assets/img/xxk/TL.png"
alt=""
>
/>
<img
v-if="fcxInfo.queryType==0"
v-if="fcxInfo.queryType == 0"
src="../../../assets/img/xxk/TT.png"
alt=""
>
/>
</div>
</div>
</div>
<div class="cz">
<div class='czLeft'>
<div class="czLeft">
<el-radio-group v-model="radio1">
<el-radio-button label="1">指纹({{RollImgNum+PlainImgNum}}</el-radio-button>
<el-radio-button label="2">掌纹({{PalmImgNum}}</el-radio-button>
<el-radio-button label="3">人像({{FaceImgNum}}</el-radio-button>
<el-radio-button label="1"
>指纹({{ RollImgNum + PlainImgNum }}</el-radio-button
>
<el-radio-button label="2"
>掌纹({{ PalmImgNum }}</el-radio-button
>
<el-radio-button label="3"
>人像({{ FaceImgNum }}</el-radio-button
>
</el-radio-group>
</div>
<div class='czRight'>
<div class="czRight">
<el-button type="text">全选</el-button>
<el-button
plain
class="sc"
>删除</el-button>
<el-button plain class="sc">删除</el-button>
</div>
</div>
<!-- 指纹 -->
<div
class="label1"
v-if="radio1==1"
>
<div class="label1" v-if="radio1 == 1">
<!-- 滚动 -->
<div class='zwDiv gd'>
<div class='zwDivHead'>
<div class="blueDiv"></div>滚动<div class="Num"><span>{{RollImgNum}}</span>/10</div>
<div class="zwDiv gd">
<div class="zwDivHead">
<div class="blueDiv"></div>
滚动
<div class="Num">
<span>{{ RollImgNum }}</span
>/10
</div>
</div>
<div class='zwDivBody'>
<div
v-for="(item, index) in RollImg"
:key="index"
>
<div class='zw'>
<div class='zwImg'>
<div class="zwDivBody">
<div v-for="(item, index) in RollImg" :key="index">
<div class="zw">
<div class="zwImg">
<div v-if="RollImgfingerLoading">
<img
src="@/assets/img/zzjz/zwjz.gif"
alt=""
>
<img src="@/assets/img/zzjz/zwjz.gif" alt="" />
</div>
<div v-if="item.img&&RollImgfingerLoading==false">
<img
:src="'data:image/jpeg;base64,' + item.img"
alt=""
>
<div v-else-if="item.img">
<img :src="'data:image/jpeg;base64,' + item.img" alt="" />
</div>
<div v-if="!item.img&&RollImgfingerLoading==false">
<img
src="@/assets/img/absence.png"
alt=""
/>
<div v-else-if="item.img == ''">
<img src="@/assets/img/TT/zwtp.png" alt="" />
</div>
<div v-else>
<img src="@/assets/img/absence.png" alt="" />
</div>
<!-- <div
class='noImg'
v-else
>
<img src="@/assets/img/TT/zwtp.png" />
<span>暂无图像</span>
</div> -->
</div>
<div class='zwName'>{{ item.name }}</div>
<div class="zwName">{{ item.name }}</div>
</div>
</div>
</div>
</div>
<!-- 平面 -->
<div class='zwDiv pm'>
<div class='zwDivHead'>
<div class="blueDiv"></div>平面<div class="Num"><span>{{PlainImgNum}}</span>/10</div>
<div class="zwDiv pm">
<div class="zwDivHead">
<div class="blueDiv"></div>
平面
<div class="Num">
<span>{{ PlainImgNum }}</span
>/10
</div>
</div>
<div class='zwDivBody'>
<div class="zwDivBody">
<!-- <div class='zw'>
<div class='zwImg'>
<img
......@@ -180,57 +162,40 @@
<div class='zwName'>右拇</div>
</div> -->
<div
v-for="(item, index) in PlainImg"
:key="index"
>
<div class='zw'>
<div class='zwImg'>
<div v-for="(item, index) in PlainImg" :key="index">
<div class="zw">
<div class="zwImg">
<div v-if="PlainImgfingerLoading">
<img
src="@/assets/img/zzjz/zwjz.gif"
alt=""
>
<img src="@/assets/img/zzjz/zwjz.gif" alt="" />
</div>
<div v-if="item.img&&PlainImgfingerLoading==false">
<img
:src="'data:image/jpeg;base64,' + item.img"
alt=""
>
<div v-else-if="item.img">
<img :src="'data:image/jpeg;base64,' + item.img" alt="" />
</div>
<div v-if="!item.img&&PlainImgfingerLoading==false">
<img
src="@/assets/img/absence.png"
alt=""
/>
<div v-else-if="item.img == ''">
<img src="@/assets/img/absence.png" alt="" />
</div>
<div v-else>
<img src="@/assets/img/absence.png" />
</div>
<!-- <div
class='noImg'
v-else
>
<img src="@/assets/img/TT/zwtp.png" />
<span>暂无图像</span>
</div> -->
</div>
<div class='zwName'>{{ item.name }}</div>
<div class="zwName">{{ item.name }}</div>
</div>
</div>
</div>
</div>
</div>
<!-- 掌纹 -->
<div
class="label2"
v-if="radio1==2"
>
<div class='zhangwen'>
<div class="label2" v-if="radio1 == 2">
<div class="zhangwen">
<div class="zhangwenHead">
<div class="blueDiv"></div>掌纹<div class="Num"><span>{{PalmImgNum}}</span>/4</div>
<div class="blueDiv"></div>
掌纹
<div class="Num">
<span>{{ PalmImgNum }}</span
>/4
</div>
</div>
<div class='zhangwenBody'>
<div class="zhangwenBody">
<!-- <div class="zhangwenOlny">
<div class="zhangwenImg">
......@@ -240,119 +205,75 @@
</div>
</div> -->
<div
v-for="(item, index) in PlamImg"
:key="index"
>
<div class='zhangwenOlny'>
<div class='zhangwenImg'>
<div v-for="(item, index) in PlamImg" :key="index">
<div class="zhangwenOlny">
<div class="zhangwenImg">
<div v-if="PlamLoading">
<div v-if="item.code==32||item.code==34">
<img
src="@/assets/img/zzjz/ysjz.gif"
alt=""
>
<div v-if="item.code == 32 || item.code == 34">
<img src="@/assets/img/zzjz/ysjz.gif" alt="" />
</div>
<div v-else>
<img
src="@/assets/img/zzjz/zsjz.gif"
alt=""
>
<img src="@/assets/img/zzjz/zsjz.gif" alt="" />
</div>
</div>
<div v-if="item.img&&PlamLoading==false">
<img
:src="'data:image/jpeg;base64,' + item.img"
alt=""
>
<div v-else-if="item.img">
<img :src="'data:image/jpeg;base64,' + item.img" alt="" />
</div>
<div v-if="!item.img&&PlamLoading==false">
<img
src="@/assets/img/qz.png"
alt=""
/>
<div v-else-if="item.img == ''">
<img src="@/assets/img/qz.png" alt="" />
</div>
<!-- <div
class='noImg'
v-else
>
<div class="noImg" v-else>
<img src="@/assets/img/TT/zwtp.png" />
<span>暂无图像</span>
</div> -->
</div>
</div>
<div class='zhangwenName'>{{ item.name }}</div>
<div class="zhangwenName">{{ item.name }}</div>
</div>
</div>
</div>
</div>
</div>
<!-- 人像 -->
<div
class="label3"
v-if="radio1==3"
>
<div class="label3" v-if="radio1 == 3">
<div class="rx">
<div class="rxHead">
<div class="blueDiv"></div>人像<div class="Num"><span>{{FaceImgNum}}</span>/4</div>
<div class="blueDiv"></div>
人像
<div class="Num">
<span>{{ FaceImgNum }}</span
>/4
</div>
</div>
<div class="rxBody">
<div
v-for="(item, index) in FaceImg"
:key="index"
>
<div class='rxOlny'>
<div class='rxImg'>
<div v-for="(item, index) in FaceImg" :key="index">
<div class="rxOlny">
<div class="rxImg">
<div v-if="FaceLoading">
<div v-if="item.code==1">
<img
src="@/assets/img/zzjz/zmjz.gif"
alt=""
>
<div v-if="item.code == 1">
<img src="@/assets/img/zzjz/zmjz.gif" alt="" />
</div>
<div v-if="item.code==2">
<img
src="@/assets/img/zzjz/zcjz.gif"
alt=""
>
<div v-if="item.code == 2">
<img src="@/assets/img/zzjz/zcjz.gif" alt="" />
</div>
<div v-if="item.code==4">
<img
src="@/assets/img/zzjz/yljz.gif"
alt=""
>
<div v-if="item.code == 4">
<img src="@/assets/img/zzjz/yljz.gif" alt="" />
</div>
<div v-if="item.code==11">
<img
src="@/assets/img/zzjz/ID.gif"
alt=""
>
<div v-if="item.code == 11">
<img src="@/assets/img/zzjz/ID.gif" alt="" />
</div>
</div>
<div v-if="item.img&&FaceLoading==false&&item.code!=11">
<img
:src="'data:image/jpeg;base64,' + item.img"
alt=""
>
</div>
<div
v-if="item.img&&FaceLoading==false&&item.code==11"
class='IDImg'
v-if="item.img && FaceLoading == false && item.code != 11"
>
<img
:src="'data:image/jpeg;base64,' + item.img"
alt=""
>
<img :src="'data:image/jpeg;base64,' + item.img" alt="" />
</div>
<div
v-if="!item.img&&FaceLoading==false"
class='noImg'
v-if="item.img && FaceLoading == false && item.code == 11"
class="IDImg"
>
<img
src="@/assets/img/TT/zwtp.png"
alt=""
/>
<img :src="'data:image/jpeg;base64,' + item.img" alt="" />
</div>
<div v-if="!item.img && FaceLoading == false" class="noImg">
<img src="@/assets/img/TT/zwtp.png" alt="" />
<span>暂无图像</span>
</div>
<!-- <div
......@@ -363,10 +284,9 @@
<span>暂无图像</span>
</div> -->
</div>
<div class='rxName'>{{ item.name }}</div>
<div class="rxName">{{ item.name }}</div>
</div>
</div>
</div>
</div>
</div>
......@@ -379,34 +299,38 @@ export default {
props: {
isShowRyxxk: {
type: [Number, String, Boolean],
default: false
default: false,
},
rowData: {
default: false
}
default: false,
},
},
data () {
data() {
return {
empty: false, //请求到的图片有无
drawer: false, // 抽屉开关
direction: 'rtl', // 抽屉类型
direction: "rtl", // 抽屉类型
radio1: 1, // 指纹,掌纹,人像
ysryjbxx: { // 人员基本信息(人员库获取)
ysxtAsjxgrybh: '', //人员编号
xm: "",// 姓名
xbdm: "",// 性别代码
id: '', // 人员id
ysryjbxx: {
// 人员基本信息(人员库获取)
ysxtAsjxgrybh: "", //人员编号
xm: "", // 姓名
xbdm: "", // 性别代码
id: "", // 人员id
},
fcxInfo: { // 发查询信息
lastQueryTime: '',
queryCount: '',
queryType: '',
hitStatus: '',
fcxInfo: {
// 发查询信息
lastQueryTime: "",
queryCount: "",
queryType: "",
hitStatus: "",
},
RollImgNum: 0, // 滚动指纹个数
PlainImgNum: 0,// 平面指纹个数
PalmImgNum: 0,// 掌纹个数
FaceImgNum: 0,// 人像个数
RollImg: [ // 滚动
PlainImgNum: 0, // 平面指纹个数
PalmImgNum: 0, // 掌纹个数
FaceImgNum: 0, // 人像个数
RollImg: [
// 滚动
{ name: "右拇", code: 1, img: null },
{ name: "右食", code: 2, img: null },
{ name: "右中", code: 3, img: null },
......@@ -418,7 +342,8 @@ export default {
{ name: "左环", code: 9, img: null },
{ name: "左小", code: 10, img: null },
],
PlainImg: [ // 平面
PlainImg: [
// 平面
{ name: "右拇", code: 11, img: null },
{ name: "右食", code: 12, img: null },
{ name: "右中", code: 13, img: null },
......@@ -442,50 +367,49 @@ export default {
{ name: "右侧像", code: 4, img: null },
{ name: "身份证", code: 11, img: null },
],
RollImgfingerLoading: true, // 滚动加载
RollImgfingerLoading: true, // 滚动加载
PlainImgfingerLoading: true, // 平面加载
PlamLoading: true, // 掌纹加载
FaceLoading: true,// 人像加载
FaceLoading: true, // 人像加载
};
},
mounted () {
},
created () {
mounted() {},
created() {
this.drawer = this.isShowRyxxk;
},
watch: {
isShowRyxxk (newVal, oldVal) {
isShowRyxxk(newVal, oldVal) {
this.drawer = newVal;
},
drawer (val) {
this.$emit('closeRyxxk', this.drawer);
drawer(val) {
this.$emit("closeRyxxk", this.drawer);
},
rowData (val) {
rowData(val) {
// console.log(val, '人员信息')
this.ysryjbxx.ysxtAsjxgrybh = val.ysxtAsjxgrybh
this.ysryjbxx.xm = val.xm
this.ysryjbxx.xbdm = val.xbdm
this.ysryjbxx.id = val.id
this.ysryjbxx.ysxtAsjxgrybh = val.ysxtAsjxgrybh;
this.ysryjbxx.xm = val.xm;
this.ysryjbxx.xbdm = val.xbdm;
this.ysryjbxx.id = val.id;
if (this.drawer == true) {
this.getfileinfo()
this.getRollByBarcode()
this.getPlainByBarcode()
this.getfileinfo();
this.getRollByBarcode();
this.getPlainByBarcode();
}
},
radio1 (val) {
radio1(val) {
if (val == 2) {
this.PalmImgNum = 0
this.getPalmByBarcode()
this.PalmImgNum = 0;
this.getPalmByBarcode();
} else if (val == 3) {
this.FaceImgNum = 0
this.getFaceByBarcode()
this.FaceImgNum = 0;
this.getFaceByBarcode();
}
}
},
},
methods: {
getFaceByBarcode () { // 获取人像
getFaceByBarcode() {
// 获取人像
let self = this;
this.$axios
.post(
......@@ -494,12 +418,13 @@ export default {
{ loading: false }
)
.then((response) => {
console.log(response.data);
if (response.data.code == 0) {
response.data.ret.forEach((element, index) => {
self.FaceImg.forEach((item) => {
if (item.code == element.seq) {
item.img = element.image;
this.FaceImgNum++
this.FaceImgNum++;
}
});
});
......@@ -514,7 +439,8 @@ export default {
//console.log(error);
});
},
getPalmByBarcode () { // 获取掌纹
getPalmByBarcode() {
// 获取掌纹
let self = this;
this.$axios
.post(
......@@ -523,12 +449,13 @@ export default {
{ loading: false }
)
.then((response) => {
console.log(response.data);
if (response.data.code == 0) {
response.data.ret.forEach((element, index) => {
self.PlamImg.forEach((item) => {
if (item.code == element.seq) {
item.img = element.image;
this.PalmImgNum++
this.PalmImgNum++;
}
});
});
......@@ -543,7 +470,8 @@ export default {
//console.log(error);
});
},
getPlainByBarcode () { // 人员平面压缩图
getPlainByBarcode() {
// 人员平面压缩图
let self = this;
this.$axios
.post(
......@@ -552,13 +480,14 @@ export default {
{ loading: false }
)
.then((response) => {
// console.log(response.data);
if (response.data.code == 0) {
this.PlainImgNum = response.data.ret.length;
response.data.ret.forEach((element, index) => {
self.PlainImg.forEach((item) => {
if (item.code == element.seq) {
item.img = element.image;
console.log(112233)
// console.log(112233);
}
});
});
......@@ -573,8 +502,9 @@ export default {
//console.log(error);
});
},
getRollByBarcode () { // 人员滚动压缩图
let self = this;
getRollByBarcode() {
// 人员滚动压缩图
// let self = this;
this.$axios
.post(
"/api/png/roll/barcode",
......@@ -582,43 +512,43 @@ export default {
{ loading: false }
)
.then((response) => {
if (response.data.code == 0) {
console.log(response.data);
if (response.data.code == 0) {
// 去掉加载状态
this.RollImgfingerLoading = false;
this.RollImgNum = response.data.ret.length;
response.data.ret.forEach((element, index) => {
self.RollImg.forEach((item) => {
this.RollImg.forEach((item) => {
if (item.code == element.seq) {
item.img = element.image;
console.log(112233)
// console.log(112233);
}
});
});
// 去掉加载状态
self.RollImgfingerLoading = false;
console.log('RollImgNum', this.RollImgNum)
console.log('RollImgfingerLoading', this.RollImgfingerLoading)
// console.log("RollImgNum", this.RollImgNum);
// console.log("RollImgfingerLoading", this.RollImgfingerLoading);
} else if (response.data.code == 4) {
// 去掉加载状态
self.RollImgfingerLoading = false;
this.RollImgfingerLoading = false;
}
})
.catch(function (error) {
//console.log(error);
});
},
getfileinfo () { // 获取发查询信息
getfileinfo() {
// 获取发查询信息
this.$axios({
method: 'get',
method: "get",
url: "api/fileinfo/queryque/" + this.ysryjbxx.ysxtAsjxgrybh,
loading: false,
}).then((response) => {
if (response.data.code === 0) {
// console.log(response.data)
this.fcxInfo.lastQueryTime = response.data.ret.lastQueryTime
this.fcxInfo.queryCount = response.data.ret.queryCount
this.fcxInfo.queryType = response.data.ret.queryType
this.fcxInfo.hitStatus = response.data.ret.hitStatus
this.fcxInfo.lastQueryTime = response.data.ret.lastQueryTime;
this.fcxInfo.queryCount = response.data.ret.queryCount;
this.fcxInfo.queryType = response.data.ret.queryType;
this.fcxInfo.hitStatus = response.data.ret.hitStatus;
//console.info("查询结果===>", this.tableDate);
// this.userInfo = this.getUserInfo(this.tableDate);
} else {
......@@ -626,7 +556,7 @@ export default {
}
});
},
handleClose (done) {
handleClose(done) {
// console.log(1111111111111111)
// this.$confirm('确认关闭?')
// .then(_ => {
......@@ -634,18 +564,19 @@ export default {
// })
// .catch(_ => { });
this.drawer = false
this.$emit('closeRyxxk', this.drawer);
this.RollImgfingerLoading = true
this.PlainImgfingerLoading = true // 平面加载
this.PlamLoading = true// 掌纹加载
this.FaceLoading = true// 人像加载
this.RollImgNum = 0 // 滚动指纹个数
this.PlainImgNum = 0// 平面指纹个数
this.PalmImgNum = 0// 掌纹个数
this.FaceImgNum = 0// 人像个数
this.radio1 = 1
this.RollImg = [ // 滚动
this.drawer = false;
this.$emit("closeRyxxk", this.drawer);
this.RollImgfingerLoading = true;
this.PlainImgfingerLoading = true; // 平面加载
this.PlamLoading = true; // 掌纹加载
this.FaceLoading = true; // 人像加载
this.RollImgNum = 0; // 滚动指纹个数
this.PlainImgNum = 0; // 平面指纹个数
this.PalmImgNum = 0; // 掌纹个数
this.FaceImgNum = 0; // 人像个数
this.radio1 = 1;
this.RollImg = [
// 滚动
{ name: "右拇", code: 1, img: null },
{ name: "右食", code: 2, img: null },
{ name: "右中", code: 3, img: null },
......@@ -656,8 +587,9 @@ export default {
{ name: "左中", code: 8, img: null },
{ name: "左环", code: 9, img: null },
{ name: "左小", code: 10, img: null },
]
this.PlainImg = [ // 平面
];
this.PlainImg = [
// 平面
{ name: "右拇", code: 11, img: null },
{ name: "右食", code: 12, img: null },
{ name: "右中", code: 13, img: null },
......@@ -668,33 +600,34 @@ export default {
{ name: "左中", code: 18, img: null },
{ name: "左环", code: 19, img: null },
{ name: "左小", code: 20, img: null },
]
];
this.PlamImg = [
{ name: "左半掌", code: 32, img: null },
{ name: "右半掌", code: 31, img: null },
{ name: "左侧掌", code: 34, img: null },
{ name: "右侧掌", code: 33, img: null },
]
];
this.FaceImg = [
{ name: "正面像", code: 1, img: null },
{ name: "左侧像", code: 2, img: null },
{ name: "右侧像", code: 4, img: null },
{ name: "身份证", code: 11, img: null },
]
];
},
closeDrawer () {
this.drawer = false
this.$emit('closeRyxxk', this.drawer);
this.RollImgfingerLoading = true
this.PlainImgfingerLoading = true // 平面加载
this.PlamLoading = true// 掌纹加载
this.FaceLoading = true// 人像加载
this.RollImgNum = 0 // 滚动指纹个数
this.PlainImgNum = 0// 平面指纹个数
this.PalmImgNum = 0// 掌纹个数
this.FaceImgNum = 0// 人像个数
this.radio1 = 1
this.RollImg = [ // 滚动
closeDrawer() {
this.drawer = false;
this.$emit("closeRyxxk", this.drawer);
this.RollImgfingerLoading = true;
this.PlainImgfingerLoading = true; // 平面加载
this.PlamLoading = true; // 掌纹加载
this.FaceLoading = true; // 人像加载
this.RollImgNum = 0; // 滚动指纹个数
this.PlainImgNum = 0; // 平面指纹个数
this.PalmImgNum = 0; // 掌纹个数
this.FaceImgNum = 0; // 人像个数
this.radio1 = 1;
this.RollImg = [
// 滚动
{ name: "右拇", code: 1, img: null },
{ name: "右食", code: 2, img: null },
{ name: "右中", code: 3, img: null },
......@@ -705,8 +638,9 @@ export default {
{ name: "左中", code: 8, img: null },
{ name: "左环", code: 9, img: null },
{ name: "左小", code: 10, img: null },
]
this.PlainImg = [ // 平面
];
this.PlainImg = [
// 平面
{ name: "右拇", code: 11, img: null },
{ name: "右食", code: 12, img: null },
{ name: "右中", code: 13, img: null },
......@@ -717,19 +651,19 @@ export default {
{ name: "左中", code: 18, img: null },
{ name: "左环", code: 19, img: null },
{ name: "左小", code: 20, img: null },
]
];
this.PlamImg = [
{ name: "左半掌", code: 32, img: null },
{ name: "右半掌", code: 31, img: null },
{ name: "左侧掌", code: 34, img: null },
{ name: "右侧掌", code: 33, img: null },
]
];
this.FaceImg = [
{ name: "正面像", code: 1, img: null },
{ name: "左侧像", code: 2, img: null },
{ name: "右侧像", code: 4, img: null },
{ name: "身份证", code: 11, img: null },
]
];
},
},
filters: {
......@@ -747,8 +681,8 @@ export default {
showProp = "---";
}
return showProp;
}
}
},
},
};
</script>
<style lang="scss" scoped>
......
......@@ -198,7 +198,7 @@ import "@/icons/error.svg";
import Utils from "@/utils/util.js";
import LLSrc from "./modules/LLSrc.vue";
import LLCandidate from "./modules/LLCandidate.vue";
import ImageEd from "@/components/ImageEd.vue";
import ImageEd from "../../components/ImageEd.vue";
export default {
// 正查 倒查 查重
name: "LT",
......
......@@ -112,13 +112,13 @@ module.exports = {
// target: "http://192.168.128.166:8099/", // 张 认定
// target: "http://192.168.128.104:8099", // 湖南-马
// target: "http://192.168.128.116:8099", // 湖南-王
target: "http://192.168.128.119:8099", // 湖南-张呈光
// target: "http://192.168.128.119:8099", // 湖南-张呈光
// target: "http://172.18.116.73:8099/", //统一的请求头部每次修改都要重启才会生效 http://39.99.224.27:8006/ ma
// target: "http://127.0.0.1:8099",
// target: "http://47.92.225.109:5602",
// target: "http://www.meetfood.cn:2390", // 湖南-线上
// target: "http://zwpt.xzclub.top:9333/",
target: "http://192.168.128.100:8099", // 江
target: "http://zwpt.xzclub.top:9333/",
// target: "http://192.168.128.100:8099", // 江
ws: true,
changeOrigin: true,
pathRewrite: {
......
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