authLevel.vm
3.57 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
#set($link=${webUtils.getLocalPath("shop/list.do")})
#set($page_title="诚信等级设置")
#set($crumbs="首页:/home,认证等级:"+$link+",诚信等级设置")
<div class="page-content">
<div class="page-header">
<span class="pull-right"><a href="javascript:history.back();"
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 -->
<form class="form-horizontal" role="form" method="post"
action="${webUtils.getLocalPath("shop/saveShopAuthLevel.do?")}" id="saveForm">
<input type="hidden" name="shopId" value="$!{shopId}" >
<input type="hidden" id="staId" value="$!{level}"/>
<input type="hidden" name="listQuery" value="$!{listQuery}">
<div class="form-group">
<label class="col-sm-3 control-label no-padding-right" for="form-field-2"> 是否失信: </label>
<div class="col-xs-12 col-sm-4">
<span class="block input-icon input-icon-right">
<input type="checkbox" name="shopGrade.isDishonesty" id="isDishonesty" #if($!{shopGrade.isDishonesty}==2) checked #end />
</span>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label no-padding-right" for="form-field-2"> 是否实地认证: </label>
<div class="col-xs-12 col-sm-4">
<span class="block input-icon input-icon-right">
<input type="checkbox" name="shopGrade.isSoptauth" id="isSoptauth" #if($!{shopGrade.isSoptauth}==2) checked #end/>
</span>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label no-padding-right" for="form-field-2">诚信认证: </label>
<div class="col-xs-12 col-sm-4">
<span class="block input-icon input-icon-right">
<select style="width:60%" id="selectId" name="level">
#foreach($param in $!{levelType.keySet()})
<option value="$param">${levelType.get($param)}</option>
#end
</select>
</span>
</div>
</div>
<div class="clearfix form-actions">
<div class="col-md-offset-3 col-md-9">
<button class="btn btn-info" type="submit">
<i class="icon-ok bigger-110"></i>
提交
</button>
<a href="javascript:history.back();" class="btn">
<i class="icon-undo bigger-110"></i>
返回
</a>
</div>
</div>
</form>
</div>
</div>
</div>
<script type="text/javascript" >
$(function () {
var level = $("#staId").val();
if (level != "") {
$("#selectId option[value='" + level + "']").attr("selected", true);
}
})
</script>