dispatchProperty.zml 4.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. ${zhiqim_manager_breadcrumb("派单属性")}
  2. ${zhiqim_manager_content()}
  3. <#-- 导航栏 -->
  4. <div class="z-tabnav-main z-mg-b20 ${zmr_color_class}">
  5. <nav>
  6. <ul>
  7. <li class="z-active">派单属性</li>
  8. <#if ZmrPathRule.check(request, "/designerGroup.htm")><li onclick="Z.L.href('designerGroup.htm');">接单条件组</li></#if>
  9. <#if ZmrPathRule.check(request, "/designerGroupDispatch.htm")><li onclick="Z.L.href('designerGroupDispatch.htm');">设计师接单</li></#if>
  10. <#if ZmrPathRule.check(request, "/onlineLog.htm")><li onclick="Z.L.href('onlineLog.htm');">在线设计师</li></#if>
  11. <#if ZmrPathRule.check(request, "/workSearchLog.htm")><li onclick="Z.L.href('workSearchLog.htm');">工作日志</li></#if>
  12. <#if ZmrPathRule.check(request, "/desOnlineTimeLog.htm")><li onclick="Z.L.href('desOnlineTimeLog.htm');">接单时长</li></#if>
  13. </ul>
  14. <div class="z-float-left z-mg10 z-lh30">
  15. <form name="theForm" action="/dispatchProperty.htm">
  16. <select name="operatorStatus" class="z-float-left z-select z-w100" data-role="z-select" data-class="zi-bd-r-none ${zmr_color_class}" onchange="this.form.submit();">
  17. <option value="">全部状态</option>
  18. <option value="0" <#if operatorStatus == 0>selected</#if>>正常</option>
  19. <option value="1" <#if operatorStatus == 1>selected</#if>>停用</option>
  20. </select>
  21. <input class="z-float-left z-input ${zmr_color_class} z-w100" name="operatorCode" value="${operatorCode}" placeholder="设计师"/>
  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. <button class="z-float-left z-button z-mg-l10" type="button" onclick="Z.Forms.clearForm(this.form);">清空</button>
  24. </form>
  25. </div>
  26. </nav>
  27. </div>
  28. <div class="z-float-right z-mg-t10 z-mg-r5 z-mg-b6">
  29. <button class="z-button ${zmr_color_class}" onclick="Z.Location.href('/dispatchPropertyAdd.htm');"><i class="z-font z-add"></i>增加派单属性</button>
  30. <button class="z-button ${zmr_color_class}" onclick="Z.Location.check('/dispatchPropertyModify.htm', 'operatorCode');"><i class="z-font z-modify"></i>修改派单属性</button>
  31. <button class="z-button z-red" onclick="Z.Location.confirm('/dispatchPropertyDelete.htm', '确认要删除该设计师与行业关系信息?','operatorCode');"><i class="z-font z-delete"></i>删除派单属性</button>
  32. </div>
  33. <table class="z-table z-bordered z-bg-white z-pd5">
  34. <tr>
  35. <td class="z-h40 z-text-left z-bold z-px14 z-bg-white" colspan="12">&nbsp;派单属性列表</td>
  36. </tr>
  37. <tr class="z-text-center z-h40" bgcolor="${zmr_thead_bgcolor}">
  38. <td width="3%">选择</td>
  39. <td width="6%">设计师</td>
  40. <td width="8%">所属组织</td>
  41. <td width="6%">主类型</td>
  42. <td width="8%">副类型</td>
  43. <td width="8%">主行业</td>
  44. <td width="*">副行业</td>
  45. <td width="5%">级别</td>
  46. <td width="8%">关联店铺</td>
  47. <td width="90">创建时间</td>
  48. <td width="90">更新时间</td>
  49. </tr>
  50. <#if pageResult.total() == 0>
  51. ${zhiqim_manager_no_record(13, "暂时没有设计师派单属性信息")}
  52. </#if>
  53. <#for item : pageResult.list()>
  54. <tr align="center" class="z-h40" ${zhiqim_manager_tr_onmouse()} ${zhiqim_manager_tr_click_radio()}>
  55. <td><input name="operatorCode" id="operatorCode" data-role="z-radio" data-class="${zmr_color_class}" type="radio" value="${item.getOperatorCode()}"></td>
  56. <td>${item.getOperatorCode()}</td>
  57. <td>${ZmrOrgDao.getOrgName(request, item.getOrgId())}</td>
  58. <td><#if typeMap.containsKey(item.getMajorType())>${typeMap.get(item.getMajorType()).getTypeName()}</#if></td>
  59. <td>
  60. <#if Validates.isNotEmpty(item.getSecondaryTypes())>
  61. <#var typeList = Lists.toLongList(item.getSecondaryTypes())/>
  62. <#for typeId : typeList>
  63. <#if typeMap.containsKey(typeId)>${typeMap.get(typeId).getTypeName()}</#if>
  64. <#if typeList.size() - 1 != typeId_index>-</#if>
  65. </#for>
  66. </#if>
  67. </td>
  68. <td><#if industryMap.containsKey(item.getMajorIndustry())>${industryMap.get(item.getMajorIndustry()).getIndustryName()}</#if></td>
  69. <td>
  70. <#if Validates.isNotEmpty(item.getSecondaryIndustrys())>
  71. <#var industryList = Lists.toLongList(item.getSecondaryIndustrys())/>
  72. <#for industry :industryList>
  73. <#if industryMap.containsKey(industry)>${industryMap.get(industry).getIndustryName()}</#if>
  74. <#if industryList.size() - 1 != industry_index>,</#if>
  75. </#for>
  76. </#if>
  77. </td>
  78. <td>
  79. <#if item.getDesignerLevel()==0>普通</#if>
  80. <#if item.getDesignerLevel()==1>高级</#if>
  81. </td>
  82. <td>${item.getShopNick()}</td>
  83. <td>${item.getCreateTime()}</td>
  84. <td>${item.getUpdateTime()}</td>
  85. </tr>
  86. </#for>
  87. </table>
  88. ${zhiqim_manager_paging(pageResult, "/dispatchProperty.htm")}
  89. ${zhiqim_manager_content_end()}