<template>
  <div>
    <sc-table :taskForm="taskForm" :taskName="taskName" v-if="taskForm.procDefName == '生产部门考核'"
      @goBack="goBack"></sc-table>
    <jy-table :taskForm="taskForm" :taskName="taskName" v-else-if="taskForm.procDefName == '经营发展部考核'"
      @goBack="goBack"></jy-table>
    <js-table :taskForm="taskForm" :taskName="taskName" v-else-if="taskForm.procDefName == '技术质量与安全部考核'"
      @goBack="goBack"></js-table>
    <xm-table :taskForm="taskForm" :taskName="taskName" v-else-if="taskForm.procDefName == '项目管理部考核'"
      @goBack="goBack"></xm-table>
    <cw-table :taskForm="taskForm" :taskName="taskName" v-else-if="taskForm.procDefName == '财务部考核'"
      @goBack="goBack"></cw-table>
    <zh-table :taskForm="taskForm" :taskName="taskName" v-else-if="taskForm.procDefName == '综合事务部考核'"
      @goBack="goBack"></zh-table>
    <car-form :taskName="taskName" :taskForm="taskForm" v-else-if="taskForm.procDefName == '用车审批'"
      @goBack="goBack"></car-form>
    <device-form :taskName="taskName" :taskForm="taskForm" v-else-if="taskForm.procDefName == '设备审批'"
      @goBack="goBack"></device-form>
    <project-process :taskName="taskName" :taskForm="taskForm" v-else-if="taskForm.procDefName == '项目流转'"
      @goBack="goBack"></project-process>
    <budget-index :taskName="taskName" :taskForm="taskForm" v-else-if="taskForm.procDefName == '项目预算'"
      @goBack="goBack"></budget-index>
    <borrow-form :taskName="taskName" :taskForm="taskForm" v-else-if="taskForm.procDefName == '借款审批'"
      @goBack="goBack"></borrow-form>
    <safe-form :taskName="taskName" :taskForm="taskForm" v-else-if="taskForm.procDefName == '安全交底'"
      @goBack="goBack"></safe-form>
    <technical-form :taskName="taskName" :taskForm="taskForm" v-else-if="taskForm.procDefName == '技术交底'"
      @goBack="goBack"></technical-form>
    <technical-plan :taskName="taskName" :taskForm="taskForm" v-else-if="taskForm.procDefName == '技术方案'"
      @goBack="goBack"></technical-plan>
    <contract-form :taskName="taskName" :taskForm="taskForm" v-else-if="taskForm.procDefName == '承接合同评审'"
      @goBack="goBack"></contract-form>
    <sub-contract :taskName="taskName" :taskForm="taskForm" v-else-if="taskForm.procDefName == '分包合同评审'"
      @goBack="goBack"></sub-contract>
    <brand-form :taskName="taskName" :taskForm="taskForm" v-else-if="taskForm.procDefName == '品牌项目支付'"
      @goBack="goBack"></brand-form>
    <deposit-form :taskName="taskName" :taskForm="taskForm" v-else-if="taskForm.procDefName == '保证金审批'"
      @goBack="goBack"></deposit-form>
    <archive-form :taskName="taskName" :taskForm="taskForm" v-else-if="taskForm.procDefName == '成果归档'"
      @goBack="goBack"></archive-form>
    <settle-form :taskName="taskName" :taskForm="taskForm" v-else-if="taskForm.procDefName == '项目结算'"
      @goBack="goBack"></settle-form>
    <settle-other :taskName="taskName" :taskForm="taskForm" v-else-if="taskForm.procDefName == '其他结算'"
      @goBack="goBack"></settle-other>
    <change-form :taskName="taskName" :taskForm="taskForm" v-else-if="taskForm.procDefName == '项目变更'"
      @goBack="goBack"></change-form>
    <declare-form :taskName="taskName" :taskForm="taskForm" v-else-if="taskForm.procDefName == '工作填报'"
      @goBack="goBack"></declare-form>
    <procure-form :taskName="taskName" :taskForm="taskForm" v-else-if="taskForm.procDefName == '采购审批'"
      @goBack="goBack"></procure-form>
    <outsource-form :taskName="taskName" :taskForm="taskForm" v-else-if="taskForm.procDefName == '项目委外'"
      @goBack="goBack"></outsource-form>
    <performance-form :taskName="taskName" :taskForm="taskForm" v-else-if="taskForm.procDefName == '绩效审批'"
      @goBack="goBack"></performance-form>
    <study-form :taskName="taskName" :taskForm="taskForm" v-else-if="taskForm.procDefName == '参培审核'"
      @goBack="goBack"></study-form>
    <adjust-index :taskName="taskName" :taskForm="taskForm" v-else-if="taskForm.procDefName == '项目核算'"
      @goBack="goBack"></adjust-index>
    <titles-form :taskName="taskName" :taskForm="taskForm" v-else-if="taskForm.procDefName == '职称评审'"
      @goBack="goBack"></titles-form>
    <transfer-form :taskName="taskName" :taskForm="taskForm" v-else-if="taskForm.procDefName == '调岗审批'"
      @goBack="goBack"></transfer-form>
    <recruit-form :taskName="taskName" :taskForm="taskForm" v-else-if="taskForm.procDefName == '招聘审批'"
      @goBack="goBack"></recruit-form>
    <repair-form :taskName="taskName" :taskForm="taskForm" v-else-if="taskForm.procDefName == '维修审批'"
      @goBack="goBack"></repair-form>
  </div>
</template>

<script>
import ScTable from "@/views/flowable/form/access/scTable.vue";
import JyTable from "@/views/flowable/form/access/jyTable.vue";
import ZhTable from "@/views/flowable/form/access/zhTable.vue";
import JsTable from "@/views/flowable/form/access/jsTable.vue";
import XmTable from "@/views/flowable/form/access/xmTable.vue";
import CwTable from "@/views/flowable/form/access/cwTable.vue";
import carForm from "@/views/flowable/form/oa/carForm.vue";
import deviceForm from "@/views/flowable/form/oa/deviceForm";
import projectProcess from "@/views/flowable/form/projectProcess/index.vue"
import AddBudget from '@/views/flowable/form/budget/addBudget.vue';
import safeForm from '@/views/flowable/form/safeForm.vue';
import technicalForm from '@/views/flowable/form/technicalForm.vue';
import technicalPlan from '@/views/flowable/form/technicalPlan.vue';
import budgetIndex from '@/views/flowable/form/budget/budget.vue';
import businessReview from '@/views/flowable/form/projectProcess/businessReview.vue';
import contractForm from '@/views/flowable/form/business/contractForm.vue';
import subContract from '@/views/flowable/form/business/subContract.vue';
import brandForm from '@/views/flowable/form/business/brandForm.vue';
import depositForm from '@/views/flowable/form/finance/depositForm.vue';
import borrowForm from '@/views/flowable/form/finance/borrowForm.vue';
import archiveForm from '@/views/flowable/form/archiveForm.vue';
import settleForm from '@/views/flowable/form/settleForm.vue';
import settleOther from '@/views/flowable/form/settleOther.vue';
import changeForm from '@/views/flowable/form/changeForm.vue';
import declareForm from '@/views/flowable/form/work/declareForm.vue';
import procureForm from '@/views/flowable/form/procure/procureForm.vue';
import outsourceForm from '@/views/flowable/form/outsource/outsourceForm.vue';
import PerformanceForm from '@/views/flowable/form/performance/performanceForm.vue';
import StudyForm from "@/views/flowable/form/oa/studyForm.vue";
import AdjustIndex from '@/views/flowable/form/budget/adjust/adjustIndex.vue';
import TitlesForm from '@/views/flowable/form/oa/titlesForm.vue';
import TransferForm from '@/views/flowable/form/oa/transferForm.vue';
import recruitForm from '@/views/flowable/form/oa/recruitForm.vue';
import repairForm from '@/views/flowable/form/oa/repairForm.vue';
export default {
  components: {
    ScTable,
    ZhTable,
    JsTable,
    XmTable,
    CwTable,
    JyTable,
    carForm,
    deviceForm,
    projectProcess,
    AddBudget,
    borrowForm,
    safeForm,
    technicalForm,
    technicalPlan,
    budgetIndex,
    businessReview,
    contractForm,
    subContract,
    brandForm,
    depositForm,
    archiveForm,
    settleForm,
    settleOther,
    changeForm,
    declareForm,
    procureForm,
    outsourceForm,
    PerformanceForm,
    StudyForm,
    AdjustIndex,
    TitlesForm,
    TransferForm,
    recruitForm,
    repairForm
  },
  props: {
    taskForm: {
      type: Object
    },
    taskName: {
      type: String
    }
  },
  methods: {
    goBack() {
      this.$emit('goBack')
    }
  }
}
</script>

<style lang="scss" scoped></style>