binding.vue 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. <template>
  2. <div class="pt-5">
  3. <v-card class="default-width pa-5">
  4. <!-- 标题 -->
  5. <div class="resume-header">
  6. <div class="resume-title">绑定已有企业</div>
  7. </div>
  8. <!-- 表单 -->
  9. <div class="CtFormClass" style="width: 600px;">
  10. <CtForm ref="CtFormRef" :items="formItems" style="width: 100%;"></CtForm>
  11. </div>
  12. <div class="text-center">
  13. <!-- 完成 -->
  14. <v-btn
  15. :loading="loginLoading"
  16. color="primary" class="white--text mt-8" min-width="350"
  17. to="/enterprise/talentPool"
  18. >
  19. 完成
  20. </v-btn>
  21. </div>
  22. <!-- 底部 -->
  23. <div class="text-center mt-5">
  24. <v-btn color="primary" variant="text" to="/enterprise/register">注册新企业</v-btn>
  25. </div>
  26. </v-card>
  27. </div>
  28. </template>
  29. <script setup>
  30. import CtForm from '@/components/CtForm'
  31. import { ref } from 'vue';
  32. defineOptions({name: 'enterprise-enterpriseRegister-binding'})
  33. const loginLoading = ref(false)
  34. const formItems = ref({
  35. options: [
  36. {
  37. type: 'text',
  38. key: 'name',
  39. value: '',
  40. label: '姓名 *',
  41. counter: 15,
  42. rules: [v => !!v || '请输入姓名']
  43. },
  44. {
  45. type: 'text',
  46. key: 'phone',
  47. value: '',
  48. label: '公司名称 *',
  49. rules: [v => !!v || '公司名称']
  50. },
  51. {
  52. type: 'text',
  53. key: 'email',
  54. value: '',
  55. label: '职务 *',
  56. rules: [v => !!v || '请输入职务']
  57. },
  58. ]
  59. })
  60. // 提交
  61. const handleCommit = () => {
  62. // await saveResumeBasicInfo({ ...baseInfo.value, avatar: data })
  63. // await userStore.getUserBaseInfos(baseInfo.value.userId)
  64. // getBasicInfo()
  65. }
  66. handleCommit()
  67. </script>
  68. <style lang="scss" scoped>
  69. .CtFormClass {
  70. margin: 0 auto;
  71. }
  72. .note {
  73. color: #666;
  74. font-size: 14px;
  75. line-height: 32px;
  76. }
  77. .file-input-box {
  78. position: relative;
  79. height: 80px;
  80. width: 100px;
  81. border: 1px solid rgb(188, 188, 188);
  82. border-radius: 5px;
  83. cursor: pointer;
  84. .icon {
  85. position: absolute;
  86. top: 45%;
  87. left: 50%;
  88. transform: translate(-50%, -50%);
  89. color: #999;
  90. }
  91. }
  92. </style>