|
|
|
@ -104,7 +104,9 @@ |
|
|
|
|
<!-- 表格内容 --> |
|
|
|
|
<template v-for="(it, index) in model34Data"> |
|
|
|
|
<div class="moedel3_content_r_griditem">{{ index + 1 }}</div> |
|
|
|
|
<div class="moedel3_content_r_griditem moedel3_content_r_griditemmi"> |
|
|
|
|
<div |
|
|
|
|
class="moedel3_content_r_griditem moedel3_content_r_griditemmi" |
|
|
|
|
> |
|
|
|
|
{{ it.con }} |
|
|
|
|
</div> |
|
|
|
|
<div class="moedel3_content_r_griditem">{{ it.num }}</div> |
|
|
|
@ -593,7 +595,7 @@ import { |
|
|
|
|
getSignUpList, |
|
|
|
|
getClassList, |
|
|
|
|
getTeacherList, |
|
|
|
|
getSwiperImages |
|
|
|
|
getSwiperImages, |
|
|
|
|
} from "@/api/train/index.js"; |
|
|
|
|
import { mapGetters } from "vuex"; |
|
|
|
|
import { getCodeUserLogin } from "@/api/system/login"; |
|
|
|
@ -1013,7 +1015,10 @@ export default { |
|
|
|
|
// 新模块 |
|
|
|
|
topClassList: [], |
|
|
|
|
bottomClassList: [], |
|
|
|
|
classInfo: null, |
|
|
|
|
classInfo: { |
|
|
|
|
classId: "", |
|
|
|
|
classType: "", |
|
|
|
|
}, |
|
|
|
|
// 职称数据 |
|
|
|
|
activezcList: { |
|
|
|
|
type: 0, |
|
|
|
@ -1078,12 +1083,27 @@ export default { |
|
|
|
|
}, |
|
|
|
|
itemClick(item) { |
|
|
|
|
console.log("==========", item); |
|
|
|
|
|
|
|
|
|
if (item.classType === "0") { |
|
|
|
|
this.openSubmit(); |
|
|
|
|
} |
|
|
|
|
if (item.classType == 3) { |
|
|
|
|
this.$router.push("/college/teacherDetail"); |
|
|
|
|
} |
|
|
|
|
// 可靠 |
|
|
|
|
if (item.classType == 2) { |
|
|
|
|
this.classInfo.classId = item.entityId; |
|
|
|
|
this.classInfo.classType = item.classType; |
|
|
|
|
console.log(this.classInfo); |
|
|
|
|
this.pcBaoming(); |
|
|
|
|
} |
|
|
|
|
// 线下 |
|
|
|
|
if (item.classType == 1) { |
|
|
|
|
this.classInfo.classId = item.entityId; |
|
|
|
|
this.classInfo.classType = item.classType; |
|
|
|
|
this.pcBaoming(); |
|
|
|
|
console.log(this.classInfo) |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
// 鼠标进入移出事件 |
|
|
|
|
pauseAnimation() { |
|
|
|
@ -1132,9 +1152,9 @@ export default { |
|
|
|
|
this.rowClick(this.topClassList[0]); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
getSwiperImages().then(res=>{ |
|
|
|
|
this.indexbanner = res.data |
|
|
|
|
}) |
|
|
|
|
getSwiperImages().then((res) => { |
|
|
|
|
this.indexbanner = res.data; |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
mouseenterFn(i) { |
|
|
|
@ -1374,12 +1394,15 @@ export default { |
|
|
|
|
if (valid) { |
|
|
|
|
if (this.token) { |
|
|
|
|
// 登录了 |
|
|
|
|
console.log(this.classInfo); |
|
|
|
|
console.log(this.classInfo.classId); |
|
|
|
|
let data = { |
|
|
|
|
mobile: this.formjj.mobile, |
|
|
|
|
studentName: this.formjj.studentName, |
|
|
|
|
trainClassId: this.classInfo.classId, |
|
|
|
|
classType: this.classInfo.classType, |
|
|
|
|
}; |
|
|
|
|
console.log(data); |
|
|
|
|
await postBaomingNoToken(data).then((res) => { |
|
|
|
|
if (res.data.code == 200) { |
|
|
|
|
this.$message.success("报名成功"); |
|
|
|
@ -1429,6 +1452,7 @@ export default { |
|
|
|
|
}, |
|
|
|
|
// 评测报名 |
|
|
|
|
pcBaoming(item) { |
|
|
|
|
console.log(item); |
|
|
|
|
// if (!this.token) { |
|
|
|
|
// this.$confirm('您未登录,请您先去登录', '提示', { |
|
|
|
|
// confirmButtonText: '确定', |
|
|
|
@ -1446,7 +1470,9 @@ export default { |
|
|
|
|
// this.classInfo = item |
|
|
|
|
// } |
|
|
|
|
this.isPcshow = true; |
|
|
|
|
this.classInfo = item; |
|
|
|
|
if(item){ |
|
|
|
|
this.classInfo = item; |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
sendCode() { |
|
|
|
|
if (!/^1[34578]\d{9}$/.test(this.formjj.mobile)) { |
|
|
|
|