|
|
@@ -49,7 +49,7 @@
|
|
|
<button type="button" class="wb-nav-item" :class="{ 'is-active': activeModule === 'cf' }" @click="selectModule('cf')">CF值</button>
|
|
|
|
|
|
<div class="wb-nav-group">成长与激励</div>
|
|
|
- <button type="button" class="wb-nav-item" :class="{ 'is-active': activeModule === 'children' }" @click="selectModule('children')">孩子管理</button>
|
|
|
+ <button type="button" class="wb-nav-item" :class="{ 'is-active': activeModule === 'children' }" @click="selectModule('children')">成员管理</button>
|
|
|
<button type="button" class="wb-nav-item" :class="{ 'is-active': activeModule === 'points' }" @click="selectModule('points')">积分记录</button>
|
|
|
<button type="button" class="wb-nav-item" :class="{ 'is-active': activeModule === 'wishes' }" @click="selectModule('wishes')">心愿</button>
|
|
|
<button type="button" class="wb-nav-item" :class="{ 'is-active': activeModule === 'rewards' }" @click="selectModule('rewards')">奖励</button>
|
|
|
@@ -411,7 +411,7 @@ const KPI_DEFS = [
|
|
|
]
|
|
|
|
|
|
const MODULE_TITLES = {
|
|
|
- children: "孩子管理",
|
|
|
+ children: "成员管理",
|
|
|
reports: "报告",
|
|
|
plans: "方案",
|
|
|
tasks: "任务",
|
|
|
@@ -458,7 +458,7 @@ export default {
|
|
|
data() {
|
|
|
return {
|
|
|
familyId: Number(this.$route.params.id),
|
|
|
- // 单一导航状态源(§7.1 清单首项:孩子管理)
|
|
|
+ // 单一导航状态源(§7.1 清单首项:成员管理)
|
|
|
activeModule: "children",
|
|
|
family: {},
|
|
|
cardsLoading: true,
|
|
|
@@ -533,7 +533,7 @@ export default {
|
|
|
activeCard() {
|
|
|
return this.cards.find((c) => c.key === this.activeModule) || null
|
|
|
},
|
|
|
- // 默认模块(孩子管理)无统计卡:曲线取首张有 series 的卡作总览趋势,
|
|
|
+ // 默认模块(成员管理)无统计卡:曲线取首张有 series 的卡作总览趋势,
|
|
|
// 保证首屏面板仍呈现 sparkline(§6.6),选中 KPI 模块后改用该模块自身 series。
|
|
|
curveCard() {
|
|
|
if (this.activeCard && this.activeCard.series && this.activeCard.series.length) return this.activeCard
|