更新修改

dev
lion 1 year ago
parent c2a7e10fb7
commit 4eb1951e79

@ -31,11 +31,11 @@ export default {
belong_user: 1,
belong_user_table: 'sex'
}, {
name: '出生日期',
name: '出生年月',
field: 'birthday',
rule: '',
edit_input: "date",
help: '请选择出生日期',
help: '请选择出生年月',
need_fill: 0,
belong_user: 1,
belong_user_table: 'birthday'
@ -253,11 +253,11 @@ export default {
belong_user_table: 'sex',
sort: 0,
}, {
name: '出生日期',
name: '出生年月',
field: 'birthday',
rule: '',
edit_input: "date",
help: '请选择出生日期',
help: '请选择出生年月',
need_fill: 0,
belong_user: 1,
belong_user_table: 'birthday',
@ -297,11 +297,11 @@ export default {
belong_user_table: 'education',
sort: 0,
}, {
name: '公司名称',
name: '公司',
field: 'company_name',
rule: '',
edit_input: "text",
help: '请输入公司名称',
help: '请输入公司',
need_fill: 0,
belong_user: 1,
belong_user_table: 'company_name',
@ -318,7 +318,7 @@ export default {
belong_user_table: 'company_position',
sort: 0,
}, {
name: '有无股份',
name: '股份',
field: 'company_has_share',
rule: '',
edit_input: "radio",
@ -336,11 +336,11 @@ export default {
belong_user_table: 'company_has_share',
sort: 0,
}, {
name: '人才类',
name: '人才类',
field: 'type',
rule: '',
edit_input: "radio",
help: '请选择人才类',
help: '请选择人才类',
need_fill: 0,
belong_user: 1,
select_item: [],
@ -373,11 +373,11 @@ export default {
sort: 0,
span: 2
}, {
name: '所在区域',
name: '板块',
field: 'company_area',
rule: '',
edit_input: "radio",
help: '请选择所在区域',
help: '请选择板块',
need_fill: 0,
belong_user: 1,
select_item: [],
@ -385,11 +385,11 @@ export default {
belong_user_table: 'company_area',
sort: 0,
}, {
name: '所属行业',
name: '所属领域',
field: 'company_industry',
rule: '',
edit_input: "radio",
help: '请选择所属行业',
help: '请选择所属领域',
need_fill: 0,
belong_user: 1,
select_item: [],

@ -1,8 +1,8 @@
@font-face {
font-family: "iconfont"; /* Project id 4625369 */
src: url('iconfont.woff2?t=1721285561761') format('woff2'),
url('iconfont.woff?t=1721285561761') format('woff'),
url('iconfont.ttf?t=1721285561761') format('truetype');
src: url('iconfont.woff2?t=1725585176741') format('woff2'),
url('iconfont.woff?t=1725585176741') format('woff'),
url('iconfont.ttf?t=1725585176741') format('truetype');
}
.iconfont {
@ -13,6 +13,26 @@
-moz-osx-font-smoothing: grayscale;
}
.icon-juanzeng:before {
content: "\e672";
}
.icon-leijicishu:before {
content: "\e689";
}
.icon-leixing:before {
content: "\e614";
}
.icon-goujianguanlitixi:before {
content: "\e64d";
}
.icon-changdi:before {
content: "\e645";
}
.icon-xinxi:before {
content: "\e600";
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -189,7 +189,7 @@
width: 120,
}, {
prop: 'user.birthday',
label: '出生日期',
label: '出生年月',
align: 'center',
width: 120,
}, {

@ -152,7 +152,7 @@
width: 120,
}, {
prop: 'user.birthday',
label: '出生日期',
label: '出生年月',
align: 'center',
width: 120,
}, {

@ -175,7 +175,7 @@
width: 120,
}, {
prop: 'user.birthday',
label: '出生日期',
label: '出生年月',
align: 'center',
width: 120,
}, {

@ -28,11 +28,11 @@
<template v-slot:birthday>
<div class="xy-table-item">
<div class="xy-table-item-label" style="font-weight: bold">
<span style="color: red;font-weight: bold;padding-right: 4px;"></span>出生日期
<span style="color: red;font-weight: bold;padding-right: 4px;"></span>出生年月
</div>
<div class="xy-table-item-content">
<el-date-picker style="width: 100%;" v-model="form.birthday" type="date" value-format="yyyy-MM-dd"
format="yyyy-MM-dd" placeholder="出生日期">
format="yyyy-MM-dd" placeholder="出生年月">
</el-date-picker>
</div>
</div>

@ -21,12 +21,8 @@
<el-input v-model="select.course_name" placeholder="请输入课程名称"></el-input>
</div>
<div>
<el-select v-model="select.company_position" placeholder="请选择职务" clearable>
<el-option v-for="item in formSelect.company_position" :key="item.id" :label="item.value"
:value="item.value">
</el-option>
</el-select>
<div>
<el-input v-model="select.company_position" placeholder="请输入职务"></el-input>
</div>
<div>
<el-select v-model="select.company_area" placeholder="请选择所属区域" clearable>
@ -232,7 +228,7 @@
fixed: 'left'
}, {
prop: 'course_list',
label: '课程',
label: '课程名称',
align: 'left',
}, {
prop: 'username',
@ -256,7 +252,7 @@
width: 120,
}, {
prop: 'birthday',
label: '出生日期',
label: '出生年月',
align: 'center',
width: 120,
}, {

@ -18,11 +18,11 @@
<el-input v-model="select.company_name" placeholder="请输入公司名称"></el-input>
</div>
<div>
<el-select v-model="select.company_position" placeholder="请选择职务" clearable>
<el-option v-for="item in formSelect.company_position" :key="item.id" :label="item.value"
:value="item.value">
</el-option>
</el-select>
<el-input v-model="select.course_name" placeholder="请输入课程名称"></el-input>
</div>
<div>
<el-input v-model="select.company_position" placeholder="请输入职务"></el-input>
</div>
<div>
<el-select v-model="select.company_area" placeholder="请选择所属区域" clearable>
@ -65,11 +65,30 @@
</el-option>
</el-select>
</div>
<div>
<el-select v-model="select.is_schoolmate" placeholder="请选择是否校友" clearable>
<el-option v-for="item in is_schoolmate_list" :key="item.id" :label="item.value" :value="item.id">
</el-option>
</el-select>
</div>
<div>
<el-date-picker style="width:100%" @change="changeDate" v-model="select.courses_end_date" type="date"
placeholder="课程结束日期" value-format="yyyy-MM-dd" format="yyyy-MM-dd">
</el-date-picker>
</div>
<div>
<el-select v-model="select.status" placeholder="请选择审核状态" clearable>
<el-option v-for="item in apply_status_list" :key="item.id" :label="item.value" :value="item.id">
</el-option>
</el-select>
</div>
<div>
<el-select v-model="select.course_type" placeholder="请选择课程体系" clearable>
<el-option v-for="item in courseTypeList" :key="item.id" :label="item.name" :value="item.id">
</el-option>
</el-select>
</div>
<div>
<el-button type="primary" size="small" @click="select.page=1,getList()"></el-button>
<el-button type="primary" size="small" @click="exportExcel"></el-button>
@ -91,13 +110,19 @@
<template v-slot:course_list>
<el-table-column align='left' label="课程" width="320" header-align="center">
<template slot-scope="scope">
<div v-for="(item,index) in scope.row.course_signs"
style="width:100%;display: flex;justify-content: space-between;align-items: center;margin-bottom:5px">
<div>{{index+1}}{{item.course.year?item.course.year:''}}{{item.course.type_detail.name+' | '}}{{item.course.name}}</div>
<template v-for="state in apply_status_list">
<el-tag style="margin-left:20px" :type="state.type" v-if="item.status===state.id">{{state.value}}</el-tag>
</template>
</div>
<div v-for="(item,index) in scope.row.course_signs">
<div v-if="item.course"
style="width:100%;display: flex;justify-content: space-between;align-items: center;margin-bottom:5px">
<div>
{{item.course.year?item.course.year:''}}{{item.course.type_detail.name+' | '}}{{item.course.name}}
</div>
<template v-for="state in apply_status_list">
<el-tag style="margin-left:20px" :type="state.type"
v-if="item.status===state.id">{{state.value}}</el-tag>
</template>
</div>
</div>
</template>
</el-table-column>
</template>
@ -147,7 +172,10 @@
} from "@/utils/downloadRequest";
import {
indexStudy
} from '@/api/student/index.js'
} from '@/api/student/index.js'
import {
index as indexTypes
} from "@/api/course/courseType.js"
export default {
mixins: [myMixins, formMixin],
components: {
@ -166,19 +194,23 @@
company_type: '',
company_industry: '',
is_vip: '',
is_schoolmate: '',
courses_end_date: '',
education: '',
type: '',
status: "",
course_type: '',
page: 1,
page_size: 10,
},
courseTypeList: [],
list: [],
year_total: 0,
alltotal: 0,
total: 0,
table_item: [{
prop: 'course_list',
label: '课程',
label: '课程名称',
align: 'left',
}, {
prop: 'username',
@ -202,7 +234,7 @@
width: 120,
}, {
prop: 'birthday',
label: '出生日期',
label: '出生年月',
align: 'center',
width: 120,
}, {
@ -235,6 +267,7 @@
},
created() {
this.getList()
this.getCourseType()
},
methods: {
pageIndexChange(e) {
@ -253,14 +286,18 @@
name: this.select.name,
mobile: this.select.mobile,
company_name: this.select.company_name,
course_name: this.select.course_name,
company_position: this.select.company_position,
company_area: this.select.company_area,
company_type: this.select.company_type,
company_industry: this.select.company_industry,
is_vip: this.select.is_vip,
courses_end_date: this.select.courses_end_date,
is_schoolmate: this.select.is_schoolmate,
education: this.select.education,
type: this.select.type
type: this.select.type,
status: this.select.status,
course_type: this.select.course_type
})
this.list = res.list.data
this.total = res.list.total
@ -281,8 +318,8 @@
},
exportExcel() {
let _export = {}
this.table_item.map(item => {
_export[item.prop] = item.label
this.selectFormList.map(item => {
_export[item.field] = item.name
})
download(
'/api/admin/users/study',
@ -291,19 +328,30 @@
name: this.select.name,
mobile: this.select.mobile,
company_name: this.select.company_name,
course_name: this.select.course_name,
company_position: this.select.company_position,
company_area: this.select.company_area,
company_type: this.select.company_type,
company_industry: this.select.company_industry,
is_vip: this.select.is_vip,
courses_end_date: this.select.courses_end_date,
is_schoolmate: this.select.is_schoolmate,
education: this.select.education,
type: this.select.type,
status: this.select.status,
course_type: this.select.course_type,
is_export: 1,
page: 1,
page_size: 999
},
`学员信息.xlsx`)
},
async getCourseType() {
const res = await indexTypes({
page: 1,
page_size: 999
})
this.courseTypeList = res.data
}
}
}

@ -129,7 +129,7 @@
width: 120,
}, {
prop: 'birthday',
label: '出生日期',
label: '出生年月',
align: 'center',
width: 120,
}, {

Loading…
Cancel
Save