Commit 08d5515f by 张超军

案件掌纹(保存单个/全部/自动提取)

parent b99187f9
......@@ -84,7 +84,8 @@
.left-right-hand {
margin-top: 5px;
.lr-hand {
width: 100%;
// width: 100%;
width: 268px;
height: 640px;
overflow: auto;
:nth-child(even) {
......@@ -119,8 +120,8 @@
float: left;
.fingerPic {
position: relative;
width: 122px;
height: 122px;
width: 125px;
height: 125px;
background: #ffffff;
border-radius: 2px;
border: 1px solid #cccccc;
......@@ -181,6 +182,23 @@
color: #666666;
}
}
.handDom {
margin-left: 0;
.handPic {
width: 260px;
height: 260px;
background: #ffffff;
border-radius: 2px;
border: 1px solid #cccccc;
margin: 0;
}
.hand-number {
width: 48px !important;
height: 24px !important;
background: #055fe7;
border-radius: 0px 0px 7px 0px;
}
}
.defaultfingerPic {
position: relative;
width: 122px;
......
<!--
* @Author: your name
* @Date: 2021-10-22 09:42:07
* @LastEditTime: 2021-12-07 11:27:35
* @LastEditTime: 2021-12-08 14:23:18
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \指纹系统\founder_vue\src\views\Editor\modules\ryzwbjLeft.vue
......@@ -45,11 +45,10 @@
</div>
<div class="left-right-hand" v-else-if="zwSelect==='掌纹'">
<div class="lr-hand" v-if="hands.length>0">
<div class="fingerDom" v-for="(item,index) in hands" :key="index" @click="HandChange(item.code)">
<div class="fingerPic" :class="{fingerPicActive: activeHand===index}">
<div class="finger-number">{{(item.code) &lt; 10 ? ('0'+(item.code)) : (item.code)}}</div>
<div class="fingerDom handDom" v-for="(item,index) in hands" :key="index" @click="HandChange(item)">
<div class="fingerPic handPic" :class="{fingerPicActive: activeHand===item.seq}">
<div class="finger-number hand-number">{{item.seq}}</div>
<div class="finger-pic">
<!-- <img src="../../../assets/img/zhangwen.png" /> -->
<img :src="'data:image/jpeg;base64,'+item.image" alt="">
</div>
</div>
......@@ -62,7 +61,7 @@
</div>
</div>
<div class="finger-total">
共计<span>4</span>掌纹
共计<span>{{hands.length}}</span>掌纹
</div>
</div>
</div>
......@@ -113,35 +112,37 @@ export default {
// },
],
hands: [
{
code: '16',
name: '拇',
image: null
},
{
code: '17',
name: '食',
image: null
},
{
code: '18',
name: '中',
image: null
},
{
code: '19',
name: '环',
image: null
},
{
code: '20',
name: '小',
image: null
}
// {
// code: '16',
// name: '拇',
// image: null
// },
// {
// code: '17',
// name: '食',
// image: null
// },
// {
// code: '18',
// name: '中',
// image: null
// },
// {
// code: '19',
// name: '环',
// image: null
// },
// {
// code: '20',
// name: '小',
// image: null
// }
],
// 加载动画
loading: null,
timer: null
timer: null,
// 是否请求过掌纹
isHandRequest: false,
}
},
computed: {
......@@ -183,6 +184,45 @@ export default {
},
methods: {
/**
* 切换掌纹
*/
HandChange(hand) {
this.activeHand = hand.seq
this.$store.commit('zwbj/setSeq', hand.seq)
// 指纹编辑区域发送指纹数据,替换指纹图片
console.log(hand);
this.$bus.emit('ajzwbjImage', { finger_image: hand.image, finger_dealFlag: hand.dealFlag, finger_position: hand.fingerPosition })
this.$bus.emit('ajzwbjTDZ')
},
/**
* 获取掌纹数据
*/
async getHandsData () {
let self = this
if (self.isHandRequest) return;
let res = await this.$axios({
method: 'post',
url: '/api/org/case/palm/barcode',
loading: true,
data: {
barcode: 'A9999999777778888888888'
// barcode: self.barcode
}
})
console.log(res);
// 初始化图片
self.hands = []
// 赋值
if (res.data.code === 0) {
self.hands = res.data.ret
this.activeHand = this.hands[0].seq
this.HandChange(this.hands[0])
} else {
self.$bus.emit('ryzwbjImage', 'xxx')
}
self.isHandRequest = true
},
/**
* 打开档案信息
*/
daxxChange () {
......@@ -348,6 +388,13 @@ export default {
zzwChange (event) {
this.zwSelect = event.target.innerText
this.$bus.emit('zwType', this.zwSelect)
if(this.zwSelect == '掌纹') {
// 请求掌纹数据
this.getHandsData()
if(this.hands && this.hands.length>0) {
this.activeHand = this.hands[0].seq
}
}
},
},
beforeDestroy () {
......
......@@ -1063,6 +1063,7 @@ $canvasWidth: var(--canvasWidth, 640px);
}
.positions {
z-index: 999999;
.head {
display: flex;
align-items: center;
......@@ -1108,6 +1109,39 @@ $canvasWidth: var(--canvasWidth, 640px);
}
}
}
.positons-hand {
display: flex;
flex-wrap: wrap;
padding: 16px 14px;
.hand-item {
/deep/.el-checkbox__label {
padding-left: 5px;
}
// 修改多选框样式
/deep/ .el-checkbox.is-checked {
.el-checkbox__label {
color: #333333;
}
.el-checkbox__input.is-checked {
.el-checkbox__inner {
background: #055fe7;
border-color: #055fe7;
}
}
}
.el-checkbox {
margin-right: 10px;
}
&:nth-child(even) {
.el-checkbox {
margin-right: 0;
}
}
}
}
/deep/ .el-radio {
color: #666;
......
<!--
* @Author: your name
* @Date: 2021-12-01 15:25:22
* @LastEditTime: 2021-12-08 11:52:21
* @LastEditTime: 2021-12-08 16:11:25
* @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \指纹系统\founder_vue\src\views\AllPersonnelBase\bzxxfh.vue
......@@ -75,8 +75,8 @@
<div class="plcz btn" @click="batch">批量操作</div>
</div>
<div class="bzxxfh-content-top-right">
<div class="jcbzgx btn" @click="cxbzgxChange">解除比中关系</div>
<div class="cxfh btn" @click="cxfhChange2">撤销复核</div>
<!-- <div class="jcbzgx btn" @click="cxbzgxChange">解除比中关系</div>
<div class="cxfh btn" @click="cxfhChange2">撤销复核</div> -->
<div class="fztm btn" v-clipboard:copy="fztm_ytmh" @click="fztmChange" v-clipboard:success="onCopy" v-clipboard:error="onError">复制条码</div>
</div>
</div>
......@@ -109,18 +109,18 @@
</el-table-column>
<el-table-column prop="fhsj" label="复核时间" :width="width4" :formatter="dateTimeFormat">
</el-table-column>
<el-table-column prop="affirmStatus" label="复核状态" :width="width3">
<el-table-column prop="reviewStatus" label="复核状态" :width="width3">
<template slot-scope="scope">
<div class="fhzt">
<div :class="{wfh: scope.row.affirmStatus==='0', fhyx: scope.row.affirmStatus==='2', fhwx: scope.row.affirmStatus==='1'}"></div>
{{scope.row.affirmStatus=='0' ? '未复核' : (scope.row.affirmStatus=='2' ? '复核有效' : '复核无效')}}
<div :class="{wfh: scope.row.reviewStatus==='0', fhyx: scope.row.reviewStatus==='2', fhwx: scope.row.reviewStatus==='1'}"></div>
{{scope.row.reviewStatus=='0' ? '未复核' : (scope.row.reviewStatus=='2' ? '复核有效' : '复核无效')}}
</div>
</template>
</el-table-column>
<el-table-column prop="nydwGajgmc" label="操作" width="auto">
<template slot-scope="scope">
<div @click="dfh(scope.row)" v-show="scope.row.affirmStatus==='0'" :class="{dfh: scope.row.affirmStatus==='0'}">待复核</div>
<div @click="cxfhChange($event,scope.row)" v-show="scope.row.affirmStatus!='0'" :class="{cxfh: scope.row.affirmStatus!='0'}">撤销复核</div>
<div @click="dfh(scope.row)" v-show="scope.row.reviewStatus==='0'" :class="{dfh: scope.row.reviewStatus==='0'}">待复核</div>
<div @click="cxfhChange($event,scope.row)" v-show="scope.row.reviewStatus!='0'" :class="{cxfh: scope.row.reviewStatus!='0'}">撤销复核</div>
</template>
</el-table-column>
</el-table>
......
......@@ -237,13 +237,15 @@ export default {
querytype
}
}).then(response => {
if(response.data.code === 0) {
// 跟新列表数据
self.$bus.emit("updateFinderSource");
//console.log(response);
this.$message.success("认定完成!");
if (type == "son") {
window.close();
}
// if (type == "son") {
// window.close();
// }
});
},
/**
......
......@@ -215,13 +215,15 @@ export default {
querytype
}
}).then(response => {
if(response.data.code === 0) {
// 跟新列表数据
self.$bus.emit("updateTLSourceData");
//console.log(response);
this.$message.success("认定完成!");
if (type == "son") {
window.close();
}
// if (type == "son") {
// window.close();
// }
});
},
/**
......
/*
* @Author: your name
* @Date: 2021-09-07 09:57:48
* @LastEditTime: 2021-12-08 11:56:14
* @LastEditTime: 2021-12-08 15:47:26
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \指纹系统\founder_vue\vue.config.js
......@@ -92,14 +92,14 @@ module.exports = {
// target: "http://192.168.0.137:8080/", //统一的请求头部每次修改都要重启才会生效 http://39.99.224.27:8006/
// target: "http://192.168.128.166:8099/", // 张 认定
// target: "http://192.168.128.108:8099", // 湖南-张
// target: "http://192.168.128.114:8099", // 湖南-马
target: "http://192.168.128.114:8099", // 湖南-马
// target: "http://192.168.128.116:8099", // 湖南-王
// target: "http://192.168.128.118:8764", // 湖南-张呈光
// 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://192.168.128.115:8099", // 江
// target: "http://192.168.128.115:8099", // 江
ws: true,
changeOrigin: true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment