| New file |
| | |
| | | <%@page import="builder.Manager"%> |
| | | <% |
| | | |
| | | |
| | | Manager.sendtoPLC(76,20,4,new byte[]{0,1,0,1},0); |
| | | Manager.sendtoPLC(77,20,4,new byte[]{0,1,0,1},0); |
| | | |
| | | %> |
| | |
| | | <script src="../js/jquery-3.4.1.min.js"></script> |
| | | <script type="text/javascript" src="../static/bootstrap/3.3.7/js/bootstrap.min.js"></script> |
| | | <script src="../js/vue.min.js"></script> |
| | | <script src="../js/axios.min.js"></script> |
| | | <script src="../js/mixins.js"></script> |
| | | |
| | | <script> |
| | | Vue.prototype.$http= axios |
| | | let app = new Vue({ |
| | | el:'#app', |
| | | mixins:[mixin], |
| | |
| | | renwuguanli:function(){ |
| | | sql="{call AXJ_qiegeguanli_threelinetask_renwuguanli(?,?,?)}~"+JSON.stringify(this.subval); |
| | | console.log(sql); |
| | | this.connects("任务修改",sql,1,1) |
| | | |
| | | this.connects("任务修改",sql,1,1); |
| | | this.$http.post( '../mysqlInsert/toPlc.jsp' |
| | | ) |
| | | .then(function (response) { |
| | | console.log(response); |
| | | }) |
| | | .catch(function (error) { |
| | | alert('Error: ' + "服务器数据发生错误!"); |
| | | }); |
| | | }, |
| | | renwuguanliquxiao:function(){ |
| | | this.subval=''; |