diff --git a/src/pages/modules/index2.vue b/src/pages/modules/index2.vue
index 080c39b..0a69569 100644
--- a/src/pages/modules/index2.vue
+++ b/src/pages/modules/index2.vue
@@ -4,7 +4,7 @@
@@ -213,10 +211,8 @@ export default {
toDayInAndOut: {}, // 料箱今日出入库
inw: '0',
inqty1: '0',
- inqty2: '0',
outw: '0',
- outqty1: '0',
- outqty2: '0'
+ outqty1: '0'
}
},
computed: {
@@ -275,19 +271,17 @@ export default {
},
async _synthesizeInfo () {
let res = await synthesizeInfo()
- this.pointUse = res.pointUse
- this.toDayInAndOut = res.toDayInAndOut
+ this.pointUse = res.data.pointUse
+ this.toDayInAndOut = res.data.toDayInAndOut
this.inw = this.getPercentage(this.toDayInAndOut.in.vehicle_qty, this.toDayInAndOut.in.total_qty)
this.inqty1 = this.toDayInAndOut.in.total_qty
- this.inqty2 = this.toDayInAndOut.in.vehicle_qty
this.outw = this.getPercentage(this.toDayInAndOut.out.vehicle_qty, this.toDayInAndOut.out.total_qty)
this.outqty1 = this.toDayInAndOut.out.total_qty
- this.outqty2 = this.toDayInAndOut.out.vehicle_qty
- this.lx_in_week = [...res.inAndOutTrend.in]
- this.lx_out_week = [...res.inAndOutTrend.out]
- this.lx_inventory = res.ivtAnalyse
- this.taskList = [...res.realTask]
- this.billList = [...res.unIos]
+ this.lx_in_week = [...res.data.inAndOutTrend.in]
+ this.lx_out_week = [...res.data.inAndOutTrend.out]
+ this.lx_inventory = res.data.ivtAnalyse
+ this.taskList = [...res.data.realTask]
+ this.billList = [...res.data.unIos]
this.setEchart1()
this.setEchart2()
// this.setEchart3()
@@ -593,7 +587,7 @@ export default {
width 76px
background center / 100% auto url('../../images/pie-bg_2_s.png') no-repeat
p
- font-size 12px
+ font-size 15px
line-height 76px
color #fff
text-align center