소스 검색

docs(HomePageSystemStatus): 将"科长"修改为"大队长"以更新职位名称

更新界面显示和代码注释中的职位名称,从"科长"改为"大队长"以反映实际职位变更
huoyi 4 주 전
부모
커밋
bebc50a46b
1개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 5 5
      src/views/dataBigScreen/dashboard/components/pageItems/HomePageSystemStatus.vue

+ 5 - 5
src/views/dataBigScreen/dashboard/components/pageItems/HomePageSystemStatus.vue

@@ -24,9 +24,9 @@
24
       </div>
24
       </div>
25
     </div>
25
     </div>
26
 
26
 
27
-    <!-- 今日上岗长 -->
27
+    <!-- 今日上岗大队长 -->
28
     <div class="today-duty-section" v-if="dutySectionMaster">
28
     <div class="today-duty-section" v-if="dutySectionMaster">
29
-      <div class="duty-label">今日上岗长:</div>
29
+      <div class="duty-label">今日上岗大队长:</div>
30
       <div class="duty-name">{{ dutySectionMaster }}</div>
30
       <div class="duty-name">{{ dutySectionMaster }}</div>
31
     </div>
31
     </div>
32
 
32
 
@@ -67,10 +67,10 @@ const attendanceStats = ref({})
67
 const accuracyStatistics = ref({})
67
 const accuracyStatistics = ref({})
68
 const userStore = useUserStore()
68
 const userStore = useUserStore()
69
 
69
 
70
-// 今日上岗长数据
70
+// 今日上岗大队长数据
71
 const dutySectionMaster = ref('')
71
 const dutySectionMaster = ref('')
72
 
72
 
73
-// 获取今日上岗长数据
73
+// 获取今日上岗大队长数据
74
 const fetchDutySectionMaster = async () => {
74
 const fetchDutySectionMaster = async () => {
75
   try {
75
   try {
76
     // 调用接口获取今日上岗用户列表
76
     // 调用接口获取今日上岗用户列表
@@ -87,7 +87,7 @@ const fetchDutySectionMaster = async () => {
87
       dutySectionMaster.value = '暂无科长上岗'
87
       dutySectionMaster.value = '暂无科长上岗'
88
     }
88
     }
89
   } catch (error) {
89
   } catch (error) {
90
-    console.error('获取今日上岗长数据失败:', error)
90
+    console.error('获取今日上岗大队长数据失败:', error)
91
     // 出错时使用默认值
91
     // 出错时使用默认值
92
     dutySectionMaster.value = ''
92
     dutySectionMaster.value = ''
93
   }
93
   }