mirror of
https://github.com/dataease/dataease.git
synced 2026-05-17 06:50:45 +08:00
feat(數據集): 添加非直连数据集時,默认全量同步一次
This commit is contained in:
@@ -189,7 +189,7 @@ export default {
|
||||
columns: [],
|
||||
buttons: [
|
||||
{
|
||||
label: this.$t('commons.edit'), icon: 'el-icon-edit', type: 'primary', click: this.addTask
|
||||
label: this.$t('commons.edit'), icon: 'el-icon-edit', type: 'primary', click: this.addTask, disabled: this.disableEdit
|
||||
},
|
||||
{
|
||||
label: this.$t('dataset.task.exec'), icon: 'el-icon-video-play', type: 'success', click: this.execTask, disabled: this.disableExec
|
||||
@@ -422,6 +422,9 @@ export default {
|
||||
cronChange(val) {
|
||||
this.taskForm.cron = val
|
||||
},
|
||||
disableEdit(task) {
|
||||
return task.rate === 'SIMPLE'
|
||||
},
|
||||
disableExec(task) {
|
||||
return task.status === 'Stopped'
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user