无人机管理后台前端(已迁走)
张含笑
2025-05-27 0db29663f57f51777bd9e83e0a216b6dc7219c95
feat:调整样式
2 files modified
17 ■■■■ changed files
src/page/index/top/index.vue 1 ●●●● patch | view | raw | blame | history
src/views/wel/index.vue 16 ●●●●● patch | view | raw | blame | history
src/page/index/top/index.vue
@@ -22,6 +22,7 @@
      </div>
      <div class="top-user">
        <img class="top-bar__img" :src="userInfo.avatar" />
        <el-dropdown>
          <span class="el-dropdown-link">
            {{ userInfo.real_name }}
src/views/wel/index.vue
@@ -140,14 +140,13 @@
  getFlyTimeList();
};
const refresh=()=>{
params.value.date_enum = 'CURRENT_YEAR';
checked.value ='CURRENT_YEAR';
dateSelect.value ='CURRENT_YEAR'
  dateSelect.value = 'CURRENT_YEAR';
    getTypeData();
  getFlyList();
  getFlyTimeList();
}
};
// 跳转
const jumpshebei = () => {
  ElMessage.warning('加急开发中...');
@@ -182,7 +181,6 @@
  getJobEventByStatus(params.value).then(res => {
    const resList = res?.data?.data || [];
    
    resList.forEach(item => {
      eventTypeList.value.forEach(item1 => {
        if (item1.name === item.name) {
@@ -197,7 +195,6 @@
// 飞行统计
const getFlyList = () => {
  getFly(params.value).then(res => {
    flyTypeList.value = flyTypeList.value.map(item => ({
      ...item,
      value: res.data.data[keyMapping[item.name]] || 0,
@@ -540,7 +537,8 @@
            margin-right: 4px;
          }
          img{
          cursor: pointer;}
            cursor: pointer;
          }
        }
        .arrow {
          cursor: pointer;
@@ -565,7 +563,7 @@
            font-family: 'Source Han Sans CN';
font-weight: 400;
font-size: 14px;
color: #7C8091;
            color: #7c8091;
          }
          .card-item:first-child {
            border-right: 1px solid #e5e5e5;
@@ -633,7 +631,7 @@
                  text-align: center;
                  justify-content: space-between;
                  height: 97px;
                  max-width: 148px;
                  max-width: 158px;
                  background: #f6f8fe;
                  border-radius: 8px 8px 8px 8px;
                  img {
@@ -645,7 +643,7 @@
                    display: flex;
                    flex-direction: column;
                    // align-items: center;
                    padding: 9px 4px 7px 10px;
                    padding: 5px 4px 9px 10px;
                    text-align: left;
                    .status-label {
                      font-weight: 400;