crm_second_opening_mini/pages/index/dataList.wxml

1 line
9.3 KiB
Plaintext
Raw Normal View History

2023-03-13 01:13:08 +00:00
<view class="warp data-v-0d376304"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{type==1||type==2}}"><view class="sche_con_item data-v-0d376304"><view class="item_left data-v-0d376304"><view class="start-time data-v-0d376304"><image class="timeimg data-v-0d376304" src="{{BASE_IMG_URL+'start_time.png'}}" mode="scaleToFill"></image>{{':'+item.start_time+''}}</view><view class="content-time data-v-0d376304"><view class="title data-v-0d376304">{{item.title}}</view><view class="data-v-0d376304">{{"备注:"+item.remark}}</view><view class="data-v-0d376304">关联业务:</view><block wx:if="{{item.relation_type==3}}"><view data-event-opts="{{[['tap',[['toContractDetail',['$0'],[[['list','',index,'relation_id']]]]]]]}}" class="yewu data-v-0d376304" bindtap="__e"><image class="fileimg data-v-0d376304" src="{{BASE_IMG_URL+'file.png'}}" mode="scaleToFill"></image>合同</view></block><block wx:if="{{item.relation_type==1}}"><view data-event-opts="{{[['tap',[['toMore',['$0'],[[['list','',index,'relation_id']]]]]]]}}" class="yewu data-v-0d376304" bindtap="__e"><image class="fileimg data-v-0d376304" src="{{BASE_IMG_URL+'file.png'}}" mode="scaleToFill"></image>客户</view></block><block wx:if="{{item.relation_type==2}}"><view data-event-opts="{{[['tap',[['jumpDetail',['$0'],[[['list','',index,'relation_id']]]]]]]}}" class="yewu data-v-0d376304" bindtap="__e"><image class="fileimg data-v-0d376304" src="{{BASE_IMG_URL+'file.png'}}" mode="scaleToFill"></image>联系人</view></block><block wx:if="{{item.relation_type==4}}"><view data-event-opts="{{[['tap',[['moreClick',['$0'],[[['list','',index,'relation_id']]]]]]]}}" class="yewu data-v-0d376304" bindtap="__e"><image class="fileimg data-v-0d376304" src="{{BASE_IMG_URL+'file.png'}}" mode="scaleToFill"></image>线索</view></block></view><view class="end-time data-v-0d376304"><image class="timeimg data-v-0d376304" src="{{BASE_IMG_URL+'end_time.png'}}" mode="scaleToFill"></image>{{':'+item.end_time+''}}</view></view><view data-event-opts="{{[['tap',[['toEditstatuss',['$0'],[[['list','',index]]]]]]]}}" bindtap="__e" class="data-v-0d376304"><block wx:if="{{item.status==0}}"><view class="item_right data-v-0d376304"><image src="{{BASE_IMG_URL+'time.png'}}" mode="scaleToFill" class="data-v-0d376304"></image><view class="data-v-0d376304">未开始</view></view></block><block wx:if="{{item.status==1}}"><view class="item_right data-v-0d376304"><image src="{{BASE_IMG_URL+'time_ing.png'}}" mode="scaleToFill" class="data-v-0d376304"></image><view class="data-v-0d376304">进行中</view></view></block><block wx:if="{{item.status==2}}"><view class="item_right data-v-0d376304"><image src="{{BASE_IMG_URL+'time_end.png'}}" mode="scaleToFill" class="data-v-0d376304"></image><view class="data-v-0d376304">已结束</view></view></block><block wx:if="{{item.status==3}}"><view class="item_right data-v-0d376304"><image src="{{BASE_IMG_URL+'time_over.png'}}" mode="scaleToFill" class="data-v-0d376304"></image><view class="data-v-0d376304">已取消</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="{{type==3}}"><view data-event-opts="{{[['tap',[['toContractDetail',['$0'],[[['list','',index,'id']]]]]]]}}" class="sche_con_item data-v-0d376304" bindtap="__e"><view class="lxr_con_list data-v-0d376304"><view class="name data-v-0d376304">{{item.name}}</view><view class="info data-v-0d376304">{{"已回款 "+item.receivables.repayment_money+" 待回款 "+item.receivables.be_money}}</view><view class="proce_li data-v-0d376304"><view class="pro_li_left data-v-0d376304"><view class="protext data-v-0d376304">回款进度</view><view class="probox data-v-0d376304"><view class="proin data-v-0d376304" style="{{'width:'+((item.receivables.ratio>=100?100:item.receivables.ratio)+'%')+';'}}"></view></view><view class="pronum data-v-0d376304">{{item.receivables.ratio+"%"}}</view></view><view class="pro_li_right data-v-0d376304">{{"¥"+item.receivables.be_money}}</view></view><block wx:i