Files
ziqim/Yangcai365_web/manage/zview/sys/performanceParameter.zml
T
2025-02-20 14:59:35 +08:00

86 lines
5.4 KiB
Plaintext

${zhiqim_manager_breadcrumb("设计绩效参数")}
${zhiqim_manager_content()}
<#-- 导航 -->
<div data-role="z-tabnav" class="z-tabnav-main z-mg-b20 ${zmr_color_class}">
<nav>
<ul>
<li onclick="Z.L.href('/orderConvertList.htm');">订单折算参数</li>
<li onclick="Z.L.href('specialOrderTypeList.htm');">特殊订单绩效参数</li>
<li onclick="Z.L.href('refundParameter.htm');">退款绩效参数</li>
<li class="z-active">设计绩效参数</li>
<li onclick="Z.L.href('qcParameter.htm');">质检参数</li>
<li onclick="Z.L.href('/qcAwardedType.htm');">质检加分管理</li>
<li onclick="Z.L.href('/qcPerformanceParam.htm');">质检绩效参数</li>
<li onclick="Z.L.href('/timelinessParameterList.htm');">时效绩效参数</li>
</ul>
<div class="z-float-left z-mg10">
<form name="theForm" action="performanceParameter.htm" method="post">
<input id="validDate" type="hidden" name="validDate" value="${validDate}">
<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()">
<#for yyyy : 2017..DateTimes.getCurrentYear()>
<option value="${yyyy}" <#if year == yyyy || (year == null && yyyy == DateTimes.getCurrentYear())>selected</#if>>${yyyy}</option>
</#for>
</select>年
<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()">
<#for mm : 1..12>
<option value="<#if mm lt 10>0${mm}<#else>${mm}</#if>" <#if (month == null && mm == DateTimes.getCurrentMonth()) || mm == month>selected</#if>>${mm}</option>
</#for>
</select>月
</form>
</div>
<div class="z-text-right z-mg-t10 z-mg-r5">
<button class="z-button ${zmr_color_class}" onclick="Z.L.href('performanceParameterAdd.htm');"><i class="z-font z-add"></i>增加设计绩效参数</button>
</div>
</nav>
</div>
<#-- 列表 -->
<table class="z-table z-bordered z-h40-tr z-pd5 z-bg-white z-text-center">
<tr bgcolor="${zmr_thead_bgcolor}">
<td width="80">选择</td>
<td width="12%">组织</td>
<td width="100">角色</td>
<td width="10%">试一级单价/单数</td>
<td width="10%">试二级单价/单数</td>
<td width="10%">正三级单价/单数</td>
<td width="10%">正四级单价/单数</td>
<td width="10%">正五级单价/单数</td>
<td width="*">正六级单价/单数</td>
<td width="200">操作</td>
</tr>
${zhiqim_manager_tr_no_record(count, 10, "暂时没有设计绩效参数")}
<#for entry : dataMap.entrySet()>
<#var list = entry.getValue()/>
<#for item : list>
<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')">
<#if list.size() gt 1>
<#if item_index==0>
<td rowspan="${list.size()}" ><input id="orgId" name="orgId" type="radio" data-role="z-radio" data-class="${zmr_color_class}" value="${item.getOrgId()}"></td>
<td rowspan="${list.size()}" class="zi-bd-l">${ZmrOrgDao.getOrgName(request, item.getOrgId())}</td>
</#if>
<#else>
<td rowspan="${list.size()}" ><input id="orgId" name="orgId" type="radio" data-role="z-radio" data-class="${zmr_color_class}" value="${item.getOrgId()}"></td>
<td rowspan="${list.size()}" class="zi-bd-l">${ZmrOrgDao.getOrgName(request, item.getOrgId())}</td>
</#if>
<td class="zi-bd-l"><#if item.getPriceType()==1>设计组<#else>设计师</#if></td>
<td>${Amounts.toYuan(item.getPriceLevel1())}<span class=" z-mg-l6 z-text-gray"><#if item.getLevel1MaxCount() gt 0>( 0-${item.getLevel1MaxCount()}单)</#if></span></td>
<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>
<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>
<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>
<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>
<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>
<td>
<#if DateTimes.compareDay(item.getValidDate(), DateTimes.getFirstMonthDay()) gte 0 >
<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>
</#if>
</td>
</tr>
</#for>
</#for>
</table>
${zhiqim_manager_paging(pageResult, "performanceParameter.htm")}
${zhiqim_manager_content_end()}