| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416 |
- <!-- 前台导入numberFormat.wxs -->
- <wxs src='/utils/numberFormat.wxs' module="numberFormat"></wxs>
- <!-- 加载图层 -->
- <loading wx:if="{{loading}}"></loading>
- <view class="head">
- <view class="company">
- <view style="display: flex;align-items: center;" catchtap="changeCp">
- <view style="margin-right: 10rpx;">
- {{companyName?companyName:''}}
- </view>
- <image src="/static/image/triangle.png" style="width: 28rpx;height:28rpx;"></image>
- </view>
- <!-- 头像 -->
- <view style="margin-top: 40rpx;" catchtap="openCode">
- <open-data type="userAvatarUrl" class='wx-avatar'></open-data>
- </view>
- <!-- 昵称 -->
- <view class="nick-name" style="display: flex;width: 100%;">
- <view style="width: 99%;">
- 你好 {{staffName?staffName:''}}
- </view>
- <view style="text-align: right;margin-right: 10rpx;" bindtap="toNotice">
- <view class="notice-view">
- <view class="todo-view-app-item-icon-tip" wx:if="{{noticeCount}}">{{noticeCount}}</view>
- <image src="{{imageUrl + 'notice-icon.png'}}" style="width: 27rpx;height:23rpx;" />
- </view>
- </view>
- </view>
- <!-- 部门 -->
- <view class="store">
- <view>
- <view> {{orgName?orgName:''}}</view>
- <view wx:if="{{version}}" style="width:77vw;text-align-last: right;font-size: 11px;display: flex; justify-content: flex-end;"> 当前版本号: {{version}}
- <van-icon name="upgrade" size="20px" bind:click="checkHasManualUpdate" />
- </view>
- </view>
- </view>
- </view>
- </view>
- <!-- 待办 -->
- <view style="background-color:#f8f9fd;border-radius:40rpx 40rpx 0rpx 0rpx;margin-top: -57rpx;">
- <view style="height: 35rpx;"></view>
- <view class="todo-view">
- <view class="todo-view-title">待办工作</view>
- <view class="todo-view-app">
- <view class="todo-view-app-item" wx:for="{{waitMenu}}" wx:for-item="item" data-item="{{item}}">
- <view class="todo-view-app-item-icon" catchtap="toApprove">
- <!-- 待办角标提醒 -->
- <view class="todo-view-app-item-icon-tip" wx:if="{{item.count}}">{{item.count?item.count:0}}</view>
- <image src="{{imageUrl + item.icon}}" style="width:100%;height:100%;" />
- </view>
- <view class="todo-view-app-item-name">{{item.title}}</view>
- </view>
- </view>
- </view>
- <van-tabs animated active="{{ active }}" swipeable nav-class="mine-tabs-custom-class" bind:change="onChange">
- <van-tab title="标签 1" name="store">
- <!-- 助手 -->
- <view class="helper-out-view">
- <view class="helper-view">
- <!-- 顶部部分 -->
- <view class="helper-view-header">
- <view class="helper-view-header-name">门店助手</view>
- <view class="helper-view-header-tags">
- <dk-tabs-custom model:value="{{storeHelperValue}}" data-filterindex="1" data-querytype="storeHelper" bind:change="getReportDataSingle" list="{{tagList}}" />
- </view>
- </view>
- <!-- 主体部分 -->
- <view class="helper-view-content" style="position: relative;">
- <view class="help-view-content-item" catchtap="toOtherPage" data-type="{{1}}" data-jumptype="{{1}}" data-datevalue="{{storeHelperValue}}" style="--filterBlur--:{{filterBlur1}}">
- <view class="help-view-content-item-absolute" wx:if="{{storeHelper.orderListCustomerCount && storeHelper.orderListCustomerCount>0}}">{{storeHelper.orderListCustomerCount}}户</view>
- <view class="help-view-content-item-important">
- <!-- {{storeHelper.orderListAmount}} -->
- <view><text class="small-small-font">¥</text>69.99</view>
- </view>
- <view class="help-view-content-item-text">预算报价(万元)</view>
- </view>
- <view class="help-view-content-item" catchtap="toOtherPage" data-type="{{2}}" data-jumptype="{{1}}" data-datevalue="{{storeHelperValue}}" style="--filterBlur--:{{filterBlur1}}">
- <view class="help-view-content-item-important">
- 10
- <view class="help-view-content-item-important-small">户</view>
- </view>
- <view class="help-view-content-item-text">潜在客户</view>
- </view>
- <view class="help-view-content-item" catchtap="toOtherPage" data-type="{{3}}" data-jumptype="{{1}}" data-datevalue="{{storeHelperValue}}" style="--filterBlur--:{{filterBlur1}}">
- <view class="help-view-content-item-important">
- 5
- <view class="help-view-content-item-important-small">户</view>
- </view>
- <view class="help-view-content-item-text">定+智客户</view>
- </view>
- <view class="help-view-content-item" catchtap="toOtherPage" data-type="{{4}}" data-jumptype="{{1}}" data-datevalue="{{storeHelperValue}}" style="--filterBlur--:{{filterBlur1}}">
- <view class="help-view-content-item-absolute" wx:if="{{storeHelper.arrearsCustomerCount && storeHelper.arrearsCustomerCount>0}}">{{storeHelper.arrearsCustomerCount}}户</view>
- <view class="help-view-content-item-important">
- <!-- {{storeHelper.arrearsAmount}} -->
- <view><text class="small-small-font">¥</text>30.80</view>
- </view>
- <view class="help-view-content-item-text">欠款客户(万元)</view>
- </view>
- <view class="help-view-content-item" catchtap="toOtherPage" data-type="{{5}}" data-jumptype="{{1}}" data-datevalue="{{storeHelperValue}}" style="--filterBlur--:{{filterBlur1}}">
- <view class="help-view-content-item-important">
- 5
- <view class="help-view-content-item-important-small">户</view>
- </view>
- <view class="help-view-content-item-text">跟进任务</view>
- </view>
- <view class="help-view-content-item" catchtap="toOtherPage" data-type="{{6}}" data-jumptype="{{1}}" data-datevalue="{{storeHelperValue}}" style="--filterBlur--:{{filterBlur1}}">
- <view class="help-view-content-item-important">
- 3
- <view class="help-view-content-item-important-small">户</view>
- </view>
- <view class="help-view-content-item-text">设计制图</view>
- </view>
- <view class="help-view-content-item" catchtap="toOtherPage" data-type="{{7}}" data-jumptype="{{1}}" data-datevalue="{{storeHelperValue}}" style="--filterBlur--:{{filterBlur1}}">
- <view class="help-view-content-item-important">
- 20
- <view class="help-view-content-item-important-small">户</view>
- </view>
- <view class="help-view-content-item-text">接待客户数</view>
- </view>
- <view class="help-view-content-item" catchtap="toOtherPage" data-type="{{8}}" data-jumptype="{{1}}" data-datevalue="{{storeHelperValue}}" style="--filterBlur--:{{filterBlur1}}">
- <view class="help-view-content-item-important">
- 67
- <view class="help-view-content-item-important-small">户</view>
- </view>
- <view class="help-view-content-item-text">留资客户数</view>
- </view>
- <view class="help-view-content-item" catchtap="toOtherPage" data-type="{{9}}" data-jumptype="{{1}}" data-datevalue="{{storeHelperValue}}" style="--filterBlur--:{{filterBlur1}}">
- <view class="help-view-content-item-important">
- 33
- <view class="help-view-content-item-important-small">户</view>
- </view>
- <view class="help-view-content-item-text">陌生客户数</view>
- </view>
- <inner-loading wx:if="{{filterBlur1==='5px'}}"></inner-loading>
- </view>
- </view>
- </view>
- <!-- 销售任务进度 -->
- <view class="task-progress">
- <view class="task-progress-header">
- <view class="task-progress-header-name">销售任务进度</view>
- <view class="task-progress-header-tags">
- <dk-tabs-custom model:value="{{storeOrderRateValue}}" data-querytype="storeOrderRate" data-filterindex="2" bind:change="getReportDataSingleRate" data-funcname="f_kpi_order_rate_" background="#ECF7FF" slider-background="#fff" text-color="#9CCCEC" slider-text-color="#1B365D" list="{{tagList2}}" />
- </view>
- </view>
- <view style="position: relative;">
- <view class="task-progress-content">
- <view class="task-progress-content-left" style="--filterBlur--:{{filterBlur2}}">
- <view><text class="small-cny">¥</text>155,546.00</view>
- <view>成交额(万)</view>
- <view style="font-size: 12px;color:#95A8CB;">同比:<text class="small-cny">50 ↑ </text>环比<text class="small-cny_red"> 50 ↓</text> </view>
- </view>
- <view class="task-progress-content-right" style="--filterBlur--:{{filterBlur2}}">
- <view>58.98%</view>
- <view>销售任务进度</view>
- <view>
- <dk-progress progress="{{storeOrderRate.kpiRate}}"></dk-progress>
- </view>
- </view>
- </view>
- <inner-loading wx:if="{{filterBlur2==='5px'}}"></inner-loading>
- </view>
- </view>
- <!-- 收款任务进度 -->
- <view class="task-progress">
- <view class="task-progress-header">
- <view class="task-progress-header-name">收款任务进度</view>
- <view class="task-progress-header-tags">
- <dk-tabs-custom model:value="{{storeRepayRateValue}}" data-querytype="storeRepayRate" data-filterindex="3" bind:change="getReportDataSingleRate" data-funcname="f_kpi_repay_rate_" background="#ECF7FF" slider-background="#fff" text-color="#9CCCEC" slider-text-color="#1B365D" list="{{tagList2}}" />
- </view>
- </view>
- <view style="position: relative;">
- <view class="task-progress-content">
- <view class="task-progress-content-left" style="--filterBlur--:{{filterBlur3}}">
- <view><text class="small-cny">¥</text>155,546.00</view>
- <view>收款额(万)</view>
- <view style="font-size: 12px;color:#95A8CB;">同比:<text class="small-cny">50 ↑ </text>环比<text class="small-cny_red"> 50 ↓</text> </view>
- </view>
- <view class="task-progress-content-right" style="--filterBlur--:{{filterBlur3}}">
- <view>58.98%</view>
- <view>收款任务进度</view>
- <view>
- <dk-progress progress="{{storeRepayRate.kpiRate}}"></dk-progress>
- </view>
- </view>
- </view>
- <inner-loading wx:if="{{filterBlur3==='5px'}}"></inner-loading>
- </view>
- </view>
- </van-tab>
- <van-tab title="标签 2" name="staff" wx:if="{{false}}">
- <!-- 助手2 -->
- <view class="helper-out-view">
- <view class="helper-view">
- <!-- 顶部部分 -->
- <view class="helper-view-header">
- <view class="helper-view-header-name">业务员助手</view>
- <view class="helper-view-header-tags">
- <dk-tabs-custom model:value="{{staffHelperValue}}" data-filterindex="1" data-querytype="staffHelper" bind:change="getReportDataSingle" list="{{tagList}}" />
- </view>
- </view>
- <!-- 主体部分 -->
- <view class="helper-view-content" style="position: relative;">
- <view class="help-view-content-item" catchtap="toOtherPage" data-type="{{1}}" data-jumptype="{{2}}" data-datevalue="{{staffHelperValue}}" style="--filterBlur--:{{filterBlur1}}">
- <view class="help-view-content-item-absolute" wx:if="{{staffHelper.orderListCustomerCount && staffHelper.orderListCustomerCount>0}}">{{staffHelper.orderListCustomerCount}}户</view>
- <view class="help-view-content-item-important">
- <!-- {{staffHelper.orderListAmount}} -->
- <view><text class="small-small-font">¥</text>{{staffHelper.orderListAmount ? numberFormat.toThousandCents(numberFormat.numberFormat(staffHelper.orderListAmount/10000)) : '0.00'}}</view>
- </view>
- <view class="help-view-content-item-text">预算报价(万元)</view>
- </view>
- <view class="help-view-content-item" catchtap="toOtherPage" data-type="{{2}}" data-jumptype="{{2}}" data-datevalue="{{staffHelperValue}}" style="--filterBlur--:{{filterBlur1}}">
- <view class="help-view-content-item-important">
- {{staffHelper.potentialCustomerCount}}
- <view class="help-view-content-item-important-small">户</view>
- </view>
- <view class="help-view-content-item-text">潜在客户</view>
- </view>
- <view class="help-view-content-item" catchtap="toOtherPage" data-type="{{3}}" data-jumptype="{{2}}" data-datevalue="{{staffHelperValue}}" style="--filterBlur--:{{filterBlur1}}">
- <view class="help-view-content-item-important">
- {{staffHelper.strangeCount}}
- <view class="help-view-content-item-important-small">户</view>
- </view>
- <view class="help-view-content-item-text">定+智客户</view>
- </view>
- <view class="help-view-content-item" catchtap="toOtherPage" data-type="{{4}}" data-jumptype="{{2}}" data-datevalue="{{staffHelperValue}}" style="--filterBlur--:{{filterBlur1}}">
- <view class="help-view-content-item-absolute" wx:if="{{staffHelper.arrearsCustomerCount && staffHelper.arrearsCustomerCount>0}}">{{staffHelper.arrearsCustomerCount}}户</view>
- <view class="help-view-content-item-important">
- <!-- {{staffHelper.arrearsAmount}} -->
- <view><text class="small-small-font">¥</text>{{staffHelper.arrearsAmount ? numberFormat.toThousandCents(numberFormat.numberFormat(staffHelper.arrearsAmount/10000)) : '0.00'}}</view>
- </view>
- <view class="help-view-content-item-text">欠款客户(万元)</view>
- </view>
- <view class="help-view-content-item" catchtap="toOtherPage" data-type="{{5}}" data-jumptype="{{2}}" data-datevalue="{{staffHelperValue}}" style="--filterBlur--:{{filterBlur1}}">
- <view class="help-view-content-item-important">
- {{staffHelper.planCount}}
- <view class="help-view-content-item-important-small">户</view>
- </view>
- <view class="help-view-content-item-text">跟进任务</view>
- </view>
- <view class="help-view-content-item" catchtap="toOtherPage" data-type="{{6}}" data-jumptype="{{2}}" data-datevalue="{{staffHelperValue}}" style="--filterBlur--:{{filterBlur1}}">
- <view class="help-view-content-item-important">
- {{staffHelper.designCount}}
- <view class="help-view-content-item-important-small">户</view>
- </view>
- <view class="help-view-content-item-text">设计制图</view>
- </view>
- <view class="help-view-content-item" catchtap="toOtherPage" data-type="{{7}}" data-jumptype="{{2}}" data-datevalue="{{staffHelperValue}}" style="--filterBlur--:{{filterBlur1}}">
- <view class="help-view-content-item-important">
- {{staffHelper.specsCount}}
- <view class="help-view-content-item-important-small">户</view>
- </view>
- <view class="help-view-content-item-text">接待客户数</view>
- </view>
- <view class="help-view-content-item" catchtap="toOtherPage" data-type="{{8}}" data-jumptype="{{2}}" data-datevalue="{{staffHelperValue}}" style="--filterBlur--:{{filterBlur1}}">
- <view class="help-view-content-item-important">
- {{staffHelper.receptionCount}}
- <view class="help-view-content-item-important-small">户</view>
- </view>
- <view class="help-view-content-item-text">留资客户数</view>
- </view>
- <view class="help-view-content-item" catchtap="toOtherPage" data-type="{{9}}" data-jumptype="{{2}}" data-datevalue="{{staffHelperValue}}" style="--filterBlur--:{{filterBlur1}}">
- <view class="help-view-content-item-important">
- {{staffHelper.materialCount}}
- <view class="help-view-content-item-important-small">户</view>
- </view>
- <view class="help-view-content-item-text">陌生客户数</view>
- </view>
- <inner-loading wx:if="{{filterBlur1==='5px'}}"></inner-loading>
- </view>
- </view>
- </view>
- <!-- 销售任务进度 -->
- <view class="task-progress">
- <view class="task-progress-header">
- <view class="task-progress-header-name">销售任务进度</view>
- <view class="task-progress-header-tags">
- <dk-tabs-custom model:value="{{staffOrderRateValue}}" data-querytype="staffOrderRate" data-filterindex="2" bind:change="getReportDataSingleRate" data-funcname="f_kpi_order_rate_" background="#ECF7FF" slider-background="#fff" text-color="#9CCCEC" slider-text-color="#1B365D" list="{{tagList2}}" />
- </view>
- </view>
- <view style="position: relative;">
- <view class="task-progress-content">
- <view class="task-progress-content-left" style="--filterBlur--:{{filterBlur2}}">
- <view><text class="small-cny">¥</text>{{staffOrderRate.orderAmount ? numberFormat.toThousandCents(numberFormat.numberFormat(staffOrderRate.orderAmount/10000)) : '0.00'}}</view>
- <view>成交额(万)</view>
- </view>
- <view class="task-progress-content-right" style="--filterBlur--:{{filterBlur2}}">
- <view>{{staffOrderRate.kpiRate}}%</view>
- <view>销售任务进度</view>
- <view>
- <dk-progress progress="{{staffOrderRate.kpiRate}}"></dk-progress>
- </view>
- </view>
- </view>
- <inner-loading wx:if="{{filterBlur2==='5px'}}"></inner-loading>
- </view>
- <view style="width: calc(100% - 40rpx);display: flex;align-items: center;justify-content: space-between;padding: 0 20rpx 20rpx 20rpx;margin-bottom: 20rpx;">
- <view style="font-size: 12px;color:#95A8CB;">目标:<text class="small-cny">¥</text>{{staffOrderRate.kpiOrderAmount ? numberFormat.toThousandCents(numberFormat.numberFormat(staffOrderRate.kpiOrderAmount/10000)) : '0.00'}}</view>
- <view style="font-size: 12px;color:#95A8CB;">差额:<text class="small-cny">¥</text>{{staffOrderRate.kpiOrderAmount ? numberFormat.toThousandCents(numberFormat.numberFormat((staffOrderRate.kpiOrderAmount - staffOrderRate.orderAmount)/10000)) : '0.00'}}</view>
- </view>
- </view>
- <!-- 收款任务进度 -->
- <view class="task-progress">
- <view class="task-progress-header">
- <view class="task-progress-header-name">收款任务进度</view>
- <view class="task-progress-header-tags">
- <dk-tabs-custom model:value="{{staffRepayRateValue}}" data-querytype="staffRepayRate" data-filterindex="3" bind:change="getReportDataSingleRate" data-funcname="f_kpi_repay_rate_" background="#ECF7FF" slider-background="#fff" text-color="#9CCCEC" slider-text-color="#1B365D" list="{{tagList2}}" />
- </view>
- </view>
- <view style="position: relative;">
- <view class="task-progress-content">
- <view class="task-progress-content-left" style="--filterBlur--:{{filterBlur3}}">
- <view><text class="small-cny">¥</text>{{staffRepayRate.repayAmount ? numberFormat.toThousandCents(numberFormat.numberFormat(staffRepayRate.repayAmount/10000)) : '0.00'}}</view>
- <view>收款额(万)</view>
- </view>
- <view class="task-progress-content-right" style="--filterBlur--:{{filterBlur3}}">
- <view>{{staffRepayRate.kpiRate}}%</view>
- <view>收款任务进度</view>
- <view>
- <dk-progress progress="{{staffRepayRate.kpiRate}}"></dk-progress>
- </view>
- </view>
- </view>
- <inner-loading wx:if="{{filterBlur3==='5px'}}"></inner-loading>
- </view>
- <view style="width: calc(100% - 40rpx);display: flex;align-items: center;justify-content: space-between;padding: 0 20rpx 20rpx 20rpx;margin-bottom: 20rpx;">
- <view style="font-size: 12px;color:#95A8CB;">目标:<text class="small-cny">¥</text>{{staffRepayRate.kpiRepayAmount ? numberFormat.toThousandCents(numberFormat.numberFormat(staffRepayRate.kpiRepayAmount/10000)) : '0.00'}}</view>
- <view style="font-size: 12px;color:#95A8CB;">差额:<text class="small-cny">¥</text>{{staffRepayRate.kpiRepayAmount ? numberFormat.toThousandCents(numberFormat.numberFormat((staffRepayRate.kpiRepayAmount - staffRepayRate.repayAmount)/10000)) : '0.00'}}</view>
- </view>
- </view>
- </van-tab>
- </van-tabs>
- <view class="swiper-controller" wx:if="{{showStoreFlag}}">
- <view data-type="store" catchtap="swiperChange">
- <van-icon name="play" style="transform: rotate(180deg);" size="20rpx" color="#1B365D" />
- </view>
- <view data-type="staff" catchtap="swiperChange">
- <van-icon name="play" size="20rpx" color="#1B365D" />
- </view>
- </view>
- <!-- <view style="height: 39rpx;"></view>
- <view class="todo-view">
- <view class="todo-view-title" catch:tap="register">{{$t['registerCommany']}}</view>
- </view> -->
- <view style="height: 30rpx;"></view>
- <view class="todo-view">
- <view class="todo-view-title" catch:tap="toSetting">{{$t['settingCommany']}}</view>
- </view>
- <view style="height: 30rpx;"></view>
- <view class="todo-view">
- <view class="todo-view-title" catch:tap="toPay">微信支付</view>
- </view>
- <view style="height: 30rpx;"></view>
- <view class="todo-view" style="display: flex;justify-content:space-between;align-items: center;">
- <view class="todo-view-title ">标准版</view>
- <view class="todo-view-title" style="display: flex;justify-content:space-between;align-items: center;">
- <image src="{{imageUrl + 'diamond.png'}}" style="width:40rpx;height:40rpx; margin-right: 10rpx;" />
- 升级专业版
- </view>
- </view>
- <view style="height: 30rpx;"></view>
- <view class="todo-view" style="display: flex;justify-content:space-between;align-items: center;">
- <view class="todo-view-title">{{$t['recommendedGifts']}}</view>
- <view style="font-size: 12px;color: grey;">积分:3500</view>
- </view>
- <view style="height: 59rpx;"></view>
- <view style="padding: 30rpx;">
- <dk-button style="width: 100%; background: red;" size="large" type="danger" bind:tap="logout">退出 </dk-button>
- </view>
- <van-dialog id="van-dialog" />
- </view>
|