@@ -130,6 +136,8 @@
@current-change="handleCurrentChange"
@size-change="handleSizeChange"
/>
+
+
@@ -138,9 +146,11 @@
import { getList as getTopicList } from '@/api/rating/topic'
import { formatTime } from '@/utils'
import { getThumbUrl } from '@/utils/blessing'
+ import TopicItemRatingEdit from './components/TopicItemRatingEdit'
export default {
name: 'RatingTopicItemIndex',
+ components: { TopicItemRatingEdit },
data() {
return {
list: [],
@@ -216,6 +226,9 @@
this.listLoading = false
}
},
+ handleRating(row) {
+ this.$refs['ratingEdit'].showEdit(row, this.queryForm.topicId)
+ },
},
}