|
|
@ -168,11 +168,11 @@ export default { |
|
|
|
} |
|
|
|
getDeviceList(params).then(data => { |
|
|
|
data.content.map(item => { |
|
|
|
if (item.deviceTypeId.name === '密集架') { |
|
|
|
if (item.deviceTypeId.name === '密集架' && item.deviceName === '战备密集架测试') { // 写死状态 |
|
|
|
this.deviceData = item |
|
|
|
this.totalPartRowNum = item.partNo * item.rowNo |
|
|
|
let rowNo |
|
|
|
if (this.cabinetNum > 8) { |
|
|
|
if (this.cabinetNum > 8) { // 战备密集架得情况 |
|
|
|
rowNo = item.rowNo - 1 |
|
|
|
} else { |
|
|
|
rowNo = item.rowNo |
|
|
|