revert back changes during debug

This commit is contained in:
weiweitoo
2018-07-19 17:49:02 +08:00
parent 16205404e1
commit ef200257b3
9 changed files with 0 additions and 30 deletions
@@ -355,7 +355,6 @@
downloadReport(){
let canvas = document.getElementById('myCanvas')
var dataString = canvas.toDataURL("image/png");
console.log(dataString)
var link = document.createElement("a");
link.download = 'image';
link.href = dataString;
@@ -410,9 +409,6 @@
},
getURL(path){
var getUrl = window.location;
console.log(getUrl.protocol);
console.log(getUrl.host);
console.log(getUrl.pathname.split('/')[1]);
var baseUrl = getUrl.protocol + "//" + getUrl.host;
return baseUrl + path;
}
@@ -576,8 +572,6 @@
// text
ctx.font = "bold 14px Arial";
ctx.textAlign = "center";
console.log(binding.value.amountInRMB);
console.log(binding.value);
ctx.fillText("China beneficiary Account", column2X - 40, rowHeight[22] - 80);
ctx.fillText("户名 : " + binding.value.china_company_name, column2X - 40, rowHeight[22] - 60);
ctx.fillText(binding.value.china_acc_no, column2X - 40, rowHeight[22] - 40);
@@ -392,9 +392,6 @@
},
getURL(path){
var getUrl = window.location;
console.log(getUrl.protocol);
console.log(getUrl.host);
console.log(getUrl.pathname.split('/')[1]);
var baseUrl = getUrl.protocol + "//" + getUrl.host;
return baseUrl + path;
}
@@ -293,7 +293,6 @@
.then((response) => {
this.booking_details = response.data;
this.trackerConfig.term = response.data.term;
console.log(this.booking_details);
loading.close()
}).catch((error) => {
console.log(error)
@@ -373,9 +372,6 @@
},
getURL(path){
var getUrl = window.location;
console.log(getUrl.protocol);
console.log(getUrl.host);
console.log(getUrl.pathname.split('/')[1]);
var baseUrl = getUrl.protocol + "//" + getUrl.host;
return baseUrl + path;
}
-2
View File
@@ -91,7 +91,6 @@ export default {
},
filterHandlerTranferAmount (value, row, column) {
// Pending...lol
console.log(12);
return false;
},
filterHandlerTerm(value, row, column){
@@ -101,7 +100,6 @@ export default {
BookingStatus (status, booking_id) {
// TODO : Get booking status from server
this.status = status
console.log(this.status)
switch (this.status) {
case 1:
this.$router.push({
@@ -338,9 +338,6 @@ export default {
},
getURL(path){
var getUrl = window.location;
console.log(getUrl.protocol);
console.log(getUrl.host);
console.log(getUrl.pathname.split('/')[1]);
var baseUrl = getUrl.protocol + "//" + getUrl.host;
return baseUrl + path;
}
@@ -278,9 +278,6 @@ export default {
},
getURL(path){
var getUrl = window.location;
console.log(getUrl.protocol);
console.log(getUrl.host);
console.log(getUrl.pathname.split('/')[1]);
var baseUrl = getUrl.protocol + "//" + getUrl.host;
return baseUrl + path;
}
-3
View File
@@ -343,9 +343,6 @@ export default {
},
getURL(path){
var getUrl = window.location;
console.log(getUrl.protocol);
console.log(getUrl.host);
console.log(getUrl.pathname.split('/')[1]);
var baseUrl = getUrl.protocol + "//" + getUrl.host;
return baseUrl + path;
}
@@ -278,9 +278,6 @@ export default {
},
getURL(path){
var getUrl = window.location;
console.log(getUrl.protocol);
console.log(getUrl.host);
console.log(getUrl.pathname.split('/')[1]);
var baseUrl = getUrl.protocol + "//" + getUrl.host;
return baseUrl + path;
}
@@ -356,9 +356,6 @@ export default {
},
getURL(path){
var getUrl = window.location;
console.log(getUrl.protocol);
console.log(getUrl.host);
console.log(getUrl.pathname.split('/')[1]);
var baseUrl = getUrl.protocol + "//" + getUrl.host;
return baseUrl + path;
}