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
5d735343
Commit
5d735343
authored
Nov 29, 2019
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
2af55f37
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
7 deletions
+28
-7
saleGuestTable.vue
src/components/viitto/saleGuestTable.vue
+15
-5
salesGuestList.vue
src/components/viitto/salesGuestList.vue
+13
-2
No files found.
src/components/viitto/saleGuestTable.vue
View file @
5d735343
...
...
@@ -81,9 +81,9 @@
font-size
:
15px
;
background-color
:
#2B314E
;
}
.salesTable
tr
:nth-child
(
even
)
{
/*
.salesTable tr:nth-child(even){
background-color: #252B48;
}
}
*/
.salesTable
tbody
tr
:hover
{
background-color
:
#2B314E
!important
;
box-shadow
:
0px
0px
10px
rgba
(
81
,
84
,
99
,
0.8
)
!important
;
/*设置阴影,可以自定义参数*/
...
...
@@ -180,7 +180,7 @@ export default {
dataList
:[],
msg
:{
yearstr
:
0
,
monthstr
:
0
,
monthstr
:
0
,
outbranchid
:
-
1
},
companyList
:[],
...
...
@@ -193,6 +193,13 @@ export default {
},
mounted
()
{
this
.
msg
.
yearstr
=
this
.
$route
.
query
.
year
;
this
.
msg
.
monthstr
=
this
.
$route
.
query
.
month
;
if
(
this
.
msg
.
yearstr
==
undefined
){
var
myDate
=
new
Date
();
this
.
msg
.
yearstr
=
myDate
.
getFullYear
();
}
if
(
this
.
msg
.
monthstr
==
undefined
){
this
.
msg
.
monthstr
=
0
;
}
this
.
getList
();
},
methods
:{
getList
(){
...
...
@@ -233,7 +240,6 @@ export default {
}
}
})
console
.
log
(
this
.
dataList
,
'datalistt'
);
}
})
},
...
...
@@ -250,7 +256,11 @@ export default {
},
//点击跳转
goSalesMap
(){
window
.
location
=
"http://192.168.0.117:8080/#/salesGuestList"
this
.
$router
.
push
({
name
:
"salesGuestList"
,
query
:
{}
});
//window.location="http://data.oytour.com/#/salesGuestList"
}
}
}
...
...
src/components/viitto/salesGuestList.vue
View file @
5d735343
...
...
@@ -444,7 +444,18 @@ export default {
crossStyle
:
{
color
:
"#999"
}
},
formatter
:
function
(
params
){
var
res
=
params
[
0
].
name
;
for
(
var
i
=
0
;
i
<
params
.
length
;
i
++
){
if
(
params
[
i
].
componentSubType
==
'bar'
){
res
+=
'<br/>'
+
params
[
i
].
marker
+
params
[
i
].
seriesName
+
'(销售额)'
+
':'
+
params
[
i
].
data
}
else
{
res
+=
'<br/>'
+
params
[
i
].
marker
+
params
[
i
].
seriesName
+
'(人数)'
+
':'
+
params
[
i
].
data
}
}
return
res
;
},
},
xAxis
:
{
type
:
"category"
,
...
...
@@ -541,7 +552,7 @@ export default {
"#84F3D3"
,
"#009D62"
,
"#66E62C"
,
"#
FACA57
"
,
"#
EFFF42
"
,
"#FACA57"
,
"#FF7437"
,
"#E70000"
...
...
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