无人机管理后台前端(已迁走)
张含笑
2025-07-11 93aa15612e0b43e0a77b51a76f1792808fe66263
feat:待办事项优化
1 files modified
16 ■■■■■ changed files
src/views/wel/components/backlog.vue 16 ●●●●● patch | view | raw | blame | history
src/views/wel/components/backlog.vue
@@ -26,12 +26,13 @@
                checked == '智飞工单' ? zfstatusMap[item.status] : statusMap[item.status]
              }}</span>
              <span class="reads" :class="item.is_read === 0 ? 'unread' : ''"></span>
              <span class="todo-text">{{ item.name }}</span>
              <span class="todo-text">{{ item.event_num }}</span>
            </div>
            <div class="action-area">
              <img :src="st7" alt="" />
              <span class="todo-date">{{ item.date?.slice(0, 10).replace(/-/g, '.') }}</span>
              <!-- <img :src="st7" alt="" /> -->
              <!-- <span class="todo-date">{{ item.date?.slice(0, 10).replace(/-/g, '.') }}</span> -->
          <span class="todo-date">{{ item.name }}</span>
            </div>
          </div>
        </div>
@@ -206,12 +207,15 @@
    const type = 1
    const res = await getOrderOrEventApi(type, userInfo.value.detail.areaCode)
    todos.value = res.data.data || []
    console.log('事件工单',todos.value);
    loading.value = false
  } else if (checked.value === '智飞工单') {
    loading.value = true
    const type = 2
    const res = await getOrderOrEventApi(type, userInfo.value.detail.areaCode)
    todos.value = res.data.data || []
     console.log('智飞工单',todos.value);
    loading.value = false
  }
}
@@ -366,7 +370,7 @@
        .todo-text {
          font-weight: 400;
          font-size: 14px;
          color: #343434;
         color: #5C6476;
        }
        .unread {
@@ -398,8 +402,8 @@
        .todo-date {
          font-weight: 400;
          font-size: 14px;
          color: #5c6476;
        font-size: 14px;
color: #343434;
          margin-left: 2px;
        }
      }