1relatoriosHTML(); 2 3var funcoes_relatorios = { 4 imprimirQuitacaoDebitos(ano_selecionado) { 5 app.modal_url = ''; 6 app.modal_nome = 'Relatórios - Quitação de débitos'; 7 8 let hs_web = new HotsiteWeb(); 9 if (ano_selecionado && ano_selecionado !== 'Selecione um ano...') { 10 return hs_web.imprimirQuitacaoDebitos(ano_selecionado); 11 } 12 return hs_web.criarToast('5000', 'Ops!', 'Parece que você não selecionou um ano!', 'fas fa-exclamation-circle', 'red', 'id_erro'); 13 }, 14 listarPeriodos(ramal_selecionado) { 15 app.modal_url = ''; 16 app.modal_nome = 'Relatórios - Extrato de Ligações'; 17 if (ramal_selecionado && ramal_selecionado != 'Selecione um ramal...') { 18 app.loading = true; 19 var hs_web = new HotsiteWeb(); 20 hs_web.getPeriodosRamal(ramal_selecionado); 21 } else { 22 router.history.current.matched[0].instances.default.periodo_selecionado = 'Selecione um perÃodo...'; 23 router.history.current.matched[0].instances.default.periodo = []; 24 } 25 }, 26 imprimirExtratoVoip(ramal_selecionado, periodo_selecionado) { 27 var hs_web = new HotsiteWeb(); 28 app.loading = true; 29 30 if (ramal_selecionado && ramal_selecionado != 'Selecione um ramal...') { 31 if (periodo_selecionado && periodo_selecionado != 'Selecione um perÃodo...') { 32 return hs_web.imprimirExtratoVoip(ramal_selecionado, periodo_selecionado); 33 } 34 35 app.loading = false; 36 return hs_web.criarToast('5000', 'Ops!', 'Parece que você não selecionou um perÃodo!', 'fas fa-exclamation-circle', 'red', 'id_erro'); 37 } 38 39 app.loading = false; 40 return hs_web.criarToast('5000', 'Ops!', 'Parece que você não selecionou um ramal!', 'fas fa-exclamation-circle', 'red', 'id_erro'); 41 } 42}; 43 44function relatoriosHTML() { 45 try { 46 $.ajax({ 47 url: __SERVER__ + "/view/relatorios/relatorios.vue", 48 type: "GET", 49 data: "", 50 dataType: 'html' 51 }).done(function (resposta) { 52 __ROTAS__.push({ 53 path: '/central_assinante_web/relatorios', 54 name: 'relatorios', 55 component: { 56 template: resposta, 57 data() { 58 return { 59 pg_declaracao_debito: 'N', 60 possui_debito: true, 61 ano_selecionado: 'Selecione um ano...', 62 ramal_selecionado: 'Selecione um ramal...', 63 periodo_selecionado: 'Selecione um perÃodo...', 64 anos: [], 65 ramais: [], 66 periodos: [] 67 }; 68 }, 69 methods: funcoes_relatorios, 70 mounted() { 71 Vue.component(vueDirectiveTooltip, { 72 template: '#tooltipTeste' 73 }); 74 $('#modalImpressao').on('hidden.bs.modal', function () { 75 app.modal_url = ''; 76 app.modal_nome = ''; 77 }); 78 } 79 } 80 }); 81 82 PAGE_RELATORIOS = true; 83 verificaPages(); 84 }); 85 } catch (e) { 86 console.log("Error Message -> " + e); 87 } 88}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.