<template>
  <div class="app-content">
    <proj-knowledge-assign v-if="projType" />
    <proj-key-assign v-else/>
  </div>
</template>

<script>
import { getType } from '@/views/utils/auth'
import ProjKnowledgeAssign from '@/views/peAssign/projKnowledgeAssign.vue'
import ProjKeyAssign from '@/views/peAssign/projKeyAssign.vue'

export default {
  name: "projAssign",
  components: {
    ProjKnowledgeAssign, ProjKeyAssign
  },
  data() {
    return {
      projType: getType() == "1"
    };
  },
};
</script>