|
@@ -53,11 +53,11 @@
|
|
|
</template>
|
|
|
<view class="titles">{{ item.buildingName }}</view>
|
|
|
<!-- 简要内容 -->
|
|
|
- <view style="display: flex;margin-bottom: 15rpx; color: #728f90;">
|
|
|
+ <!-- <view style="display: flex;margin-bottom: 15rpx; color: #728f90;">
|
|
|
<text>设备状态:</text>
|
|
|
<text v-if="item.fpdStatus==0" class="conts">正常</text>
|
|
|
<text v-if="item.fpdStatus==1" class="conts">有问题</text>
|
|
|
- </view>
|
|
|
+ </view> -->
|
|
|
<view style="display: flex;margin-bottom: 15rpx; color: #728f90;">
|
|
|
<text>所在位置:</text>
|
|
|
<text class="conts">{{ item.fpdLocal }}</text>
|
|
@@ -332,11 +332,9 @@
|
|
|
console.log(this.tableData, '获得消防设施详细信息',this.typeDict );
|
|
|
// 根据返回值,显示记录类型的中文名称
|
|
|
this.tableData.map(i => {
|
|
|
- this.typeDict.map(k=>{
|
|
|
-
|
|
|
- if(i.fpdType==k.fpdType){
|
|
|
- console.log(i.fpdType,'i.fpdType');
|
|
|
- i.i.fpdTypeName=k.fpdName
|
|
|
+ this.typeDict.map(k=>{
|
|
|
+ if(i.fpdType==k.value){
|
|
|
+ i.fpdTypeName=k.label
|
|
|
}
|
|
|
})
|
|
|
})
|