interview.vue 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <template>
  2. <interview></interview>
  3. </template>
  4. <script>
  5. // import { mapState } from "vuex";
  6. import interview from "@/components/interview/interview";
  7. import qs from "qs";
  8. export default {
  9. layout: "opacity_header",
  10. head: {
  11. title: "技术面试官-程序员客栈",
  12. meta: [
  13. {
  14. name: "description",
  15. content: "专业、可信赖的技术面试委托方案,CTO级别面试官为您面试程序员。"
  16. }
  17. ]
  18. },
  19. components: {
  20. interview
  21. },
  22. data() {
  23. return {};
  24. },
  25. computed: {
  26. // ...mapState(["isPC"])
  27. },
  28. async mounted() {
  29. // await this.getList();
  30. // this.getVipDetail();
  31. },
  32. methods: {
  33. async getList() {
  34. let extraHeaders = {};
  35. if (this.deviceType === "ios") {
  36. extraHeaders = this.getSign();
  37. }
  38. let res = await this.$axios.$post(`/api/vip/getList`, extraHeaders);
  39. if (res) {
  40. this.vipList = res.data;
  41. }
  42. },
  43. async getVipDetail() {
  44. let res = await this.$axios.$post("/api/vip/getVipUserDetail");
  45. // if (!res || !res.data) return
  46. this.vipDetail = res && res.data ? res.data : {};
  47. if (this.isCom) this.currentCom = true;
  48. }
  49. }
  50. };
  51. </script>
  52. <style>
  53. </style>