|
@@ -409,7 +409,6 @@ let app = new Vue({
|
|
|
beforeCreate() {
|
|
beforeCreate() {
|
|
|
// 跳转地址
|
|
// 跳转地址
|
|
|
let AddUrl = location.protocol + "//" + location.host + "/ierp"
|
|
let AddUrl = location.protocol + "//" + location.host + "/ierp"
|
|
|
- return
|
|
|
|
|
if (!window.location.search) {
|
|
if (!window.location.search) {
|
|
|
// alert("链接已失效,请重新打开")
|
|
// alert("链接已失效,请重新打开")
|
|
|
window.location.href = AddUrl
|
|
window.location.href = AddUrl
|
|
@@ -2836,13 +2835,13 @@ let app = new Vue({
|
|
|
}
|
|
}
|
|
|
let arr = []
|
|
let arr = []
|
|
|
if (res.bishiList.length != 0) {
|
|
if (res.bishiList.length != 0) {
|
|
|
- arr.push(...res.bishiList)
|
|
|
|
|
|
|
+ arr.push(...that.getNo(res.bishiList))
|
|
|
res.bishiList = []
|
|
res.bishiList = []
|
|
|
res.bishiList = arr.filter((_, index) => index % 2 === 0);
|
|
res.bishiList = arr.filter((_, index) => index % 2 === 0);
|
|
|
res.mianshiList = arr.filter((_, index) => index % 2 !== 0);
|
|
res.mianshiList = arr.filter((_, index) => index % 2 !== 0);
|
|
|
that.configInterviewElse.data = [...arr]
|
|
that.configInterviewElse.data = [...arr]
|
|
|
} else if (res.mianshiList.length != 0) {
|
|
} else if (res.mianshiList.length != 0) {
|
|
|
- arr.push(...res.mianshiList)
|
|
|
|
|
|
|
+ arr.push(...that.getNo(res.mianshiList))
|
|
|
res.mianshiList = []
|
|
res.mianshiList = []
|
|
|
res.bishiList = arr.filter((_, index) => index % 2 === 0);
|
|
res.bishiList = arr.filter((_, index) => index % 2 === 0);
|
|
|
res.mianshiList = arr.filter((_, index) => index % 2 !== 0);
|
|
res.mianshiList = arr.filter((_, index) => index % 2 !== 0);
|
|
@@ -2850,25 +2849,25 @@ let app = new Vue({
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
if (type == 1) {
|
|
if (type == 1) {
|
|
|
- // that.configWritten.data = res.bishiList
|
|
|
|
|
- that.configWritten.data = that.getNo(res.bishiList)
|
|
|
|
|
|
|
+ that.configWritten.data = res.bishiList
|
|
|
|
|
+ // that.configWritten.data = that.getNo(res.bishiList)
|
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
|
that.showExamination = true
|
|
that.showExamination = true
|
|
|
}, 10)
|
|
}, 10)
|
|
|
|
|
|
|
|
} else if (type == 2) {
|
|
} else if (type == 2) {
|
|
|
- // that.configInterview.data = res.mianshiList
|
|
|
|
|
- that.configInterview.data = that.getNo(res.mianshiList)
|
|
|
|
|
|
|
+ that.configInterview.data = res.mianshiList
|
|
|
|
|
+ // that.configInterview.data = that.getNo(res.mianshiList)
|
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
|
that.showInterview = true
|
|
that.showInterview = true
|
|
|
}, 10)
|
|
}, 10)
|
|
|
|
|
|
|
|
|
|
|
|
|
} else {
|
|
} else {
|
|
|
- // that.configWritten.data = res.bishiList
|
|
|
|
|
- that.configWritten.data = that.getNo(res.bishiList)
|
|
|
|
|
- // that.configInterview.data = res.mianshiList
|
|
|
|
|
- that.configInterview.data = that.getNo(res.mianshiList)
|
|
|
|
|
|
|
+ that.configWritten.data = res.bishiList
|
|
|
|
|
+ // that.configWritten.data = that.getNo(res.bishiList)
|
|
|
|
|
+ that.configInterview.data = res.mianshiList
|
|
|
|
|
+ // that.configInterview.data = that.getNo(res.mianshiList)
|
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
|
that.showInterview = true
|
|
that.showInterview = true
|
|
|
that.showExamination = true
|
|
that.showExamination = true
|