WorkflowStart.vue 746 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <template>
  2. <div>
  3. <button type="button" class="btn btn-default" style="width: 100%; margin-bottom: 1rem;" @click="apply">
  4. {{ $t("lang.workflowSelectUser.submit") }}
  5. </button>
  6. </div>
  7. </template>
  8. <script>
  9. export default {
  10. components: {},
  11. props: {
  12. // 工作流定义Id
  13. processDefinitionId: {
  14. type: String,
  15. default: null,
  16. },
  17. workFlow: {
  18. type: Object,
  19. default: function () {
  20. return null;
  21. },
  22. },
  23. },
  24. emits: ['apply'],
  25. data: function () {
  26. return {
  27. };
  28. },
  29. mounted: function () {
  30. },
  31. methods: {
  32. /**
  33. * 审批
  34. * @return {void}
  35. */
  36. apply: function () {
  37. this.$emit('apply');
  38. },
  39. },
  40. };
  41. </script>
  42. <style scoped>
  43. </style>