无人机管理后台前端(已迁走)
张含笑
2025-05-27 0db29663f57f51777bd9e83e0a216b6dc7219c95
feat:调整样式
2 files modified
39 ■■■■ changed files
src/page/index/top/index.vue 3 ●●●● patch | view | raw | blame | history
src/views/wel/index.vue 36 ●●●● patch | view | raw | blame | history
src/page/index/top/index.vue
@@ -21,7 +21,8 @@
        <top-full></top-full>
      </div>
      <div class="top-user">
        <img class="top-bar__img" :src="userInfo.avatar" />
        <img class="top-bar__img" :src="userInfo.avatar " />
        <el-dropdown>
          <span class="el-dropdown-link">
            {{ userInfo.real_name }}
src/views/wel/index.vue
@@ -139,15 +139,14 @@
  getFlyList();
  getFlyTimeList();
};
const refresh=()=>{
params.value.date_enum = 'CURRENT_YEAR';
checked.value ='CURRENT_YEAR';
dateSelect.value ='CURRENT_YEAR'
    getTypeData();
const refresh = () => {
  params.value.date_enum = 'CURRENT_YEAR';
  checked.value = 'CURRENT_YEAR';
  dateSelect.value = 'CURRENT_YEAR';
  getTypeData();
  getFlyList();
  getFlyTimeList();
}
};
// 跳转
const jumpshebei = () => {
  ElMessage.warning('加急开发中...');
@@ -181,8 +180,7 @@
const getTypeData = () => {
  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,
@@ -220,7 +217,7 @@
  const data = {
    total: {
      title: '总计',
      figure: totalNum.toString(), // 动态计算总数
    },
    data: val.map(item => ({
@@ -539,8 +536,9 @@
          span {
            margin-right: 4px;
          }
          img{
          cursor: pointer;}
          img {
            cursor: pointer;
          }
        }
        .arrow {
          cursor: pointer;
@@ -563,9 +561,9 @@
            line-height: 32px;
            cursor: pointer;
            font-family: 'Source Han Sans CN';
font-weight: 400;
font-size: 14px;
color: #7C8091;
            font-weight: 400;
            font-size: 14px;
            color: #7c8091;
          }
          .card-item:first-child {
            border-right: 1px solid #e5e5e5;
@@ -616,7 +614,7 @@
                  color: #7c8091;
                }
                .total-number {
                   font-family: 'Source Han Sans CN';
                  font-family: 'Source Han Sans CN';
                  font-weight: bold;
                  font-size: 32px;
@@ -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;