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.
1 lines
5.8 KiB
1 lines
5.8 KiB
<view class="order-page"><view class="tabs-box acea-row row-between"><view class="{{['tab '+(tabActive==1?'tab-a':'')]}}" data-i="1" data-event-opts="{{[['tap',[['tabClick',['$event']]]]]}}" bindtap="__e">沟通中</view><view class="{{['tab '+(tabActive==2?'tab-a':'')]}}" data-i="2" data-event-opts="{{[['tap',[['tabClick',['$event']]]]]}}" bindtap="__e">进行中</view><view class="{{['tab '+(tabActive==3?'tab-a':'')]}}" data-i="3" data-event-opts="{{[['tap',[['tabClick',['$event']]]]]}}" bindtap="__e">已结束</view></view><view class="list"><block wx:if="{{list.length==0}}"><view class="no-list"><image src="https://download.cyjyyjy.com/no-needs.png"></image><view>暂无订单</view><view data-event-opts="{{[['tap',[['toDemandHall',['$event']]]]]}}" class="to-btn" bindtap="__e">去需求广场</view></view></block><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{tabActive==1}}"><view class="item"><view class="needs-info-box"><view class="n-title-box acea-row row-between"><view>{{item.resourceInfo.name}}</view></view><view class="n-price">需求预算<text class="colO">{{item.resourceInfo.budget}}</text></view><view class="n-desc">{{item.resourceInfo.content}}</view></view><view class="concat-list-box"><block wx:for="{{item.partnerInfos}}" wx:for-item="info" wx:for-index="index2" wx:key="index2"><view class="info-item"><view class=" acea-row row-middle"><image src="{{info.logo}}"></image><view class="info2"><view class="projectinfo-box acea-row-nowrap row-between"><view class="acea-row row-middle line1"><view class="p-label">合作方:</view><view>{{info.name}}</view></view><block wx:if="{{info.comminuteState==1}}"><view class="status">已申请</view></block><block wx:if="{{info.comminuteState==2}}"><view class="status">等待立项</view></block><block wx:if="{{info.comminuteState==3}}"><view class="status">项目成立中</view></block><block wx:if="{{info.comminuteState==4}}"><view class="status">已取消立项</view></block></view></view></view><view class="btn-box acea-row row-between row-middle"><view class="start-time">{{info.createTime+"项目开启"}}</view><view class="btns acea-row"><block wx:if="{{info.comminuteState==1}}"><view class="btn-item" data-info="{{info}}" data-event-opts="{{[['tap',[['cancelCommunicate',['$event']]]]]}}" bindtap="__e">取消沟通</view></block><block wx:if="{{info.comminuteState==2||info.comminuteState==3}}"><view class="btn-item" data-item="{{info}}" data-event-opts="{{[['tap',[['toCreateProject',['$event']]]]]}}" bindtap="__e">查看立项书</view></block><block wx:if="{{info.comminuteState==2}}"><view class="btn-item" data-item="{{item}}" data-id="{{info.communicateId}}" data-event-opts="{{[['tap',[['confirm',['$event']]]]]}}" bindtap="__e">确认立项</view></block><block wx:if="{{info.comminuteState==2}}"><view class="btn-item default" data-item="{{item}}" data-id="{{info.communicateId}}" data-event-opts="{{[['tap',[['cancelProject',['$event']]]]]}}" bindtap="__e">取消立项</view></block></view></view></view></block></view></view></block></block><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{tabActive!=1}}"><view class="item"><view class="number acea-row row-between row-middle"><text>{{"项目编号 "+item.projectCode}}</text><block wx:if="{{item.projectState!=5}}"><view class="status">{{tabActive==1?'沟通中':tabActive==2?'进行中':'已结束'}}</view></block><block wx:else><view class="status">平台介入中</view></block></view><view class="info-box acea-row row-middle"><image src="{{item.projectResource.logo}}"></image><view class="info"><view class="i-title line1">{{item.resourcesDto.title||item.projectResource.name}}</view><view class="tag-item">{{item.cooperationMode}}</view><block wx:if="{{tabActive==1}}"><view class="i-desc">{{item.resourcesDto.detailedDescription}}</view></block><view class="projectinfo-box"><block wx:if="{{tabActive!=1}}"><view class="acea-row row-middle"><view class="p-label">项目名称:</view><view>{{item.projectName}}</view></view></block><block wx:if="{{tabActive!=1}}"><view class="acea-row row-middle line1"><view class="p-label">合作方:</view><view>{{item.partner}}</view></view></block></view></view></view><block wx:if="{{tabActive!=1}}"><view class="progress-box"><block wx:for="{{item.stageResultsDtoList}}" wx:for-item="progress" wx:for-index="index2" wx:key="index2"><view class="progress-item acea-row row-between row-middle"><view class="acea-row row-middle"><image src="/static/images/home/progress.png"></image><text>{{progress.name+" ¥"+progress.money}}</text></view><block wx:if="{{progress.state==0}}"><view class="progress-status">未开始</view></block><block wx:if="{{progress.state==1}}"><view class="progress-status">申请开启</view></block><block wx:if="{{progress.state==2}}"><view class="progress-status">进行中</view></block><block wx:if="{{progress.state==3}}"><view class="progress-status colorO">已结束</view></block></view></block></view></block><block wx:if="{{tabActive!=1}}"><view class="btn-box acea-row row-between row-bottom"><block wx:if="{{tabActive==2}}"><view class="start-time">{{item.examineTime+"项目开启"}}</view></block><block wx:if="{{tabActive==3}}"><view>项目已圆满结束</view></block><view class="btns acea-row"><block wx:if="{{tabActive==2&&item.nextStageFlag}}"><view class="btn-item" data-item="{{item}}" data-event-opts="{{[['tap',[['agreenOpen',['$event']]]]]}}" bindtap="__e">同意开启</view></block><block wx:if="{{tabActive==2&&item.deliveryFlag}}"><view class="btn-item" data-item="{{item}}" data-event-opts="{{[['tap',[['deliveryProject',['$event']]]]]}}" bindtap="__e">同意交付</view></block><block wx:if="{{tabActive==2}}"><view class="btn-item" data-item="{{item}}" data-event-opts="{{[['tap',[['toPlatform',['$event']]]]]}}" bindtap="__e">平台介入</view></block></view></view></block></view></block></block></view></view> |