You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

81 lines
4.4 KiB

<!--pages/school/projectList/index.wxml-->
<wxs src="/pages/common/tools.wxs" module="tools"></wxs>
<view class="out">
<l-segment bind:linchange="segmentChange" active-key="{{argsStepCode}}">
<l-segment-item tab="项目申报" key="01" data-cell="01" />
<l-segment-item tab="招标采购" key="02" data-cell="02" />
<l-segment-item tab="实施验收" key="03" data-cell="03" />
<l-segment-item tab="项目拨付" key="04" data-cell="04" />
</l-segment>
<view class="search">
<l-search-bar shape="circle" bg-color="#f7f7f7" placeholder="请输入项目名称" bind:lincancel="onCancel" show-cancel="{{false}}" style="width: 100%;" bind:linconfirm="searchKeyWord" bind:linchange="searchInput" bind:linclear="searchClear" />
<l-icon name="shaixuan" l-class="iconfont" size="40" style="padding-right: 20rpx;" bindtap="onShowPopupTap" />
</view>
<view class="filterFlag" wx:if="{{ filterFlagShow }}">
<view>筛选条件:{{filterCondition}}</view>
<l-icon name="close" size="20" mut-bind:tap="closeFilterFlag" />
</view>
<view wx:if="{{stepList.length==0}}" style="text-align: center;">暂无记录!</view>
<view>
<scroll-view scroll-y="true" style="height: 640px;" bindscrolltolower="lower">
<view class="list" wx:for="{{stepList}}" wx:key="index" bindtap="onListTap" data-progressid="{{item.progress_id}}" data-stepcode="{{item.step_code}}">
<view class="one">
<view class="oneLeft">
<view class="line"></view>
<view class="projectTitle">{{item.subject_name.length>20?tools.subStr(item.subject_name,0,20)+'...':item.subject_name}}</view>
</view>
<view class="projectYear">{{item.year}}年</view>
</view>
<view class="two">
<view class="tabLeft">
<view class="dot"></view>
<view class="projectType">{{item.subject_type_name}}</view>
</view>
</view>
<view class="three">
<view class="tabLeft">
<view class="dot"></view>
<view class="projectOrg">{{item.action_bureau}}</view>
</view>
<view class="tabRight">
<!-- <view class="projectStatus refuse" wx:if="{{item.status_name!=''}}">{{item.status_name}}</view> -->
<view class="projectStatus pass" wx:if="{{item.check_status==1 && item.status_name!=''}}">{{item.status_name}}</view>
<view class="projectStatus back" wx:elif="{{item.check_status==2 && item.status_name!=''}}">{{item.status_name}}</view>
<view class="projectStatus refuse" wx:elif="{{item.check_status==3 && item.status_name!=''}}">{{item.status_name}}</view>
<view class="projectStatus wait" wx:elif="{{item.check_status==0 && item.status_name!=''}}">{{item.status_name}}</view>
</view>
</view>
</view>
</scroll-view>
</view>
</view>
<l-arc-popup show="{{arc_show}}" max-height="600" min-height="600" locked="{{true}}">
<view slot="header" class="arc-header">
<l-icon name="down" size="30" color="#ccc" bindtap="onHidePopupTap"></l-icon>
<text>筛选</text>
<view bindtap="filterOK">确定</view>
</view>
<view class="arc-body">
<view class="arc-projectType">
<view class="arc-projectType-title">项目类型</view>
<view class="arc-projectType-content">
<l-tag l-class="arc-projectType-content-items" catch:lintap="doNothing" plain="{{!item.active}}" catchtap="ontaglintapType" wx:for="{{typeList}}" wx:key="index" data-type="type" data-index="{{index}}">{{item.name}}</l-tag>
</view>
</view>
<view class="arc-projectType">
<view class="arc-projectType-title">申请年份</view>
<view class="arc-projectType-content">
<l-tag l-class="arc-projectType-content-items" catch:lintap="doNothing" plain="{{!item.active}}" catchtap="ontaglintapYear" wx:for="{{yearList}}" wx:key="index" data-type="type" data-index="{{index}}">{{item.name}}</l-tag>
</view>
</view>
</view>
</l-arc-popup>