This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data": [ | |
{ | |
"pedido_id": 1, | |
"vendedor_id": 3689, | |
"vendedor_nome": "Joaquim Silva", | |
"pedido_status": "Concluído", | |
"pedido_total": 1987.5, | |
"cliente_nome": "Ana Clara Souza", | |
"cliente_status": "Ativo", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data": [ | |
{ | |
"pedido_id": 1, | |
"pedido_quantidade_peca": 4, | |
"pedido_total": 599.90, | |
"vendedor_nome": "Wemerson Januario", | |
"vendedor_meta": 500.90, | |
"cliente_nome": "Ana Lucia", | |
"cliente_cidade": "São Paulo", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"metaTotal": "730.000,00", | |
"totalAprovados": ",00", | |
"metasMes": [ | |
{ | |
"mes": "MAIO", | |
"meta": "109.500,00", | |
"vlrVendido": "0,00", | |
"percMeta": "0%" | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var url = 'http://www.pdf995.com/samples/pdf.pdf'; | |
var fileName = 'pdf.pdf'; | |
var xhr = new XMLHttpRequest(); | |
xhr.open('GET', url, true); | |
xhr.responseType = 'blob'; | |
xhr.onprogress = function(pe) { | |
console.log('progress'); | |
if (pe.lengthComputable) { | |
console.log((pe.loaded / pe.total) * 100); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var url = 'http://backend.siplik.co/public/word-to-pdf.pdf'; | |
var xhr = new XMLHttpRequest(); | |
xhr.open('GET', url, true); | |
xhr.responseType = 'blob'; | |
xhr.onprogress = function(pe) { | |
console.log('progress'); | |
if (pe.lengthComputable) { | |
console.log((pe.loaded / pe.total) * 100); |