Commit 6470ce4a by mr.wang

bug修复

parent 8b8c590c
......@@ -119,6 +119,7 @@ export default {
cxUrl4: String,
table: Boolean,
xxzjbh: String,
row: Object,
rxcc: Boolean, // 是否为人像串查
isDsw: Boolean // 是否为人像串查
},
......@@ -144,7 +145,13 @@ export default {
// 查询人像比中结果
getResult() {
this.loading = true
post(`${url.alyIP}${this.cxUrl}`, {xxzjbh:this.xxzjbh}).then(
const param = {
base64Img : 'data:image/jpeg;base64,' + this.row.ryzpDzwjnr,
threshold : '50',
topNumber: '10',
model: 'hainan'
}
post(`${url.alyIP}${this.cxUrl}`, param).then(
(res) => {
if (res.success) {
this.rows = res.data.rows
......
......@@ -806,6 +806,7 @@
</div>
<div v-else>
<el-image
class="new-image"
:preview-src-list="[
'data:image/jpeg;base64,' + scope.row[y.prop],
]"
......@@ -3553,4 +3554,7 @@ export default {
.zdycoltextare {
width: 99%;
}
::v-deep .new-image img{
width: 100px;
}
</style>
......@@ -33,7 +33,7 @@
width="180">
<template slot-scope="scope">
<el-button @click="sendBdjg(scope.row)" type="text" size="medium">发起比对</el-button>
<el-button v-if="scope.row.bdzt == '1' || scope.row.bdzt == '3'" type="text" size="medium" @click="showBdjg(scope.row.bdrwbh)">比对结果</el-button>
<el-button v-if="scope.row.bdzt == '1' || scope.row.bdzt == '3'" type="text" size="medium" @click="showBdjg(scope.row, scope.row.bdrwbh)">比对结果</el-button>
</template>
</el-table-column>
</el-table>
......@@ -46,10 +46,11 @@
<compare-info
@changeTable="changeTable"
:xxzjbh="xxzjbh"
:row="row"
:table="table"
:rxcc="rxcc"
:isDsw="isDsw"
cxUrl="/Rxbzrw/selectJglist"
cxUrl="/rxbdhc/getDswRxbdjg"
cxUrl2="/Rxbzrw/selectDetain"
cxUrl3='/Rxbzrw/updateRxbdrdById'
cxUrl4='/Rxbzrw/selectRdJglist'>
......@@ -73,6 +74,7 @@
rxcc: false,
isDsw: true,
table: false,
row: {},
xxzjbh: '',
tableData: [],
Url: '/Rxbzrw/getOracleRxrwList',
......@@ -95,7 +97,8 @@
this.loading = false
});
},
showBdjg(xxzjbh) {
showBdjg(row, xxzjbh) {
this.row = row
this.xxzjbh = xxzjbh
this.table = true
},
......
......@@ -43,7 +43,7 @@
:transformFormTable="transformFormTable"
>
<template #btnGroup="scope">
<el-button v-if="scope.scope.row.rdbs=='1'" @click="iamSure(scope.scope)" type="text">认 定</el-button>
<el-button v-if="scope.scope.row.rdbs=='未认定'" @click="iamSure(scope.scope)" type="text">认 定</el-button>
<el-button v-else type="text" disabled>认 定</el-button>
<!-- <el-button @click="dele1(scope.scope)" type="text">删除</el-button> -->
<!-- <el-button @click="edit1(scope.scope)" type="text">修改</el-button>
......
......@@ -48,7 +48,7 @@
:transformFormTable="transformFormTable"
>
<template #btnGroup="scope">
<el-button v-if="scope.scope.row.rdbs=='1'" @click="iamSure(scope.scope)" type="text">认 定</el-button>
<el-button v-if="scope.scope.row.rdbs=='未认定'" @click="iamSure(scope.scope)" type="text">认 定</el-button>
<el-button v-else type="text" disabled>认 定</el-button>
<!-- <el-button @click="dele1(scope.scope)" type="text">删除</el-button>
<el-button @click="edit 1(scope.scope)" type="text">修改</el-button> -->
......
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