ソースを参照

chore: 章鱼图 UI 文案统一为'章鱼图'(替换'关键人拓展')

Sisyphus Agent 1 週間 前
コミット
b45127ef74

+ 4 - 4
cfc-frontend/components/OctopusDiagram.vue

@@ -1,5 +1,5 @@
 <template>
-  <!-- 关键人拓展章鱼图 -->
+  <!-- 章鱼图 - 关键人拓展图 -->
   <view class="octopus-wrapper" v-if="effects && effects.list && effects.list.length > 0" :style="{ height: canvasHeight + 'px' }">
     <canvas
       class="octopus-canvas"
@@ -42,18 +42,18 @@
   <view class="octopus-empty" v-else-if="effects && effects.list && effects.list.length === 0">
     <text class="empty-icon">🧭</text>
     <text class="empty-text">暂无成效记录</text>
-    <text class="empty-hint">记录你的成交成效,画出关键人拓展路径</text>
+      <text class="empty-hint">记录你的成交成效,画出章鱼图</text>
     <text class="action-btn action-btn-primary" @tap="$emit('add-effect')">+ 记录成效</text>
   </view>
   <!-- 加载状态 -->
   <view class="octopus-loading" v-else>
-    <text class="loading-text">加载关键人拓展图...</text>
+    <text class="loading-text">加载章鱼图...</text>
   </view>
 </template>
 
 <script>
 /**
- * OctopusDiagram - 关键人拓展章鱼图
+ * OctopusDiagram - 章鱼图(关键人拓展)
  *
  * 三层结构:
  * 1. 中心节点:"我"(当前用户)

+ 4 - 4
cfc-frontend/pages/action-detail/index.vue

@@ -66,11 +66,11 @@
         :interactive="true" />
     </view>
 
-    <!-- 登录后:关键人拓展(关键人拓展) -->
+    <!-- 登录后:章鱼图(关键人拓展) -->
     <view class="section" v-if="isLoggedIn">
       <view class="section-header">
         <view>
-          <text class="section-title">🧭 关键人拓展</text>
+          <text class="section-title">🐙 章鱼图</text>
           <text class="section-sub">从成效出发,挖掘关键人,画出拓展路径</text>
         </view>
         <text class="section-link" @tap="goOctopusAddEffect">+ 记录成效</text>
@@ -592,13 +592,13 @@ export default {
         self.abilityData = []
       })
     },
-    /** 加载关键人拓展数据 */
+    /** 加载章鱼图数据 */
     loadOctopusData: function() {
       var self = this
       getOctopusEffects().then(function(res) {
         self.octopusEffects = (res.code === 200 && res.data) ? res.data : null
       }).catch(function(e) {
-        console.log('获取关键人拓展数据失败', e)
+        console.log('获取章鱼图数据失败', e)
         self.octopusEffects = null
       })
       getOctopusAnalysisSummary().then(function(res) {

+ 1 - 1
cfc-frontend/utils/api.js

@@ -2286,7 +2286,7 @@ export const getPearlReminders = () => request('/api/pearl/reminder/list', 'POST
 export const updatePearlPriority = (data) => request('/api/pearl/item/update-priority', 'POST', data)
 export const getAbilityMap = () => request('/api/ability/map', 'POST')
 
-// ===== 关键人拓展章鱼图 =====
+// ===== 章鱼图(关键人拓展) =====
 export const getOctopusEffects = (data) => request('/api/octopus/effect/list', 'POST', data)
 export const addOctopusEffect = (data) => request('/api/octopus/effect/add', 'POST', data)
 export const deleteOctopusEffect = (data) => request('/api/octopus/effect/delete', 'POST', data)