<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="YC_Collect.aspx.cs" Inherits="YCHR.Web.admin.collect.YC_Collect" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>采集设置</title>
      
    <link rel="stylesheet" href="../images/style.css" type="text/css" />
    <script type="text/javascript" src="../js/jquery.js"></script>
    <script type="text/javascript" src="../js/jquery.validate.min.js"></script>
    <script type="text/javascript" src="../js/messages_cn.js"></script>
    <script type="text/javascript" src="../js/cursorfocus.js"></script>
    <script type="text/javascript" src="<%=tempconfig.templatetheme %>/js/core.com.js"></script>
    <script type="text/javascript" src="<%=tempconfig.templatetheme %>/js/selectdata.js"></script>
    <script type="text/javascript" src="<%=tempconfig.templatetheme %>/js/jobsearch.js"></script>
    <link href="../images/system.css" rel="stylesheet" type="text/css" />
    <script>
        $(function () {
            $('#name_jplaceid').bindArea({
                max: 1,
                formInputName: 'jplaceid'
            });
            $('#name_cplaceid').bindArea({
                max: 1,
                formInputName: 'cplaceid'
            });
            //行业
            $('#name_ctradeid').bindCalling({
                max: 1,
                formInputName: 'ctradeid'
            });
            //行业2
            $('#name_jtradeid').bindCalling({
                max: 1,
                formInputName: 'jtradeid'
            });
            //职位类别
            $('#name_positionid').bindJobsort({
                max: 1,
                formInputName: 'positionid'
            }); 
           
        }); 
    </script>
    <script type="text/javascript">
        $(function () {
            //表单验证JS
            $("#form1").validate({
                //出错时添加的标签
                errorElement: "span",
                success: function (label) {
                    //正确时的样式
                    label.text(" ").addClass("success");
                }
            });
        });

        //Tab控制函数
        function tabs(tabId, tabNum) {
            //设置点击后的切换样式
            $(tabId + " .tab_nav li").removeClass("selected");
            $(tabId + " .tab_nav li").eq(tabNum).addClass("selected");
            //根据参数决定显示内容
            $(tabId + " .panels").hide();
            $(tabId + " .panels").eq(tabNum).show();
        }
    </script>
    <style type="text/css">
        .checkbox
        {
            height: 14px;
        }
        .radio, .checkbox
        {
            border: none;
            background: none;
            vertical-align: middle;
        }
    </style>
</head>
<body style="padding: 10px;">
    <form id="form1" runat="server">
    <input id="jtradeid" runat="server" name="jplaceid" type="hidden" />
    <div class="navigation">
        <b>您当前的位置：首页 &gt; 采集管理 &gt; 数据采集设置</b></div>
    <div style="padding-bottom: 10px;">
    </div>
    <div id="contentTab">
        <ul class="tab_nav">
            <li class="selected"><a onclick="tabs('#contentTab',0);" href="javascript:;">采集基本设置</a></li>
            <li><a onclick="tabs('#contentTab',1);" href="javascript:void(0);">企业/职位采集设置</a></li>
            <li><a onclick="tabs('#contentTab',2);" href="javascript:void(0);">新闻资讯采集设置</a></li>
        </ul>
        <div class="panels" style="display: block;">
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="msgtable">
                <tbody>
                    <tr>
                        <td width="25%" class="wleft" align="right">
                            开启采集接口：
                        </td>
                        <td>
                            <asp:RadioButtonList ID="radioisclosecollect" runat="server" RepeatDirection="Horizontal">
                                <asp:ListItem Selected="True" Value="1">关闭</asp:ListItem>
                                <asp:ListItem Value="0">开启</asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
        <div class="panels" style="display: none;">
            <div class="toptitle">
                归属设置</div>
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="msgtable">
                <tbody>
                    <tr>
                        <td align="right" class="wleft">
                            企业性质归属为：
                        </td>
                        <td>
                            <select id="companynatureSelect" runat="server" class="select" name="companynatureSelect">
                                <option selected="" value="">选择公司性质</option>
                                <option value="1">国有企业</option>
                                <option value="2">集体企业</option>
                                <option value="3">外商独资</option>
                                <option value="4">中外合资</option>
                                <option value="5">民营企业</option>
                                <option value="6">股份制企业</option>
                                <option value="7">行政机关</option>
                                <option value="8">社会团体</option>
                                <option value="9">事业单位</option>
                                <option value="10">其他</option>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" class="wleft">
                            企业行业归属为：
                        </td>
                        <td>
                            <input id="name_ctradeid" runat="server" class="input" name="name_ctradeid" type="text"
                                value="" /><asp:HiddenField ID="ctradeid" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td align="right" class="wleft">
                            企业驻地归属为：
                        </td>
                        <td>
                            <input id="name_cplaceid" runat="server" class="input" name="name_cplaceid" type="text"
                                value="" />
                            <input id="cplaceid" runat="server" name="cplaceid" type="hidden" />
                        </td>
                    </tr>
                    <tr>
                        <td align="right" class="wleft">
                            职位职能归属为：
                        </td>
                        <td>
                            <input id="name_positionid" runat="server" class="input" name="name_positionid" type="text"
                                value="" runat="server" />
                            <input id="positionid" runat="server" name="positionid" type="hidden" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td align="right" class="wleft">
                            工作地点归属为：
                        </td>
                        <td>
                            <input id="name_jplaceid" runat="server" class="input" name="name_jplaceid" type="text"
                                value="" />
                            <input id="jplaceid" runat="server" name="jplaceid" type="hidden" />
                        </td>
                    </tr>
                    <tr>
                        <td align="right" class="wleft">
                            企业规模归属为：
                        </td>
                        <td>
                            <asp:DropDownList ID="dropcompanysize" class="select" runat="server">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" class="wleft">
                            职位类型归属为：
                        </td>
                        <td>
                            <asp:RadioButtonList ID="type" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
                                <asp:ListItem Selected="True" Value="1">全职</asp:ListItem>
                                <asp:ListItem Value="2">兼职</asp:ListItem>
                                <asp:ListItem Value="3">全兼职皆可</asp:ListItem>
                                <asp:ListItem Value="4">应届毕业生</asp:ListItem>
                            </asp:RadioButtonList>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td align="right" class="wleft">
                            学历要求归属为:
                        </td>
                        <td>
                            <select id="EduSelect" class="select valid" name="EduSelect" runat="server">
                                <option selected="selected" value="0">不限</option>
                                <option value="1">初中</option>
                                <option value="2">高中</option>
                                <option value="3">中技</option>
                                <option value="4">中专</option>
                                <option value="5">大专</option>
                                <option value="6">本科</option>
                                <option value="7">硕士</option>
                                <option value="8">博士</option>
                                <option value="9">其他</option>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" class="wleft">
                            工作经归属为:
                        </td>
                        <td>
                            <select class="select valid" id="workageSelect" name="workageSelect" runat="server">
                                <option value="0">不限</option>
                                <option value="1">在读学生</option>
                                <option value="2">应届毕业生</option>
                                <option value="3" selected="selected">一年以上</option>
                                <option value="4">二年以上</option>
                                <option value="5">三年以上</option>
                                <option value="6">五年以上</option>
                                <option value="7">八年以上</option>
                                <option value="8">十年以上</option>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" class="wleft">
                            设置职位有效天数：
                        </td>
                        <td>
                            <asp:TextBox ID="txtdaymin" runat="server" CssClass="input  required number" size="25"
                                MaxLength="5"></asp:TextBox>
                            &nbsp;到
                            <asp:TextBox ID="txtdaymax" runat="server" CssClass="input  required number" size="25"
                                MaxLength="5"></asp:TextBox>
                            &nbsp;的随机数
                        </td>
                    </tr>
                </tbody>
            </table>
            <div class="toptitle">
                匹配设置</div>
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="msgtable">
                <tbody>
                    <tr>
                        <td align="right" class="wleft">
                            注册资金无法匹配则为：
                        </td>
                        <td>
                            <input id="registered" class="input" maxlength="6" name="registered" tabindex="4"
                                type="text" value="" style="width: 70px;" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td align="right" class="wleft">
                            性别无法匹配则为：
                        </td>
                        <td>
                            <asp:RadioButtonList ID="sex" RepeatDirection="Horizontal" class=" valid" name="sex"
                                runat="server">
                                <asp:ListItem Selected="selected" Value="2">不限</asp:ListItem>
                                <asp:ListItem Value="1">男性</asp:ListItem>
                                <asp:ListItem Value="0">女性</asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" class="wleft">
                            招聘人数无法匹配则为：
                        </td>
                        <td>
                            <asp:TextBox ID="txtamoutmin" runat="server" CssClass="input  required number" size="25"
                                MaxLength="5"></asp:TextBox>
                            &nbsp;到
                            <asp:TextBox ID="txtamoutmax" runat="server" CssClass="input  required number" size="25"
                                MaxLength="5"></asp:TextBox>
                            的随机数
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
        <div class="panels" style="display: none;">
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="msgtable">
                <tbody>
                    <tr>
                        <td width="25%" class="wleft" align="right">
                            资讯发布默认点击数：
                        </td>
                        <td>
                            <asp:TextBox ID="hitsmin" runat="server" CssClass="input  required number" size="25"
                                MaxLength="5"></asp:TextBox>
                            &nbsp;到
                            <asp:TextBox ID="hitsmax" runat="server" CssClass="input  required number" size="25"
                                MaxLength="5"></asp:TextBox>
                            &nbsp;的随机数
                        </td>
                    </tr>
                    <tr>
                        <td width="25%" class="wleft" align="right">
                            资讯发布默认是否正常显示：
                        </td>
                        <td>
                            <asp:RadioButtonList ID="radionewsislock" runat="server" RepeatDirection="Horizontal">
                                <asp:ListItem Selected="True" Value="1">不显示</asp:ListItem>
                                <asp:ListItem Value="0">正常显示</asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
        <div style="margin-top: 10px; text-align: center;">
            <asp:Button ID="btnSave" runat="server" Text="确认保存" CssClass="submit" OnClick="btnSave_Click" />
            &nbsp;
            <input name="重置" type="reset" class="submit" value="重置" />
        </div>
    </div>
    </form>
</body>
</html>
