1 |
- <view class="scoped-box page u-skeleton"><view class="customer-info u-skeleton-fillet box-shadow"><view class="left"><view class="customer"><view class="relname u-skeleton-rect">{{''+detail.name+''}}<u-icon class="u-m-l-10" vue-id="2a7acf4c-1" name="{{detail.sex=='male'?'man':'woman'}}" size="24" color="{{detail.sex=='male'?'#2080f0':'#f85f69'}}" bind:__l="__l"></u-icon><u-tag class="u-m-l-20" vue-id="2a7acf4c-2" text="{{detail.report_state==3?'无效客户':detail.report_state==2?'审核中':'有效客户'}}" type="{{detail.report_state==3?'error':detail.report_state==2?'warning':'success'}}" size="mini" bind:__l="__l"></u-tag><block wx:if="{{userInfo.user_id==detail.user_id}}"><u-tag class="u-m-l-20" vue-id="2a7acf4c-3" text="点击获取报备二维码" type="primary" size="mini" data-event-opts="{{[['^click',[['openPopup']]]]}}" bind:click="__e" bind:__l="__l"></u-tag></block></view><view class="mobile u-skeleton-rect">{{detail.phone}}</view></view></view><view class="right"><u-icon vue-id="2a7acf4c-4" name="phone" size="32" data-event-opts="{{[['^click',[['dial',['$0'],['detail.phone']]]]]}}" bind:click="__e" bind:__l="__l"></u-icon></view></view><view class="property-info u-skeleton-fillet box-shadow"><view class="name u-skeleton-rect">{{detail.estate_name+''}}<u-tag class="u-m-l-20" vue-id="2a7acf4c-5" text="上传/查看到访凭证和结佣资料" type="primary" data-event-opts="{{[['^click',[['pageTo',['/pages/agent/recommend/visitimg?id='+detail.id]]]]]}}" bind:click="__e" bind:__l="__l"></u-tag></view><u-line vue-id="2a7acf4c-6" margin="10rpx" bind:__l="__l"></u-line><block wx:if="{{detail.report_step<=2}}"><view class="date u-skeleton-rect">{{'保护期截止:'+detail.lock_at+''}}</view></block><block wx:else><view class="date u-skeleton-rect">保护期:已认购客户无法被其他经纪人二次报备</view></block></view><block wx:if="{{detail.report_state==1}}"><view class="buystep-info box-shadow u-skeleton-fillet"><u-steps vue-id="2a7acf4c-7" list="{{buystepList}}" current="{{$root.m0}}" active-color="#2080f0" bind:__l="__l"></u-steps></view></block><block wx:else><view class="buystep-info box-shadow u-skeleton-fillet"><u-steps vue-id="2a7acf4c-8" list="{{buystepList}}" current="{{0}}" active-color="#2080f0" bind:__l="__l"></u-steps></view></block><view class="buystep-info u-p-32 box-shadow u-skeleton-fillet"><view class="name">进度流水</view><block wx:if="{{$root.g0==0}}"><u-empty vue-id="2a7acf4c-9" mode="list" text="暂无流水记录" bind:__l="__l"></u-empty></block><u-time-line vue-id="2a7acf4c-10" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{stepsLogList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><u-time-line-item vue-id="{{('2a7acf4c-11-'+index)+','+('2a7acf4c-10')}}" bind:__l="__l" vue-slots="{{['node','content']}}"><view class="u-node" slot="node"><u-icon vue-id="{{('2a7acf4c-12-'+index)+','+('2a7acf4c-11-'+index)}}" name="checkmark-circle" size="28" color="#2080f0" bind:__l="__l"></u-icon></view><view slot="content"><view class="u-order-title">{{item.report_state==1?'报备审核:':item.report_step?'报备审核:'+reportStepObj[item.report_step]:'报备状态:'+reportStateObj[item.report_state]}}</view><view class="u-order-desc">{{(item.operator_nickname||'')+"("+(item.operator_phone||'系统')+")"+(item.describe!==null?item.describe:'')}}</view><view class="u-order-time">{{item.create_at}}</view></view></u-time-line-item></block></u-time-line></view><u-skeleton vue-id="2a7acf4c-13" loading="{{skeletonLoading}}" animation="{{true}}" bgColor="#FFF" bind:__l="__l"></u-skeleton><u-popup bind:input="__e" vue-id="2a7acf4c-14" mode="center" width="80%" height="800rpx" border-radius="20" closeable="{{true}}" value="{{commonRulesShow}}" data-event-opts="{{[['^input',[['__set_model',['','commonRulesShow','$event',[]]]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="bwin-popup"><view class="popup-header">报备二维码</view><view class="popup-body"><view style="text-align:center;">{{"报备时间:"+detail.report_at}}</view><view style="text-align:center;margin-bottom:-30rpx;">{{"保护截止:"+detail.lock_at}}</view><block wx:if="{{detail.report_code}}"><image class="qrcode-canvas" src="{{detail.report_code}}"></image></block><block wx:else><canvas class="qrcode-canvas" canvas-id="qrcode"></canvas></block></view></view></u-popup><block wx:if="{{detail.report_step==1&&detail.report_state==1&&detail.is_edit==1}}"><view class="scoped-footer"><u-button vue-id="2a7acf4c-15" type="primary" data-event-opts="{{[['^click',[['vHandle']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">确认到访</u-button></view></block><block wx:if="{{detail.report_step==2}}"><view class="scoped-footer"><u-button vue-id="2a7acf4c-16" type="primary" data-event-opts="{{[['^click',[['buyedHandle']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">确认已认购</u-button></view></block><block wx:if="{{detail.report_step==3}}"><view class="scoped-footer"><u-button vue-id="2a7acf4c-17" type="primary" data-event-opts="{{[['^click',[['signedHandle']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">确认已签约</u-button></view></block></view>
|