lion 1 year ago
parent 81115f0014
commit 0cd8a3aa5d

@ -37,10 +37,10 @@ export default {
// 课程 // 课程
course_type: [{ course_type: [{
id: 1, id: 1,
value: '长期课程' value: '常规课程'
}, { }, {
id: 2, id: 2,
value: '短期课程' value: '公司团建'
}], }],
course_status: [{ course_status: [{
id: 0, id: 0,

@ -50,38 +50,42 @@
<template v-slot:course_signs_count> <template v-slot:course_signs_count>
<el-table-column align='center' label="目前报名人数" width="120" header-align="center"> <el-table-column align='center' label="目前报名人数" width="120" header-align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<div style="cursor: 'pointer';color: 'blue';text-decoration: 'underline'" <div v-if="scope.row.course_signs_count && scope.row.course_signs_count>0" style="cursor: pointer;color:blue;text-decoration:underline"
@click="toApply(scope.row,'')"> @click="toApply(scope.row,'')">
{{scope.row.course_signs_count?scope.row.course_signs_count:0}} {{scope.row.course_signs_count}}
</div> </div>
<div v-else>0</div>
</template> </template>
</el-table-column> </el-table-column>
</template> </template>
<template v-slot:sign_pass_total> <template v-slot:sign_pass_total>
<el-table-column align='center' label="审核通过人数" width="120" header-align="center"> <el-table-column align='center' label="审核通过人数" width="120" header-align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<div style="cursor: 'pointer';color: 'blue'; text-decoration: 'underline'" <div v-if="scope.row.sign_pass_total && scope.row.sign_pass_total>0" style="cursor: pointer;color:blue;text-decoration:underline"
@click="toApply(scope.row,1)">{{scope.row.sign_pass_total?scope.row.sign_pass_total:0}}</div> @click="toApply(scope.row,1)">{{scope.row.sign_pass_total}}</div>
<div v-else>0</div>
</template> </template>
</el-table-column> </el-table-column>
</template> </template>
<template v-slot:sign_fault_total> <template v-slot:sign_fault_total>
<el-table-column align='center' label="审核不通过人数" width="120" header-align="center"> <el-table-column align='center' label="审核不通过人数" width="120" header-align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<div style="cursor: 'pointer';color: 'blue';text-decoration: 'underline'" <div v-if="scope.row.sign_fault_total && scope.row.sign_fault_total>0" style="cursor: pointer;color:blue;text-decoration:underline"
@click="toApply(scope.row,2)"> @click="toApply(scope.row,2)">
{{scope.row.sign_fault_total?scope.row.sign_fault_total:0}} {{scope.row.sign_fault_total}}
</div> </div>
<div v-else>0</div>
</template> </template>
</el-table-column> </el-table-column>
</template> </template>
<template v-slot:sign_wait_total> <template v-slot:sign_wait_total>
<el-table-column align='center' label="待审核人数" width="120" header-align="center"> <el-table-column align='center' label="待审核人数" width="120" header-align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<div style="cursor: 'pointer';color: 'blue';text-decoration: 'underline'" <div v-if="scope.row.sign_wait_total && scope.row.sign_wait_total>0" style="cursor: pointer;color:blue;text-decoration:underline"
@click="toApply(scope.row,0)"> @click="toApply(scope.row,0)">
{{scope.row.sign_wait_total?scope.row.sign_wait_total:0}} {{scope.row.sign_wait_total}}
</div> </div>
<div v-else>0</div>
</template> </template>
</el-table-column> </el-table-column>
</template> </template>

@ -166,6 +166,7 @@
}, },
showDetail(type, id) { showDetail(type, id) {
console.log(type,id) console.log(type,id)
this.$refs.studentDetail.subjectObj = this.subjectObj
this.$refs.studentDetail.id = id this.$refs.studentDetail.id = id
this.$refs.studentDetail.type = type this.$refs.studentDetail.type = type
this.$refs.studentDetail.isShow = true this.$refs.studentDetail.isShow = true

@ -8,10 +8,10 @@
<span style="color: red;font-weight: bold;padding-right: 4px;"></span> <span style="color: red;font-weight: bold;padding-right: 4px;"></span>
</div> </div>
<div class="xy-table-item-content" style="flex-grow: 1;"> <div class="xy-table-item-content" style="flex-grow: 1;">
<div class="courseName"> <div class="courseName" v-if="type=='check'">
<div>课程名称第六期高级科创人才研修班</div> <div>课程名称{{subjectObj.title}}</div>
<div>开课日期2024.3.1-----2024.9.1</div> <div>开课日期{{subjectObj.date}}</div>
<div>类别正常课程</div> <div>类别{{subjectObj.leibie}}</div>
</div> </div>
<div> <div>
<lx-header icon="" text="个人信息" style="margin-bottom: 10px; border: 0px; margin-top: 15px"> <lx-header icon="" text="个人信息" style="margin-bottom: 10px; border: 0px; margin-top: 15px">
@ -209,6 +209,9 @@
import { import {
show show
} from '@/api/student/index.js' } from '@/api/student/index.js'
// import {
// show
// } from '@/api/student/index.js'
import myMixins from "@/mixin/selectMixin.js"; import myMixins from "@/mixin/selectMixin.js";
export default { export default {
mixins: [myMixins], mixins: [myMixins],
@ -220,7 +223,7 @@
isShow: false, isShow: false,
type: 'show', type: 'show',
id: '', id: '',
subjectObj:null, subjectObj:{},
student_info: {}, student_info: {},
form: { form: {
show: '', show: '',
@ -260,10 +263,11 @@
isShow(newVal) { isShow(newVal) {
if (newVal) { if (newVal) {
if (this.type === 'show' || this.type === 'check') { if (this.type === 'show' || this.type === 'check') {
// this.getDetail() this.getDetail()
} }
} else { } else {
this.id = '' this.id = ''
this.subjectObj = {}
this.$refs['dialog'].reset() this.$refs['dialog'].reset()
} }
}, },

Loading…
Cancel
Save