| 12345678910111213141516171819202122232425262728293031323334353637 |
- <template>
- <div v-if="billType">
- <tongjiSchool v-if="billType == 1"></tongjiSchool>
- <landTransportation v-else-if="billType == 7"></landTransportation>
- <defaultPage v-else :sysType="billType"></defaultPage>
- </div>
- </template>
- <script>
- import defaultPage from "@/views/wel/home/defaultPage";
- import tongjiSchool from "@/views/wel/home/tongjiSchool";
- import landTransportation from "@/views/wel/home/landTransportation/landTransportation";
- import { getUserInfo } from "@/api/system/user";
- import { setStore } from "@/util/store";
- export default {
- name: "wel",
- data() {
- return {
- billType: ""
- };
- },
- created() {
- getUserInfo().then(res => {
- console.log(res.data)
- this.billType = res.data.data.billType;
- localStorage.setItem('sysitemType',this.billType)
- });
- },
- components: {
- tongjiSchool,
- defaultPage,
- landTransportation
- },
- methods: {}
- };
- </script>
- <style lang="scss" scoped></style>
|