style: 优化表格工具栏样式

This commit is contained in:
2024-10-12 22:54:22 +08:00
parent d881b93c78
commit ff879405d7
19 changed files with 92 additions and 43 deletions

View File

@@ -76,7 +76,7 @@
>
<template #append>
<a-tooltip content="Cron表达式生成">
<a-button class="gi_hover_btn-border" @click="openGeneratorCron(form.triggerInterval)">
<a-button @click="openGeneratorCron(form.triggerInterval)">
<template #icon>
<icon-clock-circle />
</template>

View File

@@ -22,7 +22,10 @@
/>
<a-input v-model="queryForm.jobName" placeholder="请输入任务名称" allow-clear @change="search" />
<a-select v-model="queryForm.jobStatus" placeholder="请选择任务状态" :options="job_status_enum" allow-clear style="width: 150px" @change="search" />
<a-button @click="reset">重置</a-button>
<a-button @click="reset">
<template #icon><icon-refresh /></template>
<template #default>重置</template>
</a-button>
</template>
<template #custom-right>
<a-button v-permission="['schedule:job:add']" type="primary" @click="onAdd">

View File

@@ -29,7 +29,10 @@
@change="search"
/>
<DateRangePicker v-model="queryForm.datetimeRange" :allow-clear="false" @change="search" />
<a-button @click="reset">重置</a-button>
<a-button @click="reset">
<template #icon><icon-refresh /></template>
<template #default>重置</template>
</a-button>
</template>
<template #taskBatchStatus="{ record }">
<GiCellTag :value="record.taskBatchStatus" :dict="job_execute_status_enum" />