59 lines
2.6 KiB
Plaintext
59 lines
2.6 KiB
Plaintext
${sweet_alert_reuse_method()}
|
|
${zhiqim_manager_breadcrumb("公共参数")}
|
|
${zhiqim_manager_content()}
|
|
|
|
<script>
|
|
function doUpdateBusinessParamValue(form){
|
|
var ajax = new Z.Ajax();
|
|
ajax.setContextPath("${context.getContextPath()}");
|
|
ajax.setClassName("BasePresenter");
|
|
ajax.setMethodName("doUpdateBusinessParamValue");
|
|
ajax.setParamForm(form);
|
|
ajax.setFailureAlert();
|
|
ajax.setSuccess(function(){
|
|
swal({title : "修改成功",type : "success",timer: 1000,width:300,showConfirmButton:false});
|
|
});
|
|
ajax.setLoading(document);
|
|
ajax.execute();
|
|
}
|
|
</script>
|
|
|
|
<#-- 导航 -->
|
|
<div data-role="z-tabnav" class="z-tabnav-main z-mg-b20 ${zmr_color_class}">
|
|
<nav>
|
|
<ul>
|
|
<#if ZmrPathRule.check(request, "/designTypeList.htm")><li onclick="Z.L.href('/designTypeList.htm');">产品类型</li></#if>
|
|
<li class="z-active">公共参数</li>
|
|
<#if ZmrPathRule.check(request, "/industryList.htm")><li onclick="Z.L.href('/industryList.htm');">行业管理</li></#if>
|
|
<#if ZmrPathRule.check(request, "/checkBackReasonList.htm")><li onclick="Z.L.href('/checkBackReasonList.htm');">审稿退回原因</li></#if>
|
|
<#if ZmrPathRule.check(request, "/designOrderRefundReason.htm")><li onclick="Z.L.href('/designOrderRefundReason.htm');">退款原因类型配置</li></#if>
|
|
<li onclick="Z.L.href('/designStandardList.htm');">行为规范</li>
|
|
</ul>
|
|
</nav>
|
|
</div>
|
|
|
|
<#for group : ParamDao.doQueryBusinessParam().entrySet()>
|
|
<table class="z-table z-bordered z-pd10 <#if group_index gt 0>z-mg-t10</#if> z-bg-white">
|
|
${zhiqim_manager_tr_title(4, "业务参数["+group.getKey()+"]列表")}
|
|
<tr class="z-h40" bgcolor="${zmr_thead_bgcolor}">
|
|
<td width="400">业务配置描述</td>
|
|
<td width="400">业务配置值</td>
|
|
<td width="*">操作</td>
|
|
</tr>
|
|
${zhiqim_manager_tr_no_record(group.getValue(), 3, "暂时没有业务参数信息")}
|
|
</table>
|
|
<#for item : group.getValue().values()>
|
|
<form name="theForm${group_index}_${item_index}" method="post" onsubmit="return false;" data-role="z-call-frame">
|
|
<input name="paramGroup" type="hidden" value="${item.getParamGroup()}">
|
|
<input name="paramKey" type="hidden" value="${item.getParamKey()}">
|
|
<table class="z-table z-bd-b z-bordered zi-bd-t-none z-h60-tr z-pd10" bgcolor="${zhiqim_manager_tr_bg(item_index)}">
|
|
<tr>
|
|
<td width="400">${item.getParamDesc()}</td>
|
|
<td width="400"><input name="paramValue" class="z-input z-w100p zi-h40 ${zmr_color_class}" value="${item.getParamValue()}" maxlength="800"></td>
|
|
<td width="*"><button type="submit" class="z-button" onclick="doUpdateBusinessParamValue(this.form);">修改</button></td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
</#for>
|
|
</#for>
|
|
${zhiqim_manager_content_end()} |