86 lines
3.2 KiB
Plaintext
86 lines
3.2 KiB
Plaintext
<#def designatedPath="/designOrderRefundReason.htm"/>
|
|
${zhiqim_manager_breadcrumb("设计师退款问题类型配置")}
|
|
${zhiqim_manager_content()}
|
|
|
|
<script>
|
|
function add()
|
|
{
|
|
var dialog = new Z.Dialog();
|
|
dialog.title = "退款原因配置";
|
|
dialog.url = "/designOrderRefundReasonAdd.htm";
|
|
dialog.width = 500;
|
|
dialog.height = 300;
|
|
dialog.execute();
|
|
}
|
|
|
|
function deleteOne()
|
|
{
|
|
var id = Z.FM.getChecked("id");
|
|
Z.confirm("您确定要删除该记录吗?", function()
|
|
{
|
|
var ajax = new Z.Ajax();
|
|
ajax.setClassName("DesignOrderPresenter");
|
|
ajax.setMethodName("designOrderRefundReasonDelete");
|
|
ajax.addParam(id);
|
|
ajax.setFailureAlert();
|
|
ajax.setSuccess(function(){
|
|
Z.success("删除成功",function(){parent.location.reload();});
|
|
});
|
|
ajax.execute();
|
|
});
|
|
}
|
|
function update()
|
|
{
|
|
|
|
var id = Z.FM.getChecked("id");
|
|
var dialog = new Z.Dialog();
|
|
dialog.title = "修改退款原因";
|
|
dialog.url = "/designOrderRefundReasonModify.htm?id="+id;
|
|
dialog.width = 500;
|
|
dialog.height = 300;
|
|
dialog.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>
|
|
<#if ZmrPathRule.check(request, "/businessParam.htm")><li onclick="Z.L.href('/businessParam.htm');">公共参数</li></#if>
|
|
<#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>
|
|
<li class="z-active">退款原因类型配置</li>
|
|
<li onclick="Z.L.href('/designStandardList.htm');">行为规范</li>
|
|
</ul>
|
|
</nav>
|
|
</div>
|
|
<table class="z-table z-bordered z-bg-white z-pd6">
|
|
<tr>
|
|
<td class="z-h40 z-text-left z-bold z-px18 z-bg-white" colspan="6">
|
|
<div class="" style="margin-right:80px;float:right">
|
|
<button class="z-button z-blue" style="padding:7px 30px 7px 30px" onclick="add();">新增</button>
|
|
<button class="z-button z-blue" style="padding:7px 30px 7px 30px;margin:auto 15px auto 15px" onclick="update();">修改</button>
|
|
<button class="z-button z-red" style="padding:7px 30px 7px 30px" onclick="deleteOne();">删除</button>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="z-text-center z-h40" bgcolor="${zmr_thead_bgcolor}">
|
|
<td width="10%">选择</td>
|
|
<td width ="70%" >标题</td>
|
|
<td width ="20%">最后一次修改时间</td>
|
|
</tr>
|
|
<#if pageResult.total() == 0>
|
|
${zhiqim_manager_no_record(6 "暂时没有配置退款原因")}
|
|
</#if>
|
|
<#for item : pageResult.list()>
|
|
<tr align="center" class="z-h40" ${zhiqim_manager_tr_onmouse()} ${zhiqim_manager_tr_click_radio()}>
|
|
<td><input name="id" id="id" data-role="z-radio" data-class="${zmr_color_class}" type="radio" value="${item.getId()}"></td>
|
|
<td>${item.getTitle()}</td>
|
|
<td>${Sqls.toDateTimeString(item.getUpdateTime())}</td>
|
|
</tr>
|
|
</#for>
|
|
</table>
|
|
${zhiqim_manager_paging(pageResult, "/designOrderRefundReason.htm")}
|
|
${zhiqim_manager_content_end()} |