show.vm
7.8 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
#set($page_title="服务详情")
#set($crumbs="首页:/home,服务管理:/diliService/list.do")
#set($url_save = "/diliService/save.do")
<div class="page-content">
<div class="page-header">
<span class="pull-right"><a href="${webUtils.getLocalPath("diliService/list.do")}" class="btn btn-white btn-default">返回</a></span>
<h1>
<small>
<i class="icon-double-angle-right"></i>
服务详情
</small>
</h1>
</div>
<!-- /.page-header -->
<div class="row">
<div class="col-xs-12">
<!-- PAGE CONTENT BEGINS -->
<div class="profile-user-info profile-user-info-striped">
<div class="profile-info-row">
<div class="profile-info-name"> </div>
<div class="profile-info-value">
<span >
<img src="$!{model.image}" id="serviceImg" width="100px" height="100px">
</span>
</div>
</div>
<div class="profile-info-row">
<div class="profile-info-name">服务图标</div>
<div class="profile-info-value">
<span >
<img src="$!{model.icon}" id="serviceImg" maxwidth="100px" maxheight="100px">
</span>
</div>
</div>
## <div class="profile-info-row">
## <div class="profile-info-name"> id</div>
##
## <div class="profile-info-value">
## <span >$!{model.id} </span>
## </div>
## </div>
<div class="profile-info-row">
<div class="profile-info-name"> 服务名称 </div>
<div class="profile-info-value">
<span >$!{model.name} </span>
</div>
</div>
<div class="profile-info-row">
<div class="profile-info-name"> 服务编码 </div>
<div class="profile-info-value">
<span >$!{model.code} </span>
</div>
</div>
<div class="profile-info-row">
<div class="profile-info-name"> 服务类型 </div>
<div class="profile-info-value">
<span >
#if($!{model.type} == 1)
独立服务
#end
#if($!{model.type} == 2)
订单服务
#end
#if($!{model.type} == 3)
通用服务
#end
</span>
</div>
</div>
<div class="profile-info-row">
<div class="profile-info-name"> 服务类别 </div>
<div class="profile-info-value">
<span >
#if($!{model.category} == 1)
采购服务
#end
#if($!{model.category} == 2)
销售服务
#end
#if($!{model.category} == 3)
通用服务
#end
</span>
</div>
</div>
<div class="profile-info-row">
<div class="profile-info-name"> 上架状态 </div>
<div class="profile-info-value">
<span >
#if($!{model.status} == 1)
下架
#else
上架
#end
</span>
</div>
</div>
<div class="profile-info-row">
<div class="profile-info-name"> 操作人 </div>
<div class="profile-info-value">
<span >$!{model.creatorName} </span>
</div>
</div>
<div class="profile-info-row">
<div class="profile-info-name"> 创建日期 </div>
<div class="profile-info-value">
<span >
$!dateFormatUtils.format($!model.created,'yyyy-MM-dd HH:mm:ss')
</span>
</div>
</div>
<div class="profile-info-row">
<div class="profile-info-name"> 在架日期 </div>
<div class="profile-info-value">
<span >
$!{model.dateScope}
## $!dateFormatUtils.format($!model.putawayDate,'yyyy-MM-dd')~$!dateFormatUtils.format($!model.downDate,'yyyy-MM-dd')
</span>
</div>
</div>
<div class="profile-info-row">
<div class="profile-info-name"> 可服务区域 </div>
<div class="profile-info-value">
#foreach($obj in $coverage.model)
#if($obj.id == $coverage.serviceId)
<span >
$obj.name
</span>
#end
#end
#foreach($data in $datas)
#foreach($co in $coverage.model)
#set($checkP =0)
#if($co.coverageId ==$data.id)
#set($checkP =1)
#break
#end
#end
#if($checkP == 1)
<span class="lbl"> ${data.pickName}</span>
#end
#end
</div>
</div>
<div class="profile-info-row">
<div class="profile-info-name"> 服务介绍 </div>
<div class="profile-info-value">
<span >$!{model.remark} </span>
</div>
</div>
<div class="profile-info-row">
<div class="profile-info-name"> 上次操作时间 </div>
<div class="profile-info-value">
<span > $!dateFormatUtils.format($!model.modified,'yyyy-MM-dd HH:mm:ss') </span>
</div>
</div>
</div>
<div class="clearfix form-actions">
<div class="col-md-offset-3 col-md-9">
<a class="btn btn-info" href="${webUtils.getLocalPath("diliService/list.do")}">
<i class="icon-reply bigger-110"></i>
返回
</a>
</div>
</div>
</div>
</div>
</div>