workspace.wxml
2.43 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
<!--pages/tab/workspace/workspace.wxml-->
<navigation-bar bindnavbarReady="navbarReady"
class="navigation-header"
navStyle="background-color:transparent;box-shadow:none;">
<view class="page-title">
工作台
</view>
</navigation-bar>
<view class="bg"></view>
<view class="container" style="margin-top: {{ navBarHeight }}px;">
<view class="banner-box" wx:if="{{ showBanner }}">
<image class="image"
src="{{ IMG_URL }}work-banner.png"
mode="" />
<image class="close-icon"
bindtap="closeBannaer"
src="{{ IMG_URL }}blue-close.png"
alt="" />
</view>
<view class="box">
<view class="label">
审批管理
</view>
<view class="menu">
<block wx:for="{{ approvalMenus }}" wx:key="index">
<view class="item"
bindtap="jump"
data-target="{{ item }}">
<image src="{{ IMG_URL }}{{ item.icon }}.png" />
<view class="label">
{{ item.name }}
</view>
<view class="hot_icon" wx:if="{{ item.tipsNum }}">
{{ item.tipsNum > 99?'99+': item.tipsNum }}
</view>
</view>
</block>
</view>
</view>
<view class="box">
<view class="label">
门店运营管理
</view>
<view class="menu">
<block wx:for="{{ storeManagementMenus }}" wx:key="index">
<view class="item"
bind:tap="jump"
data-target="{{ item }}">
<image src="{{ IMG_URL }}{{ item.icon }}.png" />
<view class="label">
{{ item.name }}
</view>
<view class="hot_icon" wx:if="{{ item.tipsNum }}">
{{ item.tipsNum > 99?'99+': item.tipsNum }}
</view>
</view>
</block>
</view>
</view>
<view class="box">
<view class="label">
人员发展管理
</view>
<view class="menu">
<block wx:for="{{ staffDevelopmentMenus }}" wx:key="index">
<view class="item"
bindtap="jump"
data-target="{{ item }}">
<image src="{{ IMG_URL }}{{ item.icon }}.png" />
<view class="label">
{{ item.name }}
</view>
<view class="hot_icon" wx:if="{{ item.tipsNum }}">
{{ item.tipsNum > 99?'99+': item.tipsNum }}
</view>
</view>
</block>
</view>
</view>
</view>
<report-template-popup show="{{ showReportPopup }}"
templateList="{{ reportTemplateList }}"
bind:cancel="onReportPopupCancel"
bind:select="onReportPopupSelect" />
<van-dialog id="van-dialog" confirm-button-color="#2C66F7" />