Commit 6470ce4a by mr.wang

bug修复

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