mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-10 11:02:16 +00:00
fix: add 'crontab' and 'interval' columns to BaseJob component and update interval default value
This commit is contained in:
parent
03d1e9a881
commit
cebbcd3c6c
@ -42,7 +42,7 @@ export const crontab = {
|
|||||||
on: {
|
on: {
|
||||||
change: (val, updateForm) => {
|
change: (val, updateForm) => {
|
||||||
updateForm({
|
updateForm({
|
||||||
interval: ''
|
interval: null
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -53,7 +53,7 @@ export default {
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
columns: [
|
columns: [
|
||||||
'name', 'type', 'summary', 'average_time_cost', 'asset_amount',
|
'name', 'type', 'summary', 'average_time_cost', 'asset_amount', 'crontab', 'interval',
|
||||||
'date_last_run', 'comment', 'date_updated', 'date_created', 'actions'
|
'date_last_run', 'comment', 'date_updated', 'date_created', 'actions'
|
||||||
],
|
],
|
||||||
columnsMeta: {
|
columnsMeta: {
|
||||||
|
Loading…
Reference in New Issue
Block a user