<template>
  <div>
    <button type="button" class="btn btn-default" style="width: 100%; margin-bottom: 1rem;" @click="apply">
      {{ $t("lang.workflowSelectUser.submit") }}
    </button>
  </div>
</template>
<script>

export default {
  components: {},

  props: {
    // 工作流定义Id
    processDefinitionId: {
      type: String,
      default: null,
    },
    workFlow: {
      type: Object,
      default: function () {
        return null;
      },
    },
  },
  emits: ['apply'],

  data: function () {
    return {
    };
  },

  mounted: function () {
    
  },

  methods: {
    /**
     * 审批
     * @return {void}
     */
    apply: function () {
      this.$emit('apply');
    },
  },
};
</script>

<style scoped>
</style>