|
|
@@ -392,6 +392,10 @@ let app = new Vue({
|
|
|
noticList: [],
|
|
|
noticTime: null,
|
|
|
|
|
|
+ configDataIndex: 1,
|
|
|
+
|
|
|
+ itemClass: "item_content_6_false"
|
|
|
+
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
|
@@ -456,18 +460,16 @@ let app = new Vue({
|
|
|
|
|
|
|
|
|
|
|
|
- setTimeout(() => {
|
|
|
- let itemContent = document.getElementById("itemContent")
|
|
|
- if (itemContent) {
|
|
|
- let target = itemContent.getElementsByClassName("row-item")
|
|
|
- let targetList = target.item(0)
|
|
|
- targetList.style.background = "#302e2d50"
|
|
|
- targetList.style.color = "#E1AF27"
|
|
|
- }
|
|
|
- }, 10)
|
|
|
- setTimeout(() => {
|
|
|
- that.classChange = true
|
|
|
- }, 5000);
|
|
|
+ // setTimeout(() => {
|
|
|
+ // let itemContent = document.getElementById("itemContent")
|
|
|
+ // if (itemContent) {
|
|
|
+ // let target = itemContent.getElementsByClassName("row-item")
|
|
|
+ // let targetList = target.item(0)
|
|
|
+ // targetList.style.background = "#302e2d50"
|
|
|
+ // targetList.style.color = "#E1AF27"
|
|
|
+ // }
|
|
|
+ // }, 10)
|
|
|
+
|
|
|
setInterval(() => {
|
|
|
let that = this
|
|
|
that.treeList.forEach(item => {
|
|
|
@@ -570,11 +572,11 @@ let app = new Vue({
|
|
|
that.configWritten.rowNum = 10
|
|
|
that.employmentList3.rowNum = 20
|
|
|
that.configInterview.columnWidth = []
|
|
|
- that.configInterview.columnWidth = [240, 320, 370,460,480]
|
|
|
+ that.configInterview.columnWidth = [240, 320, 370, 460, 480]
|
|
|
that.configWritten.columnWidth = []
|
|
|
- that.configWritten.columnWidth = [240, 320, 370,460,480]
|
|
|
+ that.configWritten.columnWidth = [240, 320, 370, 460, 480]
|
|
|
that.employmentList3.columnWidth = []
|
|
|
- that.employmentList3.columnWidth = [240, 320, 370,460,480]
|
|
|
+ that.employmentList3.columnWidth = [240, 320, 370, 460, 480]
|
|
|
|
|
|
that.leftTime && clearInterval(that.leftTime)
|
|
|
that.rightTime && clearInterval(that.rightTime)
|
|
|
@@ -2291,20 +2293,51 @@ let app = new Vue({
|
|
|
that.config1.data = list
|
|
|
that.recruitInfoList.push(...a)
|
|
|
that.isShowInfoList = true
|
|
|
- setTimeout(() => {
|
|
|
- let itemContent = document.getElementById("itemContent")
|
|
|
- if (itemContent) {
|
|
|
- let target = itemContent.getElementsByClassName("row-item")
|
|
|
- let targetList = target.item(0)
|
|
|
- targetList.style.background = "#302e2d50"
|
|
|
- targetList.style.color = "#E1AF27"
|
|
|
- }
|
|
|
|
|
|
- }, 0)
|
|
|
+ that.itemClass = "item_content_99"
|
|
|
+ if (that.config1.data.length <= that.config1.rowNum) {
|
|
|
+ setInterval(() => {
|
|
|
+
|
|
|
+ // that.configDataIndex
|
|
|
+ if (that.configDataIndex >= that.config1.data.length) {
|
|
|
+ that.configDataIndex = 1
|
|
|
+ that.itemClass = "item_content_99"
|
|
|
+ that.funChangeList(0)
|
|
|
+ return
|
|
|
+ }
|
|
|
+ that.itemClass = "item_content_" + (that.configDataIndex + 5)
|
|
|
+ that.funChangeList(that.configDataIndex)
|
|
|
+ console.log(that.itemClass);
|
|
|
+ that.configDataIndex += 1
|
|
|
+ }, that.config1.waitTime)
|
|
|
+ } else {
|
|
|
+ setTimeout(() => {
|
|
|
+ // that.classChange = true
|
|
|
+ that.itemClass = "item_content_6"
|
|
|
+ setTimeout(() => {
|
|
|
+ let itemContent = document.getElementById("itemContent")
|
|
|
+ if (itemContent) {
|
|
|
+ let target = itemContent.getElementsByClassName("row-item")
|
|
|
+ let targetList = target.item(0)
|
|
|
+ targetList.style.background = "#302e2d50"
|
|
|
+ targetList.style.color = "#E1AF27"
|
|
|
+ }
|
|
|
+
|
|
|
+ }, 0)
|
|
|
+ }, 5000);
|
|
|
+ }
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
+ },
|
|
|
+ funChangeList(idnex) {
|
|
|
+ let listIndex = idnex
|
|
|
+ this.address = this.config1.data[listIndex][0] + "。"
|
|
|
+ this.rollTitle = this.config1.data[listIndex][0] + this.config1.data[listIndex][1] + "双选公告"
|
|
|
+ setTimeout(() => {
|
|
|
+ this.rollFlag = true
|
|
|
+ })
|
|
|
},
|
|
|
getHalfYearDelivcv() {
|
|
|
let that = this;
|
|
|
@@ -2738,8 +2771,6 @@ let app = new Vue({
|
|
|
},
|
|
|
getPositionAll() {
|
|
|
let that = this;
|
|
|
- console.log(that.timeList2);
|
|
|
-
|
|
|
let data = {
|
|
|
flag: true,
|
|
|
start: that.timeList2[0],
|
|
|
@@ -2805,7 +2836,6 @@ let app = new Vue({
|
|
|
lastList.push(["<span class='" + color + "'>" + res.data[i][0] + "</span>", "<span class='" + color + "'>" + res.data[i][1] + "</span>", "<span class='" + color + "'>" + res.data[i][2] + "</span>"])
|
|
|
}
|
|
|
}
|
|
|
- console.log(lastList);
|
|
|
that.config2.data = lastList
|
|
|
setTimeout(() => {
|
|
|
that.leftFlag = true
|
|
|
@@ -2856,18 +2886,18 @@ let app = new Vue({
|
|
|
let that = this;
|
|
|
if (index + 10 == that.configWritten.data.length) {
|
|
|
console.log("笔试更新");
|
|
|
- setTimeout(()=>{
|
|
|
+ setTimeout(() => {
|
|
|
that.getNoticePerson(1)
|
|
|
- },1700)
|
|
|
+ }, 1700)
|
|
|
}
|
|
|
},
|
|
|
scrollChangeListIn(index) {
|
|
|
let that = this;
|
|
|
if (index + 10 == that.configInterview.data.length) {
|
|
|
console.log("面试更新");
|
|
|
- setTimeout(()=>{
|
|
|
+ setTimeout(() => {
|
|
|
that.getNoticePerson(2)
|
|
|
- },1700)
|
|
|
+ }, 1700)
|
|
|
}
|
|
|
},
|
|
|
|