|
|
|
|
@ -32,6 +32,21 @@ $(() => {
|
|
|
|
|
PropertyInsuranceOneDayOrderInfoTable.loadData(data.map(value => [value.plan_code, value.plan_number, value.actual_number, value.plan_number-value.actual_number, value.day]), Object.keys(planWorkOrderColumns))
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
//当日订单数量达成率轮询
|
|
|
|
|
const horizontalRoundedBarChartWithBackgroundEcharts = echarts.init(document.getElementById("inner-bile-by-type"))
|
|
|
|
|
autoUpdate(url+"/getProductPlanInfo ", INTERVAL, data => {
|
|
|
|
|
horizontalRoundedBarChartWithBackgroundEcharts.setOption({
|
|
|
|
|
xAxis: {
|
|
|
|
|
data: data.map(value => value.name),
|
|
|
|
|
},
|
|
|
|
|
series: [
|
|
|
|
|
{
|
|
|
|
|
name: '数量',
|
|
|
|
|
data: data.map(value => value.qty),
|
|
|
|
|
},
|
|
|
|
|
]
|
|
|
|
|
}) })
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|