Commit 3af78cfc by 米嘉伟

掌纹 人像

parent f7a8b2fb
......@@ -938,7 +938,6 @@ export default {
//复制条码列表操作
isShowFztmBtn (val) {
console.log(val, 11122333);
//console.log("复制条码", val);
if (this.showType == 1) {
this.type = "ry"
......
......@@ -29,17 +29,17 @@
<div class='jbxxLeft'>
<div class='sjx l1'>
<span class="span1">案件编号:</span>
<span class="span2">A111111111111</span>
<span class="span2">{{this.ysajjbxx.ysxtAsjbh}}</span>
<span class="span3">比中</span>
</div>
<div class='sjx l2'>
<span class="span1">姓名</span>
<span class="span2">张三李四</span>
<span class="span1">现勘编号</span>
<span class="span2">{{this.ysajjbxx.xckybh}}</span>
</div>
<div class='sjx l3'>
<!-- <div class='sjx l3'>
<span class="span1">性别:</span>
<span class="span2"></span>
</div>
<span class="span2">{{this.ysajjbxx.xbdm}}</span>
</div> -->
</div>
<div class='jbxxCenter'>
<div class="sjx l1">
......@@ -53,7 +53,7 @@
</div>
<div class='sjxRight'>
<div>
<span>2</span>/次
<span>{{fcxInfo.queryCount?fcxInfo.queryCount:'暂无发查询记录'}}</span>/次
</div>
<div>
发查询历史次数
......@@ -71,7 +71,7 @@
</div>
<div class='sjxRight'>
<div>
<span>2021-02-21</span>
<span>{{fcxInfo.lastQueryTime?fcxInfo.lastQueryTime:'暂无发查询记录'}}</span>
</div>
<div>
最后一次发查询时间
......@@ -83,7 +83,13 @@
<div class='jbxxRight'>
<div class='sjlxImg'>
<img
src="../../../assets/img/xxk/TT.png"
v-if="fcxInfo.queryType==2"
src="../../../assets/img/xxk/LT.png"
alt=""
>
<img
v-if="fcxInfo.queryType==3"
src="../../../assets/img/xxk/LL.png"
alt=""
>
</div>
......@@ -93,7 +99,7 @@
<div class="cz">
<div class='czLeft'>
<el-radio-group v-model="radio1">
<el-radio-button label="1">现场指纹(10</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>
......@@ -116,50 +122,38 @@
<div class='zwDivHead'>
<!-- <div class="blueDiv"></div>滚动<div class="Num"><span>8</span>/10</div> -->
</div>
<div class='zwDivBody'>
<div class='zw'>
<div class='zwImg'></div>
<div class='zwName'>01</div>
</div>
<div class='zw'>
<div class='zwImg'></div>
<div class='zwName'>02</div>
</div>
<div class='zw'>
<div class='zwImg'></div>
<div class='zwName'>03</div>
</div>
<div class='zw'>
<div class='zwImg'></div>
<div class='zwName'>04</div>
</div>
<div class='zw'>
<div class='zwImg'></div>
<div class='zwName'>05</div>
</div>
<div class='zw'>
<div class='zwImg'></div>
<div class='zwName'>06</div>
<div
class='zwDivBodyNoImg'
v-if='caseLoading'
>
正在加载
</div>
<div
class='zwDivBody'
v-if="CaseImgNum&&caseLoading==false"
>
<div
v-for="(item, index) in CaseImg"
:key="index"
>
<div class='zw'>
<div class='zwImg'></div>
<div class='zwName'>07</div>
<div class='zwImg'>
<img
:src="'data:image/jpeg;base64,' + item.img"
alt=""
>
</div>
<div class='zw'>
<div class='zwImg'></div>
<div class='zwName'>08</div>
<div class='zwName'>{{ item.code }}</div>
</div>
<div class='zw'>
<div class='zwImg'></div>
<div class='zwName'>09</div>
</div>
<div class='zw'>
<div class='zwImg'></div>
<div class='zwName'>10</div>
</div>
<div
class='zwDivBodyNoImg'
v-if='CaseImgNum==0&&caseLoading==false'
>
该案件无图像信息
</div>
</div>
</div>
</el-drawer>
......@@ -182,6 +176,20 @@ export default {
drawer: false, // 抽屉开关
direction: 'rtl', // 抽屉类型
radio1: 1, // 指纹,掌纹,人像
ysajjbxx: { // 人员基本信息(人员库获取)
ysxtAsjbh: '', // 案件编号
xckybh: "",// 现勘编号
id: '', // 案件id
},
fcxInfo: { // 发查询信息
lastQueryTime: '',
queryCount: '',
queryType: '',
},
CaseImg: [ // 案件图像
],
caseLoading: true,
CaseImgNum: 0,
};
},
mounted () {
......@@ -194,11 +202,73 @@ export default {
},
drawer (val) {
this.$emit('closeAjxxk', this.drawer);
},
rowData (val) {
this.ysajjbxx.ysxtAsjbh = val.ysxtAsjbh
this.ysajjbxx.xckybh = val.xckybh
this.ysajjbxx.id = val.id
this.getfileinfo()
this.getCaseBybarcode()
}
},
methods: {
getCaseBybarcode () { // 案件原图
let self = this;
this.$axios
.post(
"/api/org/caseBybarcode/barcode",
{ barcode: this.ysajjbxx.ysxtAsjbh },
{ loading: false }
)
.then((response) => {
if (response.data.code == 0) {
this.CaseImgNum = response.data.ret.length;
if (this.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
this.CaseImg.push(arr)
}
console.log(this.CaseImg, 'CaseImg')
}
// 去掉加载状态
self.caseLoading = false;
} else if (response.data.code == 4) {
// 去掉加载状态
self.caseLoading = false;
}
})
.catch(function (error) {
//console.log(error);
});
},
getfileinfo () { // 获取发查询信息
this.$axios({
method: 'get',
url: "api/fileinfo/queryque/" + this.ysajjbxx.ysxtAsjbh,
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
//console.info("查询结果===>", this.tableDate);
// this.userInfo = this.getUserInfo(this.tableDate);
} else {
this.$message.error(response.data.message);
}
});
},
handleClose (done) {
console.log(1111111111111111)
// console.log(1111111111111111)
// this.$confirm('确认关闭?')
// .then(_ => {
// done();
......@@ -207,10 +277,18 @@ export default {
// .catch(_ => { });
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
}
}
};
......@@ -253,6 +331,7 @@ export default {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
height: 580px;
.zw {
width: 110px;
.zwImg {
......@@ -271,6 +350,14 @@ export default {
}
}
}
.zwDivBodyNoImg {
height: 580px;
display: flex;
justify-content: center;
align-items: center;
color: #999;
font-size: 16px;
}
}
.cz {
height: 86px;
......
......@@ -552,7 +552,8 @@ export default {
});
},
// 案件信息卡操作
isShowAjxxkBtn () {
isShowAjxxkBtn (row) {
this.rowData = row
this.isShowAjxxk = true;
},
closeAjxxk (val) {
......
......@@ -765,7 +765,7 @@ export default {
this.upload()
}
} else if (this.drlx == 9) {
if (this.targetsLeft.length == 0 || this.targetsRight.length == 0) {
if (this.checkedTargetsLeft.length == 0 || this.checkedTargetsRight.length == 0) {
this.$message.error('请选择逻辑分库')
} else {
for (var i = 0; i <= this.checkedTargetsLeft.length; i++) {
......
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