12345678910111213141516171819202122232425262728293031323334 |
- <template>
- <div>
- <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";
- export default {
- name: "wel",
- data() {
- return {
- billType:'',
- };
- },
- created() {
- getUserInfo().then(res=>{
- this.billType = res.data.data.billType
- })
- },
- components: {
- tongjiSchool,
- defaultPage
- },
- methods: {
- }
- };
- </script>
- <style lang="scss" scoped>
- </style>
|