Commit 7200205c0c87ec98b082c3dfcee60f8690eaa1cd
1 parent
8cb1abb5
1.站点信息->新增站点
Showing
2 changed files
with
4 additions
and
1 deletions
src/main/resources/static/pages/base/station/add.html
| @@ -29,6 +29,8 @@ | @@ -29,6 +29,8 @@ | ||
| 29 | <div class="portlet-body form"> | 29 | <div class="portlet-body form"> |
| 30 | <!-- START FORM 表单容器 --> | 30 | <!-- START FORM 表单容器 --> |
| 31 | <form class="form-horizontal" id="submit_station_form" action="/" method="POST" novalidate="novalidate"> | 31 | <form class="form-horizontal" id="submit_station_form" action="/" method="POST" novalidate="novalidate"> |
| 32 | + <input type="hidden" name="id"/> | ||
| 33 | + <input type="hidden" name="stationCode"/> | ||
| 32 | <div class="form-wizard"> | 34 | <div class="form-wizard"> |
| 33 | <div class="form-body"> | 35 | <div class="form-body"> |
| 34 | <ul class="nav nav-pills nav-justified steps"> | 36 | <ul class="nav nav-pills nav-justified steps"> |
src/main/resources/static/pages/base/station/js/add-form-reload.js
| @@ -19,7 +19,8 @@ | @@ -19,7 +19,8 @@ | ||
| 19 | FormWizard.init(); | 19 | FormWizard.init(); |
| 20 | // var mapB = StationPVmapWorlds.init(); | 20 | // var mapB = StationPVmapWorlds.init(); |
| 21 | PublicFunctions.getStationCode(function(stationCode) { | 21 | PublicFunctions.getStationCode(function(stationCode) { |
| 22 | - $('#stationCodInput').val(stationCode); | 22 | + $('input[name=id]').val(stationCode); |
| 23 | + $('input[name=stationCode]').val(stationCode); | ||
| 23 | }); | 24 | }); |
| 24 | $('.tipso-animation').tipso({ | 25 | $('.tipso-animation').tipso({ |
| 25 | speed : 100, | 26 | speed : 100, |