Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

detail.vue 1.6 KiB

1 mês atrás
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <template>
  2. <view class="meetingStyle">
  3. <u--form labelPosition="left" :model="userInfos" ref="uForm" labelWidth="100">
  4. <u-form-item label="应聘职位" prop="JobName" borderBottom>
  5. <u--input v-model="userInfos.JobName" border="none" readonly></u--input>
  6. </u-form-item>
  7. <u-form-item label="学历要求" prop="EducationEquirement" borderBottom>
  8. <u--input v-model="userInfos.EducationEquirement" border="none" readonly></u--input>
  9. </u-form-item>
  10. <u-form-item label="技能要求" prop="SkillDemand" borderBottom>
  11. <u--input v-model="userInfos.SkillDemand" border="none" readonly></u--input>
  12. </u-form-item>
  13. <u-form-item label="单位名称" prop="UnitName" borderBottom>
  14. <u--input v-model="userInfos.UnitName" border="none" readonly></u--input>
  15. </u-form-item>
  16. <u-form-item label="联系人" prop="Leader" borderBottom>
  17. <u--input v-model="userInfos.Leader" border="none" readonly></u--input>
  18. </u-form-item>
  19. </u--form>
  20. </view>
  21. </template>
  22. <script>
  23. export default {
  24. data() {
  25. return {
  26. contentId: '',
  27. userInfos: {
  28. JobName: '',
  29. SkillDemand: '',
  30. UnitName: '',
  31. EducationEquirement: '',
  32. Leader: ''
  33. },
  34. }
  35. },
  36. onLoad(options) {
  37. this.contentId = options.id
  38. if (this.contentId) {
  39. this.getDetail()
  40. }
  41. },
  42. methods: {
  43. async getDetail() {
  44. let res = await this.HTTP_GET(
  45. '/api/ht/rc/list',
  46. this.contentId
  47. )
  48. if (res && res.length > 0) {
  49. this.userInfos = JSON.parse(JSON.stringify(res[0]))
  50. }
  51. },
  52. }
  53. }
  54. </script>
  55. <style lang="scss">
  56. .meetingStyle {
  57. padding: 24rpx;
  58. background-color: #fff;
  59. box-sizing: border-box;
  60. }
  61. </style>