<!--packageH/signPage/staffManagement/staffManagement.wxml-->
<view class="staff-man">
  <!-- <scroll-view
      class="content"
      style="height: {{contentHeight}}"
      scroll-y="true"
      scroll-top="true"
      enable-back-to-top="true"
      enhanced="true"
      bindscrolltolower="getMoreData"
    > -->
  <view class="content">
    <view class="member-box" wx:for="{{recordsList}}" wx:key="{{person.id}}" wx:for-item="person">
        <view class="left">
          <view class="head"><text class="name">{{person.name}}</text>
          <text class="{{[person.role_id == 1?'yellow':'']}} tag">{{person.role_id == 1?"法定":"员工"}}</text>
          </view>
          <view class="mobile">{{person.has_one_member.mobile}}</view>
        </view>
        <view
          class="right"
          wx:if="{{person.role_id != 1}}"
          bindtap="delRow"
          data-roleId="{{person.id}}"
        >
          删除
        </view>
      </view>
      <view style="height: 112rpx;"></view>
    </view>
    <!-- </scroll-view> -->

    <view class="btn" id="btn">
      <view class="sure" bindtap="toAdd">添加员工</view>
    </view>

    <!--<view class="fixed-box" wx:if="{{showBox}}">-->
      <!--<navigator open-type="reLaunch" class="fixed-item" url="/packageG/index/index">-->
        <!--<icon class="iconfont icon-zhuye2 iicon" style="font-size: 28px;"></icon>-->
        <!--<text>首页</text>-->
      <!--</navigator>-->
      <!--<navigator open-type="reLaunch" class="fixed-item" url="/packageH/signPage/signIndex/signIndex">-->
        <!--<icon class="iconfont icon-yq_hetongzhongxin iicon" style="font-size: 26px;"></icon>-->
        <!--<text>合同中心</text>-->
      <!--</navigator>-->
      <!--<view class="triangle"></view>-->
    <!--</view>-->
    <!--<view class="fixed-img" bindtap="handleShowBox">-->
      <!--<image class="img" src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/sign/yht_exprot@2x.png"></image>-->
    <!--</view>-->
  </view>
