feat:详情icon

This commit is contained in:
junjie 2021-10-20 17:12:09 +08:00
parent ccc539f5b0
commit 78f5a9892a
2 changed files with 16 additions and 2 deletions

View File

@ -12,7 +12,8 @@
@hide="hideTab"
>
<dataset-chart-detail type="chart" :data="view" :tab-status="tabStatus" />
<svg-icon class="title-text" slot="reference" icon-class="more_v" style="cursor: pointer;" />
<!-- <svg-icon slot="reference" class="title-text" icon-class="more_v" style="cursor: pointer;" />-->
<i slot="reference" class="el-icon-warning icon-class" style="margin-left: 4px;cursor: pointer;" />
</el-popover>
<span style="float: right;line-height: 40px;">
<!-- <el-button v-if="hasDataPermission('manage',param.privileges)" size="mini" @click="changeDs">-->
@ -1868,5 +1869,11 @@ export default {
background-color: var(--MainBG) !important;
border-color: var(--TableBorderColor) !important;
}
.icon-class{
color:#6c6c6c;
}
.blackTheme .icon-class{
color: #cccccc;
}
</style>

View File

@ -13,7 +13,8 @@
@hide="hideTab"
>
<dataset-chart-detail type="dataset" :data="table" :tab-status="tabStatus" />
<svg-icon slot="reference" class="title-text" icon-class="more_v" style="cursor: pointer;" />
<!-- <svg-icon slot="reference" class="title-text" icon-class="more_v" style="cursor: pointer;" />-->
<i slot="reference" class="el-icon-warning icon-class" style="margin-left: 4px;cursor: pointer;font-size: 14px;" />
</el-popover>
<el-row v-if="hasDataPermission('manage',param.privileges)" style="float: right">
<el-dropdown v-if="table.type ==='excel'" style="margin-right: 10px;" size="small" trigger="click" @command="clickEditExcel">
@ -227,4 +228,10 @@ export default {
.form-item {
margin-bottom: 6px;
}
.icon-class{
color:#6c6c6c;
}
.blackTheme .icon-class{
color: #cccccc;
}
</style>