|
|
|
@ -94,9 +94,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
<el-button type="primary" size="small" @click="importTable">导入</el-button>
|
|
|
|
<el-button type="primary" size="small" @click="importTable">导入</el-button>
|
|
|
|
<el-button style="margin-right:10px" type="primary" size="small" @click="exportExcel">导出</el-button>
|
|
|
|
<el-button style="margin-right:10px" type="primary" size="small" @click="exportExcel">导出</el-button>
|
|
|
|
<el-popconfirm @confirm="updateAllStatus" title="确定要批量审核吗?">
|
|
|
|
<el-popconfirm @confirm="updateAllStatus(1)" title="确定要批量审核吗?">
|
|
|
|
<el-button type="primary" size="small" slot="reference">批量审核</el-button>
|
|
|
|
<el-button style="margin-right:10px" type="primary" size="small" slot="reference">批量审核通过</el-button>
|
|
|
|
</el-popconfirm>
|
|
|
|
</el-popconfirm>
|
|
|
|
|
|
|
|
<!-- <el-popconfirm @confirm="updateAllStatus(2)" title="确定要批量审核吗?"> -->
|
|
|
|
|
|
|
|
<el-button @click="updateAllStatus(2)" type="warning" size="small" slot="reference">批量审核不通过</el-button>
|
|
|
|
|
|
|
|
<!-- </el-popconfirm> -->
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
@ -121,6 +124,16 @@
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<template v-slot:username>
|
|
|
|
|
|
|
|
<el-table-column align='center' label="姓名" width="120" header-align="center">
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
|
|
<div>{{scope.row.user.username}}</div>
|
|
|
|
|
|
|
|
<div style="color:red" v-if="scope.row.change_data && scope.row.change_data.length>0">
|
|
|
|
|
|
|
|
报名信息有变更
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
<template v-slot:status>
|
|
|
|
<template v-slot:status>
|
|
|
|
<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">
|
|
|
|
@ -145,9 +158,13 @@
|
|
|
|
</xy-table>
|
|
|
|
</xy-table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 批量审核不通过 -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<student-detail ref="studentDetail" @refresh="getList"></student-detail>
|
|
|
|
<student-detail ref="studentDetail" @refresh="getList"></student-detail>
|
|
|
|
<imports ref="imports" :course_id="subjectObj.id" :status="0" :table-name="'course_signs'" @refresh="getList">
|
|
|
|
<imports ref="imports" :course_id="subjectObj.id" :status="0" :table-name="'course_signs'" @refresh="getList">
|
|
|
|
</imports>
|
|
|
|
</imports>
|
|
|
|
|
|
|
|
<updateStaturReason ref="updateStaturReason" @refresh="getList"></updateStaturReason>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
@ -165,12 +182,13 @@
|
|
|
|
import {
|
|
|
|
import {
|
|
|
|
download
|
|
|
|
download
|
|
|
|
} from "@/utils/downloadRequest";
|
|
|
|
} from "@/utils/downloadRequest";
|
|
|
|
|
|
|
|
import updateStaturReason from "./components/updateStaturReason.vue"
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
mixins: [myMixins, formMixin],
|
|
|
|
mixins: [myMixins, formMixin],
|
|
|
|
components: {
|
|
|
|
components: {
|
|
|
|
studentDetail,
|
|
|
|
studentDetail,
|
|
|
|
imports
|
|
|
|
imports,
|
|
|
|
|
|
|
|
updateStaturReason
|
|
|
|
},
|
|
|
|
},
|
|
|
|
data() {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
@ -216,7 +234,7 @@
|
|
|
|
fixed: 'left'
|
|
|
|
fixed: 'left'
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
prop: 'user.username',
|
|
|
|
prop: 'username',
|
|
|
|
label: '姓名',
|
|
|
|
label: '姓名',
|
|
|
|
align: 'center',
|
|
|
|
align: 'center',
|
|
|
|
width: 120,
|
|
|
|
width: 120,
|
|
|
|
@ -390,10 +408,19 @@
|
|
|
|
return
|
|
|
|
return
|
|
|
|
}
|
|
|
|
}
|
|
|
|
let ids = this.selectids.join(',')
|
|
|
|
let ids = this.selectids.join(',')
|
|
|
|
|
|
|
|
if(status==2){
|
|
|
|
|
|
|
|
this.$refs.updateStaturReason.setIds({
|
|
|
|
|
|
|
|
course_id: this.select.course_id,
|
|
|
|
|
|
|
|
ids: ids,
|
|
|
|
|
|
|
|
status: status,
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
this.$refs.updateStaturReason.isShow = true
|
|
|
|
|
|
|
|
return
|
|
|
|
|
|
|
|
}
|
|
|
|
updateStatus({
|
|
|
|
updateStatus({
|
|
|
|
course_id: this.select.course_id,
|
|
|
|
course_id: this.select.course_id,
|
|
|
|
ids: ids,
|
|
|
|
ids: ids,
|
|
|
|
status: 1,
|
|
|
|
status: status,
|
|
|
|
}).then(res => {
|
|
|
|
}).then(res => {
|
|
|
|
this.$Message.success('审核成功')
|
|
|
|
this.$Message.success('审核成功')
|
|
|
|
this.getList()
|
|
|
|
this.getList()
|
|
|
|
|