rzcheck.html
5.6 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
{template 'public/header'}
{template 'public/comhead'}
<link rel="stylesheet" type="text/css" href="../addons/zh_cjdianc/template/public/ygcsslist.css">
<style>
.yg5_tr1>td{
border: 1px solid #e5e5e5;
text-align: center;
padding: 10px 0;
}
.yg5_tr2>td {
border: 1px solid #e5e5e5;
padding: 10px 0;
text-align: center;
}
</style>
<ul class="nav nav-tabs">
<span class="ygxian"></span>
<div class="ygdangq">当前位置:</div>
<li {if $type=='all'} class="active" {/if}><a href="{php echo $this->createWebUrl('rzcheck',array('type'=>all));}">全部</a></li>
<li {if $type=='wait'} class="active" {/if}><a href="{php echo $this->createWebUrl('rzcheck',array('type'=>wait,'state'=>1));}">待审核</a></li>
<li {if $type=='now'} class="active" {/if}><a href="{php echo $this->createWebUrl('rzcheck',array('type'=>now,'state'=>2));}">审核通过</a></li>
<li {if $type=='delivery'} class="active" {/if}><a href="{php echo $this->createWebUrl('rzcheck',array('type'=>delivery,'state'=>3));}">审核拒绝</a></li>
</ul>
<div class="row ygrow" style="margin-top: 20px;">
<div class="col-lg-12">
<form action="" method="get" class="col-md-6">
<input type="hidden" name="c" value="site" />
<input type="hidden" name="a" value="entry" />
<input type="hidden" name="m" value="zh_cjdianc" />
<input type="hidden" name="do" value="rzcheck" />
<div class="input-group" style="width: 300px">
<input type="text" name="keywords" class="form-control" placeholder="请输入门店名称">
<span class="input-group-btn">
<input type="submit" class="btn btn-default" name="submit" value="查找"/>
</span>
</div>
<input type="hidden" name="token" value="{$_W['token']}"/>
</form>
</div><!-- /.col-lg-6 -->
</div>
<div class="main">
<div class="panel panel-default">
<div class="panel-heading">
入驻审核管理
</div>
<div class="panel-body" style="padding: 0 15px;">
<div class="row">
<table class="yg5_tabel col-md-12">
<tr class="yg5_tr1">
<td class="store_td1 col-md-1">门店名称</td>
<td class="col-md-1">联系人</td>
<td class="col-md-1">联系人电话</td>
<td class="col-md-2">地址</td>
<td class="col-md-3">简介</td>
<td class="col-md-1">状态</td>
<td class="col-md-2">操作</td>
</tr>
{loop $list $key $item}
<tr class="yg5_tr2">
<td class="store_td1">{$item['name']}</td>
<td>{$item['link_name']}</td>
<td>{$item['link_tel']}</td>
<td>{$item['address']}</td>
<td style="padding:10px 20px 0; ">{$item['details']}</td>
{if $item['state']==1}
<td >
<span class="label storered">待审核</span>
</td >
{elseif $item['state']==2}
<td >
<span class="label storeblue">已通过</span>
</td>
{elseif $item['state']==3}
<td >
<span class="label storegrey">已拒绝</span>
</td>
{elseif $item['state']==4}
<td >
<span class="label storegrey">已到期</span>
</td>
{/if}
<td>
{if $item['state']==1}
<a class="btn ygyouhui2 btn-xs" href="{php echo $this->createWebUrl('rzcheck',array('id'=>$item['id'],'op'=>'adopt'))}" >通过</a>
<a class="btn storegrey2 btn-xs" href="{php echo $this->createWebUrl('rzcheck', array('id' => $item['id'],'op'=>'reject'))}" title="拒绝">拒绝</a>
{/if}
<!-- <a class="btn btn-danger btn-xs" href="{php echo $this->createWebUrl('attestation', array('id' => $item['id'],'op'=>'delete'))}" onclick="return confirm('确认删除吗?');return false;" title="删除">删</a> -->
<a href="{php echo $this->createWebUrl('rzcheckinfo',array('id'=>$item['id']));}" class="storespan btn btn-xs">
<span class="fa fa-pencil"></span>
<span class="bianji">编辑
<span class="arrowdown"></span>
</span>
</a>
<a class="storespan btn btn-xs" href="{php echo $this->createWebUrl('rzcheck', array('id' => $item['id'],'op'=>'delete'))}" onclick="return confirm('确认删除吗?');return false;">
<span class="fa fa-trash-o"></span>
<span class="bianji">删除
<span class="arrowdown"></span>
</span>
</a>
</td>
</td>
</tr>
{/loop}
{if empty($list)}
<tr class="yg5_tr2">
<td colspan="9">
暂无入驻信息
</td>
</tr>
{/if}
</table>
</div>
</div>
</div>
</div>
<div class="text-right we7-margin-top">
{$pager}
</div>
<script type="text/javascript">
$(function(){
$("#frame-0").show();
$("#yframe-0").addClass("wyactive");
})
</script>
{template 'common/footer'}