warnset.wxml 4.3 KB

1
  1. <view><view class="basesel"><view class="basesel_list"><view><view>预警名称</view><view><u-input bind:input="__e" vue-id="4cb960c4-1" value="{{title}}" data-event-opts="{{[['^input',[['__set_model',['','title','$event',[]]]]]]}}" bind:__l="__l"></u-input></view></view><view class="basesel_list_tilte">预警设备选择:</view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="basesel_list_sel" bindtap="__e"><view hidden="{{!(selbaselist=='')}}" class="basesel_list_sel_left">请选择预警</view><view hidden="{{!(selbaselist!='')}}" class="basesel_list_sel_left">{{''+selbaselist+''}}</view><u-icon class="icon" vue-id="4cb960c4-2" name="arrow-down" color="#999999" bind:__l="__l"></u-icon></view></view></view><view class="usersel"><view class="warmissue_itemone"><view class="warmissue_itemone_title">短信接受人:</view><view data-event-opts="{{[['tap',[['tobook',['$event']]]]]}}" style="color:#14A478;" bindtap="__e">预警通讯录编辑</view></view><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="warmissue_itemtwo" bindtap="__e"><view hidden="{{!(!$root.g0)}}" class="itemtwo_left">请选择短信接收人</view><view hidden="{{!($root.g1)}}" class="itemtwo_left"><block wx:for="{{userphone}}" wx:for-item="item" wx:for-index="__i0__" wx:key="*this"><view style="margin-right:20rpx;">{{''+item+''}}</view></block></view><u-icon class="icon" vue-id="4cb960c4-3" name="arrow-down" color="#999999" bind:__l="__l"></u-icon></view></view><block wx:for="{{tongdaolist}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="tongdao"><view class="tongdao_title"><view>{{''+item.key+''}}</view><view><u-switch bind:input="__e" style="margin-top:13rpx;" vue-id="{{'4cb960c4-4-'+index}}" size="40" value="{{item.type}}" data-event-opts="{{[['^input',[['__set_model',['$0','type','$event',[]],[[['tongdaolist','',index]]]]]]]}}" bind:__l="__l"></u-switch></view></view><view class="tongdao_item"><view>通道名称</view><view>{{''+item.name+''}}</view></view><view class="tongdao_item"><view>运算符</view><view data-event-opts="{{[['tap',[['e2',['$event']]]]]}}" data-event-params="{{({index})}}" class="target_text_item_sel" bindtap="__e"><view hidden="{{!(item.value=='')}}" class="itemtwo_left">请选择运算符</view><view hidden="{{!(item.value!='')}}" class="itemtwo_left">{{''+item.value+''}}</view><u-icon class="icon" vue-id="{{'4cb960c4-5-'+index}}" name="arrow-down" color="#999999" bind:__l="__l"></u-icon></view></view><view class="tongdao_item"><view>阈值</view><view style="display:flex;"><u-input vue-id="{{'4cb960c4-6-'+index}}" type="number" value="{{item.num[0]}}" data-event-opts="{{[['^blur',[['numyanzheng',[index]]]],['^input',[['__set_model',['$0',0,'$event',[]],[[['tongdaolist','',index,'num']]]]]]]}}" bind:blur="__e" bind:input="__e" bind:__l="__l"></u-input><view hidden="{{!(item.valuenum==2)}}" style="width:60rpx;text-align:center;">-</view><u-input data-custom-hidden="{{!(item.valuenum==2)}}" vue-id="{{'4cb960c4-7-'+index}}" type="number" value="{{item.num[1]}}" data-event-opts="{{[['^blur',[['numyanzheng',[index]]]],['^input',[['__set_model',['$0',1,'$event',[]],[[['tongdaolist','',index,'num']]]]]]]}}" bind:blur="__e" bind:input="__e" bind:__l="__l"></u-input></view></view></view></block><view data-event-opts="{{[['tap',[['send',['$event']]]]]}}" class="sendbox" bindtap="__e">保存预警设置</view><view><u-mask vue-id="4cb960c4-8" show="{{accServiceShowphone}}" z-index="998" bind:__l="__l"></u-mask><u-select vue-id="4cb960c4-9" list="{{baselist}}" value="{{baseshow}}" data-event-opts="{{[['^confirm',[['selconfirm']]],['^input',[['__set_model',['','baseshow','$event',[]]]]]]}}" bind:confirm="__e" bind:input="__e" bind:__l="__l"></u-select><u-select vue-id="4cb960c4-10" list="{{operationlist}}" value="{{operationshow}}" data-event-opts="{{[['^confirm',[['operationconfirm']]],['^input',[['__set_model',['','operationshow','$event',[]]]]]]}}" bind:confirm="__e" bind:input="__e" bind:__l="__l"></u-select><multiple-select vue-id="4cb960c4-11" value="{{accServiceShowphone}}" data="{{serviceListphone}}" default-selected="{{defaultSelectedphone}}" data-event-opts="{{[['^confirm',[['accServiceConfirmphone']]],['^input',[['__set_model',['','accServiceShowphone','$event',[]]]]]]}}" bind:confirm="__e" bind:input="__e" bind:__l="__l"></multiple-select></view></view>