无人机管理后台前端(已迁走)
张含笑
2025-06-09 339d7471c2f534f9ff2924061ce9c74184921ff7
Merge branch 'refs/heads/master' into feature/v2.0.0/后台管理数据中心
2 files modified
22 ■■■■■ changed files
src/views/wel/components/backlog.vue 20 ●●●● patch | view | raw | blame | history
src/views/wel/components/calendarBox.vue 2 ●●● patch | view | raw | blame | history
src/views/wel/components/backlog.vue
@@ -28,9 +28,8 @@
          @click="jumporder(item)"
        >
          <div
            class="status-indicator"
            :style="{ backgroundImage: getStatusBackground(item.status) }"
          ></div>
            class="status-indicator"
          ><img :src="getStatus(item.status)" alt=""></div>
          <div class="content-wrapper">
            <div class="main-content">
@@ -119,13 +118,22 @@
  3: { color: '#FF472F', backgroundImage: db2, borderLeftColor: '#FF472F' },
};
// 根据状态获取图标
const getStatusBackground = statusIndex => {
// const getStatusBackground = statusIndex => {
//   if (checked.value === '智飞工单') {
//     const style = zfstatusMapColor[statusIndex];
//     return style ? `url(${style.backgroundImage})` : 'none';
//   } else {
//     const style = statusMapColor[statusIndex];
//     return style ? `url(${style.backgroundImage})` : 'none';
//   }
// };
const getStatus = statusIndex => {
  if (checked.value === '智飞工单') {
    const style = zfstatusMapColor[statusIndex];
    return style ? `url(${style.backgroundImage})` : 'none';
    return style ? style.backgroundImage : '';
  } else {
    const style = statusMapColor[statusIndex];
    return style ? `url(${style.backgroundImage})` : 'none';
    return style ? style.backgroundImage : '';
  }
};
const getStatusStyle = statusIndex => {
src/views/wel/components/calendarBox.vue
@@ -131,7 +131,7 @@
<style lang="scss" scoped>
.calenBox {
  margin-top: 17px;
  height: 566px;
  height: 567px;
  overflow: hidden;
  .event-item {
    font-size: 12px;