Commit 0ef7078e by 张超军

查询与认定中英文

parent 05f2a9b9
......@@ -84,7 +84,8 @@ div {
color: #333333;
}
.center {
z-index: 2022;
// z-index: 2022;
z-index: 99999;
width: 1120px;
display: flex;
align-items: center;
......
/*
* @Author: your name
* @Date: 2022-03-25 16:36:01
* @LastEditTime: 2022-04-03 11:51:23
* @LastEditTime: 2022-04-05 22:21:47
* @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \uuuz\founder_vue\src\i18n\zh-cn.js
......@@ -101,6 +101,7 @@ export default {
whether_delete_selected_data: '是否确定删除已选择的数据?',
deletion_cancelled: '已取消删除',
filter_condition_exists_Please_re_select: '该筛选条件已存在!请重新选择!',
please_select_text: '请选择内容',
// 基本信息--
......@@ -765,10 +766,112 @@ export default {
LL: {
source_data: '源数据',
target_data: '目标数据',
extractor: '提取人'
extractor: '提取人',
identified_completed_query_ID: '显示已认定完成查询ID',
total_for_this_task: '该任务共计',
query: '查询',
enumerate: '枚数',
viewed: '已查看',
total_query_ID: '该查询ID共计',
expend: '展开',
fold: '折叠',
data_has_been_deleted: '该条数据已删除!',
please_enter_barcode_indicator: '请输入条码号/指位',
show_candidates_comparison: '显示已比中候选'
},
// 倒查
TL: {
finger_position: '指位'
},
// 查重
TT: {
identified: '已认定',
delete_time: '删除时间',
ranking: '排名',
score: '得分',
target_barcode: '目标条码号',
source: '源',
number: '数',
ju: '据',
eye: '目',
mark: '标',
image_deleted: '图像已删除',
no_pre: '没上一条了',
no_next: '没下一条了',
no_data: '没有数据',
facade: '正面',
left_side: '左侧面',
right_side: '右侧面',
ID_photo: '身份证照',
no_left_hand_roll_source: '无左手滚动源',
finger_finger_pic: '指指纹图',
no_left_hand_roll_target: '无左手滚动目标',
no_right_hand_roll_source: '无右手滚动源',
no_right_hand_roll_target: '无右手手滚动目标',
nothing: '无'
},
// 发查询条件
Fcxtj: {
send_query_criteria: '发查询条件',
close_btn: '关 闭',
},
// 人工认定弹窗
Recognition: {
source_data_type: '源数据类型',
target_data_type: '目标数据类型'
},
// 认定详情
ImageEd: {
revoke: '撤销',
recovery: '恢复',
move: '移动',
enlarge: '放大',
synchronization: '同步',
full_size_display: '原尺寸显示',
rotate: '旋转',
image_rotation: '图像旋转',
reset: '重置',
x_axis: 'X轴',
y_axis: 'Y轴',
section: '区间',
download: '下载',
screenshot: '截屏',
thumbnail: '缩略图',
guide: '辅助线',
hidden_guides: '隐藏辅助线',
straight_line: '直线',
curve: '曲线',
colour: '颜色',
default: '默认',
fine: '细',
middle: '中',
crude: '粗',
mark_point: '标记点',
hide_marked_points: '隐藏标记点',
small: '小',
big: '大',
historical_records: '历史记录',
eraser: '橡皮擦',
clear_operation_cannot_undone: '确认要清空操作吗?该操作无法撤消!',
display_features: '显示特征',
display_direction: '显示方向',
displays_location_of_feature: '只显示匹配特征的位置',
location_special_display_features: '特殊显示匹配特征的位置',
digital_marking: '数字标示',
rotate_according_features: '根据匹配特征旋正',
source_data_deleted_target_image_not_displayed: '源数据已删除,目标图像不显示',
Tan: '棕褐色',
horseshoe_mirror: '马蹄镜',
equalization: '均衡化',
sharpening: '锐化',
relief: '浮雕',
reversed_phase: '反相',
color_filter: '滤色器',
differentiation: '差异化',
positive_lamination: '正片叠底',
de_whitening: '去白',
brightness_contrast: '亮度/对比度',
brightness: '亮度',
contrast: '对比度'
}
}
/*
* @Author: your name
* @Date: 2021-12-24 17:21:54
* @LastEditTime: 2022-02-15 16:00:28
* @LastEditTime: 2022-04-04 20:57:46
* @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \指纹系统\founder_vue\src\netmgr\NetUtil.js
......@@ -15,6 +15,7 @@ import workstream from '../netmgr/workstream/workstream'
import fingerprint from '../netmgr/fingerprint/fingerprint'
import cxyrdUser from './cxyrdUser/cxyrdUser'
import imageEd from './imageEd/imageEd'
import ryxxk from './ryxxk/ryxxk'
export default {
bzxxsh,
......@@ -25,5 +26,6 @@ export default {
workstream,
fingerprint,
cxyrdUser,
imageEd
imageEd,
ryxxk
}
/*
* @Author: zhangchaojun
* @Date: 2022-01-21 14:10:13
* @LastEditTime: 2022-04-04 20:55:21
* @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \指纹系统\founder_vue\src\netmgr\xxk\ryxxk.js
*/
import addrType from '../NetAddressType'
import HttpConfigUtil from '../../request/HttpConfigUtil.js'
const _path = {
// 人员平面压缩图
getPlainByBarcode: addrType.api + '/png/plain/barcode',
// 人员滚动压缩图
getRollByBarcode: addrType.api + '/png/roll/barcode',
// 获取人像
getFaceByBarcode: addrType.api + '/org/face/barcode',
// 获取掌纹
getPalmByBarcode: addrType.api + '/png/palm/barcode',
}
export default {
getPlainByBarcode(_parameter) {
return fHttp.postJson(
_path.getPlainByBarcode,
_parameter,
HttpConfigUtil.closeLoadAndTip()
)
},
getRollByBarcode(_parameter) {
return fHttp.postJson(
_path.getRollByBarcode,
_parameter,
HttpConfigUtil.closeLoadAndTip()
)
},
getFaceByBarcode(_parameter) {
return fHttp.postJson(
_path.getFaceByBarcode,
_parameter,
HttpConfigUtil.closeLoadAndTip()
)
},
getPalmByBarcode(_parameter) {
return fHttp.postJson(
_path.getPalmByBarcode,
_parameter,
HttpConfigUtil.closeLoadAndTip()
)
}
}
/*
* @Author: your name
* @Date: 2022-01-21 14:10:13
* @LastEditTime: 2022-04-05 18:31:23
* @LastEditors: your name
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \指纹系统\founder_vue\src\store\modules\ljk.js
*/
import { _axios } from "@/plugins/axios";
const state = {
targetOptions_ry: [],
......@@ -40,7 +48,7 @@ const actions = {
// }
// })
// },
_ljkRy (context, options) {// 获取人员逻辑库
async _ljkRy (context, options) {// 获取人员逻辑库
let userInfo = JSON.parse(localStorage.getItem("userInfo"))
let params = {
userId: null,
......@@ -48,14 +56,14 @@ const actions = {
}
params.userId = userInfo.user.id
params.userGroupIds = userInfo.groupIds
_axios.post('/api/code/personLogic', params).then(res => {
await _axios.post('/api/code/personLogic', params).then(res => {
console.log(res, '/api/code/personLogic luojiku ')
if (res.data.code == 0 && res.data.message == "success") {
context.commit('ljkRy', res.data.ret);
}
})
},
_ljkAj (context, options) {// 获取案件逻辑库
async _ljkAj (context, options) {// 获取案件逻辑库
let userInfo = JSON.parse(localStorage.getItem("userInfo"))
let params = {
userId: null,
......@@ -63,14 +71,14 @@ const actions = {
}
params.userId = userInfo.user.id
params.userGroupIds = userInfo.groupIds
_axios.post('/api/code/caseLogic', params).then(res => {
await _axios.post('/api/code/caseLogic', params).then(res => {
console.log(res, '/api/code/caseLogic luojiku ')
if (res.data.code == 0 && res.data.message == "success") {
context.commit('ljkAj', res.data.ret);
}
})
},
_ljkAll (context, options) {// 获取全部逻辑库名称
async _ljkAll (context, options) {// 获取全部逻辑库名称
let userInfo = JSON.parse(localStorage.getItem("userInfo"))
let params = {
userId: null,
......@@ -78,7 +86,7 @@ const actions = {
}
params.userId = userInfo.user.id
params.userGroupIds = userInfo.groupIds
_axios.post('/api/code/allLogicName', params).then(res => {
await _axios.post('/api/code/allLogicName', params).then(res => {
console.log(res, '/api/code/allLogicName luojiku ')
if (res.data.code == 0 && res.data.message == "success") {
context.commit('ljkAll', res.data.ret);
......
......@@ -369,7 +369,7 @@ export default {
getCaseBybarcode () {
// 案件原图
let self = this;
NetUtil.ajxxk.getCaseBybarcode({ barcode: this.ysajjbxx.ysxtAsjbh },).then(response => {
NetUtil.ajxxk.getCaseBybarcode({ barcode: this.ysajjbxx.ysxtAsjbh }).then(response => {
console.log(response.ret, 'gaigaigai')
if (response.code == 0) { //请求成功 代码为0
self.CaseImgNum = response.ret.length;
......@@ -433,7 +433,7 @@ export default {
// 获取发查询信息
this.$axios({
method: "get",
url: "api/fileinfo/queryque/" + this.ysajjbxx.ysxtAsjbh,
url: "/api/fileinfo/queryque/" + this.ysajjbxx.ysxtAsjbh,
loading: false
}).then(response => {
if (response.data.code === 0) {
......
......@@ -150,12 +150,12 @@
</template>
<script>
import UUID from '@/utils/getUUID.js';
import qs from "qs";
import jwtDecode from "jwt-decode";
import utils from "@/utils/util.js";
import zzwxtCloud from '../../api/zzwxtCloud';
import removeCookie from '@/utils/removeCookie';
import { mapState } from 'vuex';
export default {
name: "Home",
data () {
......@@ -166,8 +166,8 @@ export default {
sbAppNum: 0,
dfzwNum: 0,
dialogVisible: false, // 退出弹窗状态
targets_ry: this.$store.state.ljk.targetOptions_ry, // 目标逻辑库(人员) vuex
targets_aj: this.$store.state.ljk.targetOptions_aj, // 目标逻辑库(案件) vuex
// targets_ry: this.$store.state.ljk.targetOptions_ry, // 目标逻辑库(人员) vuex
// targets_aj: this.$store.state.ljk.targetOptions_aj, // 目标逻辑库(案件) vuex
};
},
methods: {
......@@ -367,11 +367,15 @@ export default {
.catch((err) => { });
},
getHomeNum () {
console.log(this.targets_ry);
console.log(this.targets_aj);
let arr = []
this.targets_ry.map(item => {
arr.push(item.id)
})
console.log(arr);
let str = arr.join(',')
console.log(str);
let arr1 = []
this.targets_aj.map(item => {
arr1.push(item.id)
......@@ -387,7 +391,7 @@ export default {
});
},
},
async mounted () {
mounted () {
function getIPs (callback) {
var ip_dups = {};
//compatibility for firefox and chrome
......@@ -514,7 +518,7 @@ export default {
// localStorage.setItem("userIP", '192.168.1.3'); //存入 参数: 1.调用的值 2.所要存入的数据
console.log(localStorage.getItem("userIP")); //输出
console.log("store登录状态:" + this.$store.state.tm.tmType);
this.getHomeNum();
},
created () {
......@@ -526,6 +530,10 @@ export default {
roleArr () {
return this.$store.state.layout.Menu;
},
...mapState({
targets_ry: (state) => state.ljk.targetOptions_ry,
targets_aj: (state) => state.ljk.targetOptions_aj
})
},
};
</script>
......
......@@ -1014,6 +1014,7 @@ export default {
},
//点击列表进入页面
enterInto (row) {
if(row.queryStateName === this.$t('QueryConfirm.waiting_for_comparison')) return;
// !scope.row.querycfg
if (row.children && row.children.length > 0) {
if (row.children[0].querytype === '0') {
......
......@@ -18,14 +18,14 @@
<span>{{ fingerShowType }}</span>
</div>
<div class="search-top-right">
<el-input class="input" v-model="input3" placeholder="请输入条码号/指位" @keydown.enter.native="search" clearable @clear="search"></el-input>
<el-input class="input" v-model="input3" :placeholder="$t('LL.please_enter_barcode_indicator')" @keydown.enter.native="search" clearable @clear="search"></el-input>
<div class="btn" @click="search">
<img src="@/assets/img/rgrd/fangdajing.png" alt="">
</div>
</div>
</div>
<div class="search-bottom">
<el-checkbox v-model="checked">显示已比中候选</el-checkbox>
<el-checkbox v-model="checked">{{$t('LL.show_candidates_comparison')}}</el-checkbox>
</div>
<!-- 指纹下拉框-->
<!-- <div class="finger-dropdown">
......@@ -54,9 +54,9 @@
</div>
<div class="lt_candidate_number">
<el-table :highlight-current-row="isDelete ? false : true" @current-change="handleCurrentChange" class="lt_candidate_table" :data="tableData" ref="singleTable" :row-class-name="tableRowClassName" height="46rem">
<el-table-column label="排名" type="index" :width="width1">
<el-table-column :label="$t('TT.ranking')" type="index" :width="width1">
</el-table-column>
<el-table-column prop="score" label="得分" :width="width2">
<el-table-column prop="score" :label="$t('TT.score')" :width="width2">
<template slot-scope="scope">
<div :class="{ lcurrte: targetBh == scope.row.destbarcode }">
<!-- 被删除-->
......@@ -69,7 +69,7 @@
</div>
</template>
</el-table-column>
<el-table-column prop="destseqno" label="序号" :width="!roleArr.includes('C-1-7')?'auto':width3">
<el-table-column prop="destseqno" :label="$t('LT.order_number')" :width="!roleArr.includes('C-1-7')?'auto':width3">
<template slot-scope="scope">
<div v-if="scope.row.destseqno">
<span v-if="scope.row.removeFlag === 1">
......@@ -89,7 +89,7 @@
</div>
</template>
</el-table-column>
<el-table-column prop="destbarcode" label="目标条码号" width="auto" v-if="roleArr.includes('C-1-7')">
<el-table-column prop="destbarcode" :label="$t('TT.target_barcode')" width="auto" v-if="roleArr.includes('C-1-7')">
<template slot-scope="scope">
<!-- 被删除-->
<span v-if="scope.row.removeFlag === 1">
......@@ -102,7 +102,7 @@
</el-table-column>
</el-table>
<div class="lt_candidate_bottom">
<span>共计<span>{{ total }}条</span>数据</span>
<span>{{$t('Gz.all_sum')}}<span>{{ total }}{{$t('Common.item')}}</span>{{$t('Gz.data')}}</span>
</div>
</div>
</div>
......@@ -1130,7 +1130,7 @@ export default {
// 存储目的数据序号
sessionStorage.setItem("destseqno", val.destseqno);
this.$bus.emit("targetDeleteMessage", {
msg: "该条数据已删除!",
msg: this.$t('LL.data_has_been_deleted'),
delTime: self.$moment(val.removeTime).format("YYYY.MM.DD HH:mm"),
});
return;
......@@ -1159,7 +1159,7 @@ export default {
sessionStorage.setItem("destseqno", val.destseqno);
self.$store.commit("loading/setLoading", true);
///////////////////////////////
if (self.fingerShowType == "指纹") {
if (self.fingerShowType == this.$t('Daxxk.fingerprint')) {
//案件指纹
// this.$axios
......
......@@ -2,8 +2,8 @@
<div class="lt_src">
<div class="lt_top">
<!-- <label>任务号:{{ tableData.qid }}</label> -->
<label class="rwh">任务号{{ rwh }}</label>
<el-checkbox v-show="sourceDataList.length>1" v-model="checked">显示已认定完成查询ID</el-checkbox>
<label class="rwh">{{$t('FptxDr.task_number')}}{{ rwh }}</label>
<el-checkbox v-show="sourceDataList.length>1" v-model="checked">{{$t('LL.identified_completed_query_ID')}}</el-checkbox>
</div>
<div class="lt_middle">
<!-- 源数据区 -->
......@@ -20,10 +20,10 @@
>
<el-table-column
prop="qqid"
label="查询ID"
:label="$t('QueryConfirm.query_id')"
:width="width1"
></el-table-column>
<el-table-column prop="barcode" label="源条码号" width="auto">
<el-table-column prop="barcode" :label="$t('Fcx.source_barcode')" width="auto">
<template slot-scope="scope">
<!-- 被删除-->
<span v-if="scope.row.removeFlag === 1">
......@@ -34,7 +34,7 @@
</span>
</template>
</el-table-column>
<el-table-column prop="fingerCount" label="枚数" :width="width2">
<el-table-column prop="fingerCount" :label="$t('LL.enumerate')" :width="width2">
<template slot-scope="scope">
<!-- 被删除-->
<span v-if="scope.row.removeFlag === 1">
......@@ -48,7 +48,7 @@
</el-table>
<div class="lt_middle_bottom">
<span
>该任务共计<span>{{ total }}条</span>查询</span
>{{$t('LL.total_for_this_task')}}<span>{{ total }}{{$t('Common.item')}}</span>{{$t('LL.query')}}</span
>
<div class="btn" @click="changeTableHeight">
<span>{{ options }}</span>
......@@ -64,26 +64,26 @@
<div
class="btn"
@click="switchZhiWen"
:class="{ active: fingerShowType == '指纹' }"
:class="{ active: fingerShowType == $t('Daxxk.fingerprint') }"
>
指纹
{{$t('Daxxk.fingerprint')}}
</div>
<div
class="btn"
v-show="plamList.length != 0"
@click="switchZhangWen"
:class="{ active: fingerShowType == '掌纹', hui: sourceDel }"
:class="{ active: fingerShowType == $t('Common.palm'), hui: sourceDel }"
>
掌纹
{{$t('Common.palm')}}
</div>
<div class="btn isDelete" v-show="plamList.length == 0">
掌纹
{{$t('Common.palm')}}
</div>
</div>
<!--指纹图-->
<div class="lt_middle_finger_prints">
<!-- 指纹 -->
<div v-if="fingerShowType === '指纹'">
<div v-if="fingerShowType === $t('Daxxk.fingerprint')">
<div
class="finger_print"
:class="{
......@@ -115,18 +115,18 @@
<div class="affirmstatus1" v-if="item.affirmstatus == 1">
<div class="affirmstatusbg"></div>
<div class="dot"></div>
<span class="txt">认定完成</span>
<span class="txt">{{$t('QueryConfirm.identification_completed')}}</span>
</div>
<!-- 比中 -->
<div class="affirmstatus2" v-else-if="item.affirmstatus == 2">
<div class="affirmstatusbg"></div>
<div class="dot"></div>
<span class="txt">比中</span>
<span class="txt">{{$t('Daxxk.hit')}}</span>
</div>
<div class="affirmstatus2" v-else-if="item.affirmstatus == 3">
<div class="affirmstatusbg"></div>
<div class="dot"></div>
<span class="txt">比中</span>
<span class="txt">{{$t('Daxxk.hit')}}</span>
</div>
<!-- 认定完成+比中 -->
<!-- <div class="affirmstatus3" v-else-if="item.affirmstatus==3">
......@@ -142,7 +142,7 @@
>
<div class="clickLogbg"></div>
<div class="dot"></div>
<span class="txt">已查看</span>
<span class="txt">{{$t('LL.viewed')}}</span>
</div>
</div>
</div>
......@@ -180,18 +180,18 @@
<div class="affirmstatus1" v-if="item.affirmstatus == 1">
<div class="affirmstatusbg"></div>
<div class="dot"></div>
<span class="txt">认定完成</span>
<span class="txt">{{$t('QueryConfirm.identification_completed')}}</span>
</div>
<!-- 比中 -->
<div class="affirmstatus2" v-else-if="item.affirmstatus == 2">
<div class="affirmstatusbg"></div>
<div class="dot"></div>
<span class="txt">比中</span>
<span class="txt">{{$t('Daxxk.hit')}}</span>
</div>
<div class="affirmstatus2" v-else-if="item.affirmstatus == 3">
<div class="affirmstatusbg"></div>
<div class="dot"></div>
<span class="txt">比中</span>
<span class="txt">{{$t('Daxxk.hit')}}</span>
</div>
<!-- 认定完成+比中 -->
<!-- <div class="affirmstatus3" v-else-if="item.affirmstatus==3">
......@@ -207,7 +207,7 @@
>
<div class="clickLogbg"></div>
<div class="dot"></div>
<span class="txt">已查看</span>
<span class="txt">{{$t('LL.viewed')}}</span>
</div>
</div>
</div>
......@@ -216,7 +216,7 @@
<!--指纹个数提示-->
<div class="lt_middle_bottom">
<span
>该查询ID共计<span>{{ fingerTotal }}枚</span
>{{$t('LL.total_query_ID')}}<span>{{ fingerTotal }}{{$t('Fcx.pieces')}}</span
>{{ fingerShowType }}</span
>
</div>
......@@ -250,7 +250,7 @@ export default {
data() {
return {
// 指纹/掌纹切换
fingerShowType: "指纹",
fingerShowType: this.$t('Daxxk.fingerprint'),
width2: 70,
width1: 80,
rwh: null,
......@@ -266,7 +266,7 @@ export default {
total: 0,
fingerTotal: 0,
currentRow: null,
options: "展开",
options: this.$t('LL.expend'),
qqid: null,
// 加载动画
loading: null,
......@@ -281,7 +281,7 @@ export default {
*/
switchZhangWen() {
if (this.sourceDel) return;
this.fingerShowType = "掌纹";
this.fingerShowType = this.$t('Common.palm');
this.fingerTotal = this.plamList?.length || 0;
if (this.plamList && this.plamList?.length > 0) {
this.changeStyle(0, this.plamList[0]);
......@@ -292,7 +292,7 @@ export default {
* 切换为指纹
*/
switchZhiWen() {
this.fingerShowType = "指纹";
this.fingerShowType = this.$t('Daxxk.fingerprint');
this.fingerTotal = this.enumerate?.length || 0;
if (this.enumerate && this.enumerate?.length > 0) {
this.changeStyle(0, this.enumerate[0]);
......@@ -354,7 +354,7 @@ export default {
if (!val) return;
let self = this;
// 发送请求
this.fingerShowType = "指纹";
this.fingerShowType = this.$t('Daxxk.fingerprint');
this.$emit("switchName", this.fingerShowType);
self.$store.commit("loading/setLoading", true);
self.qqid = val.qqid;
......@@ -363,7 +363,7 @@ export default {
if (val.removeFlag === 1) {
self.sourceDel = true;
self.$bus.emit("deleteMessage", {
msg: "该条数据已删除!",
msg: self.$t('LL.data_has_been_deleted'),
delTime: self.$moment(val.removeTime).format("YYYY.MM.DD HH:mm"),
});
// 清空目标table表
......@@ -569,14 +569,14 @@ export default {
.getElementsByTagName("body")[0]
.style.setProperty("--tableHeight", "48rem");
this.tableHeight = "48rem"
this.options = "折叠";
this.options = this.$t('LL.fold');
$(".ico").css("transform", "rotate(180deg)");
} else {
document
.getElementsByTagName("body")[0]
.style.setProperty("--tableHeight", "20rem");
this.tableHeight = "20rem"
this.options = "展开";
this.options = this.$t('LL.expend');
$(".ico").css("transform", "rotate(0deg)");
}
},
......@@ -587,12 +587,12 @@ export default {
immediate: true,
handler (val) {
//console.info("源数据传入组件的值为===>", val);
if (val == '掌纹') {
this.$bus.emit('searchTypeLT', '掌纹')
this.$bus.emit('suoluetu', '掌纹')
if (val == this.$t('Common.palm')) {
this.$bus.emit('searchTypeLT', this.$t('Common.palm'))
this.$bus.emit('suoluetu', this.$t('Common.palm'))
} else {
this.$bus.emit('searchTypeLT', '指纹')
this.$bus.emit('suoluetu', '指纹')
this.$bus.emit('searchTypeLT', this.$t('Daxxk.fingerprint'))
this.$bus.emit('suoluetu', this.$t('Daxxk.fingerprint'))
}
}
},
......
......@@ -17,10 +17,10 @@
label-width="7rem"
ref="ruleForm"
>
<el-form-item label="源条码号:" prop="originCode" :rules="inputRule">
<el-form-item :label="$t('Fcx.source_barcode')+':'" prop="originCode" :rules="inputRule">
<el-input
type="text"
placeholder="请输入内容"
:placeholder="$t('Common.text_placeholder')"
v-model.trim="ruleForm.originCode"
maxlength="23"
show-word-limit
......@@ -28,17 +28,17 @@
</el-input>
</el-form-item>
<el-form-item
label="源数据类型:"
:label="$t('Recognition.source_data_type')+':'"
prop="originCodeType"
:rules="radioRule"
>
<el-radio v-model="ruleForm.originCodeType" label="0">人员</el-radio>
<el-radio v-model="ruleForm.originCodeType" label="1">案件</el-radio>
<el-radio v-model="ruleForm.originCodeType" label="0">{{$t('FptxDr.person')}}</el-radio>
<el-radio v-model="ruleForm.originCodeType" label="1">{{$t('FptxDr.case')}}</el-radio>
</el-form-item>
<el-form-item label="目标条码号:" prop="targetCode" :rules="inputRule">
<el-form-item :label="$t('TT.target_barcode')+':'" prop="targetCode" :rules="inputRule">
<el-input
type="text"
placeholder="请输入内容"
:placeholder="$t('Common.text_placeholder')"
v-model.trim="ruleForm.targetCode"
maxlength="23"
show-word-limit
......@@ -46,18 +46,18 @@
</el-input>
</el-form-item>
<el-form-item
label="目标数据类型:"
:label="$t('Recognition.target_data_type')+':'"
prop="targetCodeType"
:rules="radioRule"
>
<el-radio v-model="ruleForm.targetCodeType" label="0">人员</el-radio>
<el-radio v-model="ruleForm.targetCodeType" label="1">案件</el-radio>
<el-radio v-model="ruleForm.targetCodeType" label="0">{{$t('FptxDr.person')}}</el-radio>
<el-radio v-model="ruleForm.targetCodeType" label="1">{{$t('FptxDr.case')}}</el-radio>
</el-form-item>
</el-form>
<span slot="footer" class="dialog-footer">
<el-button class="confirmBtn" @click="rgrd()">人工认定</el-button>
<el-button class="confirmBtn" @click="rgrd()">{{$t('QueryConfirm.manual_identification')}}</el-button>
<el-button class="cancelBtn" @click="off()" type="primary"
>取 消</el-button
>{{$t('Common.cancel')}}</el-button
>
</span>
</el-dialog>
......@@ -77,9 +77,9 @@ export default {
targetCode: "", // 覆盖原图
targetCodeType: "0", // 处理模式
},
inputRule: [{ required: true, message: "请输入内容", trigger: "change" }],
radioRule: [{ required: true, message: "请选择内容", trigger: "change" }],
title: "人工认定",
inputRule: [{ required: true, message: this.$t('Common.text_placeholder'), trigger: "change" }],
radioRule: [{ required: true, message: this.$t('Commonplease_select_text'), trigger: "change" }],
title: this.$t('QueryConfirm.manual_identification'),
labelPosition: "left", // 标签对齐方式
dialogVisible: false, // 弹窗状态
};
......
......@@ -11,23 +11,23 @@
<span>{{ searchType }}</span>
</div>
<div class="search-top-right">
<el-input class="input" v-model="input3" placeholder="请输入条码号/指位" @keydown.enter.native="search" clearable @clear="search"></el-input>
<el-input class="input" v-model="input3" :placeholder="$t('LL.please_enter_barcode_indicator')" @keydown.enter.native="search" clearable @clear="search"></el-input>
<div class="btn" @click="search">
<img src="@/assets/img/rgrd/fangdajing.png" alt="">
</div>
</div>
</div>
<div class="search-bottom">
<el-checkbox v-model="checked">显示已比中候选</el-checkbox>
<el-checkbox v-model="checked">{{$t('LL.show_candidates_comparison')}}</el-checkbox>
</div>
</div>
<!-- <div class="checked">
<el-checkbox v-model="checked">显示已比中候选</el-checkbox>
</div> -->
<el-table height="44rem" ref="singleTable" highlight-current-row @current-change="handleCurrentChange" class="lt_candidate_table" :data="tableData" :row-class-name="tableRowClassName">
<el-table-column label="排名" type="index" :width="width1">
<el-table-column :label="$t('TT.ranking')" type="index" :width="width1">
</el-table-column>
<el-table-column prop="score" label="得分" :width="width1">
<el-table-column prop="score" :label="$t('TT.score')" :width="width1">
<template slot-scope="scope">
<!-- 被删除-->
<span v-if="scope.row.removeFlag==1">
......@@ -38,7 +38,7 @@
</span>
</template>
</el-table-column>
<el-table-column label="序号" prop="destseqno" :width="!roleArr.includes('C-1-7')?'auto':width1">
<el-table-column :label="$t('LT.order_number')" prop="destseqno" :width="!roleArr.includes('C-1-7')?'auto':width1">
<template slot-scope="scope">
<!-- 被删除-->
<span v-if="scope.row.removeFlag==1">
......@@ -49,7 +49,7 @@
</span>
</template>
</el-table-column>
<el-table-column prop="destbarcode" label="目标条码号" width="auto" v-if="roleArr.includes('C-1-7')">
<el-table-column prop="destbarcode" :label="$t('TT.target_barcode')" width="auto" v-if="roleArr.includes('C-1-7')">
<template slot-scope="scope">
<!-- 被删除-->
<span v-if="scope.row.removeFlag==1">
......@@ -62,14 +62,12 @@
</el-table-column>
</el-table>
<div class="lt_candidate_bottom">
<span>共计<span>{{ total }}条</span>数据</span>
<span>{{$t('Gz.all_sum')}}<span>{{ total }}{{$t('Common.item')}}</span>{{$t('Gz.data')}}</span>
</div>
</div>
</template>
<script>
import axios from "axios";
export default {
name: "TLCandidate",
data () {
......@@ -87,7 +85,7 @@ export default {
timer: null,
// 是否被删除
isDelete: false,
searchType: '指纹',
searchType: this.$t('Daxxk.fingerprint'),
// 表格的索引
tableIndex: null,
// 源条码号
......@@ -254,7 +252,7 @@ export default {
self.$bus.emit('target_info', {barcode_source: self.barcode_source, seq_source: self.seq_source, barcode_target: val.destbarcode, seq_target: val.destseqno, type: 1})
if (val.removeFlag == 1) {
self.$bus.emit('targetDeleteMessage', {
msg: '该条数据已删除!',
msg: self.$t('LL.data_has_been_deleted'),
delTime: self.$moment(val.removeTime).format('YYYY.MM.DD HH:mm')
})
this.$bus.emit('bzJudgeTL', null)
......@@ -266,7 +264,7 @@ export default {
// 存储目的数据序号
sessionStorage.setItem("destseqno", val.destseqno);
self.$bus.emit('targetDeleteMessage', {
msg: '该条数据已删除!',
msg: self.$t('LL.data_has_been_deleted'),
delTime: self.$moment(val.removeTime).format('YYYY.MM.DD HH:mm')
})
this.$bus.emit('bzJudgeTL', null)
......
<!--
* @Author: your name
* @Date: 2021-10-23 17:43:14
* @LastEditTime: 2022-02-14 20:11:41
* @LastEditTime: 2022-04-04 17:57:04
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \指纹系统\founder_vue\src\views\cxyrd\modules\TTPlam.vue
......@@ -10,8 +10,8 @@
<div style="width: 100%">
<div class="tt_plam">
<p class="title">
<span>源数据</span>
<span>目标数据</span>
<span>{{$t('LL.source_data')}}</span>
<span>{{$t('LL.target_data')}}</span>
</p>
<el-carousel
@mousewheel.native="rollScroll($event)"
......@@ -28,7 +28,7 @@
<div class="imgbox" @dblclick="showDetail(item)">
<div class="wutu" v-if="sonSouceDel == true">
<img class="img" src="@/assets/img/TT/tuxiangdel.png" />
<span>图像已删除</span>
<span>{{$t('TT.image_deleted')}}</span>
</div>
<div
class="wutu"
......@@ -38,7 +38,7 @@
"
>
<img class="img" src="@/assets/img/TT/zwtp.png" />
<span>暂无图像</span>
<span>{{$t('Daxxk.no_image')}}</span>
</div>
<img
v-else-if="
......@@ -58,7 +58,7 @@
<div class="imgbox" @dblclick="showDetail(item)">
<div class="wutu" v-if="sonTargetDel == true">
<img class="img" src="@/assets/img/TT/tuxiangdel.png" />
<span>图像已删除</span>
<span>{{$t('TT.image_deleted')}}</span>
</div>
<div
class="wutu"
......@@ -68,7 +68,7 @@
"
>
<img class="img" src="@/assets/img/TT/zwtp.png" />
<span>暂无图像</span>
<span>{{$t('Daxxk.no_image')}}</span>
</div>
<img
v-else-if="
......@@ -96,7 +96,7 @@
<div class="imgBox">
<div class="wutu2" v-if="sonSouceDel == true">
<img class="img" src="@/assets/img/TT/tuxiangdel.png" />
<span>图像已删除</span>
<span>{{$t('TT.image_deleted')}}</span>
</div>
<div
class="wutu2"
......@@ -109,7 +109,7 @@
"
>
<img class="img" src="@/assets/img/TT/zwtp.png" />
<span>暂无图像</span>
<span>{{$t('Daxxk.no_image')}}</span>
</div>
<img
:class="{
......@@ -128,7 +128,7 @@
<div class="imgBox">
<div class="wutu2" v-if="sonTargetDel == true">
<img class="img" src="@/assets/img/TT/tuxiangdel.png" />
<span>图像已删除</span>
<span>{{$t('TT.image_deleted')}}</span>
</div>
<div
class="wutu2"
......@@ -141,7 +141,7 @@
"
>
<img class="img" src="@/assets/img/TT/zwtp.png" />
<span>暂无图像</span>
<span>{{$t('Daxxk.no_image')}}</span>
</div>
<img
:class="{
......@@ -180,12 +180,12 @@ export default {
arr: [
{
id: "31",
text: "右手平面掌纹",
text: this.$t('Zljc.right_plane_palm'),
list: {},
},
{ id: "32", text: "左手平面掌纹", list: {} },
{ id: "33", text: "右手侧面掌纹", list: {} },
{ id: "34", text: "左手侧面掌纹", list: {} },
{ id: "32", text: this.$t('Zljc.left_plane_palm'), list: {} },
{ id: "33", text: this.$t('Zljc.right_side_palm'), list: {} },
{ id: "34", text: this.$t('Zljc.left_side_palm'), list: {} },
],
};
},
......@@ -340,8 +340,8 @@ export default {
height: 100%;
}
.cezhang {
height: 570px;
width: 295.96px;
height: 100%;
width: auto;
}
.wutu {
width: 100%;
......@@ -404,8 +404,8 @@ export default {
}
}
.cezhang2 {
height: 673px !important;
width: 349.44px !important;
height: 100% !important;
width: auto !important;
}
.wutu2 {
width: 100%;
......
......@@ -515,7 +515,7 @@
class='ckxq'
style="background: #055FE7;border-radius: .25rem; border-color:#055FE7;"
@click="goList"
><span style="color:#fff;font-size: 0.875rem;">{{$t('FptxDr.see_details')}}</span></el-button>
><span style="color:#fff;font-size: 0.875rem;">{{$t('Common.see_details')}}</span></el-button>
</div>
</el-dialog>
......@@ -1195,7 +1195,7 @@ export default {
this.UploadPercent = 0
}
}).catch(() => {
this.$message.error(this.$t('FptxDr.server_error'))
this.$message.error(this.$t('Common.server_error'))
this.showProgress = false
this.UploadPercent = 0
})
......
......@@ -204,7 +204,7 @@ export default {
'appToken': me.appToken,
'token': me.userToken
},
}).then((res) => {
}).then(async (res) => {
me.btnLoading = false
if (res.data.code == 200) {
localStorage.setItem('token', res.data.token)
......@@ -219,9 +219,10 @@ export default {
this.$message.success(this.$t('Login.login_success_tip'))
//所在单位数据
this.$store.dispatch("ljk/_ljkRy") // 获取用户人员逻辑库JSON
this.$store.dispatch("ljk/_ljkAj") // 获取用户案件逻辑库JSON
this.$store.dispatch("ljk/_ljkAll") // 获取用户所有逻辑库名称NAME
await this.$store.dispatch("ljk/_ljkRy") // 获取用户人员逻辑库JSON
await this.$store.dispatch("ljk/_ljkAj") // 获取用户案件逻辑库JSON
await this.$store.dispatch("ljk/_ljkAll") // 获取用户所有逻辑库名称NAME
console.log(this.$store.state.ljk.targetOptions_ry);
this.$router.push("/index");
this.$bus.emit("goLogin");
this.$store.commit("layout/setMenu", res.data.auth);
......
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