feat(oa): add cc read filters batch mark and unread styles

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
zlwuandCursor committed 2026-08-12 16:34:39 +08:00
1 parent ecdf73fe23
commit 06b1468bf1
3 files changed
+271 -15

No files matched your search

+9 -2
View File
@@ -34,9 +34,10 @@
class="oa-task-card__btn"
:class="{
'is-primary': !!act.primary,
'is-danger': !!act.danger && !act.primary
'is-danger': !!act.danger && !act.primary,
'is-disabled': !!act.disabled
}"
@click.stop="$emit('action', act)"
@click.stop="onActionClick(act)"
>
{{ act.label }}
</view>
@@ -63,6 +64,12 @@
const t = String(this.statusTone || 'info').toLowerCase()
return TONES.includes(t) ? t : 'info'
}
},
methods: {
onActionClick(act) {
if (!act || act.disabled) return
this.$emit('action', act)
}
}
}
</script>