Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
罗鑫霖
/
vion-tools
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b6694db2
authored
Jan 18, 2022
by
李金轩
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
ljx
1 parent
1f6327c1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
29 deletions
src/views/SnapshotCluster/ClusterResult/ClusterResult.vue
src/views/SnapshotCluster/ClusterResult/ClusterResultApi.js
src/views/SnapshotCluster/SnapshotRecord/SnapshotRecord.vue
src/views/SnapshotCluster/ClusterResult/ClusterResult.vue
View file @
b6694db
This diff is collapsed.
Click to expand it.
src/views/SnapshotCluster/ClusterResult/ClusterResultApi.js
View file @
b6694db
...
...
@@ -6,7 +6,7 @@ class ClusterResultApi {
return
axiosInstance
.
request
(
{
method
:
'GET'
,
url
:
`/faceRecognitions/faceRecord`
,
url
:
`/faceRecognitions/faceRecord
Group
`
,
params
:
filterEmptyValueInObject
(
data
)
...
...
src/views/SnapshotCluster/SnapshotRecord/SnapshotRecord.vue
View file @
b6694db
<
template
>
<a-form
:model=
"query
AlarmEvent
Form"
layout=
"inline"
>
<a-form
:model=
"query
SnapshotRecord
Form"
layout=
"inline"
>
<a-form-item
label=
"集团:"
>
<a-select
v-model:value=
"query
AlarmEvent
Form.account_id"
<a-select
v-model:value=
"query
SnapshotRecord
Form.account_id"
style=
"width: 200px"
mode=
"multiple"
:maxTagCount=
"1"
...
...
@@ -16,7 +16,7 @@
</a-select>
</a-form-item>
<a-form-item
label=
"广场:"
>
<a-select
v-model:value=
"query
AlarmEvent
Form.plaza_id"
<a-select
v-model:value=
"query
SnapshotRecord
Form.plaza_id"
style=
"width: 200px"
mode=
"multiple"
:maxTagCount=
"1"
...
...
@@ -30,7 +30,7 @@
</a-select>
</a-form-item>
<a-form-item
label=
"出入类型:"
>
<a-select
v-model:value=
"query
AlarmEvent
Form.type"
style=
"width: 200px"
>
<a-select
v-model:value=
"query
SnapshotRecord
Form.type"
style=
"width: 200px"
>
<a-select-option
:value=
"0"
>
全场
</a-select-option>
<a-select-option
:value=
"1"
>
广场出入口
</a-select-option>
<a-select-option
:value=
"2"
>
楼层出入口
</a-select-option>
...
...
@@ -39,7 +39,7 @@
</a-select>
</a-form-item>
<a-form-item
label=
"区域信息:"
>
<a-select
v-model:value=
"query
AlarmEvent
Form.zone_id"
<a-select
v-model:value=
"query
SnapshotRecord
Form.zone_id"
style=
"width: 200px"
mode=
"multiple"
:maxTagCount=
"1"
...
...
@@ -53,7 +53,7 @@
</a-select>
</a-form-item>
<a-form-item
label=
"监控点:"
>
<a-select
v-model:value=
"query
AlarmEvent
Form.gate_id"
<a-select
v-model:value=
"query
SnapshotRecord
Form.gate_id"
style=
"width: 200px"
mode=
"multiple"
:maxTagCount=
"1"
>
...
...
@@ -66,7 +66,7 @@
</a-select>
</a-form-item>
<a-form-item
label=
"方向:"
>
<a-select
v-model:value=
"query
AlarmEvent
Form.direction"
<a-select
v-model:value=
"query
SnapshotRecord
Form.direction"
mode=
"multiple"
:maxTagCount=
"1"
style=
"width: 200px"
>
...
...
@@ -76,13 +76,13 @@
</a-select>
</a-form-item>
<a-form-item
label=
"抓怕类型:"
>
<a-select
v-model:value=
"query
AlarmEvent
Form.picType"
style=
"width: 200px"
>
<a-select
v-model:value=
"query
SnapshotRecord
Form.picType"
style=
"width: 200px"
>
<a-select-option
:value=
"1"
>
半身照
</a-select-option>
<a-select-option
:value=
"2"
>
全身照
</a-select-option>
</a-select>
</a-form-item>
<a-form-item
label=
"人员类型:"
>
<a-select
v-model:value=
"query
AlarmEvent
Form.personType"
<a-select
v-model:value=
"query
SnapshotRecord
Form.personType"
mode=
"multiple"
:maxTagCount=
"1"
style=
"width: 200px"
>
...
...
@@ -91,14 +91,14 @@
</a-select>
</a-form-item>
<a-form-item
label=
"选择日期:"
>
<a-date-picker
v-model:value=
"query
AlarmEvent
Form.date"
:format=
"'YYYY-MM-DD'"
/>
<a-date-picker
v-model:value=
"query
SnapshotRecord
Form.date"
:format=
"'YYYY-MM-DD'"
/>
</a-form-item>
<a-form-item
label=
"选择时间:"
>
<a-time-picker
v-model:value=
"query
AlarmEvent
Form.startTime"
/>
<a-time-picker
v-model:value=
"query
AlarmEvent
Form.endTime"
/>
<a-time-picker
v-model:value=
"query
SnapshotRecord
Form.startTime"
/>
<a-time-picker
v-model:value=
"query
SnapshotRecord
Form.endTime"
/>
</a-form-item>
<a-form-item>
<a-button
type=
"primary"
@
click=
"confirmSearch"
>
查询
</a-button>
<a-button
type=
"primary"
@
click=
"confirmSearch"
:loading=
"isLoading"
>
查询
</a-button>
</a-form-item>
</a-form>
...
...
@@ -113,7 +113,7 @@
</span>
</div>
<el-image
:src=
"item.picture_url"
:fit=
"'
contain
'"
:fit=
"'
fill
'"
class=
"single-image"
>
</el-image>
<div>
时间:
{{
item
.
counttime
}}
</div>
...
...
@@ -165,7 +165,7 @@ export default {
}
)
const
query
AlarmEvent
Form
=
reactive
(
const
query
SnapshotRecord
Form
=
reactive
(
{
account_id
:
[],
plaza_id
:
[],
...
...
@@ -212,11 +212,11 @@ export default {
}
const
getPlazaList
=
function
()
{
query
AlarmEvent
Form
.
plaza_id
=
[]
query
SnapshotRecord
Form
.
plaza_id
=
[]
plazaList
.
value
=
[]
snapshotRecordApi
.
getPlazaList
(
{
account_id
:
query
AlarmEvent
Form
.
account_id
.
toString
()
account_id
:
query
SnapshotRecord
Form
.
account_id
.
toString
()
}
).
then
(
(
r
)
=>
{
...
...
@@ -229,12 +229,12 @@ export default {
}
const
getZoneList
=
function
()
{
query
AlarmEvent
Form
.
zone_id
=
[]
query
SnapshotRecord
Form
.
zone_id
=
[]
zoneList
.
value
=
[]
snapshotRecordApi
.
getZoneList
(
{
account_id
:
query
AlarmEvent
Form
.
account_id
.
toString
(),
plaza_id
:
query
AlarmEvent
Form
.
plaza_id
.
toString
(),
account_id
:
query
SnapshotRecord
Form
.
account_id
.
toString
(),
plaza_id
:
query
SnapshotRecord
Form
.
plaza_id
.
toString
(),
}
).
then
(
(
r
)
=>
{
...
...
@@ -247,14 +247,14 @@ export default {
}
const
getGateList
=
function
()
{
query
AlarmEvent
Form
.
gate_id
=
[]
query
SnapshotRecord
Form
.
gate_id
=
[]
gateList
.
value
=
[]
snapshotRecordApi
.
getGateList
(
{
account_id
:
query
AlarmEvent
Form
.
account_id
.
toString
(),
plaza_id
:
query
AlarmEvent
Form
.
plaza_id
.
toString
(),
zone_id
:
query
AlarmEvent
Form
.
zone_id
.
toString
(),
type
:
query
AlarmEvent
Form
.
type
,
account_id
:
query
SnapshotRecord
Form
.
account_id
.
toString
(),
plaza_id
:
query
SnapshotRecord
Form
.
plaza_id
.
toString
(),
zone_id
:
query
SnapshotRecord
Form
.
zone_id
.
toString
(),
type
:
query
SnapshotRecord
Form
.
type
,
}
).
then
(
(
r
)
=>
{
...
...
@@ -267,7 +267,7 @@ export default {
}
const
getAccountList
=
function
()
{
query
AlarmEvent
Form
.
account_id
=
[]
query
SnapshotRecord
Form
.
account_id
=
[]
accountList
.
value
=
[]
snapshotRecordApi
.
getAccountList
().
then
(
(
r
)
=>
{
...
...
@@ -281,7 +281,7 @@ export default {
const
confirmSearch
=
function
()
{
isLoading
.
value
=
true
const
rawData
=
toRaw
(
query
AlarmEvent
Form
)
const
rawData
=
toRaw
(
query
SnapshotRecord
Form
)
const
data
=
filterEmptyValueInObject
(
{
account_id
:
rawData
.
account_id
.
toString
(),
...
...
@@ -354,7 +354,7 @@ export default {
gateList
,
pagedTableDataList
,
// mapping
query
AlarmEvent
Form
,
query
SnapshotRecord
Form
,
// function
onPageNumChange
,
onPageSizeChange
,
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment