Commit 2471daa3 by wangyalan-git

操作日志,用户列表,管理员列表

parent 1dd30f95
...@@ -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() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment