|
|
@@ -26,7 +26,7 @@
|
|
|
<el-button type="text" circle @click="isAllShow=!isAllShow"><strong>{{ isAllShowText }}</strong></el-button>
|
|
|
<slot name="button">
|
|
|
<!--按钮插槽,用于不同的卡片更换不同的按钮-->
|
|
|
- <el-button type="primary" icon="el-icon-edit" circle @click="updateQuestion"/>
|
|
|
+ <el-button v-if="isDelete === false" type="primary" icon="el-icon-edit" circle @click="updateQuestion"/>
|
|
|
<el-button v-if="isDelete === false" type="danger" icon="el-icon-delete" circle @click="deleteQuestion"/>
|
|
|
<el-button v-else type="success" icon="el-icon-delete" circle @click="recoverQuestion"/>
|
|
|
</slot>
|
|
|
@@ -129,7 +129,11 @@
|
|
|
<div class="record-block">
|
|
|
<el-row>
|
|
|
<el-col :span="3">
|
|
|
- <div><strong>状态: </strong>{{ questionVO.state }}</div>
|
|
|
+ <div><strong>状态: </strong>
|
|
|
+ <span v-if="questionVO.state === 'APPROVED'">已通过</span>
|
|
|
+ <span v-else-if="questionVO.state === 'REFUSED'">已拒绝</span>
|
|
|
+ <span v-else-if="questionVO.state === 'DELETED'">已删除</span>
|
|
|
+ </div>
|
|
|
</el-col>
|
|
|
<el-col :span="5">
|
|
|
<div><strong>审核人: </strong>{{ checkedUserName }}</div>
|