crm_second_opening_mini/pages/index/dataList.wxml

1 line
9.3 KiB
Plaintext

<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:if="{{item.check_status==0}}"><view class="con_status data-v-0d376304">待审核</view></block><block wx:if="{{item.check_status==1}}"><view class="con_status data-v-0d376304">审核中</view></block><block wx:if="{{item.check_status==2}}"><view class="con_status data-v-0d376304">审核通过</view></block><block wx:if="{{item.check_status==3}}"><view class="con_status warnstatus data-v-0d376304">审核未通过</view></block><block wx:if="{{item.check_status==4}}"><view class="con_status warnstatus data-v-0d376304">已撤回</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==4}}"><view data-event-opts="{{[['tap',[['toPaymentDetail',['$0'],[[['list','',index]]]]]]]}}" class="sche_con_item data-v-0d376304" bindtap="__e"><view class="cust_item_con data-v-0d376304"><view class="con_info data-v-0d376304"><view class="data-v-0d376304">{{item.number}}</view><view class="data-v-0d376304">{{"回款日期: "+item.return_time}}</view><block wx:if="{{item.check_status==0}}"><view class="recostatus data-v-0d376304">待审核</view></block><block wx:if="{{item.check_status==1}}"><view class="recostatus data-v-0d376304">审核中</view></block><block wx:if="{{item.check_status==2}}"><view class="recostatus data-v-0d376304">审核通过</view></block><block wx:if="{{item.check_status==3}}"><view class="recostatus warnstatus data-v-0d376304">审核未通过</view></block><block wx:if="{{item.check_status==4}}"><view class="recostatus warnstatus data-v-0d376304">已撤回</view></block></view><view class="con_money data-v-0d376304">{{'¥ '+item.money+''}}</view></view></view></block></block><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{type==5}}"><view class="sche_con_item data-v-0d376304"><view class="cust_item_con data-v-0d376304"><view class="con_info data-v-0d376304"><view class="data-v-0d376304">{{item.num}}</view><view class="data-v-0d376304">{{"待回款日期: "+item.return_date}}</view><view class="data-v-0d376304">{{"回款方式: "+item.return_type}}</view></view><view class="con_money data-v-0d376304">{{'¥ '+item.money+''}}</view></view></view></block></block><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{type==9}}"><view data-event-opts="{{[['tap',[['toDetail',['$0'],[[['list','',index]]]]]]]}}" class="clineInfo data-v-0d376304" catchtap="__e"><view class="info_head data-v-0d376304"><view class="data-v-0d376304">{{item.name}}</view></view><view class="info_main data-v-0d376304"><view class="data-v-0d376304"><view class="main_left data-v-0d376304"><block wx:if="{{item.customer}}"><view class="left_top data-v-0d376304" style="margin-top:20rpx;color:#666;font-size:30rpx;">{{''+(item.customer?item.customer.name:'--')+''}}</view></block><view class="left_followUp data-v-0d376304" style="margin-top:20rpx;color:#666;font-size:30rpx;"><view class="data-v-0d376304">下次跟进时间:</view><view class="data-v-0d376304">{{item.next_time?item.next_time:'--'}}</view></view><view class="left_foot data-v-0d376304"><view class="l_box data-v-0d376304"><block wx:if="{{item.type==0}}"><label class="_span data-v-0d376304">初期沟通</label></block><block wx:if="{{item.type==1}}"><label class="_span data-v-0d376304">立项跟踪</label></block><block wx:if="{{item.type==2}}"><label class="_span data-v-0d376304">方案/报价</label></block><block wx:if="{{item.type==3}}"><label class="_span data-v-0d376304">谈判审核</label></block><block wx:if="{{item.type==4}}"><label class="_span data-v-0d376304">赢单</label></block><block wx:if="{{item.type==5}}"><label class="_span data-v-0d376304">输单</label></block><block wx:if="{{item.type==6}}"><label class="_span data-v-0d376304">无效</label></block></view></view></view></view><block wx:if="{{item.owner_staff}}"><view class="main_right data-v-0d376304"><image src="{{item.owner_staff?item.owner_staff.img:BASE_IMG_URL+'headImg.png'}}" mode="scaleToFill" class="data-v-0d376304"></image><view class="data-v-0d376304">{{item.owner_staff?item.owner_staff.name:''}}</view></view></block></view><view data-event-opts="{{[['tap',[['',['$event']]]]]}}" class="info_footer data-v-0d376304" catchtap="__e"><view data-event-opts="{{[['tap',[['toAddfollow',['$0'],[[['list','',index]]]]]]]}}" class="footer_content data-v-0d376304" bindtap="__e"><image src="{{BASE_IMG_URL+'tj.png'}}" mode="scaleToFill" class="data-v-0d376304"></image><view class="data-v-0d376304">跟进</view></view><view data-event-opts="{{[['tap',[['toTrans',['$0'],[[['list','',index]]]]]]]}}" class="footer_content data-v-0d376304" bindtap="__e"><image src="{{BASE_IMG_URL+'rq.png'}}" mode="scaleToFill" class="data-v-0d376304"></image><view class="data-v-0d376304">转移</view></view></view></view></block></block><view style="height:200rpx;" class="data-v-0d376304"></view><block wx:if="{{$root.g0==0}}"><u-empty vue-id="1c91c2f0-1" text="暂无更多" class="data-v-0d376304" bind:__l="__l"></u-empty></block><block wx:if="{{statusPop}}"><pop-status vue-id="1c91c2f0-2" schesTitle="{{schesTitle}}" schestatus="{{schestatus}}" data-event-opts="{{[['^closeStatus',[['closeStatus']]],['^changeStatus',[['changeStatus']]],['^changeSuccess',[['changeStatusSuccess']]]]}}" bind:closeStatus="__e" bind:changeStatus="__e" bind:changeSuccess="__e" class="data-v-0d376304" bind:__l="__l"></pop-status></block></view>