招聘网页
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

index.vue 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <template>
  2. <div class="content-padding-inline" style="margin-top: 30px;">
  3. <a-row :gutter="[10,10]" type="flex" justify="center">
  4. <a-col span="18">
  5. <a-row>
  6. <a-col span="4">
  7. <common-left-sider :menu_list="menu_list" :selected_key="[1]" @changeKey="changeKey"></common-left-sider>
  8. </a-col>
  9. <a-col span="20">
  10. <div style="width: 100%;background-color: #fff;padding: 10px;">
  11. <company-basic v-if="curKey == 1"></company-basic>
  12. <company-department v-if="curKey == 2"></company-department>
  13. <company-licence v-if="curKey == 3"></company-licence>
  14. <company-image v-if="curKey == 4"></company-image>
  15. </div>
  16. </a-col>
  17. </a-row>
  18. </a-col>
  19. </a-row>
  20. </div>
  21. </template>
  22. <script setup lang="ts">
  23. import { ref, computed, onMounted } from 'vue';
  24. import CompanyBasic from '@/components/company/basic/index.vue'
  25. import CompanyDepartment from '@/components/company/department/index.vue'
  26. import CompanyLicence from '@/components/company/licence/index.vue'
  27. import CompanyImage from '@/components/company/image/index.vue'
  28. let companyList = ref<object[]>([{}, {}, {}, {}, {}, {}])
  29. let menu_list = ref([{name: '基本资料',key: 1},{name: '部门管理',key: 2},{name: '上传营业执照',key: 3},{name: '上传企业图片',key: 4},{name: '资料预览',key:5},{name: '联系方式',key: 6}])
  30. let curKey = ref<Number>(1)
  31. const changeKey = (data) => {
  32. curKey.value = data.key;
  33. }
  34. </script>
  35. <style>
  36. </style>