|
|
@@ -81,13 +81,13 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
|
- <van-cell clickable :to="'/device/detail/'+item.mac">
|
|
|
+ <van-cell :clickable="true" :to="'/device/detail/'+item.mac">
|
|
|
<div style="text-align: left;">
|
|
|
<!-- 第一行 -->
|
|
|
<div style="display: flex; justify-content: space-between; margin-bottom: 5px;">
|
|
|
<div style="font-weight: bold; color: #000;">
|
|
|
<span>住院号:</span>
|
|
|
- <span>{{ item.data.patientCode.value }}</span>
|
|
|
+ <span>{{ item.data?.patientCode.value }}</span>
|
|
|
<!-- <span v-if="item.username" style="color: #000;">{{item.username}}</span>
|
|
|
<span v-else>未知用户</span> -->
|
|
|
</div>
|
|
|
@@ -121,7 +121,7 @@
|
|
|
</div>
|
|
|
<!-- 第四行 -->
|
|
|
<div style="display: flex; justify-content: space-between;">
|
|
|
- <div v-if="item.data.lat" style="display: flex; color: #000;" @click.stop="onLocation(item.mac)">
|
|
|
+ <div v-if="item.data?.lat" style="display: flex; color: #000;" @click.stop="onLocation(item.mac)">
|
|
|
<div>
|
|
|
<van-icon name="static/images/icon-location2.png" size="1.5rem" />
|
|
|
</div>
|
|
|
@@ -135,12 +135,12 @@
|
|
|
</div>
|
|
|
<div style="margin-left: 3px;">传输日志</div>
|
|
|
</div>
|
|
|
- <!-- <div style="display: flex; color: #000;">
|
|
|
+ <div style="display: flex; color: #000;">
|
|
|
<div>
|
|
|
<van-icon name="static/images/icon-edit.png" size="1.5rem" />
|
|
|
</div>
|
|
|
<div style="margin-left: 3px;">编辑</div>
|
|
|
- </div> -->
|
|
|
+ </div>
|
|
|
</div>
|
|
|
|
|
|
</div>
|