peopleOverview.wxml
3.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<!--packageCrew/pages/peopleOverview/peopleOverview.wxml-->
<navigation-bar bindnavbarReady="navbarReady"
class="navigation-header"
showBack="{{true}}"
bindback="back"
navStyle="background-color: transparent;box-shadow:none;">
<view class="page-title">
人员看板
</view>
</navigation-bar>
<view class="bg"></view>
<scroll-view class="container" scroll-y style="margin-top: {{navBarHeight}}px;height: calc(100vh - {{navBarHeight}}px);">
<view style="width: 100%;height: 8rpx;"></view>
<AI-analyse AIContent="{{AIContent}}" loading="{{AILoading}}" />
<view class="content">
<view class="top-box">
<view class="name">
<view class="staff">
{{baseInfo.name}}
<image class="sex-icon" src="{{IMG_URL}}{{detailInfo.gender == '女' ? 'female-icon' : 'male-iconx'}}.png" mode="aspectFit" />
</view>
<view class="btn" bindtap="handleStoreTransfer">
<text>调店记录</text>
<van-icon name="arrow" color="#2C66F7" class="arrow" />
</view>
</view>
<view class="items">
<view class="item {{item.inline ? 'inline' : ''}}" style="{{item.width ? ('width:' + item.width + ';') : ''}}" wx:for="{{detailItems}}" wx:key="index">
<view class="label">{{item.label}}:</view>
<view class="value">{{baseInfo[item.key] || '-'}}</view>
</view>
</view>
</view>
<view class="tab-box">
<tab-bar tabList="{{ tabList }}" bindclick="tabClick" activeIndex="{{ tabIndex }}" />
</view>
<view class="tab-content">
<basic-info wx:if="{{tabIndex === 0}}" baseInfo="{{baseInfo}}" />
<personal-performance wx:if="{{tabIndex === 1}}" detailInfo="{{detailInfo}}" bindchangeMerchant="onChangeMerchant" merchantList="{{merchantList}}" selectedMerchantObj="{{selectedMerchantObj}}" bindpopupvisible="onDatePopupVisible" binddatesave="onDateSave" initTimeDimension="{{personalPerformanceDate.timeDimension}}" initStartDate="{{personalPerformanceDate.startDate}}" initEndDate="{{personalPerformanceDate.endDate}}" />
<behavior-analysis wx:if="{{tabIndex === 2}}" detailInfo="{{detailInfo}}" bindchangeMerchant="onChangeMerchant" merchantList="{{merchantList}}" selectedMerchantObj="{{selectedMerchantObj}}" bindpopupvisible="onDatePopupVisible" binddatesave="onDateSave" initTimeDimension="{{behaviorAnalysisDate.timeDimension}}" initStartDate="{{behaviorAnalysisDate.startDate}}" initEndDate="{{behaviorAnalysisDate.endDate}}" />
<training-experience id="training" wx:if="{{tabIndex === 3}}" detailInfo="{{detailInfo}}" bindpopupvisible="onDatePopupVisible" binddatesave="onDateSave" initTimeDimension="{{trainingExperienceDate.timeDimension}}" initStartDate="{{trainingExperienceDate.startDate}}" initEndDate="{{trainingExperienceDate.endDate}}" />
<view style="width: 100%;height: 200rpx;"></view>
</view>
</view>
</scroll-view>
<view class="footerBtn {{ isFullSucreen?'isFullSucreen-btn':'' }} {{ isFooterHidden ? 'hidden' : '' }}">
<view class="btn cancle" bindtap="handleRecording">接待录音</view>
<view class="btn next" bindtap="handleMentoring">发起带教</view>
</view>