Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
traffic-front
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxiaoming
traffic-front
Commits
ca8aa07c
Commit
ca8aa07c
authored
Jul 20, 2020
by
chengcaixia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
轨迹时间格式处理
parent
75b19e4c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ResultDetail.vue
src/views/ResultDetail.vue
+2
-2
No files found.
src/views/ResultDetail.vue
View file @
ca8aa07c
...
@@ -401,7 +401,7 @@ export default {
...
@@ -401,7 +401,7 @@ export default {
if
(
response
.
data
.
data
)
{
if
(
response
.
data
.
data
)
{
response
.
data
.
data
.
forEach
((
val
)
=>
{
response
.
data
.
data
.
forEach
((
val
)
=>
{
val
.
status
=
val
.
status
==
1
?
'正常'
:
(
val
.
status
==
2
?
'异常'
:
'新增'
);
val
.
status
=
val
.
status
==
1
?
'正常'
:
(
val
.
status
==
2
?
'异常'
:
'新增'
);
val
.
imageTime
=
moment
(
parseInt
(
val
.
imageTime
)).
format
(
"YYYY-MM-DD HH:
MM:SS
"
);
val
.
imageTime
=
moment
(
parseInt
(
val
.
imageTime
)).
format
(
"YYYY-MM-DD HH:
mm:ss
"
);
this
.
capitalOptions
.
forEach
((
item
)
=>
{
this
.
capitalOptions
.
forEach
((
item
)
=>
{
if
(
item
.
value
==
val
.
type2
)
{
if
(
item
.
value
==
val
.
type2
)
{
val
.
type2
=
item
.
label
;
val
.
type2
=
item
.
label
;
...
@@ -436,7 +436,7 @@ export default {
...
@@ -436,7 +436,7 @@ export default {
if
(
response
.
data
.
data
)
{
if
(
response
.
data
.
data
)
{
response
.
data
.
data
.
forEach
((
val
)
=>
{
response
.
data
.
data
.
forEach
((
val
)
=>
{
val
.
status
=
val
.
status
==
1
?
'正常'
:
(
val
.
status
==
2
?
'异常'
:
'新增'
);
val
.
status
=
val
.
status
==
1
?
'正常'
:
(
val
.
status
==
2
?
'异常'
:
'新增'
);
val
.
imageTime
=
moment
(
parseInt
(
val
.
imageTime
)).
format
(
"YYYY-MM-DD HH:
MM:SS
"
);
val
.
imageTime
=
moment
(
parseInt
(
val
.
imageTime
)).
format
(
"YYYY-MM-DD HH:
mm:ss
"
);
this
.
capitalOptions
.
forEach
((
item
)
=>
{
this
.
capitalOptions
.
forEach
((
item
)
=>
{
if
(
item
.
value
==
val
.
type2
)
{
if
(
item
.
value
==
val
.
type2
)
{
val
.
type2
=
item
.
label
;
val
.
type2
=
item
.
label
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment