无人机管理后台前端(已迁走)
chenyao
2025-12-06 ce37640c757ccb9fb0ea02d6c538c9a844265557
Merge branch 'feature/v8.0/8.0.4' into prod
2 files modified
10 ■■■■■ changed files
src/views/job/components/SearchBox.vue 8 ●●●●● patch | view | raw | blame | history
src/views/job/components/TaskIntermediateContent/TaskIntermediateContent.vue 2 ●●● patch | view | raw | blame | history
src/views/job/components/SearchBox.vue
@@ -318,7 +318,7 @@
let timeList = ['today', 'week', 'month', 'year'];
let timeListStr = ['今日', '本周', '本月', '本年'];
let timeListEnum = ['TODAY', 'CURRENT_WEEK', 'CURRENT_MONTH', 'CURRENT_YEAR'];
let checked = ref('month');
let checked = ref('');
// 根据 周期 获取时间段
function getDateRange(date_enum) {
@@ -464,13 +464,15 @@
    const dateArray = [date, date];
    dateRange.value = dateArray;
    searchForm.date_enum = ''
    const find = store.state.tags.bsTagList.find(i => i.path === '/job/jobstatistics')
          find && (find.query = {})
  } else {
    checked.value = 'month'
    getDateRange('month')
  }
      // 查询一次
    handleSearch()
    // 查询一次
    // handleSearch()
});
</script>
<style lang="scss"></style>
src/views/job/components/TaskIntermediateContent/TaskIntermediateContent.vue
@@ -273,7 +273,7 @@
})
onBeforeUnmount(() => {
  clearInterval(polling)
  // clearInterval(polling)
})
onMounted(() => {