|
|
@ -62,7 +62,7 @@ |
|
|
<el-button type="text" size="small" v-if="$hasPermission('cloudAnalysis:masternotice:toTop') && scope.row.state == 1" @click="openToTopDialog($event, scope.row)" >置顶</el-button> |
|
|
<el-button type="text" size="small" v-if="$hasPermission('cloudAnalysis:masternotice:toTop') && scope.row.state == 1" @click="openToTopDialog($event, scope.row)" >置顶</el-button> |
|
|
<el-button type="text" size="small" v-if="$hasPermission('cloudAnalysis:masternotice:toTop') && scope.row.state == 2" @click="openCancelToTopDialog($event, scope.row)">取消置顶</el-button> |
|
|
<el-button type="text" size="small" v-if="$hasPermission('cloudAnalysis:masternotice:toTop') && scope.row.state == 2" @click="openCancelToTopDialog($event, scope.row)">取消置顶</el-button> |
|
|
<el-button type="text" size="small" v-if="$hasPermission('cloudAnalysis:masternotice:close')" @click="openCloseTopicDialog($event, scope.row)" :disabled="scope.row.state == 0">关闭</el-button> |
|
|
<el-button type="text" size="small" v-if="$hasPermission('cloudAnalysis:masternotice:close')" @click="openCloseTopicDialog($event, scope.row)" :disabled="scope.row.state == 0">关闭</el-button> |
|
|
<el-button type="text" size="small" @click="manageHandle(scope.row.id)">查看</el-button> </template> |
|
|
<el-button type="text" size="small" @click="manageHandle(scope.row.id, scope.row.browseNum)">查看</el-button> </template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
</el-table> |
|
|
</el-table> |
|
|
<el-pagination |
|
|
<el-pagination |
|
|
@ -241,9 +241,9 @@ export default { |
|
|
this.optionForm.id = row.id |
|
|
this.optionForm.id = row.id |
|
|
this.optionForm.state = 0 |
|
|
this.optionForm.state = 0 |
|
|
}, |
|
|
}, |
|
|
manageHandle (noticeId) { |
|
|
manageHandle (noticeId, browseNum) { |
|
|
this.$parent.selectComponent = 'Masternoticedetail' |
|
|
this.$parent.selectComponent = 'Masternoticedetail' |
|
|
this.$router.push({ path: '/master-masternoticeroute', query: { noticeId: noticeId } }) |
|
|
this.$router.push({ path: '/master-masternoticeroute', query: { noticeId: noticeId, browseNum: browseNum } }) |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|