org.wxml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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,['orgId'])}}">
  9. </dk-dropdown-menu>
  10. <view style="display: flex; padding: 4vw; background: white;">
  11. <view class="image-frame">
  12. <van-image round width="20rpx" height="24rpx" src="/static/img/Vector.png" />
  13. </view>
  14. <view>todo: 沈阳蒙娜丽莎红星美凯龙专营店</view>
  15. </view>
  16. </van-sticky>
  17. <!-- 暂无数据 -->
  18. <van-empty wx:if="{{tableData.length<=0}}" description="{{$t['nodata']}}" />
  19. <!-- 列表 -->
  20. <dk-tree-form treeList="{{tableData}}" idKey="orgId" nameKey="orgName" parentIdKey="parentId" itemListKey="children" id="treeSelect" bind:onclick="treeClick"></dk-tree-form>
  21. <van-divider wx:if="{{noMore}}" contentPosition="center" borderColor="#DCDCDC">{{$t['noMore']}}</van-divider>
  22. <view style="height: 135rpx;"></view>
  23. <!-- 底部按钮相关 -->
  24. <view class="bottom-class-org">
  25. <view style="padding:10rpx 34rpx 61rpx 43rpx; display: flex;">
  26. <view style="width: 50%;padding: 4vw;">
  27. <van-button round plain size="large" color="#1B365D" custom-style="height:88rpx;" bind:click="toAddStaff" type="info">
  28. {{$t['newStaff']}}
  29. </van-button>
  30. </view>
  31. <view style="width: 50%;padding: 4vw;">
  32. <van-button round size="large" color="#20365E" custom-style="height:88rpx;" bind:click="toadd" type="default">
  33. {{$t['newSubOrg']}}
  34. </van-button>
  35. </view>
  36. </view>
  37. </view>
  38. <!-- 新建 框 -->
  39. <dk-popup routeObjName="{{routeObjName}}" type="basic"
  40. priceCol="pricePromotion" subCol="desc"
  41. title="{{$t['newDepartment']}}" defaultFlagTitle="默认" value="{{form}}" show="{{showPop}}"
  42. contentObj="{{popContent}}" bind:commit="editItems" validFlag ="{{true}}">
  43. </dk-popup>