餐饮油烟智能监测与监管一体化平台
feiyu02
6 天以前 ccc970e575ef3f3e5c67af8da210263f4ac549f9
src/components/SearchBar.vue
@@ -1,6 +1,6 @@
<template>
  <el-row class="layout">
    <el-col :span="$slots.summary ? 10 : 24">
    <el-col :span="$slots.summary ? 14 : 24">
      <el-form :inline="true" :model="formSearch">
        <el-form-item label="总任务">
          <!-- <el-input v-model="formSearch.topTaskId" placeholder="总任务" /> -->
@@ -19,7 +19,7 @@
        </el-form-item>
      </el-form>
    </el-col>
    <el-col :span="$slots.summary ? 14 : 0">
    <el-col :span="$slots.summary ? 10 : 0">
      <el-row justify="end">
        <slot name="summary"></slot>
      </el-row>
@@ -62,7 +62,7 @@
      taskApi.getTopTask().then((res) => {
        const list = res
          .filter((e) => {
            return e.districtname == '徐汇区' && dayjs(e.starttime).isBefore(dayjs('2023-12-31'))
            return e.districtname == '徐汇区' && dayjs(e.starttime).isBefore(dayjs('2025-12-31'))
          })
          .map((r) => {
            return {