|
@ -7,15 +7,15 @@
|
7
|
7
|
</div>
|
8
|
8
|
<div class="col-4 button-box" align="end">
|
9
|
9
|
<t-button color="primary" @click="getData">查询</t-button>
|
10
|
|
<t-button>重置</t-button>
|
|
10
|
<t-button @click="resetData">重置</t-button>
|
11
|
11
|
</div>
|
12
|
12
|
</div>
|
13
|
13
|
<div class="page-content">
|
14
|
14
|
<div class="distinguish">
|
15
|
|
识别图片<img class="distinguish-img" src="/static/images/demo.png">
|
|
15
|
识别图片<img :src="distinguishUrl" class="distinguish-img">
|
16
|
16
|
</div>
|
17
|
17
|
<div class="distinguish">
|
18
|
|
识别视频<img class="distinguish-img" src="/static/images/demo.png">
|
|
18
|
识别视频<img :src="distinguishUrl" class="distinguish-img">
|
19
|
19
|
</div>
|
20
|
20
|
</div>
|
21
|
21
|
<div class="page-bottom">
|
|
@ -23,10 +23,10 @@
|
23
|
23
|
识别结果
|
24
|
24
|
<div class="bottom-result">
|
25
|
25
|
<div class="page-top row-12">
|
26
|
|
<div class="result-txt col-6">设备位置:{{ devicePosition }}</div>
|
27
|
|
<div class="result-txt col-6">抓拍时间:{{ captureTIme }}</div>
|
|
26
|
<div class="result-txt col-6">设备位置:<span style="color:rgba(0, 0, 0, 0.65)">{{ devicePosition }}</span></div>
|
|
27
|
<div class="result-txt col-6">抓拍时间:<span style="color:rgba(0, 0, 0, 0.65)">{{ captureTIme }}</span></div>
|
28
|
28
|
</div>
|
29
|
|
<div class="result-txt" style="margin-top:24px">识别结果:{{ defineResult }}</div>
|
|
29
|
<div class="result-txt" style="margin-top:24px">识别结果:<span style="color:rgba(0, 0, 0, 0.65)">{{ defineResult }}</span></div>
|
30
|
30
|
</div>
|
31
|
31
|
</div>
|
32
|
32
|
<div class="img-viewer">
|
|
@ -49,6 +49,7 @@ export default {
|
49
|
49
|
captureTIme: '',
|
50
|
50
|
defineResult: '',
|
51
|
51
|
devicePosition: '',
|
|
52
|
distinguishUrl: '/static/images/demo.png',
|
52
|
53
|
dataImg: [
|
53
|
54
|
{
|
54
|
55
|
url: '/static/images/demo.png'
|
|
@ -95,6 +96,11 @@ export default {
|
95
|
96
|
this.defineResult = res.data.defineResult
|
96
|
97
|
this.captureTIme = res.data.captureTIme
|
97
|
98
|
})
|
|
99
|
},
|
|
100
|
// 重置数据
|
|
101
|
resetData() {
|
|
102
|
this.startDate = ''
|
|
103
|
this.endDate = ''
|
98
|
104
|
}
|
99
|
105
|
}
|
100
|
106
|
}
|