45 lines
1.5 KiB
XML
45 lines
1.5 KiB
XML
<view class="body">
|
|
<l-notice-bar
|
|
front-icon-name="notification"
|
|
show="{{true}}"
|
|
>
|
|
必须在系统中登记了手机号的用户才可通过这里搜索
|
|
</l-notice-bar>
|
|
<view class="search-bar">
|
|
<l-input
|
|
type="digit"
|
|
maxlength="11"
|
|
placeholder="输入完整手机号搜索"
|
|
hide-label="{{true}}"
|
|
value="{{mobileValue || ''}}"
|
|
clear="{{true}}"
|
|
bind:linclear="searchCancelMp"
|
|
bind:lininput="searchChangeMp"
|
|
/>
|
|
</view>
|
|
<block wx:if="{{mobileValueReady}}">
|
|
<block wx:if="{{userId}}">
|
|
<relation-on-user
|
|
style="display: flex;flex-direction: column; flex: 1; margin-top: 30rpx; ; margin-bottom: 30rpx"
|
|
oakId="{{userId}}"
|
|
mobile="{{mobileValue}}"
|
|
oakPath="{{oakFullpath + '.user'}}"
|
|
oakAutoUnmount="{{true}}"
|
|
entity="{{entity}}"
|
|
entityId="{{entityId}}"
|
|
relations="{{relations}}"
|
|
passwordRequired="{{passwordRequired}}"
|
|
isComponent="{{true}}"
|
|
/>
|
|
</block>
|
|
<block wx:else>
|
|
<l-status-show show="{{true}}" type="error" describe="查无此用户"></l-status-show>
|
|
</block>
|
|
</block>
|
|
|
|
<view style="flex: 1" />
|
|
|
|
<l-button loading="{{oakExecuting}}" disabled="{{!oakDirty || !mobileValueReady}}" size="long" bind:lintap="onConfirm">
|
|
{{t('common::action.confirm')}}
|
|
</l-button>
|
|
</view> |