|
@@ -1,8 +1,8 @@
|
|
|
<template>
|
|
<template>
|
|
|
<div class="flex flex-col justify-center k-app-protection-list__item van-clearfix">
|
|
<div class="flex flex-col justify-center k-app-protection-list__item van-clearfix">
|
|
|
<div class="top flex flex-row items-center justify-between">
|
|
<div class="top flex flex-row items-center justify-between">
|
|
|
- <label style="width: 70%">{{ data.name }}</label>
|
|
|
|
|
- <label style="width: 30%; text-align: right">
|
|
|
|
|
|
|
+ <label style="width: 50%">{{ data.name }}</label>
|
|
|
|
|
+ <label style="width: 50%; text-align: right">
|
|
|
<van-button size="mini" type="primary" @click="updateStatus(data, '1')" v-if="data.status != '1' && data.orgId==this.orgId"
|
|
<van-button size="mini" type="primary" @click="updateStatus(data, '1')" v-if="data.status != '1' && data.orgId==this.orgId"
|
|
|
>布防时间登记</van-button
|
|
>布防时间登记</van-button
|
|
|
>
|
|
>
|
|
@@ -12,7 +12,7 @@
|
|
|
</label>
|
|
</label>
|
|
|
</div>
|
|
</div>
|
|
|
<van-cell-group clickable @click="itemClick">
|
|
<van-cell-group clickable @click="itemClick">
|
|
|
- <van-cell title="防区状态" :value="getLabel(statusOptions, data.status)" />
|
|
|
|
|
|
|
+ <van-cell title="防区状态" :value="getLabel(statusOptions, data.status,'未知')" />
|
|
|
<van-cell
|
|
<van-cell
|
|
|
v-if="data.status == '0' || data.status == '1'"
|
|
v-if="data.status == '0' || data.status == '1'"
|
|
|
:title="data.status == '0' ? '撤防时间' : '布防时间'"
|
|
:title="data.status == '0' ? '撤防时间' : '布防时间'"
|