|
@@ -517,6 +517,7 @@
|
|
|
v-loading="tab.chart5.table.listLoading"
|
|
|
:element-loading-text="$t('common.tableMsg')"
|
|
|
:data="tab.chart5.table.list"
|
|
|
+ ref='myTable'
|
|
|
border
|
|
|
fit
|
|
|
highlight-current-row
|
|
@@ -2616,249 +2617,250 @@ export default {
|
|
|
if (this.tab.radio == '0') {
|
|
|
var excelDatas0 = [
|
|
|
{
|
|
|
- tHeader: ['日期', '驾驶员', '理论重量', '实际重量', '计划混料操作数', '已混料操作数', '混料操作率', '混料误差值', '混料准确率', '混料自动跳转次数', '混料手动跳转次数', '取消次数', '混料正确数', '混料正确率', '去除取消正确率', '标准差'],
|
|
|
+ tHeader: [this.$t('errorAnalysis.date'), this.$t('errorAnalysis.Driver'), this.$t('errorAnalysis.llzl'), this.$t('errorAnalysis.acWeight'), this.$t('errorAnalysis.jshlczs'), this.$t('errorAnalysis.yhlczs'), this.$t('errorAnalysis.hlczl'), this.$t('errorAnalysis.hlwczs'), this.$t('errorAnalysis.hlzqls'), this.$t('errorAnalysis.hlzdtzcs'), this.$t('errorAnalysis.hlsdzdtzcs'), this.$t('errorAnalysis.qxcs'), this.$t('errorAnalysis.hlzqs'), this.$t('errorAnalysis.hlzql'), this.$t('errorAnalysis.qcqxzql'), this.$t('errorAnalysis.bzc')],
|
|
|
filterVal: ['计划时间', '驾驶员', '理论重量', '实际重量', '计划混料操作数', '已混料操作数', '混料操作率', '混料误差值', '混料准确率', '混料自动跳转次数', '混料手动跳转次数', '取消次数', '混料正确数', '混料正确率', '去除取消正确率', '方差'],
|
|
|
tableDatas: this.tab.table.list,
|
|
|
- sheetName: '混料'
|
|
|
+ sheetName: '混料'
|
|
|
},
|
|
|
{
|
|
|
- tHeader: ['日期', '驾驶员', '理论重量', '实际重量', '计划撒料操作数', '已撒料操作数', '撒料操作率', '撒料误差值', '撒料准确率', '撒料自动跳转次数', '撒料手动跳转次数', '取消次数', '撒料正确数', '撒料正确率', '去除取消正确率', '标准差'],
|
|
|
+ tHeader: [this.$t('errorAnalysis.date'), this.$t('errorAnalysis.Driver'), this.$t('errorAnalysis.llzl'), this.$t('errorAnalysis.acWeight'), this.$t('errorAnalysis.sljhczs'), this.$t('errorAnalysis.yclczs'), this.$t('errorAnalysis.slczl'), this.$t('errorAnalysis.slwcz'), this.$t('errorAnalysis.slzql'), this.$t('errorAnalysis.slzdtzcs'), this.$t('errorAnalysis.slsdzdtzcs'), this.$t('errorAnalysis.qxcs'), this.$t('errorAnalysis.slzqs'), this.$t('errorAnalysis.slzqs'), this.$t('errorAnalysis.qcqxzql'), this.$t('errorAnalysis.bzc')],
|
|
|
filterVal: ['计划时间', '驾驶员', '理论重量', '实际重量', '计划撒料操作数', '已撒料操作数', '撒料操作率', '撒料误差值', '撒料准确率', '撒料自动跳转次数', '撒料手动跳转次数', '取消次数', '撒料正确数', '撒料正确率', '去除取消正确率', '方差'],
|
|
|
tableDatas: this.tab.table2.list,
|
|
|
- sheetName: '撒料'
|
|
|
+ sheetName: '撒料'
|
|
|
}
|
|
|
]
|
|
|
- json2excel(excelDatas0, '汇总统计—驾驶员', true, 'xlsx')
|
|
|
+ json2excel(excelDatas0, this.$t('errorAnalysis.hztjjsy'), true, 'xlsx')
|
|
|
} else if (this.tab.radio == '1') {
|
|
|
var excelDatas = [
|
|
|
{
|
|
|
- tHeader: ['日期', '配方名称', '理论重量', '实际重量', '计划混料操作数', '已混料操作数', '混料操作率', '混料误差值', '混料准确率', '混料自动跳转次数', '混料手动跳转次数', '取消次数', '混料正确数', '混料正确率', '去除取消正确率', '标准差'],
|
|
|
+ tHeader: [this.$t('errorAnalysis.date'), this.$t('errorAnalysis.feedName'), this.$t('errorAnalysis.llzl'), this.$t('errorAnalysis.acWeight'), this.$t('errorAnalysis.jshlczs'), this.$t('errorAnalysis.yhlczs'), this.$t('errorAnalysis.hlczl'), this.$t('errorAnalysis.hlwczs'), this.$t('errorAnalysis.hlzqls'), this.$t('errorAnalysis.hlzdtzcs'), this.$t('errorAnalysis.hlsdzdtzcs'), this.$t('errorAnalysis.qxcs'), this.$t('errorAnalysis.hlzqs'), this.$t('errorAnalysis.hlzql'), this.$t('errorAnalysis.qcqxzql'), this.$t('errorAnalysis.bzc')],
|
|
|
filterVal: ['计划时间', '配方名称', '理论重量', '实际重量', '计划混料操作数', '已混料操作数', '混料操作率', '混料误差值', '混料准确率', '混料自动跳转次数', '混料手动跳转次数', '取消次数', '混料正确数', '混料正确率', '去除取消正确率', '方差'],
|
|
|
tableDatas: this.tab.table.list,
|
|
|
- sheetName: '混料'
|
|
|
+ sheetName: '混料'
|
|
|
},
|
|
|
{
|
|
|
- tHeader: ['日期', '配方名称', '理论重量', '实际重量', '计划撒料操作数', '已撒料操作数', '撒料操作率', '撒料误差值', '撒料准确率', '撒料自动跳转次数', '撒料手动跳转次数', '取消次数', '撒料正确数', '撒料正确率', '去除取消正确率', '标准差'],
|
|
|
+ tHeader: [this.$t('errorAnalysis.date'), this.$t('errorAnalysis.feedName'), this.$t('errorAnalysis.llzl'), this.$t('errorAnalysis.acWeight'), this.$t('errorAnalysis.sljhczs'), this.$t('errorAnalysis.yclczs'), this.$t('errorAnalysis.slczl'), this.$t('errorAnalysis.slwcz'), this.$t('errorAnalysis.slzql'), this.$t('errorAnalysis.slzdtzcs'), this.$t('errorAnalysis.slsdzdtzcs'), this.$t('errorAnalysis.qxcs'), this.$t('errorAnalysis.slzqs'), this.$t('errorAnalysis.slzqs'), this.$t('errorAnalysis.qcqxzql'), this.$t('errorAnalysis.bzc')],
|
|
|
filterVal: ['计划时间', '配方名称', '理论重量', '实际重量', '计划撒料操作数', '已撒料操作数', '撒料操作率', '撒料误差值', '撒料准确率', '撒料自动跳转次数', '撒料手动跳转次数', '取消次数', '撒料正确数', '撒料正确率', '去除取消正确率', '方差'],
|
|
|
tableDatas: this.tab.table2.list,
|
|
|
- sheetName: '撒料'
|
|
|
+ sheetName: '撒料'
|
|
|
}
|
|
|
]
|
|
|
- json2excel(excelDatas, '汇总统计—配方名称', true, 'xlsx')
|
|
|
+ json2excel(excelDatas, this.$t('errorAnalysis.hztjpfmc'), true, 'xlsx')
|
|
|
} else if (this.tab.radio == '2') {
|
|
|
var excelDatas2 = [
|
|
|
{
|
|
|
- tHeader: ['日期','栏舍名称', '理论重量', '实际重量', '计划混料操作数', '已混料操作数', '混料操作率', '混料误差值', '混料准确率', '混料自动跳转次数', '混料手动跳转次数', '取消次数','混料正确数','混料正确率','去除取消正确率', '标准差'],
|
|
|
+ tHeader: [this.$t('errorAnalysis.date'),this.$t('errorAnalysis.isHouseName'), this.$t('errorAnalysis.llzl'), this.$t('errorAnalysis.acWeight'), this.$t('errorAnalysis.jshlczs'), this.$t('errorAnalysis.yhlczs'), this.$t('errorAnalysis.hlczl'), this.$t('errorAnalysis.hlwczs'), this.$t('errorAnalysis.hlzqls'), this.$t('errorAnalysis.hlzdtzcs'), this.$t('errorAnalysis.hlsdzdtzcs'), this.$t('errorAnalysis.qxcs'),this.$t('errorAnalysis.hlzqs'),this.$t('errorAnalysis.hlzql'),this.$t('errorAnalysis.qcqxzql'), this.$t('errorAnalysis.bzc')],
|
|
|
filterVal: ['计划时间','栏舍名称', '理论重量', '实际重量', '计划混料操作数', '已混料操作数', '混料操作率', '混料误差值', '混料准确率', '混料自动跳转次数', '混料手动跳转次数', '取消次数','混料正确数','混料正确率','去除取消正确率', '方差'],
|
|
|
tableDatas: this.tab.table.list,
|
|
|
- sheetName: '混料'
|
|
|
+ sheetName: '混料'
|
|
|
},
|
|
|
{
|
|
|
- tHeader: ['日期','栏舍名称', '理论重量', '实际重量', '计划撒料操作数', '已撒料操作数', '撒料操作率', '撒料误差值', '撒料准确率', '撒料自动跳转次数', '撒料手动跳转次数', '取消次数','撒料正确数','撒料正确率','去除取消正确率', '标准差'],
|
|
|
- filterVal: ['计划时间','栏舍名称', '理论重量', '实际重量', '计划撒料操作数', '已撒料操作数', '撒料操作率', '撒料误差值', '撒料准确率', '撒料自动跳转次数', '撒料手动跳转次数', '取消次数','撒料正确数','撒料正确率','去除取消正确率', '方差'],
|
|
|
+ tHeader: [this.$t('errorAnalysis.date'),this.$t('errorAnalysis.isHouseName'), this.$t('errorAnalysis.llzl'), this.$t('errorAnalysis.acWeight'), this.$t('errorAnalysis.sljhczs'), this.$t('errorAnalysis.yclczs'), this.$t('errorAnalysis.slczl'), this.$t('errorAnalysis.slwcz'), this.$t('errorAnalysis.slzql'), this.$t('errorAnalysis.slzdtzcs'), this.$t('errorAnalysis.slsdzdtzcs'), this.$t('errorAnalysis.qxcs'),this.$t('errorAnalysis.slzqs'),this.$t('errorAnalysis.slzqs'),this.$t('errorAnalysis.qcqxzql'), this.$t('errorAnalysis.bzc')],
|
|
|
+ filterVal: ['计划时间',this.$t('errorAnalysis.isHouseName'), '理论重量', '实际重量', '计划撒料操作数', '已撒料操作数', '撒料操作率', '撒料误差值', '撒料准确率', '撒料自动跳转次数', '撒料手动跳转次数', '取消次数','撒料正确数','撒料正确率','去除取消正确率', '方差'],
|
|
|
tableDatas: this.tab.table2.list,
|
|
|
- sheetName: '撒料'
|
|
|
+ sheetName: '撒料'
|
|
|
}
|
|
|
]
|
|
|
- json2excel(excelDatas2, '汇总统计-栏舍名称', true, 'xlsx')
|
|
|
+ json2excel(excelDatas2, this.$t('errorAnalysis.hztjlsmz'), true, 'xlsx')
|
|
|
} else if (this.tab.radio == '3') {
|
|
|
var excelDatas3 = [
|
|
|
{
|
|
|
- tHeader: ['日期', '牲畜类别', '理论重量', '实际重量', '计划混料操作数', '已混料操作数', '混料操作率', '混料误差值', '混料准确率', '混料自动跳转次数', '混料手动跳转次数', '取消次数', '混料正确数','混料正确率','去除取消正确率','标准差'],
|
|
|
+ tHeader: [this.$t('errorAnalysis.date'), this.$t('errorAnalysis.sxlb'), this.$t('errorAnalysis.llzl'), this.$t('errorAnalysis.acWeight'), this.$t('errorAnalysis.jshlczs'), this.$t('errorAnalysis.yhlczs'), this.$t('errorAnalysis.hlczl'), this.$t('errorAnalysis.hlwczs'), this.$t('errorAnalysis.hlzqls'), this.$t('errorAnalysis.hlzdtzcs'), this.$t('errorAnalysis.hlsdzdtzcs'), this.$t('errorAnalysis.qxcs'), this.$t('errorAnalysis.hlzqs'),this.$t('errorAnalysis.hlzql'),this.$t('errorAnalysis.qcqxzql'),this.$t('errorAnalysis.bzc')],
|
|
|
filterVal: ['计划时间', '牲畜类别', '理论重量', '实际重量', '计划混料操作数', '已混料操作数', '混料操作率', '混料误差值', '混料准确率', '混料自动跳转次数', '混料手动跳转次数', '取消次数','混料正确数','混料正确率','去除取消正确率', '方差'],
|
|
|
tableDatas: this.tab.table.list,
|
|
|
- sheetName: '混料'
|
|
|
+ sheetName: '混料'
|
|
|
},
|
|
|
{
|
|
|
- tHeader: ['日期', '牲畜类别', '理论重量', '实际重量', '计划撒料操作数', '已撒料操作数', '撒料操作率', '撒料误差值', '撒料准确率', '撒料自动跳转次数', '撒料手动跳转次数', '取消次数','撒料正确数','撒料正确率','去除取消正确率', '标准差'],
|
|
|
- filterVal: ['计划时间', '牲畜类别', '理论重量', '实际重量', '计划撒料操作数', '已撒料操作数', '撒料操作率', '撒料误差值', '撒料准确率', '撒料自动跳转次数', '撒料手动跳转次数', '取消次数','撒料正确数','撒料正确率','去除取消正确率', '方差'],
|
|
|
+ tHeader: [this.$t('errorAnalysis.date'), this.$t('errorAnalysis.sxlb'), this.$t('errorAnalysis.llzl'), this.$t('errorAnalysis.acWeight'), this.$t('errorAnalysis.sljhczs'), this.$t('errorAnalysis.yclczs'), this.$t('errorAnalysis.slczl'), this.$t('errorAnalysis.slwcz'), this.$t('errorAnalysis.slzql'), this.$t('errorAnalysis.slzdtzcs'), this.$t('errorAnalysis.slsdzdtzcs'), this.$t('errorAnalysis.qxcs'),this.$t('errorAnalysis.slzqs'),this.$t('errorAnalysis.slzqs'),this.$t('errorAnalysis.qcqxzql'), this.$t('errorAnalysis.bzc')],
|
|
|
+ filterVal: ['计划时间','牲畜类别', '理论重量', '实际重量', '计划撒料操作数', '已撒料操作数', '撒料操作率', '撒料误差值', '撒料准确率', '撒料自动跳转次数', '撒料手动跳转次数', '取消次数','撒料正确数','撒料正确率','去除取消正确率', '方差'],
|
|
|
tableDatas: this.tab.table2.list,
|
|
|
- sheetName: '撒料'
|
|
|
+ sheetName: '撒料'
|
|
|
}
|
|
|
]
|
|
|
- json2excel(excelDatas3, '汇总统计-牲畜类别', true, 'xlsx')
|
|
|
+ json2excel(excelDatas3, this.$t('errorAnalysis.hztjxslb'), true, 'xlsx')
|
|
|
} else if (this.tab.radio == '4') {
|
|
|
var excelDatas4 = [
|
|
|
{
|
|
|
- tHeader: ['日期','配方名称','车辆名称','开始加料时间','结束加料时间', 'TMR名称', '车次', '班次', '驾驶员', '理论重量', '实际重量', '计划混料操作数', '已混料操作数', '混料操作率', '混料误差值', '混料准确率', '混料时间','发料开始时间','等待时间','混料自动跳转次数', '混料手动跳转次数', '取消次数','混料正确数','混料正确率','去除取消正确率', '标准差','区域'],
|
|
|
+ tHeader: [this.$t('errorAnalysis.date'),this.$t('errorAnalysis.feedName'),this.$t('errorAnalysis.drivername'),this.$t('errorAnalysis.stratJl'),this.$t('errorAnalysis.endJl'), this.$t('errorAnalysis.tmrnames'), this.$t('errorAnalysis.projname'), this.$t('errorAnalysis.isTrainNumber'), this.$t('errorAnalysis.Driver'), this.$t('errorAnalysis.llzl'), this.$t('errorAnalysis.acWeight'), this.$t('errorAnalysis.jshlczs'), this.$t('errorAnalysis.yhlczs'), this.$t('errorAnalysis.hlczl'), this.$t('errorAnalysis.hlwczs'), this.$t('errorAnalysis.hlzqls'), this.$t('errorAnalysis.hlsj'),this.$t('errorAnalysis.flstartTime'),this.$t('errorAnalysis.waitTime'),this.$t('errorAnalysis.hlzdtzcs'), this.$t('errorAnalysis.hlsdzdtzcs'), this.$t('errorAnalysis.qxcs'),this.$t('errorAnalysis.hlzqs'),this.$t('errorAnalysis.hlzql'),this.$t('errorAnalysis.qcqxzql'), this.$t('errorAnalysis.bzc'),this.$t('errorAnalysis.area')],
|
|
|
filterVal: ['计划时间1','templetname','TMR名称','startTime','endTime','TMR名称', '车次', '班次', '驾驶员', '理论重量', '实际重量', '计划混料操作数', '已混料操作数', '混料操作率', '混料误差值', '混料准确率', '混料时间','startMaterialTime','等待时间','混料自动跳转次数', '混料手动跳转次数', '取消次数', '混料正确数','混料正确率','去除取消正确率', '方差','barname'],
|
|
|
tableDatas: this.tab.table.list,
|
|
|
- sheetName: '混料'
|
|
|
+ sheetName: '混料'
|
|
|
},
|
|
|
{
|
|
|
- tHeader: ['日期','配方名称','车辆名称','开始加料时间','结束加料时间', 'TMR名称', '车次','班次', '驾驶员','理论重量', '实际重量', '计划撒料操作数', '已撒料操作数', '撒料操作率', '撒料误差值', '撒料准确率', '撒料时间','发料开始时间','等待时间','撒料自动跳转次数', '撒料手动跳转次数', '取消次数','撒料正确数','撒料正确率','去除取消正确率', '标准差','区域'],
|
|
|
+ tHeader: [this.$t('errorAnalysis.date'),this.$t('errorAnalysis.feedName'),this.$t('errorAnalysis.drivername'),this.$t('errorAnalysis.stratJl'),this.$t('errorAnalysis.endJl'), this.$t('errorAnalysis.tmrnames'), this.$t('errorAnalysis.projname'),this.$t('errorAnalysis.isTrainNumber'), this.$t('errorAnalysis.Driver'),this.$t('errorAnalysis.llzl'), this.$t('errorAnalysis.acWeight'), this.$t('errorAnalysis.sljhczs'), this.$t('errorAnalysis.yclczs'), this.$t('errorAnalysis.slczl'), this.$t('errorAnalysis.slwcz'), this.$t('errorAnalysis.slzql'), this.$t('errorAnalysis.slsj'),this.$t('errorAnalysis.flstartTime'),this.$t('errorAnalysis.waitTime'),this.$t('errorAnalysis.slzdtzcs'), this.$t('errorAnalysis.slsdzdtzcs'), this.$t('errorAnalysis.qxcs'),this.$t('errorAnalysis.slzqs'),this.$t('errorAnalysis.slzqs'),this.$t('errorAnalysis.qcqxzql'), this.$t('errorAnalysis.bzc'),this.$t('errorAnalysis.area')],
|
|
|
filterVal: ['计划时间1','templetname','TMR名称','startTime','endTime', 'TMR名称', '车次','班次', '驾驶员', '理论重量', '实际重量', '计划撒料操作数', '已撒料操作数', '撒料操作率', '撒料误差值', '撒料准确率','撒料时间','startMaterialTime','等待时间', '撒料自动跳转次数', '撒料手动跳转次数', '取消次数','撒料正确数','撒料正确率','去除取消正确率', '方差','barname'],
|
|
|
tableDatas: this.tab.table2.list,
|
|
|
- sheetName: '撒料'
|
|
|
+ sheetName: '撒料'
|
|
|
}
|
|
|
]
|
|
|
- json2excel(excelDatas4, '汇总统计-车次', true, 'xlsx')
|
|
|
+ json2excel(excelDatas4, this.$t('errorAnalysis.hztjcc'), true, 'xlsx')
|
|
|
} else if (this.tab.radio == '5') {
|
|
|
var excelDatas4 = [
|
|
|
{
|
|
|
- tHeader: ['日期','TMR名称','班次','车次', '驾驶员','理论重量', '实际重量', '计划混料操作数', '已混料操作数', '混料操作率', '混料误差值', '混料准确率', '混料自动跳转次数', '混料手动跳转次数', '取消次数','混料正确数','混料正确率','去除取消正确率', '标准差'],
|
|
|
+ tHeader: [this.$t('errorAnalysis.date'),this.$t('errorAnalysis.tmrnames'),this.$t('errorAnalysis.isTrainNumber'),this.$t('errorAnalysis.projname'), this.$t('errorAnalysis.Driver'),this.$t('errorAnalysis.llzl'), this.$t('errorAnalysis.acWeight'), this.$t('errorAnalysis.jshlczs'), this.$t('errorAnalysis.yhlczs'), this.$t('errorAnalysis.hlczl'), this.$t('errorAnalysis.hlwczs'), this.$t('errorAnalysis.hlzqls'), this.$t('errorAnalysis.hlzdtzcs'), this.$t('errorAnalysis.hlsdzdtzcs'), this.$t('errorAnalysis.qxcs'),this.$t('errorAnalysis.hlzqs'),this.$t('errorAnalysis.hlzql'),this.$t('errorAnalysis.qcqxzql'), this.$t('errorAnalysis.bzc')],
|
|
|
filterVal: ['计划时间','TMR名称', '班次', '车次', '驾驶员', '理论重量', '实际重量', '计划混料操作数', '已混料操作数', '混料操作率', '混料误差值', '混料准确率', '混料自动跳转次数', '混料手动跳转次数', '取消次数','混料正确数','混料正确率','去除取消正确率', '方差'],
|
|
|
tableDatas: this.tab.table.list,
|
|
|
- sheetName: '混料'
|
|
|
+ sheetName: '混料'
|
|
|
},
|
|
|
{
|
|
|
- tHeader: ['日期','TMR名称', '班次', '车次', '驾驶员','理论重量', '实际重量', '计划撒料操作数', '已撒料操作数', '撒料操作率', '撒料误差值', '撒料准确率', '撒料自动跳转次数', '撒料手动跳转次数', '取消次数', '撒料正确数','撒料正确率','去除取消正确率','标准差'],
|
|
|
+ tHeader: [this.$t('errorAnalysis.date'),this.$t('errorAnalysis.tmrnames'), this.$t('errorAnalysis.isTrainNumber'), this.$t('errorAnalysis.projname'), this.$t('errorAnalysis.Driver'),this.$t('errorAnalysis.llzl'), this.$t('errorAnalysis.acWeight'), this.$t('errorAnalysis.sljhczs'), this.$t('errorAnalysis.yclczs'), this.$t('errorAnalysis.slczl'), this.$t('errorAnalysis.slwcz'), this.$t('errorAnalysis.slzql'), this.$t('errorAnalysis.slzdtzcs'), this.$t('errorAnalysis.slsdzdtzcs'), this.$t('errorAnalysis.qxcs'), this.$t('errorAnalysis.slzqs'),this.$t('errorAnalysis.slzqs'),this.$t('errorAnalysis.qcqxzql'),this.$t('errorAnalysis.bzc')],
|
|
|
filterVal: ['计划时间','TMR名称','班次', '车次', '驾驶员', '理论重量', '实际重量', '计划撒料操作数', '已撒料操作数', '撒料操作率', '撒料误差值', '撒料准确率', '撒料自动跳转次数', '撒料手动跳转次数', '取消次数', '撒料正确数','撒料正确率','去除取消正确率','方差'],
|
|
|
tableDatas: this.tab.table2.list,
|
|
|
- sheetName: '撒料'
|
|
|
+ sheetName: '撒料'
|
|
|
}
|
|
|
]
|
|
|
- json2excel(excelDatas4, '汇总统计-TMR名称', true, 'xlsx')
|
|
|
+ json2excel(excelDatas4, this.$t('errorAnalysis.hztjtmr'), true, 'xlsx')
|
|
|
} else if (this.tab.radio == '6') {
|
|
|
var excelDatas5 = [
|
|
|
{
|
|
|
- tHeader: ['日期','饲料','理论重量', '实际重量', '计划混料操作数', '已混料操作数', '混料操作率', '混料误差值', '混料准确率', '混料自动跳转次数', '混料手动跳转次数', '取消次数','混料正确数','混料正确率','去除取消正确率', '标准差'],
|
|
|
+ tHeader: [this.$t('errorAnalysis.date'),this.$t('errorAnalysis.isFeed'),this.$t('errorAnalysis.llzl'), this.$t('errorAnalysis.acWeight'), this.$t('errorAnalysis.jshlczs'), this.$t('errorAnalysis.yhlczs'), this.$t('errorAnalysis.hlczl'), this.$t('errorAnalysis.hlwczs'), this.$t('errorAnalysis.hlzqls'), this.$t('errorAnalysis.hlzdtzcs'), this.$t('errorAnalysis.hlsdzdtzcs'), this.$t('errorAnalysis.qxcs'),this.$t('errorAnalysis.hlzqs'),this.$t('errorAnalysis.hlzql'),this.$t('errorAnalysis.qcqxzql'), this.$t('errorAnalysis.bzc')],
|
|
|
filterVal: ['计划时间','fname', '理论重量', '实际重量', '计划混料操作数', '已混料操作数', '混料操作率', '混料误差值', '混料准确率', '混料自动跳转次数', '混料手动跳转次数', '取消次数','混料正确数','混料正确率','去除取消正确率', '方差'],
|
|
|
tableDatas: this.tab.table.list,
|
|
|
- sheetName: '混料'
|
|
|
+ sheetName: '混料'
|
|
|
}
|
|
|
]
|
|
|
- json2excel(excelDatas5, '汇总统计-饲料', true, 'xlsx')
|
|
|
+ json2excel(excelDatas5, this.$t('errorAnalysis.hztjsl'), true, 'xlsx')
|
|
|
}else if (this.tab.radio == '7') {
|
|
|
var excelDatas7 = [
|
|
|
{
|
|
|
- tHeader: ['日期','理论重量', '实际重量', '计划混料操作数', '已混料操作数', '混料操作率', '混料误差值', '混料准确率', '混料自动跳转次数', '混料手动跳转次数', '取消次数','混料正确数','混料正确率','去除取消正确率', '标准差'],
|
|
|
+ tHeader: [this.$t('errorAnalysis.date'),this.$t('errorAnalysis.llzl'), this.$t('errorAnalysis.acWeight'), this.$t('errorAnalysis.jshlczs'), this.$t('errorAnalysis.yhlczs'), this.$t('errorAnalysis.hlczl'), this.$t('errorAnalysis.hlwczs'), this.$t('errorAnalysis.hlzqls'), this.$t('errorAnalysis.hlzdtzcs'), this.$t('errorAnalysis.hlsdzdtzcs'), this.$t('errorAnalysis.qxcs'),this.$t('errorAnalysis.hlzqs'),this.$t('errorAnalysis.hlzql'),this.$t('errorAnalysis.qcqxzql'), this.$t('errorAnalysis.bzc')],
|
|
|
filterVal: ['计划时间','理论重量', '实际重量', '计划混料操作数', '已混料操作数', '混料操作率', '混料误差值', '混料准确率', '混料自动跳转次数', '混料手动跳转次数', '取消次数','混料正确数','混料正确率','去除取消正确率', '方差'],
|
|
|
tableDatas: this.tab.table.list,
|
|
|
- sheetName: '混料'
|
|
|
+ sheetName: '混料'
|
|
|
},
|
|
|
{
|
|
|
- tHeader: ['日期','理论重量', '实际重量', '计划撒料操作数', '已撒料操作数', '撒料操作率', '撒料误差值', '撒料准确率', '撒料自动跳转次数', '撒料手动跳转次数', '取消次数', '撒料正确数','撒料正确率','去除取消正确率','标准差'],
|
|
|
+ tHeader: [this.$t('errorAnalysis.date'),this.$t('errorAnalysis.llzl'), this.$t('errorAnalysis.acWeight'), this.$t('errorAnalysis.sljhczs'), this.$t('errorAnalysis.yclczs'), this.$t('errorAnalysis.slczl'), this.$t('errorAnalysis.slwcz'), this.$t('errorAnalysis.slzql'), this.$t('errorAnalysis.slzdtzcs'), this.$t('errorAnalysis.slsdzdtzcs'), this.$t('errorAnalysis.qxcs'), this.$t('errorAnalysis.slzqs'),this.$t('errorAnalysis.slzqs'),this.$t('errorAnalysis.qcqxzql'),this.$t('errorAnalysis.bzc')],
|
|
|
filterVal: ['计划时间','理论重量', '实际重量', '计划撒料操作数', '已撒料操作数', '撒料操作率', '撒料误差值', '撒料准确率', '撒料自动跳转次数', '撒料手动跳转次数', '取消次数', '撒料正确数','撒料正确率','去除取消正确率','方差'],
|
|
|
tableDatas: this.tab.table2.list,
|
|
|
- sheetName: '撒料'
|
|
|
+ sheetName: '撒料'
|
|
|
}
|
|
|
]
|
|
|
- json2excel(excelDatas7, '汇总统计-无分类', true, 'xlsx')
|
|
|
+ json2excel(excelDatas7, this.$t('errorAnalysis.hztjwfl'), true, 'xlsx')
|
|
|
}
|
|
|
} else {
|
|
|
if (this.tab.radio == '0') {
|
|
|
var excelDatas0 = [
|
|
|
{
|
|
|
- tHeader: ['驾驶员', '理论重量', '实际重量', '计划混料操作数', '已混料操作数', '混料操作率', '混料误差值', '混料准确率', '混料自动跳转次数', '混料手动跳转次数', '取消次数', '混料正确数', '混料正确率', '去除取消正确率', '标准差'],
|
|
|
+ tHeader: [this.$t('errorAnalysis.Driver'), this.$t('errorAnalysis.llzl'), this.$t('errorAnalysis.acWeight'), this.$t('errorAnalysis.jshlczs'), this.$t('errorAnalysis.yhlczs'), this.$t('errorAnalysis.hlczl'), this.$t('errorAnalysis.hlwczs'), this.$t('errorAnalysis.hlzqls'), this.$t('errorAnalysis.hlzdtzcs'), this.$t('errorAnalysis.hlsdzdtzcs'), this.$t('errorAnalysis.qxcs'), this.$t('errorAnalysis.hlzqs'), this.$t('errorAnalysis.hlzql'), this.$t('errorAnalysis.qcqxzql'), this.$t('errorAnalysis.bzc')],
|
|
|
filterVal: ['驾驶员', '理论重量', '实际重量', '计划混料操作数', '已混料操作数', '混料操作率', '混料误差值', '混料准确率', '混料自动跳转次数', '混料手动跳转次数', '取消次数', '混料正确数', '混料正确率', '去除取消正确率', '方差'],
|
|
|
tableDatas: this.tab.table.list,
|
|
|
- sheetName: '混料'
|
|
|
+ sheetName: '混料'
|
|
|
},
|
|
|
{
|
|
|
- tHeader: ['驾驶员', '理论重量', '实际重量', '计划撒料操作数', '已撒料操作数', '撒料操作率', '撒料误差值', '撒料准确率', '撒料自动跳转次数', '撒料手动跳转次数', '取消次数', '撒料正确数', '撒料正确率', '去除取消正确率', '标准差'],
|
|
|
+ tHeader: [this.$t('errorAnalysis.Driver'), this.$t('errorAnalysis.llzl'), this.$t('errorAnalysis.acWeight'), this.$t('errorAnalysis.sljhczs'), this.$t('errorAnalysis.yclczs'), this.$t('errorAnalysis.slczl'), this.$t('errorAnalysis.slwcz'), this.$t('errorAnalysis.slzql'), this.$t('errorAnalysis.slzdtzcs'), this.$t('errorAnalysis.slsdzdtzcs'), this.$t('errorAnalysis.qxcs'), this.$t('errorAnalysis.slzqs'), this.$t('errorAnalysis.slzqs'), this.$t('errorAnalysis.qcqxzql'), this.$t('errorAnalysis.bzc')],
|
|
|
filterVal: ['驾驶员', '理论重量', '实际重量', '计划撒料操作数', '已撒料操作数', '撒料操作率', '撒料误差值', '撒料准确率', '撒料自动跳转次数', '撒料手动跳转次数', '取消次数', '撒料正确数', '撒料正确率', '去除取消正确率', '方差'],
|
|
|
tableDatas: this.tab.table2.list,
|
|
|
- sheetName: '撒料'
|
|
|
+ sheetName: '撒料'
|
|
|
}
|
|
|
]
|
|
|
- json2excel(excelDatas0, '汇总统计—驾驶员', true, 'xlsx')
|
|
|
+ json2excel(excelDatas0, this.$t('errorAnalysis.sumName'), true, 'xlsx')
|
|
|
} else if (this.tab.radio == '1') {
|
|
|
var excelDatas = [
|
|
|
{
|
|
|
- tHeader: ['配方名称', '理论重量', '实际重量', '计划混料操作数', '已混料操作数', '混料操作率', '混料误差值', '混料准确率', '混料自动跳转次数', '混料手动跳转次数', '取消次数', '混料正确数', '混料正确率', '去除取消正确率', '标准差'],
|
|
|
+ tHeader: [this.$t('errorAnalysis.feedName'), this.$t('errorAnalysis.llzl'), this.$t('errorAnalysis.acWeight'), this.$t('errorAnalysis.jshlczs'), this.$t('errorAnalysis.yhlczs'), this.$t('errorAnalysis.hlczl'), this.$t('errorAnalysis.hlwczs'), this.$t('errorAnalysis.hlzqls'), this.$t('errorAnalysis.hlzdtzcs'), this.$t('errorAnalysis.hlsdzdtzcs'), this.$t('errorAnalysis.qxcs'), this.$t('errorAnalysis.hlzqs'), this.$t('errorAnalysis.hlzql'), this.$t('errorAnalysis.qcqxzql'), this.$t('errorAnalysis.bzc')],
|
|
|
filterVal: ['配方名称', '理论重量', '实际重量', '计划混料操作数', '已混料操作数', '混料操作率', '混料误差值', '混料准确率', '混料自动跳转次数', '混料手动跳转次数', '取消次数', '混料正确数', '混料正确率', '去除取消正确率', '方差'],
|
|
|
tableDatas: this.tab.table.list,
|
|
|
- sheetName: '混料'
|
|
|
+ sheetName: '混料'
|
|
|
},
|
|
|
{
|
|
|
- tHeader: ['配方名称', '理论重量', '实际重量', '计划撒料操作数', '已撒料操作数', '撒料操作率', '撒料误差值', '撒料准确率', '撒料自动跳转次数', '撒料手动跳转次数', '取消次数', '撒料正确数', '撒料正确率', '去除取消正确率', '标准差'],
|
|
|
+ tHeader: [this.$t('errorAnalysis.feedName'), this.$t('errorAnalysis.llzl'), this.$t('errorAnalysis.acWeight'), this.$t('errorAnalysis.sljhczs'), this.$t('errorAnalysis.yclczs'), this.$t('errorAnalysis.slczl'), this.$t('errorAnalysis.slwcz'), this.$t('errorAnalysis.slzql'), this.$t('errorAnalysis.slzdtzcs'), this.$t('errorAnalysis.slsdzdtzcs'), this.$t('errorAnalysis.qxcs'), this.$t('errorAnalysis.slzqs'), this.$t('errorAnalysis.slzqs'), this.$t('errorAnalysis.qcqxzql'), this.$t('errorAnalysis.bzc')],
|
|
|
filterVal: ['配方名称', '理论重量', '实际重量', '计划撒料操作数', '已撒料操作数', '撒料操作率', '撒料误差值', '撒料准确率', '撒料自动跳转次数', '撒料手动跳转次数', '取消次数', '撒料正确数', '撒料正确率', '去除取消正确率', '方差'],
|
|
|
tableDatas: this.tab.table2.list,
|
|
|
- sheetName: '撒料'
|
|
|
+ sheetName: '撒料'
|
|
|
}
|
|
|
]
|
|
|
- json2excel(excelDatas, '汇总统计—配方名称', true, 'xlsx')
|
|
|
+ json2excel(excelDatas, this.$t('errorAnalysis.hztjpfmc'), true, 'xlsx')
|
|
|
} else if (this.tab.radio == '2') {
|
|
|
var excelDatas2 = [
|
|
|
{
|
|
|
- tHeader: ['栏舍名称', '理论重量', '实际重量', '计划混料操作数', '已混料操作数', '混料操作率', '混料误差值', '混料准确率', '混料自动跳转次数', '混料手动跳转次数', '取消次数','混料正确数','混料正确率','去除取消正确率', '标准差'],
|
|
|
+ tHeader: [this.$t('errorAnalysis.isHouseName'), this.$t('errorAnalysis.llzl'), this.$t('errorAnalysis.acWeight'), this.$t('errorAnalysis.jshlczs'), this.$t('errorAnalysis.yhlczs'), this.$t('errorAnalysis.hlczl'), this.$t('errorAnalysis.hlwczs'), this.$t('errorAnalysis.hlzqls'), this.$t('errorAnalysis.hlzdtzcs'), this.$t('errorAnalysis.hlsdzdtzcs'), this.$t('errorAnalysis.qxcs'),this.$t('errorAnalysis.hlzqs'),this.$t('errorAnalysis.hlzql'),this.$t('errorAnalysis.qcqxzql'), this.$t('errorAnalysis.bzc')],
|
|
|
filterVal: ['栏舍名称', '理论重量', '实际重量', '计划混料操作数', '已混料操作数', '混料操作率', '混料误差值', '混料准确率', '混料自动跳转次数', '混料手动跳转次数', '取消次数','混料正确数','混料正确率','去除取消正确率', '方差'],
|
|
|
tableDatas: this.tab.table.list,
|
|
|
- sheetName: '混料'
|
|
|
+ sheetName: '混料'
|
|
|
},
|
|
|
{
|
|
|
- tHeader: ['栏舍名称', '理论重量', '实际重量', '计划撒料操作数', '已撒料操作数', '撒料操作率', '撒料误差值', '撒料准确率', '撒料自动跳转次数', '撒料手动跳转次数', '取消次数','撒料正确数','撒料正确率','去除取消正确率', '标准差'],
|
|
|
- filterVal: ['栏舍名称', '理论重量', '实际重量', '计划撒料操作数', '已撒料操作数', '撒料操作率', '撒料误差值', '撒料准确率', '撒料自动跳转次数', '撒料手动跳转次数', '取消次数','撒料正确数','撒料正确率','去除取消正确率', '方差'],
|
|
|
+ tHeader: [this.$t('errorAnalysis.isHouseName'), this.$t('errorAnalysis.llzl'), this.$t('errorAnalysis.acWeight'), this.$t('errorAnalysis.sljhczs'), this.$t('errorAnalysis.yclczs'), this.$t('errorAnalysis.slczl'), this.$t('errorAnalysis.slwcz'), this.$t('errorAnalysis.slzql'), this.$t('errorAnalysis.slzdtzcs'), this.$t('errorAnalysis.slsdzdtzcs'), this.$t('errorAnalysis.qxcs'),this.$t('errorAnalysis.slzqs'),this.$t('errorAnalysis.slzqs'),this.$t('errorAnalysis.qcqxzql'), this.$t('errorAnalysis.bzc')],
|
|
|
+ filterVal: [this.$t('errorAnalysis.isHouseName'), '理论重量', '实际重量', '计划撒料操作数', '已撒料操作数', '撒料操作率', '撒料误差值', '撒料准确率', '撒料自动跳转次数', '撒料手动跳转次数', '取消次数','撒料正确数','撒料正确率','去除取消正确率', '方差'],
|
|
|
tableDatas: this.tab.table2.list,
|
|
|
- sheetName: '撒料'
|
|
|
+ sheetName: '撒料'
|
|
|
}
|
|
|
]
|
|
|
- json2excel(excelDatas2, '汇总统计-栏舍名称', true, 'xlsx')
|
|
|
+ json2excel(excelDatas2, this.$t('errorAnalysis.hztjlsmz'), true, 'xlsx')
|
|
|
} else if (this.tab.radio == '3') {
|
|
|
var excelDatas3 = [
|
|
|
{
|
|
|
- tHeader: ['牲畜类别', '理论重量', '实际重量', '计划混料操作数', '已混料操作数', '混料操作率', '混料误差值', '混料准确率', '混料自动跳转次数', '混料手动跳转次数', '取消次数', '混料正确数','混料正确率','去除取消正确率','标准差'],
|
|
|
+ tHeader: [this.$t('errorAnalysis.sxlb'), this.$t('errorAnalysis.llzl'), this.$t('errorAnalysis.acWeight'), this.$t('errorAnalysis.jshlczs'), this.$t('errorAnalysis.yhlczs'), this.$t('errorAnalysis.hlczl'), this.$t('errorAnalysis.hlwczs'), this.$t('errorAnalysis.hlzqls'), this.$t('errorAnalysis.hlzdtzcs'), this.$t('errorAnalysis.hlsdzdtzcs'), this.$t('errorAnalysis.qxcs'), this.$t('errorAnalysis.hlzqs'),this.$t('errorAnalysis.hlzql'),this.$t('errorAnalysis.qcqxzql'),this.$t('errorAnalysis.bzc')],
|
|
|
filterVal: ['牲畜类别', '理论重量', '实际重量', '计划混料操作数', '已混料操作数', '混料操作率', '混料误差值', '混料准确率', '混料自动跳转次数', '混料手动跳转次数', '取消次数','混料正确数','混料正确率','去除取消正确率', '方差'],
|
|
|
tableDatas: this.tab.table.list,
|
|
|
sheetName: '混料'
|
|
|
},
|
|
|
{
|
|
|
- tHeader: ['牲畜类别', '理论重量', '实际重量', '计划撒料操作数', '已撒料操作数', '撒料操作率', '撒料误差值', '撒料准确率', '撒料自动跳转次数', '撒料手动跳转次数', '取消次数','撒料正确数','撒料正确率','去除取消正确率', '标准差'],
|
|
|
+ tHeader: [this.$t('errorAnalysis.sxlb'), this.$t('errorAnalysis.llzl'), this.$t('errorAnalysis.acWeight'), this.$t('errorAnalysis.sljhczs'), this.$t('errorAnalysis.yclczs'), this.$t('errorAnalysis.slczl'), this.$t('errorAnalysis.slwcz'), this.$t('errorAnalysis.slzql'), this.$t('errorAnalysis.slzdtzcs'), this.$t('errorAnalysis.slsdzdtzcs'), this.$t('errorAnalysis.qxcs'),this.$t('errorAnalysis.slzqs'),this.$t('errorAnalysis.slzqs'),this.$t('errorAnalysis.qcqxzql'), this.$t('errorAnalysis.bzc')],
|
|
|
filterVal: ['牲畜类别', '理论重量', '实际重量', '计划撒料操作数', '已撒料操作数', '撒料操作率', '撒料误差值', '撒料准确率', '撒料自动跳转次数', '撒料手动跳转次数', '取消次数','撒料正确数','撒料正确率','去除取消正确率', '方差'],
|
|
|
tableDatas: this.tab.table2.list,
|
|
|
- sheetName: '撒料'
|
|
|
+ sheetName: '撒料'
|
|
|
}
|
|
|
]
|
|
|
- json2excel(excelDatas3, '汇总统计-牲畜类别', true, 'xlsx')
|
|
|
+ json2excel(excelDatas3, this.$t('errorAnalysis.hztjxslb'), true, 'xlsx')
|
|
|
} else if (this.tab.radio == '4') {
|
|
|
var excelDatas4 = [
|
|
|
{
|
|
|
- tHeader: ['日期','配方名称','车辆名称','开始加料时间','结束加料时间','TMR名称', '车次', '班次', '驾驶员', '理论重量', '实际重量', '计划混料操作数', '已混料操作数', '混料操作率', '混料误差值', '混料准确率', '混料时间','发料开始时间','等待时间','混料自动跳转次数', '混料手动跳转次数', '取消次数','混料正确数','混料正确率','去除取消正确率', '标准差','区域'],
|
|
|
+ tHeader: [this.$t('errorAnalysis.date'),this.$t('errorAnalysis.feedName'),this.$t('errorAnalysis.drivername'),this.$t('errorAnalysis.stratJl'),this.$t('errorAnalysis.endJl'),this.$t('errorAnalysis.tmrnames'), this.$t('errorAnalysis.projname'), this.$t('errorAnalysis.isTrainNumber'), this.$t('errorAnalysis.Driver'), this.$t('errorAnalysis.llzl'), this.$t('errorAnalysis.acWeight'), this.$t('errorAnalysis.jshlczs'), this.$t('errorAnalysis.yhlczs'), this.$t('errorAnalysis.hlczl'), this.$t('errorAnalysis.hlwczs'), this.$t('errorAnalysis.hlzqls'), this.$t('errorAnalysis.hlsj'),this.$t('errorAnalysis.flstartTime'),this.$t('errorAnalysis.waitTime'),this.$t('errorAnalysis.hlzdtzcs'), this.$t('errorAnalysis.hlsdzdtzcs'), this.$t('errorAnalysis.qxcs'),this.$t('errorAnalysis.hlzqs'),this.$t('errorAnalysis.hlzql'),this.$t('errorAnalysis.qcqxzql'), this.$t('errorAnalysis.bzc'),this.$t('errorAnalysis.area')],
|
|
|
filterVal: ['计划时间1','templetname','TMR名称','startTime','endTime','TMR名称', '车次', '班次', '驾驶员', '理论重量', '实际重量', '计划混料操作数', '已混料操作数', '混料操作率', '混料误差值', '混料准确率', '混料时间','startMaterialTime','等待时间','混料自动跳转次数', '混料手动跳转次数', '取消次数', '混料正确数','混料正确率','去除取消正确率', '方差','barname'],
|
|
|
tableDatas: this.tab.table.list,
|
|
|
- sheetName: '混料'
|
|
|
+ sheetName: '混料'
|
|
|
},
|
|
|
{
|
|
|
- tHeader: ['日期','配方名称','车辆名称','开始加料时间','结束加料时间','TMR名称', '车次','班次', '驾驶员','理论重量', '实际重量', '计划撒料操作数', '已撒料操作数', '撒料操作率', '撒料误差值', '撒料准确率', '撒料时间','发料开始时间','等待时间','撒料自动跳转次数', '撒料手动跳转次数', '取消次数','撒料正确数','撒料正确率','去除取消正确率', '标准差','区域'],
|
|
|
+ tHeader: [this.$t('errorAnalysis.date'),this.$t('errorAnalysis.feedName'),this.$t('errorAnalysis.drivername'),this.$t('errorAnalysis.stratJl'),this.$t('errorAnalysis.endJl'),this.$t('errorAnalysis.tmrnames'), this.$t('errorAnalysis.projname'),this.$t('errorAnalysis.isTrainNumber'), this.$t('errorAnalysis.Driver'),this.$t('errorAnalysis.llzl'), this.$t('errorAnalysis.acWeight'), this.$t('errorAnalysis.sljhczs'), this.$t('errorAnalysis.yclczs'), this.$t('errorAnalysis.slczl'), this.$t('errorAnalysis.slwcz'), this.$t('errorAnalysis.slzql'), this.$t('errorAnalysis.slsj'),this.$t('errorAnalysis.flstartTime'),this.$t('errorAnalysis.waitTime'),this.$t('errorAnalysis.slzdtzcs'), this.$t('errorAnalysis.slsdzdtzcs'), this.$t('errorAnalysis.qxcs'),this.$t('errorAnalysis.slzqs'),this.$t('errorAnalysis.slzqs'),this.$t('errorAnalysis.qcqxzql'), this.$t('errorAnalysis.bzc'),this.$t('errorAnalysis.area')],
|
|
|
filterVal: ['计划时间1','templetname','TMR名称','startTime','endTime','TMR名称', '车次','班次', '驾驶员', '理论重量', '实际重量', '计划撒料操作数', '已撒料操作数', '撒料操作率', '撒料误差值', '撒料准确率','撒料时间','startMaterialTime','等待时间', '撒料自动跳转次数', '撒料手动跳转次数', '取消次数','撒料正确数','撒料正确率','去除取消正确率', '方差','barname'],
|
|
|
tableDatas: this.tab.table2.list,
|
|
|
- sheetName: '撒料'
|
|
|
+ sheetName: '撒料'
|
|
|
}
|
|
|
]
|
|
|
- json2excel(excelDatas4, '汇总统计-车次', true, 'xlsx')
|
|
|
+ json2excel(excelDatas4, this.$t('errorAnalysis.hztjcc'), true, 'xlsx')
|
|
|
}else if (this.tab.radio == '5') {
|
|
|
var excelDatas5 = [
|
|
|
{
|
|
|
- tHeader: ['TMR名称','班次','车次', '驾驶员','理论重量', '实际重量', '计划混料操作数', '已混料操作数', '混料操作率', '混料误差值', '混料准确率', '混料自动跳转次数', '混料手动跳转次数', '取消次数','混料正确数','混料正确率','去除取消正确率', '标准差'],
|
|
|
+ tHeader: [this.$t('errorAnalysis.tmrnames'),this.$t('errorAnalysis.isTrainNumber'),this.$t('errorAnalysis.projname'), this.$t('errorAnalysis.Driver'),this.$t('errorAnalysis.llzl'), this.$t('errorAnalysis.acWeight'), this.$t('errorAnalysis.jshlczs'), this.$t('errorAnalysis.yhlczs'), this.$t('errorAnalysis.hlczl'), this.$t('errorAnalysis.hlwczs'), this.$t('errorAnalysis.hlzqls'), this.$t('errorAnalysis.hlzdtzcs'), this.$t('errorAnalysis.hlsdzdtzcs'), this.$t('errorAnalysis.qxcs'),this.$t('errorAnalysis.hlzqs'),this.$t('errorAnalysis.hlzql'),this.$t('errorAnalysis.qcqxzql'), this.$t('errorAnalysis.bzc')],
|
|
|
filterVal: ['TMR名称', '班次', '车次', '驾驶员', '理论重量', '实际重量', '计划混料操作数', '已混料操作数', '混料操作率', '混料误差值', '混料准确率', '混料自动跳转次数', '混料手动跳转次数', '取消次数','混料正确数','混料正确率','去除取消正确率', '方差'],
|
|
|
tableDatas: this.tab.table.list,
|
|
|
- sheetName: '混料'
|
|
|
+ sheetName: '混料'
|
|
|
+
|
|
|
},
|
|
|
{
|
|
|
- tHeader: ['TMR名称', '班次', '车次', '驾驶员','理论重量', '实际重量', '计划撒料操作数', '已撒料操作数', '撒料操作率', '撒料误差值', '撒料准确率', '撒料自动跳转次数', '撒料手动跳转次数', '取消次数', '撒料正确数','撒料正确率','去除取消正确率','标准差'],
|
|
|
+ tHeader: [this.$t('errorAnalysis.tmrnames'), this.$t('errorAnalysis.isTrainNumber'), this.$t('errorAnalysis.projname'), this.$t('errorAnalysis.Driver'),this.$t('errorAnalysis.llzl'), this.$t('errorAnalysis.acWeight'), this.$t('errorAnalysis.sljhczs'), this.$t('errorAnalysis.yclczs'), this.$t('errorAnalysis.slczl'), this.$t('errorAnalysis.slwcz'), this.$t('errorAnalysis.slzql'), this.$t('errorAnalysis.slzdtzcs'), this.$t('errorAnalysis.slsdzdtzcs'), this.$t('errorAnalysis.qxcs'), this.$t('errorAnalysis.slzqs'),this.$t('errorAnalysis.slzqs'),this.$t('errorAnalysis.qcqxzql'),this.$t('errorAnalysis.bzc')],
|
|
|
filterVal: ['TMR名称','班次', '车次', '驾驶员', '理论重量', '实际重量', '计划撒料操作数', '已撒料操作数', '撒料操作率', '撒料误差值', '撒料准确率', '撒料自动跳转次数', '撒料手动跳转次数', '取消次数', '撒料正确数','撒料正确率','去除取消正确率','方差'],
|
|
|
tableDatas: this.tab.table2.list,
|
|
|
- sheetName: '撒料'
|
|
|
+ sheetName: '撒料'
|
|
|
}
|
|
|
]
|
|
|
- json2excel(excelDatas5, '汇总统计-TMR名称', true, 'xlsx')
|
|
|
+ json2excel(excelDatas5, this.$t('errorAnalysis.hztjtmr'), true, 'xlsx')
|
|
|
}else if (this.tab.radio == '6') {
|
|
|
var excelDatas6 = [
|
|
|
{
|
|
|
- tHeader: ['饲料','理论重量', '实际重量', '计划混料操作数', '已混料操作数', '混料操作率', '混料误差值', '混料准确率', '混料自动跳转次数', '混料手动跳转次数', '取消次数','混料正确数','混料正确率','去除取消正确率', '标准差'],
|
|
|
+ tHeader: [this.$t('errorAnalysis.isFeed'),this.$t('errorAnalysis.llzl'), this.$t('errorAnalysis.acWeight'), this.$t('errorAnalysis.jshlczs'), this.$t('errorAnalysis.yhlczs'), this.$t('errorAnalysis.hlczl'), this.$t('errorAnalysis.hlwczs'), this.$t('errorAnalysis.hlzqls'), this.$t('errorAnalysis.hlzdtzcs'), this.$t('errorAnalysis.hlsdzdtzcs'), this.$t('errorAnalysis.qxcs'),this.$t('errorAnalysis.hlzqs'),this.$t('errorAnalysis.hlzql'),this.$t('errorAnalysis.qcqxzql'), this.$t('errorAnalysis.bzc')],
|
|
|
filterVal: ['fname', '理论重量', '实际重量', '计划混料操作数', '已混料操作数', '混料操作率', '混料误差值', '混料准确率', '混料自动跳转次数', '混料手动跳转次数', '取消次数','混料正确数','混料正确率','去除取消正确率', '方差'],
|
|
|
tableDatas: this.tab.table.list,
|
|
|
- sheetName: '混料'
|
|
|
+ sheetName: '混料'
|
|
|
}
|
|
|
]
|
|
|
- json2excel(excelDatas6, '汇总统计-饲料', true, 'xlsx')
|
|
|
+ json2excel(excelDatas6, this.$t('errorAnalysis.hztjsl'), true, 'xlsx')
|
|
|
}else if (this.tab.radio == '7') {
|
|
|
var excelDatas7 = [
|
|
|
{
|
|
|
- tHeader: ['理论重量', '实际重量', '计划混料操作数', '已混料操作数', '混料操作率', '混料误差值', '混料准确率', '混料自动跳转次数', '混料手动跳转次数', '取消次数','混料正确数','混料正确率','去除取消正确率', '标准差'],
|
|
|
+ tHeader: [this.$t('errorAnalysis.llzl'), this.$t('errorAnalysis.acWeight'), this.$t('errorAnalysis.jshlczs'), this.$t('errorAnalysis.yhlczs'), this.$t('errorAnalysis.hlczl'), this.$t('errorAnalysis.hlwczs'), this.$t('errorAnalysis.hlzqls'), this.$t('errorAnalysis.hlzdtzcs'), this.$t('errorAnalysis.hlsdzdtzcs'), this.$t('errorAnalysis.qxcs'),this.$t('errorAnalysis.hlzqs'),this.$t('errorAnalysis.hlzql'),this.$t('errorAnalysis.qcqxzql'), this.$t('errorAnalysis.bzc')],
|
|
|
filterVal: ['理论重量', '实际重量', '计划混料操作数', '已混料操作数', '混料操作率', '混料误差值', '混料准确率', '混料自动跳转次数', '混料手动跳转次数', '取消次数','混料正确数','混料正确率','去除取消正确率', '方差'],
|
|
|
tableDatas: this.tab.table.list,
|
|
|
- sheetName: '混料'
|
|
|
+ sheetName: '混料'
|
|
|
},
|
|
|
{
|
|
|
- tHeader: ['理论重量', '实际重量', '计划撒料操作数', '已撒料操作数', '撒料操作率', '撒料误差值', '撒料准确率', '撒料自动跳转次数', '撒料手动跳转次数', '取消次数', '撒料正确数','撒料正确率','去除取消正确率','标准差'],
|
|
|
+ tHeader: [this.$t('errorAnalysis.llzl'), this.$t('errorAnalysis.acWeight'), this.$t('errorAnalysis.sljhczs'), this.$t('errorAnalysis.yclczs'), this.$t('errorAnalysis.slczl'), this.$t('errorAnalysis.slwcz'), this.$t('errorAnalysis.slzql'), this.$t('errorAnalysis.slzdtzcs'), this.$t('errorAnalysis.slsdzdtzcs'), this.$t('errorAnalysis.qxcs'), this.$t('errorAnalysis.slzqs'),this.$t('errorAnalysis.slzqs'),this.$t('errorAnalysis.qcqxzql'),this.$t('errorAnalysis.bzc')],
|
|
|
filterVal: ['理论重量', '实际重量', '计划撒料操作数', '已撒料操作数', '撒料操作率', '撒料误差值', '撒料准确率', '撒料自动跳转次数', '撒料手动跳转次数', '取消次数', '撒料正确数','撒料正确率','去除取消正确率','方差'],
|
|
|
tableDatas: this.tab.table2.list,
|
|
|
- sheetName: '撒料'
|
|
|
+ sheetName: '撒料'
|
|
|
}
|
|
|
]
|
|
|
- json2excel(excelDatas7, '汇总统计-无分类', true, 'xlsx')
|
|
|
+ json2excel(excelDatas7, this.$t('errorAnalysis.hztjwfl'), true, 'xlsx')
|
|
|
}
|
|
|
}
|
|
|
},
|
|
@@ -4069,7 +4071,7 @@ export default {
|
|
|
feature: {}
|
|
|
},
|
|
|
legend: {
|
|
|
- data: ['自动跳转次数', '手动跳转次数', '自动跳转准确率', '手动跳转准确率']
|
|
|
+ data: [this.$t('errorAnalysis.zdtzcs'), this.$t('errorAnalysis.sdtzcs'), this.$t('errorAnalysis.zdtzzql'), this.$t('errorAnalysis.sdtzzql')]
|
|
|
},
|
|
|
grid: {
|
|
|
top: '20%',
|
|
@@ -4089,14 +4091,14 @@ export default {
|
|
|
yAxis: [
|
|
|
{
|
|
|
splitLine: { show: false }, type: 'value',
|
|
|
- name: '跳转次数',
|
|
|
+ name: this.$t('errorAnalysis.tzcs'),
|
|
|
axisLabel: {
|
|
|
formatter: '{value}'
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
splitLine: { show: false }, type: 'value',
|
|
|
- name: '混料准确率',
|
|
|
+ name: this.$t('errorAnalysis.hlzqls'),
|
|
|
min: 0,
|
|
|
max: 100,
|
|
|
interval: 10,
|
|
@@ -4107,23 +4109,23 @@ export default {
|
|
|
],
|
|
|
series: [
|
|
|
{
|
|
|
- name: '自动跳转次数',
|
|
|
+ name: this.$t('errorAnalysis.zdtzcs'),
|
|
|
type: 'bar',
|
|
|
data: chartLine_data.data2
|
|
|
},
|
|
|
{
|
|
|
- name: '手动跳转次数',
|
|
|
+ name: this.$t('errorAnalysis.sdtzcs'),
|
|
|
type: 'bar',
|
|
|
data: chartLine_data.data3
|
|
|
},
|
|
|
{
|
|
|
- name: '自动跳转准确率',
|
|
|
+ name: this.$t('errorAnalysis.zdtzzql'),
|
|
|
type: 'line',
|
|
|
yAxisIndex: 1,
|
|
|
data: chartLine_data.data4
|
|
|
},
|
|
|
{
|
|
|
- name: '手动跳转准确率',
|
|
|
+ name: this.$t('errorAnalysis.sdtzzql'),
|
|
|
type: 'line',
|
|
|
yAxisIndex: 1,
|
|
|
data: chartLine_data.data5
|
|
@@ -4188,7 +4190,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
legend: {
|
|
|
- data: ['取消次数'],
|
|
|
+ data: [this.$t('errorAnalysis.qxcs')],
|
|
|
right: 10, show: true, type: 'scroll'
|
|
|
},
|
|
|
grid: {
|
|
@@ -4209,7 +4211,7 @@ export default {
|
|
|
],
|
|
|
yAxis: [
|
|
|
{
|
|
|
- name: '次数',
|
|
|
+ name: this.$t('errorAnalysis.not'),
|
|
|
interval: 1, // 会出现负数刻度
|
|
|
min: 0,
|
|
|
type: 'value'
|
|
@@ -4217,7 +4219,7 @@ export default {
|
|
|
],
|
|
|
series: [
|
|
|
{
|
|
|
- name: '取消次数',
|
|
|
+ name: this.$t('errorAnalysis.qxcs'),
|
|
|
type: 'bar',
|
|
|
barWidth: '60%',
|
|
|
data: chartLine_data.data2
|
|
@@ -4442,79 +4444,83 @@ export default {
|
|
|
console.log('配方准确率导出')
|
|
|
var excelDatasTabChart1 = [
|
|
|
{
|
|
|
- tHeader: ['日期', '配方名称', '计划重量(kg)', '实际重量(kg)', '准确率'],
|
|
|
+ tHeader: [this.$t('errorAnalysis.date'), this.$t('errorAnalysis.feedName'), this.$t('errorAnalysis.jhzl'), this.$t('errorAnalysis.skzl'), this.$t('errorAnalysis.zql')],
|
|
|
filterVal: ['日期', '名称', '理论量', '实际量', '准确率'],
|
|
|
tableDatas: this.tab.chart1.table.list,
|
|
|
- sheetName: '配方准确率'
|
|
|
+ sheetName: this.$t('errorAnalysis.feedName')
|
|
|
}
|
|
|
]
|
|
|
- json2excel(excelDatasTabChart1, '配方准确率', true, 'xlsx')
|
|
|
+ json2excel(excelDatasTabChart1, this.$t('errorAnalysis.feedName'), true, 'xlsx')
|
|
|
} else if (item == 'chart2') {
|
|
|
console.log('计划统计导出')
|
|
|
var excelDatasTabChart2 = [
|
|
|
{
|
|
|
- tHeader: ['日期', '计划执行重量(kg)', '配方理论重量(kg)', '计划准确率', '计划取消重量(kg)', '计划准确率(去除取消重量)', '计划正确数', '计划数', '计划正确率'],
|
|
|
+ tHeader: [this.$t('errorAnalysis.date'), this.$t('errorAnalysis.jhzxzl'), this.$t('errorAnalysis.pfllzl'), this.$t('errorAnalysis.jhzql'), this.$t('errorAnalysis.jhqxzl'), this.$t('errorAnalysis.jhzqll'), this.$t('errorAnalysis.jhzql1'), this.$t('errorAnalysis.jhs'), this.$t('errorAnalysis.jhzql1')],
|
|
|
filterVal: ['日期', '实际量', '理论量', 'field1', '计划取消重量', 'field3', '正确数', '计划数', 'field2'],
|
|
|
tableDatas: this.tab.chart2.table.list,
|
|
|
- sheetName: '计划统计'
|
|
|
+ sheetName: "计划统计"
|
|
|
}
|
|
|
]
|
|
|
- json2excel(excelDatasTabChart2, '计划统计', true, 'xlsx')
|
|
|
+ json2excel(excelDatasTabChart2, this.$t('errorAnalysis.planName'), true, 'xlsx')
|
|
|
} else if (item == 'chart3') {
|
|
|
console.log('牛群准确率导出')
|
|
|
var excelDatasTabChart3 = [
|
|
|
{
|
|
|
- tHeader: ['日期', '牲畜类别', '计划重量(kg)', '实际重量(kg)', '准确率'],
|
|
|
+ tHeader: [this.$t('errorAnalysis.date'), this.$t('errorAnalysis.sxlb'), this.$t('errorAnalysis.jhzl'), this.$t('errorAnalysis.skzl'), this.$t('errorAnalysis.zql')],
|
|
|
filterVal: ['日期', '名称', '理论量', '实际量', '准确率'],
|
|
|
tableDatas: this.tab.chart3.table.list,
|
|
|
- sheetName: '牛群准确率'
|
|
|
+ sheetName: "牛群准确率"
|
|
|
}
|
|
|
]
|
|
|
- json2excel(excelDatasTabChart3, '牛群准确率', true, 'xlsx')
|
|
|
+ json2excel(excelDatasTabChart3, this.$t('errorAnalysis.nqName'), true, 'xlsx')
|
|
|
} else if (item == 'chart4') {
|
|
|
console.log('车辆准确率(重量)导出')
|
|
|
var excelDatasTabChart4 = [
|
|
|
{
|
|
|
- tHeader: ['日期', '车次', '计划重量(kg)', '实际重量(kg)', '准确率'],
|
|
|
+ tHeader: [this.$t('errorAnalysis.date'), this.$t('errorAnalysis.projname'), this.$t('errorAnalysis.jhzl'), this.$t('errorAnalysis.skzl'), this.$t('errorAnalysis.zql')],
|
|
|
filterVal: ['日期', '名称', '理论量', '实际量', '准确率'],
|
|
|
tableDatas: this.tab.chart4.table.list,
|
|
|
sheetName: '车辆准确率(重量)'
|
|
|
}
|
|
|
]
|
|
|
- json2excel(excelDatasTabChart4, '车辆准确率(重量)', true, 'xlsx')
|
|
|
+ json2excel(excelDatasTabChart4,this.$t('errorAnalysis.clzql'), true, 'xlsx')
|
|
|
} else if (item == 'chart5') {
|
|
|
console.log('混料统计导出')
|
|
|
+ const table = this.$refs.myTable;
|
|
|
+ const columns = table.columns;
|
|
|
+ const labels = columns.map(column => column.label);
|
|
|
+ console.log('labels',labels)
|
|
|
var excelDatasTabChart5 = [
|
|
|
{
|
|
|
- tHeader: ['日期', '自动跳转次数', '手动跳转次数', '自动跳转理论重量', '自动跳转实际重量', '自动跳转准确率', '手动跳转理论重量', '手动跳转实际重量', '手动跳转准确率'],
|
|
|
+ tHeader: labels,
|
|
|
filterVal: ['日期', 'field1', 'field2', '理论自动', '实际自动', 'field3', '理论手动', '实际手动', 'field4'],
|
|
|
tableDatas: this.tab.chart5.table.list,
|
|
|
- sheetName: this.$t('errorAnalysis.hltj')
|
|
|
+ sheetName: '混料统计'
|
|
|
}
|
|
|
]
|
|
|
- json2excel(excelDatasTabChart5, '混料统计', true, 'xlsx')
|
|
|
+ json2excel(excelDatasTabChart5, this.$t('errorAnalysis.hltj'), true, 'xlsx')
|
|
|
} else if (item == 'chart6') {
|
|
|
console.log('混料计划取消次数导出')
|
|
|
var excelDatasTabChart6 = [
|
|
|
{
|
|
|
- tHeader: ['日期', '混料计划取消次数'],
|
|
|
+ tHeader: [this.$t('errorAnalysis.date'), this.$t('errorAnalysis.hlqxcs')],
|
|
|
filterVal: ['日期', 'field1'],
|
|
|
tableDatas: this.tab.chart6.table.list,
|
|
|
sheetName: '混料计划取消次数'
|
|
|
}
|
|
|
]
|
|
|
- json2excel(excelDatasTabChart6, '混料计划取消次数', true, 'xlsx')
|
|
|
+ json2excel(excelDatasTabChart6, this.$t('errorAnalysis.hlqxcs'), true, 'xlsx')
|
|
|
} else if (item == 'chart7') {
|
|
|
console.log('栏舍撒料时间统计导出')
|
|
|
var excelDatasTabChart7 = [
|
|
|
{
|
|
|
- tHeader: ['日期', '栏舍', '撒料时间'],
|
|
|
+ tHeader: [this.$t('errorAnalysis.date'), this.$t('errorAnalysis.pen'), this.$t('errorAnalysis.slsj')],
|
|
|
filterVal: ['日期', 'fname', '准确率'],
|
|
|
tableDatas: this.tab.chart7.table.list,
|
|
|
- sheetName: '栏舍撒料时间统计'
|
|
|
+ sheetName: '栏舍撒料时间统计'
|
|
|
}
|
|
|
]
|
|
|
- json2excel(excelDatasTabChart7, '栏舍撒料时间统计', true, 'xlsx')
|
|
|
+ json2excel(excelDatasTabChart7, this.$t('errorAnalysis.lsslsjtj'), true, 'xlsx')
|
|
|
}
|
|
|
},
|
|
|
// 切换表格
|
|
@@ -4651,7 +4657,7 @@ export default {
|
|
|
// tHeader: ['日期', 'TMR名称', '车次', '班次', '配方名称', '饲料', '理论重量', '实际重量', '误差值', '准确率', '计划时间', '开始时间', '结束时间', ' 跳转方式', '开始重量', '结束重量', '搅拌时间'],
|
|
|
// filterVal: ['日期', 'TMR名称', '车次', '班次', '配方名称', '饲料', '理论重量', '实际重量', '误差值', '准确率', '计划时间', '开始时间', '结束时间', '跳转方式', '开始重量', '结束重量', '搅拌时间'],
|
|
|
// tableDatas: this.tab2.table.list,
|
|
|
- // sheetName: this.$t('errorAnalysis.hltj')
|
|
|
+ // sheetName: '混料统计'
|
|
|
// }
|
|
|
// ]
|
|
|
// json2excel(excelDatasTab2, '混料统计', true, 'xlsx')
|
|
@@ -4682,13 +4688,13 @@ export default {
|
|
|
}
|
|
|
var excelDatasTab2 = [
|
|
|
{
|
|
|
- tHeader: ['日期', 'TMR名称', '操作编号','车次', '班次', '配方名称','驾驶员', '饲料', '理论重量', '实际重量', '误差值', '准确率', '计划时间', '开始时间', '结束时间', ' 跳转方式', '开始重量', '结束重量', '搅拌时间','是否达标','区域'],
|
|
|
+ tHeader: [this.$t('errorAnalysis.date'), this.$t('errorAnalysis.tmrnames'), this.$t('errorAnalysis.czNum'),this.$t('errorAnalysis.projname'), this.$t('errorAnalysis.isTrainNumber'), this.$t('errorAnalysis.feedName'),this.$t('errorAnalysis.Driver'), this.$t('errorAnalysis.isFeed'), this.$t('errorAnalysis.llzl'), this.$t('errorAnalysis.acWeight'), this.$t('errorAnalysis.wcz'), this.$t('errorAnalysis.zql'), this.$t('errorAnalysis.planTime'), this.$t('errorAnalysis.startTime'), this.$t('errorAnalysis.endTime'), this.$t('errorAnalysis.tzfs'), this.$t('errorAnalysis.stWeight'), this.$t('errorAnalysis.edWeight'), this.$t('errorAnalysis.jsTime'),this.$t('errorAnalysis.isOK'),this.$t('errorAnalysis.area')],
|
|
|
filterVal: ['日期', 'TMR名称','sort', '车次', '班次', '配方名称','驾驶员', '饲料', '理论重量', '实际重量', '误差值', '准确率', '计划时间', '开始时间', '结束时间', '跳转方式', '开始重量', '结束重量', '搅拌时间','standard','barname'],
|
|
|
tableDatas: exportList,
|
|
|
- sheetName: this.$t('errorAnalysis.hltj')
|
|
|
+ sheetName: '混料统计'
|
|
|
}
|
|
|
]
|
|
|
- json2excel(excelDatasTab2, '混料统计', true, 'xlsx')
|
|
|
+ json2excel(excelDatasTab2, this.$t('errorAnalysis.hltj'), true, 'xlsx')
|
|
|
this.isokDisable = false
|
|
|
this.exportList.dialogFormVisible = false
|
|
|
})
|
|
@@ -4752,7 +4758,7 @@ export default {
|
|
|
// tHeader: ['日期', 'TMR名称', '车次', '班次', '配方名称', '栏舍', '理论重量', '实际重量', '误差值', '准确率', '开始时间', '结束时间', '跳转方式', '开始重量', '结束重量', '搅拌时间'],
|
|
|
// filterVal: ['日期', 'TMR名称', '车次', '班次', '配方名称', '栏舍', '理论重量', '实际重量', '误差值', '准确率', '开始时间', '结束时间', '跳转方式', '开始重量', '结束重量', '搅拌时间'],
|
|
|
// tableDatas: this.tab3.table.list,
|
|
|
- // sheetName: '撒料统计'
|
|
|
+ // sheetName: '撒料统计'
|
|
|
// }
|
|
|
// ]
|
|
|
// json2excel(excelDatasTab3, '撒料统计', true, 'xlsx')
|
|
@@ -4783,13 +4789,13 @@ export default {
|
|
|
}
|
|
|
var excelDatasTab3 = [
|
|
|
{
|
|
|
- tHeader: ['日期', 'TMR名称','操作编号', '车次', '班次', '配方名称','驾驶员', '栏舍', '理论重量', '实际重量', '误差值', '准确率', '开始时间', '结束时间', '跳转方式', '开始重量', '结束重量', '搅拌时间','是否达标',],
|
|
|
- filterVal: ['日期', 'TMR名称','sort', '车次', '班次', '配方名称','驾驶员', '栏舍', '理论重量', '实际重量', '误差值', '准确率', '开始时间', '结束时间', '跳转方式', '开始重量', '结束重量', '搅拌时间','standard'],
|
|
|
+ tHeader: [this.$t('errorAnalysis.date'), this.$t('errorAnalysis.tmrnames'),this.$t('errorAnalysis.czNum'), this.$t('errorAnalysis.projname'), this.$t('errorAnalysis.isTrainNumber'), this.$t('errorAnalysis.feedName'),this.$t('errorAnalysis.Driver'), this.$t('errorAnalysis.pen'), this.$t('errorAnalysis.llzl'), this.$t('errorAnalysis.acWeight'), this.$t('errorAnalysis.wcz'), this.$t('errorAnalysis.zql'), this.$t('errorAnalysis.startTime'), this.$t('errorAnalysis.endTime'), this.$t('errorAnalysis.tzfs'), this.$t('errorAnalysis.stWeight'), this.$t('errorAnalysis.edWeight'), this.$t('errorAnalysis.jsTime'),this.$t('errorAnalysis.isOK'),],
|
|
|
+ filterVal: ['日期', 'TMR名称','sort', '车次', '班次', '配方名称','驾驶员', '栏舍', '理论重量', '实际重量', '误差值', '准确率', '开始时间', '结束时间', '跳转方式', this.$t('errorAnalysis.stWeight'), '结束重量', '搅拌时间','standard'],
|
|
|
tableDatas: exportList,
|
|
|
- sheetName: '撒料统计'
|
|
|
+ sheetName: '撒料统计'
|
|
|
}
|
|
|
]
|
|
|
- json2excel(excelDatasTab3, '撒料统计', true, 'xlsx')
|
|
|
+ json2excel(excelDatasTab3, this.$t('errorAnalysis.sltj'), true, 'xlsx')
|
|
|
this.isokDisable = false
|
|
|
this.exportList.dialogFormVisible = false
|
|
|
})
|