designerProfile.zml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. ${zhiqim_manager_breadcrumb("简介审核")}
  2. ${zhiqim_manager_content()}
  3. <script>
  4. function doProfileReview(state,operatorCode){
  5. Z.confirm("确认" + (state == 3 ? "通过" : "退回") + "审核?", function(){
  6. var ajax = new Z.Ajax();
  7. ajax.setClassName("DesignerProfilePresenter");
  8. ajax.setMethodName("doProfileReview");
  9. ajax.addParam("state",state);
  10. ajax.addParam("operatorCode",operatorCode);
  11. ajax.setFailureAlert();
  12. ajax.setSuccess(function()
  13. {
  14. parent.Z.tips("审核成功");
  15. location.reload();
  16. });
  17. ajax.execute();
  18. });
  19. }
  20. </script>
  21. <#-- 导航 -->
  22. <div data-role="z-tabnav" class="z-tabnav-main z-mg-b20 ${zmr_color_class}">
  23. <nav>
  24. <ul>
  25. <li onclick="Z.L.href('designerManage.htm');">设计师管理</li>
  26. <li onclick="Z.L.href('onlineLog.htm');">在线设计师</li>
  27. <li onclick="Z.L.href('workSearchLog.htm');">工作日志</li>
  28. <li onclick="Z.L.href('desOnlineTimeLog.htm');">接单时长</li>
  29. <li class="z-active">数据审核</li>
  30. </ul>
  31. </nav>
  32. </div>
  33. <#-- 列表 -->
  34. <div class="z-tabnav-main z-blue z-mg-b5">
  35. <nav>
  36. <ul>
  37. <li onclick="Z.L.href('designerReg.htm');">注册审核</li>
  38. <li class="z-active" >简介审核</li>
  39. <li onclick="Z.L.href('designerWorks.htm');">作品审核</li>
  40. </ul>
  41. </nav>
  42. </div>
  43. <table class="z-table z-bordered z-h40-tr z-pd6 z-bg-white z-text-center">
  44. <tr bgcolor="${zmr_thead_bgcolor}">
  45. <td width="200">设计师</td>
  46. <td width="*">审核内容</td>
  47. <td width="200">提交时间</td>
  48. <td width="150">操作</td>
  49. </tr>
  50. ${zhiqim_manager_tr_no_record(pageResult, 39, "暂时没有介绍信息")}
  51. <#for item : pageResult.list()>
  52. <tr>
  53. <td>${item.getOperatorCode()}</td>
  54. <td>${item.getPersonalProfile()}</td>
  55. <td>${Sqls.toDateTimeString(item.getAddTime())}</td>
  56. <td>
  57. <button type="button" class="z-button z-blue" onclick="doProfileReview(3,'${item.getOperatorCode()}')">通过</button>
  58. <button type="button" class="z-button" onclick="doProfileReview(2,'${item.getOperatorCode()}')">退回</button>
  59. </td>
  60. </tr>
  61. </#for>
  62. </table>
  63. ${zhiqim_manager_paging(pageResult, "/designerProfile.htm")}
  64. ${zhiqim_manager_content_end()}