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