fix: 修改 chart-alert-list 预览不显示操作列
This commit is contained in:
@@ -74,6 +74,7 @@
|
||||
:form="'chartList'"
|
||||
:fromPath="'/alertList'"
|
||||
style="height: calc(100% - 50px)"
|
||||
:showOption="showOption"
|
||||
:showTopBtn="false"
|
||||
></alertMessageTable>
|
||||
<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: {},
|
||||
id: { type: String },
|
||||
from: { type: String },
|
||||
showOption: { type: Boolean, default: true },
|
||||
isLock: { type: Boolean, default: false }
|
||||
},
|
||||
mixins: [chartDataList],
|
||||
|
||||
@@ -168,7 +168,7 @@
|
||||
</div>
|
||||
</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'">
|
||||
<div id="chartTextPreview" class="chart-text-preview height-100">
|
||||
|
||||
Reference in New Issue
Block a user