<template>
    <div>
        <!-- 流程模块 -->
      
        
        <ApprovalInteraction :id="id" :ApproveButtonType="ApproveButtonType" :isApproves="isApprove" :type="type" :index="index" :commentId="commentId" :status="status" @refreshList="refreshList" @apprStaus="apprStaus" @iframeUpdate="iframeUpdate"/>
    </div>
</template>

<script>
// import * as processJs from "qgb-process"

export default {
  components: {
    // ApprovalInteraction: processJs.default.ApprovalInteraction
  },
  props: {
    ApproveButtonType: {
      type: Boolean,
      default: false
    },
    id: {
      type: String,
      default: ""
    },
    isApprove: {
      type: Boolean,
      default: false
    },
    index: {
      type: Number,
      default: 1
    },
    type: {
      type: String,
      default: ""
    },
    commentId: {
      type: String,
      default: ""
    },
    status: {
      type: String,
      default: "0"
    }
  },
  data() {
    return {
      queryInfo: { type: "overTimeApply", name: "加班申请" }
    }
  },
  methods: {

    refreshList(val) {
      this.$emit("clone", true)
    },
    iframeUpdate(val) {
      this.$emit("iframeUpdate", val)
    },
    apprStaus(val) {
      this.$emit("apprStaus", val)
    }
  },
  mounted() {
  }
}
</script>

<style lang="sass">
</style>
