浏览代码

修改999991的情况

lrf402788946 5 年之前
父节点
当前提交
efb786697f
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/views/home/index.vue
  2. 1 1
      src/views/jobs/school/detail.vue

+ 1 - 1
src/views/home/index.vue

@@ -183,7 +183,7 @@ export default {
       } else {
       } else {
         this.$message.error(result.errmsg ? result.errmsg : 'error');
         this.$message.error(result.errmsg ? result.errmsg : 'error');
       }
       }
-      result = await this.resumesOperation({ type: 'list', data: { schid: 999991, year: 2018, ...searchInfo } });
+      result = await this.resumesOperation({ type: 'list', data: { ...searchInfo } });
       if (`${result.errcode}` === '0') {
       if (`${result.errcode}` === '0') {
         let arr = [];
         let arr = [];
         result.data.forEach(async val => {
         result.data.forEach(async val => {

+ 1 - 1
src/views/jobs/school/detail.vue

@@ -279,7 +279,7 @@ export default {
   methods: {
   methods: {
     ...mapActions(['corpSchInfo', 'joinSch']),
     ...mapActions(['corpSchInfo', 'joinSch']),
     async join(id) {
     async join(id) {
-      let result = await this.joinSch({ schid: 999991, corpid: this.user.corpid });
+      let result = await this.joinSch({ schid: id, corpid: this.user.corpid });
       if (`${result.errcode}` === '0') {
       if (`${result.errcode}` === '0') {
         this.$message.success('申请成功,请等待校方审核');
         this.$message.success('申请成功,请等待校方审核');
       } else {
       } else {