| | |
| | | <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="总任务" /> --> |
| | |
| | | </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> |
| | |
| | | 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 { |