Browse Source

按钮修改

origin/feature/monitoring
Jackwang 4 years ago
parent
commit
52bc372a59
  1. 4
      src/views/modules/news/notice.vue

4
src/views/modules/news/notice.vue

@ -90,10 +90,10 @@
align="center" align="center"
width="150"> width="150">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="text" size="small" @click="handleIsTop(scope.row)"> <el-button type="text" size="small" @click="handleIsTop(scope.row)" :disabled="(scope.row.noticeReleaseState=='0'?true:false)">
{{scope.row.topFlag=='0'?'推荐':'取消推荐'}} {{scope.row.topFlag=='0'?'推荐':'取消推荐'}}
</el-button> </el-button>
<el-button type="text" size="small" @click="handleIsUpDown(scope.row)"> <el-button type="text" size="small" @click="handleIsUpDown(scope.row)" :disabled="(scope.row.noticeReleaseState=='0'?true:false)">
{{scope.row.noticeUpDownState=='0'?'上架':'下架'}} {{scope.row.noticeUpDownState=='0'?'上架':'下架'}}
</el-button> </el-button>
<el-button v-if="$hasPermission('news:notice:update')" <el-button v-if="$hasPermission('news:notice:update')"

Loading…
Cancel
Save