Commit d6ccb0ec by yuhao

添加线索比对认定

parent 48ec678a
......@@ -66,38 +66,42 @@ export const ZjZjbzxxSelectDetail = params =>
export const DnabzrwSaveDswDnabzrw = params =>
postform(`${base.alyIP}/Dnabzrw/saveDswDnabzrw`, params);
//删除dna比对
export const DnabzrwDeleteDnarwById= params =>
export const DnabzrwDeleteDnarwById = params =>
post(`${base.alyIP}/Dnabzrw/deleteDnarwById`, params);
//dna比对操作按钮
export const DnabzrwUpdateDnabdById= params =>
export const DnabzrwUpdateDnabdById = params =>
post(`${base.alyIP}/Dnabzrw/updateDnabdById`, params);
// 新增DNA关系结果信息
export const dnabzhcInsertDnabzjg= params =>
export const dnabzhcInsertDnabzjg = params =>
postform(`${base.alyIP}/dnabzhc/insertDnabzjg`, params);
// 新增DNA关系结果信息(new)
export const insertDnabzjg= params =>
export const insertDnabzjg = params =>
postform(`${base.alyIP}/dnabz/insertDnabzjg`, params);
//DNA比中关系删除
export const dnabzhcDeleteDnabzjgById= params =>
export const dnabzhcDeleteDnabzjgById = params =>
post(`${base.alyIP}/dnabzhc/deleteDnabzjgById`, params);
//DNA比中结果详情
export const dnabzhcSelectDetail= params =>
export const dnabzhcSelectDetail = params =>
postform(`${base.alyIP}/dnabzhc/selectDetail`, params);
//DNA比中结果修改
export const dnabzhcUpdateDnabzjg = params =>
postform(`${base.alyIP}/dnabzhc/updateDnabzjg`, params);
//DNA比中关系删除
//DNA比中关系删除
export const fqRxbdrwForm = params =>
post(`${base.alyIP}/rxbdhc/fqRxbdrw`, params);
post(`${base.alyIP}/rxbdhc/fqRxbdrw`, params);
//DNA比中关系删除
export const checkBzZtFrom = params =>
//DNA比中关系删除
export const checkBzZtFrom = params =>
post(`${base.alyIP}/rxbdhc/checkBzZt`, params);
//DNA比中关系删除
export const getRxbdjgByTaskId = params =>
post(`${base.alyIP}/rxbdhc/getRxbdjgByTaskId`, params);
\ No newline at end of file
//DNA比中关系删除
export const getRxbdjgByTaskId = params =>
post(`${base.alyIP}/rxbdhc/getRxbdjgByTaskId`, params);
//比中
export const commitResult = params =>
postform(`${base.alyIP}/rxbdhc/commitResult`, params);
\ No newline at end of file
<template>
<div>
<span
style="
<span style="
font-size: 16px;
font-weight: 800;
position: relative;
top: -52px;
left: 22px;
"
>人像比对信息</span
>
">人像比对信息</span>
<div class="ContentRight">
<div class="left">
<el-image
style="margin: 0 14px; height: 180px"
:src="zpPhoto"
></el-image>
<el-image style="margin: 0 14px; height: 180px"
:src="zpPhoto"></el-image>
<el-button @click="zcBdOnsubmit">再次比对</el-button>
</div>
<div
ref="jo"
:style="{ 'height': screenHeight + 'px' }"
class="right"
>
<div
class="rightContent"
v-for="(item, index) in bzjgxxList"
:key="index"
>
<div ref="jo"
:style="{ 'height': screenHeight + 'px' }"
class="right">
<div class="rightContent"
v-for="(item, index) in bzjgxxList"
:key="index">
<div class="leftPhoto">
<el-image
@click="Images(item.zp)"
style="height: 130px"
:src="'data:image/gif;base64,' + item.zp"
></el-image>
<el-image @click="Images(item.zp)"
style="height: 130px"
:src="'data:image/gif;base64,' + item.zp"></el-image>
</div>
<div class="rightPhoto">
<div class="wz">
......@@ -56,27 +45,30 @@
<span class="wzId">住址: </span>
<span class="wzName">{{ item.nativePlace }}</span>
</div>
<div class="wz">
<!-- -->
<el-button type="primary"
:disabled="item.sfrd==1?true:false"
@click="rdBtn(item)"
size="mini">{{item.sfrd==1?'已认定':'认定'}}</el-button>
</div>
</div>
</div>
</div>
</div>
<!-- -->
<el-dialog
title="人像对象信息"
:append-to-body="true"
:visible.sync="dialogVisible"
width="800px"
>
<el-dialog title="人像对象信息"
:append-to-body="true"
:visible.sync="dialogVisible"
width="800px">
<div style="display: flex; margin: 20px">
<div style="width: 45%; margin-right: 62px">
<div style="text-align: center; font-size: 16px; font-weight: 600">
原图
</div>
<div>
<el-image
style="margin: 0px 22px; height: 350px; width: 287px"
:src="zpPhoto"
></el-image>
<el-image style="margin: 0px 22px; height: 350px; width: 287px"
:src="zpPhoto"></el-image>
</div>
</div>
<div style="width: 45%; margin-right: 62px">
......@@ -84,10 +76,8 @@
对比图
</div>
<div>
<el-image
style="margin: 0px 22px; height: 350px; width: 287px"
:src="zpxx"
></el-image>
<el-image style="margin: 0px 22px; height: 350px; width: 287px"
:src="zpxx"></el-image>
</div>
</div>
</div>
......@@ -106,7 +96,7 @@ export default {
default: () => [],
},
},
data() {
data () {
return {
screenHeight: document.body.clientHeight - 100,
dialogVisible: false,
......@@ -116,14 +106,25 @@ export default {
heightShow: false,
};
},
created() {
created () {
// this.getFqRxbdjgList();
},
methods: {
zcBdOnsubmit() {
async rdBtn (rows) {
let parmas = new FormData()
parmas.append('xxzjbh', this.taskIdJg)
parmas.append('taskId', rows.taskid)
parmas.append('jgXxzjbh', rows.xxzjbh)
let res = await commitResult(parmas)
if (res) {
console.log(this.$parent, this.$parent.$parent, 11);
this.$parent.$parent.getFqRxbdjgList()
}
},
zcBdOnsubmit () {
this.$emit("zcBdOnsubmit");
},
Images(zp) {
Images (zp) {
this.zpxx = "data:image/gif;base64," + zp;
this.dialogVisible = true;
},
......@@ -143,7 +144,7 @@ export default {
// });
// },
},
mounted() {
mounted () {
debugger;
let self = this;
// setTimeout(() => {
......@@ -171,7 +172,7 @@ export default {
};
},
watch: {
screenHeight(val) {
screenHeight (val) {
// 为了避免频繁触发resize函数导致页面卡顿,使用定时器
if (!this.timer) {
// 一旦监听到的screenWidth值改变,就将其重新赋给data里的screenWidth
......
......@@ -1110,7 +1110,7 @@ export default {
});
} else {
loading.close();
this.$message.error("添加失败,请检查数据格式是否正确");
this.$message.error("推送失败");
}
});
},
......
......@@ -58,7 +58,7 @@ module.exports = {
},
proxy: {
"/apialy": {
target: "http://192.168.1.110:8762", //西藏: https://155.1.33.10:20010/ 阿里云:http://39.99.155.173:9022
target: "http://192.168.1.104:8762", //西藏: https://155.1.33.10:20010/ 阿里云:http://39.99.155.173:9022
// ws: true,
changeOrigin: true,
secure: false,
......
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