|
@@ -94,15 +94,15 @@
|
|
|
<u-table-column v-if="tab.isFormulaName" :key="2" sortable :label="$t('errorAnalysis.feedName')" min-width="70px" align="center" prop="配方名称" />
|
|
|
<u-table-column v-if="tab.isHouseName" :key="3" sortable :label="$t('errorAnalysis.isHouseName')" min-width="70px" align="center" prop="栏舍名称" />
|
|
|
<u-table-column v-if="tab.isLivestockType" :key="4" sortable :label="$t('errorAnalysis.sxlb')" min-width="70px" align="center" prop="牲畜类别" />
|
|
|
- <u-table-column v-if="tab.isTrainNumber" :key="5" sortable label="TMR名称" min-width="70px" align="center" prop="TMR名称" />
|
|
|
- <u-table-column v-if="tab.isTrainNumber" :key="6" sortable label="车次" min-width="70px" align="center" prop="车次" />
|
|
|
- <u-table-column v-if="tab.isTrainNumber" :key="7" sortable label="班次" min-width="70px" align="center" prop="班次" />
|
|
|
+ <u-table-column v-if="tab.isTrainNumber" :key="5" sortable :label="$t('errorAnalysis.tmrnames')" min-width="70px" align="center" prop="TMR名称" />
|
|
|
+ <u-table-column v-if="tab.isTrainNumber" :key="6" sortable :label="$t('errorAnalysis.projname')" min-width="70px" align="center" prop="车次" />
|
|
|
+ <u-table-column v-if="tab.isTrainNumber" :key="7" sortable :label="$t('errorAnalysis.isTrainNumber')" min-width="70px" align="center" prop="班次" />
|
|
|
<u-table-column v-if="tab.isTrainNumber" :key="8" sortable :label="$t('errorAnalysis.Driver')" min-width="70px" align="center" prop="驾驶员" />
|
|
|
- <u-table-column v-if="tab.isTMRName" :key="9" sortable label="TMR名称" min-width="70px" align="center" prop="TMR名称" />
|
|
|
- <u-table-column v-if="tab.isTMRName" :key="10" sortable label="班次" min-width="70px" align="center" prop="班次" />
|
|
|
- <u-table-column v-if="tab.isTMRName" :key="11" sortable label="车次" min-width="70px" align="center" prop="车次" />
|
|
|
+ <u-table-column v-if="tab.isTMRName" :key="9" sortable :label="$t('errorAnalysis.tmrnames')" min-width="70px" align="center" prop="TMR名称" />
|
|
|
+ <u-table-column v-if="tab.isTMRName" :key="10" sortable :label="$t('errorAnalysis.isTrainNumber')" min-width="70px" align="center" prop="班次" />
|
|
|
+ <u-table-column v-if="tab.isTMRName" :key="11" sortable :label="$t('errorAnalysis.projname')" min-width="70px" align="center" prop="车次" />
|
|
|
<u-table-column v-if="tab.isTMRName" :key="12" sortable :label="$t('errorAnalysis.Driver')" min-width="70px" align="center" prop="驾驶员" />
|
|
|
- <u-table-column v-if="tab.isFeed" :key="13" sortable label="饲料" min-width="70px" align="center" prop="fname" />
|
|
|
+ <u-table-column v-if="tab.isFeed" :key="13" sortable :label="$t('errorAnalysis.isFeed')" min-width="70px" align="center" prop="fname" />
|
|
|
<u-table-column :key="14" sortable :label="$t('errorAnalysis.llzl')" min-width="60px" align="center" prop="理论重量" />
|
|
|
<u-table-column :key="15" sortable :label="$t('errorAnalysis.acWeight')" min-width="60px" align="center" prop="实际重量" />
|
|
|
<u-table-column :key="16" sortable :label="$t('errorAnalysis.jshlczs')" min-width="60px" align="center" prop="计划混料操作数" />
|
|
@@ -120,7 +120,7 @@
|
|
|
<u-table-column :key="28" sortable :label="$t('processAnalysis.hlzql')" min-width="70px" align="center" prop="混料正确率" />
|
|
|
<u-table-column :key="29" sortable :label="$t('errorAnalysis.qcqxzql')" min-width="60px" align="center" prop="去除取消正确率" />
|
|
|
<u-table-column :key="30" sortable :label="$t('errorAnalysis.bzc')" min-width="60px" align="center" prop="方差" />
|
|
|
- <u-table-column :key="31" v-if="tab.isTrainNumber" sortable label="区域" min-width="60px" align="center" prop="barname" />
|
|
|
+ <u-table-column :key="31" v-if="tab.isTrainNumber" sortable :label="$t('errorAnalysis.area')" min-width="60px" align="center" prop="barname" />
|
|
|
<u-table-column v-if="activeName=='first' && tab.table.list !== null" :key="33" align="center" width="70" :label="$t('errorAnalysis.cz')" class-name="small-padding fixed-width" fixed="right">
|
|
|
<template slot-scope="{row}">
|
|
|
<el-button class="miniSuccess" icon="el-icon-search" @click="handleSee('1',row)" />
|
|
@@ -160,15 +160,15 @@
|
|
|
<u-table-column v-if="tab.isFormulaName" :key="2" sortable :label="$t('errorAnalysis.feedName')" min-width="70px" align="center" prop="配方名称" />
|
|
|
<u-table-column v-if="tab.isHouseName" :key="3" sortable :label="$t('errorAnalysis.isHouseName')" min-width="70px" align="center" prop="栏舍名称" />
|
|
|
<u-table-column v-if="tab.isLivestockType" :key="4" sortable :label="$t('errorAnalysis.sxlb')" min-width="70px" align="center" prop="牲畜类别" />
|
|
|
- <u-table-column v-if="tab.isTrainNumber" :key="5" sortable label="车次" min-width="70px" align="center" prop="车次" />
|
|
|
- <u-table-column v-if="tab.isTrainNumber" :key="6" sortable label="班次" min-width="70px" align="center" prop="班次" />
|
|
|
- <u-table-column v-if="tab.isTrainNumber" :key="7" sortable label="TMR名称" min-width="70px" align="center" prop="TMR名称" />
|
|
|
+ <u-table-column v-if="tab.isTrainNumber" :key="5" sortable :label="$t('errorAnalysis.projname')" min-width="70px" align="center" prop="车次" />
|
|
|
+ <u-table-column v-if="tab.isTrainNumber" :key="6" sortable :label="$t('errorAnalysis.isTrainNumber')" min-width="70px" align="center" prop="班次" />
|
|
|
+ <u-table-column v-if="tab.isTrainNumber" :key="7" sortable :label="$t('errorAnalysis.tmrnames')" min-width="70px" align="center" prop="TMR名称" />
|
|
|
<u-table-column v-if="tab.isTrainNumber" :key="8" sortable :label="$t('errorAnalysis.Driver')" min-width="70px" align="center" prop="驾驶员" />
|
|
|
- <u-table-column v-if="tab.isTMRName" :key="9" sortable label="TMR名称" min-width="70px" align="center" prop="TMR名称" />
|
|
|
- <u-table-column v-if="tab.isTMRName" :key="10" sortable label="班次" min-width="70px" align="center" prop="班次" />
|
|
|
- <u-table-column v-if="tab.isTMRName" :key="11" sortable label="车次" min-width="70px" align="center" prop="车次" />
|
|
|
+ <u-table-column v-if="tab.isTMRName" :key="9" sortable :label="$t('errorAnalysis.tmrnames')" min-width="70px" align="center" prop="TMR名称" />
|
|
|
+ <u-table-column v-if="tab.isTMRName" :key="10" sortable :label="$t('errorAnalysis.isTrainNumber')" min-width="70px" align="center" prop="班次" />
|
|
|
+ <u-table-column v-if="tab.isTMRName" :key="11" sortable :label="$t('errorAnalysis.projname')" min-width="70px" align="center" prop="车次" />
|
|
|
<u-table-column v-if="tab.isTMRName" :key="12" sortable :label="$t('errorAnalysis.Driver')" min-width="70px" align="center" prop="驾驶员" />
|
|
|
- <u-table-column v-if="tab.isFeed" :key="13" sortable label="饲料" min-width="70px" align="center" prop="饲料" />
|
|
|
+ <u-table-column v-if="tab.isFeed" :key="13" sortable :label="$t('errorAnalysis.isFeed')" min-width="70px" align="center" prop="饲料" />
|
|
|
<u-table-column :key="14" sortable :label="$t('errorAnalysis.llzl')" min-width="60px" align="center" prop="理论重量" />
|
|
|
<u-table-column :key="15" sortable :label="$t('errorAnalysis.acWeight')" min-width="60px" align="center" prop="实际重量" />
|
|
|
<u-table-column :key="16" sortable :label="$t('errorAnalysis.sljhczs')" min-width="60px" align="center" prop="计划撒料操作数" />
|
|
@@ -186,7 +186,7 @@
|
|
|
<u-table-column :key="28" sortable :label="$t('processAnalysis.slzql')" min-width="70px" align="center" prop="撒料正确率" />
|
|
|
<u-table-column :key="29" sortable :label="$t('errorAnalysis.qcqxzql')" min-width="65px" align="center" prop="去除取消正确率" />
|
|
|
<u-table-column :key="30" sortable :label="$t('errorAnalysis.bzc')" min-width="60px" align="center" prop="方差" />
|
|
|
- <u-table-column :key="31" v-if="tab.isTrainNumber" sortable label="区域" min-width="60px" align="center" prop="barname" />
|
|
|
+ <u-table-column :key="31" v-if="tab.isTrainNumber" sortable :label="$t('errorAnalysis.area')" min-width="60px" align="center" prop="barname" />
|
|
|
<u-table-column v-if="activeName=='first' && tab.table2.list !== null" :key="32" align="center" width="70" :label="$t('errorAnalysis.cz')" class-name="small-padding fixed-width" fixed="right">
|
|
|
<template slot-scope="{row}">
|
|
|
<el-button class="miniSuccess" icon="el-icon-search" @click="handleSee('2',row)" />
|
|
@@ -465,7 +465,7 @@
|
|
|
class="elTable table-fixed"
|
|
|
>
|
|
|
<el-table-column :label="$t('errorAnalysis.date')" sortable min-width="90px" align="center" prop="日期" />
|
|
|
- <el-table-column label="车次" sortable min-width="90px" align="center" prop="名称" />
|
|
|
+ <el-table-column :label="$t('errorAnalysis.projname')" sortable min-width="90px" align="center" prop="名称" />
|
|
|
<el-table-column :label="$t('errorAnalysis.jhzl')" sortable min-width="100px" align="center" prop="理论量" />
|
|
|
<el-table-column :label="$t('errorAnalysis.skzl')"sortable min-width="100px" align="center" prop="实际量" />
|
|
|
<el-table-column :label="$t('errorAnalysis.zql')" sortable min-width="90px" align="center" prop="准确率" />
|
|
@@ -527,21 +527,21 @@
|
|
|
class="elTable table-fixed"
|
|
|
>
|
|
|
<el-table-column :label="$t('errorAnalysis.date')" sortable min-width="100px" align="center" prop="日期" />
|
|
|
- <el-table-column label="自动跳转次数" sortable min-width="130px" align="center" prop="field1" />
|
|
|
- <el-table-column label="手动跳转次数" sortable min-width="130px" align="center" prop="field2" />
|
|
|
- <el-table-column label="自动跳转理论重量" sortable min-width="110px" align="center" prop="理论自动" />
|
|
|
- <el-table-column label="自动跳转实际重量" sortable min-width="110px" align="center" prop="实际自动" />
|
|
|
- <el-table-column label="自动跳转准确率" sortable min-width="110px" align="center" prop="field3" />
|
|
|
- <el-table-column label="手动跳转理论重量" sortable min-width="110px" align="center" prop="理论手动" />
|
|
|
- <el-table-column label="手动跳转实际重量" sortable min-width="110px" align="center" prop="实际手动" />
|
|
|
- <el-table-column label="手动跳转准确率" sortable min-width="110px" align="center" prop="field4" />
|
|
|
+ <el-table-column :label="$t('errorAnalysis.zdtzcs')" sortable min-width="130px" align="center" prop="field1" />
|
|
|
+ <el-table-column :label="$t('errorAnalysis.sdtzcs')" sortable min-width="130px" align="center" prop="field2" />
|
|
|
+ <el-table-column :label="$t('errorAnalysis.zdtzllzl')" sortable min-width="110px" align="center" prop="理论自动" />
|
|
|
+ <el-table-column :label="$t('errorAnalysis.zdtzsjzl')" sortable min-width="110px" align="center" prop="实际自动" />
|
|
|
+ <el-table-column :label="$t('errorAnalysis.zdtzzql')" sortable min-width="110px" align="center" prop="field3" />
|
|
|
+ <el-table-column :label="$t('errorAnalysis.sdtzllzl')" sortable min-width="110px" align="center" prop="理论手动" />
|
|
|
+ <el-table-column :label="$t('errorAnalysis.sdtzsjzl')" sortable min-width="110px" align="center" prop="实际手动" />
|
|
|
+ <el-table-column :label="$t('errorAnalysis.sdtzzql')" sortable min-width="110px" align="center" prop="field4" />
|
|
|
</el-table>
|
|
|
</div>
|
|
|
</div>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
|
<div class="grid-content">
|
|
|
- <h4>{{$t('errorAnalysis.hltj')}}</h4>
|
|
|
+ <h4>{{$t('errorAnalysis.hlqxcs')}}</h4>
|
|
|
<div v-if="tab.chart6.isChart" class="button">
|
|
|
<div class="chartButton">
|
|
|
<el-radio-group v-model="tab.chart6.getdataListParm.parammaps.specificDate" class="specificDate" size="mini" style="display: inline-block;" @change="changeChartSpecificDate('chart6')">
|
|
@@ -658,7 +658,7 @@
|
|
|
class="elTable table-fixed"
|
|
|
>
|
|
|
<el-table-column :label="$t('errorAnalysis.date')" sortable min-width="110px" align="center" prop="日期" />
|
|
|
- <el-table-column label="栏舍" sortable min-width="110px" align="center" prop="fname" />
|
|
|
+ <el-table-column :label="$t('errorAnalysis.pen')" sortable min-width="110px" align="center" prop="fname" />
|
|
|
<el-table-column :label="$t('errorAnalysis.slsj')" sortable min-width="110px" align="center" prop="撒料时间" />
|
|
|
</el-table>
|
|
|
</div>
|
|
@@ -668,13 +668,13 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</el-tab-pane>
|
|
|
- <el-tab-pane label="混料统计" name="second">
|
|
|
+ <el-tab-pane :label="$t('errorAnalysis.hltj')"name="second">
|
|
|
<div class="search" ref="myHeightSecond">
|
|
|
<el-date-picker v-model="tab2.table.getdataListParm.parammaps.inputDatetime" :clearable="false" class="inputDatetime filter-item" type="daterange" :range-separator="$t('common.to')" :start-placeholder="$t('common.startTime')"" :end-placeholder="$t('common.endTime')" style="width: 250px;" :picker-options="pickerOptions3" />
|
|
|
<!-- <el-date-picker v-model="tab2.table.getdataListParm.parammaps.inputDatetime2" :clearable="false" style="width: 140px;margin-top: 5px;" type="date" placeholder="选择日期"> </el-date-picker> -->
|
|
|
<el-button class="el-icon-arrow-left elIconArrowLeft" style="display:inline-block;margin-top: 5px;" :disabled="Beforedisabled2" @click="handleBefore2" />
|
|
|
<el-button class="el-icon-arrow-right elIconArrowRight" style="display:inline-block;margin-top: 5px;" :disabled="Nextdisabled2" @click="handleNext2" />
|
|
|
- <el-select clearable filterable v-model="tab2.table.getdataListParm.parammaps.tmrtname" placeholder="TMR设备" class="filter-item" style="width: 120px;">
|
|
|
+ <el-select clearable filterable v-model="tab2.table.getdataListParm.parammaps.tmrtname" :placeholder="$t('errorAnalysis.tmrName')" class="filter-item" style="width: 120px;">
|
|
|
<el-option v-for="(item,index) in tab2.TMRNameList" :key="index" :label="item.tmrloadname" :value="item.tmrloadname" />
|
|
|
</el-select>
|
|
|
<el-input v-model="tab2.table.getdataListParm.parammaps.projname" style="margin-top: 5px;width: 110px;" :placeholder="$t('errorAnalysis.projname')" class="filter-item" clearable />
|
|
@@ -682,7 +682,7 @@
|
|
|
<el-option v-for="item in tab2.frequencyList" :key="item.id" :label="item.name" :value="item.id" />
|
|
|
</el-select>
|
|
|
<el-input v-model="tab2.table.getdataListParm.parammaps.templetname" style="margin-top: 5px;width: 110px;" :placeholder="$t('errorAnalysis.feedName')" class="filter-item" clearable />
|
|
|
- <el-select v-model="tab2.table.getdataListParm.parammaps.buttontype" style="margin-top: 5px;width: 130px;" filterable placeholder="跳转方式" class="filter-item" clearable>
|
|
|
+ <el-select v-model="tab2.table.getdataListParm.parammaps.buttontype" style="margin-top: 5px;width: 130px;" filterable :placeholder="$t('errorAnalysis.tzfs')" class="filter-item" clearable>
|
|
|
<el-option v-for="item in tab2.jumpModeList" :key="item.id" :label="item.name" :value="item.id" />
|
|
|
</el-select>
|
|
|
<div style="display: inline-block;" class="filter-item1">
|
|
@@ -726,46 +726,46 @@
|
|
|
:height="myHeightSecond"
|
|
|
>
|
|
|
<u-table-column sortable :label="$t('errorAnalysis.date')" min-width="70px" align="center" prop="日期" />
|
|
|
- <u-table-column sortable label="TMR名称" min-width="70px" align="center" prop="TMR名称" />
|
|
|
- <u-table-column sortable label="操作编号" min-width="70px" align="center" prop="sort" />
|
|
|
- <u-table-column sortable label="车次" min-width="50px" align="center" prop="车次" />
|
|
|
- <u-table-column sortable label="班次" min-width="50px" align="center" prop="班次" />
|
|
|
+ <u-table-column sortable :label="$t('errorAnalysis.tmrnames')" min-width="70px" align="center" prop="TMR名称" />
|
|
|
+ <u-table-column sortable :label="$t('errorAnalysis.czNum')" min-width="70px" align="center" prop="sort" />
|
|
|
+ <u-table-column sortable :label="$t('errorAnalysis.projname')" min-width="50px" align="center" prop="车次" />
|
|
|
+ <u-table-column sortable :label="$t('errorAnalysis.isTrainNumber')" min-width="50px" align="center" prop="班次" />
|
|
|
<u-table-column sortable :label="$t('errorAnalysis.feedName')" min-width="70px" align="center" prop="配方名称">
|
|
|
<template slot-scope="{row}">
|
|
|
<a @click="clickRecipeName2(row)" style="text-decoration: underline;color: #0000FF;">{{ row.配方名称 }}</a>
|
|
|
</template>
|
|
|
</u-table-column>
|
|
|
<u-table-column sortable :label="$t('errorAnalysis.Driver')" min-width="50px" align="center" prop="驾驶员" />
|
|
|
- <u-table-column sortable label="饲料" min-width="70px" align="center" prop="饲料">
|
|
|
+ <u-table-column sortable :label="$t('errorAnalysis.isFeed')" min-width="70px" align="center" prop="饲料">
|
|
|
<template slot-scope="{row}">
|
|
|
<a @click="clickFeed2(row)" style="text-decoration: underline;color: #0000FF;">{{ row.饲料 }}</a>
|
|
|
</template>
|
|
|
</u-table-column>
|
|
|
<u-table-column sortable :label="$t('errorAnalysis.llzl')" min-width="55px" align="center" prop="理论重量" />
|
|
|
<u-table-column sortable :label="$t('errorAnalysis.acWeight')" min-width="55px" align="center" prop="实际重量" />
|
|
|
- <u-table-column sortable label="误差值" min-width="45px" align="center" prop="误差值" />
|
|
|
+ <u-table-column sortable :label="$t('errorAnalysis.wcz')" min-width="45px" align="center" prop="误差值" />
|
|
|
<u-table-column sortable :label="$t('errorAnalysis.zql')" min-width="45px" align="center" prop="准确率" />
|
|
|
- <u-table-column sortable label="计划时间" min-width="55px" align="center" prop="计划时间" />
|
|
|
- <u-table-column sortable label="开始时间" min-width="55px" align="center" prop="开始时间" />
|
|
|
- <u-table-column sortable label="结束时间" min-width="55px" align="center" prop="结束时间" />
|
|
|
- <u-table-column sortable label="搅拌时间" min-width="55px" align="center" prop="搅拌时间" />
|
|
|
- <u-table-column sortable label="跳转方式" min-width="55px" align="center" prop="跳转方式" />
|
|
|
- <u-table-column sortable label="开始重量" min-width="55px" align="center" prop="开始重量" />
|
|
|
- <u-table-column sortable label="结束重量" min-width="55px" align="center" prop="结束重量" />
|
|
|
- <u-table-column sortable label="车次描述" min-width="55px" align="center" prop="remark" />
|
|
|
- <u-table-column sortable label="是否达标" min-width="70px" align="center" prop="standard" />
|
|
|
- <u-table-column sortable label="区域" min-width="70px" align="center" prop="barname" />
|
|
|
+ <u-table-column sortable :label="$t('errorAnalysis.planTime')" min-width="55px" align="center" prop="计划时间" />
|
|
|
+ <u-table-column sortable :label="$t('errorAnalysis.startTime')" min-width="55px" align="center" prop="开始时间" />
|
|
|
+ <u-table-column sortable :label="$t('errorAnalysis.endTime')" min-width="55px" align="center" prop="结束时间" />
|
|
|
+ <u-table-column sortable :label="$t('errorAnalysis.jsTime')" min-width="55px" align="center" prop="搅拌时间" />
|
|
|
+ <u-table-column sortable :label="$t('errorAnalysis.tzfs')" min-width="55px" align="center" prop="跳转方式" />
|
|
|
+ <u-table-column sortable :label="$t('errorAnalysis.stWeight')" min-width="55px" align="center" prop="开始重量" />
|
|
|
+ <u-table-column sortable :label="$t('errorAnalysis.edWeight')" min-width="55px" align="center" prop="结束重量" />
|
|
|
+ <u-table-column sortable :label="$t('errorAnalysis.ccms')" min-width="55px" align="center" prop="remark" />
|
|
|
+ <u-table-column sortable :label="$t('errorAnalysis.isOK')" min-width="70px" align="center" prop="standard" />
|
|
|
+ <u-table-column sortable :label="$t('errorAnalysis.area')" min-width="70px" align="center" prop="barname" />
|
|
|
</u-table>
|
|
|
<span v-if="tab2.table.listLoading == false" style="margin-right: 30px;margin-top: 10px;font-size: 14px;">共{{ tab2.table.total }}条</span>
|
|
|
</div>
|
|
|
</el-tab-pane>
|
|
|
- <el-tab-pane label="撒料统计" name="third">
|
|
|
+ <el-tab-pane :label="$t('errorAnalysis.sltj')" name="third">
|
|
|
<div class="search" ref="myHeightThird">
|
|
|
<el-date-picker v-model="tab3.table.getdataListParm.parammaps.inputDatetime" :clearable="false" class="inputDatetime filter-item" type="daterange" :range-separator="$t('common.to')" :start-placeholder="$t('common.startTime')"" :end-placeholder="$t('common.endTime')" style="width: 250px;" :picker-options="pickerOptions3" />
|
|
|
<!-- <el-date-picker v-model="tab3.table.getdataListParm.parammaps.inputDatetime2" :clearable="false" style="margin-top: 5px;width:140px;" type="date" placeholder="选择日期"> </el-date-picker> -->
|
|
|
<el-button class="el-icon-arrow-left elIconArrowLeft" style="dispaly:inline-block;margin-top: 5px;" :disabled="Beforedisabled3" @click="handleBefore3" />
|
|
|
<el-button class="el-icon-arrow-right elIconArrowRight" style="dispaly:inline-block;margin-top: 5px;" :disabled="Nextdisabled3" @click="handleNext3" />
|
|
|
- <el-select v-model="tab3.table.getdataListParm.parammaps.tmrtname" placeholder="TMR设备" class="filter-item" style="margin-top: 5px;width: 120px;" clearable filterable>
|
|
|
+ <el-select v-model="tab3.table.getdataListParm.parammaps.tmrtname" :placeholder="$t('errorAnalysis.tmrName')" class="filter-item" style="margin-top: 5px;width: 120px;" clearable filterable>
|
|
|
<el-option v-for="(item,index) in tab3.TMRNameList" :key="index" :label="item.tmrloadname" :value="item.tmrloadname" />
|
|
|
</el-select>
|
|
|
<el-input v-model="tab3.table.getdataListParm.parammaps.projname" style="margin-top: 5px;width: 150px;" :placeholder="$t('errorAnalysis.projname')" class="filter-item" clearable />
|
|
@@ -774,7 +774,7 @@
|
|
|
</el-select>
|
|
|
<el-input v-model="tab3.table.getdataListParm.parammaps.templetname" style="margin-top: 5px;width: 110px;" :placeholder="$t('errorAnalysis.feedName')" class="filter-item" clearable />
|
|
|
<el-input v-model="tab3.table.getdataListParm.parammaps.fname" style="margin-top: 5px;width: 110px;" :placeholder="$t('errorAnalysis.isHouseName')" class="filter-item" clearable />
|
|
|
- <el-select v-model="tab3.table.getdataListParm.parammaps.buttontype" style="margin-top: 5px;width: 110px;" filterable placeholder="跳转方式" class="filter-item" clearable>
|
|
|
+ <el-select v-model="tab3.table.getdataListParm.parammaps.buttontype" style="margin-top: 5px;width: 110px;" filterable :placeholder="$t('errorAnalysis.tzfs')"class="filter-item" clearable>
|
|
|
<el-option v-for="item in tab3.jumpModeList" :key="item.id" :label="item.name" :value="item.id" />
|
|
|
</el-select>
|
|
|
<div style="display: inline-block;" class="filter-item1">
|
|
@@ -814,31 +814,31 @@
|
|
|
:height="myHeightThird"
|
|
|
>
|
|
|
<u-table-column sortable :label="$t('errorAnalysis.date')" min-width="70px" align="center" prop="日期" />
|
|
|
- <u-table-column sortable label="TMR名称" min-width="70px" align="center" prop="TMR名称" />
|
|
|
- <u-table-column sortable label="操作编号" min-width="70px" align="center" prop="sort" />
|
|
|
- <u-table-column sortable label="车次" min-width="45px" align="center" prop="车次" />
|
|
|
- <u-table-column sortable label="班次" min-width="45px" align="center" prop="班次" />
|
|
|
+ <u-table-column sortable :label="$t('errorAnalysis.tmrnames')" min-width="70px" align="center" prop="TMR名称" />
|
|
|
+ <u-table-column sortable :label="$t('errorAnalysis.czNum')" min-width="70px" align="center" prop="sort" />
|
|
|
+ <u-table-column sortable :label="$t('errorAnalysis.projname')" min-width="45px" align="center" prop="车次" />
|
|
|
+ <u-table-column sortable :label="$t('errorAnalysis.isTrainNumber')" min-width="45px" align="center" prop="班次" />
|
|
|
<u-table-column sortable :label="$t('errorAnalysis.feedName')" min-width="70px" align="center" prop="配方名称">
|
|
|
<template slot-scope="{row}">
|
|
|
<a @click="clickRecipeName3(row)" style="text-decoration: underline;color: #0000FF;">{{ row.配方名称 }}</a>
|
|
|
</template>
|
|
|
</u-table-column>
|
|
|
<u-table-column sortable :label="$t('errorAnalysis.Driver')" min-width="50px" align="center" prop="驾驶员" />
|
|
|
- <u-table-column sortable label="栏舍" min-width="70px" align="center" prop="栏舍">
|
|
|
+ <u-table-column sortable :label="$t('errorAnalysis.pen')" min-width="70px" align="center" prop="栏舍">
|
|
|
<template slot-scope="{row}">
|
|
|
<a @click="clickFence3(row)" style="text-decoration: underline;color: #0000FF;">{{ row.栏舍 }}</a>
|
|
|
</template>
|
|
|
</u-table-column>
|
|
|
<u-table-column sortable :label="$t('errorAnalysis.llzl')" min-width="55px" align="center" prop="理论重量" />
|
|
|
<u-table-column sortable :label="$t('errorAnalysis.acWeight')" min-width="55px" align="center" prop="实际重量" />
|
|
|
- <u-table-column sortable label="误差值" min-width="45px" align="center" prop="误差值" />
|
|
|
+ <u-table-column sortable :label="$t('errorAnalysis.wcz')" min-width="45px" align="center" prop="误差值" />
|
|
|
<u-table-column sortable :label="$t('errorAnalysis.zql')" min-width="45px" align="center" prop="准确率" />
|
|
|
- <u-table-column sortable label="开始时间" min-width="55px" align="center" prop="开始时间" />
|
|
|
- <u-table-column sortable label="结束时间" min-width="55px" align="center" prop="结束时间" />
|
|
|
- <u-table-column sortable label="跳转方式" min-width="55px" align="center" prop="跳转方式" />
|
|
|
- <u-table-column sortable label="开始重量" min-width="55px" align="center" prop="开始重量" />
|
|
|
- <u-table-column sortable label="结束重量" min-width="55px" align="center" prop="结束重量" />
|
|
|
- <u-table-column sortable label="是否达标" min-width="70px" align="center" prop="standard" />
|
|
|
+ <u-table-column sortable :label="$t('errorAnalysis.startTime')" min-width="55px" align="center" prop="开始时间" />
|
|
|
+ <u-table-column sortable :label="$t('errorAnalysis.endTime')" min-width="55px" align="center" prop="结束时间" />
|
|
|
+ <u-table-column sortable :label="$t('errorAnalysis.tzfs')" min-width="55px" align="center" prop="跳转方式" />
|
|
|
+ <u-table-column sortable :label="$t('errorAnalysis.stWeight')" min-width="55px" align="center" prop="开始重量" />
|
|
|
+ <u-table-column sortable :label="$t('errorAnalysis.edWeight')" min-width="55px" align="center" prop="结束重量" />
|
|
|
+ <u-table-column sortable :label="$t('errorAnalysis.isOK')" min-width="70px" align="center" prop="standard" />
|
|
|
</u-table>
|
|
|
<span v-if="tab3.table.listLoading == false" style="margin-right: 30px;margin-top: 10px;font-size: 14px;">共{{ tab3.table.total }}条</span>
|
|
|
</div>
|
|
@@ -1066,7 +1066,7 @@
|
|
|
<u-table-column label="序号" width="50px" align="center" type="index" />
|
|
|
<u-table-column label="修改时间" width="100px" align="center" prop="createdate" />
|
|
|
<u-table-column label="修改用户" width="130px" align="center" prop="empname" />
|
|
|
- <u-table-column label="班次" min-width="100px" align="center" prop="times" />
|
|
|
+ <u-table-column :label="$t('errorAnalysis.isTrainNumber')" min-width="100px" align="center" prop="times" />
|
|
|
<u-table-column label="实际牛头数" min-width="100px" align="center" prop="ccount">
|
|
|
<template slot-scope="{row}">
|
|
|
<span v-if="row.ccountstatus == 1" style="color: red;">{{row.ccount}}</span>
|
|
@@ -1127,7 +1127,7 @@
|
|
|
<u-table-column label="序号" width="50px" align="center" type="index" />
|
|
|
<u-table-column label="修改时间" width="100px" align="center" prop="createdate" />
|
|
|
<u-table-column label="修改用户" width="130px" align="center" prop="empname" />
|
|
|
- <u-table-column label="班次" width="100px" align="center" prop="times" />
|
|
|
+ <u-table-column :label="$t('errorAnalysis.isTrainNumber')" width="100px" align="center" prop="times" />
|
|
|
<!-- <u-table-column v-for="(item, index) in fenceTemp.tab2.tableLabel" :key="index" align="center" :min-width="item.width" :prop="item.prop" :label="item.label"> -->
|
|
|
<u-table-column v-for="(item, index) in fenceTemp.tab2.tableLabel" :key="index" align="center" :min-width="item.width" :prop="item.prop" :label="item.label">
|
|
|
<template slot-scope="scope">
|
|
@@ -1761,7 +1761,7 @@ export default {
|
|
|
temp: {}
|
|
|
},
|
|
|
frequencyList: [],
|
|
|
- jumpModeList: [{ id: '0', name: '手动跳转' }, { id: '1', name: '自动跳转' }],
|
|
|
+ jumpModeList: [{ id: '0', name:this.$t('errorAnalysis.sdtz') }, { id: '1', name: '自动跳转' }],
|
|
|
isuseList: [{ id: '0', name: '未完成' }, { id: '2', name: '部分完成' }, { id: '1', name: '全部完成' }]
|
|
|
},
|
|
|
tab3: {
|
|
@@ -1795,7 +1795,7 @@ export default {
|
|
|
temp: {}
|
|
|
},
|
|
|
frequencyList: [],
|
|
|
- jumpModeList: [{ id: '0', name: '手动跳转' }, { id: '1', name: '自动跳转' }],
|
|
|
+ jumpModeList: [{ id: '0', name:this.$t('errorAnalysis.sdtz') }, { id: '1', name: '自动跳转' }],
|
|
|
isuseList: [{ id: '0', name: '未完成' }, { id: '2', name: '部分完成' }, { id: '1', name: '全部完成' }]
|
|
|
},
|
|
|
titlefname: '',
|
|
@@ -2567,24 +2567,24 @@ export default {
|
|
|
getIsDisplay() {
|
|
|
GetDataByName(this.maxTime.getMaxTimesParm).then(response => {
|
|
|
if (response.data.list[0].inforvalue == 1) {
|
|
|
- this.tab2.frequencyList = [{ id: '1', name: '第一班' }]
|
|
|
- this.tab3.frequencyList = [{ id: '1', name: '第一班' }]
|
|
|
+ this.tab2.frequencyList = [{ id: '1', name: this.$t('errorAnalysis.one'), }]
|
|
|
+ this.tab3.frequencyList = [{ id: '1', name: this.$t('errorAnalysis.one'), }]
|
|
|
} else if (response.data.list[0].inforvalue == 2) {
|
|
|
- this.tab2.frequencyList = [{ id: '1', name: '第一班' }, { id: '2', name: '第二班' }]
|
|
|
- this.tab3.frequencyList = [{ id: '1', name: '第一班' }, { id: '2', name: '第二班' }]
|
|
|
+ this.tab2.frequencyList = [{ id: '1', name: this.$t('errorAnalysis.one'), }, { id: '2', name: this.$t('errorAnalysis.two'), }]
|
|
|
+ this.tab3.frequencyList = [{ id: '1', name: this.$t('errorAnalysis.one'), }, { id: '2', name: this.$t('errorAnalysis.two'), }]
|
|
|
} else if (response.data.list[0].inforvalue == 3) {
|
|
|
- this.tab2.frequencyList = [{ id: '1', name: '第一班' }, { id: '2', name: '第二班' }, { id: '3', name: '第三班' }]
|
|
|
- this.tab3.frequencyList = [{ id: '1', name: '第一班' }, { id: '2', name: '第二班' }, { id: '3', name: '第三班' }]
|
|
|
- this.frequencyList = [{ id: '1', name: '第一班' }, { id: '2', name: '第二班' }, { id: '3', name: '第三班' }]
|
|
|
+ this.tab2.frequencyList = [{ id: '1', name: this.$t('errorAnalysis.one'), }, { id: '2', name: this.$t('errorAnalysis.two'), }, { id: '3', name: this.$t('errorAnalysis.three'), }]
|
|
|
+ this.tab3.frequencyList = [{ id: '1', name: this.$t('errorAnalysis.one'), }, { id: '2', name: this.$t('errorAnalysis.two'), }, { id: '3', name: this.$t('errorAnalysis.three'), }]
|
|
|
+ this.frequencyList = [{ id: '1', name: this.$t('errorAnalysis.one'), }, { id: '2', name: this.$t('errorAnalysis.two'), }, { id: '3', name: this.$t('errorAnalysis.three'), }]
|
|
|
} else if (response.data.list[0].inforvalue == 4) {
|
|
|
- this.tab2.frequencyList = [{ id: '1', name: '第一班' }, { id: '2', name: '第二班' }, { id: '3', name: '第三班' }, { id: '4', name: '第四班' }]
|
|
|
- this.tab3.frequencyList = [{ id: '1', name: '第一班' }, { id: '2', name: '第二班' }, { id: '3', name: '第三班' }, { id: '4', name: '第四班' }]
|
|
|
+ this.tab2.frequencyList = [{ id: '1', name: this.$t('errorAnalysis.one'), }, { id: '2', name: this.$t('errorAnalysis.two'), }, { id: '3', name: this.$t('errorAnalysis.three'), }, { id: '4', name: this.$t('errorAnalysis.four'), }]
|
|
|
+ this.tab3.frequencyList = [{ id: '1', name: this.$t('errorAnalysis.one'), }, { id: '2', name: this.$t('errorAnalysis.two'), }, { id: '3', name: this.$t('errorAnalysis.three'), }, { id: '4', name: this.$t('errorAnalysis.four'), }]
|
|
|
} else if (response.data.list[0].inforvalue == 5) {
|
|
|
- this.tab2.frequencyList = [{ id: '1', name: '第一班' }, { id: '2', name: '第二班' }, { id: '3', name: '第三班' }, { id: '4', name: '第四班' }, { id: '5', name: '第五班' }]
|
|
|
- this.tab3.frequencyList = [{ id: '1', name: '第一班' }, { id: '2', name: '第二班' }, { id: '3', name: '第三班' }, { id: '4', name: '第四班' }, { id: '5', name: '第五班' }]
|
|
|
+ this.tab2.frequencyList = [{ id: '1', name: this.$t('errorAnalysis.one'), }, { id: '2', name: this.$t('errorAnalysis.two'), }, { id: '3', name: this.$t('errorAnalysis.three'), }, { id: '4', name: this.$t('errorAnalysis.four'), }, { id: '5', name: this.$t('errorAnalysis.five'), }]
|
|
|
+ this.tab3.frequencyList = [{ id: '1', name: this.$t('errorAnalysis.one'), }, { id: '2', name: this.$t('errorAnalysis.two'), }, { id: '3', name: this.$t('errorAnalysis.three'), }, { id: '4', name: this.$t('errorAnalysis.four'), }, { id: '5', name: this.$t('errorAnalysis.five'), }]
|
|
|
} else if (response.data.list[0].inforvalue == 6) {
|
|
|
- this.tab2.frequencyList = [{ id: '1', name: '第一班' }, { id: '2', name: '第二班' }, { id: '3', name: '第三班' }, { id: '4', name: '第四班' }, { id: '5', name: '第五班' }, { id: '6', name: '第六班' }]
|
|
|
- this.tab3.frequencyList = [{ id: '1', name: '第一班' }, { id: '2', name: '第二班' }, { id: '3', name: '第三班' }, { id: '4', name: '第四班' }, { id: '5', name: '第五班' }, { id: '6', name: '第六班' }]
|
|
|
+ this.tab2.frequencyList = [{ id: '1', name: this.$t('errorAnalysis.one'), }, { id: '2', name: this.$t('errorAnalysis.two'), }, { id: '3', name: this.$t('errorAnalysis.three'), }, { id: '4', name: this.$t('errorAnalysis.four'), }, { id: '5', name: this.$t('errorAnalysis.five'), }, { id: '6', name: this.$t('errorAnalysis.six'), }]
|
|
|
+ this.tab3.frequencyList = [{ id: '1', name: this.$t('errorAnalysis.one'), }, { id: '2', name: this.$t('errorAnalysis.two'), }, { id: '3', name: this.$t('errorAnalysis.three'), }, { id: '4', name: this.$t('errorAnalysis.four'), }, { id: '5', name: this.$t('errorAnalysis.five'), }, { id: '6', name: this.$t('errorAnalysis.six'), }]
|
|
|
}
|
|
|
})
|
|
|
},
|
|
@@ -4372,7 +4372,7 @@ export default {
|
|
|
top:10,right: 10, show: true, type: 'scroll'
|
|
|
},
|
|
|
grid: {
|
|
|
- top: '15%',
|
|
|
+ top: '20%',
|
|
|
left: '5%',
|
|
|
right: '8%',
|
|
|
containLabel: true
|
|
@@ -4385,7 +4385,7 @@ export default {
|
|
|
xAxis: { type: 'category', boundaryGap: false, data: chartLine_data.data2, name:this.$t('errorAnalysis.date') },
|
|
|
yAxis: [{
|
|
|
type: '',
|
|
|
- name: '时间',
|
|
|
+ name: this.$t('errorAnalysis.time'),
|
|
|
mix: 0,
|
|
|
max: 24,
|
|
|
interval: 2,
|
|
@@ -4474,7 +4474,7 @@ export default {
|
|
|
tHeader: ['日期', '自动跳转次数', '手动跳转次数', '自动跳转理论重量', '自动跳转实际重量', '自动跳转准确率', '手动跳转理论重量', '手动跳转实际重量', '手动跳转准确率'],
|
|
|
filterVal: ['日期', 'field1', 'field2', '理论自动', '实际自动', 'field3', '理论手动', '实际手动', 'field4'],
|
|
|
tableDatas: this.tab.chart5.table.list,
|
|
|
- sheetName: '混料统计'
|
|
|
+ sheetName: this.$t('errorAnalysis.hltj')
|
|
|
}
|
|
|
]
|
|
|
json2excel(excelDatasTabChart5, '混料统计', true, 'xlsx')
|
|
@@ -4636,7 +4636,7 @@ export default {
|
|
|
// tHeader: ['日期', 'TMR名称', '车次', '班次', '配方名称', '饲料', '理论重量', '实际重量', '误差值', '准确率', '计划时间', '开始时间', '结束时间', ' 跳转方式', '开始重量', '结束重量', '搅拌时间'],
|
|
|
// filterVal: ['日期', 'TMR名称', '车次', '班次', '配方名称', '饲料', '理论重量', '实际重量', '误差值', '准确率', '计划时间', '开始时间', '结束时间', '跳转方式', '开始重量', '结束重量', '搅拌时间'],
|
|
|
// tableDatas: this.tab2.table.list,
|
|
|
- // sheetName: '混料统计'
|
|
|
+ // sheetName: this.$t('errorAnalysis.hltj')
|
|
|
// }
|
|
|
// ]
|
|
|
// json2excel(excelDatasTab2, '混料统计', true, 'xlsx')
|
|
@@ -4670,7 +4670,7 @@ export default {
|
|
|
tHeader: ['日期', 'TMR名称', '操作编号','车次', '班次', '配方名称','驾驶员', '饲料', '理论重量', '实际重量', '误差值', '准确率', '计划时间', '开始时间', '结束时间', ' 跳转方式', '开始重量', '结束重量', '搅拌时间','是否达标','区域'],
|
|
|
filterVal: ['日期', 'TMR名称','sort', '车次', '班次', '配方名称','驾驶员', '饲料', '理论重量', '实际重量', '误差值', '准确率', '计划时间', '开始时间', '结束时间', '跳转方式', '开始重量', '结束重量', '搅拌时间','standard','barname'],
|
|
|
tableDatas: exportList,
|
|
|
- sheetName: '混料统计'
|
|
|
+ sheetName: this.$t('errorAnalysis.hltj')
|
|
|
}
|
|
|
]
|
|
|
json2excel(excelDatasTab2, '混料统计', true, 'xlsx')
|