|
@@ -9,7 +9,7 @@
|
9
|
9
|
@channelDefine="(val) => { circleCreate_val = val; search_change() }"></self-channel>
|
10
|
10
|
</div>
|
11
|
11
|
<div class="right">
|
12
|
|
- <el-button type="primary" size="mini" @click="init(1, 'export')">导出Excel</el-button>
|
|
12
|
+ <el-button v-if="isCanExport" type="primary" size="mini" @click="init(1, 'export')">导出Excel</el-button>
|
13
|
13
|
</div>
|
14
|
14
|
</div>
|
15
|
15
|
<div class="dataInfoBox" v-loading="dataLoading">
|
|
@@ -147,6 +147,12 @@ export default {
|
147
|
147
|
},
|
148
|
148
|
}
|
149
|
149
|
},
|
|
150
|
+ computed: {
|
|
151
|
+ // 是否有“导出”权限
|
|
152
|
+ isCanExport() {
|
|
153
|
+ return !!this.$store.state.dataBoardAuth.can_export
|
|
154
|
+ },
|
|
155
|
+ },
|
150
|
156
|
created () {
|
151
|
157
|
this.time = this.default_time
|
152
|
158
|
this.height = document.documentElement.clientHeight - 320 > 400 ? document.documentElement.clientHeight - 320 : 400
|