staff.wxml 1.3 KB

1234567891011121314151617181920
  1. <!-- 前台导入wxmlUtil.wxs -->
  2. <wxs src='/utils/wxmlUtil.wxs' module="wxmlUtil"></wxs>
  3. <!-- 加载图层 -->
  4. <loading wx:if="{{loading}}"></loading>
  5. <!-- 粘性布局的查询条件 -->
  6. <van-sticky scroll-top="0">
  7. <!-- 查询条件 -->
  8. <dk-dropdown-menu model:value="{{searchForm}}" menuList="{{searchContent}}" pullMenuList="{{pullMenuList}}" bind:search="searchData" searchTextPlaceholder="{{wxmlUtil.setSearchPlaceholder($t,['customerName','telephone'])}}">
  9. </dk-dropdown-menu>
  10. </van-sticky>
  11. <dk-tabs active="{{active}}" list="{{tagList}}" bind:onChange="onChangeTabs"> </dk-tabs>
  12. <!-- 暂无数据 -->
  13. <van-empty wx:if="{{tableData.length<=0}}" description="{{$t['nodata']}}" />
  14. <!-- 列表区 -->
  15. <dk-list list="{{tableData}}" title="staffName" status="hrStatusName" content="{{contentList}}" bind:toDetail="toDetail" bind:toPoint="toPoint" routeObjName="{{routeObjName}}" buttonList="{{buttonList}}" bind:open="open"></dk-list>
  16. <van-divider wx:if="{{noMore}}" contentPosition="center" borderColor="#DCDCDC">{{$t['noMore']}}</van-divider>
  17. <!--留白-->
  18. <view style="height: 200rpx;"></view>
  19. <!-- 新建按钮 -->
  20. <dk-save-button model:value="{{btnFormData}}" btnAutoWidthFlag="{{true}}" btnRightFlag="{{true}}" buttonList="{{buttonFootList}}" contentList="{{contentnFootList}}" bind:open="open"></dk-save-button>