26652
This commit is contained in:
@@ -89,7 +89,7 @@
|
||||
<div v-show="currIndex === 2">
|
||||
<ai-card title="异常处理">
|
||||
<template #right>
|
||||
<el-button type="primary" @click="release">解除异常</el-button>
|
||||
<el-button type="primary" v-if="info.status === '0'" @click="release">解除异常</el-button>
|
||||
</template>
|
||||
<template #content>
|
||||
<ai-wrapper
|
||||
@@ -107,7 +107,7 @@
|
||||
</ai-card>
|
||||
<ai-card title="异常情况记录">
|
||||
<template #right>
|
||||
<el-button type="primary" @click="isShowAdd = true">添加</el-button>
|
||||
<el-button type="primary" v-if="info.status === '0'" @click="isShowAdd = true">添加</el-button>
|
||||
</template>
|
||||
<template #content>
|
||||
<ai-table
|
||||
@@ -185,7 +185,7 @@
|
||||
{prop: 'createTime', label: '上报日期', align: 'center', dateFormart: 'YYYY-MM-DD'},
|
||||
{prop: 'status', label: '健康状态', align: 'center', formart: v => v === '0' ? '异常' : '正常' }
|
||||
],
|
||||
tabList: ['基本信息', '每日上报']
|
||||
tabList: ['基本信息', '每日上报', '异常处理']
|
||||
}
|
||||
},
|
||||
|
||||
@@ -205,11 +205,6 @@
|
||||
this.instance.post(`/app/appepidemicreportmember/queryDetailById?id=${id}`).then(res => {
|
||||
if (res.code === 0) {
|
||||
this.info = res.data
|
||||
if (res.data.status === '0') {
|
||||
this.tabList = ['基本信息', '每日上报', '异常处理']
|
||||
} else {
|
||||
this.tabList = ['基本信息', '每日上报']
|
||||
}
|
||||
this.currIndex = 0
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user