408249787@qq.com 3 周之前
父節點
當前提交
c929a0e44e
共有 3 個文件被更改,包括 7 次插入 和 4 次删除
  1. 2 1
      pages/maintain-detail/maintain-detail.vue
  2. 2 1
      pages/maintain/maintain-ignore.vue
  3. 3 2
      pages/maintain/maintain.vue

+ 2 - 1
pages/maintain-detail/maintain-detail.vue

@@ -12,7 +12,8 @@
       <equipment-line title="维护等级" :content="getMapText(levelMap, modelStandard.level)" />
       <equipment-line title="标准工时" :content="modelStandard.standardHours" />
       <equipment-line title="动作类型" :content="getMapText(actionTypeMap, modelStandard.actionType)" />
-      <equipment-line title="部位" :content="modelStandard.partName" />
+      <!-- 与 PC 端 Detail 任务4保持一致:保养隐藏部位,改显示执行人/班组(checkDeptName 优先,其次 checkUserName) -->
+      <equipment-line title="执行人/班组" :content="infoData.checkDeptName || infoData.checkUserName || '-'" />
       <equipment-line title="要求" :content="modelStandard.requirement" />
       <equipment-line title="备注" :content="modelStandard.remark" />
     </view>

+ 2 - 1
pages/maintain/maintain-ignore.vue

@@ -15,9 +15,10 @@
               item.requirement
             }}</view>
           </view>
+          <!-- 与 PC 端 CheckJob 任务4保持一致:隐藏设备部位,改显示执行人/班组(checkDeptName 优先,其次 checkUserName) -->
           <view class="f-size-26 text-color-6 f-weight-4 mt-2">{{
             item.startTime
-          }} ({{ item.period + periodMap[item.periodType] }}) : {{ item.partName == null ? '无' : item.partName }}
+          }} ({{ item.period + periodMap[item.periodType] }}) : {{ item.checkDeptName || item.checkUserName || '-' }}
           </view>
           <view class="d-flex j-end edit-box">
             <view class="text-color-3 f-size-32 edit" v-if="(item.status === 1) && !startFlag">

+ 3 - 2
pages/maintain/maintain.vue

@@ -23,8 +23,9 @@
             item.actualStartTime
           }}
           </view>
-          <view class="f-size-26 text-color-6 f-weight-4 mt-2">设备部位:{{
-            item.partName
+          <!-- 与 PC 端 CheckJob 任务4保持一致:隐藏设备部位,改显示执行人/班组(checkDeptName 优先,其次 checkUserName) -->
+          <view class="f-size-26 text-color-6 f-weight-4 mt-2">执行人/班组:{{
+            item.checkDeptName || item.checkUserName || '-'
           }}
           </view>
           <view class="d-flex j-end edit-box">