| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- <!-- <import src="../hot/stars.wxml" />
- <import src="../image/item-image.wxml" /> -->
- <template name="runSettingTemplate">
- <view style="height:100%;width:100%; ">
- <block wx:if="{{runSetting.agreement =='szy2012'}}">
- <view class="view-block">
- <scroll-view scroll-y="true" class="sv">
- <view>水位上报间隔:</view>
- <view class="myinput">
- <input type='text' auto-focus bindinput='waterLevelInputHandle' value='{{runSetting.szy_intervalTime_setting_01}}'></input>
- </view>
- <view>流量上报间隔:</view>
- <view class="myinput">
- <input type='text' bindinput='flowRateInputHandle' value='{{runSetting.szy_intervalTime_setting_02}}'></input>
- </view>
- <view>流速上报间隔:</view>
- <view class="myinput">
- <input type='text' bindinput='flowSpeedInputHandle' value='{{runSetting.szy_intervalTime_setting_03}}'></input>
- </view>
- </scroll-view>
- </view>
- </block>
- <block wx:else>
- <view class="view-block">
- <scroll-view scroll-y="true" class="sv">
- <view>上报间隔:</view>
- <view class="weui-cells weui-cells_after-title">
- <radio-group bindchange="radioChange">
- <label class="time-select" wx:for="{{runSetting.datagramTimes}}" wx:key="value">
- <view style="margin:5rpx;">
- <block wx:if="{{item.checked}}">
- <radio value="{{item.value}}" checked="true" />
- </block>
- <block wx:else>
- <radio value="{{item.value}}" />
- </block>
- </view>
- <view style="margin:5rpx;color:darkgray;">{{item.name}}</view>
- </label>
- </radio-group>
- </view>
- <view>加报时间间隔(分钟):</view>
- <view class="myinput">
- <input type='text' bindinput='addDatagramInputHandle' value='{{runSetting.addIntervalTime}}'></input>
- </view>
- <view>水位基值(米):</view>
- <view class="myinput">
- <input type='text' bindinput='waterBaseValueInputHandle' value='{{runSetting.waterLevelBase}}'></input>
- </view>
- <view>水位修正基值(米):</view>
- <view class="myinput">
- <input type='text' bindinput='waterCorrectValueInputHandle' value='{{runSetting.waterLevelCorrectValue}}'></input>
- </view>
- <view>水位以上加报阀值(米):</view>
- <view class="myinput">
- <input type='text' bindinput='upWaterLevelInputHandle' value='{{runSetting.addWaterUpValue}}'></input>
- </view>
- </scroll-view>
- </view>
- </block>
- <view class="submit-btn">
- <button type="primary" bindtap="submitRunsetting">提交</button>
- </view>
- </view>
- </template>
|