Merge pull request #3023 from dataease/pr@dev_station_msg

Pr@dev station msg
This commit is contained in:
dataeaseShu 2022-08-31 21:35:33 +08:00 committed by GitHub
commit 12f211401c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 8 additions and 21 deletions

View File

@ -325,7 +325,7 @@ export default {
} }
.el-picker-panel__link-btn:nth-child(2) { .el-picker-panel__link-btn:nth-child(2) {
color: #FFFFFF; color: var(--DateColor, #409eff);
background: var(--BgDateColor, #FFFFFF) !important; background: var(--BgDateColor, #FFFFFF) !important;
border:1px solid var(--BrDateColor, #dfe4ed) !important; border:1px solid var(--BrDateColor, #dfe4ed) !important;
} }

View File

@ -257,7 +257,7 @@ export default {
if (id) { if (id) {
templateDelete(id).then((response) => { templateDelete(id).then((response) => {
this.openMessageSuccess("commons.delete_success"); this.openMessageSuccess("commons.delete_success");
this.getTree(); this.showCurrentTemplate(this.currentTemplateId, this.currentTemplateLabel);
}); });
} }
}, },
@ -343,7 +343,7 @@ export default {
this.$refs.templateList.nodeClick(obj); this.$refs.templateList.nodeClick(obj);
}); });
} else { } else {
this.showCurrentTemplate(this.currentTemplateId); this.showCurrentTemplate(this.currentTemplateId, this.currentTemplateLabel);
} }
} else { } else {
this.currentTemplateShowList = []; this.currentTemplateShowList = [];

View File

@ -115,7 +115,6 @@
<template slot-scope="scope"> <template slot-scope="scope">
<span> <span>
<el-link <el-link
style="font-size: 12px"
@click="jumpTaskRecord(scope.row)" @click="jumpTaskRecord(scope.row)"
>{{ scope.row.name }}</el-link >{{ scope.row.name }}</el-link
> >
@ -124,7 +123,6 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
min-width="178" min-width="178"
class-name="f14"
key="datasetName" key="datasetName"
prop="datasetName" prop="datasetName"
:label="$t('dataset.task.dataset')" :label="$t('dataset.task.dataset')"
@ -665,10 +663,6 @@ export default {
word-wrap: break-word; word-wrap: break-word;
overflow: hidden; overflow: hidden;
} }
span {
font-size: 12px;
}
</style> </style>
<style lang="scss" scoped> <style lang="scss" scoped>
.dataset-on-time { .dataset-on-time {
@ -918,9 +912,4 @@ span {
cursor: pointer; cursor: pointer;
} }
} }
.f14:not(.is-leaf) {
.cell {
font-size: 12px !important;
}
}
</style> </style>

View File

@ -232,12 +232,6 @@ export default {
const datasetIdx = this.selectDatasets.findIndex((ele) => ele.id === id); const datasetIdx = this.selectDatasets.findIndex((ele) => ele.id === id);
if (datasetIdx !== -1) { if (datasetIdx !== -1) {
this.selectDatasets.splice(datasetIdx, 1); this.selectDatasets.splice(datasetIdx, 1);
this.selectDatasetsCahe = this.selectDatasetsCahe.filter(
(ele) => ele.id !== id
);
this.datasetCahe = this.datasetCahe.filter((ele) => ele.id !== id);
this.$refs.datasetTreeRef.filter(id);
return;
} }
this.activeDataset.push(id); this.activeDataset.push(id);
this.selectDatasetsCahe.push({ id, name }); this.selectDatasetsCahe.push({ id, name });
@ -248,9 +242,13 @@ export default {
const dataset = this.datasetCahe.find((ele) => ele.id === id); const dataset = this.datasetCahe.find((ele) => ele.id === id);
this.selectDatasets.push(dataset); this.selectDatasets.push(dataset);
this.activeDataset = this.activeDataset.filter((ele) => ele !== id); this.activeDataset = this.activeDataset.filter((ele) => ele !== id);
this.datasetCahe = this.datasetCahe.filter(
(ele) => ele.id !== id
);
this.selectDatasetsCahe = this.selectDatasetsCahe.filter( this.selectDatasetsCahe = this.selectDatasetsCahe.filter(
(ele) => ele.id !== id (ele) => ele.id !== id
); );
this.$refs.datasetTreeRef.filter(true);
}, },
search() { search() {
this.userDrawer = false; this.userDrawer = false;

View File

@ -580,7 +580,7 @@ export default {
display: none !important; display: none !important;
} }
.user-popper { .user-popper {
background: transparent; background: #fff;
padding: 0; padding: 0;
.popper__arrow { .popper__arrow {
display: none; display: none;