feat:添加机柜显示u位 信息
This commit is contained in:
@@ -119,7 +119,7 @@
|
||||
<span >{{scope.row.idc.name}}</span>
|
||||
</div>
|
||||
<template v-if="item.prop=='cabinet'">
|
||||
<span v-if="scope.row.cabinet && scope.row.cabinet != '--'">{{returnData(scope.row.cabinet).name}}</span>
|
||||
<span v-if="scope.row.cabinet && scope.row.cabinet != '--'">{{returnData(scope.row.cabinet).name}}{{returnCabinet( scope.row.cabinetStart, scope.row.cabinetEnd)}}</span>
|
||||
<span v-else >{{returnData(scope.row.cabinet)}}</span>
|
||||
</template>
|
||||
<div v-if="item.prop=='model'">
|
||||
@@ -582,6 +582,12 @@
|
||||
return "--";
|
||||
}
|
||||
},
|
||||
returnCabinet(start,end){//返回机柜u位信息
|
||||
if(!start|| !end){
|
||||
return ''
|
||||
}
|
||||
return `[${start} - ${end}]`
|
||||
},
|
||||
closeAllPop() {
|
||||
this.$refs.idcConfigBox.forEach((item) => {
|
||||
item.show(false);
|
||||
|
||||
Reference in New Issue
Block a user