test.vue 674B

12345678910111213141516171819202122232425262728293031323334353637
  1. <style lang="sass" scoped>
  2. </style>
  3. <template>
  4. <div>123</div>
  5. </template>
  6. <script>
  7. export default {
  8. data () {
  9. return {
  10. }
  11. },
  12. mounted () {
  13. this.$ajax('', {
  14. method: this.$api.order.orderPage.method,
  15. data: {
  16. orderState: status,
  17. base_pageSize: this.orderData[this.status].base_pageSize,
  18. base_currentPage: this.orderData[this.status].base_currentPage
  19. }
  20. })
  21. .then(res => {
  22. }).catch(msg => {
  23. this.$toast({
  24. message: msg.data.message,
  25. position: 'center',
  26. duration: 2000
  27. })
  28. return false
  29. })
  30. }
  31. }
  32. </script>