优化分类、标签、字典、定时任务
This commit is contained in:
parent
6264d613f5
commit
6fd2897101
@ -25,7 +25,7 @@
|
||||
>
|
||||
<el-table-column label="分类名称" prop="name" min-width="200" show-overflow-tooltip />
|
||||
<el-table-column align="center" label="分类排序" prop="sort" min-width="100" />
|
||||
<el-table-column align="center" label="分类备注" prop="note" min-width="100" />
|
||||
<el-table-column align="center" label="分类备注" prop="note" min-width="200" />
|
||||
<el-table-column align="center" label="创建人" prop="createUser" min-width="100" />
|
||||
<el-table-column align="center" label="创建时间" prop="createTime" min-width="180" />
|
||||
<el-table-column align="center" label="操作" width="300" fixed="right">
|
||||
|
@ -3,12 +3,12 @@ import { ElTag } from 'element-plus';
|
||||
|
||||
export const columns2 = [
|
||||
{
|
||||
label: '标题',
|
||||
label: '通知标题',
|
||||
prop: 'title',
|
||||
width: 300,
|
||||
},
|
||||
{
|
||||
label: '类型',
|
||||
label: '通知类型',
|
||||
prop: 'type',
|
||||
// render(record) {
|
||||
// return h('span', record.row.type === 1 ? '通知' : '公告');
|
||||
@ -26,7 +26,7 @@ export const columns2 = [
|
||||
},
|
||||
},
|
||||
{
|
||||
label: '状态',
|
||||
label: '通知状态',
|
||||
prop: 'status',
|
||||
// render(record) {
|
||||
// return h('span', record.row.status === 1 ? '正常' : '关闭')
|
||||
|
@ -14,7 +14,7 @@ export const columns = [
|
||||
{
|
||||
label: '标签名称',
|
||||
prop: 'name',
|
||||
width: 100,
|
||||
width: 200,
|
||||
},
|
||||
{
|
||||
label: '排序',
|
||||
|
@ -11,17 +11,17 @@ export const columns = [
|
||||
{
|
||||
label: '字典名称',
|
||||
prop: 'name',
|
||||
width: 100,
|
||||
width: 150,
|
||||
},
|
||||
{
|
||||
label: '字典项值',
|
||||
prop: 'value',
|
||||
width: 100,
|
||||
width: 150,
|
||||
},
|
||||
{
|
||||
label: '字典编码',
|
||||
prop: 'dictCode',
|
||||
width: 100,
|
||||
width: 150,
|
||||
},
|
||||
{
|
||||
label: '排序',
|
||||
|
@ -8,24 +8,28 @@ export const columns = [
|
||||
{
|
||||
label: 'ID',
|
||||
prop: 'id',
|
||||
fixed: 'left',
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
label: '任务名称',
|
||||
prop: 'jobName',
|
||||
width: 200,
|
||||
},
|
||||
{
|
||||
label: '任务组名',
|
||||
prop: 'jobGroup',
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
label: '任务触发器',
|
||||
prop: 'jobTrigger',
|
||||
width: 150,
|
||||
width: 200,
|
||||
},
|
||||
{
|
||||
label: '任务日志信息',
|
||||
prop: 'jobMessage',
|
||||
width: 150,
|
||||
width: 300,
|
||||
},
|
||||
{
|
||||
label: '执行表达式',
|
||||
@ -35,6 +39,7 @@ export const columns = [
|
||||
{
|
||||
label: '执行状态',
|
||||
prop: 'status',
|
||||
width: 100,
|
||||
render(record) {
|
||||
let typeText = '';
|
||||
switch (record.row.status) {
|
||||
@ -74,5 +79,6 @@ export const columns = [
|
||||
{
|
||||
label: '任务执行耗时',
|
||||
prop: 'consumeTime',
|
||||
width: 120,
|
||||
},
|
||||
];
|
||||
|
@ -33,7 +33,7 @@
|
||||
<el-descriptions-item label="任务结束时间">
|
||||
{{ formData.endTime }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="执行时间">
|
||||
<el-descriptions-item label="任务执行时间">
|
||||
{{ formData.createTime }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="执行耗时"> {{ formData.consumeTime }}ms </el-descriptions-item>
|
||||
|
Loading…
Reference in New Issue
Block a user