staff.wxml 1.3 KB

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