|
|
|
@ -198,7 +198,6 @@
|
|
|
|
|
if (this.tabIndex != param.index) {
|
|
|
|
|
this.tabIndex = param.index;
|
|
|
|
|
}
|
|
|
|
|
//console.log('goodsusecensus', param)
|
|
|
|
|
this.recordCode = param.index+1;
|
|
|
|
|
this.getGoodsUseRecord()
|
|
|
|
|
},
|
|
|
|
@ -211,16 +210,13 @@
|
|
|
|
|
//start_date: moment(this.begin_date).format("YYYY-MM-DD"),//开始日期,例2020-12-15,非必填
|
|
|
|
|
//end_date: moment(this.end_date).format("YYYY-MM-DD")//结束日期,例2021-12-15,非必填
|
|
|
|
|
};
|
|
|
|
|
//console.log(param)
|
|
|
|
|
this.InterfaceConfig.callInterface([{
|
|
|
|
|
url: InterConfig.getGoodsUseRecord.url,
|
|
|
|
|
params: param,
|
|
|
|
|
method: InterConfig.getGoodsUseRecord.method,
|
|
|
|
|
isTestLogin: InterConfig.getGoodsUseRecord.isTestLogin,
|
|
|
|
|
}], (result) => {
|
|
|
|
|
//console.log('getGoodsUseRecord', result)
|
|
|
|
|
if (result[0].data.code === 2000) {
|
|
|
|
|
//console.log('getGoodsUseRecord', result)
|
|
|
|
|
let op = result[0].data.data.option;
|
|
|
|
|
op.series[0].data = [320, 302, 341, 374, 390, 450, 420]
|
|
|
|
|
op.series[1].data = [-120, -132, -101, -134, -190, -230, -210]
|
|
|
|
@ -230,7 +226,6 @@
|
|
|
|
|
this.option = op
|
|
|
|
|
//this.option = result[0].data.data.option;
|
|
|
|
|
this.echartsDraw();
|
|
|
|
|
//console.log(this.option)
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|