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 a74d8604
authored
Mar 25, 2020
by
周志凯
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[feat]: add staff-feature option
1 parent
a0ba962c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
7 deletions
static/index.html
static/index.html
View file @
a74d860
...
@@ -697,8 +697,9 @@
...
@@ -697,8 +697,9 @@
</el-select>
</el-select>
</div>
</div>
<div
class=
"query-item"
>
<div
class=
"query-item"
>
<span
class=
"query-item__title"
>
日期 :
</span>
<span
v-show=
"featureRevisitType !== 3"
class=
"query-item__title"
>
日期 :
</span>
<el-date-picker
<el-date-picker
v-show=
"featureRevisitType !== 3"
v-model=
"query.dateVal"
v-model=
"query.dateVal"
type=
"date"
type=
"date"
value-format=
"yyyy-MM-dd"
value-format=
"yyyy-MM-dd"
...
@@ -707,7 +708,7 @@
...
@@ -707,7 +708,7 @@
></el-date-picker>
></el-date-picker>
<el-button
<el-button
type=
"primary"
type=
"primary"
class=
"query-button
"
:class=
"featureRevisitType === 1 ? '' : 'query-button'
"
@
click=
"onSearchClick"
@
click=
"onSearchClick"
>
开 始
</el-button>
>
开 始
</el-button>
</div>
</div>
...
@@ -1113,9 +1114,10 @@
...
@@ -1113,9 +1114,10 @@
featureLibRebuildType
:
1
,
featureLibRebuildType
:
1
,
rematchPersonType
:
1
,
rematchPersonType
:
1
,
featureRevisitList
:
[
featureRevisitList
:
[
{
label
:
'全身照特征'
,
value
:
0
},
{
label
:
'
人脸+
全身照特征'
,
value
:
0
},
{
label
:
'人脸特征'
,
value
:
1
},
{
label
:
'人脸特征'
,
value
:
1
},
{
label
:
'人体特征'
,
value
:
2
}
{
label
:
'全身照特征'
,
value
:
2
},
{
label
:
'店员特征'
,
value
:
3
}
],
],
featureLibRebuildList
:
[
featureLibRebuildList
:
[
{
label
:
'店员库重建'
,
value
:
1
},
{
label
:
'店员库重建'
,
value
:
1
},
...
@@ -1191,9 +1193,11 @@
...
@@ -1191,9 +1193,11 @@
:
typeHandler
[
val
]
:
typeHandler
[
val
]
},
},
featureRevisitType
(
val
)
{
featureRevisitType
(
val
)
{
this
.
query
.
dateVal
=
val
===
3
?
null
:
this
.
createDate
()
this
.
query
.
type
=
val
this
.
query
.
type
=
val
},
},
featureLibRebuildType
(
val
)
{
featureLibRebuildType
(
val
)
{
this
.
query
.
dateVal
=
val
===
1
?
null
:
this
.
createDate
()
this
.
query
.
type
=
val
this
.
query
.
type
=
val
},
},
rematchPersonType
(
val
)
{
rematchPersonType
(
val
)
{
...
@@ -1887,7 +1891,9 @@
...
@@ -1887,7 +1891,9 @@
this
.
startTiming
=
0
this
.
startTiming
=
0
this
.
endTiming
=
0
this
.
endTiming
=
0
const
TAB_API
=
{
const
TAB_API
=
{
revisitFeature
:
()
=>
'/mall/feature'
,
revisitFeature
:
(
val
)
=>
{
return
val
===
3
?
'/mall/staffFeature'
:
'/mall/feature'
},
rebuildFeatureLib
:
(
val
)
=>
{
rebuildFeatureLib
:
(
val
)
=>
{
return
val
===
1
?
'/mall/staffPool'
:
'/mall/customPool'
return
val
===
1
?
'/mall/staffPool'
:
'/mall/customPool'
},
},
...
@@ -1902,8 +1908,8 @@
...
@@ -1902,8 +1908,8 @@
var
urlPath
=
TAB_API
[
dateFormat
](
type
)
var
urlPath
=
TAB_API
[
dateFormat
](
type
)
var
scheduleType
=
dateFormat
+
type
var
scheduleType
=
dateFormat
+
type
var
parameter
=
{
var
parameter
=
{
startDate
:
dateVal
+
' 00:00:00'
,
startDate
:
dateVal
?
dateVal
+
' 00:00:00'
:
null
,
endDate
:
dateVal
+
' 23:59:59'
,
endDate
:
dateVal
?
dateVal
+
' 23:59:59'
:
null
,
mallIds
:
mallVal
||
null
,
mallIds
:
mallVal
||
null
,
scheduleType
:
scheduleType
,
scheduleType
:
scheduleType
,
featureType
:
dateFormat
===
'revisitFeature'
?
type
:
null
featureType
:
dateFormat
===
'revisitFeature'
?
type
:
null
...
...
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