| | |
| | | <label for="sw-input">水位:</label> |
| | | <div style="display: flex;flex-direction: column;margin-left: 6px;"> |
| | | <input id="sw-input" class="sw-input" name="word" autocomplete="off" |
| | | maxlength="256" value="0" disabled /> |
| | | maxlength="10" value="0" disabled /> |
| | | <span class="tip">正数为水位上涨,负数为水位下降</span> |
| | | </div> |
| | | </div> |
| | |
| | | |
| | | //河段选择框改变事件 |
| | | this.hdSelect.change(function () { |
| | | console.log($(this).find("option:selected").text(),"------------------------") |
| | | $("#hd-input").val($(this).find("option:selected").text()); |
| | | var selected = JSON.parse($(this).val()) |
| | | self.currentHd = selected |