Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
lijiahangmax
2024-04-15 21:03:43 +08:00
23 changed files with 468 additions and 409 deletions

View File

@@ -6,13 +6,13 @@
</template>
<script lang="ts" setup>
import type { ECBasicOption } from 'echarts/types/src/util/types';
import type { EChartsOption } from 'echarts';
import { computed, nextTick, ref } from 'vue';
import { useAppStore } from '@/store';
import VCharts from 'vue-echarts';
const props = withDefaults(defineProps<{
options: ECBasicOption,
options: EChartsOption,
autoResize: boolean,
width: string,
height: string,

View File

@@ -207,7 +207,7 @@
<script lang="ts" setup>
import type { TableData } from '@arco-design/web-vue/es/table/interface';
import type { ExecLogQueryResponse,ExecLogQueryRequest } from '@/api/exec/exec-log';
import type { ExecLogQueryResponse, ExecLogQueryRequest } from '@/api/exec/exec-log';
import { reactive, ref, onMounted, onUnmounted } from 'vue';
import {
batchDeleteExecCommandLog,
@@ -240,7 +240,7 @@
const tableRef = ref();
const selectedKeys = ref<number[]>([]);
const tableRenderData = ref<ExecLogQueryResponse[]>([]);
const formModel = reactive<ExecLogQueryResponse>({
const formModel = reactive<ExecLogQueryRequest>({
id: undefined,
userId: undefined,
description: undefined,

View File

@@ -109,8 +109,7 @@
</template>
<!-- 最近任务 -->
<template #recentLog="{ record }">
<!-- 最近任务 -->
<div class="flex-center" v-if="record.recentLogId">
<div class="flex-center" v-if="record.recentLogId && record.recentLogStatus">
<!-- 执行状态 -->
<a-tag class="mr8" :color="getDictValue(execStatusKey, record.recentLogStatus, 'color')">
{{ getDictValue(execStatusKey, record.recentLogStatus) }}