industryList.zml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <#def designatedPath="/industryList.htm"/>
  2. ${zhiqim_manager_breadcrumb("行业管理")}
  3. ${zhiqim_manager_content()}
  4. ${sweet_alert_reuse_method()}
  5. <script>
  6. function refreshIndustry(){
  7. var ajax = new Z.Ajax();
  8. ajax.setClassName("DesignIndustryCache");
  9. ajax.setMethodName("doRefreshIndustry");
  10. ajax.setFailureAlert();
  11. ajax.setSuccess(function(){
  12. swal({title:"操作成功",type:"success",timer: 1000,width:300,showConfirmButton:false}).then(function(){
  13. location.reload();
  14. });
  15. });
  16. ajax.execute();
  17. }
  18. </script>
  19. <#-- 导航 -->
  20. <div data-role="z-tabnav" class="z-tabnav-main z-mg-b20 ${zmr_color_class}">
  21. <nav>
  22. <ul>
  23. <#if ZmrPathRule.check(request, "/designTypeList.htm")><li onclick="Z.L.href('/designTypeList.htm');">产品类型</li></#if>
  24. <#if ZmrPathRule.check(request, "/businessParam.htm")><li onclick="Z.L.href('/businessParam.htm');">公共参数</li></#if>
  25. <li class="z-active">行业管理</li>
  26. <#if ZmrPathRule.check(request, "/checkBackReasonList.htm")><li onclick="Z.L.href('/checkBackReasonList.htm');">审稿退回原因</li></#if>
  27. <#if ZmrPathRule.check(request, "/designOrderRefundReason.htm")><li onclick="Z.L.href('/designOrderRefundReason.htm');">退款原因类型配置</li></#if>
  28. <li onclick="Z.L.href('/designStandardList.htm');">行为规范</li>
  29. </ul>
  30. <div class="z-text-right z-mg-t10 z-mg-r5">
  31. <button class="z-button ${zmr_color_class}" onclick="refreshIndustry();"><i class="z-font z-add"></i>刷新行业</button>
  32. </div>
  33. </nav>
  34. </div>
  35. <#-- 列表 -->
  36. <table class="z-table z-bordered z-h40-tr z-pd5 z-bg-white z-text-center">
  37. <tr bgcolor="${zmr_thead_bgcolor}">
  38. <td width="80">选择</td>
  39. <td width="120">行业Id</td>
  40. <td width="10%">行业名称</td>
  41. <td width="*">关键字</td>
  42. <td width="80">关键字</td>
  43. <td width="8%">序号</td>
  44. </tr>
  45. <#if Lists.size(industryList) == 0>
  46. ${zhiqim_manager_no_record(6, "暂时没有行业信息")}
  47. </#if>
  48. <#for item : industryList>
  49. <tr class="z-pointer" ${zhiqim_manager_tr_onmouse()} ${zhiqim_manager_tr_click_radio()}>
  50. <td><input id="industryId" name="industryId" type="radio" data-role="z-radio" data-class="${zmr_color_class}" value="${item.getIndustryId()}"></td>
  51. <td>${item.getIndustryId()}</td>
  52. <td>${item.getIndustryName()}</td>
  53. <td>${item.getIndustryKeywords()}</td>
  54. <td><#if item.isEnabled()>正常<#else><span class="z-text-red">停用</span></#if></td>
  55. <td>${item.getIndustrySeq()}</td>
  56. </tr>
  57. </#for>
  58. </table>
  59. ${zhiqim_manager_content_end()}