| | |
| | | <span |
| | | class="Badge" |
| | | :class="{ |
| | | greenSlot: scope.row.status == '4', |
| | | greenSlot: scope.row.status == '4'||scope.row.status == '完成', |
| | | redSlot: scope.row.status == '5', |
| | | blueSlot: scope.row.status == '3', |
| | | graySlot: scope.row.status == '1' |
| | | blueSlot: scope.row.status == '3'||scope.row.status == '就绪', |
| | | graySlot: scope.row.status == '1', |
| | | }" |
| | | >{{ |
| | | item.isCallMethod ? item.getCallMethod(scope.row[item.prop], scope.row) : scope.row[item.prop] |
| | |
| | | if (!isNaN(value)) { |
| | | return prev + curr |
| | | } else { |
| | | return prev |
| | | return prev |
| | | } |
| | | }, 0) |
| | | sums[index] = this.tableList.tableColumn[index - 1].unit + "" + sums[index] |
| | | let unitIndex = this.tableList.tableColumn.findIndex(obj => obj.label === column.label); |
| | | sums[index]+=this.tableList.tableColumn[unitIndex].unit |
| | | } else { |
| | | sums[index] = "" |
| | | } |