lion 1 year ago
parent 81115f0014
commit 0cd8a3aa5d

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

@ -50,38 +50,42 @@
<template v-slot:course_signs_count>
<el-table-column align='center' label="目前报名人数" width="120" header-align="center">
<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,'')">
{{scope.row.course_signs_count?scope.row.course_signs_count:0}}
{{scope.row.course_signs_count}}
</div>
<div v-else>0</div>
</template>
</el-table-column>
</template>
<template v-slot:sign_pass_total>
<el-table-column align='center' label="审核通过人数" width="120" header-align="center">
<template slot-scope="scope">
<div 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>
<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}}</div>
<div v-else>0</div>
</template>
</el-table-column>
</template>
<template v-slot:sign_fault_total>
<el-table-column align='center' label="审核不通过人数" width="120" header-align="center">
<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)">
{{scope.row.sign_fault_total?scope.row.sign_fault_total:0}}
{{scope.row.sign_fault_total}}
</div>
<div v-else>0</div>
</template>
</el-table-column>
</template>
<template v-slot:sign_wait_total>
<el-table-column align='center' label="待审核人数" width="120" header-align="center">
<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)">
{{scope.row.sign_wait_total?scope.row.sign_wait_total:0}}
{{scope.row.sign_wait_total}}
</div>
<div v-else>0</div>
</template>
</el-table-column>
</template>

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

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

Loading…
Cancel
Save