📄 searchcateoperation.js
字号:
var footerCols = 8;
//设置顶部列表
function SetTopList()
{
var topTbl = document.getElementById( "TblTopList" );
var topIDs = GetTopAreaIDs();
var topNames = GetTopAreaNames();
CreateEventAryList( topTbl,topIDs,topNames,topCols,"AreaSelectedRadio","h15" );
}
//设置底部列表
function SetOtherList()
{
var otherTbl = document.getElementById( "TblOtherList" );
var otherIDs = GetOtherAreaIDs();
var otherNames = GetOtherAreaNames();
CreateEventAryList( otherTbl,otherIDs,otherNames,otherCols,"AreaSelectedRadio","h15" );
}
//设置底部列表
function SetFooterList()
{
var footerTbl = document.getElementById( "TblFooterList" );
var footerIDs = GetFooterAreaIDs();
var footerNames = GetFooterAreaNames();
CreateEventAryList( footerTbl,footerIDs,footerNames,footerCols,"AreaSelectedRadio","h15" );
}
/**********************************************************************/
//搜索前根据规则验证
//取职业或公司关键字
function BtnQuickSearch_Click()
{
var key = document.all("txtKey").value;
document.all("HidKey").value = key;
//搜职位模式
if( document.all("HidSearchType").value == "0" )
{
var occIDs = document.all("HidOccIDs").value;
//选大类没选小类
if( occIDs == "" || occIDs == 255 || occIDs == null )
{
document.all("HidOccValue").value = document.all("HidPOccIDs").value;
document.all("HidOccParentValue").value = document.all("HidPOccParentIDs").value;
document.all("HidOccNameValue").value = document.all("HidPOccNames").value;
}
else//选定了大类下的小类
{
document.all("HidOccValue").value = occIDs;
document.all("HidOccParentValue").value = document.all("HidOccParentIDs").value;
document.all("HidOccNameValue").value = document.all("HidOccNames").value;
}
//以上任何一种情况,父名称列表都取大类的名称
document.all("HidOccParentNameValue").value = document.all("HidPOccNames").value;
//取地区
var locParentID = "";
var locName = "";
var locID = document.all("HidAreaIDs").value;
if( locID != null && locID != "" )
{
locParentID = document.all("HidAreaParentIDs").value;
locName = document.all("HidAreaNames").value;
}
else
locID = "";
document.all("HidLocValue").value = locID;
document.all("HidLocParentValue").value = locParentID;
document.all("HidLocNameValue").value = locName;
var orgKey = '-请您输入职位关键词-';
var isPass = ValidateOccSearchCondition( document.all("HidOccValue").value,key,orgKey );
if( isPass )
{
document.all("txtKey").value = "";
return true;
}
else
return false;
}
else//搜索公司模式---取公司关键字
{
var orgKey = '-请您输入公司关键词-';
return ValidateCompanyKeySearchCondition( key,orgKey );
}
}
/*
处理未申请一条记录的申请
*/
function SetApplyID( jobID )
{
if( jobID != 0 )
window.open("JobApply/Apply.aspx?jid=" + jobID + "&prj=cvfavorite","","","");
}
/*************************************** MyResumeList ********************************************/
//控制高级搜索提示
function MyResumeList_ShowLayer(obj)
{
if( obj.style.display == "" )
obj.style.display = "none";
else
{
//var obj = document.all("dvAdvanceSearch");
GetMouseXY_ForLayer(obj);
obj.style.display = "";
}
}
function CreateAreaDiv(obj)
{
var text = "";
text += '<iframe id="FrmArea" name="FrmCate"></iframe>';
text += '<div class="ly1">';
text += ' <div class="mhead" onmousedown="public_DownMouse($(\'dvArea\'))">';
text += ' <div class="left">';
text += ' </div>';
text += ' <div class="center">';
text += ' <h4 class="tit">';
text += ' 选择地区分类</h4>';
text += ' <div class="close">';
text += ' <a href="#" onclick="CloseDVArea();">[关闭]</a></div>';
text += ' </div>';
text += ' <div class="right">';
text += ' </div>';
text += ' </div>';
text += ' <div class="mcontent">';
text += ' <div class="mbody">';
text += ' <div class="con">';
text += ' <div class="bar">';
text += ' <table id="TblTopList">';
text += ' </table>';
text += ' </div>';
text += ' <div class="bar bar2">';
text += ' <b>A - G</b></div>';
text += ' <table class="tb">';
text += ' <tr>';
text += ' <th>';
text += ' <a href="#" onclick="AreaSelectedRadio(9000,9000,\'安徽\')">安徽</a></th>';
text += ' <td>';
text += ' <a href="#" onclick="AreaSelectedRadio(9000,65,\'合肥\')">合肥</a> <a href="#" onclick="AreaSelectedRadio(9000,9040,\'安庆\')">';
text += ' 安庆</a> <a href="#" onclick="AreaSelectedRadio(9000,9030,\'蚌埠\')">蚌埠</a> <a href="#"';
text += ' onclick="AreaSelectedRadio(9000,9020,\'芜湖\')">芜湖</a></td>';
text += ' </tr>';
text += ' <tr>';
text += ' <th>';
text += ' <a href="#" onclick="AreaSelectedRadio(30000,30000,\'北京\')">北京</a></th>';
text += ' <td>';
text += ' </td>';
text += ' </tr>';
text += ' <tr>';
text += ' <th>';
text += ' <a href="#" onclick="AreaSelectedRadio(33000,33000,\'重庆\')">重庆</a></th>';
text += ' <td>';
text += ' </td>';
text += ' </tr>';
text += ' <tr>';
text += ' <th>';
text += ' <a href="#" onclick="AreaSelectedRadio(10000,10000,\'福建\')">福建</a></th>';
text += ' <td>';
text += ' <a href="#" onclick="AreaSelectedRadio(10000,35,\'福州\')">福州</a> <a href="#" onclick="AreaSelectedRadio(10000,10030,\'泉州\')">';
text += ' 泉州</a> <a href="#" onclick="AreaSelectedRadio(10000,155,\'厦门\')">厦门</a> <a href="#"';
text += ' onclick="AreaSelectedRadio(10000,10040,\'漳州\')">漳州</a></td>';
text += ' </tr>';
text += ' <tr>';
text += ' <th>';
text += ' <a href="#" onclick="AreaSelectedRadio(16000,16000,\'广东\')">广东</a></th>';
text += ' <td>';
text += ' <a href="#" onclick="AreaSelectedRadio(16000,40,\'广州\')">广州</a> <a href="#" onclick="AreaSelectedRadio(16000,16010,\'潮州\')">';
text += ' 潮州</a> <a href="#" onclick="AreaSelectedRadio(16000,225,\'东莞\')">东莞</a> <a href="#"';
text += ' onclick="AreaSelectedRadio(16000,16050,\'佛山\')">佛山</a> <a href="#" onclick="AreaSelectedRadio(16000,16020,\'惠州\')">';
text += ' 惠州</a> <a href="#" onclick="AreaSelectedRadio(16000,16030,\'清远\')">清远</a>';
text += ' <a href="#" onclick="AreaSelectedRadio(16000,117,\'汕头\')">汕头</a> <a href="#" onclick="AreaSelectedRadio(16000,125,\'深圳\')">';
text += ' 深圳</a> <a href="#" onclick="AreaSelectedRadio(16000,16040,\'顺德\')">顺德</a> <a href="#"';
text += ' onclick="AreaSelectedRadio(16000,16060,\'湛江\')">湛江</a> <a href="#" onclick="AreaSelectedRadio(16000,16080,\'肇庆\')">';
text += ' 肇庆</a> <a href="#" onclick="AreaSelectedRadio(16000,16070,\'中山\')">中山</a>';
text += ' <a href="#" onclick="AreaSelectedRadio(16000,180,\'珠海\')">珠海</a> <a href="#" onclick="AreaSelectedRadio(16000,16090,\'江门\')">';
text += ' 江门</a></td>';
text += ' </tr>';
text += ' <tr>';
text += ' <th>';
text += ' <a href="#" onclick="AreaSelectedRadio(24000,24000,\'甘肃\')">甘肃</a></th>';
text += ' <td>';
text += ' <a href="#" onclick="AreaSelectedRadio(24000,85,\'兰州\')">兰州</a> <a href="#" onclick="AreaSelectedRadio(24000,24020,\'嘉峪关\')">';
text += ' 嘉峪关</a> <a href="#" onclick="AreaSelectedRadio(24000,24030,\'酒泉\')">酒泉</a></td>';
text += ' </tr>';
text += ' <tr>';
text += ' <th>';
text += ' <a href="#" onclick="AreaSelectedRadio(17000,17000,\'广西\')">广西</a></th>';
text += ' <td>';
text += ' <a href="#" onclick="AreaSelectedRadio(17000,105,\'南宁\')">南宁</a> <a href="#" onclick="AreaSelectedRadio(17000,17040,\'北海\')">';
text += ' 北海</a> <a href="#" onclick="AreaSelectedRadio(17000,42,\'桂林\')">桂林</a> <a href="#"';
text += ' onclick="AreaSelectedRadio(17000,17020,\'柳州\')">柳州</a> <a href="#" onclick="AreaSelectedRadio(17000,17050,\'玉林\')">';
text += ' 玉林</a></td>';
text += ' </tr>';
text += ' <tr>';
text += ' <th>';
text += ' <a href="#" onclick="AreaSelectedRadio(20000,20000,\'贵州\')">贵州</a></th>';
text += ' <td>';
text += ' <a href="#" onclick="AreaSelectedRadio(20000,45,\'贵阳\')">贵阳</a> <a href="#" onclick="AreaSelectedRadio(20000,20020,\'遵义\')">';
text += ' 遵义</a></td>';
text += ' </tr>';
text += ' </table>';
text += ' <div class="bar bar2">';
text += ' <b>H - N</b></div>';
text += ' <table class="tb">';
text += ' <tr>';
text += ' <th>';
text += ' <a href="#" onclick="AreaSelectedRadio(1000,1000,\'河北\')">河北</a></th>';
text += ' <td>';
text += ' <a href="#" onclick="AreaSelectedRadio(1000,130,\'石家庄\')">石家庄</a> <a href="#" onclick="AreaSelectedRadio(1000,7,\'保定\')">';
text += ' 保定</a> <a href="#" onclick="AreaSelectedRadio(1000,1070,\'承德\')">承德</a> <a href="#"';
text += ' onclick="AreaSelectedRadio(1000,53,\'邯郸\')">邯郸</a> <a href="#" onclick="AreaSelectedRadio(1000,1080,\'廊坊\')">';
text += ' 廊坊</a> <a href="#" onclick="AreaSelectedRadio(1000,1030,\'秦皇岛\')">秦皇岛</a>';
text += ' <a href="#" onclick="AreaSelectedRadio(1000,1020,\'唐山\')">唐山</a> <a href="#" onclick="AreaSelectedRadio(1000,1060,\'张家口\')">';
text += ' 张家口</a></td>';
text += ' </tr>';
text += ' <tr>';
text += ' <th>';
text += ' <a href="#" onclick="AreaSelectedRadio(13000,13000,\'河南\')">河南</a></th>';
text += ' <td>';
text += ' <a href="#" onclick="AreaSelectedRadio(13000,175,\'郑州\')">郑州</a> <a href="#" onclick="AreaSelectedRadio(13000,78,\'开封\')">';
text += ' 开封</a> <a href="#" onclick="AreaSelectedRadio(13000,92,\'洛阳\')">洛阳</a></td>';
text += ' </tr>';
text += ' <tr>';
text += ' <th>';
text += ' <a href="#" onclick="AreaSelectedRadio(18000,18000,\'海南\')">海南</a></th>';
text += ' <td>';
text += ' <a href="#" onclick="AreaSelectedRadio(18000,50,\'海口\')">海口</a> <a href="#" onclick="AreaSelectedRadio(18000,18020,\'三亚\')">';
text += ' 三亚</a></td>';
text += ' </tr>';
text += ' <tr>';
text += ' <th>';
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -