|
|
@@ -21,7 +21,7 @@
|
|
|
>
|
|
|
</template>
|
|
|
</van-cell>
|
|
|
- <van-cell title="布撤防状态" :value="getDictLabel(data.status, 'protection_status', '未知')" />
|
|
|
+ <van-cell title="布撤防状态" :value="getDictLabel(data.status, 'protection_status', '未上报')" />
|
|
|
<van-cell
|
|
|
v-if="data.status == '0' || data.status == '1'"
|
|
|
:title="data.status == '0' ? '撤防时间' : '布防时间'"
|
|
|
@@ -54,7 +54,7 @@ export default {
|
|
|
},
|
|
|
updateStatus(data, status) {
|
|
|
Dialog.confirm({
|
|
|
- message: `是否更新${this.getLabel(this.statusOptions, status)}时间?`
|
|
|
+ message: `是否更新${this.getDictLabel(status, 'protection_status', '未上报')}时间?`
|
|
|
})
|
|
|
.then(() => {
|
|
|
api.updateStatus(data.id, status).then(r => {
|