reserve-detail.js 381 B

123456789101112131415161718192021
  1. new Vue({
  2. el: '#app',
  3. data:{
  4. reserveData:""
  5. },
  6. methods:{
  7. },
  8. mounted: function(){
  9. var vm = this
  10. var Request = GetRequest();
  11. var orderId = Request["orderId"];
  12. recordAPI.reservedDetail({orderId:orderId}).then(function(res){
  13. if(res.status == 200){
  14. vm.reserveData = res.data
  15. }else{
  16. top.toastr.error(res.msg)
  17. }
  18. })
  19. },
  20. })