| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171 |
- <page>
- <view class="body-content">
- <view class="info_list_box">
- <scroll-view class="info_list" scroll-y scroll-with-animation>
- <!-- RTU编码设置 -->
- <view class="weui-panel weui-panel_access">
- <view class="weui-panel__hd">RTU编码</view>
- <view class="weui-panel__bd">
- <view class="weui-media-box__bd weui-media-box__bd_in-appmsg">
- <view class="myinput ip-group">
- <input type='text' value='{{rtuInfo.rtu_code}}' bindinput="bindNewRtuCodeInput"></input>
- </view>
- </view>
- </view>
- </view>
- <!-- 网络模式 -->
- <view class="weui-panel weui-panel_access">
- <view class="weui-panel__hd">网络模式</view>
- <view class="weui-panel__bd">
- <view class="weui-media-box__bd weui-media-box__bd_in-appmsg">
- <view>
- <radio-group bindchange="netModelsCheckedChange">
- <label class="check-label-title" wx:for="{{netModels}}" wx:key="value">
- <radio value="{{item.value}}" checked="{{item.checked}}" />{{item.name}}
- </label>
- </radio-group>
- </view>
- </view>
- </view>
- </view>
- <!-- IP地址设置 -->
- <view class="weui-panel weui-panel_access">
- <view class="weui-panel__hd">IP地址</view>
- <view class="weui-panel__bd">
- <!-- 第1路IP设置 -->
- <view class="weui-media-box__bd weui-media-box__bd_in-appmsg">
- <view class="input-title">
- 第1路IP:
- </view>
- <view>
- <radio-group bindchange="ip1CheckedChange">
- <label class="check-label-title" wx:for="{{ip1Checkbox}}" wx:key="value">
- <radio value="{{item.value}}" checked="{{item.checked}}" />{{item.name}}
- </label>
- </radio-group>
- </view>
- <view class="weui-media-box__desc">
- <view class="myinput ip-group" style="margin-top:10rpx">
- <input type='text' bindinput='bindIp1Input' value='{{rtuInfo.ip1}}'></input>
- </view>
- <view class="port ip-group" style="margin-top:10rpx">
- <input type='text' bindinput='bindIp1portInput' value='{{rtuInfo.ip1_port}}'></input>
- </view>
- </view>
- </view>
- <!-- 第2路IP设置 -->
- <view class="weui-media-box__bd weui-media-box__bd_in-appmsg">
- <view class="input-title">
- 第2路IP:
- </view>
- <view>
- <radio-group bindchange="ip2CheckedChange">
- <label class="check-label-title" wx:for="{{ip2Checkbox}}" wx:key="value">
- <radio value="{{item.value}}" checked="{{item.checked}}" />{{item.name}}
- </label>
- </radio-group>
- </view>
- <view class="weui-media-box__desc">
- <view class="myinput ip-group" style="margin-top:10rpx">
- <input type='text' bindinput='bindIp2Input' value='{{rtuInfo.ip2}}'></input>
- </view>
- <view class="port ip-group" style="margin-top:10rpx">
- <input type='text' bindinput='bindIp2portInput' value='{{rtuInfo.ip2_port}}'></input>
- </view>
- </view>
- </view>
- <!-- 第3路IP设置 -->
- <view class="weui-media-box__bd weui-media-box__bd_in-appmsg">
- <view class="input-title">
- 第3路IP:
- </view>
- <view>
- <radio-group bindchange="ip3CheckedChange">
- <label class="check-label-title" wx:for="{{ip3Checkbox}}" wx:key="value">
- <radio value="{{item.value}}" checked="{{item.checked}}" />{{item.name}}
- </label>
- </radio-group>
- </view>
- <view class="weui-media-box__desc">
- <view class="myinput ip-group" style="margin-top:10rpx">
- <input type='text' bindinput='bindIp3Input' value='{{rtuInfo.ip3}}'></input>
- </view>
- <view class="port ip-group" style="margin-top:10rpx">
- <input type='text' bindinput='bindIp3portInput' value='{{rtuInfo.ip3_port}}'></input>
- </view>
- </view>
- </view>
- <!-- 第4路IP设置 -->
- <view class="weui-media-box__bd weui-media-box__bd_in-appmsg">
- <view class="input-title">
- 第4路IP:
- </view>
- <view>
- <radio-group bindchange="ip4CheckedChange">
- <label class="check-label-title" wx:for="{{ip4Checkbox}}" wx:key="value">
- <radio value="{{item.value}}" checked="{{item.checked}}" />{{item.name}}
- </label>
- </radio-group>
- </view>
- <view class="weui-media-box__desc">
- <view class="myinput ip-group" style="margin-top:10rpx">
- <input type='text' bindinput='bindIp4Input' value='{{rtuInfo.ip4}}'></input>
- </view>
- <view class="port ip-group" style="margin-top:10rpx">
- <input type='text' bindinput='bindIp4portInput' value='{{rtuInfo.ip4_port}}'></input>
- </view>
- </view>
- </view>
- </view>
- </view>
- <!-- 工作模式设置 -->
- <view class="weui-panel weui-panel_access">
- <view class="weui-panel__hd">工作模式</view>
- <view class="weui-panel__bd">
- <view class="weui-media-box__bd weui-media-box__bd_in-appmsg">
- <view style="margin-left: 20rpx;margin-bottom: 10rpx;">
- <view class="section">
- <picker bindchange="bindWorkModelPickerChange" value="{{rtu_work_model_index}}" range="{{rtu_work_model_name}}">
- <view class="picker picker_name">
- {{rtu_work_model_name[rtu_work_model_index]}}
- </view>
- </picker>
- </view>
- </view>
- </view>
- </view>
- </view>
- <!-- 测站分类码设置 -->
- <view class="weui-panel weui-panel_access">
- <view class="weui-panel__hd">测站分类码</view>
- <view class="weui-panel__bd">
- <view class="weui-media-box__bd weui-media-box__bd_in-appmsg">
- <view style="margin-left: 20rpx;margin-bottom: 10rpx;">
- <view class="section">
- <picker bindchange="bindRtuKindPickerChange" value="{{rtu_kind_index}}" range="{{rtu_kind_name}}">
- <view class="picker picker_name">
- {{rtu_kind_name[rtu_kind_index]}}
- </view>
- </picker>
- </view>
- </view>
- </view>
- </view>
- </view>
- <!-- 提交 -->
- <view class="weui-panel weui-panel_access">
- <view class="weui-panel__bd">
- <view class="weui-media-box__bd weui-media-box__bd_in-appmsg">
- <view class="submit-btn">
- <button type="warn" bindtap="baseSettingBtn">提交</button>
- </view>
- </view>
- </view>
- </view>
- </scroll-view>
- </view>
- </view>
- <mp-dialog title="操作提示" show="{{showSettingResult}}" bindbuttontap="settingCompletTabEvent" buttons="{{[ {text: '确定'}]}}">
- <view>{{settingResultText}}</view>
- </mp-dialog>
- </page>
|