Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
manage
Overview
Overview
Details
Activity
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
vanke
manage
Commits
2471daa3
Commit
2471daa3
authored
Jul 04, 2020
by
wangyalan-git
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
操作日志,用户列表,管理员列表
parent
1dd30f95
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
index.vue
src/views/home/index.vue
+4
-3
No files found.
src/views/home/index.vue
View file @
2471daa3
...
@@ -61,6 +61,7 @@
...
@@ -61,6 +61,7 @@
<ve-line
:data=
"chartData"
:loading=
"loading"
<ve-line
:data=
"chartData"
:loading=
"loading"
:data-empty=
"dataEmpty"
:settings=
"chartSetting"
>
:data-empty=
"dataEmpty"
:settings=
"chartSetting"
>
</ve-line>
</ve-line>
<!--
<div
v-if=
"!chartData.rows.length"
>
暂无数据
</div>
-->
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -226,9 +227,9 @@ export default {
...
@@ -226,9 +227,9 @@ export default {
this
.
inOutType
=
type
this
.
inOutType
=
type
selectStockByGoodsIdAndTime
({
dateList
:
this
.
formatEveryDay
(
this
.
inOutType
)}).
then
(
res
=>
{
selectStockByGoodsIdAndTime
({
dateList
:
this
.
formatEveryDay
(
this
.
inOutType
)}).
then
(
res
=>
{
this
.
chartData
.
rows
=
res
.
data
this
.
chartData
.
rows
=
res
.
data
if
(
!
this
.
chartData
.
rows
){
//
if(!this.chartData.rows){
this
.
dataEmpty
=
true
//
this.dataEmpty = true
}
//
}
})
})
},
},
getHomeData
()
{
getHomeData
()
{
...
...
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