Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
apaas-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gzga-jzapi
apaas-ui
Commits
d0b635e2
Commit
d0b635e2
authored
Aug 18, 2020
by
张俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
异常时间数据兼容
parent
9d030f39
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
6 deletions
+12
-6
src/pages/workbench/workPlace.vue
src/pages/workbench/workPlace.vue
+12
-6
No files found.
src/pages/workbench/workPlace.vue
View file @
d0b635e2
...
...
@@ -1164,11 +1164,15 @@ export default {
}
else
{
this
.
app_data
=
data
;
this
.
app_data
.
forEach
(
e
=>
{
if
(
e
.
create_date
)
{
if
(
e
.
create_date
&&
e
.
create_date
!==
'
0001-01-01T00:00:00Z
'
)
{
e
.
create_date
=
e
.
create_date
.
split
(
"
.
"
)[
0
].
replace
(
"
T
"
,
"
"
);
}
else
{
e
.
create_date
=
''
}
if
(
e
.
time
)
{
if
(
e
.
time
&&
e
.
time
!==
'
0001-01-01T00:00:00Z
'
)
{
e
.
time
=
e
.
time
.
split
(
"
.
"
)[
0
].
replace
(
"
T
"
,
"
"
);
}
else
{
e
.
time
=
''
}
});
this
.
listTotal1
=
response
.
data
.
total
;
...
...
@@ -1216,11 +1220,13 @@ export default {
}
else
{
this
.
service_data
=
data
.
data
;
this
.
service_data
.
forEach
(
e
=>
{
if
(
e
.
create_time
)
{
if
(
e
.
create_time
&&
e
.
create_time
!==
'
0001-01-01T00:00:00Z
'
)
{
e
.
create_time
=
helper
.
dateStringTransform
(
e
.
create_time
)
}
else
{
e
.
create_time
=
''
}
if
(
e
.
service_apply_info
&&
e
.
service_apply_info
.
approval_time
)
{
if
(
e
.
service_apply_info
&&
e
.
service_apply_info
.
approval_time
&&
e
.
service_apply_info
.
approval_time
!==
'
0001-01-01T00:00:00Z
'
)
{
e
.
approval_time
=
helper
.
dateStringTransform
(
e
.
service_apply_info
.
approval_time
);
...
...
@@ -1228,7 +1234,7 @@ export default {
e
.
approval_time
=
""
;
}
if
(
e
.
service_apply_info
&&
e
.
service_apply_info
.
apply_time
)
{
if
(
e
.
service_apply_info
&&
e
.
service_apply_info
.
apply_time
&&
e
.
service_apply_info
.
apply_time
!==
'
0001-01-01T00:00:00Z
'
)
{
e
.
apply_time
=
helper
.
dateStringTransform
(
e
.
service_apply_info
.
apply_time
);
...
...
@@ -1236,7 +1242,7 @@ export default {
e
.
apply_time
=
""
;
}
if
(
e
.
service_apply_info
&&
e
.
service_apply_info
.
approval_status
)
{
if
(
e
.
service_apply_info
&&
e
.
service_apply_info
.
approval_status
&&
e
.
service_apply_info
.
approval_status
!==
'
0001-01-01T00:00:00Z
'
)
{
if
(
this
.
now_user
!==
0
&&
this
.
now_user
!==
4
)
{
e
.
approval_status
=
[
"
-
"
,
"
已审批
"
,
"
待审批
"
][
e
.
service_apply_info
.
approval_status
...
...
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