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
55ac2421
Commit
55ac2421
authored
Jun 24, 2020
by
张俊
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'zj' into dev
parents
610349f0
104366d4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
src/pages/workbench/workPlace.vue
src/pages/workbench/workPlace.vue
+7
-7
No files found.
src/pages/workbench/workPlace.vue
View file @
55ac2421
...
@@ -1125,7 +1125,7 @@ export default {
...
@@ -1125,7 +1125,7 @@ export default {
this
.
getUserData
();
this
.
getUserData
();
if
(
this
.
now_user
==
0
||
this
.
now_user
==
4
)
{
if
(
this
.
now_user
==
0
||
this
.
now_user
==
4
)
{
this
.
getHealth
();
this
.
getHealth
();
this
.
getoperatingdata
();
//
this.getoperatingdata();
}
else
if
(
this
.
now_user
==
1
)
{
}
else
if
(
this
.
now_user
==
1
)
{
this
.
getHealth
();
this
.
getHealth
();
this
.
getoperatingdata
();
this
.
getoperatingdata
();
...
@@ -1163,19 +1163,19 @@ export default {
...
@@ -1163,19 +1163,19 @@ export default {
},
},
getUserData
()
{
getUserData
()
{
this
.
person
=
this
.
userInfo
.
user_name
;
this
.
person
=
this
.
userInfo
.
user_name
;
this
.
login_time
=
decodeURIComponent
(
getCookie
(
'
lastLogin
'
));
this
.
login_time
=
decodeURIComponent
(
getCookie
(
'
lastLogin
'
))
.
replace
(
'
+
'
,
'
'
)
;
},
},
getoperatingdata
()
{
getoperatingdata
()
{
this
.
$http
this
.
$http
.
get
(
"
./static/workpalce.json
"
)
.
get
(
"
/apaas/service/v3/workplace/statistics/business
"
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
console
.
log
(
response
);
console
.
log
(
response
);
let
data
=
response
.
data
.
data
;
let
data
=
response
.
data
.
data
;
this
.
init_yy
(
this
.
init_yy
(
data
.
operatingdata
.
xarr
,
data
.
xarr
,
data
.
operatingdata
.
service_yarr
,
data
.
service_yarr
,
data
.
operatingdata
.
app_yarr
,
data
.
app_yarr
,
data
.
operatingdata
.
get_yarr
data
.
get_yarr
);
);
})
})
.
catch
(
function
(
response
)
{});
.
catch
(
function
(
response
)
{});
...
...
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