Browse Source

Merge branch 'master' of http://git.cc-lotus.info/smart-jobs/web-bench

guhongwei 5 years ago
parent
commit
c60802a77f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/views/jobs/school/index.vue

+ 2 - 0
src/views/jobs/school/index.vue

@@ -80,9 +80,11 @@ export default {
       let result = await this.corpSchInfo({ type: 'list', data: { corpid: this.user.corpid } });
       let result = await this.corpSchInfo({ type: 'list', data: { corpid: this.user.corpid } });
       if (`${result.errcode}` === '0') {
       if (`${result.errcode}` === '0') {
         this.$set(this, `selfSch`, result.data);
         this.$set(this, `selfSch`, result.data);
+        this.$set(this, `totalRow`, result.total);
       } else {
       } else {
         this.$message.error(result.errmsg ? result.errmsg : 'error');
         this.$message.error(result.errmsg ? result.errmsg : 'error');
       }
       }
+      console.log(result);
     },
     },
     async join(id) {
     async join(id) {
       let result = await this.joinSch({ schid: 999991, corpid: this.user.corpid });
       let result = await this.joinSch({ schid: 999991, corpid: this.user.corpid });