|
|
@@ -88,8 +88,9 @@ let app = new Vue({
|
|
|
},
|
|
|
],
|
|
|
treeIndex: 0,
|
|
|
+ rollFlag: true,
|
|
|
config1: {
|
|
|
- waitTime: 5000,
|
|
|
+ waitTime: 7300,
|
|
|
header: ["招聘单位", "招聘岗位", "招聘人数", "投递人数", "发布时间"],
|
|
|
headerHeight: 55,
|
|
|
columnWidth: [230, 170, 100, 100],
|
|
|
@@ -176,7 +177,7 @@ let app = new Vue({
|
|
|
header: ["头像", "姓名", "投递岗位", "时间"],
|
|
|
rowNum: 6,
|
|
|
headerHeight: 55,
|
|
|
- columnWidth: [120 ],
|
|
|
+ columnWidth: [120],
|
|
|
data: [
|
|
|
["<img class='list_img' src='https://www.bootcdn.cn/assets/img/m-react.png' alt=''>", "<span class=''>王伟</span>", "<span class=''>技术员</span>", "<span class=''>2023.07.29</span>"],
|
|
|
["<img class='list_img' src='https://www.bootcdn.cn/assets/img/m-react.png' alt=''>", "<span class=''>李丽丽</span>", "<span class=''>井下钻探工</span>", "<span class=''>2023.07.26</span>"],
|
|
|
@@ -289,13 +290,13 @@ let app = new Vue({
|
|
|
headerHeight: 55,
|
|
|
columnWidth: [100, 200, 400,],
|
|
|
data: [
|
|
|
- ["汾西矿业", "综合管理岗", "4"],
|
|
|
- ["西山煤电", "综合管理岗", "3"],
|
|
|
- ["西山煤电", "财务管理岗", "2"],
|
|
|
- ["汾西矿业", "综合管理岗", "4"],
|
|
|
- ["西山煤电", "综合管理岗", "3"],
|
|
|
- ["西山煤电", "财务管理岗", "2"],
|
|
|
- ["汾西矿业", "综合管理岗", "4"],
|
|
|
+ ["汾西矿业", "综合管理岗", "40"],
|
|
|
+ ["西山煤电", "综合管理岗", "35"],
|
|
|
+ ["西山煤电", "财务管理岗", "30"],
|
|
|
+ ["汾西矿业", "综合管理岗", "25"],
|
|
|
+ ["西山煤电", "综合管理岗", "20"],
|
|
|
+ ["西山煤电", "财务管理岗", "15"],
|
|
|
+ ["汾西矿业", "综合管理岗", "10"],
|
|
|
],
|
|
|
align: ["center", "center", "center", "center", "center"],
|
|
|
index: true,
|
|
|
@@ -344,7 +345,10 @@ let app = new Vue({
|
|
|
}],
|
|
|
leftIndex: 0,
|
|
|
roseEcharts: null,
|
|
|
- leftFlag: true
|
|
|
+ leftFlag: true,
|
|
|
+ rollTitle: "山西焦煤西山煤电杜儿坪矿井下操作工招聘公告",
|
|
|
+ leftTime: null,
|
|
|
+ rightTime: null,
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
|
@@ -420,17 +424,38 @@ let app = new Vue({
|
|
|
}, 2000)
|
|
|
// setInterval(()=>{
|
|
|
// if(that.configIndex > that.config1.data.length - 1){
|
|
|
- // console.log("最后一条");
|
|
|
// that.configIndex = 0
|
|
|
- // console.log(that.config1.data[that.configIndex]);
|
|
|
// return
|
|
|
// } else {
|
|
|
- // console.log(that.config1.data[that.configIndex]);
|
|
|
// that.configIndex = that.configIndex + 1
|
|
|
// return
|
|
|
// }
|
|
|
// },5000)
|
|
|
})
|
|
|
+ this.leftTime = setInterval(() => {
|
|
|
+ that.leftList.forEach((item, index) => {
|
|
|
+ item.flag = !item.flag
|
|
|
+ if(item.flag){
|
|
|
+ if (index == 0) {
|
|
|
+ that.leftFlag = true
|
|
|
+ } else {
|
|
|
+ that.leftFlag = false
|
|
|
+ setTimeout(() => {
|
|
|
+ let leftChange = that.$refs.leftChange
|
|
|
+ that.initRoseEcharts(leftChange)
|
|
|
+ })
|
|
|
+ }
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }, 5000)
|
|
|
+ this.rightTime = setInterval(()=>{
|
|
|
+ that.rightList.forEach((item,index)=>{
|
|
|
+ item.flag = !item.flag
|
|
|
+ if(item.flag){
|
|
|
+ that.rightIndex = index
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },5000)
|
|
|
},
|
|
|
methods: {
|
|
|
initDownholeEcharts(el, data) {
|
|
|
@@ -578,6 +603,12 @@ let app = new Vue({
|
|
|
});
|
|
|
},
|
|
|
scrollChange(index) {
|
|
|
+ this.rollFlag = false;
|
|
|
+ this.rollTitle = "山西焦煤西坪矿井下操作工招聘公告" + index,
|
|
|
+ setTimeout(() => {
|
|
|
+ this.rollFlag = true
|
|
|
+ })
|
|
|
+
|
|
|
},
|
|
|
|
|
|
initRightCycle(el, data) {
|
|
|
@@ -916,7 +947,7 @@ let app = new Vue({
|
|
|
},
|
|
|
yAxis: [
|
|
|
{
|
|
|
- name:"投递/份",
|
|
|
+ name: "投递/份",
|
|
|
type: "value",
|
|
|
gridIndex: 0,
|
|
|
min: 0,
|
|
|
@@ -933,7 +964,7 @@ let app = new Vue({
|
|
|
axisTick: {
|
|
|
show: false
|
|
|
},
|
|
|
- nameTextStyle:{
|
|
|
+ nameTextStyle: {
|
|
|
fontSize: 28,
|
|
|
color: "#B6BFCE"
|
|
|
},
|
|
|
@@ -1363,7 +1394,6 @@ let app = new Vue({
|
|
|
if (this.downholeFlag) {
|
|
|
setTimeout(() => {
|
|
|
let vita = this.$refs.vita
|
|
|
- console.log(vita);
|
|
|
this.initVitaEcharts(vita)
|
|
|
})
|
|
|
}
|
|
|
@@ -1373,17 +1403,26 @@ let app = new Vue({
|
|
|
// } else {
|
|
|
// this.echartsIndex = 1
|
|
|
// }
|
|
|
- console.log(12312132132);
|
|
|
},
|
|
|
handleChangeType(type, index) {
|
|
|
let that = this;
|
|
|
if (type) {
|
|
|
+ that.rightTime && clearInterval(that.rightTime)
|
|
|
that.rightList.forEach(item => {
|
|
|
item.flag = false
|
|
|
})
|
|
|
that.rightList[index].flag = true
|
|
|
that.rightIndex = index
|
|
|
+ this.rightTime = setInterval(()=>{
|
|
|
+ that.rightList.forEach((item,index)=>{
|
|
|
+ item.flag = !item.flag
|
|
|
+ if(item.flag){
|
|
|
+ that.rightIndex = index
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },5000)
|
|
|
} else {
|
|
|
+ that.leftTime && clearInterval(that.leftTime)
|
|
|
that.leftList.forEach(item => {
|
|
|
item.flag = false
|
|
|
})
|
|
|
@@ -1395,11 +1434,25 @@ let app = new Vue({
|
|
|
that.leftFlag = false
|
|
|
setTimeout(() => {
|
|
|
let leftChange = that.$refs.leftChange
|
|
|
- console.log(leftChange);
|
|
|
that.initRoseEcharts(leftChange)
|
|
|
})
|
|
|
}
|
|
|
-
|
|
|
+ that.leftTime = setInterval(() => {
|
|
|
+ that.leftList.forEach((item, index) => {
|
|
|
+ item.flag = !item.flag
|
|
|
+ if(item.flag){
|
|
|
+ if (index == 0) {
|
|
|
+ that.leftFlag = true
|
|
|
+ } else {
|
|
|
+ that.leftFlag = false
|
|
|
+ setTimeout(() => {
|
|
|
+ let leftChange = that.$refs.leftChange
|
|
|
+ that.initRoseEcharts(leftChange)
|
|
|
+ })
|
|
|
+ }
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }, 5000)
|
|
|
}
|
|
|
},
|
|
|
},
|