Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c06290aa
authored
Jan 27, 2021
by
cwq0219
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v1.1.1' of
http://192.168.3.233:8090/glsx-business/dj-car-life-system
into v1.1.1
2 parents
bade8428
2867e5f7
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
31 additions
and
50 deletions
src/views/financeManage/financeDetail.vue
src/views/financeManage/financeList.vue
src/views/index/incomeProductOption.js
src/views/index/index.vue
src/views/index/orderProductOption.js
src/views/index/storeFlowOption.js
src/views/financeManage/financeDetail.vue
View file @
c06290a
...
...
@@ -85,7 +85,9 @@
</table>
<table
class=
"finnance_table"
>
<tr>
<td
colspan=
"7"
class=
"finnance_table_title"
>
订单分账详情
</td>
<td
colspan=
"7"
class=
"finnance_table_title"
>
订单分账详情
<div
style=
"float:right; font-size:14px;"
>
分账规则:此笔订单按
<strong>
收入
</strong>
分成方法计算。
</div>
</td>
</tr>
<tr>
<td
rowspan=
"2"
class=
"lb_total"
>
收账明细
</td>
...
...
@@ -140,8 +142,8 @@
<td>
{{
detail
.
allocationMoney
}}
</td>
</tr>
</table>
<p
style=
"text-align:
center
;"
>
<el-button
type=
"primary"
@
click=
"close(
{ tagName: '/financeDetail' })">
关闭
</el-button>
<p
style=
"text-align:
left
;"
>
<el-button
type=
"primary"
@
click=
"close(
{ tagName: '/financeDetail' })">
返回
</el-button>
</p>
</div>
...
...
src/views/financeManage/financeList.vue
View file @
c06290a
...
...
@@ -257,11 +257,17 @@
align=
"center"
>
</el-table-column>
</el-table-column>
<el-table-column
v-show=
"userInfo.beSuper"
prop=
"goodsExtraCost"
label=
"额外成本"
align=
"center"
>
<el-table-column
label=
"成本费用"
align=
"center"
v-show=
"userInfo.beSuper"
>
<el-table-column
prop=
"goodsExtraCost"
label=
"额外成本"
align=
"center"
>
</el-table-column>
<el-table-column
prop=
"yqIncentiveTotal"
label=
"阳光激励费"
align=
"center"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"yqGrossProfit"
...
...
src/views/index/incomeProductOption.js
View file @
c06290a
...
...
@@ -28,7 +28,8 @@ const incomeProductOption = {
radius
:
[
'40%'
,
'60%'
],
center
:
[
'50%'
,
'60%'
],
label
:{
align
:
'left'
,
show
:
false
,
/* align: 'left',
normal:{
formatter(v) {
let text = v.name
...
...
@@ -37,7 +38,7 @@ const incomeProductOption = {
textStyle : {
fontSize : 10
}
}
}
*/
},
data
:
[
{
value
:
335
,
name
:
'直接访问'
},
...
...
src/views/index/index.vue
View file @
c06290a
...
...
@@ -486,13 +486,14 @@ export default {
...(
this
.
getDateFormatByType
(
'thisWeek'
))
}
getOrderProductData
(
params
).
then
((
res
)
=>
{
getOrderProductData
(
params
).
then
((
res
)
=>
{
console
.
log
(
res
)
const
data
=
res
const
colors
=
[
'rgba(9,71,198,0.6)'
,
'rgba(9,71,198,0.8)'
,
'rgba(9,71,198,1)'
]
const
colors
=
[
'rgba(0,110,214,0.6)'
,
'rgba(0,110,214,0.8)'
,
'rgba(0,110,214,1)'
]
let
idObj
=
{}
for
(
let
key
in
data
)
{
let
index
=
moment
(
key
).
format
(
'E'
)
-
1
if
(
index
==
5
)
continue
let
list
=
data
[
key
]
list
.
sort
((
a
,
b
)
=>
{
return
b
.
goodsTotal
-
a
.
goodsTotal
...
...
@@ -510,7 +511,7 @@ export default {
})
}
cons
t
seriesArr
=
[]
le
t
seriesArr
=
[]
for
(
const
key
in
idObj
)
{
seriesArr
.
push
({
name
:
idObj
[
key
].
name
,
...
...
@@ -529,8 +530,10 @@ export default {
})
}
this
.
orderProductChart
.
clear
()
orderProductOption
.
series
=
seriesArr
this
.
orderProductChart
.
setOption
(
orderProductOption
)
this
.
hideChartLoading
(
this
.
orderProductChart
)
})
},
...
...
src/views/index/orderProductOption.js
View file @
c06290a
...
...
@@ -8,7 +8,7 @@ const orderProductOption = {
}
},
legend
:
{
data
:
[
'直接访问'
,
'邮件营销'
,
'联盟广告'
,
'视频广告'
,
'搜索引擎'
]
data
:
[]
},
grid
:
{
left
:
'3%'
,
...
...
@@ -24,39 +24,7 @@ const orderProductOption = {
type
:
'category'
,
data
:
[
'周一'
,
'周二'
,
'周三'
,
'周四'
,
'周五'
,
'周六'
,
'周日'
]
},
series
:
[
{
name
:
'直接访问'
,
type
:
'bar'
,
stack
:
'总量'
,
label
:
{
show
:
true
,
position
:
'insideRight'
},
data
:
[[
3
,
23
],]
},
{
name
:
'邮件营销'
,
type
:
'bar'
,
stack
:
'总量'
,
label
:
{
show
:
true
,
position
:
'insideRight'
},
data
:
[
120
,
132
,
101
,
134
,
90
,
230
,
210
]
},
{
name
:
'联盟广告'
,
type
:
'bar'
,
stack
:
'总量'
,
label
:
{
show
:
true
,
position
:
'insideRight'
},
data
:
[
220
,
182
,
191
,
234
,
290
,
330
,
310
]
},
]
series
:
[]
}
export
default
orderProductOption
src/views/index/storeFlowOption.js
View file @
c06290a
...
...
@@ -35,7 +35,8 @@ const storeFlowOption = {
radius
:
'50%'
,
center
:
[
'40%'
,
'65%'
],
label
:{
align
:
'left'
,
show
:
false
,
/* align: 'left',
normal:{
formatter(v) {
let text = v.name
...
...
@@ -44,7 +45,7 @@ const storeFlowOption = {
textStyle : {
fontSize : 10
}
}
}
*/
},
data
:
[
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment