|
@@ -29,6 +29,8 @@ export default {
|
|
schoolList: { type: Array, default: () => [] },
|
|
schoolList: { type: Array, default: () => [] },
|
|
subjectList: { type: Array, default: () => [] },
|
|
subjectList: { type: Array, default: () => [] },
|
|
subjectid: { type: String, default: () => '' },
|
|
subjectid: { type: String, default: () => '' },
|
|
|
|
+ date: { type: String },
|
|
|
|
+ termid: { type: String },
|
|
},
|
|
},
|
|
components: { filterTable },
|
|
components: { filterTable },
|
|
data: function() {
|
|
data: function() {
|
|
@@ -36,7 +38,7 @@ export default {
|
|
teaTab: 'apply',
|
|
teaTab: 'apply',
|
|
teaFields: [
|
|
teaFields: [
|
|
{ label: '姓名', prop: 'name', filter: 'input' },
|
|
{ label: '姓名', prop: 'name', filter: 'input' },
|
|
- { label: '学校', prop: 'schname' },
|
|
|
|
|
|
+ { label: '工作地点', prop: 'jobaddress' },
|
|
{ label: '资料评分', prop: 'zlscore' },
|
|
{ label: '资料评分', prop: 'zlscore' },
|
|
{ label: '面试评分', prop: 'msscore' },
|
|
{ label: '面试评分', prop: 'msscore' },
|
|
],
|
|
],
|
|
@@ -63,7 +65,15 @@ export default {
|
|
this.$set(this, `teacherList`, res.data);
|
|
this.$set(this, `teacherList`, res.data);
|
|
},
|
|
},
|
|
async toGetApplyList({ skip = 0, limit = 10, ...info } = {}) {
|
|
async toGetApplyList({ skip = 0, limit = 10, ...info } = {}) {
|
|
- let res = await this.getApplyTeacherList({ skip, limit, ...info, subid: this.subjectid, status: '4' });
|
|
|
|
|
|
+ let res = await this.getApplyTeacherList({
|
|
|
|
+ skip,
|
|
|
|
+ limit,
|
|
|
|
+ ...info,
|
|
|
|
+ subid: this.subjectid,
|
|
|
|
+ status: '4',
|
|
|
|
+ date: this.date,
|
|
|
|
+ termid: this.defaultOption.termid,
|
|
|
|
+ });
|
|
this.$set(this, `applyTotal`, res.total);
|
|
this.$set(this, `applyTotal`, res.total);
|
|
this.$set(this, `applyList`, res.data);
|
|
this.$set(this, `applyList`, res.data);
|
|
},
|
|
},
|
|
@@ -83,7 +93,7 @@ export default {
|
|
},
|
|
},
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
- ...mapState(['user']),
|
|
|
|
|
|
+ ...mapState(['user', 'defaultOption']),
|
|
pageTitle() {
|
|
pageTitle() {
|
|
return `${this.$route.meta.title}`;
|
|
return `${this.$route.meta.title}`;
|
|
},
|
|
},
|