From abdd9a114c8986ff3367d5d62d1f7530fb065ed8 Mon Sep 17 00:00:00 2001 From: JayChou <2064936853@qq.com> Date: Mon, 2 Sep 2024 10:59:45 +0800 Subject: [PATCH] =?UTF-8?q?'=E4=BF=AE=E6=94=B9=E9=83=A8=E9=97=A8=E6=8A=A5?= =?UTF-8?q?=E5=91=8A=E6=8E=A5=E5=8F=A3'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jeecgboot-vue3-master/src/api/common/api.ts | 5 +- .../comprehensiveReport.vue | 11 +- .../comprehensiveEvaluation/department.vue | 120 +++++++++--------- 3 files changed, 75 insertions(+), 61 deletions(-) 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 @@