mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-09-17 19:06:39 +08:00
格式与细节修改
This commit is contained in:
parent
e44b116184
commit
d0e9eef9c2
@ -107,7 +107,8 @@
|
|||||||
<template v-if="column.dataIndex === 'enabledFlag'">
|
<template v-if="column.dataIndex === 'enabledFlag'">
|
||||||
<a-switch
|
<a-switch
|
||||||
v-model:checked="record.enabledFlag"
|
v-model:checked="record.enabledFlag"
|
||||||
checked-children="已启用" un-checked-children="已禁用"
|
checked-children="已启用"
|
||||||
|
un-checked-children="已禁用"
|
||||||
@change="(checked) => handleEnabledUpdate(checked, record)"
|
@change="(checked) => handleEnabledUpdate(checked, record)"
|
||||||
:loading="record.enabledLoading"
|
:loading="record.enabledLoading"
|
||||||
/>
|
/>
|
||||||
@ -117,7 +118,9 @@
|
|||||||
<a-button v-privilege="'support:job:update'" @click="openUpdateModal(record)" type="link">编辑</a-button>
|
<a-button v-privilege="'support:job:update'" @click="openUpdateModal(record)" type="link">编辑</a-button>
|
||||||
<a-button v-privilege="'support:job:execute'" type="link" @click="openExecuteModal(record)">执行</a-button>
|
<a-button v-privilege="'support:job:execute'" type="link" @click="openExecuteModal(record)">执行</a-button>
|
||||||
<a-button v-privilege="'support:job:log:query'" @click="openJobLogModal(record.jobId, record.jobName)" type="link">记录</a-button>
|
<a-button v-privilege="'support:job:log:query'" @click="openJobLogModal(record.jobId, record.jobName)" type="link">记录</a-button>
|
||||||
<a-button danger v-privilege="'support:job:log:delete'" @click="confirmDelete(record.jobId, record.jobName)" type="link">删除</a-button>
|
<a-button danger v-privilege="'support:job:log:delete'" @click="confirmDelete(record.jobId, record.jobName)" type="link"
|
||||||
|
>删除</a-button
|
||||||
|
>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</template>
|
</template>
|
||||||
@ -140,8 +143,6 @@
|
|||||||
</a-tab-pane>
|
</a-tab-pane>
|
||||||
<a-tab-pane key="2" tab="已删除任务"><DeletedJobList /></a-tab-pane>
|
<a-tab-pane key="2" tab="已删除任务"><DeletedJobList /></a-tab-pane>
|
||||||
</a-tabs>
|
</a-tabs>
|
||||||
|
|
||||||
|
|
||||||
</a-card>
|
</a-card>
|
||||||
|
|
||||||
<!-- 表单操作 -->
|
<!-- 表单操作 -->
|
||||||
@ -163,7 +164,7 @@
|
|||||||
import { TRIGGER_TYPE_ENUM } from '/@/constants/support/job-const.js';
|
import { TRIGGER_TYPE_ENUM } from '/@/constants/support/job-const.js';
|
||||||
import JobFormModal from './components/job-form-modal.vue';
|
import JobFormModal from './components/job-form-modal.vue';
|
||||||
import JobLogListModal from './components/job-log-list-modal.vue';
|
import JobLogListModal from './components/job-log-list-modal.vue';
|
||||||
import {SmartLoading} from "/@/components/framework/smart-loading/index.js";
|
import { SmartLoading } from '/@/components/framework/smart-loading/index.js';
|
||||||
|
|
||||||
const columns = ref([
|
const columns = ref([
|
||||||
{
|
{
|
||||||
@ -241,6 +242,8 @@
|
|||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
const activeKey = ref('1');
|
||||||
|
|
||||||
// ---------------- 查询数据 -----------------------
|
// ---------------- 查询数据 -----------------------
|
||||||
|
|
||||||
const queryFormState = {
|
const queryFormState = {
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
let props = defineProps({
|
let props = defineProps({
|
||||||
tree: {
|
tree: {
|
||||||
type: Array,
|
type: Array,
|
||||||
default: [],
|
default: () => [],
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
defineEmits(['update:value']);
|
defineEmits(['update:value']);
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
tree: {
|
tree: {
|
||||||
type: Array,
|
type: Array,
|
||||||
default: [],
|
default: () => [],
|
||||||
},
|
},
|
||||||
index: {
|
index: {
|
||||||
type: Number,
|
type: Number,
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
tree: {
|
tree: {
|
||||||
type: Array,
|
type: Array,
|
||||||
default: [],
|
default: () => [],
|
||||||
},
|
},
|
||||||
index: {
|
index: {
|
||||||
type: Number,
|
type: Number,
|
||||||
|
@ -140,8 +140,6 @@
|
|||||||
</a-tab-pane>
|
</a-tab-pane>
|
||||||
<a-tab-pane key="2" tab="已删除任务"><DeletedJobList /></a-tab-pane>
|
<a-tab-pane key="2" tab="已删除任务"><DeletedJobList /></a-tab-pane>
|
||||||
</a-tabs>
|
</a-tabs>
|
||||||
|
|
||||||
|
|
||||||
</a-card>
|
</a-card>
|
||||||
|
|
||||||
<!-- 表单操作 -->
|
<!-- 表单操作 -->
|
||||||
@ -241,6 +239,8 @@
|
|||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
const activeKey = ref('1');
|
||||||
|
|
||||||
// ---------------- 查询数据 -----------------------
|
// ---------------- 查询数据 -----------------------
|
||||||
|
|
||||||
const queryFormState = {
|
const queryFormState = {
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
let props = defineProps({
|
let props = defineProps({
|
||||||
tree: {
|
tree: {
|
||||||
type: Array,
|
type: Array,
|
||||||
default: [],
|
default: () => [],
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
defineEmits(['update:value']);
|
defineEmits(['update:value']);
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
tree: {
|
tree: {
|
||||||
type: Array,
|
type: Array,
|
||||||
default: [],
|
default: () => [],
|
||||||
},
|
},
|
||||||
index: {
|
index: {
|
||||||
type: Number,
|
type: Number,
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
tree: {
|
tree: {
|
||||||
type: Array,
|
type: Array,
|
||||||
default: [],
|
default: () => [],
|
||||||
},
|
},
|
||||||
index: {
|
index: {
|
||||||
type: Number,
|
type: Number,
|
||||||
|
Loading…
Reference in New Issue
Block a user