refactor(仪表板): 图表导出跟随仪表板权限
This commit is contained in:
parent
143a1c3022
commit
5ecb1b003c
@ -8,7 +8,12 @@
|
|||||||
trigger="click"
|
trigger="click"
|
||||||
>
|
>
|
||||||
<div class="export-button">
|
<div class="export-button">
|
||||||
<el-select v-if="optType === 'enlarge'" v-model="pixel" class="pixel-select" size="small">
|
<el-select
|
||||||
|
v-if="optType === 'enlarge' && dvInfo.weight > 3"
|
||||||
|
v-model="pixel"
|
||||||
|
class="pixel-select"
|
||||||
|
size="small"
|
||||||
|
>
|
||||||
<el-option-group v-for="group in pixelOptions" :key="group.label" :label="group.label">
|
<el-option-group v-for="group in pixelOptions" :key="group.label" :label="group.label">
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in group.options"
|
v-for="item in group.options"
|
||||||
@ -21,7 +26,7 @@
|
|||||||
|
|
||||||
<el-button
|
<el-button
|
||||||
class="m-button"
|
class="m-button"
|
||||||
v-if="optType === 'enlarge'"
|
v-if="optType === 'enlarge' && dvInfo.weight > 3"
|
||||||
link
|
link
|
||||||
icon="Download"
|
icon="Download"
|
||||||
size="middle"
|
size="middle"
|
||||||
@ -31,7 +36,7 @@
|
|||||||
</el-button>
|
</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
class="m-button"
|
class="m-button"
|
||||||
v-if="optType === 'details'"
|
v-if="optType === 'details' && dvInfo.weight > 3"
|
||||||
link
|
link
|
||||||
icon="Download"
|
icon="Download"
|
||||||
size="middle"
|
size="middle"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user