<!-- 前台导入wxmlUtil.wxs -->
<wxs src='/utils/wxmlUtil.wxs' module="wxmlUtil"></wxs>
<loading wx:if="{{loading}}"></loading>
<van-sticky scroll-top="0">
  <!-- 查询条件 -->
  <dk-dropdown-menu model:value="{{searchForm}}" bind:search="searchData" searchTextPlaceholder="{{wxmlUtil.setSearchPlaceholder($t,['roleFunName'])}}">
  </dk-dropdown-menu>
  <view style="display: flex;background-color: white;padding:18rpx;padding-right: 40rpx;padding-left:40rpx;">
    <view style="width: 60%;display: flex;">
      <view style="width: 18%;">
        <van-image width="40rpx" height="40rpx" src="{{imageUrl + 'Vector.png'}}" />
      </view>
      <view class="font" style="width: 82%;">{{item.orgName}} {{item.staffName}}</view>
    </view>     
  </view>
</van-sticky>


<view class="main-good-class" style="height:{{windowHeight+'px'}}">

  <scroll-view scroll-y='{{true}}' bindscrolltolower='scrollToLower' lower-threshold='100' class="goods-class" style="height:calc({{windowHeight+'px'}} - 295rpx);overflow: scroll;">
    <van-cell-group style="display: flex;justify-content: flex-end;width: calc({{windowWidth+'px'}} - 40rpx);" custom-class="width-70">
      <view style="margin-left:28rpx ;margin-top:25rpx ;">
        <van-cell title="不限制">
          <van-switch size="18px" checked="{{ flgNolimit}}" bind:change="onChange" active-color="#1677FF" />
        </van-cell>
      </view>

      <dk-collapse-item list="{{tableData}}" bind:obtainList="obtainList"></dk-collapse-item>
    </van-cell-group>
  </scroll-view>

</view>

<van-sidebar activeKey="{{sideKey}}" bindchange="changeSidebar" custom-class="left-class">
  <view style="height:calc({{windowHeight+'px'}} - 360rpx );overflow: scroll;">
    <van-sidebar-item wx:key="index" custom-class="{{sideKey - 1 == index? 'sidebar-item-before': (sideKey + 1 == index?'sidebar-item-next':'sidebar-item')}}" title="{{item.name}}" data-id="{{item.id}}" wx:for="{{typeList}}" />
  </view>
</van-sidebar>

<view style="height: 200rpx;"></view> 
<dk-save-button model:value="{{btnFormData}}" btnAutoWidthFlag="{{true}}" btnRightFlag="{{true}}" buttonList="{{buttonFootList}}" contentList="{{contentnFootList}}" bind:open="save"></dk-save-button>