bug
This commit is contained in:
@@ -9,16 +9,14 @@
|
||||
@onBackClick="back"
|
||||
>
|
||||
<template #rightBtn>
|
||||
<template v-if="detail.status == 1">
|
||||
<el-button type="primary" icon="iconfont iconEdit" @click="gotoEdit">编辑</el-button>
|
||||
<el-button v-if="isGridAdmin" icon="iconfont iconDelete" @click="handleDelete(detail.id)">删除</el-button>
|
||||
</template>
|
||||
<el-button type="primary" icon="iconfont iconEdit" @click="gotoEdit">编辑</el-button>
|
||||
<template v-if="isGridAdmin">
|
||||
<el-button type="primary" @click="applyMonitor('纳入监测', 1)" v-if="detail.status === null">纳入监测</el-button>
|
||||
<el-button type="primary" @click="examine('纳入监测审批', 2)" v-if="detail.status == 0">纳入监测审批</el-button>
|
||||
<el-button type="primary" @click="applyMonitor('解除风险', 4)" v-if="detail.status == 1">解除风险</el-button>
|
||||
<el-button type="primary" @click="examine('解除风险审批', 5)" v-if="detail.status == 2">解除风险审批</el-button>
|
||||
<el-button type="primary" @click="applyMonitor('继续监测', 1)" v-if="detail.status == 3">继续监测</el-button>
|
||||
<el-button icon="iconfont iconDelete" @click="handleDelete(detail.id)">删除</el-button>
|
||||
</template>
|
||||
|
||||
<template v-else>
|
||||
|
||||
Reference in New Issue
Block a user