特易招,招聘小程序
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.

75 lines
1.4 KiB

7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
  1. <template>
  2. <!-- 谁看过我 -->
  3. <view class="page">
  4. <navbar :title="role ? '谁看过我的招工' : '谁看过我的简历'"
  5. bgColor="#3796F8"
  6. leftClick
  7. color="#fff"
  8. @leftClick="$utils.navigateBack"/>
  9. <statisticsNumber title="简历被查看量"/>
  10. <bossList :api="mixinsListApi" ref="list" v-if="!role"/>
  11. </view>
  12. </template>
  13. <script>
  14. import bossList from '@/components/list/bossList/index.vue'
  15. import statisticsNumber from '../components/statistics/statisticsNumber.vue'
  16. // import mixinList from '@/mixins/list.js'
  17. import { mapState } from 'vuex'
  18. export default {
  19. // mixins : [mixinList],
  20. components : {
  21. statisticsNumber,
  22. bossList
  23. },
  24. data() {
  25. return {
  26. options: [
  27. {
  28. text: '修改',
  29. style: {
  30. backgroundColor: '#ffa12c'
  31. }
  32. },
  33. {
  34. text: '删除',
  35. style: {
  36. backgroundColor: '#FA5A0A'
  37. }
  38. },
  39. ],
  40. mixinsListApi : '',
  41. }
  42. },
  43. computed : {
  44. ...mapState([
  45. 'role',
  46. ]),
  47. },
  48. onLoad() {
  49. this.mixinsListApi = (this.role ? 'boss' : 'employee') + 'QueryWatchMe'
  50. },
  51. onShow() {
  52. this.$nextTick(() => {
  53. this.$refs.list.getData()
  54. })
  55. },
  56. onReachBottom() {
  57. this.$refs.list.loadMoreData()
  58. },
  59. methods: {
  60. clickSwipeAction({e, item}){
  61. console.log(e, item);
  62. },
  63. }
  64. }
  65. </script>
  66. <style scoped lang="scss">
  67. .page{
  68. /deep/ .uv-swipe-action{
  69. width: 100%;
  70. }
  71. }
  72. </style>