<!--pages/ispPeople/add.wxml-->
<view class="formArea noMargin">
	<view class="lineGroup">
		<view class="lineInner">
			<view class="label middle">员工姓名</view>
			<view class="content">
				<input bindinput="getName" value="{{name}}" class="input right" type="text" placeholder="请输入员工姓名" placeholder-class="placeholderStyle"></input>
			</view>
		</view>
	</view>
	<picker bindchange="setRoles" value="{{rolesIndex}}" range="{{showRoles}}" class="lineGroup">
		<view class="lineInner">
			<view class="label middle">角色</view>
			<view class="content">
				<view class="diyInput hasArrow">
					<view wx:if="{{rolesIndex!==''}}">{{showRoles[rolesIndex]}}</view>
					<view wx:if="{{rolesIndex===''}}" class="placeholderStyle">请选择</view>
				</view>
				<i class="iconfont icon-arrowr arrow"></i>
			</view>
		</view>
	</picker>
	<view class="lineGroup">
		<view class="lineInner">
			<view class="label middle">手机号码</view>
			<view class="content">
				<input bindinput="getMobile" value="{{mobile}}" class="input right" type="text" placeholder="请输入手机号码" placeholder-class="placeholderStyle"></input>
			</view>
		</view>
	</view>
</view>
<customer-bottom>
	<view class="btnGroup shadow">
		<button bindtap="submitData" class="btn">确定</button>
	</view>
</customer-bottom>