diff --git a/src/views/organization/studentStatistics/gradeStatistic.vue b/src/views/organization/studentStatistics/gradeStatistic.vue index 1c5f1fbd0..d1a8f5ea5 100644 --- a/src/views/organization/studentStatistics/gradeStatistic.vue +++ b/src/views/organization/studentStatistics/gradeStatistic.vue @@ -12,7 +12,7 @@ export default { require:true }, orgId:{ - type:Number, + type:String, require:true }, userId:{ diff --git a/src/views/organization/studentStatistics/index.vue b/src/views/organization/studentStatistics/index.vue index ede846c24..b6bc8dc5e 100644 --- a/src/views/organization/studentStatistics/index.vue +++ b/src/views/organization/studentStatistics/index.vue @@ -46,7 +46,7 @@ export default { async mounted() { this.initChart() this.loadData(); - this.orgId=parseInt(this.$store.state.user.companyId); + this.orgId=this.$store.state.user.companyId; }, computed:{ userId(){