| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- <!-- 前台导入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="filterData" searchTextPlaceholder="{{wxmlUtil.setSearchPlaceholder($t,['orgId'])}}">
- </dk-dropdown-menu>
- </van-sticky>
- <!-- 内容列表 -->
- <!-- <view style="width: 100%;">
- <view wx:if="{{item && item.orgName_socail}}" class="main-class">
- <view class="table-content table-content-row table-content-location ">
- <van-image src="{{imageUrl + 'location.png'}}" width="25rpx" height="25rpx" fit="heightFix" />
- {{item.orgName_socail}}
- </view>
- </view>
- <view wx:for="{{tableData}}" wx:for-item="item" wx:key="index" class="main-class">
- <view class="table-content">
- <view class="table-title-row" data-item="{{item}}" catchtap="chooseData">
- <view style="font-size: 16px;font-weight: 500;width: 100%;padding-left: 30rpx;">
- {{item.orgName}}
- </view>
- </view>
- <view class="table-content-row" wx:for="{{item.children}}" wx:for-item="cItem" data-item="{{cItem}}" bindtap="chooseData">
- <view style="display: flex; font-size: 14px;padding-left: {{(cItem.levelNo - 2) * 40 + 'rpx'}};">
- <van-image src="{{imageUrl + 'tree.png'}}" width="25rpx" height="25rpx" fit="heightFix" />
- <view style="padding-left: 20rpx;">{{cItem.orgName}}</view>
- </view>
- </view>
- </view>
- </view>
- </view> -->
- <!-- 列表 -->
- <dk-tree-form wx:if="{{show}}" bind:clickName="clickName" treeList="{{tableData}}" idKey="orgId" nameKey="orgName" parentIdKey="parentId" itemListKey="children" id="treeSelect" isLastClickFlag="{{true}}" ></dk-tree-form>
- <!-- 暂无数据 -->
- <van-empty wx:if="{{tableData.length<=0}}" description="{{$t['nodata']}}" />
- <!-- 列表
- <view wx:for="{{tableData}}" style="margin:10px;background:white;border-radius:15rpx;padding: 10px;">
- <view wx:for="{{item}}" wx:for-item="item_" wx:for-index="index_">
- <view style="width: 100vw; display:flex;align-items:center; font-size:36rpx;margin-top: 5px;" data-item="{{item_}}" bindtap="clickName">
- <view style="margin-left: 5vw;font-size: 14px;">
- {{item_.orgName}}
- </view>
- </view>
- </view>
- </view> -->
- <van-divider wx:if="{{noMore}}" contentPosition="center" borderColor="#DCDCDC">{{$t['noMore']}}</van-divider>
- <view style="height: 135rpx;"></view>
|