|
@@ -84,12 +84,12 @@
|
|
|
<div v-if="run.error" class="history-error">{{ run.error }}</div>
|
|
<div v-if="run.error" class="history-error">{{ run.error }}</div>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
- <div v-else class="history-empty">暂无执行记录</div>
|
|
|
|
|
|
|
+ <EmptyState v-else size="sm" description="暂无执行记录" />
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
<template v-if="filteredScheduleList.length === 0">
|
|
<template v-if="filteredScheduleList.length === 0">
|
|
|
- <div v-if="searchKeyword" class="schedule-empty-hint">未找到匹配的任务</div>
|
|
|
|
|
|
|
+ <EmptyState v-if="searchKeyword" description="未找到匹配的任务" />
|
|
|
<a-empty v-else description="暂无定时任务" />
|
|
<a-empty v-else description="暂无定时任务" />
|
|
|
</template>
|
|
</template>
|
|
|
</div>
|
|
</div>
|
|
@@ -109,6 +109,7 @@
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script setup lang="ts">
|
|
<script setup lang="ts">
|
|
|
|
|
+ import EmptyState from '/@/views/ventAI/manageAssistent/components/common/EmptyState.vue';
|
|
|
import { ref, reactive, computed, onMounted } from 'vue';
|
|
import { ref, reactive, computed, onMounted } from 'vue';
|
|
|
import { PlusOutlined } from '@ant-design/icons-vue';
|
|
import { PlusOutlined } from '@ant-design/icons-vue';
|
|
|
import { getScheduleList, deleteSchedule, pauseSchedule, resumeSchedule, getScheduleRuns } from '/@/views/ventAI/manageAssistent/api';
|
|
import { getScheduleList, deleteSchedule, pauseSchedule, resumeSchedule, getScheduleRuns } from '/@/views/ventAI/manageAssistent/api';
|
|
@@ -729,17 +730,5 @@
|
|
|
line-height: 1.6;
|
|
line-height: 1.6;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- .history-empty {
|
|
|
|
|
- font-size: 12px;
|
|
|
|
|
- color: #6a7a8a;
|
|
|
|
|
- text-align: center;
|
|
|
|
|
- padding: 8px 0;
|
|
|
|
|
- }
|
|
|
|
|
|
|
|
|
|
- .schedule-empty-hint {
|
|
|
|
|
- text-align: center;
|
|
|
|
|
- color: #8b949e;
|
|
|
|
|
- font-size: 13px;
|
|
|
|
|
- padding: 20px 0;
|
|
|
|
|
- }
|
|
|
|
|
</style>
|
|
</style>
|