Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-services
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 6a9dc6b4
authored
Dec 10, 2021
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复柱状图数据倒叙问题
1 parent
073251ae
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
7 deletions
src/components/service-echart/bar.vue
src/views/inSale/accountRules.vue
src/views/inSale/myFashionableOrder.vue
src/components/service-echart/bar.vue
View file @
6a9dc6b
...
@@ -134,7 +134,7 @@ export default {
...
@@ -134,7 +134,7 @@ export default {
color
:
'#B3B3FF'
color
:
'#B3B3FF'
}
}
},
},
data
:
this
.
getTotal
data
:
this
.
getTotal
.
reverse
()
},
},
{
{
name
:
'核销数'
,
name
:
'核销数'
,
...
@@ -149,7 +149,7 @@ export default {
...
@@ -149,7 +149,7 @@ export default {
color
:
'#7C7CFF'
color
:
'#7C7CFF'
}
}
},
},
data
:
this
.
usedTotal
data
:
this
.
usedTotal
.
reverse
()
},
},
{
{
name
:
'精品升级订单'
,
name
:
'精品升级订单'
,
...
@@ -164,7 +164,7 @@ export default {
...
@@ -164,7 +164,7 @@ export default {
color
:
'#5850FF'
color
:
'#5850FF'
}
}
},
},
data
:
this
.
upgradeTotal
data
:
this
.
upgradeTotal
.
reverse
()
}
}
]
]
}
}
...
...
src/views/inSale/accountRules.vue
View file @
6a9dc6b
...
@@ -18,13 +18,13 @@
...
@@ -18,13 +18,13 @@
<div
v-if=
"nodata == 1"
class=
"list_wrapper"
>
<div
v-if=
"nodata == 1"
class=
"list_wrapper"
>
<div
class=
"find_wrap"
>
<div
class=
"find_wrap"
>
<div
class=
"date_wrap"
>
<div
class=
"date_wrap"
>
<el-date-picker
:picker-options=
"pickerOptions"
style=
"width: 160px"
size=
"mini"
v-model=
"startDate"
type=
"date"
placeholder=
"
选择日期
"
></el-date-picker>
<el-date-picker
:picker-options=
"pickerOptions"
style=
"width: 160px"
size=
"mini"
v-model=
"startDate"
type=
"date"
placeholder=
"
年/月/日
"
></el-date-picker>
</div>
</div>
<div
style=
"width: 10px; height: 1px"
></div>
<div
style=
"width: 10px; height: 1px"
></div>
<div
class=
"date_wrap"
>
<div
class=
"date_wrap
customdate
"
>
<el-date-picker
:picker-options=
"pickerOptions"
style=
"width: 160px"
size=
"mini"
v-model=
"endDate"
type=
"date"
placeholder=
"
选择日期
"
></el-date-picker>
<el-date-picker
:picker-options=
"pickerOptions"
style=
"width: 160px"
size=
"mini"
v-model=
"endDate"
type=
"date"
placeholder=
"
年/月/日
"
></el-date-picker>
</div>
</div>
<el-button
size=
"mini"
type=
"primary"
@
click=
"toFindNote"
>
查询
</el-button>
<el-button
class=
"custombtn"
size=
"mini"
type=
"primary"
@
click=
"toFindNote"
>
查询
</el-button>
<span
class=
"tip_text"
@
click=
"computeShow = true"
>
查看分润计算说明
</span>
<span
class=
"tip_text"
@
click=
"computeShow = true"
>
查看分润计算说明
</span>
</div>
</div>
<div
v-if=
"noList == 1"
class=
"timeLine_wrap"
>
<div
v-if=
"noList == 1"
class=
"timeLine_wrap"
>
...
@@ -367,6 +367,7 @@ export default {
...
@@ -367,6 +367,7 @@ export default {
.date_wrap
{
.date_wrap
{
width
:
160px
;
width
:
160px
;
}
}
.tip_text
{
.tip_text
{
margin-left
:
20px
;
margin-left
:
20px
;
font-size
:
14px
;
font-size
:
14px
;
...
@@ -376,6 +377,21 @@ export default {
...
@@ -376,6 +377,21 @@ export default {
z-index
:
120
;
z-index
:
120
;
position
:
relative
;
position
:
relative
;
}
}
.date_wrap
/
deep
/
.el-input--mini
.el-input__inner
{
border-radius
:
0
;
}
.customdate
/
deep
/
.el-input--mini
.el-input__inner
{
border-right
:
none
;
//
border-top-right-radius
:
0
;
//
border-bottom-right-radius
:
0
;
}
.custombtn
{
//
border-bottom-left-radius
:
0
;
//
border-top-left-radius
:
0
;
border
:
2px
solid
#5850ff
;
border-left
:
none
;
border-radius
:
0
;
}
}
}
.timeLine_wrap
{
.timeLine_wrap
{
margin-top
:
19px
;
margin-top
:
19px
;
...
...
src/views/inSale/myFashionableOrder.vue
View file @
6a9dc6b
...
@@ -370,6 +370,7 @@ export default {
...
@@ -370,6 +370,7 @@ export default {
},
},
handlerParams
()
{
handlerParams
()
{
let
params
=
{}
let
params
=
{}
this
.
$refs
.
table
.
page
.
pageNum
=
1
if
(
this
.
divisionTime
)
{
if
(
this
.
divisionTime
)
{
let
startDate
=
utils
.
dateFormat
(
this
.
divisionTime
[
0
],
'YYYY-MM-DD 00:00:00'
)
let
startDate
=
utils
.
dateFormat
(
this
.
divisionTime
[
0
],
'YYYY-MM-DD 00:00:00'
)
let
endDate
=
utils
.
dateFormat
(
this
.
divisionTime
[
1
],
'YYYY-MM-DD 23:59:59'
)
let
endDate
=
utils
.
dateFormat
(
this
.
divisionTime
[
1
],
'YYYY-MM-DD 23:59:59'
)
...
...
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