chengkun
2025-04-18 1bb985f32f2efe0f9dd69f3cf29a1c809b1cf96d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
{yun:}include file="$comstyle/header.htm"{/yun}
 
<script src="{yun:}$com_style{/yun}/js/part.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<script src="{yun:}$config.sy_weburl{/yun}/js/class.public.js?v={yun:}$config.cachecode{/yun}" type="text/javascript"></script>
 
<link rel="stylesheet" href="{yun:}$style{/yun}/style/class.public.css?v={yun:}$config.cachecode{/yun}" type="text/css"/>
 
<div class="w1000">
    <div class="admin_mainbody">
        {yun:}include file="$comstyle/left.htm"{/yun}
        <div class="com_tit"><span class="com_tit_span">兼职管理</span> {yun:}if $rows{/yun}
            <div class="com_topbth_box">
                <input class="com_topbth" style="width:108px;border:none; text-align: left;" onclick="jobadd_url('{yun:}$addjobnum{/yun}','{yun:}$config.integral_job{/yun}','part','{yun:}$config.com_integral_online{/yun}','{yun:}$config.integral_proportion{/yun}');" type="button" value="发布兼职" name="input" style="margin-left:0px;">
 
                {yun:}if $i_know_part == 0{/yun}
                <div class="com_topbth_zh" id="i_know">
                    <div class="com_topbth_zh_pd">
                        温馨小提示
                        <div class="">
                        你的账号,可发布 {yun:}if $statis.vip_etime>$todayStart || $statis.vip_etime=="0"{/yun}{yun:}if $statis.rating_type==1{/yun}{yun:}$statis.job_num{/yun}{yun:}else{/yun}不限{yun:}/if{/yun}{yun:}else{/yun}0{yun:}/if{/yun} 个职位
                        {yun:}if !empty($jobNum) || !empty($partNum) || !empty($ltjobNum){/yun}</div>
                        <div class="">现已发布: 
                            {yun:}if !empty($jobNum){/yun}
                            {yun:}$jobNum{/yun} 个全职职位
                            {yun:}/if{/yun}
                            {yun:}if !empty($partNum){/yun}
                            {yun:}$partNum{/yun} 个兼职职位
                            {yun:}/if{/yun}
                            {yun:}if !empty($ltjobNum){/yun}
                            {yun:}$ltjobNum{/yun} 个猎头职位
                            {yun:}/if{/yun}
                        </div>
                        {yun:}/if{/yun}
                    </div>
                    <div class="com_topbth_zh_bot"><a href="javascript:void(0);" onclick="i_know('part')">知道了</a></div>
                </div>
                {yun:}/if{/yun}
            </div>
            {yun:}/if{/yun}
        </div>
        <div class="new_com_tit">
            <div class="job_list_tit">
                <ul class="">
                    <li {yun:}if $smarty.get.w=="1" {/yun}class="job_list_tit_cur" {yun:}/if{/yun}>
                        <a href="index.php?c=partok&w=1" title="招聘中的兼职">招聘中</a>
                    </li>
                    <li {yun:}if $smarty.get.w=="0" {/yun} class="job_list_tit_cur" {yun:}/if{/yun}>
                        <a href="index.php?c=partok&w=0" title="待审核的兼职">待审核</a>
                    </li>
                    <li {yun:}if $smarty.get.w=="3" {/yun} class="job_list_tit_cur" {yun:}/if{/yun}>
                        <a href="index.php?c=partok&w=3" title="未通过的兼职">未通过</a>
                    </li>
                    <li {yun:}if $smarty.get.w=="2" {/yun} class="job_list_tit_cur" {yun:}/if{/yun}>
                        <a href="index.php?c=partok&w=2" title="过期的兼职">已过期</a>
                    </li>
                    <li {yun:}if $smarty.get.c=="part" {/yun} class="job_list_tit_cur" {yun:}/if{/yun}>
                        <a href="index.php?c=part" title="全部兼职">全部兼职</a>
                    </li>
                </ul>
            </div>
        </div>
        <div class=right_box>
            <div class=admincont_box>
 
                <div class="clear"></div>
 
                <div class="com_body">
 
                    <div class="clear"></div>
 
                    <div class="com_Release_job">
                        <iframe id="supportiframe" name="supportiframe" onload="returnmessage('supportiframe');" style="display:none"></iframe>
                        <form action="index.php" target="supportiframe" method="get" id='myform' class='layui-form'>
                            <input type="hidden" name="c" value="part"/>
                            <input type="hidden" name="act" value="del"/>
 
                            <table class="com_table mt20">
                                <tr>
                                    <th>&nbsp;</th>
                                    <th>职位名称</th>
                                    <th width="80">报名人数</th>
                                    <th width="80">浏览量</th>
                                    <th width="170">时间</th>
                                    <th> 推荐</th>
                                    <th width="200"> 操作</th>
                                </tr>
 
                                {yun:}foreach item=list from=$rows{/yun}
                                <tr>
                                    <td width="30"><input type="checkbox" name="del[]" value="{yun:}$list.id{/yun}" class="com_job_list_check" lay-skin='primary'></td>
                                    <td style="padding-left: 0px;;">
                                        <a href="{yun:}url m=part c=show id='`$list.id`'{/yun}" class="yun_m_jobname_a" target="_blank">{yun:}$list.name{/yun}</a>
                                        <span class="jzzt">{yun:}$list.end_n{/yun}</span>
                                    </td>
 
                                    <td align="center">
                                        <a href="index.php?c=partapply&jobid={yun:}$list.id{/yun}" class=" "> <strong class="job_list_list_left_u">{yun:}$list.applynum{/yun}</strong>人</a>
                                    </td>
 
                                    <td align="center">{yun:}$list.hits{/yun}</td>
 
                                    <td align="center">
                                        <div class="part_time_p">
                                            更新日期:{yun:}$list.lastupdate|date_format:'%Y-%m-%d'{/yun}
                                        </div>
                                    </td>
 
                                    <td align="center">
                                        {yun:}if $list.rec_time>time(){/yun}
                                            {yun:}if $config.tg_back == 1{/yun}
                                                <div class="part_tg yun_m_joblist_extension_cur">
                                                    <a href="javascript:void(0);" onclick="closeJobPromote('{yun:}$list.id{/yun}','{yun:}$list.rec_time|date_format:'%Y-%m-%d'{/yun}', '{yun:}$list.rec_day{/yun}', 4)" class="yun_m_joblist_extension_bth"></a>
                                                </div>
                                            {yun:}else{/yun}
                                                <div class="part_tg yun_m_joblist_extension_cur">
                                                    <a href="javascript:void(0);" onclick="jobPromote('{yun:}$list.id{/yun}','{yun:}$list.rec_time|date_format:'%Y-%m-%d'{/yun}', 4)" class="yun_m_joblist_extension_bth"></a>
                                                </div>
                                            {yun:}/if{/yun}
                                        {yun:}else{/yun}
                                            <div class="part_tg">
                                                <a href="javascript:void(0);" onclick="jobPromote('{yun:}$list.id{/yun}','', 4)" class="yun_m_joblist_extension_bth"></a>
                                            </div>
                                        {yun:}/if{/yun}
                                    </td>
 
                                    <td align="center">
                                        <a href="index.php?c=partadd&id={yun:}$list.id{/yun}" class=" com_bth cblue">修改</a>
                                        <a onclick="layer_del('确定要删除?', 'index.php?c=part&act=del&id={yun:}$list.id{/yun}');" href="javascript:void(0)" class="com_bth cblue">删除</a>
                                        <a href="javascript:void(0)" onclick="refreshPart('{yun:}$list.id{/yun}','');" class=" com_bth cblue">刷新</a>
                                    </td>
                                </tr>
                                {yun:}foreachelse{/yun}
                                <tr>
                                    <td colspan="9" class="table_end">
                                        <div class="msg_no">
                                            <p>亲,您还没有发布兼职职位哦~</p>
                                            <a href="javascript:;" onclick="jobadd_url('{yun:}$addjobnum{/yun}','{yun:}$config.integral_job{/yun}','part','{yun:}$config.com_integral_online{/yun}','{yun:}$config.integral_proportion{/yun}');" class="com_msg_no_bth com_submit">发布兼职职位</a>
                                        </div>
                                    </td>
                                </tr>
                                {yun:}/foreach{/yun}
                                {yun:}if !empty($rows){/yun}
                                <tr>
                                    <td colspan="8" class="">
                                        <div class="com_Release_job_bot ">
                                            <span class="com_Release_job_qx">
                                            <input id='checkAll' type="checkbox" lay-filter='allcom' class="com_Release_job_qx_check" lay-skin='primary'> 全选</span>
                                            <input class="c_btn_02 c_btn_02_w110" type="button" value="批量延长有效期" onclick="allgotime();">
                                            <input class="c_btn_02 c_btn_02_w110" type="button" value="批量刷新职位" onclick="return refreshPart('','del[]');">
                                            <input class="c_btn_02 c_btn_02_w110" type="button" value="批量删除" onclick="return really('del[]');">
                                        </div>
                                        <div class="diggg">{yun:}$pagenav{/yun}</div>
                                    </td>
                                </tr>
                                {yun:}/if{/yun}
                            </table>
                        </form>
 
                        <div class="clear"></div>
                        <div class="wxts_box wxts_box_mt30">
                            <div class="wxts">温馨提示:</div>
                            1、如贵公司要快速招聘人才,建议升级会员,获取更多的展示机会,以帮助您快速找到满意的人才。 <br>
                            2、请贵公司保证职位信息的真实性、合法性,并及时更新职位信息,如被举报或投诉,确认发布的信息违反相关规定后,本站将会关闭贵公司的招聘服务,敬请谅解!
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
 
<!--延期天数弹出框-->
<div id="gotime" style="display:none; width:300px; ">
    <div class="">
        <div class="job_box_msg" style="margin-left:10px;_margin-left:5px; padding:3px;border:none; background:#f8f8f8">
            <p id="gotime_edate"></p>
        </div>
        <form action='index.php?c=partok&act=opera' target="supportiframe" method="post" id='gotimef'>
            <input type="hidden" name="gotimeid" id="gotimeid" value=""/>
            <div class="job_box_inp" style="padding:10px 5px 5px 20px">
                <span style="float:left; margin-right:0px;">延期天数:</span>
                <input name="day" value="" class="com_info_text placeholder" type="text" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" style="width:100px;"/>
                <span style="float:right; margin-right:0px;">天</span>
            </div>
 
            <span class="job_box_botton" style="width:100%;"> 
                <a class="job_box_yes job_box_botton2" href="javascript:void(0);" onclick="setTimeout(function(){$('#gotimef').submit()},0);">确定</a>
            </span>
        </form>
    </div>
</div>
<!--延期天数弹出框end-->
 
<script>
 
    layui.use(['form', 'layer'], function () {
        var $ = layui.$,
            form = layui.form,
            layer = layui.layer;
 
        form.on('checkbox(allcom)', function (data) {
            $("input[name='del[]']").each(function () {
                this.checked = data.elem.checked;
            });
            form.render('checkbox');
        });
    });
 
    function allgotime() { //批量延期
        var allid = [];
        var i = 0;
        $('input[name="del[]"]:checked').each(function () {
            allid.push($(this).val());
            i++;
        });
        if (allid.length == 0) {
            layer.msg("请选择要延期的职位!", 2, 8);
            return false;
        } else {
            gotime(allid, i);
        }
    }
 
    function gotime(id, i) {
        $("#gotimeid").val(id);
        if (i) {
            $("#gotime_edate").html("本次共延期<font color='red'>" + i + "</font>个职位!");
        }
        $.layer({
            type: 1,
            title: '延期天数',
            closeBtn: [0, true],
            border: [10, 0.3, '#000', true],
            area: ['300px', '210px'],
            page: {
                dom: '#gotime'
            }
        });
    }
 
    function i_know(opt) {
        $.post('index.php?c=job&act=i_know', {opt: opt}, function () {
            $("#i_know").addClass("none")
        });
    }
 
    $(document).ready(function () {
        $(".job_cz").hover(function () {
            var aid = $(this).attr("aid");
            $("#czlist" + aid).show();
            $(".job_cz_hover").attr("class", "");
            $("#czlist_" + aid).attr("class", "job_cz_hover");
        }, function () {
            var aid = $(this).attr("aid");
            $("#czlist" + aid).hide();
        })
    })
</script>
{yun:}include file="$comstyle/jobserver.htm"{/yun}
{yun:}include file="$comstyle/footer.htm"{/yun}