performanceParameter.zml 5.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. ${zhiqim_manager_breadcrumb("设计绩效参数")}
  2. ${zhiqim_manager_content()}
  3. <#-- 导航 -->
  4. <div data-role="z-tabnav" class="z-tabnav-main z-mg-b20 ${zmr_color_class}">
  5. <nav>
  6. <ul>
  7. <li onclick="Z.L.href('/orderConvertList.htm');">订单折算参数</li>
  8. <li onclick="Z.L.href('specialOrderTypeList.htm');">特殊订单绩效参数</li>
  9. <li onclick="Z.L.href('refundParameter.htm');">退款绩效参数</li>
  10. <li class="z-active">设计绩效参数</li>
  11. <li onclick="Z.L.href('qcParameter.htm');">质检参数</li>
  12. <li onclick="Z.L.href('/qcAwardedType.htm');">质检加分管理</li>
  13. <li onclick="Z.L.href('/qcPerformanceParam.htm');">质检绩效参数</li>
  14. <li onclick="Z.L.href('/timelinessParameterList.htm');">时效绩效参数</li>
  15. </ul>
  16. <div class="z-float-left z-mg10">
  17. <form name="theForm" action="performanceParameter.htm" method="post">
  18. <input id="validDate" type="hidden" name="validDate" value="${validDate}">
  19. <select class="z-select z-w100" id="year" data-role="z-select" data-class="${zmr_color_class}" onchange="Z('#validDate').val(this.value +'-' + Z('#month').val() +'-01');this.form.submit()">
  20. <#for yyyy : 2017..DateTimes.getCurrentYear()>
  21. <option value="${yyyy}" <#if year == yyyy || (year == null && yyyy == DateTimes.getCurrentYear())>selected</#if>>${yyyy}</option>
  22. </#for>
  23. </select>年
  24. <select class="z-select z-w100" id="month" data-role="z-select" data-class="${zmr_color_class}" onchange="Z('#validDate').val(Z('#year').val() +'-' + this.value +'-01');this.form.submit()">
  25. <#for mm : 1..12>
  26. <option value="<#if mm lt 10>0${mm}<#else>${mm}</#if>" <#if (month == null && mm == DateTimes.getCurrentMonth()) || mm == month>selected</#if>>${mm}</option>
  27. </#for>
  28. </select>月
  29. </form>
  30. </div>
  31. <div class="z-text-right z-mg-t10 z-mg-r5">
  32. <button class="z-button ${zmr_color_class}" onclick="Z.L.href('performanceParameterAdd.htm');"><i class="z-font z-add"></i>增加设计绩效参数</button>
  33. </div>
  34. </nav>
  35. </div>
  36. <#-- 列表 -->
  37. <table class="z-table z-bordered z-h40-tr z-pd5 z-bg-white z-text-center">
  38. <tr bgcolor="${zmr_thead_bgcolor}">
  39. <td width="80">选择</td>
  40. <td width="12%">组织</td>
  41. <td width="100">角色</td>
  42. <td width="10%">试一级单价/单数</td>
  43. <td width="10%">试二级单价/单数</td>
  44. <td width="10%">正三级单价/单数</td>
  45. <td width="10%">正四级单价/单数</td>
  46. <td width="10%">正五级单价/单数</td>
  47. <td width="*">正六级单价/单数</td>
  48. <td width="200">操作</td>
  49. </tr>
  50. ${zhiqim_manager_tr_no_record(count, 10, "暂时没有设计绩效参数")}
  51. <#for entry : dataMap.entrySet()>
  52. <#var list = entry.getValue()/>
  53. <#for item : list>
  54. <tr <#if item_index==0> id="tr${item.getOrgId()}" ${zhiqim_manager_tr_click_radio()} <#else> onclick="Z('#tr${item.getOrgId()}').click()" </#if> class="z-pointer onmounse${item.getOrgId()}" onmouseover="Z('tr.onmounse${item.getOrgId()}').css('background-color', '#f3fdfc')" onmouseout="Z('tr.onmounse${item.getOrgId()}').css('background-color', '#ffffff')">
  55. <#if list.size() gt 1>
  56. <#if item_index==0>
  57. <td rowspan="${list.size()}" ><input id="orgId" name="orgId" type="radio" data-role="z-radio" data-class="${zmr_color_class}" value="${item.getOrgId()}"></td>
  58. <td rowspan="${list.size()}" class="zi-bd-l">${ZmrOrgDao.getOrgName(request, item.getOrgId())}</td>
  59. </#if>
  60. <#else>
  61. <td rowspan="${list.size()}" ><input id="orgId" name="orgId" type="radio" data-role="z-radio" data-class="${zmr_color_class}" value="${item.getOrgId()}"></td>
  62. <td rowspan="${list.size()}" class="zi-bd-l">${ZmrOrgDao.getOrgName(request, item.getOrgId())}</td>
  63. </#if>
  64. <td class="zi-bd-l"><#if item.getPriceType()==1>设计组<#else>设计师</#if></td>
  65. <td>${Amounts.toYuan(item.getPriceLevel1())}<span class=" z-mg-l6 z-text-gray"><#if item.getLevel1MaxCount() gt 0>( 0-${item.getLevel1MaxCount()}单)</#if></span></td>
  66. <td>${Amounts.toYuan(item.getPriceLevel2())}<span class=" z-mg-l6 z-text-gray"><#if item.getLevel2MaxCount() gt 0>(${item.getLevel1MaxCount()+1}-${item.getLevel2MaxCount()}单)</#if></span></td>
  67. <td>${Amounts.toYuan(item.getPriceLevel3())}<span class=" z-mg-l6 z-text-gray"><#if item.getLevel3MaxCount() gt 0>(${item.getLevel2MaxCount()+1}-${item.getLevel3MaxCount()}单)</#if></span></td>
  68. <td>${Amounts.toYuan(item.getPriceLevel4())}<span class=" z-mg-l6 z-text-gray"><#if item.getLevel4MaxCount() gt 0>(${item.getLevel3MaxCount()+1}-${item.getLevel4MaxCount()}单)</#if></span></td>
  69. <td>${Amounts.toYuan(item.getPriceLevel5())}<span class=" z-mg-l6 z-text-gray"><#if item.getLevel5MaxCount() gt 0>(${item.getLevel4MaxCount()+1}-${item.getLevel5MaxCount()}单)</#if></span></td>
  70. <td>${Amounts.toYuan(item.getPriceLevel6())}<span class=" z-mg-l6 z-text-gray"><#if item.getLevel6MaxCount() gt 0>(${item.getLevel5MaxCount()+1}-${item.getLevel6MaxCount()}单)</#if></span></td>
  71. <td>
  72. <#if DateTimes.compareDay(item.getValidDate(), DateTimes.getFirstMonthDay()) gte 0 >
  73. <button class="z-button ${zmr_color_class}" onclick="Z.L.href('performanceParameterModify.htm?validDate=${item.getValidDate()}&orgId=${item.getOrgId()}&priceType=${item.getPriceType()}');"><i class="z-font z-modify"></i>修改参数</button>
  74. </#if>
  75. </td>
  76. </tr>
  77. </#for>
  78. </#for>
  79. </table>
  80. ${zhiqim_manager_paging(pageResult, "performanceParameter.htm")}
  81. ${zhiqim_manager_content_end()}