labelAttribute.zml 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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 onclick="Z.Location.href('labelAttributeCat.htm');">标签属性</li>
  9. <li class="z-active">标签属性值</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('/labelAttribute.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('labelAttributeAdd.htm');"><i class="z-font z-add"></i>添加标签属性值</button>
  27. <button class="z-button ${zmr_color_class}" onclick="Z.Location.check('labelAttributeModify.htm', 'attributeId');"><i class="z-font z-modify"></i>修改标签属性值</button>
  28. <button class="z-button z-red" onclick="Z.Location.confirm('labelAttributeDelete.htm', '确认要删除该标签吗?', 'attributeId');"><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="20%">属性值名称</td>
  41. <td width="15%">创建时间</td>
  42. </tr>
  43. <#if pageResult.total() == 0>
  44. ${zhiqim_manager_no_record(4 "暂时没有标签属性信息")}
  45. </#if>
  46. <#for item : pageResult.list()>
  47. <tr align="center" class="z-h40" ${zhiqim_manager_tr_onmouse()} ${zhiqim_manager_tr_click_radio()}>
  48. <td><input name="attributeId" id="attributeId" data-role="z-radio" data-class="${zmr_color_class}" type="radio" value="${item.getAttributeId()}"></td>
  49. <td>
  50. <#for industry : industryList>
  51. <#if item.getIndustryId() == industry.getIndustryId()>${industry.getIndustryName()} </#if>
  52. </#for>
  53. </td>
  54. <td>${LabelPresenter.doAttributeCatName(item.getAttributeCatId())}</td>
  55. <td>${item.getAttributeName()}</td>
  56. <td>${Sqls.toDateTimeString(item.getCreateTime())}</td>
  57. </tr>
  58. </#for>
  59. </table>
  60. ${zhiqim_manager_paging(pageResult, "/labelAttribute.htm")}
  61. ${zhiqim_manager_content_end()}