Commit cdef3d40 by tianlonglong

增加查看报告

1 parent 04f1ec2c
.resultPic[data-v-5a74fdc8]{border:1px solid #ddd;padding:0 10px}.pictures[data-v-5a74fdc8]{width:100%;margin-top:10px}.secondCondition[data-v-5a74fdc8]{display:inline-block}.resultContent[data-v-5a74fdc8]{overflow:auto;max-height:540px;min-height:300px;margin-bottom:10px}.boxInfo[data-v-5a74fdc8]{line-height:28px;margin-bottom:5px}.classBox[data-v-5a74fdc8]{margin:7px 0;border:1px solid #000;height:260px;overflow-y:hidden}.expand[data-v-5a74fdc8]{height:auto;overflow:auto}.expandWord[data-v-5a74fdc8]{color:#1890ff;margin-right:5px;cursor:pointer;float:right}.iconExpand[data-v-5a74fdc8]{cursor:pointer;float:right;color:#1890ff;margin-right:20px}.single-image[data-v-5a74fdc8]{width:100%;height:220px}.picBox[data-v-5a74fdc8]{position:relative}.picBox:hover .checkBox[data-v-5a74fdc8]{display:block}.checkBox[data-v-5a74fdc8]{display:none;width:80px;height:30px;position:absolute;left:0;top:0;right:0;bottom:0;margin:auto}.single-image[data-v-0020d14a]{width:100%;height:220px}.boxInfo[data-v-0020d14a]{line-height:28px;margin-bottom:10px}.checkBox[data-v-0020d14a]{margin-left:15px}.classBox[data-v-0020d14a]{margin-bottom:10px;border:1px solid #000;height:265px;overflow:hidden;padding:5px}.expand[data-v-0020d14a]{height:auto;overflow-y:auto}.expandWord[data-v-0020d14a]{color:#1890ff;margin-right:5px;cursor:pointer;float:right}.iconExpand[data-v-0020d14a]{cursor:pointer;float:right;color:#1890ff;margin-right:20px}.active[data-v-8be59f66]{border:2px solid #40a9ff}.regBox[data-v-8be59f66]{height:300px;overflow-y:auto;overflow-x:hidden}.hitBox[data-v-8be59f66]{position:relative}.delHitPic[data-v-8be59f66]{position:absolute;right:0;top:0;color:#1890ff;font-size:28px}.secondCondition[data-v-8be59f66]{margin-right:5px!important}.identifyResultTable[data-v-8be59f66]{overflow-y:auto}.pictureBox[data-v-8be59f66]{position:relative;cursor:pointer}.btnPic[data-v-8be59f66]{display:none;position:absolute;top:0;right:0;left:0;bottom:0;margin:auto}.pictureBox:hover .btnPic[data-v-8be59f66]{display:block;width:100px;height:100px}.checkBox[data-v-8be59f66]{width:100px;height:30px;margin-left:0!important;margin-bottom:10px}.score[data-v-8be59f66]{position:absolute;right:10px;top:0;color:red;font-weight:900;font-size:18px}.iconPic[data-v-8be59f66]{position:absolute;right:0;top:0;color:#1890ff;font-size:28px}.single-image[data-v-8be59f66]{width:100%;height:200px}.box[data-v-8be59f66],.containter[data-v-8be59f66],.contentBox[data-v-8be59f66]{height:100%}.boxRight[data-v-8be59f66]{border-left:5px solid #ccc;padding-left:5px}.btns[data-v-8be59f66]{text-align:right;margin-top:10px;margin-right:15px}.btn[data-v-8be59f66]{margin-left:10px}
\ No newline at end of file
.resultPic[data-v-41d51f98]{border:1px solid #ddd;padding:0 10px}.pictures[data-v-41d51f98]{width:100%;margin-top:10px}.secondCondition[data-v-41d51f98]{display:inline-block}.resultContent[data-v-41d51f98]{overflow:auto;max-height:540px;min-height:300px;margin-bottom:10px}.boxInfo[data-v-41d51f98]{line-height:28px;margin-bottom:5px}.classBox[data-v-41d51f98]{margin:7px 0;border:1px solid #000;height:260px;overflow-y:hidden}.expand[data-v-41d51f98]{height:auto;overflow:auto}.expandWord[data-v-41d51f98]{color:#1890ff;margin-right:5px;cursor:pointer;float:right}.iconExpand[data-v-41d51f98]{cursor:pointer;float:right;color:#1890ff;margin-right:20px}.single-image[data-v-41d51f98]{width:100%;height:220px}.picBox[data-v-41d51f98]{position:relative}.picBox:hover .checkBox[data-v-41d51f98]{display:block}.checkBox[data-v-41d51f98]{display:none;width:80px;height:30px;position:absolute;left:0;top:0;right:0;bottom:0;margin:auto}.single-image[data-v-21f1d6de]{width:100%;height:220px}.boxInfo[data-v-21f1d6de]{line-height:28px;margin-bottom:10px}.checkBox[data-v-21f1d6de]{margin-left:15px}.classBox[data-v-21f1d6de]{margin-bottom:10px;border:1px solid #000;height:265px;overflow:hidden;padding:5px}.expand[data-v-21f1d6de]{height:auto;overflow-y:auto}.expandWord[data-v-21f1d6de]{color:#1890ff;margin-right:5px;cursor:pointer;float:right}.iconExpand[data-v-21f1d6de]{cursor:pointer;float:right;color:#1890ff;margin-right:20px}.active[data-v-745c0dec]{border:2px solid #40a9ff}.regBox[data-v-745c0dec]{height:300px;overflow-y:auto;overflow-x:hidden}.hitBox[data-v-745c0dec]{position:relative}.delHitPic[data-v-745c0dec]{position:absolute;right:0;top:0;color:#1890ff;font-size:28px}.secondCondition[data-v-745c0dec]{margin-right:5px!important}.identifyResultTable[data-v-745c0dec]{overflow-y:auto}.pictureBox[data-v-745c0dec]{position:relative;cursor:pointer}.btnPic[data-v-745c0dec]{display:none;position:absolute;top:0;right:0;left:0;bottom:0;margin:auto}.pictureBox:hover .btnPic[data-v-745c0dec]{display:block;width:100px;height:100px}.checkBox[data-v-745c0dec]{width:100px;height:30px;margin-left:0!important;margin-bottom:10px}.score[data-v-745c0dec]{position:absolute;right:10px;top:0;color:red;font-weight:900;font-size:18px}.iconPic[data-v-745c0dec]{position:absolute;right:0;top:0;color:#1890ff;font-size:28px}.single-image[data-v-745c0dec]{width:100%;height:200px}.box[data-v-745c0dec],.containter[data-v-745c0dec],.contentBox[data-v-745c0dec]{height:100%}.boxRight[data-v-745c0dec]{border-left:5px solid #ccc;padding-left:5px}.btns[data-v-745c0dec]{text-align:right;margin-top:10px;margin-right:15px}.btn[data-v-745c0dec]{margin-left:10px}
\ No newline at end of file
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="logo.png"><title>tools</title><script src="config.js"></script><link href="css/chunk-0361d0b6.5b4f64f0.css" rel="prefetch"><link href="css/chunk-150ec2fa.148b09b7.css" rel="prefetch"><link href="css/chunk-1b380c13.5b4f64f0.css" rel="prefetch"><link href="css/chunk-28e98f5e.5b4f64f0.css" rel="prefetch"><link href="css/chunk-301c0ce2.4e859c14.css" rel="prefetch"><link href="css/chunk-345e515a.436ffd71.css" rel="prefetch"><link href="css/chunk-46fd989a.18a9baf6.css" rel="prefetch"><link href="css/chunk-50f27236.32d33c6c.css" rel="prefetch"><link href="css/chunk-5d3f07e9.0c33a0ee.css" rel="prefetch"><link href="css/chunk-6236aa01.6dfcf3dc.css" rel="prefetch"><link href="css/chunk-7160d008.18af0163.css" rel="prefetch"><link href="css/chunk-74700eb0.79bfc701.css" rel="prefetch"><link href="css/chunk-f6efcd8e.5722fa14.css" rel="prefetch"><link href="js/chunk-0361d0b6.4409ff25.js" rel="prefetch"><link href="js/chunk-144c996e.b1f131a5.js" rel="prefetch"><link href="js/chunk-150ec2fa.8b717d0d.js" rel="prefetch"><link href="js/chunk-1b380c13.757b1c6f.js" rel="prefetch"><link href="js/chunk-28e98f5e.5012d40a.js" rel="prefetch"><link href="js/chunk-2d21b108.07b8436b.js" rel="prefetch"><link href="js/chunk-301c0ce2.3b3a06ee.js" rel="prefetch"><link href="js/chunk-345e515a.cefa4d57.js" rel="prefetch"><link href="js/chunk-46fd989a.8be14a41.js" rel="prefetch"><link href="js/chunk-50f27236.e0a1a00d.js" rel="prefetch"><link href="js/chunk-5d3f07e9.9b89d1fa.js" rel="prefetch"><link href="js/chunk-5dc6092e.71fb9b51.js" rel="prefetch"><link href="js/chunk-619a39b4.fad9ebbd.js" rel="prefetch"><link href="js/chunk-6236aa01.39401447.js" rel="prefetch"><link href="js/chunk-7160d008.1ead3219.js" rel="prefetch"><link href="js/chunk-74700eb0.38111593.js" rel="prefetch"><link href="js/chunk-7cc3643e.232aa0c6.js" rel="prefetch"><link href="js/chunk-e2ba07ae.7609fa1e.js" rel="prefetch"><link href="js/chunk-f6efcd8e.a9f0dbc7.js" rel="prefetch"><link href="css/app.997cda54.css" rel="preload" as="style"><link href="css/chunk-vendors.4472a901.css" rel="preload" as="style"><link href="js/app.93a306a7.js" rel="preload" as="script"><link href="js/chunk-vendors.c9da1582.js" rel="preload" as="script"><link href="css/chunk-vendors.4472a901.css" rel="stylesheet"><link href="css/app.997cda54.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but vion-tools doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="js/chunk-vendors.c9da1582.js"></script><script src="js/app.93a306a7.js"></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="logo.png"><title>tools</title><script src="config.js"></script><link href="css/chunk-0361d0b6.5b4f64f0.css" rel="prefetch"><link href="css/chunk-150ec2fa.148b09b7.css" rel="prefetch"><link href="css/chunk-1b380c13.5b4f64f0.css" rel="prefetch"><link href="css/chunk-28372132.3e5d333d.css" rel="prefetch"><link href="css/chunk-28e98f5e.5b4f64f0.css" rel="prefetch"><link href="css/chunk-345e515a.436ffd71.css" rel="prefetch"><link href="css/chunk-46fd989a.18a9baf6.css" rel="prefetch"><link href="css/chunk-50f27236.32d33c6c.css" rel="prefetch"><link href="css/chunk-5d3f07e9.0c33a0ee.css" rel="prefetch"><link href="css/chunk-6236aa01.6dfcf3dc.css" rel="prefetch"><link href="css/chunk-7160d008.18af0163.css" rel="prefetch"><link href="css/chunk-74700eb0.79bfc701.css" rel="prefetch"><link href="css/chunk-f6efcd8e.5722fa14.css" rel="prefetch"><link href="js/chunk-0361d0b6.4409ff25.js" rel="prefetch"><link href="js/chunk-144c996e.5c29f31e.js" rel="prefetch"><link href="js/chunk-150ec2fa.8b717d0d.js" rel="prefetch"><link href="js/chunk-1b380c13.757b1c6f.js" rel="prefetch"><link href="js/chunk-28372132.5b651177.js" rel="prefetch"><link href="js/chunk-28e98f5e.5012d40a.js" rel="prefetch"><link href="js/chunk-2d21b108.07b8436b.js" rel="prefetch"><link href="js/chunk-345e515a.cefa4d57.js" rel="prefetch"><link href="js/chunk-46fd989a.8be14a41.js" rel="prefetch"><link href="js/chunk-50f27236.e0a1a00d.js" rel="prefetch"><link href="js/chunk-5d3f07e9.9b89d1fa.js" rel="prefetch"><link href="js/chunk-5dc6092e.71fb9b51.js" rel="prefetch"><link href="js/chunk-619a39b4.fad9ebbd.js" rel="prefetch"><link href="js/chunk-6236aa01.39401447.js" rel="prefetch"><link href="js/chunk-7160d008.1ead3219.js" rel="prefetch"><link href="js/chunk-74700eb0.38111593.js" rel="prefetch"><link href="js/chunk-7cc3643e.232aa0c6.js" rel="prefetch"><link href="js/chunk-e2ba07ae.7609fa1e.js" rel="prefetch"><link href="js/chunk-f6efcd8e.a9f0dbc7.js" rel="prefetch"><link href="css/app.997cda54.css" rel="preload" as="style"><link href="css/chunk-vendors.4472a901.css" rel="preload" as="style"><link href="js/app.cb2fea37.js" rel="preload" as="script"><link href="js/chunk-vendors.611f93ab.js" rel="preload" as="script"><link href="css/chunk-vendors.4472a901.css" rel="stylesheet"><link href="css/app.997cda54.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but vion-tools doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="js/chunk-vendors.611f93ab.js"></script><script src="js/app.cb2fea37.js"></script></body></html>
\ No newline at end of file
......@@ -20,6 +20,7 @@
"lodash": "^4.17.21",
"moment": "^2.29.1",
"vue": "^3.2.27",
"vue-photo-zoom-pro": "^3.0.1",
"vue-router": "^4.0.8",
"vuex": "^4.0.0"
},
......
......@@ -14,7 +14,7 @@ const axiosInstance = axios.create(
// 请求拦截器
axiosInstance.interceptors.request.use(
config => {
// Cookies.set('atoken','7150be77-f099-4a63-90c5-ef9cc6b51137')
// Cookies.set('atoken','1f458b21-9785-41d7-822c-a4565463c9ed')
if(!Cookies.get('atoken')){
ElMessage({
message: `登录过期,请重新登录`,
......
......@@ -2,6 +2,7 @@ import {createApp} from 'vue'
import App from './App.vue'
import Antd from 'ant-design-vue'
import 'ant-design-vue/dist/antd.css'
import VuePhotoZoomPro from 'vue-photo-zoom-pro'
import router from './router'
import store from './store'
import installElementPlus from './plugins/element'
......@@ -9,6 +10,7 @@ import installElementPlus from './plugins/element'
const app = createApp(App)
installElementPlus(app)
app.use(store)
app.use(VuePhotoZoomPro)
app.use(router)
app.use(Antd)
app.mount('#app')
......@@ -80,6 +80,15 @@ class FeatureMatchingAccuracy {
}
)
}
getfeatureReport(data){
return axiosInstance.request(
{
method: 'GET',
url: `/feature/match/report`,
params: data
}
)
}
getMatchHit(data){
return axiosInstance.request(
{
......@@ -88,6 +97,14 @@ class FeatureMatchingAccuracy {
}
)
}
GetmatchPrecision(data){
return axiosInstance.request(
{
method: 'GET',
url: `/feature/match/precision/${data.regId}/${data.personUnid}`,
}
)
}
delMatchSample(data){
return axiosInstance.request(
{
......
......@@ -17,6 +17,9 @@
人id:{{ ' ' + person.personId }}
图片数量:{{ person.count }}
<el-radio class="checkBox" v-model="checked" :label="person.personId">以此为对比项</el-radio>
<el-button @click="selectRate(person)" size="mini" type="primary" style="margin-right: 10px;">查询精度</el-button>
<span v-if="person.personId==currentpersonId">准确率:{{results.correctRate}}</span>
<span v-if="person.personId==currentpersonId" style="margin-left: 10px;">召回率:{{results.recallRate}}</span>
</div>
<el-row :gutter="10">
<el-col :span="3" v-for="item in person.records">
......@@ -48,6 +51,8 @@ export default {
setup(props,context) {
const isVisible = ref(false);
const isLoading = ref(false)
const results=ref({})
const currentpersonId=ref('')
const accountId = ref('');
const mallId = ref('');
const checked = ref('');
......@@ -101,8 +106,22 @@ export default {
}
)
}
const selectRate=(row)=>{
console.log(row ,regId.value )
currentpersonId.value=row.personId
FeatureMatchingAccuracyApi.GetmatchPrecision({
regId:regId.value,
personUnid:row.personId
}).then(res=>{
console.log(res,'66666')
results.value=res
})
}
return {
isVisible,
selectRate,
currentpersonId,
results,
onCancel,
onConfirm,
initDialog,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!