Create share.vue

木子李·De 3 years ago
parent d73e54a2bd
commit 32681285ae

@ -0,0 +1,54 @@
<template>
<el-dialog class="tree_dialog" title="报表分享" width="60%" :close-on-click-modal="false" center :visible.sync="visib" :before-close="closeDialog">
<div slot="footer" style="text-align: center">
{{reportCode}}
<el-button type="primary" plain @click="saveReportShare"></el-button>
<el-button type="danger" plain @click="closeDialog"></el-button>
</div>
</el-dialog>
</template>
<script>
export default {
props: {
visib: {
required: true,
type: Boolean,
default: false,
},
reportCode: {
required: true,
type: String,
default: () => {
return ''
},
},
},
data() {
return {
}
},
watch: {
visib(val) {
if (val) {
//
}
},
},
created() {},
methods: {
async saveReportShare() {
var params = {
}
//const { code } = await saveAuthorityTree(params)
//if (code != '200') return
this.closeDialog()
},
//
closeDialog() {
this.$emit('handleClose')
},
},
}
</script>
Loading…
Cancel
Save