提交 2d20fea5 authored 作者: caodi\cd's avatar caodi\cd

fix:提交

上级 06977511
......@@ -357,6 +357,39 @@
</view>
</view>
</view>
<!-- 其它 -->
<view v-if="detailsItem.qt" class="container-item">
<view class="title">其它</view>
<view class="cards">
<view
v-for="(item, index) in detailsItem.qt.detail"
:key="index"
class="cards-item"
>
<view class="list">
<view class="label">其它问题:</view>
<view class="content">
{{ item.conclusion }}
</view>
</view>
<view class="list">
<view class="label">现场照片:</view>
<view v-if="item.photos.length === 0" class="content">
未拍摄照片
</view>
<view v-else class="content">
<image
v-for="(url, urlIndex) in item.photos"
:key="urlIndex"
class="image-item"
:src="url"
mode="center"
></image>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</template>
......
......@@ -57,28 +57,28 @@
<wlhj
v-show="checkValueInArray(tabs, 'wlhj', activeTab)"
ref="wlhj"
:inspectionItem="tabs[activeTab].label"
inspectionItem="物理环境"
:defaultData="list.wlhj"
></wlhj>
<!-- 安防系统 -->
<afxt
v-show="checkValueInArray(tabs, 'afxt', activeTab)"
ref="afxt"
:inspectionItem="tabs[activeTab].label"
inspectionItem="安防系统"
:defaultData="list.afxt || {}"
></afxt>
<!-- 设备告警 -->
<sbgj
v-show="checkValueInArray(tabs, 'sbgj', activeTab)"
ref="sbgj"
:inspectionItem="tabs[activeTab].label"
inspectionItem="设备告警"
:defaultData="list.sbgj || {}"
></sbgj>
<!-- 电池状态 -->
<dczt
v-show="checkValueInArray(tabs, 'dczt', activeTab)"
ref="dczt"
:inspectionItem="tabs[activeTab].label"
inspectionItem="电池状态"
:defaultData="list.dczt || {}"
:jfType="jfType"
></dczt>
......@@ -86,35 +86,35 @@
<jfwsd
v-show="checkValueInArray(tabs, 'jfwsd', activeTab)"
ref="jfwsd"
:inspectionItem="tabs[activeTab].label"
inspectionItem="机房温湿度"
:defaultData="list.jfwsd || {}"
></jfwsd>
<!-- 电力系统 -->
<dlxt
v-show="checkValueInArray(tabs, 'dlxt', activeTab)"
ref="dlxt"
:inspectionItem="tabs[activeTab].label"
inspectionItem="电力系统"
:defaultData="list.dlxt || {}"
></dlxt>
<!-- 消防系统 -->
<xfxt
v-show="checkValueInArray(tabs, 'xfxt', activeTab)"
ref="xfxt"
:inspectionItem="tabs[activeTab].label"
inspectionItem="消防系统"
:defaultData="list.xfxt || {}"
></xfxt>
<!-- 线路情况 -->
<xlqk
v-show="checkValueInArray(tabs, 'xlqk', activeTab)"
ref="xlqk"
:inspectionItem="tabs[activeTab].label"
inspectionItem="线路情况"
:defaultData="list.xlqk || {}"
></xlqk>
<!-- 其它 -->
<qt
v-show="checkValueInArray(tabs, 'qt', activeTab)"
ref="qt"
:inspectionItem="tabs[activeTab].label"
inspectionItem="其它"
:defaultData="list.qt || {}"
></qt>
</view>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论