|
|
@@ -103,7 +103,7 @@ let app = new Vue({
|
|
|
|
|
|
["霍州煤电恒兴煤业", '生产调度员', '4', '10', "2023.07.01"],
|
|
|
["霍州煤电吕梁山煤电公司", '汽车驾驶员', '5', '10', "2023.07.01"],
|
|
|
- // ["山煤国际凌志达煤业", '电工', '5', '16', "2023.07.01"],
|
|
|
+ ["山煤国际凌志达煤业", '电工', '5', '16', "2023.07.01"],
|
|
|
["华晋焦煤沙曲一号煤矿", '井下普工', '40', '120', "2023.07.01"],
|
|
|
["山西焦化", '技术员', '2', '12', "2023.07.01"],
|
|
|
["汾西矿业高阳煤矿", '井下安全检查员', '5', '10', "2023.07.01"],
|
|
|
@@ -321,8 +321,8 @@ let app = new Vue({
|
|
|
showMonth: false,
|
|
|
monthList,
|
|
|
monthItem: "08",
|
|
|
- timeList1: ["2022-07", "2023-07"],
|
|
|
- timeList2: ["2022-07", "2023-07"],
|
|
|
+ timeList1: ["2022-08", "2023-08"],
|
|
|
+ timeList2: ["2022-08", "2023-08"],
|
|
|
from: "",
|
|
|
type: 0,
|
|
|
echartsIndex: 1,
|
|
|
@@ -387,9 +387,21 @@ let app = new Vue({
|
|
|
|
|
|
showBigList: true,
|
|
|
rightData: [],
|
|
|
+
|
|
|
+ noticIndex: 0,
|
|
|
+ noticList: [],
|
|
|
+ noticTime: null,
|
|
|
+
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
|
+
|
|
|
+ let date = new Date()
|
|
|
+ let year = date.getFullYear()
|
|
|
+ let month = "0" + date.getMonth()
|
|
|
+ this.timeList1 = [(year - 1) + "-" + month, year + "-" + month]
|
|
|
+ this.timeList2 = [(year - 1) + "-" + month, year + "-" + month]
|
|
|
+
|
|
|
this.newList = listToChange(yearList, monthList)
|
|
|
this.employmentList3.data = employmentList
|
|
|
if (employmentList.length % 2 != 0) {
|
|
|
@@ -444,13 +456,15 @@ let app = new Vue({
|
|
|
|
|
|
|
|
|
|
|
|
- // setTimeout(() => {
|
|
|
- // let itemContent = document.getElementById("itemContent")
|
|
|
- // let target = itemContent.getElementsByClassName("row-item")
|
|
|
- // let targetList = target.item(0)
|
|
|
- // targetList.style.background = "#302e2d50"
|
|
|
- // targetList.style.color = "#E1AF27"
|
|
|
- // }, 0)
|
|
|
+ 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);
|
|
|
@@ -505,72 +519,48 @@ let app = new Vue({
|
|
|
}, 5000)
|
|
|
|
|
|
|
|
|
- // localEnvAppToken().then(res => {
|
|
|
- // localStorage.setItem("app_token", res.app_token)
|
|
|
- // getLocalEnvAccessToken().then(res => {
|
|
|
- // localStorage.setItem("access_token", res.access_token)
|
|
|
- // that.getPlayers()
|
|
|
- // that.getPostDetail()
|
|
|
- // that.getHalfYearDelivcv()
|
|
|
- // that.getHotDelivcv()
|
|
|
- // that.arrToListArr()
|
|
|
- // that.getDelivcvAndApply()
|
|
|
- // that.getreviewarrange()
|
|
|
- // that.getRecruitType()
|
|
|
- // that.getFailReason()
|
|
|
- // that.getQualAudits()
|
|
|
- // that.getNoticePerson()
|
|
|
- // that.getNotice()
|
|
|
- // that.getDoubleChoice()
|
|
|
- // that.getPositionAll()
|
|
|
- // setInterval(() => {
|
|
|
- // that.getreviewarrange({
|
|
|
- // mianshi: [
|
|
|
- // ["焦煤", "李哥", "301", "2", "2023-08-31 10:40:55.0"],
|
|
|
- // ["焦", "李13哥", "311", "2", "2023-08-31 10:40:55.0"],
|
|
|
- // ["焦", "李13哥", "311", "2", "2023-08-31 10:40:55.0"],
|
|
|
- // ["焦", "李13哥", "311", "2", "2023-08-31 10:40:55.0"],
|
|
|
- // ["焦", "李13哥", "311", "2", "2023-08-31 10:40:55.0"],
|
|
|
- // ["焦", "李13哥", "311", "2", "2023-08-31 10:40:55.0"],
|
|
|
- // ["焦", "李13哥", "311", "2", "2023-08-31 10:40:55.0"],
|
|
|
- // ["焦", "李13哥", "311", "2", "2023-08-31 10:40:55.0"],
|
|
|
- // ],
|
|
|
- // bishi: [
|
|
|
- // ["煤", "李13哥", "311", "2", "2023-08-31 10:40:55.0"],
|
|
|
- // ["煤", "李13哥", "311", "2", "2023-08-31 10:40:55.0"],
|
|
|
- // ["煤", "李13哥", "311", "2", "2023-08-31 10:40:55.0"],
|
|
|
- // ["煤", "李13哥", "311", "2", "2023-08-31 10:40:55.0"],
|
|
|
- // ["煤", "李13哥", "311", "2", "2023-08-31 10:40:55.0"],
|
|
|
- // ["煤", "李13哥", "311", "2", "2023-08-31 10:40:55.0"],
|
|
|
- // ["煤", "李13哥", "311", "2", "2023-08-31 10:40:55.0"],
|
|
|
- // ["煤", "李13哥", "311", "2", "2023-08-31 10:40:55.0"],
|
|
|
- // ["煤", "李13哥", "311", "2", "2023-08-31 10:40:55.0"],
|
|
|
- // ],
|
|
|
- // })
|
|
|
- // }, (1000 * 10))
|
|
|
-
|
|
|
- // })
|
|
|
- // }).catch(err => {
|
|
|
- this.isChangeList = true
|
|
|
+ localEnvAppToken().then(res => {
|
|
|
+ localStorage.setItem("app_token", res.app_token)
|
|
|
+ getLocalEnvAccessToken().then(res => {
|
|
|
+ localStorage.setItem("access_token", res.access_token)
|
|
|
+ that.getPlayers()
|
|
|
+ that.getPostDetail()
|
|
|
+ that.getPostDetail()
|
|
|
+
|
|
|
+ that.getHalfYearDelivcv()
|
|
|
+ that.getHotDelivcv()
|
|
|
+ that.arrToListArr()
|
|
|
+ that.getDelivcvAndApply()
|
|
|
+ that.getRecruitType()
|
|
|
+ that.getFailReason()
|
|
|
+ that.getQualAudits()
|
|
|
+ that.getNoticePerson()
|
|
|
+ that.getNotice()
|
|
|
+ that.getDoubleChoice()
|
|
|
+ that.getPositionAll()
|
|
|
+ that.getTotalRate()
|
|
|
|
|
|
+ })
|
|
|
+ }).catch(err => {
|
|
|
+ this.isChangeList = true
|
|
|
+ this.isShowInfoList = true
|
|
|
let pageBtm = this.$refs.pageBtm
|
|
|
this.initDownholeEcharts(pageBtm, { x: admissionList.x, y1: admissionList.y1, y2: admissionList.y2, y3: admissionList.y3 })
|
|
|
-
|
|
|
+
|
|
|
let rightOne = this.$refs.rightOne
|
|
|
- this.initLineRight(rightOne, { value: 25, total: 67 })
|
|
|
+ this.initLineRight(rightOne, { value: 18, total: 44 })
|
|
|
let rightTwo = this.$refs.rightTwo
|
|
|
- this.initLineRight(rightTwo, { value: 22, total: 67 })
|
|
|
+ this.initLineRight(rightTwo, { value: 11, total: 44 })
|
|
|
let rightThree = this.$refs.rightThree
|
|
|
- this.initLineRight(rightThree, { value: 10, total: 67 })
|
|
|
+ this.initLineRight(rightThree, { value: 9, total: 44 })
|
|
|
let rightFour = this.$refs.rightFour
|
|
|
- this.initLineRight(rightFour, { value: 8, total: 67 })
|
|
|
+ this.initLineRight(rightFour, { value: 4, total: 44 })
|
|
|
let rightFive = this.$refs.rightFive
|
|
|
- this.initLineRight(rightFive, { value: 2, total: 67 })
|
|
|
+ this.initLineRight(rightFive, { value: 2, total: 44 })
|
|
|
|
|
|
let vita = this.$refs.vita
|
|
|
that.initVitaEcharts(vita)
|
|
|
- that.getPostDetail()
|
|
|
- // })
|
|
|
+ })
|
|
|
},
|
|
|
methods: {
|
|
|
handleClickIcon(item, index) {
|
|
|
@@ -637,22 +627,6 @@ let app = new Vue({
|
|
|
return new Promise(() => {
|
|
|
that.getFailReason()
|
|
|
that.getHalfYearDelivcv()
|
|
|
- // setTimeout(() => {
|
|
|
- // let leftChange = that.$refs.leftChange
|
|
|
- // that.initThreeBig(leftChange)
|
|
|
- // let rightOne = that.$refs.rightOne
|
|
|
- // let rightTwo = that.$refs.rightTwo
|
|
|
- // let rightThree = that.$refs.rightThree
|
|
|
- // let rightFour = that.$refs.rightFour
|
|
|
- // let rightFive = that.$refs.rightFive
|
|
|
-
|
|
|
- // that.initLineRight(rightOne, { value: that.rightData[0].value, total })
|
|
|
- // that.initLineRight(rightTwo, { value: that.rightData[1].value, total })
|
|
|
- // that.initLineRight(rightThree, { value: that.rightData[2].value, total })
|
|
|
- // that.initLineRight(rightFour, { value: that.rightData[3].value, total })
|
|
|
- // that.initLineRight(rightFive, { value: that.rightData[4].value, total })
|
|
|
-
|
|
|
- // }, 300)
|
|
|
})
|
|
|
}
|
|
|
}, 15)
|
|
|
@@ -2317,10 +2291,13 @@ let app = new Vue({
|
|
|
that.isShowInfoList = true
|
|
|
setTimeout(() => {
|
|
|
let itemContent = document.getElementById("itemContent")
|
|
|
- let target = itemContent.getElementsByClassName("row-item")
|
|
|
- let targetList = target.item(0)
|
|
|
- targetList.style.background = "#302e2d50"
|
|
|
- targetList.style.color = "#E1AF27"
|
|
|
+ if (itemContent) {
|
|
|
+ let target = itemContent.getElementsByClassName("row-item")
|
|
|
+ let targetList = target.item(0)
|
|
|
+ targetList.style.background = "#302e2d50"
|
|
|
+ targetList.style.color = "#E1AF27"
|
|
|
+ }
|
|
|
+
|
|
|
}, 0)
|
|
|
})
|
|
|
|
|
|
@@ -2355,7 +2332,7 @@ let app = new Vue({
|
|
|
|
|
|
}).catch(err => {
|
|
|
let vita = this.$refs.vita
|
|
|
- that.initVitaEcharts(vita)
|
|
|
+ that.initVitaEcharts(vita)
|
|
|
})
|
|
|
},
|
|
|
getHotDelivcv() {
|
|
|
@@ -2442,28 +2419,6 @@ let app = new Vue({
|
|
|
|
|
|
})
|
|
|
},
|
|
|
- getreviewarrange(res = {
|
|
|
- mianshi: [
|
|
|
- ["焦煤", "李大哥", "301", "2", "2023-08-31 10:40:55.0"]
|
|
|
- ],
|
|
|
- bishi: [
|
|
|
- ["焦煤", "李大哥", "301", "2", "2023-08-31 10:40:55.0"]
|
|
|
- ],
|
|
|
- }) {
|
|
|
- let that = this;
|
|
|
- let data = {
|
|
|
- flag: true
|
|
|
- };
|
|
|
- // fetchPostMethods("/ierp/kapi/v2/mdnb/mdnb_control/getreviewarrange", data).then(res => {
|
|
|
- // console.log(res);
|
|
|
- // })
|
|
|
-
|
|
|
- if (res) {
|
|
|
- that.isRendering(res.mianshi, "interviewIndex", "configInterview", "showInterview")
|
|
|
- that.isRendering(res.bishi, "examinationIndex", "configWritten", "showExamination")
|
|
|
- }
|
|
|
-
|
|
|
- },
|
|
|
isRendering(data, type, key, flag) {
|
|
|
let that = this;
|
|
|
if (that[type] == 0) {
|
|
|
@@ -2584,159 +2539,81 @@ let app = new Vue({
|
|
|
// num3: 80,
|
|
|
// }],
|
|
|
},
|
|
|
- getNoticePerson(name = "张三") {
|
|
|
+ getNo(arr) {
|
|
|
+ if (Array.isArray(arr)) {
|
|
|
+ arr.forEach((item, index) => {
|
|
|
+ if (index <= 8) {
|
|
|
+ item.unshift("0" + (index + 1))
|
|
|
+ } else {
|
|
|
+ item.unshift((index + 1).toString())
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
+ return arr
|
|
|
+ },
|
|
|
+ getNoticePerson(type = 3) {
|
|
|
let that = this;
|
|
|
- that.employmentList1.data = []
|
|
|
- that.employmentList2.data = []
|
|
|
- this.isShowList = false
|
|
|
+ if (type == 1) {
|
|
|
+ that.showExamination = false
|
|
|
+ } else if (type == 2) {
|
|
|
+ that.showInterview = false
|
|
|
+ } else {
|
|
|
+ this.showExamination = false
|
|
|
+ this.showInterview = false
|
|
|
+ }
|
|
|
+ let year = new Date().getFullYear()
|
|
|
let data = {
|
|
|
flag: true,
|
|
|
- year: "2023",
|
|
|
+ year,
|
|
|
month: 0
|
|
|
}
|
|
|
fetchPostMethods("/ierp/kapi/v2/mdnb/mdnb_control/assessmentarrangement", data).then(res => {
|
|
|
+ if (res) {
|
|
|
+ if (type == 1) {
|
|
|
+ that.configWritten.data = that.getNo(res.bishiList)
|
|
|
+ setTimeout(() => {
|
|
|
+ that.showExamination = true
|
|
|
+ }, 10)
|
|
|
+ } else if (type == 2) {
|
|
|
+ that.configInterview.data = that.getNo(res.mianshiList)
|
|
|
+ setTimeout(() => {
|
|
|
+ that.showInterview = true
|
|
|
+ }, 10)
|
|
|
+ } else {
|
|
|
+ that.configWritten.data = that.getNo(res.bishiList)
|
|
|
+ that.configInterview.data = that.getNo(res.mianshiList)
|
|
|
+ setTimeout(() => {
|
|
|
+ that.showInterview = true
|
|
|
+ that.showExamination = true
|
|
|
+ }, 10)
|
|
|
+ }
|
|
|
|
|
|
- })
|
|
|
- let res = {
|
|
|
- data: [{
|
|
|
- "sex": "男",
|
|
|
- "name": name,
|
|
|
- "org1": "山西焦煤西山煤电杜儿坪矿井下操作工双选公示",
|
|
|
- "cardno": "16666XXXXXXXXXXXXXXXXXXXXX99"
|
|
|
- }, {
|
|
|
- "sex": "男",
|
|
|
- "name": name,
|
|
|
- "org1": "山西焦煤西山煤电杜儿坪矿井下操作工双选公示",
|
|
|
- "cardno": "16666XXXXXXXXXXXXXXXXXXXXX99"
|
|
|
- }, {
|
|
|
- "sex": "男",
|
|
|
- "name": name,
|
|
|
- "org1": "山西焦煤西山煤电杜儿坪矿井下操作工双选公示",
|
|
|
- "cardno": "16666XXXXXXXXXXXXXXXXXXXXX99"
|
|
|
- }, {
|
|
|
- "sex": "男",
|
|
|
- "name": name,
|
|
|
- "org1": "山西焦煤西山煤电杜儿坪矿井下操作工双选公示",
|
|
|
- "cardno": "16666XXXXXXXXXXXXXXXXXXXXX99"
|
|
|
- }, {
|
|
|
- "sex": "男",
|
|
|
- "name": name,
|
|
|
- "org1": "山西焦煤西山煤电杜儿坪矿井下操作工双选公示",
|
|
|
- "cardno": "16666XXXXXXXXXXXXXXXXXXXXX99"
|
|
|
- }, {
|
|
|
- "sex": "男",
|
|
|
- "name": name,
|
|
|
- "org1": "山西焦煤西山煤电杜儿坪矿井下操作工双选公示",
|
|
|
- "cardno": "16666XXXXXXXXXXXXXXXXXXXXX99"
|
|
|
- }, {
|
|
|
- "sex": "男",
|
|
|
- "name": name,
|
|
|
- "org1": "山西焦煤西山煤电杜儿坪矿井下操作工双选公示",
|
|
|
- "cardno": "16666XXXXXXXXXXXXXXXXXXXXX99"
|
|
|
- }, {
|
|
|
- "sex": "男",
|
|
|
- "name": name,
|
|
|
- "org1": "山西焦煤西山煤电杜儿坪矿井下操作工双选公示",
|
|
|
- "cardno": "16666XXXXXXXXXXXXXXXXXXXXX99"
|
|
|
- }, {
|
|
|
- "sex": "男",
|
|
|
- "name": name,
|
|
|
- "org1": "山西焦煤西山煤电杜儿坪矿井下操作工双选公示",
|
|
|
- "cardno": "16666XXXXXXXXXXXXXXXXXXXXX99"
|
|
|
- }, {
|
|
|
- "sex": "男",
|
|
|
- "name": name,
|
|
|
- "org1": "山西焦煤西山煤电杜儿坪矿井下操作工双选公示",
|
|
|
- "cardno": "16666XXXXXXXXXXXXXXXXXXXXX99"
|
|
|
- }, {
|
|
|
- "sex": "男",
|
|
|
- "name": name,
|
|
|
- "org1": "山西焦煤西山煤电杜儿坪矿井下操作工双选公示",
|
|
|
- "cardno": "16666XXXXXXXXXXXXXXXXXXXXX99"
|
|
|
- }, {
|
|
|
- "sex": "男",
|
|
|
- "name": name,
|
|
|
- "org1": "山西焦煤西山煤电杜儿坪矿井下操作工双选公示",
|
|
|
- "cardno": "16666XXXXXXXXXXXXXXXXXXXXX99"
|
|
|
- }, {
|
|
|
- "sex": "男",
|
|
|
- "name": name,
|
|
|
- "org1": "山西焦煤西山煤电杜儿坪矿井下操作工双选公示",
|
|
|
- "cardno": "16666XXXXXXXXXXXXXXXXXXXXX99"
|
|
|
- }, {
|
|
|
- "sex": "男",
|
|
|
- "name": name,
|
|
|
- "org1": "山西焦煤西山煤电杜儿坪矿井下操作工双选公示",
|
|
|
- "cardno": "16666XXXXXXXXXXXXXXXXXXXXX99"
|
|
|
- }, {
|
|
|
- "sex": "男",
|
|
|
- "name": name,
|
|
|
- "org1": "山西焦煤西山煤电杜儿坪矿井下操作工双选公示",
|
|
|
- "cardno": "16666XXXXXXXXXXXXXXXXXXXXX99"
|
|
|
- }, {
|
|
|
- "sex": "男",
|
|
|
- "name": name,
|
|
|
- "org1": "山西焦煤西山煤电杜儿坪矿井下操作工双选公示",
|
|
|
- "cardno": "16666XXXXXXXXXXXXXXXXXXXXX99"
|
|
|
- }, {
|
|
|
- "sex": "男",
|
|
|
- "name": name,
|
|
|
- "org1": "山西焦煤西山煤电杜儿坪矿井下操作工双选公示",
|
|
|
- "cardno": "16666XXXXXXXXXXXXXXXXXXXXX99"
|
|
|
- }, {
|
|
|
- "sex": "男",
|
|
|
- "name": name,
|
|
|
- "org1": "山西焦煤西山煤电杜儿坪矿井下操作工双选公示",
|
|
|
- "cardno": "16666XXXXXXXXXXXXXXXXXXXXX99"
|
|
|
- }]
|
|
|
- }
|
|
|
- let listData = []
|
|
|
- res.data.forEach((item, index) => {
|
|
|
- let list = []
|
|
|
- if (index <= 8) {
|
|
|
- list.push('0' + (index + 1), item.name, item.sex, item.cardno, item.org1)
|
|
|
- } else {
|
|
|
- list.push((index + 1).toString(), item.name, item.sex, item.cardno, item.org1)
|
|
|
}
|
|
|
- listData.push(list)
|
|
|
})
|
|
|
- if (listData.length % 2 != 0) {
|
|
|
- listData.push([])
|
|
|
- }
|
|
|
- listData.forEach((item, index) => {
|
|
|
- if (index % 2 == 0) {
|
|
|
- that.employmentList1.data.push(item)
|
|
|
- } else {
|
|
|
- that.employmentList2.data.push(item)
|
|
|
- }
|
|
|
- })
|
|
|
- // console.log(that.employmentList1.data);
|
|
|
- setTimeout(() => {
|
|
|
- that.isShowList = true
|
|
|
- }, 10)
|
|
|
},
|
|
|
scrollChangeList(index) {
|
|
|
let that = this;
|
|
|
- // setTimeout(() => {
|
|
|
- // if (index + 5 == that.employmentList1.data.length) {
|
|
|
- // that.isListEnd = that.isListEnd + 1
|
|
|
- // if (that.isListEnd == 2) {
|
|
|
- // that.isListEnd = 0
|
|
|
- // that.isShowList = false
|
|
|
- // that.employmentList1.data = []
|
|
|
- // that.employmentList2.data = []
|
|
|
- // that.noticeIndex = that.noticeIndex + 1
|
|
|
- // if (that.noticeIndex > that.noticeList.length - 1) {
|
|
|
- // that.noticeIndex = 0
|
|
|
- // }
|
|
|
- // that.getNoticePerson("李四是五")
|
|
|
- // setTimeout(() => {
|
|
|
- // that.isShowList = true
|
|
|
- // }, 10)
|
|
|
-
|
|
|
- // }
|
|
|
- // }
|
|
|
- // }, 1700)
|
|
|
+ that.noticTime && clearInterval(that.noticTime)
|
|
|
+ setTimeout(() => {
|
|
|
+ if (index + 5 == that.employmentList1.data.length) {
|
|
|
+ that.isListEnd = that.isListEnd + 1
|
|
|
+ if (that.isListEnd == 2) {
|
|
|
+ that.isListEnd = 0
|
|
|
+ that.isShowList = false
|
|
|
+ that.employmentList1.data = []
|
|
|
+ that.employmentList2.data = []
|
|
|
+ that.noticeIndex = that.noticeIndex + 1
|
|
|
+ if (that.noticeIndex > that.noticeList.length - 1) {
|
|
|
+ that.noticeIndex = 0
|
|
|
+ }
|
|
|
+ // that.getNoticePerson("李四是五")
|
|
|
+ setTimeout(() => {
|
|
|
+ that.isShowList = true
|
|
|
+ }, 10)
|
|
|
+
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }, 1700)
|
|
|
if (index == 0) {
|
|
|
console.log("index == 0");
|
|
|
}
|
|
|
@@ -2744,32 +2621,106 @@ let app = new Vue({
|
|
|
|
|
|
}
|
|
|
},
|
|
|
+ changeCardNo(str) {
|
|
|
+ let arr = []
|
|
|
+ let list = []
|
|
|
+ if (str.length != 0) {
|
|
|
+ arr = str.split("")
|
|
|
+ for (let i = 0; i <= arr.length - 1; i++) {
|
|
|
+ if (i < 5) {
|
|
|
+ list.push(arr[i])
|
|
|
+ } else if (i > 5 && i < 14) {
|
|
|
+ list.push("*")
|
|
|
+ } else {
|
|
|
+ list.push(arr[i])
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ return list.join("")
|
|
|
+ },
|
|
|
+ changeNoticList(arr) {
|
|
|
+ let list = []
|
|
|
+ let that = this;
|
|
|
+ if (Array.isArray(arr)) {
|
|
|
+ arr.forEach((item, index) => {
|
|
|
+ let a = []
|
|
|
+ if (index <= 8) {
|
|
|
+ a = ["0" + (index + 1), item.name, item.sex, that.changeCardNo(item.cardno), item.org1]
|
|
|
+ } else {
|
|
|
+ a = [(index + 1).toString(), item.name, item.sex, that.changeCardNo(item.cardno), item.org1]
|
|
|
+ }
|
|
|
+ list.push(a)
|
|
|
+ })
|
|
|
+ }
|
|
|
+ return list
|
|
|
+ },
|
|
|
getNotice() {
|
|
|
let that = this;
|
|
|
let data = {
|
|
|
- flag: true
|
|
|
+ flag: false
|
|
|
};
|
|
|
- fetchPostMethods("/ierp/kapi/v2/mdnb/mdnb_control/getNotice", data).then(res => { })
|
|
|
- let res = {
|
|
|
- data: [{
|
|
|
- mdnb_noticecontent: " 根据相关要求,经过网上报名、资格审查、笔试、面试等程序,现将拟录用人员名单予以公示。公示时间为2023年09月14日至2023年09月14日 ((1个工作日)),\n如对双选结果有异议,可在公示期内通过电话形式反馈情况。 \n 受理电话: 0351-8305606 0351-8305171\n",
|
|
|
- title: "山西焦煤西山煤电杜儿坪矿井下操作工招聘公示",
|
|
|
- billno: "000001"
|
|
|
- }, {
|
|
|
- mdnb_noticecontent: " 根据相关要求,经过网上报名、资格审查、笔试、面试等程序,现将拟录用人员名单予以公示。公示时间为2023年09月14日至2023年09月14日 ((1个工作日)),\n如对双选结果有异议,可在公示期内通过电话形式反馈情况。 \n 受理电话: 0351-8305606 0351-8305171\n",
|
|
|
- title: "山西焦煤西山煤电杜坪矿井下操作工招聘公示",
|
|
|
- billno: "000002"
|
|
|
- }, {
|
|
|
- mdnb_noticecontent: " 根据相关要求,经过网上报名、资格审查、笔试、面试等程序,现将拟录用人员名单予以公示。公示时间为2023年09月14日至2023年09月14日 ((1个工作日)),\n如对双选结果有异议,可在公示期内通过电话形式反馈情况。 \n 受理电话: 0351-8305606 0351-8305171\n",
|
|
|
- title: "山西焦煤西山煤电杜儿矿井下操作工招聘公示",
|
|
|
- billno: "000003"
|
|
|
- }, {
|
|
|
- mdnb_noticecontent: " 根据相关要求,经过网上报名、资格审查、笔试、面试等程序,现将拟录用人员名单予以公示。公示时间为2023年09月14日至2023年09月14日 ((1个工作日)),\n如对双选结果有异议,可在公示期内通过电话形式反馈情况。 \n 受理电话: 0351-8305606 0351-8305171\n",
|
|
|
- title: "山西焦煤西山煤电儿坪矿井下操作工招聘公示",
|
|
|
- billno: "000004"
|
|
|
- }]
|
|
|
- }
|
|
|
- that.noticeList = res.data
|
|
|
+ this.isShowList = false
|
|
|
+
|
|
|
+ that.employmentList1.data = []
|
|
|
+ that.employmentList2.data = []
|
|
|
+
|
|
|
+
|
|
|
+ fetchPostMethods("/ierp/kapi/v2/mdnb/mdnb_control/getNotice", data).then(res => {
|
|
|
+ if (res) {
|
|
|
+ res.forEach((item, index) => {
|
|
|
+ if (index == 0) {
|
|
|
+ item.noticeUserList[0].sex = "南"
|
|
|
+ }
|
|
|
+ let obj = {
|
|
|
+ noticeDataList: item.noticeDataList,
|
|
|
+ noticeUserList: that.changeNoticList(item.noticeUserList)
|
|
|
+ }
|
|
|
+ that.noticList.push(obj)
|
|
|
+ })
|
|
|
+ that.noticList[that.noticIndex].noticeUserList.forEach((item, index) => {
|
|
|
+ if (index % 2 == 0) {
|
|
|
+ that.employmentList1.data.push(item)
|
|
|
+ } else {
|
|
|
+ that.employmentList2.data.push(item)
|
|
|
+ }
|
|
|
+ })
|
|
|
+
|
|
|
+ that.noticIndex += 1
|
|
|
+
|
|
|
+ if (that.employmentList2.data.length <= that.employmentList2.rowNum) {
|
|
|
+ that.noticTime = setInterval(() => {
|
|
|
+ that.employmentList1.data = []
|
|
|
+ that.employmentList2.data = []
|
|
|
+
|
|
|
+
|
|
|
+ that.isShowList = false
|
|
|
+ that.noticList[that.noticIndex].noticeUserList.forEach((item, index) => {
|
|
|
+ if (index % 2 == 0) {
|
|
|
+ that.employmentList1.data.push(item)
|
|
|
+ } else {
|
|
|
+ that.employmentList2.data.push(item)
|
|
|
+ }
|
|
|
+ })
|
|
|
+
|
|
|
+ console.log(that.employmentList1.data);
|
|
|
+
|
|
|
+ that.noticIndex += 1
|
|
|
+
|
|
|
+ if (that.noticIndex > that.noticList.length - 1) {
|
|
|
+ that.noticIndex = 0
|
|
|
+ }
|
|
|
+ setTimeout(() => {
|
|
|
+ that.isShowList = true
|
|
|
+ }, 10)
|
|
|
+ }, that.employmentList2.data.length * 2000)
|
|
|
+ }
|
|
|
+ setTimeout(() => {
|
|
|
+ that.isShowList = true
|
|
|
+ })
|
|
|
+ }
|
|
|
+ })
|
|
|
+
|
|
|
+ // that.noticeList = res.data
|
|
|
},
|
|
|
getDoubleChoice() {
|
|
|
let that = this;
|
|
|
@@ -2875,6 +2826,42 @@ let app = new Vue({
|
|
|
})
|
|
|
},
|
|
|
|
|
|
+ getTotalRate() {
|
|
|
+ let that = this;
|
|
|
+ let data = {
|
|
|
+ flag: true
|
|
|
+ };
|
|
|
+ fetchPostMethods("/ierp/kapi/v2/mdnb/mdnb_control/TotalRate", data).then(res => {
|
|
|
+ if (res) {
|
|
|
+ // that.rightList
|
|
|
+ res.data.forEach(item => {
|
|
|
+ if (item.key == "累计人数") {
|
|
|
+ that.rightList[1].num1 = item.value
|
|
|
+ }
|
|
|
+ if (item.key == "累计通过人数") {
|
|
|
+ that.rightList[1].num2 = item.value
|
|
|
+ }
|
|
|
+ if (item.key == "通过率") {
|
|
|
+ that.rightList[1].num3 = item.value
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
+ scrollChangeListW(index) {
|
|
|
+ let that = this;
|
|
|
+ if (index + 10 == that.configWritten.data.length) {
|
|
|
+ console.log("笔试更新");
|
|
|
+ that.getNoticePerson(1)
|
|
|
+ }
|
|
|
+ },
|
|
|
+ scrollChangeListIn(index) {
|
|
|
+ let that = this;
|
|
|
+ if (index + 10 == that.configInterview.data.length) {
|
|
|
+ console.log("面试更新");
|
|
|
+ that.getNoticePerson(2)
|
|
|
+ }
|
|
|
+ },
|
|
|
|
|
|
},
|
|
|
|