index.js 830 Bytes
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表达式"
      },
      {
        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()