Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
workbiu-admin
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gxx
workbiu-admin
Commits
428c6488
Commit
428c6488
authored
Dec 12, 2017
by
gxx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
图准备
parent
9a508ad7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
93 additions
and
2 deletions
+93
-2
groupinformation.blade.php
resources/views/admin/group/groupinformation.blade.php
+93
-2
No files found.
resources/views/admin/group/groupinformation.blade.php
View file @
428c6488
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
<
ul
class
=
"nav nav-tabs"
>
<
ul
class
=
"nav nav-tabs"
>
<
li
class
=
"active"
><
a
href
=
"#activity"
data
-
toggle
=
"tab"
>
团队成员
</
a
></
li
>
<
li
class
=
"active"
><
a
href
=
"#activity"
data
-
toggle
=
"tab"
>
团队成员
</
a
></
li
>
<
li
><
a
href
=
"#timeline"
data
-
toggle
=
"tab"
>
团队文件
</
a
></
li
>
<
li
><
a
href
=
"#timeline"
data
-
toggle
=
"tab"
>
团队文件
</
a
></
li
>
<
li
><
a
href
=
"#settings"
data
-
toggle
=
"tab"
>
Settings
</
a
></
li
>
<
li
><
a
href
=
"#settings"
data
-
toggle
=
"tab"
>
云存储空间
</
a
></
li
>
<
li
><
a
href
=
"{{route('group.invitePage',['group_id' =>
$groups->id
])}}"
>
邀请新成员
</
a
></
li
>
<
li
><
a
href
=
"{{route('group.invitePage',['group_id' =>
$groups->id
])}}"
>
邀请新成员
</
a
></
li
>
</
ul
>
</
ul
>
<
div
class
=
"tab-content"
style
=
"height: 740px"
>
<
div
class
=
"tab-content"
style
=
"height: 740px"
>
...
@@ -132,7 +132,7 @@
...
@@ -132,7 +132,7 @@
<
div
class
=
"tab-pane"
id
=
"settings"
>
<
div
class
=
"tab-pane"
id
=
"settings"
>
<
h3
>
wowowo
我这里什么都没有
</
h3
>
<
div
id
=
"main"
style
=
"width: 600px;height:400px;"
></
div
>
</
div
>
</
div
>
<!--
/.
tab
-
pane
-->
<!--
/.
tab
-
pane
-->
...
@@ -146,6 +146,97 @@
...
@@ -146,6 +146,97 @@
<!--
/.
row
-->
<!--
/.
row
-->
</
section
>
</
section
>
<
script
src
=
"
{
{url('js/echarts.js')}
}
"
></
script
>
<
script
src
=
"
{
{url('js/jquery-3.2.1.min.js')}
}
"
>
</
script
>
<!--
引入
echarts
.
js
-->
<
script
>
// 基于准备好的dom,初始化echarts实例
var
myChart
=
echarts
.
init
(
document
.
getElementById
(
'main'
));
// ------------------ ajax ---------------//
groupSpance
();
function
groupSpance
(){
$
.
ajax
({
type
:
'get'
,
url
:
'{{route('
file
.
groupSpace
')}}'
,
success
:
function
(
data
){
//console.log(data);
if
(
data
==
''
){
alert
(
111
);
}
else
{
console
.
log
(
option
[
'series'
]);
}
},
error
:
function
(
data
){
console
.
log
(
'错误'
);
}
});
}
option
=
{
title
:
{
text
:
'当前团队空间使用情况'
,
subtext
:
'这是真的'
,
x
:
'center'
},
tooltip
:
{
trigger
:
'item'
,
formatter
:
"
{
a
}
<br/>
{
b
}
:
{
c
}
(
{
d
}
%)"
},
legend
:
{
orient
:
'vertical'
,
left
:
'left'
,
data
:
[
'全部空间'
,
'已经使用'
]
},
series
:
[
{
name
:
'访问来源'
,
type
:
'pie'
,
radius
:
'55%'
,
center
:
[
'50%'
,
'60%'
],
data
:
[
{
value
:
335
,
name
:
'全部空间'
},
{
value
:
310
,
name
:
'已经使用'
}
],
itemStyle
:
{
emphasis
:
{
shadowBlur
:
10
,
shadowOffsetX
:
0
,
shadowColor
:
'rgba(0, 0, 0, 0.5)'
}
}
}
]
};
myChart
.
setOption
(
option
);
</
script
>
...
...
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