特易招,招聘小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

331 lines
6.6 KiB

4 months ago
2 months ago
4 months ago
4 months ago
4 months ago
2 months ago
4 months ago
4 months ago
4 months ago
2 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
2 months ago
4 months ago
2 months ago
4 months ago
2 months ago
4 months ago
2 months ago
4 months ago
2 months ago
2 months ago
4 months ago
4 months ago
4 months ago
4 months ago
2 months ago
4 months ago
2 months ago
4 months ago
2 months ago
4 months ago
4 months ago
2 months ago
4 months ago
2 months ago
2 months ago
4 months ago
2 months ago
4 months ago
2 months ago
4 months ago
2 months ago
4 months ago
4 months ago
2 months ago
4 months ago
2 months ago
4 months ago
4 months ago
2 months ago
4 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
4 months ago
2 months ago
4 months ago
2 months ago
4 months ago
2 months ago
4 months ago
2 months ago
4 months ago
2 months ago
4 months ago
2 months ago
4 months ago
4 months ago
2 months ago
4 months ago
4 months ago
2 months ago
4 months ago
2 months ago
4 months ago
2 months ago
4 months ago
2 months ago
2 months ago
4 months ago
2 months ago
2 months ago
2 months ago
2 months ago
4 months ago
2 months ago
4 months ago
2 months ago
4 months ago
2 months ago
4 months ago
2 months ago
4 months ago
2 months ago
4 months ago
2 months ago
4 months ago
2 months ago
4 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
  1. <template>
  2. <view class="page">
  3. <navbar title="工作详情" leftClick @leftClick="$utils.navigateBack" />
  4. <view class="box">
  5. <view class="title">
  6. {{ detail.title }}
  7. </view>
  8. <view class="price">
  9. {{ detail.salaryLow }}-{{ detail.salaryUp }}
  10. </view>
  11. <view class="line">
  12. <!-- <view>
  13. <image src="../static/work/address.png" mode=""></image>
  14. {{ detail.workAge }}
  15. </view> -->
  16. <view>
  17. <image src="../static/work/g.png" mode=""></image>
  18. {{ detail.workAge }}
  19. </view>
  20. <view>
  21. <image src="../static/work/x.png" mode=""></image>
  22. {{ detail.qulification }}
  23. </view>
  24. </view>
  25. <view class="line">
  26. 该职位发布{{ $dayjs(detail.createTime).format('YYYY-MM-DD') }}
  27. </view>
  28. <view class="userHead">
  29. <userHead :image="hanHaiMember.headImage" :tips="personInfo.phone" :name="personInfo.name"
  30. :phoneCall="personInfo.phone" />
  31. </view>
  32. <view class="address"
  33. @click="openLocation(detail.latitude, detail.longitude)">
  34. <view class="title2">
  35. 工作地址
  36. </view>
  37. <!--
  38. 深圳罗湖区深圳市百货广场大厦罗湖区百货广场大厦东深圳罗湖区深圳市百货广场大厦罗湖区百货广场大厦东
  39. -->
  40. <view class="line" style="justify-content: space-between;">
  41. {{ detail.workAddress }}
  42. <uv-icon size="30rpx" color="666" name="arrow-right"></uv-icon>
  43. </view>
  44. <!-- <view class="tag-list">
  45. <view>
  46. 距您14.6千米
  47. </view>
  48. </view> -->
  49. </view>
  50. <view class="info">
  51. <view class="title2">
  52. <text>职位详情</text>
  53. <view v-if="collectionFlag == false" @click="addJobCollection">
  54. <uv-icon size="30rpx" color="666" name="star"></uv-icon>
  55. 收藏
  56. </view>
  57. <view v-else @click="addJobCollection" style="color: red;">
  58. <uv-icon size="30rpx" color="666" name="star"></uv-icon>
  59. 已收藏
  60. </view>
  61. </view>
  62. <view class="tag-list">
  63. <view :key="i" v-for="(t, i) in detail.tab && detail.tab.split('、')">
  64. {{ t }}
  65. </view>
  66. </view>
  67. <view class="text">
  68. <uv-parse :content="detail.workDetail"></uv-parse>
  69. </view>
  70. </view>
  71. </view>
  72. <view class="boss-box" @click="$utils.navigateTo('/pages_order/work/bossDetail?id='+detail.id)">
  73. <view class="image">
  74. <image :src="companyInfo.logo" mode=""></image>
  75. </view>
  76. <view class="shop-box">
  77. <view class="title">
  78. {{companyInfo.companyName}}
  79. </view>
  80. <view class="desc">
  81. {{companyInfo.financing}}*{{companyInfo.industry}}*{{companyInfo.number}}
  82. </view>
  83. </view>
  84. <view class="arrow-right">
  85. <uv-icon name="arrow-right" size="40rpx" color="#5baaff"></uv-icon>
  86. </view>
  87. </view>
  88. <view class="list-work">
  89. <view class="text">
  90. 推荐职位<text>{{total}}</text>
  91. </view>
  92. <view style="margin: 20rpx;"
  93. @click="$utils.navigateTo('/pages_order/work/workDetail?id=' + item.id)"
  94. :key="index" v-for="(item, index) in list">
  95. <workItem :item="item" />
  96. </view>
  97. </view>
  98. </view>
  99. </template>
  100. <script>
  101. import userHead from '../components/user/userHead.vue'
  102. import mixinList from '@/mixins/list.js'
  103. import workItem from '@/components/list/workList/workItem.vue'
  104. export default {
  105. mixins: [mixinList],
  106. components: {
  107. userHead,
  108. workItem,
  109. },
  110. data() {
  111. return {
  112. text: '',
  113. id: 0,
  114. detail: {},
  115. personInfo: {},
  116. companyInfo: {},
  117. hanHaiMember: {},
  118. total: 0,
  119. collectionFlag: false,
  120. mixinsListApi: 'employeeQueryJobList',
  121. }
  122. },
  123. onLoad({
  124. id
  125. }) {
  126. this.id = id
  127. this.queryParams.id = id;
  128. },
  129. onShow() {
  130. this.getDetail()
  131. },
  132. methods: {
  133. getDetail() {
  134. let data = {
  135. jobId: this.id
  136. }
  137. if (uni.getStorageSync('token')) {
  138. data.token = uni.getStorageSync('token')
  139. }
  140. this.$api('employeeQueryJobById', data, res => {
  141. if (res.code == 200) {
  142. this.detail = res.result.jobInfo
  143. this.collectionFlag = res.result.collectionFlag
  144. this.personInfo = res.result.personInfo
  145. this.companyInfo = res.result.companyInfo
  146. this.hanHaiMember = res.result.hanHaiMember
  147. }
  148. })
  149. },
  150. addJobCollection() {
  151. let data = {
  152. jobId: this.id
  153. }
  154. if (uni.getStorageSync('token')) {
  155. data.token = uni.getStorageSync('token')
  156. }
  157. this.$api('addJobCollection', data, res => {
  158. if (res.code == 200) {
  159. uni.showToast({
  160. title: res.message,
  161. icon: 'none'
  162. })
  163. }
  164. })
  165. this.getDetail();
  166. }
  167. }
  168. }
  169. </script>
  170. <style scoped lang="scss">
  171. .page {
  172. min-height: 100vh;
  173. .box {
  174. padding: 30rpx;
  175. background-color: #fff;
  176. .title {
  177. font-size: 34rpx;
  178. font-weight: 900;
  179. padding-bottom: 20rpx;
  180. }
  181. .title2 {
  182. font-size: 28rpx;
  183. font-weight: 900;
  184. display: flex;
  185. justify-content: space-between;
  186. align-items: center;
  187. view {
  188. display: flex;
  189. align-items: center;
  190. justify-content: center;
  191. }
  192. }
  193. .price {
  194. font-size: 30rpx;
  195. font-weight: 900;
  196. color: $uni-color;
  197. }
  198. .line {
  199. display: flex;
  200. font-size: 24rpx;
  201. color: #666666;
  202. margin-top: 30rpx;
  203. image {
  204. width: 30rpx;
  205. height: 30rpx;
  206. }
  207. &>view {
  208. margin-right: 50rpx;
  209. display: flex;
  210. justify-content: center;
  211. align-items: center;
  212. }
  213. }
  214. .userHead {
  215. padding: 50rpx 0;
  216. border-bottom: 1px solid #00000011;
  217. }
  218. .address {
  219. padding: 30rpx 0;
  220. .line {
  221. margin-top: 20rpx;
  222. }
  223. }
  224. .info {
  225. .text {
  226. font-size: 24rpx;
  227. color: #666666;
  228. line-height: 44rpx;
  229. }
  230. }
  231. }
  232. .boss-box {
  233. margin: 10rpx 0;
  234. padding: 30rpx;
  235. background-color: #fff;
  236. display: flex;
  237. align-items: center;
  238. .image {
  239. width: 90rpx;
  240. height: 90rpx;
  241. margin-right: 10rpx;
  242. flex-shrink: 0;
  243. image {
  244. width: 100%;
  245. height: 100%;
  246. border-radius: 10rpx;
  247. }
  248. }
  249. .shop-box {
  250. flex: 1;
  251. width: calc(100% - 220rpx);
  252. .title {
  253. font-size: 28rpx;
  254. overflow: hidden; //超出的文本隐藏
  255. text-overflow: ellipsis; //溢出用省略号显示
  256. white-space: nowrap; //溢出不换行
  257. }
  258. .desc {
  259. margin-top: 10rpx;
  260. font-size: 24rpx;
  261. overflow: hidden; //超出的文本隐藏
  262. text-overflow: ellipsis; //溢出用省略号显示
  263. white-space: nowrap; //溢出不换行
  264. }
  265. }
  266. .arrow-right {
  267. flex-shrink: 0;
  268. margin-left: auto;
  269. display: flex;
  270. align-items: center;
  271. font-size: 26rpx;
  272. }
  273. }
  274. .list-work {
  275. .text {
  276. background-color: #fff;
  277. padding: 26rpx;
  278. font-weight: 900;
  279. text {
  280. font-weight: 500;
  281. color: #666666;
  282. font-size: 26rpx;
  283. margin-left: 20rpx;
  284. }
  285. }
  286. }
  287. }
  288. </style>