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

67 lines
1.2 KiB

6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
  1. <template>
  2. <!-- 谁看过我 -->
  3. <view class="page">
  4. <navbar title="谁看过我简历"
  5. bgColor="#3796F8"
  6. leftClick
  7. color="#fff"
  8. @leftClick="$utils.navigateBack"/>
  9. <statisticsNumber title="简历被查看量"/>
  10. <bossList ref="bossList" 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 : 'bossQueryWatchMe',
  41. }
  42. },
  43. computed : {
  44. ...mapState([
  45. 'role',
  46. ]),
  47. },
  48. onLoad() {
  49. this.mixinsListApi = (this.role ? 'boss' : 'employee') + 'QueryWatchMe'
  50. },
  51. methods: {
  52. clickSwipeAction({e, item}){
  53. console.log(e, item);
  54. },
  55. }
  56. }
  57. </script>
  58. <style scoped lang="scss">
  59. .page{
  60. /deep/ .uv-swipe-action{
  61. width: 100%;
  62. }
  63. }
  64. </style>