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 6620a84a
authored
Jan 08, 2022
by
李金轩
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
ljx
1 parent
4cf0b018
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
43 additions
and
25 deletions
static/css/page.css
static/index.html
static/js/home.js
static/js/request.js
static/css/page.css
View file @
6620a84
...
@@ -13,7 +13,7 @@ html, body, #app {
...
@@ -13,7 +13,7 @@ html, body, #app {
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
padding-top
:
10px
;
padding-top
:
10px
;
max-width
:
1
2
00px
;
max-width
:
1
7
00px
;
margin
:
0
auto
;
margin
:
0
auto
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
}
}
...
...
static/index.html
View file @
6620a84
This diff is collapsed.
Click to expand it.
static/js/home.js
View file @
6620a84
...
@@ -19,6 +19,10 @@ new Vue({
...
@@ -19,6 +19,10 @@ new Vue({
data
:
function
()
{
data
:
function
()
{
return
{
return
{
currentIndex6
:
'1'
,
currentIndex6
:
'1'
,
type6
:
''
,
direction6
:
''
,
picType6
:
''
,
personType6
:
''
,
pickerOpts
:
{
pickerOpts
:
{
disabledDate
(
time
)
{
disabledDate
(
time
)
{
return
Date
.
parse
(
time
)
>
Date
.
parse
(
new
Date
())
return
Date
.
parse
(
time
)
>
Date
.
parse
(
new
Date
())
...
@@ -278,6 +282,42 @@ new Vue({
...
@@ -278,6 +282,42 @@ new Vue({
this
.
endTime
=
this
.
createDate
()
this
.
endTime
=
this
.
createDate
()
},
},
methods
:
{
methods
:
{
//////////////////////////////////////////////////////
dateLevel
:
function
()
{
if
(
this
.
dateFormat
==
"repair"
)
{
this
.
getGate
()
}
else
if
(
this
.
dateFormat
==
"snapGatherClass"
)
{
this
.
getGate
()
get
(
'http://36.112.68.214:9999'
+
'/faceRecognitions/faceRecord'
,
{}).
then
(
function
(
r
)
{
log
(
r
)
}
)
}
else
{
// this.getMall();
}
},
onMenuSelect
:
function
(
value
)
{
this
.
currentIndex6
=
value
},
confirmSearch
:
function
()
{
log
(
// this.accountVal,
this
.
type6
,
// this.mallVal,
// this.gateVal,
this
.
direction6
,
this
.
picType6
,
this
.
personType6
,
)
},
//////////////////////////////////////////////////////
createDate
()
{
createDate
()
{
var
nowDate
=
new
Date
()
var
nowDate
=
new
Date
()
var
day
=
nowDate
.
getDate
()
var
day
=
nowDate
.
getDate
()
...
@@ -485,29 +525,7 @@ new Vue({
...
@@ -485,29 +525,7 @@ new Vue({
_this
.
deviceVal
=
_this
.
deviceOpt
[
0
].
value
_this
.
deviceVal
=
_this
.
deviceOpt
[
0
].
value
})
})
},
},
//////////////////////////////////////////////////////
dateLevel
:
function
()
{
if
(
this
.
dateFormat
==
"repair"
)
{
this
.
getGate
()
}
else
if
(
this
.
dateFormat
==
"snapGatherClass"
)
{
get
(
window
.
_CONF_
.
apiUrl
+
'/faceRecognitions/faceRecord'
,
{}).
then
(
function
(
r
)
{
log
(
r
)
}
)
}
else
{
// this.getMall();
}
},
onMenuSelect
:
function
(
v
)
{
this
.
currentIndex6
=
v
},
//////////////////////////////////////////////////////
getLevel
:
function
()
{
getLevel
:
function
()
{
},
},
getNumber
()
{
getNumber
()
{
...
...
static/js/request.js
View file @
6620a84
...
@@ -12,7 +12,7 @@ Axios.interceptors.request.use(
...
@@ -12,7 +12,7 @@ Axios.interceptors.request.use(
const
atoken
=
Cookies
.
get
(
'atoken'
)
const
atoken
=
Cookies
.
get
(
'atoken'
)
// console.log('atoken', atoken)
// console.log('atoken', atoken)
// atoken && (config.headers.Authorization = atoken)
// atoken && (config.headers.Authorization = atoken)
config
.
headers
.
Authorization
=
'
648bb26c-4167-44c8-98f9-e2276cf184ad
'
config
.
headers
.
Authorization
=
'
3a9b4412-12c8-473c-8216-8c9b6db00ea3
'
return
config
return
config
},
},
error
=>
{
error
=>
{
...
...
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