Ir ao conteúdo
  • Cadastre-se

Xandrules

Membro Pleno
  • Posts

    86
  • Cadastrado em

  • Última visita

  1. Bom dia, gostaria de saber se é possível tratar os caracteres conforme a foto. onde aparece os caracteres com erro na verdade é uma palavra em japonês que preciso ou recupera-lá ou descarta-lá alguém sabe como posso tratar isso?
  2. Bom dia. Estou tendo um problema em atualizar um input text com angular. Segue a imagem do meu view e cógido; Controller onde os dados chegam corretamente $scope.getSoftwareHardwareVersion = function () { MeasModel.getSwHwVersion().then((response) => { // console.log(response); // $scope.dataValues = response.data[0]; $scope.hardwareVersion = $scope.dataValues.hardwareVersion; $scope.softwareDigiVersion = $scope.dataValues.softwareDigiVersion; $scope.softwareuCVersion = $scope.dataValues.softwareuCVersion; }); }; HTML onde estou fazendo o bind da informação <section class="content" ng-show="softwareShow"> <!-- Default box --> <div class="box" ng-app="apphkl" ng-controller="MeasController"> <div class="box-header with-border"> <h3 class="box-title">{{title}}</h3> </div> <div class="box-body"> <div class="col-xs-12"> <div class=" box-meas box-header btsettings col-xs-12 col-sm-4 col-md-3"> <h4 class="input-meas"> <br>uC Software Version </h4> <br> <!-- RpDZT --> <input class="input-meas-info form-control" type="text" value="{{softwareuCVersion}}" ng-disabled="true"> <!-- RpEnd --> </div> <div class=" box-meas box-header btsettings col-xs-12 col-sm-4 col-md-3"> <h4 class="input-meas"> <br>Digi Software Version </h4> <br> <!-- RpDZT --> <input class="input-meas-info form-control" type="text" ng-model="softwareDigiVersion" ng-disabled="true"> <!-- RpEnd --> </div> <div class=" box-meas box-header btsettings col-xs-12 col-sm-4 col-md-3"> <h4 class="input-meas"> <br>Hardware Version </h4> <br> <!-- RpDZT --> <input class="input-meas-info form-control" type="text" ng-model="hardwareVersion" ng-disabled="true"> <!-- RpEnd --> </div> </div> <div class="clearfix"> </div> </div> </div> </section>
  3. Boa Tarde a Todos, queria de saber um forma de adcionar uma diretiva ng-controller quando chamo um html externo, simplesmente não funciona. HTML da Página A seguir. <style> div#logsTable_filter { display: none; } .dataTables_wrapper { margin-top: 25px; } table#logsTable{ width: 100% !important; } button#clear_log{ position: absolute; right: 5px; top: 5px; } button#save{ position: absolute; right: 10px; top: 0px; height: 34px; width: 70px; z-index: 999; } </style> <section class="content-header"> <h1> {{title}} </h1> </section> <!-- Main content --> <section class="content"> <!-- Default box --> <div class="box" ng-app="apphkl" ng-controller="UsersController"> <div class="box-header with-border"> <h3 class="box-title">User</h3> <div ng-hide="logs.length == 0" > <button id="save" class="btn pull-right margin-bottom" ng-click="downloadLogs(0)">SAVE</button> </div> </div> <div class="box-body" > <div class="col-xs-12"> <div class=" box-meas box-header btsettings col-xs-12 col-sm-3 "> <h4 class="input-meas"> <br>Current Password </h4> <br> <input class="input-meas-settings form-control" type="password" value="" > </div> <div class=" box-meas box-header btsettings col-xs-12 col-sm-3 "> <h4 class="input-meas"> <br>New Password </h4> <br> <input class="input-meas-settings form-control" type="password" value="" > </div> <div class=" box-meas box-header btsettings col-xs-12 col-sm-3 "> <h4 class="input-meas"> <br>Confirm Password </h4> <br> <input class="input-meas-settings form-control" type="password" value="" > </div> </div> <div class="clearfix"> </div> </div> </div> </section> controller da página var apphkl = angular.module('apphkl', []); apphkl.controller('UsersController', ['$scope', function ($scope){ $scope.title = 'User Setup'; }]); Resultado
  4. Bom dia, gostaria de saber se é possivel e como ffazer para ao clicar em um item do meu menu atualizar e buscar apenas o html do conteudo da página sem atualizar a pagina toda. Obrigado.
  5. Bom dia, Estou tendo um problema com a execução do meu código em JS. Acontece que a cada vez que chamo uma função é chamada a mesma duas vezes, sendo assim são feitas duas requisições. Alguém poderia me ajudar? apphkl.controller('TSController', ['$scope', 'AuthService', 'TSModel', function ($scope, AuthService, TSModel) { $scope.pageTitle = 'TS ANALYZER'; $scope.loading = false; $scope.reloadCallback = null; /* Autoridade do usuario apenas usuario master tem autorização para usar a página*/ $scope.auth = AuthService.getLoggedUser(); // console.log($scope.auth); if ($scope.auth.login != 'master' && $scope.auth.permission != 'admin') { window.location.href = "/soc/index.html#/404"; } /** * Constantes usadas na seleção das Abas */ const PID_INFO = 10; const TABLES = 20; const ISDB_T_PARAM = 30; const SERVICES = 40; const CCINFO = 50; $scope.basic_info = ""; // dados basicos presentes o tempo todo na página $scope.pid_info = ""; // dados sobre para exibir na tab de pid info $scope.tables = ""; // dados das tabelas $scope.isdb_param = ""; // dados da aba isdbt parameters quando presente mostra $scope.services = ""; // dados da aba services $scope.ccinfo = ""; // dados que serão mostrados na aba ccinfo $scope.user_tab_current = null; // sinaliza em qual aba o usuario esta $scope.tab_idbt_active = 0; // sinaliza se a aba de isdbt vai ser mostrada 0:Hide 1:Show $scope.basic_info_ok = 1; $scope.pid_info_ok = 1; $scope.tables_ok = 1; $scope.isdb_param_ok = 1; $scope.services_ok = 1; $scope.ccinfo_ok = 1; /** * Seleção das Tabs do sistema. */ $scope.updateTab = function (value) { $scope.user_tab_current = value; if (value == PID_INFO) { document.querySelector('#menu0').className = "tab-pane active"; document.querySelector('#menu1').className = "tab-pane fade"; document.querySelector('#menu2').className = "tab-pane fade"; document.querySelector('#menu3').className = "tab-pane fade"; document.querySelector('#menu4').className = "tab-pane fade"; document.querySelector('#menu5').className = "tab-pane fade"; document.querySelector('#tab_menu0').className = "nav-link active"; document.querySelector('#tab_menu1').className = "nav-link"; document.querySelector('#tab_menu2').className = "nav-link"; document.querySelector('#tab_menu3').className = "nav-link"; document.querySelector('#tab_menu4').className = "nav-link "; document.querySelector('#tab_menu5').className = "nav-link "; //$scope.user_tab_current = PID_INFO; // $scope.loading = true; } else if (value == TABLES) { document.querySelector('#menu0').className = "tab-pane fade"; document.querySelector('#menu1').className = "tab-pane active"; document.querySelector('#menu2').className = "tab-pane fade"; document.querySelector('#menu3').className = "tab-pane fade"; document.querySelector('#menu4').className = "tab-pane fade"; document.querySelector('#menu5').className = "tab-pane fade"; document.querySelector('#tab_menu0').className = "nav-link"; document.querySelector('#tab_menu1').className = "nav-link active"; document.querySelector('#tab_menu2').className = "nav-link"; document.querySelector('#tab_menu3').className = "nav-link"; document.querySelector('#tab_menu4').className = "nav-link "; document.querySelector('#tab_menu5').className = "nav-link "; //$scope.user_tab_current = TABLES; } else if (value == ISDB_T_PARAM) { document.querySelector('#menu0').className = "tab-pane fade"; document.querySelector('#menu1').className = "tab-pane fade"; document.querySelector('#menu2').className = "tab-pane active"; document.querySelector('#menu3').className = "tab-pane fade"; document.querySelector('#menu4').className = "tab-pane fade"; document.querySelector('#menu5').className = "tab-pane fade"; document.querySelector('#tab_menu0').className = "nav-link"; document.querySelector('#tab_menu1').className = "nav-link"; document.querySelector('#tab_menu2').className = "nav-link active"; document.querySelector('#tab_menu3').className = "nav-link"; document.querySelector('#tab_menu4').className = "nav-link "; document.querySelector('#tab_menu5').className = "nav-link "; // $scope.user_tab_current = ISDB_T_PARAM; } else if (value == SERVICES) { document.querySelector('#menu0').className = "tab-pane fade"; document.querySelector('#menu1').className = "tab-pane fade"; document.querySelector('#menu2').className = "tab-pane fade"; document.querySelector('#menu3').className = "tab-pane active"; document.querySelector('#menu4').className = "tab-pane fade"; document.querySelector('#menu5').className = "tab-pane fade"; document.querySelector('#tab_menu0').className = "nav-link"; document.querySelector('#tab_menu1').className = "nav-link"; document.querySelector('#tab_menu2').className = "nav-link"; document.querySelector('#tab_menu3').className = "nav-link active"; document.querySelector('#tab_menu4').className = "nav-link "; document.querySelector('#tab_menu5').className = "nav-link "; //$scope.user_tab_current = SERVICES; }else if (value == CCINFO) { document.querySelector('#menu0').className = "tab-pane fade"; document.querySelector('#menu1').className = "tab-pane fade"; document.querySelector('#menu2').className = "tab-pane fade"; document.querySelector('#menu3').className = "tab-pane fade"; document.querySelector('#menu4').className = "tab-pane active"; document.querySelector('#menu5').className = "tab-pane fade"; document.querySelector('#tab_menu0').className = "nav-link"; document.querySelector('#tab_menu1').className = "nav-link"; document.querySelector('#tab_menu2').className = "nav-link"; document.querySelector('#tab_menu3').className = "nav-link "; document.querySelector('#tab_menu4').className = "nav-link active"; document.querySelector('#tab_menu5').className = "nav-link "; //$scope.user_tab_current = CCINFO; } else if (value == 60) { document.querySelector('#menu0').className = "tab-pane fade"; document.querySelector('#menu1').className = "tab-pane fade"; document.querySelector('#menu2').className = "tab-pane fade"; document.querySelector('#menu3').className = "tab-pane fade"; document.querySelector('#menu4').className = "tab-pane fade"; document.querySelector('#menu5').className = "tab-pane active"; document.querySelector('#tab_menu0').className = "nav-link"; document.querySelector('#tab_menu1').className = "nav-link"; document.querySelector('#tab_menu2').className = "nav-link"; document.querySelector('#tab_menu3').className = "nav-link "; document.querySelector('#tab_menu4').className = "nav-link "; document.querySelector('#tab_menu5').className = "nav-link active"; // $scope.user_tab_current = 6; } } /** * Requisita as medidas referentes a Basic Info */ $scope.requestBasicInfo = function(){ TSModel.requestBasicInfo().then(function(response){ if(response.data[0] == 1){ $scope.responseBasicInfo(1); } }); } /** * Aguarda a Resposta das medidas referentes a Basic Info */ $scope.responseBasicInfo = function(value){ TSModel.responseBasicInfo().then(function(response){ if(response.data[0] != 0){ $scope.loading = false; $scope.basic_info = response.data; } }); } /** * Requisita as medidas referentes a PID Info */ $scope.requestPidInfo = function(){ if($scope.user_tab_current == PID_INFO){ TSModel.requestPidInfo().then(function(response){ if(response.data[0] == 1){ $scope.responsePidInfo(1); } }); } } /** * Aguarda a Resposta das medidas referentes a PID Info */ $scope.responsePidInfo = function(value){ TSModel.responsePidInfo().then(function(response){ if($scope.user_tab_current == PID_INFO){ if(response.data[0] != 0){ $scope.pid_info = response.data; } } }); } /** * Requisita as medidas referentes a Tables */ $scope.requestTables = function(){ TSModel.requestTables().then(function(response){ if($scope.user_tab_current == TABLES){ if(response.data[0] == 1){ $scope.responsetTables(1); }else{ if($scope.tables_ok == 1){ $scope.requestTables(); } } } }); } /** * Aguarda a Resposta das medidas referentes a Tables */ $scope.responsetTables = function(value){ TSModel.responsetTables().then(function(response){ if($scope.user_tab_current == TABLES){ if(response.data[0] != 0){ $scope.tables = response.data[0]; $scope.tables_ok = 1; }else{ $scope.tables_ok = 0; if(value < 10){ $scope.responsetTables(++value); } } } }); } /** * Requisita as medidas referentes a ISDB-t Param */ $scope.requestIsdbParam = function(){ TSModel.requestIsdbParam().then(function(response){ if($scope.user_tab_current == ISDB_T_PARAM){ if(response.data[0] == 1){ $scope.responseIsdbParam(1); }else{ $scope.requestIsdbParam(); } } }); } /** * Aguarda a Resposta das medidas referentes a ISDB-t Param */ $scope.responseIsdbParam = function(){ TSModel.responseIsdbParam().then(function(response){ if($scope.user_tab_current == ISDB_T_PARAM){ if(response.data[0] != 0){ $scope.isdb_param = response.data[0]; }else{ if(value < 10){ $scope.responseIsdbParam(++value); } } } }); } /** * Requisita as medidas referentes a Services */ $scope.requestServices = function(){ TSModel.requestServices().then(function(response){ if($scope.user_tab_current == SERVICES){ if(response.data[0] == 1){ $scope.responseServices(1); }else{ $scope.requestServices(); } } }); } /** * Aguarda a Resposta das medidas referentes a Services */ $scope.responseServices = function(){ TSModel.responseServices().then(function(response){ if($scope.user_tab_current == SERVICES){ if(response.data[0] != 0){ $scope.services = response.data[0]; }else{ $scope.responseServices(); } } }); } /** * Requisita as medidas referentes a CCInfo */ $scope.requestCCInfo = function(){ TSModel.requestCCInfo().then(function(response){ if($scope.user_tab_current == CCINFO){ if(response.data[0] == 1){ $scope.responseCCInfo(1); }else{ $scope.requestCCInfo(); } } }); } /** * Aguarda a Resposta das medidas referentes a CCInfo */ $scope.responseCCInfo = function(value = 0){ TSModel.responseCCInfo().then(function(response){ if($scope.user_tab_current == CCINFO){ if(response.data[0] != 0){ $scope.ccinfo = response.data[0]; }else{ if(value < 10){ $scope.responseCCInfo(value++); } } } }); } function getValues(){ $scope.requestBasicInfo(); if($scope.user_tab_current === PID_INFO){ console.log("Teste PID_INFO");// $scope.requestPidInfo(); }else if($scope.user_tab_current === TABLES){ console.log("Teste TABLES"); }else if($scope.user_tab_current === ISDB_T_PARAM){ console.log("Teste ISDB_T_PARAM"); }else if($scope.user_tab_current === SERVICES){ console.log("Teste SERVICES"); }else if($scope.user_tab_current === CCINFO){ console.log("Teste CCINFO"); } }; requestValues = function(){ getValues(); } $scope.updateTab(10); requestValues(); }]); Obs estou usando AngularJS 1.3.14
  6. Queria saber o que representa esse erro. JWT strings must contain exactly 2 period characters. Found: 0 meu Controller que esta recebendo a requisição. @CrossOrigin @PostMapping(path = "auth/login") public ResponseEntity login(@RequestBody UserEntity loginRequest) { Authentication auth = SecurityContextHolder.getContext().getAuthentication(); return new ResponseEntity<>(auth, HttpStatus.OK); } e se pudessem como faço o login sendo que meu cliente e um app em react.
  7. Boa Tarde a todos. estou com um problema que estou montando select option usando valores que busco no banco de dados, porém esta aparecendo uma linha vazia no meu Combo. <div ng-if="info.values.handle == handles.COMBO"> <select class="form-control" name="combo" ng-model="vmodel[info.offset].value" required notify-me="changeCallback" offset="{{::info.offset}}" ng-disabled="{{::readonly}}" > <!-- ng-change="updateParameter(info.offset, selValue)" --> <option ng-repeat=" (valor,v) in comboOptions[info.values.combo_box-1].description_en.split('|')" value="{{::valor}}" ng-selected="vmodel[info.offset].value = valor"> {{::v}} </option> </select> <div ng-messages="subform.combo.$error" class="help-block has-error error-msg" ng-if="!readonly" role="alert"> <div ng-message="required">Required </div> </div> </div>
  8. Boa tarde, estou usando angularJS, Usando a diretiva ng-click chamando uma função para persistir em memoria toda vez que altero o valor. porém toda vez que altero o valor e enviado multiplas vezes ao servidor. <div class="col-xs-12"> <div id="calibration" ng-show="hide" class="col-xl-12"> <div class="row justify-content-md-center"> <div class="col-xl-3 col-md-4"> <label>Cal Point</label> <select id="calpoint" class="form-control" offset="" ng-model="data[1].value" ng-click="this.disabled; this.value = 'saving' ;calChange(0)"> <option value="0">P6-1</option> <option value="1">P6-2</option> <option value="2">P5-1</option> <option value="3">P5-2</option> <option value="4">P4-1</option> <option value="5">P4-2</option> <option value="6">P3-1</option> <option value="7">P3-2</option> <option value="8">P2-1</option> <option value="9">P2-2</option> <option value="10">P1-1</option> <option value="11">P1-2</option> <option value="12">P0-1</option> </select> </div> <div class="col-xl-3 col-md-4"> <label>Cal Offset</label> <input id="caloffset" offset="" type="number" ng-model="data[2].value" value="0" step="0.01" ng-disabled="showCalOffset" class=" form-control rounded" ng-click="calChange(1)"> </div> <div class="col-xl-3 col-md-4"> <label>Scale</label> <input id="scaleoffset" offset="" type="number" ng-model="data[3].value" min="100" ng-disabled="showScaleActive" max="1000" value="0" class=" form-control rounded" ng-click="calChange(2)"> </div> <div class="col-xl-3 col-md-4"> <label>Algorithm</label> <select id="algorithm" offset="" ng-model="data[4].value" class="form-control" ng-click="calChange(3)"> <option value="0">Memory</option> <option value="1">Memory Less</option> </select> </div> <div class="col-xl-4 col-md-4"> <label></label> <button id="rundpd" type="button" class="form-control btn btn-primary" ng-disabled="showCalOffset" ng-click="runDpd()">Run DPD</button> </div> <div class="col-xl-4 col-md-4"> <label></label> <button id="savepoint" type="button" class="form-control btn btn-info" ng-disabled="showScaleActive" ng-click="apply()">Save Point</button> </div> </div> </div> $scope.calChange = function(){ document.getElementById('calibration') .addEventListener('change',function(e){ e.preventDefault(); if(e.target.id == 'calpoint'){ $scope.calPoint = parseInt(e.target.value); var data = [{"offset": $scope.data[1].offset, "value": "0" +$scope.calPoint.toString(16), "convertType": 0 }]; CalModel.setCalPoint(data[0]).then(function(response){ console.log(response.data); }); }else if(e.target.id == 'caloffset'){ $scope.calOffset = parseFloat(e.target.value); $scope.calOffset = $scope.calOffset * 1000; var data = [{"offset": $scope.data[2].offset, "value":"0" + $scope.calOffset.toString(16), "convertType": 0 }]; CalModel.setCalOffset(data[0]).then(function(response){ console.log(response.data); }); }else if(e.target.id == 'scaleoffset'){ $scope.Scale = parseInt(e.target.value); var data = [{"offset": $scope.data[3].offset, "value":"0" + $scope.Scale.toString(16), "convertType": 0 }]; CalModel.setScale(data[0]).then(function(response){ console.log(response.data); }); }else if(e.target.id =='algorithm'){ $scope.algorithm = parseInt(e.target.value); var data = [{"offset": $scope.data[4].offset, "value": "0" +$scope.algorithm.toString(16), "convertType": 0 }]; CalModel.setAlgorithm(data[0]).then(function(response){ console.log(response.data); }); } }); }
  9. Bom dia Pessoal, Pessoal estou com um problema na minha view HTML, quando clico para alternar entre as tabs não mudam a tab não mostra qual tab esta ativa e não da pra saber de qual tab é o conteudo exibido, mais altera o conteudo exibido. <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="description" content=""> <meta name="author" content=""> <!-- <style> * { font-size: 15px; } #apply { background: #5cb85c; width: 160px; padding: 11px; line-height: 1.4em; } a { position: relative; text-align: center; display: block; text-decoration: none; } a:link, a:visited, a:active { text-decoration: none; color: #000; } #rundpd a:hover { text-decoration: none; color: #000; } #apply a:hover { text-decoration: none; color: #000; } </style> --> <title>Template Calibração</title> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script> <!-- <link rel="canonical" href="https://getbootstrap.com/docs/4.0/examples/offcanvas/"> --> <!-- Bootstrap core CSS --> <link href="https://getbootstrap.com/docs/4.0/dist/css/bootstrap.min.css" rel="stylesheet"> <!-- Custom styles for this template --> <link href="https://getbootstrap.com/docs/4.0/examples/offcanvas/offcanvas.css" rel="stylesheet"> </head> <body class="bg-light"> <main class="container"> <div id="calibration" class="p-3 bg-white rounded box-shadow col-xl-12"> <h6 class=" border-gray ">Power Sensor Calibration</h6> <hr> <div class="row justify-content-md-center"> <div class="col-xl-3 col-md-4"> <label>Cal Point</label> <select id="calpoint" class="form-control" onchange="calChange(0)"> <option value="0">P6-1</option> <option value="1">P6-2</option> <option value="2">P5-1</option> <option value="3">P5-2</option> <option value="4">P4-1</option> <option value="5">P4-2</option> <option value="6">P3-1</option> <option value="7">P3-2</option> <option value="8">P2-1</option> <option value="9">P2-2</option> <option value="10">P1-1</option> <option value="11">P1-2</option> <option value="12">P0-1</option> </select> </div> <div class="col-xl-3 col-md-4"> <label>Cal Offset</label> <input id="caloffset" type="number" value="0" step="0.01" class=" form-control rounded" onchange="calChange(1)"> </div> <div class="col-xl-3 col-md-4"> <label>Scale Offset</label> <input id="scaleoffset" type="number" value="0" step="0.01" class=" form-control rounded" onchange="calChange(2)"> </div> <div class="col-xl-3 col-md-4"> <label>Algorithm</label> <select id="algorithm" class="form-control"> <option>Memory</option> <option>Memory Less</option> </select> </div> <div class="col-xl-4 col-md-4"> <label></label> <button id="rundpd" type="button" class="form-control btn btn-secondary">Run DPD</button> </div> <div class="col-xl-4 col-md-4"> <label></label> <button id="savepoint" type="button" class="form-control btn btn-info" onclick="apply()">Save Point</button> </div> </div> </div> </main> <div class="container"> <br> <ul class="nav nav-tabs" role="tablist"> <li class="nav-item"><a class="nav-link active" data-toggle="tab" href="#home">Transmitter Information</a></li> <li class="nav-item"><a class="nav-link" data-toggle="tab" href="#menu1">Calibration Report</a></li> </ul> <div class="tab-content"> <div id="home" class="tab-pane active"> <div id="transmitter_information" class="p-3 bg-white rounded box-shadow"> <table class="table table-bordered"> <tbody> <tr> <th scope="col">Model</th> <td id="model" scope="row">EC720LP</td> <th scope="col">Average Temperature [°C]</th> <td id="avg_temp" scope="row">55</td> </tr> <tr> <th scope="col">Channel</th> <td id="channel" scope="row">20</td> <th scope="col">Valc [V]</th> <td id="valc" scope="row">4.32</td> </tr> <tr> <th scope="col">Max. Power [W]</th> <td id="max_power_watt" scope="row">100</td> <th scope="col">FWD Vsens [V]</th> <td id="fwd_Vsens" scope="row">3.98</td> </tr> <tr> <th scope="col">Max. Power [dBm]</th> <td id="max_power_dbm" scope="row">50</td> <th scope="col">FWD Power [W] [dBm]</th> <td id="fwd_power_watt_dbm" scope="row"> ----/----</td> </tr> <tr> <th scope="col">Oper. Power [W]</th> <td id="oper_power_watt" scope="row">80</td> <th scope="col">RFL Vsens [V]</th> <td id="rfl_vsens" scope="row">0.05</td> </tr> <tr> <th scope="col">Oper. Power [dBm]</th> <td id="oper_power_dbm" scope="row">49.03</td> <th scope="col">RFL Power [W] [dBm]</th> <td id="rfl_power_watt_dbm" scope="row">----/----</td> </tr> <tr> <th scope="col">Pwr Adj Ofs(CH) [dB]</th> <td id="pwr_adj_ofs" scope="row">0.92</td> <th scope="col">DPD LUT/Scale</th> <td id="dpd_lut_scale" scope="row">----/----</td> </tr> </tbody> </table> </div> </div> <div id="menu1" class="tab-pane"> <div class="p-3 bg-white rounded box-shadow"> <table class="table table-bordered"> <thead> <th scope="col">Point</th> <th scope="col">Power ref. [dBm]</th> <th scope="col">Power ref. [W]</th> <th scope="col">Valc [V]</th> <th scope="col">Vsens [V]</th> <th scope="col">Id [A]</th> <th scope="col">DPD</th> <th scope="col">Scale</th> <th scope="col">Pofs [dB]</th> <th scope="col">Temp.</th> <th scope="col">Date</th> <th scope="col">Time</th> </thead> <tbody> <tr> <td scope="row">P6-1</th> <td scope="row">50</td> <td scope="row">100</th> <td scope="row">4.36</td> <td scope="row">3.98</td> <td scope="row">8.36</td> <td scope="row">P-6</td> <td scope="row">612</td> <td scope="row">0.15</td> <td scope="row">54.5</td> <td scope="row">19/09/2019</td> <td scope="row">10:00</td> </tr> <tr> <td scope="row">P6-2</th> <td scope="row">50</td> <td scope="row">100</th> <td scope="row">4.36</td> <td scope="row">3.98</td> <td scope="row">8.36</td> <td scope="row">P-6</td> <td scope="row">612</td> <td scope="row">0.15</td> <td scope="row">54.5</td> <td scope="row">19/09/2019</td> <td scope="row">10:00</td> </tr> <tr> <td scope="row">P5-1</th> <td scope="row">50</td> <td scope="row">100</th> <td scope="row">4.36</td> <td scope="row">3.98</td> <td scope="row">8.36</td> <td scope="row">P-6</td> <td scope="row">612</td> <td scope="row">0.15</td> <td scope="row">54.5</td> <td scope="row">19/09/2019</td> <td scope="row">10:00</td> </tr> <tr> <td scope="row">P5-2</th> <td scope="row">50</td> <td scope="row">100</th> <td scope="row">4.36</td> <td scope="row">3.98</td> <td scope="row">8.36</td> <td scope="row">P-6</td> <td scope="row">612</td> <td scope="row">0.15</td> <td scope="row">54.5</td> <td scope="row">19/09/2019</td> <td scope="row">10:00</td> </tr> <tr> <td scope="row">P4-1</th> <td scope="row">50</td> <td scope="row">100</th> <td scope="row">4.36</td> <td scope="row">3.98</td> <td scope="row">8.36</td> <td scope="row">P-6</td> <td scope="row">612</td> <td scope="row">0.15</td> <td scope="row">54.5</td> <td scope="row">19/09/2019</td> <td scope="row">10:00</td> </tr> <tr> <td scope="row">P4-2</th> <td scope="row">50</td> <td scope="row">100</th> <td scope="row">4.36</td> <td scope="row">3.98</td> <td scope="row">8.36</td> <td scope="row">P-6</td> <td scope="row">612</td> <td scope="row">0.15</td> <td scope="row">54.5</td> <td scope="row">19/09/2019</td> <td scope="row">10:00</td> </tr> </tbody> </table> </div> </div> </div> </div> <!-- Placed at the end of the document so the pages load faster --> <script src="assets/js/script.js"></script> <!-- <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" --> <!-- integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"> --> <!-- </script> --> <!-- <script src="https://getbootstrap.com/docs/4.0/assets/js/vendor/popper.min.js"></script> --> <!-- <script src="https://getbootstrap.com/docs/4.0/examples/offcanvas/"></script> --> <!-- <script src="https://getbootstrap.com/docs/4.0/examples/offcanvas/offcanvas.js"></script> --> </body> </html>
  10. Olá Preciso fazer uma checagem se o usuario tem o ano de nascimento superior a 1930, data_nasc date not null check (data_nasc in (extract(year from data_nasc) > '1930')) esse é o erro psql:script_ddl_economundi.sql:18: ERROR: operator does not exist: date = boolean HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
  11. Preciso Saber qual ou quais diferenças entre SNMP v1 e SNMP v2 e se são compatíveis.
  12. @makotsunami @DiF @navegantenarede fiz o seguinte. <input id="write-button" type="button" value="Date/Time Config." /> <script> $(document).ready(function(){ $("#write-button").click(function(){ $("#setDateTimeConfig").toggle(); }); }); </script> Com o pouco recurso que tinha disponível consegui fazer usando JQuery, eu já usava no código VueJS para criar um servidor de páginas e vi que ja tenho o JQuery no código para usar o NotifyJS então Simplesmente adicionei o código e funcionou. Agradeço o tempo de cada um de vcs em me ajudar muito Obrigado.
  13. @navegantenarede vou realizar teste com seu exemplo e venho dar meu feedback. Obrigado
  14. @DiF olha deu certo em partes, porém quando eu dou apply, na segunda vez que abro ja não mostra meu formulário. a area que antes era ocupada pelo meu form fica vazio.

Sobre o Clube do Hardware

No ar desde 1996, o Clube do Hardware é uma das maiores, mais antigas e mais respeitadas comunidades sobre tecnologia do Brasil. Leia mais

Direitos autorais

Não permitimos a cópia ou reprodução do conteúdo do nosso site, fórum, newsletters e redes sociais, mesmo citando-se a fonte. Leia mais

×
×
  • Criar novo...