diff --git a/mobile-h5/components/OaTaskCard.vue b/mobile-h5/components/OaTaskCard.vue
index 96e0781a..e3cfda2b 100644
--- a/mobile-h5/components/OaTaskCard.vue
+++ b/mobile-h5/components/OaTaskCard.vue
@@ -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 }}
@@ -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)
+ }
}
}
diff --git a/mobile-h5/pages/oa/cc/index.vue b/mobile-h5/pages/oa/cc/index.vue
index 028cc336..a501be3d 100644
--- a/mobile-h5/pages/oa/cc/index.vue
+++ b/mobile-h5/pages/oa/cc/index.vue
@@ -19,6 +19,13 @@
×
+
+ {{ manageMode ? '完成' : '管理' }}
+
@@ -51,6 +58,17 @@
+
+ 已选 {{ selectedIds.length }} 项
+
+ 批量已读
+
+
+
@@ -63,18 +81,34 @@
暂无抄送
-
+ class="cc-row"
+ :class="{ 'is-manage': manageMode, 'is-selected': isSelected(row.id) }"
+ >
+
+
+ ✓
+
+
+
+
+
+
加载更多…
已经到底了
@@ -83,7 +117,11 @@