fix: rating

This commit is contained in:
zzc
2026-06-09 16:07:02 +08:00
parent acef084df7
commit 993b5f8eef
4 changed files with 89 additions and 28 deletions

View File

@@ -32,6 +32,7 @@
saving: false,
form: {
topicId: '',
itemId: '',
userId: '',
status: '',
type: '', // topic 或 topicItem
@@ -44,8 +45,9 @@
showEdit(row, status, type) {
this.title = `审核确认 (${type === 'topic' ? '话题' : '评价项'})`
this.form = {
topicId: row.id,
userId: row.userId || '',
topicId: type === 'topic' ? row.id : row.topicId || '',
itemId: type === 'topicItem' ? row.id : '',
userId: this.$store.state.user.userId || '',
status,
type,
rejectReason: '',