| | |
| | | <s:text name="Goto"/><!-- 转到 --><input type="text" id="page_num" value="1"/>
|
| | | <a href="javascript:" id="go"><s:text name="Jump"/><!-- 跳转 --></a>
|
| | | </span>
|
| | | <a href="javascript:startStationThread();" class="start-station-stical">启动续航统计</a>
|
| | | </div>
|
| | | </div>
|
| | | <!-- 表格选项内容 -->
|
| | |
| | | //console.info(ArrTd);
|
| | | eleform.submit();
|
| | | }
|
| | | |
| | | //启动机房续航线程
|
| | | function startStationThread(){
|
| | | load = layer.load(1);
|
| | | var temp = {
|
| | | thread_id:2019001,
|
| | | thread_en:1,
|
| | | };
|
| | | $.ajax({
|
| | | type:"post",
|
| | | url:"Thread_utilAction!update",
|
| | | async:true,
|
| | | datatype:'json',
|
| | | data:"json="+JSON.stringify(temp),
|
| | | success:function(data){
|
| | | layer.close(load);
|
| | | //console.info(data);
|
| | | var model = JSON.parse(data.result);
|
| | | if(model.code == 1){
|
| | | layer.msg("启动成功");
|
| | | }else{
|
| | | layer.msg("启动失败");
|
| | | }
|
| | | },error:function(){
|
| | | layer.msg("启动失败");
|
| | | }
|
| | | });
|
| | | }
|
| | | </script>
|
| | | </body>
|
| | | </html> |