59 lines
2.4 KiB
Plaintext
59 lines
2.4 KiB
Plaintext
<#def designatedPath="/industryList.htm"/>
|
|
${zhiqim_manager_breadcrumb("行业管理")}
|
|
${zhiqim_manager_content()}
|
|
${sweet_alert_reuse_method()}
|
|
<script>
|
|
function refreshIndustry(){
|
|
var ajax = new Z.Ajax();
|
|
ajax.setClassName("DesignIndustryCache");
|
|
ajax.setMethodName("doRefreshIndustry");
|
|
ajax.setFailureAlert();
|
|
ajax.setSuccess(function(){
|
|
swal({title:"操作成功",type:"success",timer: 1000,width:300,showConfirmButton:false}).then(function(){
|
|
location.reload();
|
|
});
|
|
});
|
|
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>
|
|
<#if ZmrPathRule.check(request, "/businessParam.htm")><li onclick="Z.L.href('/businessParam.htm');">公共参数</li></#if>
|
|
<li class="z-active">行业管理</li>
|
|
<#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>
|
|
</ul>
|
|
<div class="z-text-right z-mg-t10 z-mg-r5">
|
|
<button class="z-button ${zmr_color_class}" onclick="refreshIndustry();"><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="120">行业Id</td>
|
|
<td width="10%">行业名称</td>
|
|
<td width="*">关键字</td>
|
|
<td width="80">关键字</td>
|
|
<td width="8%">序号</td>
|
|
</tr>
|
|
<#if Lists.size(industryList) == 0>
|
|
${zhiqim_manager_no_record(6, "暂时没有行业信息")}
|
|
</#if>
|
|
<#for item : industryList>
|
|
<tr class="z-pointer" ${zhiqim_manager_tr_onmouse()} ${zhiqim_manager_tr_click_radio()}>
|
|
<td><input id="industryId" name="industryId" type="radio" data-role="z-radio" data-class="${zmr_color_class}" value="${item.getIndustryId()}"></td>
|
|
<td>${item.getIndustryId()}</td>
|
|
<td>${item.getIndustryName()}</td>
|
|
<td>${item.getIndustryKeywords()}</td>
|
|
<td><#if item.isEnabled()>正常<#else><span class="z-text-red">停用</span></#if></td>
|
|
<td>${item.getIndustrySeq()}</td>
|
|
</tr>
|
|
</#for>
|
|
</table>
|
|
${zhiqim_manager_content_end()} |