|
@@ -201,22 +201,25 @@ let app = new Vue({
|
|
columnWidth: [90, 120, 170, 200],
|
|
columnWidth: [90, 120, 170, 200],
|
|
rowNum: 6,
|
|
rowNum: 6,
|
|
data: [
|
|
data: [
|
|
- ["01", '陈英', '洽谈室1', '杜儿坪矿', "2023.08.18 09:30-10:30"],
|
|
|
|
- ["02", '李小曼', '洽谈室1', '杜儿坪矿', "2023.08.18 09:30-10:30"],
|
|
|
|
- ["03", '王亮', '洽谈室1', '柳湾煤矿', "2023.08.18 09:30-10:30"],
|
|
|
|
- ["04", '李鑫', '洽谈室1', '高阳煤矿', "2023.08.18 09:30-10:30"],
|
|
|
|
- ["05", '王杰', '洽谈室1', '柳湾煤矿', "2023.08.18 09:30-10:30"],
|
|
|
|
- ["06", '张强', '洽谈室1', '杜儿坪矿', "2023.08.18 09:30-10:30"],
|
|
|
|
- ["07", '王强', '洽谈室1', '高阳煤矿', "2023.08.19 09:30-10:30"],
|
|
|
|
- ["08", '程丽', '洽谈室1', '柳湾煤矿', "2023.08.19 09:30-10:30"],
|
|
|
|
- ["09", '韩赢', '洽谈室1', '杜儿坪矿', "2023.08.19 09:30-10:30"],
|
|
|
|
- ["10", '王丽', '洽谈室1', '柳湾煤矿', "2023.08.19 09:30-10:30"],
|
|
|
|
|
|
+
|
|
],
|
|
],
|
|
align: ["center", "center", "center", "center", "center"],
|
|
align: ["center", "center", "center", "center", "center"],
|
|
headerBGC: "#69c1ff2d",
|
|
headerBGC: "#69c1ff2d",
|
|
oddRowBGC: "rgba(105, 193, 255, 0)",
|
|
oddRowBGC: "rgba(105, 193, 255, 0)",
|
|
evenRowBGC: "#69c1ff21",
|
|
evenRowBGC: "#69c1ff21",
|
|
},
|
|
},
|
|
|
|
+ configInterviewElse: {
|
|
|
|
+ waitTime: 2000,
|
|
|
|
+ header: ["序号", "姓名", "地点", "双选单位", "时间"],
|
|
|
|
+ headerHeight: 55,
|
|
|
|
+ columnWidth: [240, 320, 370, 460, 480],
|
|
|
|
+ rowNum: 25,
|
|
|
|
+ data: [],
|
|
|
|
+ align: ["center", "center", "center", "center", "center"],
|
|
|
|
+ headerBGC: "#69c1ff2d",
|
|
|
|
+ oddRowBGC: "rgba(105, 193, 255, 0)",
|
|
|
|
+ evenRowBGC: "#69c1ff21",
|
|
|
|
+ },
|
|
configWritten: {
|
|
configWritten: {
|
|
waitTime: 2000,
|
|
waitTime: 2000,
|
|
header: ["序号", "姓名", "地点", "双选单位", "时间"],
|
|
header: ["序号", "姓名", "地点", "双选单位", "时间"],
|
|
@@ -224,16 +227,6 @@ let app = new Vue({
|
|
columnWidth: [90, 120, 170, 200],
|
|
columnWidth: [90, 120, 170, 200],
|
|
rowNum: 6,
|
|
rowNum: 6,
|
|
data: [
|
|
data: [
|
|
- ["01", '李志桐', '洽谈室1', '杜儿坪矿', "2023.08.22 09:30-10:30"],
|
|
|
|
- ["02", '赵建国', '洽谈室1', '柳湾煤矿', "2023.08.22 09:30-10:30"],
|
|
|
|
- ["03", '张耀杰', '洽谈室1', '高阳煤矿', "2023.08.22 09:30-10:30"],
|
|
|
|
- ["04", '崔诚', '洽谈室1', '杜儿坪矿', "2023.08.22 09:30-10:30"],
|
|
|
|
- ["05", '陈灵均', '洽谈室1', '杜儿坪矿', "2023.08.22 09:30-10:30"],
|
|
|
|
- ["06", '杜勇', '洽谈室1', '柳湾煤矿', "2023.08.23 09:30-10:30"],
|
|
|
|
- ["07", '李灵风', '洽谈室1', '高阳煤矿', "2023.08.23 09:30-10:30"],
|
|
|
|
- ["08", '卢晨', '洽谈室1', '杜儿坪矿', "2023.08.23 09:30-10:30"],
|
|
|
|
- ["08", '韩玉树', '洽谈室1', '柳湾煤矿', "2023.08.23 09:30-10:30"],
|
|
|
|
- ["09", '王杰', '洽谈室1', '杜儿坪矿', "2023.08.23 09:30-10:30"],
|
|
|
|
],
|
|
],
|
|
align: ["center", "center", "center", "center", "center"],
|
|
align: ["center", "center", "center", "center", "center"],
|
|
headerBGC: "#69c1ff2d",
|
|
headerBGC: "#69c1ff2d",
|
|
@@ -591,8 +584,8 @@ let app = new Vue({
|
|
let that = this;
|
|
let that = this;
|
|
if (index == 1) {
|
|
if (index == 1) {
|
|
if (that.showBigList) {
|
|
if (that.showBigList) {
|
|
- that.configInterview.rowNum = 10
|
|
|
|
- that.configWritten.rowNum = 10
|
|
|
|
|
|
+ that.configInterview.rowNum = 20
|
|
|
|
+ that.configWritten.rowNum = 20
|
|
that.employmentList3.rowNum = 20
|
|
that.employmentList3.rowNum = 20
|
|
that.configInterview.columnWidth = []
|
|
that.configInterview.columnWidth = []
|
|
that.configInterview.columnWidth = [240, 320, 370, 460, 480]
|
|
that.configInterview.columnWidth = [240, 320, 370, 460, 480]
|
|
@@ -1012,7 +1005,6 @@ let app = new Vue({
|
|
// if(myChart){
|
|
// if(myChart){
|
|
// myChart.dispose()
|
|
// myChart.dispose()
|
|
// }
|
|
// }
|
|
- console.log(type);
|
|
|
|
let myChart
|
|
let myChart
|
|
if (type) {
|
|
if (type) {
|
|
if (that[type]) {
|
|
if (that[type]) {
|
|
@@ -2762,10 +2754,9 @@ let app = new Vue({
|
|
// // that.initLineRight(child.children[1], { value: dataList[i].value, total }, title)
|
|
// // that.initLineRight(child.children[1], { value: dataList[i].value, total }, title)
|
|
// }
|
|
// }
|
|
let echartsErrorBox = that.$refs.echartsErrorBox
|
|
let echartsErrorBox = that.$refs.echartsErrorBox
|
|
- setTimeout(()=>{
|
|
|
|
|
|
+ setTimeout(() => {
|
|
for (const child of echartsErrorBox.children) {
|
|
for (const child of echartsErrorBox.children) {
|
|
const index = Array.prototype.indexOf.call(echartsErrorBox.children, child);
|
|
const index = Array.prototype.indexOf.call(echartsErrorBox.children, child);
|
|
- console.log(index);
|
|
|
|
let title = "lineRight" + (index + 1)
|
|
let title = "lineRight" + (index + 1)
|
|
that.initLineRight(child.children[1], { value: dataList[index].value, total }, title)
|
|
that.initLineRight(child.children[1], { value: dataList[index].value, total }, title)
|
|
}
|
|
}
|
|
@@ -2843,13 +2834,30 @@ let app = new Vue({
|
|
})
|
|
})
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ let arr = []
|
|
|
|
+ if (res.bishiList.length != 0) {
|
|
|
|
+ arr.push(...res.bishiList)
|
|
|
|
+ res.bishiList = []
|
|
|
|
+ res.bishiList = arr.filter((_, index) => index % 2 === 0);
|
|
|
|
+ res.mianshiList = arr.filter((_, index) => index % 2 !== 0);
|
|
|
|
+ that.configInterviewElse.data = [...arr]
|
|
|
|
+ } else if (res.mianshiList.length != 0) {
|
|
|
|
+ arr.push(...res.mianshiList)
|
|
|
|
+ res.mianshiList = []
|
|
|
|
+ res.bishiList = arr.filter((_, index) => index % 2 === 0);
|
|
|
|
+ res.mianshiList = arr.filter((_, index) => index % 2 !== 0);
|
|
|
|
+ that.configInterviewElse.data = [...arr]
|
|
|
|
+ }
|
|
|
|
+
|
|
if (type == 1) {
|
|
if (type == 1) {
|
|
|
|
+ // that.configWritten.data = res.bishiList
|
|
that.configWritten.data = that.getNo(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 = that.getNo(res.mianshiList)
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
that.showInterview = true
|
|
that.showInterview = true
|
|
@@ -2857,7 +2865,9 @@ let app = new Vue({
|
|
|
|
|
|
|
|
|
|
} else {
|
|
} else {
|
|
|
|
+ // that.configWritten.data = res.bishiList
|
|
that.configWritten.data = that.getNo(res.bishiList)
|
|
that.configWritten.data = that.getNo(res.bishiList)
|
|
|
|
+ // that.configInterview.data = res.mianshiList
|
|
that.configInterview.data = that.getNo(res.mianshiList)
|
|
that.configInterview.data = that.getNo(res.mianshiList)
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
that.showInterview = true
|
|
that.showInterview = true
|
|
@@ -2878,7 +2888,6 @@ let app = new Vue({
|
|
}, (10000 * 6 * 5))
|
|
}, (10000 * 6 * 5))
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-
|
|
|
|
}
|
|
}
|
|
})
|
|
})
|
|
},
|
|
},
|