rank-list.vue 1013 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <template>
  2. <el-drawer title="排行榜" :visible.sync="show" direction="rtl">
  3. <view style="text-align: center;" class="">
  4. 开发中....!
  5. </view>
  6. </el-drawer>
  7. </template>
  8. <script>
  9. export default {
  10. data() {
  11. return {
  12. show: false,
  13. }
  14. },
  15. props: {
  16. chooseClassId: {
  17. type: Number | String,
  18. default: ""
  19. },
  20. },
  21. computed: {},
  22. methods: {
  23. open(){
  24. this.show = true;
  25. this.$api.sendRequest({
  26. url : '/mobile/studentTab/getStudentMonthRank',
  27. method: "post",
  28. data: {
  29. class_id : this.chooseClassId,
  30. },
  31. success: res => {
  32. }
  33. })
  34. }
  35. }
  36. }
  37. </script>
  38. <style>
  39. </style>