| | |
| | | </el-table-column> |
| | | <el-table-column prop="inspectionItem" label="检验项" min-width="100" |
| | | show-overflow-tooltip></el-table-column> |
| | | <el-table-column prop="inspectionItemSubclass" label="检验项分类" min-width="100" show-overflow-tooltip></el-table-column> |
| | | <el-table-column prop="laboratory" label="实验室" min-min-width="100" show-overflow-tooltip></el-table-column> |
| | | <el-table-column prop="inspectionItemSubclass" label="检验子项" min-width="100" |
| | | show-overflow-tooltip></el-table-column> |
| | | <el-table-column prop="inspectionItemSubclass" label="检验项分类" min-width="100" show-overflow-tooltip v-if="PROJECT=='装备电缆'"></el-table-column> |
| | | <el-table-column prop="sonLaboratory" label="站点" min-min-width="100" show-overflow-tooltip></el-table-column> |
| | | <el-table-column prop="unit" label="单位" min-width="100" show-overflow-tooltip></el-table-column> |
| | | <el-table-column prop="equipName" label="设备" min-width="100" show-overflow-tooltip> |
| | | <el-table-column prop="equipValue" label="设备" min-width="100" show-overflow-tooltip> |
| | | <template slot-scope="scope"> |
| | | {{handleData(scope.row.equipName)}} |
| | | {{handleData(scope.row.equipValue)}} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="entrustCode" label="委托编号" min-width="100" show-overflow-tooltip></el-table-column> |
| | | <el-table-column prop="updateUserName" label="检验人" min-width="100" show-overflow-tooltip></el-table-column> |
| | | <el-table-column prop="updateTime" label="检验时间" min-width="100" show-overflow-tooltip></el-table-column> |
| | | <el-table-column prop="lastValue" label="检验值" min-width="100" show-overflow-tooltip></el-table-column> |
| | | <el-table-column prop="insResult" label="结论" min-width="100"> |
| | | <template slot-scope="scope"> |
| | | <el-tag |
| | | :type="scope.row.insResult==1?'success':'danger'" size="medium">{{scope.row.insResult==1?'合格':'不合格'}}</el-tag> |
| | | :type="scope.row.insResult === 1 ? 'success' : (scope.row.insResult === 0 ? 'danger' : (scope.row.insResult === 3 ? 'gray' : 'info'))" |
| | | size="medium"> |
| | | {{ scope.row.insResult === 1 ? '合格' : (scope.row.insResult === 0 ? '不合格' : (scope.row.insResult === 3 ? '不判定' : '待定')) }} |
| | | </el-tag> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | }) |
| | | }, |
| | | handleData(e){ |
| | | let info = JSON.parse(e).map(item => { |
| | | let info = '' |
| | | if(e){ |
| | | info = JSON.parse(e).map(item => { |
| | | return item.v; |
| | | }).join(',') |
| | | } |
| | | return info |
| | | } |
| | | } |