fengxu 1 anno fa
parent
commit
61dcad7e0c

+ 13 - 45
cokingCoal/hr.html

@@ -36,7 +36,7 @@
 
                         <div class="main_item flex_column">
                             <div :class="itemClass">
-                            <!-- <div :class="classChange?'item_content_6':'item_content_6_false'"> -->
+                                <!-- <div :class="classChange?'item_content_6':'item_content_6_false'"> -->
                                 <dv-scroll-board id="itemContent" :config="config1" v-if="isShowInfoList"
                                     @scroll-change="scrollChange" style="width: 100%; height: 100%" />
                             </div>
@@ -72,52 +72,20 @@
                                 </div>
                             </div>
                         </div>
-                        <div class="main_item" v-if="rollFlag" style="overflow: scroll;">
+                        <div class="main_item" v-if="rollFlag">
                             <p class="item_title">{{ rollTitle }}</p>
-                            <!-- <vue-seamless-scroll v-if="rollFlag" :data="listData" class="warp" :classOption="classOption"> -->
-                            <div class="item">
-                                <div class="item_con" v-for="(item,index) in recruitInfoList[recruitInfoIndex]">
-                                    <span>{{ item.title }}</span>
-                                    <span>{{ item.content }}</span>
+
+                            <vue-seamless-scroll :data="listData" class="warp" >
+                                <div class="item" v-if="rollFlag" style="margin-bottom: 250px;">
+                                    <div class="item_con" v-for="(item,index) in recruitInfoList[recruitInfoIndex]">
+                                        <span class="note_title" v-if="item.title != ''">{{ item.title }}</span>
+                                        <!-- <span>{{ handleBR(item.content) }}</span> -->
+                                        <span class="note_info" v-for="(i,z) in item.infos">
+                                            {{ i }}
+                                        </span>
+                                    </div>
                                 </div>
-                                <!-- <p class="item_con">
-                                    <span>一、双选原则</span>
-                                    <span>公开报名、集中面试,公平竞争、择优录用。</span>
-                                </p>
-                                <p class="item_con">
-                                    <span>二、双选对象</span>
-                                    <span>具有全日制普通高等教育大专及以上学历的男性毕业生,<br>其中:<br>全日制学历为研究生的年龄原则上不超过35周岁(1988年1月1日之后出生),<br>全日制学历为研究生以下的年龄原则上不超过30周岁(1993年1月1日之后出生)。</span>
-                                </p>
-                                <p class="item_con">
-                                    <span>三、双选人数</span>
-                                    <span>共计50人。</span>
-                                </p>
-                                <p class="item_con">
-                                    <span>四、工作地点</span>
-                                    <span>{{ address}}</span>
-                                </p>
-                                <p class="item_con">
-                                    <span>五、双选条件</span>
-                                    <span>(一)遵纪守法,无犯罪记录,无严重不良信用记录,无重大处分。<br>
-                                        (二)品学兼优、吃苦耐劳、责任心强,认同山西焦煤企业文化。<br>
-                                        (三)应届毕业生须在2023年8月31日前取得相应学历,具备就业资格。<br>
-                                        (四)身心健康,服从分配,能够胜任岗位工作要求。</span>
-                                </p>
-                                <p class="item_con">
-                                    <span>六、报名方式</span>
-                                    <span>通过人力资源系统岗位双选服务平台或人才中心服务大厅进行报名,报名时间为:2023年8月05日8:00至2023年8月12日18:00。</span>
-                                </p>
-                                <p class="item_con">
-                                    <span>七、双选流程</span>
-                                    <span>本次双选按照发布岗位需求、员工自助报名、汇总整理简历、资格条件审查、综合测试评价、双选结果公示、人事关系办理等流程进行。</span>
-                                </p>
-                                <p class="item_con">
-                                    <span>八、有关说明</span>
-                                    <span>(一)每位应聘者只可投报一个单位,请勿重复或多次报名。<br>
-                                        (二)应聘者须如实提供有关信息和材料,凡因本人填写信息错误而导致的一切后果自行承担;如有弄虚作假行为,一经查实即取消应聘资格。</span>
-                                </p> -->
-                            </div>
-                            <!-- </vue-seamless-scroll> -->
+                            </vue-seamless-scroll>
                         </div>
                     </div>
                 </div>

+ 22 - 16
cokingCoal/js/humanResources.js

@@ -89,7 +89,7 @@ let app = new Vue({
             treeIndex: 0,
             rollFlag: true,
             config1: {
-                waitTime: 1300,
+                waitTime: 7000,
                 header: ["双选单位", "双选岗位", "双选人数", "报名人数", "发布时间"],
                 headerHeight: 55,
                 columnWidth: [230, 170],
@@ -169,7 +169,7 @@ let app = new Vue({
                 'date': '2017-12-16'
             }],
             classOption: {
-                step: 2
+                step: 9
             },
             configMark: {
                 waitTime: 2000,
@@ -415,7 +415,7 @@ let app = new Vue({
     beforeCreate() {
         // 跳转地址
         let AddUrl = location.protocol + "//" + location.host + "/ierp"
-        // return
+        return
         if (!window.location.search) {
             // alert("链接已失效,请重新打开")
             window.location.href = AddUrl
@@ -2449,7 +2449,6 @@ let app = new Vue({
                 let list = []
                 let a = []
                 if (res) {
-
                     if (res.data.length != 0) {
                         res.data.forEach((item, index) => {
                             list.push([item[0], item[1], item[2], item[3], item[4]])
@@ -2483,8 +2482,9 @@ let app = new Vue({
                                 }
                                 that.itemClass = "item_content_" + (that.configDataIndex + 5)
                                 that.funChangeList(that.configDataIndex)
-                                that.recruitInfoIndex = that.configDataIndex
+                                // that.recruitInfoIndex = that.configDataIndex
                                 that.configDataIndex += 1
+                                that.recruitInfoIndex += 1
                             }, that.config1.waitTime)
                         } else {
                             setTimeout(() => {
@@ -2521,10 +2521,22 @@ let app = new Vue({
                     }
                 }
                 setTimeout(() => {
+                    this.recruitInfoList.forEach(item=>{
+                        // if(item.content){
+                        //     console.log(item.content.split("\n"));
+                        // }
+                        item.forEach(i=>{
+                            i.infos = i.content.split("\n").filter(Boolean)
+                        })
+                    })
+                    console.log(this.recruitInfoList);
                     that.isShowInfoList = true
                 })
             })
         },
+        handleBR(item){
+            return item
+        },
         funChangeList(idnex) {
             let listIndex = idnex
             // this.address = this.config1.data[listIndex][0] + "。"
@@ -2789,21 +2801,15 @@ let app = new Vue({
                         that.initLineRight(rightThree, { value: dataList[2].value, total }, "lineRight3")
                         that.initLineRight(rightFour, { value: dataList[3].value, total }, "lineRight4")
                         that.initLineRight(rightFive, { value: dataList[4].value, total }, "lineRight5")
-                    } else {
-                        that.initLineRight(rightOne, { value: 25, total: 67 }, "lineRight1")
-                        that.initLineRight(rightTwo, { value: 22, total: 67 }, "lineRight2")
-                        that.initLineRight(rightThree, { value: 10, total: 67 }, "lineRight3")
-                        that.initLineRight(rightFour, { value: 8, total: 67 }, "lineRight4")
-                        that.initLineRight(rightFive, { value: 2, total: 67 }, "lineRight5")
                     }
 
                 }
             }).catch(err => {
-                that.initLineRight(rightOne, { value: 25, total: 67 }, "lineRight1")
-                that.initLineRight(rightTwo, { value: 22, total: 67 }, "lineRight2")
-                that.initLineRight(rightThree, { value: 10, total: 67 }, "lineRight3")
-                that.initLineRight(rightFour, { value: 8, total: 67 }, "lineRight4")
-                that.initLineRight(rightFive, { value: 2, total: 67 }, "lineRight5")
+                // that.initLineRight(rightOne, { value: 25, total: 67 }, "lineRight1")
+                // that.initLineRight(rightTwo, { value: 22, total: 67 }, "lineRight2")
+                // that.initLineRight(rightThree, { value: 10, total: 67 }, "lineRight3")
+                // that.initLineRight(rightFour, { value: 8, total: 67 }, "lineRight4")
+                // that.initLineRight(rightFive, { value: 2, total: 67 }, "lineRight5")
             })
         },
         getQualAudits() {

+ 1 - 1
cokingCoal/js/newIndex.js

@@ -513,7 +513,7 @@ let app = new Vue({
         // 跳转地址
         setTimeout(() => {
             let AddUrl = location.protocol + "//" + location.host + "/ierp"
-            // return
+            return
             if (!window.location.search) {
                 // alert("链接已失效,请重新打开")
                 window.location.href = AddUrl

+ 7 - 5
cokingCoal/styles/humanResources.css

@@ -475,7 +475,7 @@ img {
 
 .item {
     width: 100%;
-    height: 100%;
+    /* height: 100%; */
     padding: 10px 30px;
     box-sizing: border-box;
 }
@@ -658,7 +658,7 @@ li {
     font-family: Source Han Sans CN;
     font-weight: bolder;
     color: #7CC8FF;
-    margin: 15px 0;
+    margin: 10px 0;
 }
 
 .item_con {
@@ -673,7 +673,7 @@ li {
     letter-spacing: 9px;
 }
 
-.item_con span:nth-child(1) {
+.item_con .note_title {
     font-size: 26px;
     font-family: Source Han Sans CN;
     font-weight: bolder;
@@ -681,9 +681,11 @@ li {
     color: #7CC8FF;
 }
 
-.item_con span:nth-child(2) {
+.item_con .note_info {
     margin-left: 20px;
-    line-height: 30px;
+    line-height: 35px;
+    text-indent: 60px;
+    margin: 5px 0;
     /* white-space: pre-wrap; */
 
 }