resume.vue 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. <template>
  2. <view>
  3. <view v-if="JSON.stringify(list) != '{}'">
  4. <view class="listbox" @click="goUpdete()">
  5. <view class="flex align-center justify-between">
  6. <view class="flex align-center">
  7. <view style="color: #00B88F;" v-if="list.status==1">待审核</view>
  8. <view style="color: #00B88F;" v-if="list.status==2">已通过</view>
  9. <view style="color: red;" v-if="list.status==3">已拒绝</view>
  10. <!-- <view style="color: #00B88F;" v-if="list.status==4">简历隐藏</view>
  11. <view class="" style="font-size: 24rpx;color: red;margin-left: 20rpx;"
  12. v-if="list.isRecommend == 2">
  13. 已录入人才库
  14. </view> -->
  15. </view>
  16. <view class="text-sm" style="color: #999999;">{{list.createTime}}</view>
  17. </view>
  18. <view class="margin-tb-sm" style="width: 100%;height: 1rpx;background: #EEEEEE;"></view>
  19. <view class="flex align-center justify-between">
  20. <view>
  21. <view class="text-xl text-bold" style="color: #000;">{{list.resumesName}}</view>
  22. <view class="flex align-center margin-top-xs flex-wrap" style="color: #999999;">
  23. <view>{{list.resumesAge}}岁</view>
  24. <view class="margin-lr-sm" style="width: 1rpx;height: 25rpx;background: #CCCCCC;"></view>
  25. <view><span v-if="list.resumesWorkExperience!='无经验'">工作</span>{{list.resumesWorkExperience}}
  26. </view>
  27. <view class="margin-lr-sm" style="width: 1rpx;height: 25rpx;background: #CCCCCC;"></view>
  28. <view>{{list.resumesEducation}}</view>
  29. <view class="margin-lr-sm" style="width: 1rpx;height: 25rpx;background: #CCCCCC;"></view>
  30. <view>{{list.resumesCompensation}}</view>
  31. </view>
  32. </view>
  33. <view>
  34. <image :src="avatar?avatar:'../../static/logo.png'"
  35. style="width: 100upx;height: 100upx;border-radius: 55upx;">
  36. </image>
  37. </view>
  38. </view>
  39. <view class="margin-top">
  40. <view class="flex align-center">
  41. <view class="margin-right-xs">
  42. <image src="../../static/images/qi.png" style="width: 30upx;height: 32upx;"></image>
  43. </view>
  44. <view style="color: #121212;">
  45. {{list.resumesCompanyList.length!=0?list.resumesCompanyList[0].resumesTitle:'暂无工作经历'}}
  46. </view>
  47. </view>
  48. <view class=" margin-left margin-top-xs padding-left-xs" style="color: #999999;font-size: 26upx;">
  49. {{list.resumesCompanyList.length!=0?list.resumesCompanyList[0].resumesPost:'暂无'}}
  50. </view>
  51. </view>
  52. <view class="margin-top-sm">
  53. <view class="flex align-center">
  54. <view class="margin-right-xs">
  55. <image src="../../static/images/geren.png" style="width: 35upx;height:26upx;"></image>
  56. </view>
  57. <view style="color: #121212;">{{list.school}}</view>
  58. </view>
  59. <view class="margin-left margin-top-xs padding-left-xs" style="color: #999999;font-size: 26upx;">
  60. {{list.major}}
  61. </view>
  62. </view>
  63. <view class="text-right">
  64. <view class="btn" v-if="list.status==2 || list.status==3" @click.stop="goUpdete()">修改简历</view>
  65. </view>
  66. </view>
  67. </view>
  68. <view class="submit" v-else @click="goUpdete()">添加简历</view>
  69. <empty v-if="JSON.stringify(list) == '{}'" />
  70. </view>
  71. </view>
  72. </template>
  73. <script>
  74. import empty from '@/components/empty.vue'
  75. export default {
  76. components: {
  77. empty
  78. },
  79. data() {
  80. return {
  81. avatar: '../../static/logo.png',
  82. list: {},
  83. }
  84. },
  85. onLoad() {
  86. },
  87. onPullDownRefresh() {
  88. this.getDetails();
  89. },
  90. onShow() {
  91. this.avatar = this.$queue.getData("avatar");
  92. this.getDetails()
  93. },
  94. methods: {
  95. goUpdetes() {
  96. uni.navigateTo({
  97. url: '/my/publish/editors?resumesId=' + this.list.resumesId
  98. })
  99. },
  100. goUpdete() {
  101. if (JSON.stringify(this.list) != '{}') {
  102. uni.navigateTo({
  103. url: '/my/publish/editor?resumesId=' + this.list.resumesId
  104. })
  105. } else {
  106. uni.navigateTo({
  107. url: '/my/publish/editor'
  108. })
  109. }
  110. },
  111. getDetails() {
  112. this.$Request.get('/app/resumes/selectResumesByUserId').then(res => {
  113. if (res.code == 0) {
  114. uni.stopPullDownRefresh()
  115. if (res.data) {
  116. this.list = res.data
  117. }
  118. }
  119. })
  120. }
  121. }
  122. }
  123. </script>
  124. <style lang="less">
  125. page {
  126. background: #F2F2F7;
  127. }
  128. .listbox {
  129. background: #FFFFFF;
  130. border-radius: 24upx;
  131. margin: 20upx 30upx;
  132. padding: 30upx;
  133. }
  134. .btn {
  135. border: 1upx solid #00B88F;
  136. border-radius: 30px;
  137. color: #00B88F;
  138. display: inline-block;
  139. padding: 15upx 30upx;
  140. }
  141. .submit {
  142. background: #00B88F;
  143. border-radius: 50px;
  144. margin: 0upx 30upx;
  145. text-align: center;
  146. padding: 34upx 0upx;
  147. color: #FFFFFF;
  148. // font-size: 32upx;
  149. // font-weight: bold;
  150. position: fixed;
  151. bottom: 100upx;
  152. left: 0;
  153. right: 0;
  154. z-index: 9;
  155. }
  156. </style>