behaviorAnalysis.wxml
3.38 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<view class="behavior-analysis">
<view class="date">
<date-screen bind:search="search"></date-screen>
</view>
<view class="merchant-change" bind:tap="handleChangeMerchant">
<image src="{{IMG_URL}}analyse-merchant-icon.png" mode=""/>
<view class="name">{{merchantName}}</view>
<image src="{{IMG_URL}}arrow-down.png" mode=""/>
</view>
<view class="section">
<view class="section-title">
<view class="title-left">
<image src="{{IMG_URL}}attendance-icon.png" mode=""/>
<text>考勤</text>
</view>
</view>
<view class="grid grid-4">
<view class="grid-item" wx:for="{{attendanceItems}}" wx:key="label">
<view class="label">{{item.label}}</view>
<view class="value {{item.valueClass || ''}}">{{item.value}}</view>
</view>
</view>
</view>
<view class="divider"></view>
<view class="section">
<view class="section-title">
<view class="title-left">
<image src="{{IMG_URL}}report-icon.png" mode=""/>
<text>日报</text>
</view>
</view>
<view class="grid grid-4">
<view class="grid-item" wx:for="{{dailyReportItems}}" wx:key="label">
<view class="label">{{item.label}}</view>
<view class="value">{{item.value}}</view>
<view class="sub {{item.subClass || ''}}" wx:if="{{item.subLabel}}">{{item.subLabel}}</view>
</view>
</view>
</view>
<view class="divider"></view>
<view class="section">
<view class="section-title">
<view class="title-left">
<image src="{{IMG_URL}}analyse-satff.png" mode=""/>
<text>客户接待</text>
</view>
</view>
<view class="grid grid-3">
<view class="grid-item" wx:for="{{receptionItems}}" wx:key="label">
<view class="label">{{item.label}}</view>
<view class="value">{{item.value}}</view>
</view>
</view>
</view>
<view class="divider"></view>
<view class="section">
<view class="section-title">
<view class="title-left">
<image src="{{IMG_URL}}recording-icon.png" mode=""/>
<text>录音</text>
</view>
</view>
<view class="tags-row">
<view class="tags-label">弱项:</view>
<view class="tags">
<view class="tag danger" wx:for="{{weakTags}}" wx:key="label">{{item.label}}</view>
</view>
</view>
<view class="tags-row">
<view class="tags-label">其他项:</view>
<view class="tags">
<view class="tag {{item.type}}" wx:for="{{otherTags}}" wx:key="label">{{item.label}}</view>
</view>
</view>
<view class="grid grid-{{row.length}} stats-grid" wx:for="{{recordStatsRows}}" wx:for-item="row" wx:key="index">
<view class="grid-item" wx:for="{{row}}" wx:key="label">
<view class="label">{{item.label}}</view>
<view class="value">{{item.value}}</view>
</view>
</view>
</view>
<view class="divider"></view>
<view class="section">
<view class="section-title">
<view class="title-left">
<image src="{{IMG_URL}}dress-icon.png" mode=""/>
<text>着装预警</text>
</view>
</view>
<view class="grid grid-1">
<view class="grid-item" wx:for="{{dressWarningItems}}" wx:key="label">
<view class="label">{{item.label}}</view>
<view class="value">{{item.value}}</view>
</view>
</view>
</view>
</view>
<select-popup show="{{ showSelectPopup }}" options="{{ selectOptions }}" values="{{ selectValues }}" value="{{ selectValue }}" bindconfirm="handlePopupConfirm" labelKey="merchantName" valueKey="merchantId" height="80%" title="门店选择" allowSearch="{{true}}" bindcancel="hideSelectPopup"></select-popup>