案例管理,无附件,不显示设置取消优秀

This commit is contained in:
daihh
2022-12-28 14:11:49 +08:00
parent 9b1341e250
commit 23704a68a0

View File

@@ -41,7 +41,7 @@
<!-- <el-button type="text" @click="shareItem(scope.row)" icon="el-icon-share" style="margin:0 5px">推荐</el-button> -->
<el-button style="margin:0 5px" v-if="!scope.row.isTop" type="text" @click="setTop(scope.row)" icon="el-icon-top">置顶</el-button>
<el-button style="margin:0 5px" v-if="scope.row.isTop" type="text" @click="setTop(scope.row)" icon="el-icon-bottom">取消置顶</el-button>
<el-button type="text" icon="el-icon-medal" ><span @click="cancal(scope.row)" v-if="scope.row.excellent">取消案例</span><span @click="open(scope.row)" v-else>优秀案例</span></el-button>
<el-button type="text" icon="el-icon-medal" v-if="scope.row.filePath" ><span @click="cancal(scope.row)" v-if="scope.row.excellent">取消优秀</span><span @click="open(scope.row)" v-else>优秀案例</span></el-button>
<el-button style="margin:0 5px" type="text" @click="delItem(scope.row)" icon="el-icon-delete">删除</el-button>
</el-button-group>
</template>