<template>
	<el-dialog
		title="员工离职提醒"
		:close-on-click-modal="false"
		draggable
		width="1100px"
		height="500px"
		@close="close"
		append-to-body
		v-model="visible">
		<div style="height: calc(100% - 80px); color: red">
			{{works}}
		</div>
		<template #footer>
			<span class="dialog-footer">
			  <el-button @click="close()" icon="el-icon-circle-close">关闭</el-button>
			</span>
		</template>
	</el-dialog>
</template>

<script>

    export default {
		data () {
			return {
				works: '',
				visible: false,
				loading: false,
				isAdmin: false,
			}
		},
		methods: {
			init (works) {
				this.visible = true
				this.works = works
			},
			close () {
				this.visible = false
			},

		}
    }
</script>

<style scoped>
</style>
