chengdu
4 years ago
parent 9c2b67bd37
commit c454285c0a
  1. 13
      src/components/common/Studentcommon/registration.vue

@ -62,7 +62,18 @@ export default {
let arr = this.multipleSelection.map(e => e.reportId).join() let arr = this.multipleSelection.map(e => e.reportId).join()
location.href = `${this.api.exportKdTeachReport}?reportIds=${arr}&userId=${this.userId}` location.href = `${this.api.exportKdTeachReport}?reportIds=${arr}&userId=${this.userId}`
}else{ }else{
this.$message.error('请先选择数据再进行导出 !'); this.$post(this.api.fictitiousRecord, {
classId: this.$children[1].classId,
userId: this.userId,
page: 1,
size: this.$children[1].totals,
searchContent: this.core.encodeString(this.$children[1].searchContent),
source: 2,
systemId: 3
}).then(res => {
let arr = res.data.list.map(e => e.reportId).join()
location.href = `${this.api.exportKdTeachReport}?reportIds=${arr}&userId=${this.userId}`
}).catch(err => {});
} }
} }
}, },

Loading…
Cancel
Save