fix: alertRule导入导出按钮看不见的问题
This commit is contained in:
@@ -1,12 +1,9 @@
|
||||
<template>
|
||||
<div>
|
||||
<el-dialog
|
||||
:title="$t('guide.title')"
|
||||
:visible.sync="visible"
|
||||
custom-class="guild-pop"
|
||||
width="1000px"
|
||||
@closed="dialogClosed"
|
||||
@open="dialogOpened"
|
||||
>
|
||||
<div class="guide-list">
|
||||
<div ref="guideShadow" class="guide-shadow"></div>
|
||||
@@ -64,7 +61,6 @@
|
||||
</template>
|
||||
</div>
|
||||
</el-dialog>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
@@ -122,14 +118,6 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
dialogOpened () {
|
||||
if (this.$refs.changePinForm) {
|
||||
this.$refs.changePinForm.resetFields()
|
||||
}
|
||||
},
|
||||
dialogClosed () {
|
||||
this.$emit('dialogClosed')
|
||||
},
|
||||
close () {
|
||||
this.visible = false
|
||||
},
|
||||
@@ -142,10 +130,10 @@ export default {
|
||||
this.interval && clearInterval(this.interval)
|
||||
},
|
||||
downloadAgent () {
|
||||
|
||||
// TODO
|
||||
},
|
||||
openTerminal () {
|
||||
|
||||
// TODO
|
||||
},
|
||||
jump (route) {
|
||||
this.visible = false
|
||||
|
||||
@@ -12,15 +12,16 @@
|
||||
<template v-slot:top-tool-right>
|
||||
<export-excel
|
||||
id="alert-rule"
|
||||
:permissions="{import: 'alertRule_add'}"
|
||||
:params="searchLabel"
|
||||
:permissions="{import: 'rule_import', export: 'rule_export'}"
|
||||
class="top-tool-export margin-r-10"
|
||||
export-file-name="AlertRule"
|
||||
export-url="/alert/rule/export"
|
||||
import-url="/alert/rule/import"
|
||||
@afterImport="getTableData"
|
||||
>
|
||||
<template slot="optionZone">
|
||||
<button id="alert-add" v-has="'alertRule_add'" :title="$t('overall.createAlertRule')" class="top-tool-btn margin-r-10"
|
||||
<button id="alert-add" v-has="'alertRule_add'" :title="$t('overall.createAlertRule')" class="top-tool-btn"
|
||||
@click="add">
|
||||
<i class="nz-icon-create-square nz-icon"></i>
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user