labelAttributeCat.zml 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. ${zhiqim_manager_breadcrumb("标签属性分类")}
  2. ${zhiqim_manager_content()}
  3. <#-- 属性分类栏 -->
  4. <div class="z-tabnav-main z-blue z-mg-b20">
  5. <nav>
  6. <ul>
  7. <li onclick="Z.Location.href('labelIndustry.htm');">标签行业</li>
  8. <li class="z-active">标签属性</li>
  9. <li onclick="Z.Location.href('labelAttribute.htm');">标签属性值</li>
  10. <!--
  11. <li onclick="Z.Location.href('labelBrand.htm');">标签品牌</li>
  12. -->
  13. </ul>
  14. <div class="z-float-left z-mg10 z-lh30">
  15. <form name="theForm">
  16. <select name="industryId" id="industryId" class="z-select z-w100 z-float-left" data-role="z-select" data-class="${zmr_color_class}" onchange="Z.L.href('/labelAttributeCat.htm?industryId=' + this.value)">
  17. <option value="">全部</option>
  18. <#for item : industryList>
  19. <option value="${item.getIndustryId()}" <#if item.getIndustryId() == industryId>selected </#if>>${item.getIndustryName()}</option>
  20. </#for>
  21. </select>
  22. <button class="z-float-left z-button z-w80 zi-bd-rd0 z-blue"><i class="z-font z-query"></i>查询</button>&nbsp;&nbsp;
  23. </form>
  24. </div>
  25. <div class="z-text-right z-mg-t10 z-mg-r5">
  26. <button class="z-button ${zmr_color_class}" onclick="Z.Location.href('/labelAttributeCatAdd.htm');"><i class="z-font z-add"></i>增加标签属性</button>
  27. <button class="z-button ${zmr_color_class}" onclick="Z.Location.check('/labelAttributeCatModify.htm', 'attributeCatId');"><i class="z-font z-modify"></i>修改标签属性</button>
  28. <button class="z-button z-red" onclick="Z.Location.confirm('/labelAttributeCatDelete.htm', '确认要删除标签属性分类?', 'attributeCatId');"><i class="z-font z-delete"></i>删除标签属性</button>
  29. </div>
  30. </nav>
  31. </div>
  32. <table class="z-table z-bordered z-bg-white z-pd6">
  33. <tr>
  34. <td class="z-h40 z-text-left z-bold z-px14 z-bg-white" colspan="4">&nbsp;标签属性列表</td>
  35. </tr>
  36. <tr class="z-text-center z-h40" bgcolor="${zmr_thead_bgcolor}">
  37. <td width="5%">选择</td>
  38. <td width="20%">行业名称</td>
  39. <td width="20%">属性名称</td>
  40. <td width="5%">创建时间 </td>
  41. </tr>
  42. <#if pageResult.total() == 0>
  43. ${zhiqim_manager_no_record(4 "暂时没有标签属性信息")}
  44. </#if>
  45. <#for item : pageResult.list()>
  46. <tr align="center" class="z-h40" ${zhiqim_manager_tr_onmouse()} ${zhiqim_manager_tr_click_radio()}>
  47. <td><input name="attributeCatId" id="attributeCatId" data-role="z-radio" data-class="${zmr_color_class}" type="radio" value="${item.getAttributeCatId()}"></td>
  48. <td>
  49. <#for industry : industryList>
  50. <#if item.getIndustryId() == industry.getIndustryId()>${industry.getIndustryName()} </#if>
  51. </#for>
  52. </td>
  53. <td>${item.getAttributeCatName()}</td>
  54. <td>${Sqls.toDateTimeString(item.getCreateTime())}</td>
  55. </tr>
  56. </#for>
  57. </table>
  58. ${zhiqim_manager_paging(pageResult, "/labelAttributeCat.htm")}
  59. ${zhiqim_manager_content_end()}