Browse Source

刪除console

Dev
Janie 2 years ago
parent
commit
d5f6ff3131
  1. 4
      FrontEnd/components/booking/Modal/UploadRemittanceSlipModal.vue
  2. 12
      FrontEnd/components/user/bookingListContent.vue

4
FrontEnd/components/booking/Modal/UploadRemittanceSlipModal.vue

@ -123,8 +123,6 @@ export default {
this.upload = true; this.upload = true;
this.uploaded = new FormData(); this.uploaded = new FormData();
this.uploaded.append("file", e.target.files[0]); this.uploaded.append("file", e.target.files[0]);
console.log(this.uploaded);
console.log("uploadBookingID" + this.uploadBookingID);
this.size = Math.ceil(e.target.files[0].size / 1000); this.size = Math.ceil(e.target.files[0].size / 1000);
this.$axios this.$axios
.post( .post(
@ -132,12 +130,10 @@ export default {
.then((response) => { .then((response) => {
//console.log(JSON.stringify(response)) //console.log(JSON.stringify(response))
if(response && response.data){ if(response && response.data){
console.log("是有沒有傳成功阿肝");
this.upload = false; this.upload = false;
this.success = true; this.success = true;
this.$emit('reload-BookingContent'); this.$emit('reload-BookingContent');
} }
}) })
.catch((error) => { .catch((error) => {

12
FrontEnd/components/user/bookingListContent.vue

@ -145,12 +145,12 @@ export default {
// } // }
//return this.sliceRenderList(this.bookingFilter); //return this.sliceRenderList(this.bookingFilter);
}, },
result() {
return this.bookingFilter.length;
},
pageLength() {
return Math.ceil(this.result / this.perPageItems);
},
// result() {
// return this.bookingFilter.length;
// },
// pageLength() {
// return Math.ceil(this.result / this.perPageItems);
// },
}, },
methods: { methods: {
getCategory(value){ getCategory(value){

Loading…
Cancel
Save