xiangmuzutaizhang.wxml
3.3 KB
<view class="box"><view class="head"><view class="headitem"><view class="headitemtop">在审项目数</view><view class="headitembot">{{end[0].ftrialcount}}</view></view><view class="headitem"><view class="headitemtop">审结项目数</view><view class="headitembot">{{end[0].fconcludecount}}</view></view><view class="headitem"><view class="headitemtop">总项目数</view><view class="headitembot">{{end[0].fcount}}</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-event-opts="{{[['tap',[['taizhangdetail',['$event']]]]]}}" bindtap="__e">详情</view></view></block></view></view></block><block wx:if="{{tizhangshow}}"><view class="register"><view class="taizhangwrap"><view class="wrapbox"><view class="wrapitem"><view class="wrapitemleft">项目类型</view><picker value="{{index}}" range="{{projectlist}}" range-key="fname" data-event-opts="{{[['change',[['bindPickerChange',['$event']]]]]}}" bindchange="__e"><view class="wrapitemright"><view class="uni-input projectname">{{projectname}}</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']]]]]}}" bindchange="__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']]]]]}}" bindchange="__e"><view class="wrapitemright"><view class="nianduleft"><view class="uni-input projectname">{{yeararr[yearindex]}}</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="{{date}}" start="{{startDate}}" end="{{endDate}}" data-event-opts="{{[['change',[['bindDateChange',['$event']]]]]}}" bindchange="__e"><view class="timeleft">{{''+startdate+''}}</view></picker><view class="timemiddle"></view><picker mode="date" value="{{date}}" start="{{startDate}}" end="{{endDate}}" data-event-opts="{{[['change',[['endDateChange',['$event']]]]]}}" bindchange="__e"><view class="timeleft">{{''+endate+''}}</view></picker></view></view></view><view class="zibot"><view data-event-opts="{{[['tap',[['reset',['$event']]]]]}}" class="reset" bindtap="__e">重置</view><view data-event-opts="{{[['tap',[['search',['$event']]]]]}}" class="chaxun" bindtap="__e">查询</view></view></view></view></block></view>