1.methods () {getRemindNum () {this.getRemind({action: 'remind_number'}, res => {this.maintainReminds = res.data.maintainReminds || 0this.measureReminds = res.data.measureReminds || 0this.repairReminds = res.data.repairReminds || 0this.outOfRepairReminds = res.data.outOfRepairNum || 0this.supplierApplyNum = res.data.supplierApplyNum || 0this.myRepairNum = res.data.myRepairNum || 0this.inspectNum = res.data.inspectNum || 0this.planInspectNum = res.data.planInspectNum || 0this.planMaintainNum = res.data.planMaintainNum || 0this.planMeasureNum = res.data.planMeasureNum || 0this.borrowReturnNum = res.data.borrowReturnNum || 0this.v2MeasureNum = res.data.v2MeasureNum || 0this.auditMaintainPlanNum = res.data.auditMaintainPlanNum || 0this.worthlessRecordNum = res.data.worthlessRecordNum || 0})}}2.mounted () {this.getRemindNum()}
2 回答
慕的地8271018
TA贡献1796条经验 获得超4个赞
有通过data return 出来这些数据吗?
data(){
maintainReminds :'',measureReminds :'', ......
}
- 2 回答
- 0 关注
- 4186 浏览
添加回答
举报
0/150
提交
取消