code Clique para ver o JSON completo
40 KB
{
"table-id": "carregamentos",
"data-table-ondevou": "carregamentos",
"table-class": "highlight",
"readonly": "sim",
"controls": [
"add",
"copy",
"edit",
"save",
"delete",
"remove",
"qrcode",
"marker",
"timeline"
],
"html": {
"div": {
"before": "",
"after": ""
}
},
"entidade": {
"page": "carregamento",
"title": "Carregamento",
"table": "carregamentos",
"campo_id": "id_carregamento",
"view": "view_carregamentos",
"where_post": "",
"function": "getCarregamentoQrCode",
"ogTitle": "Gerenciamento Avançado de Carregamentos: Rastreie, Organize e Otimize Suas Operações",
"ogDescription": "Transforme a gestão logística da sua empresa com o OndeVou Carregamento. Rastreie e organize carregamentos de forma eficiente, com integração em tempo real e controle de romaneios de viagem. Ideal para empresas que buscam otimizar suas operações e aumentar a produtividade.",
"ogImage": "https://ondevou.com/img/ondevou_carregamento.png",
"ogUrl": "https://ondevou.com/carregamento",
"ogKeywords": "carregamento, QR Code, código de barras, gestão de carregamentos, rastreamento de cargas, romaneio de viagem, veículos, motoristas, eficiência logística, ondevou, onde, onde ir, software",
"sobre": {
"produto": "OndeVou Carregamento",
"descricao": "<span class=`destaque`>O OndeVou Carregamento</span> é uma solução robusta e eficiente para gerenciamento logístico, com recursos avançados como leitura por QR Code, rastreamento em tempo real e controle integrado de romaneios de viagem.",
"treinamento": "ondevou-carregamento",
"menu": "510",
"app": "0063",
"destaques": [
"<span class=`destaque`>Registro de Carregamentos</span><br>Adicione produtos via leitura de QR Code, código de barras ou ID manual, garantindo rapidez e precisão.",
"<span class=`destaque`>Geração Automática de IDs</span><br>Cada carregamento recebe um ID único, facilitando rastreabilidade e organização.",
"<span class=`destaque`>Controle de Fluxo Logístico</span><br>Planeje e acompanhe o status de carregamentos, garantindo pontualidade e eficiência.",
"<span class=`destaque`>Gestão Integrada com Romaneios</span><br>Os carregamentos são vinculados automaticamente a romaneios de viagem.",
"<span class=`destaque`>Monitoramento em Tempo Real</span><br>Acompanhe o progresso das operações logísticas em qualquer etapa.",
"<span class=`destaque`>Gestão Centralizada de Documentação</span><br>Organize notas fiscais e comprovantes de carga em um único local."
],
"motivos": {
"Registro de Carregamentos": "Registre produtos com leitura de QR Code, código de barras ou ID, garantindo flexibilidade e eficiência.",
"Geração Automática de IDs": "Identifique cada carregamento com IDs exclusivos, facilitando rastreamento e auditoria.",
"Gestão Integrada com Romaneios": "Vincule carregamentos diretamente aos romaneios, otimizando a logística de viagens.",
"Monitoramento em Tempo Real": "Visualize o andamento de cada operação de carregamento, reduzindo atrasos e falhas.",
"Gestão de Documentação": "Organize e acesse facilmente notas fiscais e comprovantes, melhorando a conformidade e segurança."
},
"operacoes": {
"Registro de Carregamento": "Capture informações detalhadas de cada carregamento utilizando QR Code, código de barras ou ID manual.",
"Controle de Veículos e Motoristas": "Gerencie dados de veículos e motoristas para otimizar a logística.",
"Monitoramento de Status": "Acompanhe em tempo real o status de cada carregamento e tome decisões rápidas.",
"Gestão de Documentos": "Centralize a emissão e armazenamento de notas fiscais e comprovantes, garantindo segurança e agilidade."
},
"menus": {
"segmentos": [],
"produtos": [],
"apps": [
"5",
"6",
"17",
"22"
],
"rotinas": [
"193",
"83",
"88",
"58",
"321",
"77",
"322",
"323",
"324",
"177",
"261"
]
}
},
"posts": {
"1": {
"id_post": "1",
"nome_rotina": "Sobre OndeVou Carregamento",
"descricao": "O OndeVou Carregamento é uma solução robusta e eficiente para gerenciamento logístico, com recursos avançados como leitura por QR Code, rastreamento em tempo real e controle integrado de romaneios de viagem.",
"id_rotina": "",
"id_membro": "",
"nome_membro": "Firmino Moreira Gusmão",
"razao_social": "ONDEVOU.COM TECNOLOGIA LTDA",
"cnpj": "17.058.605/0001-36",
"razao_social_cliente": "",
"nome_fantasia_cliente": "",
"tabela_origem": "",
"id_origem": "",
"data_criacao": 1786541042831,
"link_post": {
"title": "Saiba mais sobre o OndeVou Carregamento",
"url": "plataforma/produto/carregamento",
"onclick": "navClose();startMenu(this);return false;",
"menu": "510"
}
}
}
},
"pdf": {
"format": "a3",
"orientation": "landscape",
"columns-remove": [
"qrcode",
"Participante"
]
},
"headers": {
"Id": {
"width": "70px"
},
"qrcode": {
"width": "100px",
"align": "left",
"class": "qrcode"
},
"Participante": {
"type": "hidden"
},
"Data hora inclusão": {
"width": "100px"
},
"Finalidade": {
"width": "200px"
},
"Id romaneio": {
"width": "100px"
},
"Romaneio": {
"width": "250px"
},
"Cilindros": {
"width": "100px"
},
"Produtos": {
"width": "100px"
},
"Situação": {
"width": "110px"
},
"Motorista": {
"width": "150px"
},
"Placa": {
"type": "hidden"
},
"Veículo": {
"width": "150px"
},
"Rota": {
"width": "150px"
},
"Produto da unidade de contrato": {
"width": "250px"
},
"Membro": {
"width": "150px"
},
"Latitude": {
"type": "hidden"
},
"Longitude": {
"type": "hidden"
},
"Ip": {
"type": "hidden"
},
"Data inclusão": {
"type": "hidden"
}
},
"columns": {
"Id": {
"input": {
"readonly": "readonly",
"data-type-ondevou": "number",
"data-field-ondevou": "id",
"data-table-ondevou": "carregamentos",
"controls-acao": {
"qrcode": {
"acao": "getQRcode",
"messagem": "Gerar QR Code"
}
},
"formsearch": {
"required": "",
"getcollector": "{\"qrcode\":\"{\\\"qrcode-type\\\":[\\\"rvcar\\\"]}\",\"table-setups\":\"{\\\"search\\\":\\\"nao\\\",\\\"html\\\":\\\"nao\\\",\\\"controls\\\":[\\\"info\\\",\\\"remove\\\"]}\"}"
},
"launch": {
"type": "qrcode",
"menu": {
"data-id": "198"
},
"formsearch": {
"id": "id"
}
}
}
},
"qrcode": {
"input": {
"readonly": "readonly",
"type": "canvas",
"qrcode-type": "rvcar",
"data-type-ondevou": "text",
"data-field-ondevou": "qrcode",
"data-table-ondevou": "qrcode"
}
},
"Participante": {
"input": {
"readonly": "readonly",
"required": "required",
"data-type-ondevou": "text",
"value": "1",
"data-field-ondevou": "participante",
"data-table-ondevou": "carregamentos"
}
},
"Data hora inclusão": {
"input": {
"readonly": "readonly",
"data-type-ondevou": "date",
"data-field-ondevou": "data_hora_inclusao_carregamento",
"data-table-ondevou": "view_carregamentos"
}
},
"Finalidade": {
"input": {
"readonly": "readonly",
"data-type-ondevou": "text",
"data-field-ondevou": "nome_rotina",
"data-table-ondevou": "view_carregamentos"
}
},
"Id romaneio": {
"input": {
"readonly": "readonly",
"data-type-ondevou": "number",
"data-field-ondevou": "id_romaneio",
"data-table-ondevou": "view_carregamentos",
"launch": {
"menu": {
"data-id": "171"
},
"formsearch": {
"id": "id_romaneio"
}
}
}
},
"Romaneio": {
"input": {
"required": "required",
"readonly": "readonly",
"data-type-ondevou": "number",
"data-id-field-ondevou": "id_romaneio",
"data-field-ondevou": "descricao_romaneio",
"data-table-ondevou": "carregamentos",
"getdata": "{\"view\":\"view_romaneios\",\"data\":\"view_romaneios\",\"text-empty-search\":\"sim\",\"campo-data-id\":\"id_romaneio\",\"campo-data-value-input\":\"id_romaneio,descricao_romaneio,romaneio_erplinux\",\"campo-data-input-select-view\":\"id_romaneio,descricao_romaneio,romaneio_erplinux,nome_situacao\",\"query\":{\"select\":\"* from view_romaneios\",\"where\":{\"and\":{\"texto_digitado\":{\"left\":\"(unaccent(LOWER(concat(id_romaneio,` `,romaneio_erplinux,` `,descricao_romaneio))) ilike `%\",\"right\":\"%`) and (participante=`1`)\"}}},\"order\":\"id_romaneio desc\"}}",
"formsearch": {
"required": ""
}
}
},
"Cilindros": {
"input": {
"readonly": "readonly",
"data-type-ondevou": "number",
"data-field-ondevou": "cilindros",
"data-table-ondevou": "view_carregamentos",
"launch": {
"menu": {
"data-id": "73"
},
"formsearch": {
"descricao_romaneio": "id_romaneio",
"not_where_limit": "S"
}
}
}
},
"Produtos": {
"input": {
"readonly": "readonly",
"data-type-ondevou": "number",
"data-field-ondevou": "produtos",
"data-table-ondevou": "view_carregamentos",
"launch": {
"menu": {
"data-id": "263"
},
"formsearch": {
"descricao_romaneio": "id_romaneio",
"not_where_limit": "S"
}
}
}
},
"Situação": {
"input": {
"readonly": "readonly",
"required": "required",
"data-type-ondevou": "number",
"data-id-field-ondevou": "id_situacao",
"data-field-ondevou": "nome_situacao",
"data-table-ondevou": "view_carregamentos",
"getdata": "{\"view\":\"view_romaneios_situacao\",\"data\":\"view_romaneios_situacao\",\"text-empty-search\":\"sim\",\"campo-data-id\":\"id_situacao\",\"campo-data-value-input\":\"id_situacao,nome_situacao\",\"campo-data-input-select-view\":\"id_situacao,nome_situacao\",\"query\":{\"select\":\"* from view_romaneios_situacao\",\"where\":{\"and\":{\"texto_digitado\":{\"left\":\"(unaccent(LOWER(concat(id_situacao,` `,nome_situacao))) ilike `%\",\"right\":\"%`)\"}}}}}",
"formsearch": {
"required": ""
}
}
},
"Motorista": {
"input": {
"readonly": "readonly",
"required": "required",
"data-type-ondevou": "number",
"data-id-field-ondevou": "id_motorista",
"data-field-ondevou": "nome_motorista",
"data-table-ondevou": "view_carregamentos",
"getdata": "{\"view\":\"view_motoristas\",\"data\":\"view_motoristas\",\"text-empty-search\":\"sim\",\"campo-data-id\":\"id_motorista\",\"campo-data-value-input\":\"nome_motorista,cpf_motorista\",\"campo-data-input-select-view\":\"nome_motorista,cpf_motorista\",\"query\":{\"select\":\"* from view_motoristas\",\"where\":{\"and\":{\"texto_digitado\":{\"left\":\"(unaccent(LOWER(concat(id_motorista,` `,nome_motorista,` `,cpf_motorista))) ilike `%\",\"right\":\"%`) and (participante=`1`)\"}}}}}",
"formsearch": {
"required": ""
}
}
},
"Placa": {
"input": {
"readonly": "readonly",
"data-type-ondevou": "text",
"data-field-ondevou": "placa_veiculo",
"data-table-ondevou": "view_carregamentos"
}
},
"Veículo": {
"input": {
"readonly": "readonly",
"required": "required",
"data-type-ondevou": "number",
"data-id-field-ondevou": "id_veiculo",
"data-field-ondevou": "descricao_veiculo",
"data-table-ondevou": "view_carregamentos",
"getdata": "{\"view\":\"view_veiculos\",\"data\":\"view_veiculos\",\"text-empty-search\":\"sim\",\"campo-data-id\":\"id_veiculo\",\"campo-data-value-input\":\"id_veiculo,placa_veiculo,descricao_veiculo\",\"campo-data-input-select-view\":\"id_veiculo,placa_veiculo,descricao_veiculo,renavam\",\"query\":{\"select\":\"* from view_veiculos\",\"where\":{\"and\":{\"texto_digitado\":{\"left\":\"(unaccent(LOWER(concat(id_veiculo,` `,placa_veiculo,` `,descricao_veiculo,` `,renavam))) ilike `%\",\"right\":\"%`) and (participante=`1`)\"}}}}}",
"formsearch": {
"required": ""
}
}
},
"Rota": {
"input": {
"readonly": "readonly",
"required": "required",
"data-type-ondevou": "number",
"data-id-field-ondevou": "id_rota",
"data-field-ondevou": "nome_rota",
"data-table-ondevou": "view_carregamentos",
"getdata": "{\"view\":\"view_rotas\",\"data\":\"view_rotas\",\"text-empty-search\":\"sim\",\"campo-data-id\":\"id_rota\",\"campo-data-value-input\":\"nome_rota\",\"campo-data-input-select-view\":\"codigo_erplinux_rota,nome_rota\",\"query\":{\"select\":\"* from view_rotas\",\"where\":{\"and\":{\"texto_digitado\":{\"left\":\"(unaccent(LOWER(concat(id_rota,` `,codigo_erplinux_rota,` `,nome_rota))) ilike `%\",\"right\":\"%`) and (participante=`1`)\"}}}}}",
"formsearch": {
"required": ""
}
}
},
"Produto da unidade de contrato": {
"input": {
"readonly": "readonly",
"data-type-ondevou": "number",
"data-id-field-ondevou": "id_contrato_produto",
"data-field-ondevou": "descricao_produto_contrato,nome_unidade,descricao_contrato",
"data-table-ondevou": "view_carregamentos",
"getdata": "{\"view\":\"view_contratos_produtos\",\"data\":\"view_contratos_produtos\",\"text-empty-search\":\"sim\",\"data-update-full-fields\":\"sim\",\"campo-data-id\":\"id_contrato_produto\",\"campo-data-value-input\":\"descricao_produto,nome_unidade,descricao_contrato\",\"campo-data-input-select-view\":\"id_contrato_produto,descricao_produto,nome_unidade,descricao_contrato\",\"query\":{\"select\":\"* from view_contratos_produtos\",\"where\":{\"and\":{\"texto_digitado\":{\"left\":\"(unaccent(LOWER(concat(id_contrato_produto,` `,descricao_produto, ` `, nome_unidade, ` `, descricao_contrato))) ilike `%\",\"right\":\"%`) and (participante=`1`)\"}}},\"order\":\"id_contrato,id_unidade,numero_item desc\"}}",
"formsearch": {
"required": ""
}
}
},
"Membro": {
"input": {
"data-type-ondevou": "number",
"readonly": "readonly",
"data-id-field-ondevou": "id_membro",
"data-field-ondevou": "nome_membro",
"data-table-ondevou": "view_carregamentos",
"getdata": "{\"view\":\"view_membros\",\"data\":\"view_membros\",\"campo-data-id\":\"id_membro\",\"campo-data-value-input\":\"nome_membro\",\"campo-data-input-select-view\":\"nome_membro,email_membro\",\"query\":{\"select\":\"* from view_membros\",\"where\":{\"and\":{\"texto_digitado\":{\"left\":\"(unaccent(LOWER(concat(id_membro,` `,nome_membro,` `,email_membro))) ilike `%\",\"right\":\"%`)\"}}}}}",
"formsearch": {
"required": ""
}
}
},
"Latitude": {
"input": {
"readonly": "readonly",
"data-type-ondevou": "number",
"data-field-ondevou": "latitude",
"data-table-ondevou": "carregamentos"
}
},
"Longitude": {
"input": {
"readonly": "readonly",
"data-type-ondevou": "number",
"data-field-ondevou": "longitude",
"data-table-ondevou": "carregamentos"
}
},
"Ip": {
"input": {
"readonly": "readonly",
"data-type-ondevou": "text",
"data-field-ondevou": "ip",
"data-table-ondevou": "carregamentos"
}
},
"Data inclusão": {
"input": {
"readonly": "readonly",
"data-type-ondevou": "date",
"data-field-ondevou": "data_inclusao_carregamento",
"data-table-ondevou": "view_carregamentos"
}
}
},
"formsearch": {
"data-table-ondevou": "view_carregamentos",
"data-view-ondevou": "view_carregamentos",
"data-where-fixed": "participante=`1`",
"data-where-order": "order by id desc",
"input": {
"data_inicial": {
"data-field-ondevou": "data_inicial",
"data-type-ondevou": "date",
"type": "date",
"class": "datepicker",
"texto_label": "Data Inicial",
"data-field-where": "data"
},
"data_final": {
"data-field-ondevou": "data_final",
"data-type-ondevou": "date",
"type": "date",
"class": "datepicker",
"texto_label": "Data Final",
"data-field-where": "data"
}
}
},
"graficos": {
"1": {
"data": {
"Ocorrência": {
"type": "bar",
"name": "Ocorrência",
"x": "data_inclusao_carregamento",
"y": "count",
"texttemplate": "%{y}"
},
"Produtos": {
"type": "bar",
"name": "Produtos",
"x": "data_inclusao_carregamento",
"y": "produtos",
"texttemplate": "%{y}"
},
"Cilindros": {
"type": "bar",
"name": "Cilindros",
"x": "data_inclusao_carregamento",
"y": "cilindros",
"texttemplate": "%{y}"
}
},
"layout": {
"title": {
"text": "Carregamentos por data"
}
}
},
"2": {
"data": {
"Ocorrência": {
"type": "bar",
"name": "Ocorrência",
"x": "data_inclusao_carregamento",
"y": "count",
"texttemplate": "%{y}"
},
"Produtos": {
"type": "bar",
"name": "Produtos",
"x": "data_inclusao_carregamento",
"y": "produtos",
"texttemplate": "%{y}"
},
"Cilindros": {
"type": "bar",
"name": "Cilindros",
"x": "data_inclusao_carregamento",
"y": "cilindros",
"texttemplate": "%{y}"
}
},
"layout": {
"title": {
"text": "Carregamentos por data"
}
}
},
"3": {
"data": {
"Ocorrência": {
"type": "bar",
"name": "Ocorrência",
"x": "data_inclusao_carregamento",
"y": "count",
"texttemplate": "%{y}"
},
"Produtos": {
"type": "bar",
"name": "Produtos",
"x": "data_inclusao_carregamento",
"y": "produtos",
"texttemplate": "%{y}"
},
"Cilindros": {
"type": "bar",
"name": "Cilindros",
"x": "data_inclusao_carregamento",
"y": "cilindros",
"texttemplate": "%{y}"
}
},
"layout": {
"title": {
"text": "Carregamentos por data"
}
}
},
"4": {
"data": {
"Ocorrência": {
"type": "bar",
"name": "Ocorrência",
"x": "data_inclusao_carregamento",
"y": "count",
"texttemplate": "%{y}"
},
"Produtos": {
"type": "bar",
"name": "Produtos",
"x": "data_inclusao_carregamento",
"y": "produtos",
"texttemplate": "%{y}"
},
"Cilindros": {
"type": "bar",
"name": "Cilindros",
"x": "data_inclusao_carregamento",
"y": "cilindros",
"texttemplate": "%{y}"
}
},
"layout": {
"title": {
"text": "Carregamentos por data"
}
}
},
"5": {
"data": {
"Ocorrência": {
"type": "bar",
"name": "Ocorrência",
"x": "data_inclusao_carregamento",
"y": "count",
"texttemplate": "%{y}"
},
"Produtos": {
"type": "bar",
"name": "Produtos",
"x": "data_inclusao_carregamento",
"y": "produtos",
"texttemplate": "%{y}"
},
"Cilindros": {
"type": "bar",
"name": "Cilindros",
"x": "data_inclusao_carregamento",
"y": "cilindros",
"texttemplate": "%{y}"
}
},
"layout": {
"title": {
"text": "Carregamentos por data"
}
}
},
"6": {
"data": {
"Ocorrência": {
"type": "bar",
"name": "Ocorrência",
"x": "data_inclusao_carregamento",
"y": "count",
"texttemplate": "%{y}"
},
"Produtos": {
"type": "bar",
"name": "Produtos",
"x": "data_inclusao_carregamento",
"y": "produtos",
"texttemplate": "%{y}"
},
"Cilindros": {
"type": "bar",
"name": "Cilindros",
"x": "data_inclusao_carregamento",
"y": "cilindros",
"texttemplate": "%{y}"
}
},
"layout": {
"title": {
"text": "Carregamentos por data"
}
}
},
"7": {
"data": {
"Ocorrência": {
"type": "bar",
"name": "Ocorrência",
"x": "data_inclusao_carregamento",
"y": "count",
"texttemplate": "%{y}"
},
"Produtos": {
"type": "bar",
"name": "Produtos",
"x": "data_inclusao_carregamento",
"y": "produtos",
"texttemplate": "%{y}"
},
"Cilindros": {
"type": "bar",
"name": "Cilindros",
"x": "data_inclusao_carregamento",
"y": "cilindros",
"texttemplate": "%{y}"
}
},
"layout": {
"title": {
"text": "Carregamentos por data"
}
}
}
},
"dashboard": {
"enabled": true,
"theme": "modern",
"layout": "free",
"auto_refresh": false,
"header": {
"logo": {
"src": "img/ondevou_plataforma.png",
"alt": "OndeVou Plataforma",
"class": "dashboard-logo-img"
},
"title": "📦 OPERAÇÕES DE CARREGAMENTO",
"subtitle": "Visão macro dos carregamentos realizados por romaneio",
"filters_area": {
"container_id": "dashboard-filters-area",
"empty_message": "Sem filtros"
},
"actions": [
{
"type": "button",
"container_id": "dashboard-atualizar-dados",
"class": "dashboard-btn dashboard-btn-sm dashboard-btn-primary",
"icon": "fas fa-sync-alt",
"text": "Atualizar",
"action": "dashboard_refreshData",
"title": "Atualizar Dados"
},
{
"type": "button",
"container_id": "dashboard-voltar-dados",
"class": "dashboard-btn dashboard-btn-sm dashboard-btn-outline",
"icon": "fas fa-table",
"text": "Voltar para dados",
"action": "voltarParaDadosFromDashboard",
"title": "Voltar para dados"
},
{
"type": "button",
"container_id": "dashboard-auto-refresh",
"class": "dashboard-btn dashboard-btn-sm dashboard-btn-info",
"icon": "fas fa-clock",
"text": "Auto-Refresh",
"action": "dashboard_toggleAutoRefresh",
"title": "Alternar escuta automática de dados"
}
]
},
"sections": {
"bloco1_resumo_executivo": {
"type": "summary_cards_full",
"title": "RESUMO EXECUTIVO",
"class": "dashboard-section dashboard-section-full-width",
"icon": "📊",
"config": {
"container_id": "cards-resumo-carregamentos",
"size": "full",
"cards": [
{
"title": "TOTAL CARREGAMENTOS",
"value": "COUNT:id",
"format": "numero",
"decimals": 0,
"suffix": " atos",
"icon": "🔄",
"color": "#3b82f6"
},
{
"title": "TOTAL CILINDROS",
"value": "SUM:cilindros",
"format": "numero",
"decimals": 0,
"suffix": " cil",
"icon": "🏭",
"color": "#22c55e"
},
{
"title": "MÉDIA CIL/ATO",
"value": "CALC:sum(cilindros)/count(id)",
"format": "numero",
"decimals": 1,
"suffix": " cil/ato",
"icon": "📊",
"color": "#f97316"
},
{
"title": "TOTAL PRODUTOS",
"value": "SUM:produtos",
"format": "numero",
"decimals": 0,
"suffix": " prod",
"icon": "🧪",
"color": "#a855f7"
},
{
"title": "MÉDIA PROD/ATO",
"value": "CALC:sum(produtos)/count(id)",
"format": "numero",
"decimals": 1,
"suffix": " prod/ato",
"icon": "📊",
"color": "#ec4899"
},
{
"title": "ROMANEIOS ATENDIDOS",
"value": "COUNT_DISTINCT:id_romaneio",
"format": "numero",
"decimals": 0,
"suffix": " romaneios",
"icon": "📋",
"color": "#14b8a6"
}
]
}
},
"bloco2_eficiencia_operacional": {
"type": "summary_cards_grid",
"title": "EFICIÊNCIA OPERACIONAL",
"class": "dashboard-section dashboard-section-full-width",
"icon": "⚡",
"config": {
"container_id": "cards-eficiencia-carregamentos",
"size": "full",
"sections": [
{
"title": "DESEMPENHO",
"cards": [
{
"title": "ATOS/ROMANEIO",
"value": "CALC:count(id)/count_distinct(id_romaneio)",
"format": "numero",
"decimals": 1,
"suffix": " atos/romaneio",
"icon": "🔄",
"color": "#3b82f6"
},
{
"title": "MAIOR Nº ATOS",
"group_by": "id_romaneio",
"value": "METRICA_AGRUPAMENTO:maior",
"format": "numero",
"decimals": 0,
"suffix": " atos",
"icon": "📈",
"color": "#22c55e"
},
{
"title": "MÉDIA CIL/ATO",
"value": "CALC:sum(cilindros)/count(id)",
"format": "numero",
"decimals": 1,
"suffix": " cil/ato",
"icon": "📊",
"color": "#f97316"
}
]
},
{
"title": "PRODUTIVIDADE",
"cards": [
{
"title": "MÉDIA PROD/ATO",
"value": "CALC:sum(produtos)/count(id)",
"format": "numero",
"decimals": 1,
"suffix": " prod/ato",
"icon": "📊",
"color": "#a855f7"
},
{
"title": "MAIOR ATO",
"group_by": "id_carregamento",
"filters_aggregation": "valor > 0",
"value": "METRICA_AGRUPAMENTO:maior",
"format": "numero",
"decimals": 0,
"suffix": " cil",
"icon": "📈",
"color": "#22c55e"
}
]
}
]
}
},
"bloco3_analise_romaneios": {
"type": "summary_cards_grid",
"title": "ANÁLISE POR ROMANEIO",
"class": "dashboard-section dashboard-section-full-width",
"icon": "📋",
"config": {
"container_id": "cards-analise-romaneios-carregamentos",
"size": "full",
"sections": [
{
"title": "ESTATÍSTICAS",
"cards": [
{
"title": "TOTAL ROMANEIOS",
"group_by": "id_romaneio",
"value": "METRICA_AGRUPAMENTO:total_grupos",
"format": "numero",
"icon": "🔢",
"color": "#3b82f6"
},
{
"title": "TOTAL ATOS",
"group_by": "id_romaneio",
"value": "METRICA_AGRUPAMENTO:soma",
"format": "numero",
"decimals": 0,
"icon": "🔄",
"color": "#22c55e"
},
{
"title": "MÉDIA ATOS/ROMANEIO",
"group_by": "id_romaneio",
"value": "METRICA_AGRUPAMENTO:media",
"format": "numero",
"decimals": 1,
"suffix": " atos",
"icon": "📊",
"color": "#f97316"
},
{
"title": "MAIOR Nº ATOS",
"group_by": "id_romaneio",
"value": "METRICA_AGRUPAMENTO:maior",
"format": "numero",
"decimals": 0,
"suffix": " atos",
"icon": "📈",
"color": "#22c55e"
}
]
},
{
"title": "CILINDROS",
"cards": [
{
"title": "TOTAL CILINDROS",
"group_by": "id_romaneio",
"value": "METRICA_AGRUPAMENTO:soma",
"format": "numero",
"decimals": 0,
"suffix": " cil",
"icon": "🏭",
"color": "#3b82f6"
},
{
"title": "MÉDIA CIL/ROMANEIO",
"group_by": "id_romaneio",
"value": "METRICA_AGRUPAMENTO:media",
"format": "numero",
"decimals": 1,
"suffix": " cil",
"icon": "📊",
"color": "#10b981"
},
{
"title": "MAIOR ROMANEIO",
"group_by": "id_romaneio",
"value": "METRICA_AGRUPAMENTO:maior",
"format": "numero",
"decimals": 0,
"suffix": " cil",
"icon": "📈",
"color": "#22c55e"
}
]
}
]
}
},
"bloco4_ranking_rota": {
"type": "charts_grid_section",
"title": "RANKING POR ROTA",
"class": "dashboard-section dashboard-section-full-width",
"grid_class": "dashboard-section-grid-3",
"icon": "📍",
"config": {
"container_id": "ranking-rota-carregamentos-grid",
"charts": [
{
"type": "chart_bar_aggregated",
"config": {
"container_id": "graf-rota-carregamentos-count",
"data_config": {
"group_by": "nome_rota",
"operation": "COUNT:id"
},
"display_config": {
"title": "ATOS POR ROTA",
"layout": "ranking",
"format": "numero",
"decimals": 0,
"suffix": " atos",
"height": "400px",
"color": "#3b82f6",
"sort_by": "value",
"sort_order": "DESC"
}
}
},
{
"type": "chart_bar_aggregated",
"config": {
"container_id": "graf-rota-carregamentos-cilindros",
"data_config": {
"group_by": "nome_rota",
"operation": "SUM:cilindros"
},
"display_config": {
"title": "CILINDROS POR ROTA",
"layout": "ranking",
"format": "numero",
"decimals": 0,
"suffix": " cil",
"height": "400px",
"color": "#22c55e",
"sort_by": "value",
"sort_order": "DESC"
}
}
},
{
"type": "chart_bar_aggregated",
"config": {
"container_id": "graf-rota-carregamentos-produtos",
"data_config": {
"group_by": "nome_rota",
"operation": "SUM:produtos"
},
"display_config": {
"title": "PRODUTOS POR ROTA",
"layout": "ranking",
"format": "numero",
"decimals": 0,
"suffix": " prod",
"height": "400px",
"color": "#a855f7",
"sort_by": "value",
"sort_order": "DESC"
}
}
}
]
}
},
"bloco5_ranking_veiculo": {
"type": "charts_grid_section",
"title": "RANKING POR VEÍCULO",
"class": "dashboard-section dashboard-section-full-width",
"grid_class": "dashboard-section-grid-2",
"icon": "🚛",
"config": {
"container_id": "ranking-veiculo-carregamentos-grid",
"charts": [
{
"type": "chart_bar_aggregated",
"config": {
"container_id": "graf-veiculo-carregamentos-count",
"data_config": {
"group_by": "placa_veiculo",
"operation": "COUNT:id"
},
"display_config": {
"title": "ATOS POR VEÍCULO",
"layout": "ranking",
"format": "numero",
"decimals": 0,
"suffix": " atos",
"height": "400px",
"color": "#3b82f6",
"sort_by": "value",
"sort_order": "DESC"
}
}
},
{
"type": "chart_bar_aggregated",
"config": {
"container_id": "graf-veiculo-carregamentos-cilindros",
"data_config": {
"group_by": "placa_veiculo",
"operation": "SUM:cilindros"
},
"display_config": {
"title": "CILINDROS POR VEÍCULO",
"layout": "ranking",
"format": "numero",
"decimals": 0,
"suffix": " cil",
"height": "400px",
"color": "#22c55e",
"sort_by": "value",
"sort_order": "DESC"
}
}
}
]
}
},
"bloco6_ranking_motorista": {
"type": "charts_grid_section",
"title": "RANKING POR MOTORISTA",
"class": "dashboard-section dashboard-section-full-width",
"grid_class": "dashboard-section-grid-2",
"icon": "👨✈️",
"config": {
"container_id": "ranking-motorista-carregamentos-grid",
"charts": [
{
"type": "chart_bar_aggregated",
"config": {
"container_id": "graf-motorista-carregamentos-count",
"data_config": {
"group_by": "nome_motorista",
"operation": "COUNT:id"
},
"display_config": {
"title": "ATOS POR MOTORISTA",
"layout": "ranking",
"format": "numero",
"decimals": 0,
"suffix": " atos",
"height": "400px",
"color": "#3b82f6",
"sort_by": "value",
"sort_order": "DESC"
}
}
},
{
"type": "chart_bar_aggregated",
"config": {
"container_id": "graf-motorista-carregamentos-cilindros",
"data_config": {
"group_by": "nome_motorista",
"operation": "SUM:cilindros"
},
"display_config": {
"title": "CILINDROS POR MOTORISTA",
"layout": "ranking",
"format": "numero",
"decimals": 0,
"suffix": " cil",
"height": "400px",
"color": "#22c55e",
"sort_by": "value",
"sort_order": "DESC"
}
}
}
]
}
},
"bloco7_finalidade": {
"type": "charts_grid_section",
"title": "FINALIDADE",
"class": "dashboard-section dashboard-section-full-width",
"grid_class": "dashboard-section-grid-2",
"icon": "🎯",
"config": {
"container_id": "finalidade-carregamentos-grid",
"charts": [
{
"type": "chart_bar_aggregated",
"config": {
"container_id": "graf-finalidade-carregamentos-count",
"data_config": {
"group_by": "nome_rotina",
"operation": "COUNT:id"
},
"display_config": {
"title": "ATOS POR FINALIDADE",
"layout": "ranking",
"format": "numero",
"decimals": 0,
"suffix": " atos",
"height": "400px",
"color": "#3b82f6",
"sort_by": "value",
"sort_order": "DESC"
}
}
},
{
"type": "chart_pie",
"config": {
"container_id": "graf-finalidade-pie",
"data_config": {
"group_by": "nome_rotina",
"operation": "COUNT:id"
},
"display_config": {
"title": "DISTRIBUIÇÃO",
"layout": "split",
"donut": false,
"show_legend": true,
"show_percentages": true,
"show_values": true,
"format": "numero",
"decimals": 0,
"suffix": " atos",
"height": "400px",
"colors": [
"#3b82f6",
"#22c55e",
"#f97316",
"#a855f7",
"#ec4899",
"#06b6d4"
]
}
}
}
]
}
},
"bloco8_evolucao_temporal": {
"type": "charts_grid_section",
"title": "EVOLUÇÃO TEMPORAL",
"class": "dashboard-section dashboard-section-full-width",
"grid_class": "dashboard-section-grid-2",
"icon": "📈",
"config": {
"container_id": "evolucao-temporal-carregamentos-grid",
"charts": [
{
"type": "chart_bar_aggregated_evolution",
"config": {
"container_id": "evolucao-carregamentos-count",
"data_config": {
"campo_data": "data_inclusao_carregamento",
"operation": "COUNT:id",
"granularidade": "mensal"
},
"display_config": {
"title": "ATOS POR MÊS",
"layout": "vertical",
"format": "numero",
"decimals": 0,
"suffix": " atos",
"height": "350px",
"color": "#3b82f6"
}
}
},
{
"type": "chart_bar_aggregated_evolution",
"config": {
"container_id": "evolucao-carregamentos-cilindros",
"data_config": {
"campo_data": "data_inclusao_carregamento",
"operation": "SUM:cilindros",
"granularidade": "mensal"
},
"display_config": {
"title": "CILINDROS POR MÊS",
"layout": "vertical",
"format": "numero",
"decimals": 0,
"suffix": " cil",
"height": "350px",
"color": "#22c55e"
}
}
}
]
}
}
}
},
"url_documentacao": "/docs/ondevou-db-carregamentos.html",
"nome_tabela": "carregamentos"
}