This commit is contained in:
timorls 2022-09-15 20:26:50 +08:00
parent f9f053c182
commit 42820bdc53
3 changed files with 35 additions and 30 deletions

View File

@ -153,6 +153,7 @@ h2:before {
.el-tag--dark.el-tag--success {
background-color: #4ab793;
color: rgb(255, 255, 255, 0.87);
border: none;
}

View File

@ -112,31 +112,31 @@ export default {
title: "宏观数据",
content: "",
},
{
id: "3-3",
title: "状态监测",
content: "",
},
{
id: "3-4",
title: "日志统计",
content: "",
},
{
id: "3-5",
title: "定时任务",
content: "",
},
{
id: "3-6",
title: "ETL设置",
content: "",
},
{
id: "3-7",
title: "通知设置",
content: "",
},
// {
// id: "3-3",
// title: "",
// content: "",
// },
// {
// id: "3-4",
// title: "",
// content: "",
// },
// {
// id: "3-5",
// title: "",
// content: "",
// },
// {
// id: "3-6",
// title: "ETL",
// content: "",
// },
// {
// id: "3-7",
// title: "",
// content: "",
// },
],
},
{

View File

@ -2,6 +2,7 @@
<template>
<el-row>
<fecr-dialog
:width="'700px'"
:title="'编辑数据结构'"
:visible="createDataVisible"
@cancel="deleteCreateData"
@ -89,16 +90,18 @@
class="dimension"
>
<el-col :span="4" class="dimension-col">
<el-tag type="success" dark>{{ item.index_1 }}</el-tag>
<el-tag type="success" effect="dark" v-if="index>0&&item.index_1 !== data.index[index-1].index_1">{{ item.index_1 }}</el-tag>
<el-tag v-else-if="index === 0" type="success" effect="dark">{{ item.index_1 }}</el-tag>
</el-col>
<el-col :span="4" class="dimension-col">
<el-tag type="success" dark>{{ item.index_2 }}</el-tag>
<el-tag type="success" effect="dark" v-if="index>0&&item.index_2 !== data.index[index-1].index_2">{{ item.index_2 }}</el-tag>
<el-tag v-else-if="index === 0" type="success" effect="dark">{{ item.index_1 }}</el-tag>
</el-col>
<el-col :span="4" class="dimension-col">
<el-tag type="success" dark>{{ item.index_3 }}</el-tag>
<el-tag type="success" effect="dark">{{ item.index_3 }}</el-tag>
</el-col>
<el-col :span="4" class="dimension-col">
<el-tag type="success" dark>{{ item.weight }}%</el-tag>
<el-tag type="success" effect="dark">{{ item.weight }}%</el-tag>
</el-col>
<el-col :span="4" class="dimension-col">
<el-button
@ -437,7 +440,7 @@ export default {
.el-tag {
width: 100%;
text-align: center;
margin: 0;
margin: 5px 0;
}
}
@ -496,6 +499,7 @@ p {
.my-editor {
width: 100%;
min-height: 500px;
background: #2d2d2d;
color: #ccc;
font-family: Fira code, Fira Mono, Consolas, Menlo, Courier, monospace;