<!--pages/welfareMall/staffManage/staffManage.wxml-->
<view class="staffManage" wx:for="{{storeStaffList}}" wx:key="index" data-storeno="{{item.storeNo}}">
  <view class="staffManage-store flex-row">
    <view class="store-name">{{item.storeName}}</view>
    <view class="store-refund flex-row" catchtap="toStaffAdd" data-storename="{{item.storeName}}" data-storeno="{{item.storeNo}}">
      <view class="lower-store-text">+ 新增店员</view>
    </view>
  </view>
  <view class="staffManage-staff flex-row" wx:for="{{item.hsayStoreStaffList}}" wx:key="index" wx:for-item="list" data-storeno="{{list.storeNo}}">
    <view class="staff-name over-ellipsis">{{list.staffName}}</view>
    <view class="staff-phone">{{list.mobile}}</view>
    <view class="staff-delete" catchtap="toDelete" data-id="{{list.id}}">删除员工</view>
  </view>
  <view class="bg-zindex" hidden="{{hidden}}">
    <view class="success_window flex-column">
      <view class="w_title">新增店员</view>
      <view class="w_textNo text-top"><view class="input-style">{{storeValue}}</view></view>
      <view class="w_text text-middle"><input bindinput="getName" type="text" placeholder="请输入店员名字" value="{{storeName}}" maxlength="10" placeholder-class="input-style" /></view>
      <view class="w_text text-lower"><input bindinput="getPhone" type="number" placeholder="请输入店员手机号码" value="{{storePhone}}" maxlength="11" placeholder-class="input-style"/></view>
      <view class="w_button flex-row">
        <view class="w_go_order toCancel flex-row" catchtap="cancel">
          <view class="text_style">取消</view>
        </view>
        <view class="w_go_order toDetermine flex-row" catchtap="confirm">
          <view class="text_style">提交</view>
        </view>
      </view>
    </view>
  </view>
</view>