|
@@ -82,29 +82,30 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
async search() {
|
|
|
+ console.log(this.$site);
|
|
|
// 1直接拿着参数发送请求
|
|
|
- let result = await this.postTalksInfo({ type: 'list', data: { schid: 999991 } });
|
|
|
+ let result = await this.postTalksInfo({ type: 'list', data: { schid: this.$site } });
|
|
|
if (`${result.errcode}` === '0') {
|
|
|
//给this=>vue的实例下在中的list属性,赋予result。data的值
|
|
|
this.$set(this, `listSchIn`, result.data);
|
|
|
} else {
|
|
|
this.$message.error(result.errmsg ? result.errmsg : 'error');
|
|
|
}
|
|
|
- result = await this.jobfairOperation({ type: 'list', data: { schid: 999991 } });
|
|
|
+ result = await this.jobfairOperation({ type: 'list', data: { schid: this.$site } });
|
|
|
if (`${result.errcode}` === '0') {
|
|
|
//给this=>vue的实例下在中的list属性,赋予result。data的值
|
|
|
this.$set(this, `jobfairList`, result.data);
|
|
|
} else {
|
|
|
this.$message.error(result.errmsg ? result.errmsg : 'error');
|
|
|
}
|
|
|
- result = await this.postTalksInfo({ type: 'list', data: { corpid: '5d416dae7f60242ba26b45e5' } });
|
|
|
+ result = await this.postTalksInfo({ type: 'list', data: {} });
|
|
|
if (`${result.errcode}` === '0') {
|
|
|
//给this=>vue的实例下在中的list属性,赋予result。data的值
|
|
|
this.$set(this, `listSchOut`, result.data);
|
|
|
} else {
|
|
|
this.$message.error(result.errmsg ? result.errmsg : 'error');
|
|
|
}
|
|
|
- result = await this.jobinfoOperation({ type: 'list', data: { limit: this.limit, corpid: '5d417176dc00bf2cc223e1a6' } });
|
|
|
+ result = await this.jobinfoOperation({ type: 'list', data: { limit: this.limit } });
|
|
|
if (`${result.errcode}` === '0') {
|
|
|
//给this=>vue的实例下在中的list属性,赋予result。data的值
|
|
|
this.$set(this, 'PostInfos', result.data);
|