forked from github/dataease
Merge pull request #913 from dataease/pr@dev@style_theme_dark
Pr@dev@style theme dark
This commit is contained in:
commit
9f4c1af114
@ -427,6 +427,10 @@ div:focus {
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
.blackTheme .el-picker-panel__footer {
|
||||
background-color: var(--MainBG) !important;
|
||||
}
|
||||
|
||||
|
||||
.el-pagination {
|
||||
button:disabled {
|
||||
@ -611,6 +615,10 @@ div:focus {
|
||||
background-color: #000000 ;
|
||||
}
|
||||
|
||||
.blackTheme .CodeMirror-line {
|
||||
background-color: #000000 !important;
|
||||
}
|
||||
|
||||
.blackTheme .el-radio-button__inner {
|
||||
background-color: var(--TableBG);
|
||||
color: var(--TableColor);
|
||||
|
@ -613,7 +613,7 @@
|
||||
:fullscreen="true"
|
||||
>
|
||||
<field-edit :param="table" />
|
||||
<div slot="title" class="dialog-footer">
|
||||
<div slot="title" class="dialog-footer title-text">
|
||||
<span style="font-size: 14px;">
|
||||
{{ $t('dataset.field_manage') }}
|
||||
<span v-if="table">[{{ table.name }}]</span>
|
||||
|
@ -96,7 +96,7 @@
|
||||
append-to-body
|
||||
>
|
||||
<el-col>
|
||||
<el-form :form="taskForm" :model="taskForm" label-width="100px" size="mini" ref="taskForm" :rules="taskFormRules">
|
||||
<el-form ref="taskForm" :form="taskForm" :model="taskForm" label-width="100px" size="mini" :rules="taskFormRules">
|
||||
<el-form-item :label="$t('dataset.task_name')" prop="name">
|
||||
<el-input
|
||||
v-model="taskForm.name"
|
||||
@ -189,7 +189,7 @@
|
||||
</el-form>
|
||||
</el-col>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button size="mini" @click="closeTask">{{ $t('dataset.cancel') }}</el-button>
|
||||
<el-button class="dialog_cancel_button" size="mini" @click="closeTask">{{ $t('dataset.cancel') }}</el-button>
|
||||
<el-button type="primary" size="mini" @click="saveTask(taskForm)">{{ $t('dataset.confirm') }}</el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
@ -432,7 +432,7 @@ export default {
|
||||
created() {
|
||||
this.timer = setInterval(() => {
|
||||
this.listTaskLog(false)
|
||||
}, 5000);
|
||||
}, 5000)
|
||||
this.taskTimer = setInterval(() => {
|
||||
this.listTask(false)
|
||||
}, 5000)
|
||||
@ -577,7 +577,6 @@ export default {
|
||||
} else {
|
||||
return false
|
||||
}
|
||||
|
||||
})
|
||||
},
|
||||
changeTaskStatus(task) {
|
||||
@ -655,7 +654,7 @@ export default {
|
||||
}
|
||||
},
|
||||
listTaskLog(loading = true) {
|
||||
const params = {"conditions":[{"field":"dataset_table_task_log.table_id","operator":"eq","value": this.table.id}],"orders":[]}
|
||||
const params = { 'conditions': [{ 'field': 'dataset_table_task_log.table_id', 'operator': 'eq', 'value': this.table.id }], 'orders': [] }
|
||||
post('/dataset/taskLog/list/' + this.table.type + '/' + this.page.currentPage + '/' + this.page.pageSize, params, loading).then(response => {
|
||||
this.taskLogData = response.data.listObject
|
||||
this.page.total = response.data.itemCount
|
||||
@ -754,6 +753,11 @@ export default {
|
||||
overflow: hidden ;
|
||||
}
|
||||
|
||||
.blackTheme .dialog_cancel_button {
|
||||
background-color: #171b22 !important;
|
||||
color: #2681ff !important;
|
||||
}
|
||||
|
||||
.span{
|
||||
font-size: 12px;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user