This file contains 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
<template lang="pug> | |
section(id="main") | |
a(href="#" @click="ModalShow" :class="{'selector' : sectionModal}") | |
span | |
i(class="fa fa-bar-chart") | |
span Open section modal | |
<modal v-if="sectionModal"> | |
h1 hello my friend!! | |
button(class="button is-info is-large modal-button" @click="closeModal") Close | |
</modal> |
This file contains 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
<!-- | |
Sistema Tagnos | |
TDR Informatica Ltda | |
Todos os direitos reservados © | |
*********************************************** | |
Nome do arquivo: listagem.vue | |
Criado por : Hamilton Gabriel | |
Data da criacao : 07/04/2018 | |
Observacao : |
This file contains 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
$model['sefaz'] = array(); | |
$array_sefaz_0 = array(); | |
$tabelas = $dom->getElementsByTagName('table'); | |
foreach($tabelas as $node){ | |
if($node->nodeName=='table' && $node->getAttribute('class')=='toggle box' OR $node->getAttribute('class')=='toggable box'){ | |
if($node->getAttribute('class')=='toggle box'){ | |
foreach($node->childNodes as $child){ | |
$cols = $child->getElementsByTagName('td'); | |
$array_sefaz_0['numero_item'] = (int)$cols->item(0)->nodeValue; | |
$array_sefaz_0['nome_produto'] = $cols->item(1)->nodeValue; |
This file contains 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
computed: { | |
strokeDashoffset() { | |
return 339.292 * (1 - (this.computedPercentage / 100)) | |
}, | |
xAxis() { | |
if (this.computedPercentage >= 100) { return 36 } | |
if (this.computedPercentage >=0 && this.computedPercentage <=9) { return 47 } | |
return 42 | |
}, | |
computedDirection() { |