yusuantaizhang.wxml
4.0 KB
<view class="box"><view class="topheadk"><view class="shaiselecttop"><view data-event-opts="{{[['tap',[['shai',['$event']]]]]}}" class="shaiselect" bindtap="__e">筛选</view></view><view class="head"><view class="headitem"><view class="headitemtop">在审项目数</view><view class="headitembot">{{end==''?'':end[0].ftrialcount}}</view></view><view class="headitem"><view class="headitemtop">审结项目数</view><view class="headitembot">{{end==''?'':end[0].fconcludecount}}</view></view><view class="headitem"><view class="headitemtop">总项目数</view><view class="headitembot">{{end==''?'':end[0].fcount}}</view></view></view></view><block wx:if="{{xiangmulist.length==0}}"><view class="nodata">暂无数据</view></block><block wx:else><view class="taizhang"><view class="taizhanghead"><view class="taizhangitem">项目编号</view><view class="taizhangitem">项目名称</view><view class="taizhangitem">操作</view></view><view class="taizhangbox"><block wx:for="{{xiangmulist}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="taiboxitem"><block wx:if="{{item.fnumber==null}}"><view class="taizhangleft">暂无</view></block><block wx:else><view class="taizhangleft">{{item.fnumber}}</view></block><block wx:if="{{item.fname==null}}"><view class="taizhangmiddle">暂无</view></block><block wx:else><view class="taizhangmiddle">{{item.fname}}</view></block><view class="taizhangright" data-item="{{item}}" data-cantype="{{type}}" data-event-opts="{{[['tap',[['taizhangdetail',['$event']]]]]}}" bindtap="__e">详情</view></view></block></view></view></block><block wx:if="{{tizhangshow}}"><view data-event-opts="{{[['tap',[['hide',['$event']]]]]}}" class="register" bindtap="__e"><view data-event-opts="{{[['tap',[['hidek',['$event']]]]]}}" class="taizhangwrap" catchtap="__e"><view class="wrapbox"><view class="wrapitem"><view class="wrapitemleft">项目类型</view><picker value="{{index}}" range="{{projectlist}}" range-key="fname" data-event-opts="{{[['change',[['bindPickerChange',['$event']]]]]}}" catchchange="__e"><view class="wrapitemright"><view class="uni-input projectname">{{projectname}}</view></view></picker></view><view class="wrapitem"><view class="wrapitemleft">主管部门</view><picker value="{{stationindex}}" range="{{stationlist}}" range-key="fname" data-event-opts="{{[['change',[['bindstationrChange',['$event']]]]]}}" catchchange="__e"><view class="wrapitemright"><view class="uni-input projectname">{{stationname}}</view></view></picker></view><view class="wrapitem"><view class="wrapitemleft">单位名称</view><picker value="{{danweiindex}}" range="{{danweilist}}" range-key="fname" data-event-opts="{{[['change',[['danweichange',['$event']]]]]}}" catchchange="__e"><view class="wrapitemright"><view class="uni-input projectname">{{danweiname}}</view></view></picker></view><view class="wrapitem"><view class="wrapitemleft">年度</view><picker value="{{yearindex}}" range="{{yeararr}}" data-event-opts="{{[['change',[['yearchange',['$event']]]]]}}" catchchange="__e"><view class="wrapitemright"><view class="nianduleft"><view class="uni-input projectname">{{yearname}}</view></view><view class="nianduright"><image src="../../static/img/number.png" mode></image></view></view></picker></view><view class="wrapitem"><view class="wrapitemleft">时间</view><view class="time"><picker mode="date" value="{{startdate}}" start="{{startDate}}" end="{{endDate}}" data-event-opts="{{[['change',[['bindDateChange',['$event']]]]]}}" catchchange="__e"><view class="timeleft">{{''+startdate+''}}</view></picker><view class="timemiddle"></view><picker mode="date" value="{{endate}}" start="{{startDate}}" end="{{endDate}}" data-event-opts="{{[['change',[['endDateChange',['$event']]]]]}}" catchchange="__e"><view class="timeleft">{{''+endate+''}}</view></picker></view></view></view><view class="zibot"><view data-event-opts="{{[['tap',[['reset',['$event']]]]]}}" class="reset" catchtap="__e">重置</view><view data-event-opts="{{[['tap',[['search',['$event']]]]]}}" class="chaxun" catchtap="__e">查询</view></view></view></view></block></view>