Commit 4ce8fb39 by 李姝悦

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

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