🔨 执行模板主机.

This commit is contained in:
lijiahang
2024-04-22 16:27:19 +08:00
parent e057ab858f
commit be87c930e2
17 changed files with 243 additions and 89 deletions

View File

@@ -1,14 +1,14 @@
<template>
<a-modal v-model:visible="visible"
title-align="start"
title="执行日志"
width="94%"
:top="44"
:body-style="{ padding: '0', height: 'calc(100vh - 138px)', overflow: 'hidden' }"
width="96%"
:top="24"
:body-style="{ padding: '0', height: 'calc(100vh - 48px)', overflow: 'hidden' }"
:align-center="false"
:draggable="true"
:mask-closable="false"
:mask-closable="true"
:unmount-on-close="true"
:hide-title="true"
:footer="false"
@close="handleClose">
<a-spin v-if="visible"

View File

@@ -3,7 +3,7 @@
<div class="container">
<!-- 表头 -->
<div class="host-header">
<h3>执行主机</h3>
<h3 class="usn">执行主机</h3>
<!-- 操作 -->
<a-button v-if="visibleBack"
size="small"

View File

@@ -4,7 +4,7 @@
title="执行模板"
width="86%"
:top="80"
:body-style="{padding: '0 8px'}"
:body-style="{ padding: '0 8px' }"
:align-center="false"
:draggable="true"
:mask-closable="false"
@@ -93,8 +93,8 @@
import useVisible from '@/hooks/visible';
import useLoading from '@/hooks/loading';
import { copy } from '@/hooks/copy';
import columns from './table.columns';
import { getExecTemplatePage } from '@/api/exec/exec-template';
import columns from './table.columns';
const emits = defineEmits(['selected']);