You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

201 lines
5.4 KiB

1 year ago
<template>
<div>
<div>
<div ref="lxHeader">
<lx-header icon="md-apps" :text="$route.meta.title" style="margin-bottom: 10px; border: 0px; margin-top: 15px">
<div slot="content" style="padding-left:0">
<div class="txl">
<div>课程名称第六期高级科创人才研修班</div>
<div>开课日期2024.3.1-----2024.9.1</div>
<div>类别正常课程</div>
</div>
<div class="searchwrap" style="display: flex;align-items: center;">
<div>
<el-input v-model="select.name" placeholder="请输入姓名"></el-input>
</div>
<div>
<el-select v-model="select.type" placeholder="请选择企业性质" clearable>
<el-option v-for="item in type_options" :key="item.id" :label="item.value" :value="item.id">
</el-option>
</el-select>
</div>
<div>
<el-select v-model="select.type" placeholder="请选择所属行业" clearable>
<el-option v-for="item in type_options" :key="item.id" :label="item.value" :value="item.id">
</el-option>
</el-select>
</div>
<div>
<el-select v-model="select.status" placeholder="请选择所属区域" clearable>
<el-option v-for="item in type_options" :key="item.id" :label="item.value" :value="item.id">
</el-option>
</el-select>
</div>
<div>
<el-select v-model="select.status" placeholder="请选择审核状态" clearable>
<el-option v-for="item in status_options" :key="item.id" :label="item.value" :value="item.id">
</el-option>
</el-select>
</div>
<div>
<el-button type="primary" size="small">查询</el-button>
</div>
<div>
<el-button type="primary" size="small">导出</el-button>
</div>
</div>
</div>
</lx-header>
</div>
</div>
<div>
<xy-table :list="list" :total="total" :table-item="table_item">
<template v-slot:btns>
<el-table-column align='center' fixed="right" label="操作" width="80" header-align="center">
<template slot-scope="scope">
1 year ago
<el-button type="primary" size="small" @click="showDetail('show')"></el-button>
1 year ago
</template>
</el-table-column>
</template>
</xy-table>
</div>
1 year ago
<student-detail ref="studentDetail"></student-detail>
1 year ago
</div>
</template>
<script>
1 year ago
import studentDetail from '@/views/student/components/detail.vue';
1 year ago
export default {
components:{
1 year ago
studentDetail
1 year ago
},
data() {
return {
select: {
name: '',
daterange: '',
type: ''
},
type_options: [{
id: 0,
value: '常规课程'
}, {
id: 1,
value: '短期课程'
}],
status_options: [{
id: 0,
value: '未通过'
}, {
id: 1,
value: '已通过'
}],
1 year ago
list: [{
name:'王同学'
}],
1 year ago
total: 0,
table_item: [{
prop: 'name',
label: '姓名',
align: 'center',
width:120
}, {
prop: 'compony',
label: '公司',
align: 'left',
width:200
}, {
prop: 'zw',
1 year ago
label: '职务',
1 year ago
align: 'center',
width: 160,
}, {
prop: 'mobile',
label: '联系电话',
align: 'center',
width: 180,
}, {
prop: 'type',
label: '企业性质',
align: 'center',
width: 180,
}, {
prop: 'opc',
label: '所属行业',
align: 'center',
width: 180,
}, {
prop: 'area',
label: '所属区域',
align: 'center',
width: 180,
}, {
prop: 'date',
label: '报名时间',
align: 'center',
width: 180,
},{
prop: 'status',
label: '审核状态',
align: 'center',
width: 180,
}]
}
},
created() {
},
methods: {
1 year ago
showDetail(type,id){
1 year ago
1 year ago
this.$refs.studentDetail.type = type
this.$refs.studentDetail.isShow = true
1 year ago
},
deleteList() {
var that = this;
destroy({
id: this.id,
table_name: 'new_plans'
}).then(response => {
this.$Message.success('操作成功');
this.isShow = false
this.$emit('refresh')
}).catch(error => {
console.log(error)
reject(error)
})
},
}
}
</script>
<style lang="scss" scoped>
.txl{
display: flex;
align-items: center;
margin-bottom:10px;
&>div{
margin-right:10px;
}
}
.searchwrap {
display: flex;
align-items: center;
&>div {
display: flex;
align-items: center;
margin-right: 10px;
span {
min-width: 70px;
}
}
}
</style>