<view class="content"><view class="one"><uni-forms class="vue-ref" vue-id="cd8b5e72-1" rules="{{rules}}" modelValue="{{form}}" labelWidth="80px" data-ref="valiForm" bind:__l="__l" vue-slots="{{['default']}}"><uni-forms-item vue-id="{{('cd8b5e72-2')+','+('cd8b5e72-1')}}" label="用户名" required="{{true}}" name="name" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput bind:input="__e" vue-id="{{('cd8b5e72-3')+','+('cd8b5e72-2')}}" placeholder="请输入用户名(厂商可以填写工厂名称)" value="{{form.name}}" data-event-opts="{{[['^input',[['__set_model',['$0','name','$event',[]],['form']]]]]}}" bind:__l="__l"></uni-easyinput></uni-forms-item><uni-forms-item vue-id="{{('cd8b5e72-4')+','+('cd8b5e72-1')}}" label="性别" required="{{true}}" name="gender" bind:__l="__l" vue-slots="{{['default']}}"><uni-data-checkbox bind:input="__e" vue-id="{{('cd8b5e72-5')+','+('cd8b5e72-4')}}" localdata="{{genderList}}" value="{{form.gender}}" data-event-opts="{{[['^input',[['__set_model',['$0','gender','$event',[]],['form']]]]]}}" bind:__l="__l"></uni-data-checkbox></uni-forms-item><uni-forms-item vue-id="{{('cd8b5e72-6')+','+('cd8b5e72-1')}}" label="联系电话" required="{{true}}" name="tel" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput bind:input="__e" vue-id="{{('cd8b5e72-7')+','+('cd8b5e72-6')}}" placeholder="请输入联系电话" value="{{form.tel}}" data-event-opts="{{[['^input',[['__set_model',['$0','tel','$event',[]],['form']]]]]}}" bind:__l="__l"></uni-easyinput></uni-forms-item><uni-forms-item vue-id="{{('cd8b5e72-8')+','+('cd8b5e72-1')}}" label="密码" required="{{true}}" name="password" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput bind:input="__e" vue-id="{{('cd8b5e72-9')+','+('cd8b5e72-8')}}" type="password" placeholder="请输入密码" value="{{form.password}}" data-event-opts="{{[['^input',[['__set_model',['$0','password','$event',[]],['form']]]]]}}" bind:__l="__l"></uni-easyinput></uni-forms-item><uni-forms-item vue-id="{{('cd8b5e72-10')+','+('cd8b5e72-1')}}" label="角色" required="{{true}}" name="role" bind:__l="__l" vue-slots="{{['default']}}"><uni-data-select vue-id="{{('cd8b5e72-11')+','+('cd8b5e72-10')}}" localdata="{{roleList}}" value="{{form.role}}" data-event-opts="{{[['^change',[['rolechange']]],['^input',[['__set_model',['$0','role','$event',[]],['form']]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></uni-data-select></uni-forms-item><block wx:if="{{disabled}}"><uni-forms-item vue-id="{{('cd8b5e72-12')+','+('cd8b5e72-1')}}" label="所属街道" required="{{true}}" name="street" bind:__l="__l" vue-slots="{{['default']}}"><uni-data-select vue-id="{{('cd8b5e72-13')+','+('cd8b5e72-12')}}" localdata="{{streetList}}" value="{{form.street}}" data-event-opts="{{[['^change',[['streetchange']]],['^input',[['__set_model',['$0','street','$event',[]],['form']]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></uni-data-select></uni-forms-item></block><block wx:if="{{disabled}}"><uni-forms-item vue-id="{{('cd8b5e72-14')+','+('cd8b5e72-1')}}" label="所属社区" bind:__l="__l" vue-slots="{{['default']}}"><uni-data-select vue-id="{{('cd8b5e72-15')+','+('cd8b5e72-14')}}" localdata="{{commList}}" value="{{form.community}}" data-event-opts="{{[['^change',[['commchange']]],['^input',[['__set_model',['$0','community','$event',[]],['form']]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></uni-data-select></uni-forms-item></block></uni-forms><button class="button" type="primary" data-event-opts="{{[['tap',[['submit',['valiForm']]]]]}}" bindtap="__e">注册</button></view></view>