show_redis.html
1.99 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
<include file="public/layout"/>
<style>
.title_p{ font-size: 14px; color: #333; width: 100%; height: 30px; margin-bottom: 20px;
line-height: 30px; border-bottom: 1px solid #adadab }
</style>
<body style="background-color: #FFF; overflow: auto;">
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<div class="subject">
<h3>显示商家的活动中的redis数量</h3>
</div>
</div>
</div>
<form class="navbar-form form-inline" id="search-form" onSubmit="return false" style="margin-top: 20px">
<div class="sDiv">
<div class="sDiv2">
<label><input type="radio" name="sear_type" value="0" checked>更换前</label>
<label style="margin-right: 10px"><input type="radio" name="sear_type" value="1">更换后</label>
<input size="30" name="erpid" value="{$erpid}"class="qsbox" id="erpid"
placeholder="商家账套" type="text">
<input class="btn" style="height: 27px" value="搜索" type="submit"
onclick="search_table('search-form2',1)">
</div>
</div>
</form>
<!--显示查找的结果-->
<div id="result" class="ncap-form-default"></div>
</div>
</body>
<script>
function search_table() {
var val=$("#erpid").val();
if(val=="")
{
layer.msg('请输入账套');
return fasle;
}
layer.msg('加载中...', {icon: 16,shade: [0.5, '#f5f5f5'],scrollbar: false,offset: '200px', time:0}) ;
$.ajax({
type: "POST",
url: "/index.php/manager/system/ajax_show_redis", //+tab,
data: $('#search-form').serialize(), // 你的formid
success: function(data) {
$("#result").html('');
$("#result").append(data);
layer.closeAll();
}
});
}
</script>
</html>