<template>
  <div v-if="billType">
    <tongjiSchool v-if="billType == 1"></tongjiSchool>
    <defaultPage v-else :sysType="billType"></defaultPage>
  </div>
</template>

<script>
import defaultPage from "@/views/wel/home/defaultPage";
import tongjiSchool from "@/views/wel/home/tongjiSchool";
import { getUserInfo } from "@/api/system/user";
import { setStore } from "@/util/store";
export default {
  name: "wel",
  data() {
    return {
      billType: ""
    };
  },
  created() {
    getUserInfo().then(res => {
      this.billType = res.data.data.billType;
      localStorage.setItem('sysitemType',this.billType)
    });
  },
  components: {
    tongjiSchool,
    defaultPage
  },
  methods: {}
};
</script>
<style lang="scss" scoped></style>
