⚡ 分离批量执行模块.
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
<a-link target="_blank" href="https://lijiahangmax.github.io/orion-ops-pro">操作文档</a-link>
|
||||
</a-col>
|
||||
<a-col :span="12">
|
||||
<a-link target="_blank" href="https://lijiahangmax.github.io/orion-ops-pro/#/about/change-log">更新文档</a-link>
|
||||
<a-link target="_blank" href="https://lijiahangmax.github.io/orion-ops-pro/#/about/update-log">更新日志</a-link>
|
||||
</a-col>
|
||||
</a-row>
|
||||
</a-card>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<script lang="ts" setup>
|
||||
import { onMounted, ref, nextTick } from 'vue';
|
||||
import { useRoute } from 'vue-router';
|
||||
import { getExecCommandLog } from '@/api/exec/exec-command-log';
|
||||
import { getExecJobLog } from '@/api/exec/exec-job-log';
|
||||
import ExecLogPanel from '@/components/exec/log/panel/index.vue';
|
||||
|
||||
const route = useRoute();
|
||||
@@ -26,7 +26,7 @@
|
||||
// 初始化
|
||||
const init = async (id: number) => {
|
||||
// 获取执行日志
|
||||
const { data } = await getExecCommandLog(id);
|
||||
const { data } = await getExecJobLog(id);
|
||||
// 打开日志
|
||||
await nextTick(() => {
|
||||
setTimeout(() => {
|
||||
@@ -107,7 +107,7 @@
|
||||
import { execHostStatusKey, execHostStatus } from '@/components/exec/log/const';
|
||||
import { useDictStore } from '@/store';
|
||||
import useLoading from '@/hooks/loading';
|
||||
import columns from '../../exec-command-log/types/host-table.columns';
|
||||
import columns from '@/views/exec/exec-command-log/types/host-table.columns';
|
||||
import { useExpandable } from '@/types/table';
|
||||
import { dateFormat, formatDuration } from '@/utils';
|
||||
import { downloadExecJobLogFile } from '@/api/exec/exec-job-log';
|
||||
Reference in New Issue
Block a user