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 e68b0a64
authored
Jun 29, 2023
by
李君
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
人员特征重提
1 parent
d0938347
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
24 additions
and
7 deletions
src/Request/PublicAxiosInstance.js
src/views/FeatureReExtract/FeatureReExtract.vue
src/views/FeatureReExtract/FeatureReExtractApi.js
src/views/SnapshotCluster/ClusterResult/ClusterResult.vue
src/views/SnapshotCluster/SnapshotRecord/SnapshotRecord.vue
src/Request/PublicAxiosInstance.js
View file @
e68b0a6
...
...
@@ -14,7 +14,7 @@ const axiosInstance = axios.create(
// 请求拦截器
axiosInstance
.
interceptors
.
request
.
use
(
config
=>
{
// Cookies.set('atoken','
3d0d2714-b43a-4ea2-9364-663db02c2ec6
')
// Cookies.set('atoken','
e433d448-d61e-4aba-9a3e-06c2fcb4a7e5
')
if
(
!
Cookies
.
get
(
'atoken'
)){
ElMessage
({
message
:
`登录过期,请重新登录`
,
...
...
src/views/FeatureReExtract/FeatureReExtract.vue
View file @
e68b0a6
...
...
@@ -28,10 +28,11 @@
<a-select-option
:value=
"0"
>
人脸+全身照特征
</a-select-option>
<a-select-option
:value=
"1"
>
人脸特征
</a-select-option>
<a-select-option
:value=
"2"
>
全身照特征
</a-select-option>
<a-select-option
:value=
"3"
>
店员特征
</a-select-option>
<a-select-option
:value=
"3"
>
店员特征(人脸+人体)
</a-select-option>
<a-select-option
:value=
"4"
>
人员特征(人脸+人体)
</a-select-option>
</a-select>
</a-form-item>
<a-form-item
label=
"选择日期:"
v-if=
"queryForm.featureRevisitType
!==
3"
style=
"padding: 5px 0"
>
<a-form-item
label=
"选择日期:"
v-if=
"queryForm.featureRevisitType
<
3
"
style=
"padding: 5px 0"
>
<a-date-picker
v-model:value=
"queryForm.date"
style=
"width: 280px"
/>
</a-form-item>
<a-form-item
style=
"padding: 5px 0"
>
...
...
@@ -218,14 +219,20 @@ export default {
}
featureReExtractApi
.
getFeatureResult
(
data
)
}
else
{
else
if
(
rawData
.
featureRevisitType
==
3
){
const
data
=
{
mallIds
:
rawData
.
plaza_id
,
featureType
:
rawData
.
featureRevisitType
,
scheduleType
:
`revisitFeature
${
rawData
.
featureRevisitType
}
`
,
}
featureReExtractApi
.
getStaffFeatureResult
(
data
)
}
else
{
const
data
=
{
mallIds
:
rawData
.
plaza_id
,
featureType
:
rawData
.
featureRevisitType
,
scheduleType
:
`revisitFeature
${
rawData
.
featureRevisitType
}
`
,
}
featureReExtractApi
.
getPersonFeatureResult
(
data
)
}
}
...
...
src/views/FeatureReExtract/FeatureReExtractApi.js
View file @
e68b0a6
...
...
@@ -22,6 +22,16 @@ class FeatureReExtractApi {
)
}
getPersonFeatureResult
(
data
){
return
axiosInstance
.
request
(
{
method
:
'POST'
,
url
:
`/person/reFeature`
,
data
:
data
}
)
}
}
const
featureReExtractApi
=
new
FeatureReExtractApi
()
...
...
src/views/SnapshotCluster/ClusterResult/ClusterResult.vue
View file @
e68b0a6
...
...
@@ -238,7 +238,7 @@ export default {
endTime
:
moment
(
'23:59:59'
,
'HH:mm:ss'
),
minPic
:
0
,
maxPic
:
100
,
childAdult
:[
1
,
-
1
,
0
],
childAdult
:[],
}
)
const
searchCondition
=
ref
({})
...
...
src/views/SnapshotCluster/SnapshotRecord/SnapshotRecord.vue
View file @
e68b0a6
...
...
@@ -202,7 +202,7 @@ export default {
date
:
moment
(
moment
().
format
(
'YYYY-MM-DD'
),
'YYYY-MM-DD'
),
startTime
:
moment
(
'00:00:00'
,
'HH:mm:ss'
),
endTime
:
moment
(
'23:59:59'
,
'HH:mm:ss'
),
childAdult
:[
1
,
-
1
,
0
],
childAdult
:[],
}
)
const
searchCondition
=
ref
({})
...
...
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