first commit
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
<#def designatedPath="/works/materialCatList.htm"/>
|
||||
${zhiqim_manager_breadcrumb ("分类管理")}
|
||||
|
||||
<div class="content">
|
||||
<#-- 导航栏 -->
|
||||
<div data-role="z-tabnav" class="z-tabnav-main z-mg-b20 z-blue">
|
||||
<nav>
|
||||
<ul>
|
||||
<#if ZmrPathRule.check(request, "/works/materialCatList.htm")><li class="z-active">分类管理</li></#if>
|
||||
<#if ZmrPathRule.check(request, "/works/materialContList.htm")><li onclick="Z.Location.href('/works/materialContList.htm');">素材管理</li></#if>
|
||||
</ul>
|
||||
<div class="z-text-right z-mg-t10 z-mg-r5">
|
||||
<button class="z-button z-h30 ${zmr_color_class}" onclick="Z.Location.href('/works/materialCatAdd.htm');"><i class="z-font z-add"></i> 增加分类</button>
|
||||
<button class="z-button ${zmr_color_class}" onclick="Z.Location.check('/works/materialCatModify.htm', 'catId');"><i class="z-font z-modify"></i>修改分类</button>
|
||||
<button class="z-button z-red" onclick="Z.L.confirm('/works/materialCatDelete.htm', '是否删除该分类?', 'catId');"><i class="z-font z-delete"></i>删除分类</button>
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<table class="z-table z-bordered z-text-center z-pd6 z-bg-white">
|
||||
<tr class="z-text-center z-h40" bgcolor="${zmr_thead_bgcolor}">
|
||||
<td width="10%">选择</td>
|
||||
<td width="15%">分类编码</td>
|
||||
<td width="*">名称</td>
|
||||
<td width="15%">状态</td>
|
||||
<td width="15%">序号</td>
|
||||
</tr>
|
||||
<#if result.size() == 0>
|
||||
${zhiqim_manager_no_record(5, "暂时没有分类信息")}
|
||||
</#if>
|
||||
<#for item : result>
|
||||
<tr valign="middle" bgcolor=<#if item_index % 2 == 0>${zmr_tr_odd_bgcolor}<#else>${zmr_tr_even_bgcolor}</#if> class="z-text-center z-h60">
|
||||
<td><input name="catId" type="radio" data-role="z-radio" data-class="z-blue" value="${item.getCatId()}"></td>
|
||||
<td>${item.getCatId()}</td>
|
||||
<td>${item.getCatName()}</td>
|
||||
<td><#if item.getCatStatus() == 0>正常<#else><font class="z-text-red">停用</font></#if></td>
|
||||
<td>${item.getCatSeq()}</td>
|
||||
</tr>
|
||||
</#for>
|
||||
</table>
|
||||
${zhiqim_manager_list(result.size())}
|
||||
</div>
|
||||
Reference in New Issue
Block a user