Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
Muse
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
Muse
Commits
fd2917b0
Commit
fd2917b0
authored
Sep 02, 2019
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
05906477
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
13 deletions
+11
-13
viittoData.vue
src/components/viitto/viittoData.vue
+10
-11
viittoData2.vue
src/components/viitto/viittoData2.vue
+1
-2
No files found.
src/components/viitto/viittoData.vue
View file @
fd2917b0
...
...
@@ -31,7 +31,7 @@ ul li {
height
:
184px
;
}
.content-box
{
padding
:
0
45px
0
45px
;
/* padding: 0 45px 0 45px; */
}
.viittoData
.tit
{
color
:
#CCCED3
;
...
...
@@ -290,7 +290,7 @@ ul li {
</
style
>
<
template
>
<div
class=
"viittoData"
v-if=
"dataList"
>
<
el-row
class=
"content-box"
:gutter=
"80
"
>
<
div
class=
"content-box"
style=
"width:96%;margin:0 auto
"
>
<el-col
:span=
"8"
>
<el-row
class=
"left-top"
>
<el-col
:span=
"10"
>
...
...
@@ -322,7 +322,7 @@ ul li {
<el-col
:span=
"12"
>
<div
class=
"zhanbi-tit"
></div>
<ul
class=
"progress-box"
>
<li
class=
"progress-item"
v-for=
"
item in dataList.OrderTypeRatio
"
>
<li
class=
"progress-item"
v-for=
"
(item,index) in dataList.OrderTypeRatio"
:key=
"index
"
>
<p
class=
"sb-tit"
>
{{
item
.
Name
}}
<span>
{{
item
.
Ratio
}}
%
</span></p>
<el-progress
:text-inside=
"true"
:stroke-width=
"6"
:percentage=
"item.Ratio"
></el-progress>
</li>
...
...
@@ -331,7 +331,7 @@ ul li {
<el-col
:span=
"12"
>
<div
class=
"zhanbi-tit zhanbi-tit2"
></div>
<ul
class=
"progress-box"
>
<li
class=
"progress-item"
v-for=
"
item in dataList.YearOrderTypeRatio
"
>
<li
class=
"progress-item"
v-for=
"
(item,index) in dataList.YearOrderTypeRatio"
:key=
"index
"
>
<p
class=
"sb-tit"
>
{{
item
.
Name
}}
<span>
{{
item
.
Ratio
}}
%
</span></p>
<el-progress
:text-inside=
"true"
:stroke-width=
"6"
:percentage=
"item.Ratio"
></el-progress>
</li>
...
...
@@ -339,7 +339,7 @@ ul li {
</el-col>
</el-row>
</el-col>
<el-col
:span=
"16"
>
<el-col
style=
"padding-left:1%;box-sizing: border-box"
:span=
"16"
>
<div
class=
"right-top"
>
<div
class=
"ditu"
>
交易统计
</div>
<div
class=
"noCked"
@
click=
"exChangeBoard()"
>
客户统计
</div>
...
...
@@ -357,7 +357,7 @@ ul li {
<p>
当前活跃用户
</p>
<p
class=
"fs50 fcff"
>
{{
dataList
.
ToDayClientLoginNum
}}
</p>
</div>
<div
class=
"yonghu-item"
v-for=
"
item in dataList.ToDayClientLogin
"
>
<div
class=
"yonghu-item"
v-for=
"
(item,index) in dataList.ToDayClientLogin"
:key=
"index
"
>
<p
class=
"sb-tit"
>
{{
item
.
Name
}}
</p>
<P
class=
"fs50 fcff"
>
{{
item
.
Count
}}
<img
v-if=
"item.Change==1"
class=
"biaoji"
src=
"../../assets/img/viitto/lvsedian.png"
alt=
""
>
...
...
@@ -370,7 +370,7 @@ ul li {
</el-row>
<el-row><p
class=
"bottom-tit"
>
各平台交易额占比
</p></el-row>
<el-row
class=
"bottom"
:gutter=
"35"
>
<el-col
:span=
"8"
v-for=
"(item,index) in dataList.ToDayPlatformTrade"
>
<el-col
:span=
"8"
v-for=
"(item,index) in dataList.ToDayPlatformTrade"
:key=
"index"
>
<div
class=
"bottom-item"
>
<div>
<img
v-if=
"item.Name=='PC'"
src=
"../../assets/img/viitto/pc_1.png"
alt=
""
>
...
...
@@ -398,7 +398,7 @@ ul li {
</el-col>
</el-row>
</el-col>
</
el-row
>
</
div
>
</div>
</
template
>
<
script
>
...
...
@@ -425,7 +425,7 @@ export default {
setTimeout
(()
=>
{
this
.
exChangeBoard
();
},
300000
);
},
methods
:{
},
methods
:{
//不同进度条不同颜色
customColorMethod
(
percentage
)
{
// console.log(percentage,'percentage');
...
...
@@ -443,7 +443,6 @@ export default {
},
init
(){
let
url
=
'http://47.96.23.199:5000/api/user/get_b2b_data'
//let url = 'http://192.168.2.16:5001/api/user/get_b2b_data'
let
msg
=
{
tdsourcetag
:
's_pcqq_aiomsg'
}
...
...
@@ -492,7 +491,7 @@ export default {
//切换统计看板
exChangeBoard
(){
window
.
location
=
"http://data.oytour.com/#/viittoData2"
//window.location="http://192.168.0.11
1:8080
/#/viittoData2";
//window.location="http://192.168.0.11
2:8081
/#/viittoData2";
window
.
location
.
reload
();
}
}
...
...
src/components/viitto/viittoData2.vue
View file @
fd2917b0
...
...
@@ -372,7 +372,6 @@ export default {
methods
:
{
getdata
(){
let
url
=
'http://47.96.23.199:5000/api/user/get_b2b_data'
//let url = 'http://192.168.2.16:5001/api/user/get_b2b_data'
let
msg
=
{
tdsourcetag
:
's_pcqq_aiomsg'
}
...
...
@@ -516,7 +515,7 @@ export default {
//切换统计看板
exChangeBoard
(){
window
.
location
=
"http://data.oytour.com/#/viittoData"
//window.location="http://192.168.0.11
1:8080
/#/viittoData"
//window.location="http://192.168.0.11
2:8081
/#/viittoData"
window
.
location
.
reload
();
},
//获取地址、
...
...
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