index.js
931 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-03-27 10:27:32
*/
import filter from '@/utils/filter.js'
class data extends filter {
constructor() {
super()
}
columns () {
return [
{
prop: "jobName",
label: "任务名称",
width: 130
},
{
prop: "remark",
label: "任务描述",
width: 300
},
{
prop: "cronExpression",
label: "cron表达式",
width: 160,
},
{
prop: "beanName",
width: 260,
label: "任务类"
},
{
prop: "methodName",
label: "方法名称"
},
{
label: "状态",
prop: "jobStatus",
render: (h, scope) => {
return (
<div>
{this.stateStatus(scope.row.jobStatus)}
</div>
)
},
}
]
}
}
export default new data()