cyx-ament-wechat/miniprogram/pages/approvalWarning/approvalWarning.wxml

40 lines
1.5 KiB
Plaintext

<!--pages/approvalWarning/approvalWarning.wxml-->
<view class="query_list_wrap">
<view class="search_title">
<van-dropdown-menu active-color="#5199ff">
<van-dropdown-item
value="{{ searchForm.reviewed }}"
options="{{ reviewedOpt }}"
bind:change="handleSearchReviewed"
/>
</van-dropdown-menu>
</view>
<pullRefreshView
height="86vh"
bindonrefresh="onRefresh"
refreshing="{{isRefreshing}}"
bindloadmore="onLoadMore"
nomore="{{isFinish}}"
pullText="下拉刷新"
loadmoreText="加载中..."
>
<view
class="list_row"
wx:for="{{list}}"
wx:key="id"
wx:for-item="item"
>
<view class="list_row_right">
<view>提交人:{{item.head?item.head:'暂无'}}</view>
<view>提交时间:{{item.updateTime?item.updateTime:'暂无'}}</view>
<view>提交指标:{{item.target?item.target:'暂无'}}</view>
<view>审批人:{{item.reviewer?item.reviewer:'暂无'}}</view>
<view>审批状态:{{item.statusName}}</view>
</view>
<view style="width:100%;text-align:center;margin-top:20px">
<van-button data-item="{{item}}" custom-style="width:80%;" type="info" bindtap="handleSwitchItem">审批</van-button>
</view>
</view>
</pullRefreshView>
</view>