first commit
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
<script>
|
||||
function doSelect()
|
||||
{
|
||||
var industryId = Z("#parentIndustryId").val();
|
||||
var industryName = Z("#parentIndustryName").val();
|
||||
parent.doShowSubIndustry(industryId, industryName);
|
||||
parent.doShowSubAttribute(industryId, industryName);
|
||||
parent.Z.Dialog.close();
|
||||
}
|
||||
|
||||
function doSearchIndustry(industryKeywords)
|
||||
{
|
||||
var ajax = new Z.Ajax();
|
||||
ajax.setClassName("WorksPresenter");
|
||||
ajax.setMethodName("doSearchIndustry");
|
||||
ajax.addParam("industryKeywords", industryKeywords);
|
||||
ajax.setFailureAlert();
|
||||
ajax.setSuccess(function(responseText)
|
||||
{
|
||||
Z("#industry").html(responseText);
|
||||
});
|
||||
ajax.execute();
|
||||
}
|
||||
</script>
|
||||
<#-- 查询 -->
|
||||
<form action="industrySelect.htm" method="post">
|
||||
<div class="z-absolute z-w100p z-h55 z-bg-gray z-pd10" style="top:0;left:0">
|
||||
<input id="industryKeywords" name="industryKeywords" style="width:250px" class="z-input fi-h35 fi-bd-r-none" placeholder="行业关键字查找" value="${industryKeywords}" maxlength="20" onkeyup="doSearchIndustry(this.value);"><button type="submit" class="z-button z-w60 z-h35 fi-bd-rd0 ${zmr_color_class}"><i class="z-font z-query"></i></button>
|
||||
</div>
|
||||
</form>
|
||||
<#-- 列表 -->
|
||||
<input type="hidden" id="parentIndustryId" value="">
|
||||
<input type="hidden" id="parentIndustryName" value="">
|
||||
|
||||
<div id="industry">
|
||||
<div class="z-pd10 z-overflow-auto" style="margin-top:55px;height:285px;">
|
||||
<table class="z-table z-bordered z-h40 z-bg-white">
|
||||
<tr class="z-text-center z-h40 z-bg-gray">
|
||||
<td width="20%">选择</td>
|
||||
<td class="z-pd6" width="30%">行业名称</td>
|
||||
</tr>
|
||||
|
||||
<#for item : searchIndustryList>
|
||||
<tr class="z-text-center z-h40">
|
||||
<td><input type="radio" name="parentIndustry" data-class="${zmr_color_class}" data-role="z-radio" data-class="z-blue" onclick="Z('#parentIndustryId').val(this.value);Z('#parentIndustryName').val('${item.getIndustryName()}')" value="${item.getIndustryId()}"></td>
|
||||
<td>${item.getIndustryName()}</td>
|
||||
</tr>
|
||||
</#for>
|
||||
</tale>
|
||||
</div>
|
||||
|
||||
<#-- 操作 -->
|
||||
<div class="z-absolute z-w100p z-h60 z-text-center z-bg-gray z-pd10" style="bottom:0;left:0">
|
||||
<button type="button" class="z-button z-large z-w120 z-blue" onclick="doSelect();">选择</button>
|
||||
<button type="button" class="z-button z-large z-w100 z-mg-l10" onclick="parent.Z.Dialog.close(location.hash);">取消</button>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user