Browse Source

内容通知评论功能联调测试bug修改

feature/syp_points
liuchuang 4 years ago
parent
commit
8a78a16806
  1. 9
      src/views/modules/news/notice.vue

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

@ -88,7 +88,7 @@
type="text"
size="small"
@click="addOrUpdateHandle(scope.row.id)">{{ $t('update') }}</el-button>
<el-button v-if="$hasPermission('news:notice:publish')"
<el-button v-if="$hasPermission('news:notice:publish') && scope.row.noticeReleaseState === '0'"
type="text"
size="small"
@click="noticePublishHandle(scope.row.id)">发布</el-button>
@ -260,6 +260,11 @@ export default {
noticeComments (id) {
this.noticeCommentVisible = true
this.showNoticeCommentsNoticeId = id
this.order = ''
this.orderField = ''
this.pageIndex = 1
this.limitVal = 10
this.total = 0
this.getNoticeCommentList()
},
pageSizeChangeHandleNew (val) {
@ -279,7 +284,7 @@ export default {
this.total = 0
return this.$message.error(res.msg)
}
this.noticeComments = res.data.list
this.noticeCommentsData = res.data.list
this.total = res.data.total
}).catch(() => {})
},

Loading…
Cancel
Save