<template>
  <el-drawer title="查看岗位" :visible.sync="viewDrawer" size="60%">
    <work-view :model="model"></work-view>
  </el-drawer>
</template>

<script>
import workView from "@/views/util/work-view";

export default {
  components: { workView },
  props: {
    visible: Boolean,
    model: {
      type: Object,
      default() {
        return {};
      },
    },
  },
  computed: {
    viewDrawer: {
      get() {
        return this.visible;
      },
      set(val) {
        this.$emit("update:visible", val);
      },
    },
  },
};
</script>

<style>
</style>