From 7aa48aba48e55372cdd71e549e77ce1effad8303 Mon Sep 17 00:00:00 2001 From: Su <2374482202@qq.com> Date: Thu, 16 Jan 2025 15:26:35 +0800 Subject: [PATCH 1/6] =?UTF-8?q?=E6=A0=A1=E9=A2=86=E5=AF=BC\=E5=A4=96?= =?UTF-8?q?=E7=A0=94=E5=A4=84=E9=A6=96=E9=A1=B5=E4=BC=98=E5=8C=96=EF=BC=8C?= =?UTF-8?q?=E6=9D=83=E9=99=90=E5=88=86=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 4 +- src/views/cet/universityDashboard.vue | 984 ++++++++++++++++++++++++++ 2 files changed, 986 insertions(+), 2 deletions(-) diff --git a/.env.development b/.env.development index a084816..af842e8 100644 --- a/.env.development +++ b/.env.development @@ -6,10 +6,10 @@ VITE_PUBLIC_PATH = / # 跨域代理,您可以配置多个 ,请注意,没有换行符 -VITE_PROXY = [["/jeecgboot","http://127.0.0.1:8080/jeecg-boot"],["/upload","http://localhost:3300/upload"]] +VITE_PROXY = [["/jeecgboot","http://62.234.217.137:10000/jeecg-boot"],["/upload","http://localhost:3300/upload"]] #后台接口全路径地址(必填) -VITE_GLOB_DOMAIN_URL=http://127.0.0.1:8080/jeecg-boot +VITE_GLOB_DOMAIN_URL=http://62.234.217.137:10000/jeecg-boot #后台接口父地址(必填) VITE_GLOB_API_URL=/jeecgboot diff --git a/src/views/cet/universityDashboard.vue b/src/views/cet/universityDashboard.vue index e69de29..9269f3f 100644 --- a/src/views/cet/universityDashboard.vue +++ b/src/views/cet/universityDashboard.vue @@ -0,0 +1,984 @@ + + + + + \ No newline at end of file From f0db8e010d21ac3109d606631ce0e80e66fc1b61 Mon Sep 17 00:00:00 2001 From: Su <2374482202@qq.com> Date: Fri, 17 Jan 2025 22:32:12 +0800 Subject: [PATCH 2/6] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E4=BA=86=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E7=9A=84=E5=8A=A0=E8=BD=BD=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/cet/universityDashboard.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/views/cet/universityDashboard.vue b/src/views/cet/universityDashboard.vue index 9269f3f..a4a1a3b 100644 --- a/src/views/cet/universityDashboard.vue +++ b/src/views/cet/universityDashboard.vue @@ -53,7 +53,7 @@
- +
@@ -211,7 +211,6 @@ export default { this.getCollegeOptions(); this.getEntrydate(); - //this.map2Chart(); }, methods: { allQuery() { @@ -442,7 +441,7 @@ export default { // const college1 = this.college; let option = { title: { - text: '本年级学院四级通过率排名', + text: '本年级各学院四级通过率排名', textStyle: { fontSize: 16, }, From 608a340a2a9f2b08c476cd0670293edcfcf76c0a Mon Sep 17 00:00:00 2001 From: Su <2374482202@qq.com> Date: Mon, 20 Jan 2025 14:51:17 +0800 Subject: [PATCH 3/6] =?UTF-8?q?=E5=B8=83=E5=B1=80=E8=B0=83=E6=95=B4?= =?UTF-8?q?=EF=BC=8C=E6=9B=B4=E6=94=B9=E5=8A=A0=E8=BD=BD=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/cet/universityDashboard.vue | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/src/views/cet/universityDashboard.vue b/src/views/cet/universityDashboard.vue index a4a1a3b..8232bc3 100644 --- a/src/views/cet/universityDashboard.vue +++ b/src/views/cet/universityDashboard.vue @@ -53,21 +53,21 @@
- +
- -
+ +
@@ -207,22 +207,21 @@ export default { this.getEntrydateAndCollegeData(); this.getCollegeMajorData(); this.query(); - this.allQuery(); + // this.allQuery(); this.getCollegeOptions(); this.getEntrydate(); }, methods: { allQuery() { - console.log('查询==========='); - this.map1loading = true; + console.log('查询===========ddddddddddd'); let college = ['全校']; let query = 'tab1'; if (this.oneentrydate == null) { this.oneentrydate = '2017'; } - this.queryChart(query, college, [this.oneentrydate]); + this.queryChart(query, college, [this.entrydate]); this.majorPassRate(); this.gradePassRate(); }, @@ -589,7 +588,6 @@ export default { // 查询数据 async queryChart(query, college, entrydate) { console.log('dddddddddddddddddddddddd'); - this.visible = false; let result = null; // console.log(this.college, this.entrydate); @@ -606,7 +604,7 @@ export default { // console.log(this.college, this.entrydate) let params = { college: college, - entrydate: entrydate, + entrydate: [String(entrydate[0])], level: 'cet4', }; let url = query == 'tab1' ? this.Url.getAllRate : this.Url.getCollegeRate; @@ -618,10 +616,9 @@ export default { // }); console.log('data', result.data); } finally { - this.map1loading = false; + this.map1loading=false; this.$nextTick(() => { console.log('调用=============='); - this.dataChart(result.data, query); }); } @@ -665,6 +662,7 @@ export default { // 查询数据 async query() { try { + this.allQuery(); //如果this.collegeMajor[1]不存在则设为null let major = this.collegeMajor.length > 1 ? this.collegeMajor[1] : ''; this.topCollege = this.collegeMajor[0]; @@ -952,6 +950,7 @@ export default { .bottom-box { display: flex; column-gap: 10px; + padding: 0 5px; .left-side { // margin-top: 41px; From 02024f1e2493156ab35942a66187653fec894f9e Mon Sep 17 00:00:00 2001 From: YuNan <3194726156@qq.com> Date: Sat, 15 Mar 2025 18:28:54 +0800 Subject: [PATCH 4/6] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E7=9A=84=E9=A1=B6?= =?UTF-8?q?=E9=83=A8=E4=BC=98=E5=8C=961?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/cet/universityDashboard.vue | 1928 ++++++++++++++----------- 1 file changed, 1069 insertions(+), 859 deletions(-) diff --git a/src/views/cet/universityDashboard.vue b/src/views/cet/universityDashboard.vue index 8232bc3..19e6350 100644 --- a/src/views/cet/universityDashboard.vue +++ b/src/views/cet/universityDashboard.vue @@ -1,6 +1,6 @@