无人机管理后台前端(已迁走)
张含笑
2025-05-19 ad601ecf6e38a3fabed8cb155911f60f4c1f6092
feat:样式调整
1 files modified
17 ■■■■ changed files
src/views/wel/index.vue 17 ●●●● patch | view | raw | blame | history
src/views/wel/index.vue
@@ -9,7 +9,7 @@
          <div class="title">
            <div class="name">
              <span> 综合统计分析</span>
              <img src="/src/assets/images/workbench/st1.png" alt="" />
              <img @click="refresh" src="/src/assets/images/workbench/st1.png" alt="" />
              <div class="time-card">
                <div
                  class="card-item"
@@ -139,6 +139,15 @@
  getFlyList();
  getFlyTimeList();
};
const refresh=()=>{
params.value.date_enum = 'CURRENT_YEAR';
checked.value ='CURRENT_YEAR';
dateSelect.value ='CURRENT_YEAR'
    getTypeData();
  getFlyList();
  getFlyTimeList();
}
// 跳转
const jumpshebei = () => {
  ElMessage.warning('加急开发中...');
@@ -172,6 +181,8 @@
const getTypeData = () => {
  getJobEventByStatus(params.value).then(res => {
    const resList = res?.data?.data || [];
    resList.forEach(item => {
      eventTypeList.value.forEach(item1 => {
        if (item1.name === item.name) {
@@ -184,9 +195,9 @@
  });
};
// 飞行统计
const getFlyList = () => {
  getFly(params.value).then(res => {
    flyTypeList.value = flyTypeList.value.map(item => ({
      ...item,
      value: res.data.data[keyMapping[item.name]] || 0,
@@ -528,6 +539,8 @@
          span {
            margin-right: 4px;
          }
          img{
          cursor: pointer;}
        }
        .arrow {
          cursor: pointer;