diff --git a/jeecgboot-vue3-master/src/api/common/api.ts b/jeecgboot-vue3-master/src/api/common/api.ts index 6ec6b129..58d6a46b 100644 --- a/jeecgboot-vue3-master/src/api/common/api.ts +++ b/jeecgboot-vue3-master/src/api/common/api.ts @@ -206,7 +206,8 @@ export const getComprehensiveReport = (params = {}) => { // http://localhost:18083/jeecg-boot/user/login/homepage/report4Depart export const getdepartmentReport = (params: any = {}) => { return defHttp.get({ - url: '/user/login/homepage/report4School', + url: '/user/login/homepage/report4Depart', params }) -} \ No newline at end of file +} +// 11111111 \ No newline at end of file diff --git a/jeecgboot-vue3-master/src/views/comprehensiveEvaluation/comprehensiveReport.vue b/jeecgboot-vue3-master/src/views/comprehensiveEvaluation/comprehensiveReport.vue index 035e9637..8b44802c 100644 --- a/jeecgboot-vue3-master/src/views/comprehensiveEvaluation/comprehensiveReport.vue +++ b/jeecgboot-vue3-master/src/views/comprehensiveEvaluation/comprehensiveReport.vue @@ -296,13 +296,22 @@ } }); }; + const selectYeay = async () => { + isLoading.value = false; + + const res = await getComprehensiveReport({ annualid: annualid.value }); + console.log(res); + data.value = res; + data12.value = JSON.stringify(res.学生能力平均值); + isLoading.value = true; + }; const annualid = ref(''); watch( () => annualid.value, () => { console.log(annualid); - Rebuild(); + selectYeay(); } ); diff --git a/jeecgboot-vue3-master/src/views/comprehensiveEvaluation/department.vue b/jeecgboot-vue3-master/src/views/comprehensiveEvaluation/department.vue index 88f4515e..eecbe273 100644 --- a/jeecgboot-vue3-master/src/views/comprehensiveEvaluation/department.vue +++ b/jeecgboot-vue3-master/src/views/comprehensiveEvaluation/department.vue @@ -1,10 +1,10 @@