| | |
| | | <el-table-column prop="quotaContent" label="指标作业" show-overflow-tooltip align="center"></el-table-column> |
| | | <el-table-column prop="secondReferenceResult" label="参数值" show-overflow-tooltip align="center"> |
| | | <template #default="scope"> |
| | | <div :style="{color: scope.row.reportResult==1?'#ff0000':'#409eff'}"> |
| | | {{scope.row.dataReportType==1?'无':scope.row.secondReferenceResult}} |
| | | <div :style="{ color: scope.row.reportResult == 1 ? '#ff0000' : '#409eff' }"> |
| | | {{ scope.row.dataReportType == 1 ? '无' : scope.row.secondReferenceResult }} |
| | | </div> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="quotaUnit" label="指标单位" show-overflow-tooltip align="center"></el-table-column> |
| | | <el-table-column prop="reportResult" label="结果" show-overflow-tooltip align="center"> |
| | | <template #default="scope"> |
| | | <div :style="{color: scope.row.reportResult==1?'#ff0000':'#409eff'}"> |
| | | {{scope.row.reportResult==0?'正常':(scope.row.reportResult==1?'异常':'无')}} |
| | | <div :style="{ color: scope.row.reportResult == 1 ? '#ff0000' : '#409eff' }"> |
| | | {{ scope.row.reportResult == 0 ? '正常' : scope.row.reportResult == 1 ? '异常' : '无' }} |
| | | </div> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | rfidId: number | null; |
| | | quotaId: number | null; |
| | | quotaUnit: number | null; |
| | | reportResult: number | null |
| | | secondReferenceResult: number |null; |
| | | reportResult: number | null; |
| | | secondReferenceResult: number | null; |
| | | execSequence: number | null; |
| | | dataReportType: number | null; |
| | | firstReferenceValue: number | null; |
| | |
| | | quotaId: null, |
| | | quotaUnit: null, |
| | | execSequence: null, |
| | | secondReferenceResult:null, |
| | | secondReferenceResult: null, |
| | | reportResult: null, |
| | | dataReportType: null, |
| | | firstReferenceValue: null, |
| | |
| | | quotaUnit: null, |
| | | reportResult: null, |
| | | execSequence: null, |
| | | secondReferenceResult:null, |
| | | secondReferenceResult: null, |
| | | dataReportType: null, |
| | | firstReferenceValue: null, |
| | | secondReferenceSign: null, |
| | |
| | | data.inspectTaskForm.execDepId = res.data.data.execDepId; |
| | | giveClassGroup(); |
| | | data.inspectTaskForm = JSON.parse(JSON.stringify(res.data.data)); |
| | | console.log(data.inspectTaskForm,'this data') |
| | | console.log(data.inspectTaskForm, 'this data'); |
| | | } else { |
| | | } |
| | | }) |
| | |
| | | // const toRefer =(row, column, cellValue, index)=>{ |
| | | // return row.secondReferenceResult==0?'正常':(row.reportResult==1?'异常':'无') |
| | | // } |
| | | |
| | | |
| | | const submitInspectPoint = async () => { |
| | | if (data.title === '新增巡检任务' && data.pointTitle === '新增巡检点') { |