fix: 修改 chart-alert-list 预览不显示操作列
This commit is contained in:
@@ -74,6 +74,7 @@
|
|||||||
:form="'chartList'"
|
:form="'chartList'"
|
||||||
:fromPath="'/alertList'"
|
:fromPath="'/alertList'"
|
||||||
style="height: calc(100% - 50px)"
|
style="height: calc(100% - 50px)"
|
||||||
|
:showOption="showOption"
|
||||||
:showTopBtn="false"
|
:showTopBtn="false"
|
||||||
></alertMessageTable>
|
></alertMessageTable>
|
||||||
<Pagination :pageObj="pageObj" @pageNo='pageNo' @pageSize='pageSize' ref="Pagination" :append-to-body="false" pop-class="out-popper-fix" style="margin-top: 15px;"></Pagination>
|
<Pagination :pageObj="pageObj" @pageNo='pageNo' @pageSize='pageSize' ref="Pagination" :append-to-body="false" pop-class="out-popper-fix" style="margin-top: 15px;"></Pagination>
|
||||||
@@ -205,6 +206,7 @@ export default {
|
|||||||
chartData: {},
|
chartData: {},
|
||||||
id: { type: String },
|
id: { type: String },
|
||||||
from: { type: String },
|
from: { type: String },
|
||||||
|
showOption: { type: Boolean, default: true },
|
||||||
isLock: { type: Boolean, default: false }
|
isLock: { type: Boolean, default: false }
|
||||||
},
|
},
|
||||||
mixins: [chartDataList],
|
mixins: [chartDataList],
|
||||||
|
|||||||
@@ -168,7 +168,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<chart-alert-list v-if="chart.type === 'alertList'" :showTitle="false" ref="alertListChart" id="chartAlertListPreview" :chart-info="chart" :chart-data="chart" class="height-100"></chart-alert-list>
|
<chart-alert-list v-if="chart.type === 'alertList'" :show-option="false" :showTitle="false" ref="alertListChart" id="chartAlertListPreview" :chart-info="chart" :chart-data="chart" class="height-100"></chart-alert-list>
|
||||||
|
|
||||||
<template v-if="chart.type==='text'">
|
<template v-if="chart.type==='text'">
|
||||||
<div id="chartTextPreview" class="chart-text-preview height-100">
|
<div id="chartTextPreview" class="chart-text-preview height-100">
|
||||||
|
|||||||
Reference in New Issue
Block a user