This commit is contained in:
parent
be329da1af
commit
3d649b1886
|
@ -35,7 +35,7 @@ const initData = (data) => {
|
||||||
[
|
[
|
||||||
`${data[i].code||'-'}`,
|
`${data[i].code||'-'}`,
|
||||||
`${data[i].name||'-'}`,
|
`${data[i].name||'-'}`,
|
||||||
`${data[i].create_time||'-'}`,
|
`${data[i].alarm_time || data[i].create_time||'-'}`,
|
||||||
`${data[i].alarm_value||'-'}`,
|
`${data[i].alarm_value||'-'}`,
|
||||||
`${data[i].alarm_reason||'-'}`,
|
`${data[i].alarm_reason||'-'}`,
|
||||||
`<span class="btn">查看详情></span>`,
|
`<span class="btn">查看详情></span>`,
|
||||||
|
@ -170,7 +170,7 @@ onMounted(() => {
|
||||||
</div>
|
</div>
|
||||||
<div class="info-item">
|
<div class="info-item">
|
||||||
<div class="tips">警告时间:</div>
|
<div class="tips">警告时间:</div>
|
||||||
<div>{{ showInfo.create_time || '-' }}</div>
|
<div>{{ showInfo.alarm_time || showInfo.create_time || '-' }}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="info">
|
<div class="info">
|
||||||
|
|
|
@ -285,7 +285,7 @@ onMounted(() => {
|
||||||
<div class="bg"></div>
|
<div class="bg"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="c-box">
|
<div class="c-box">
|
||||||
<videoFlv class="img" :url="farmInfo.video_url" />
|
<videoFlv v-if="farmInfo.video_url" class="img" :url="farmInfo.video_url" />
|
||||||
<div class="name">{{ farmInfo.farm_name }}</div>
|
<div class="name">{{ farmInfo.farm_name }}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -34,7 +34,7 @@ const initData = (data) => {
|
||||||
[
|
[
|
||||||
`${data[i].code||'-'}`,
|
`${data[i].code||'-'}`,
|
||||||
`${data[i].name||'-'}`,
|
`${data[i].name||'-'}`,
|
||||||
`${data[i].create_time||'-'}`,
|
`${data[i].alarm_time || data[i].create_time||'-'}`,
|
||||||
`${data[i].alarm_value||'-'}`,
|
`${data[i].alarm_value||'-'}`,
|
||||||
`${data[i].alarm_reason||'-'}`,
|
`${data[i].alarm_reason||'-'}`,
|
||||||
`<span class="btn">查看详情></span>`,
|
`<span class="btn">查看详情></span>`,
|
||||||
|
@ -169,7 +169,7 @@ onMounted(() => {
|
||||||
</div>
|
</div>
|
||||||
<div class="info-item">
|
<div class="info-item">
|
||||||
<div class="tips">警告时间:</div>
|
<div class="tips">警告时间:</div>
|
||||||
<div>{{ showInfo.create_time || '-' }}</div>
|
<div>{{ showInfo.alarm_time || showInfo.create_time || '-' }}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="info">
|
<div class="info">
|
||||||
|
|
Loading…
Reference in New Issue