From 295f9cb304932ab19eaac8fe310de1b9c5a90b92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Czhuzihan=E2=80=9D=E2=80=83?= <“772644120@qq.com”> Date: Thu, 7 Aug 2025 14:19:58 +0800 Subject: [PATCH 1/7] =?UTF-8?q?=E6=9A=82=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- upload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upload.js b/upload.js index 6559cb2..f964bf7 100644 --- a/upload.js +++ b/upload.js @@ -29,7 +29,7 @@ const config = { const localDir = path.join(__dirname, 'dist'); // 服务器目标目录 // const remoteDir = process.env.SFTP_REMOTE_DIR; // 如果使用环境变量 -const remoteDir = '/home/ubuntu/mnt/teacher_test/nginx-1/dist'; +const remoteDir = '/home/ubuntu/mnt/Teacher_Evaluation/nginx/dist'; async function uploadToServer() { const sftp = new SftpClient(); From 9635735c47fd6d97965e9560c32ebecac1a97aaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Czhuzihan=E2=80=9D=E2=80=83?= <“772644120@qq.com”> Date: Thu, 7 Aug 2025 17:29:07 +0800 Subject: [PATCH 2/7] =?UTF-8?q?=E6=9A=82=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Dashboard.vue | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/src/components/Dashboard.vue b/src/components/Dashboard.vue index 5d1904a..830730d 100644 --- a/src/components/Dashboard.vue +++ b/src/components/Dashboard.vue @@ -194,14 +194,15 @@ const redirectToResearchEvaluation = async () => { const result = await response.json(); if (result.code === 0) { // 跳转到目标网站 - await localStorage.setItem('access_token', result.data.access); - await localStorage.setItem('refresh_token', result.data.refresh); - await localStorage.setItem('user_info', JSON.stringify({ - user_id: result.data.user_id, - username: result.data.username, - permission: '2' - })); - window.location.href = 'http://82.156.236.221:10004/user/file' + // await localStorage.setItem('access_token', result.data.access); + // await localStorage.setItem('refresh_token', result.data.refresh); + // await localStorage.setItem('user_info', JSON.stringify({ + // user_id: result.data.user_id, + // username: result.data.username, + // permission: '2' + // })); + window.open(`http://82.156.236.221:10004/user/file?refresh_token=${result.data.refresh}`), '_blank'; + } else { console.error('代理登录失败:', result.error); } @@ -218,14 +219,14 @@ const redirectToResearchEvaluation2 = async () => { const result = await response.json(); if (result.code === 0) { // 跳转到目标网站 - await localStorage.setItem('access_token', result.data.access); - await localStorage.setItem('refresh_token', result.data.refresh); - await localStorage.setItem('user_info', JSON.stringify({ - user_id: result.data.user_id, - username: result.data.username, - permission: '1' - })) - window.location.href = 'http://82.156.236.221:10004/admin/manage' + // await localStorage.setItem('access_token', result.data.access); + // await localStorage.setItem('refresh_token', result.data.refresh); + // await localStorage.setItem('user_info', JSON.stringify({ + // user_id: result.data.user_id, + // username: result.data.username, + // permission: '1' + // })) + window.open(`http://82.156.236.221:10004/admin/manage?refresh_token=${result.data.refresh}`), '_blank'; } else { console.error('代理登录失败:', result.error); } From e244c3b38e124cf34212a04de194f9b9e4b678ce Mon Sep 17 00:00:00 2001 From: liuzhiyuan <> Date: Tue, 12 Aug 2025 16:54:20 +0800 Subject: [PATCH 3/7] =?UTF-8?q?fix=EF=BC=9A=20=E4=BF=AE=E6=94=B9=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config.js | 2 +- upload.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config.js b/src/config.js index b8812db..5090474 100644 --- a/src/config.js +++ b/src/config.js @@ -6,7 +6,7 @@ const config = { apiBaseUrl: 'http://192.168.5.49:48080', }, production: { - apiBaseUrl: 'http://36.103.203.89:48089', + apiBaseUrl: 'http://36.103.199.218:48089', } }; diff --git a/upload.js b/upload.js index f964bf7..637b5d1 100644 --- a/upload.js +++ b/upload.js @@ -17,7 +17,7 @@ const config = { // password: process.env.SFTP_PASS, // 直接配置 - host: '36.103.203.89', + host: '36.103.199.218', port: 22, username: 'liuyang', password: 'Asdf!234', From 776fb6dc15bea0f3917b31f9f4427dcf638d0e03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Czhuzihan=E2=80=9D=E2=80=83?= <“772644120@qq.com”> Date: Thu, 14 Aug 2025 13:53:41 +0800 Subject: [PATCH 4/7] =?UTF-8?q?fix:=E5=9C=86=E7=8E=AF=E5=AE=BD=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Dashboard.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/Dashboard.vue b/src/components/Dashboard.vue index 830730d..2038ab6 100644 --- a/src/components/Dashboard.vue +++ b/src/components/Dashboard.vue @@ -1212,10 +1212,10 @@ const initCharts = () => { }, series: [ { - type: 'pie', - radius: ['30%', '70%'], - center: ['60%', '50%'], - roseType: 'area', + type: 'pie', // 饼图 可选pie | ring + radius: ['30%', '50%'], + center: ['50%', '50%'], + // roseType: 'area', label: { show: true, formatter: '{b}: {d}%', From 848159a6185665f4e1dd11799a2f4f34d7ebdf11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Czhuzihan=E2=80=9D=E2=80=83?= <“772644120@qq.com”> Date: Fri, 15 Aug 2025 16:34:02 +0800 Subject: [PATCH 5/7] =?UTF-8?q?=E6=96=B0=E6=9C=8D=E5=8A=A1=E5=99=A8?= =?UTF-8?q?=E8=BF=81=E7=A7=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/config.js b/src/config.js index 5090474..5a0c80c 100644 --- a/src/config.js +++ b/src/config.js @@ -6,7 +6,8 @@ const config = { apiBaseUrl: 'http://192.168.5.49:48080', }, production: { - apiBaseUrl: 'http://36.103.199.218:48089', + apiBaseUrl: 'http://221.238.217.216:4160', + // apiBaseUrl: 'http://36.103.199.218:48089', } }; From 55ad1b125f8c9bff5d413eb2a696f811349f9d92 Mon Sep 17 00:00:00 2001 From: liuzhiyuan <> Date: Sat, 30 Aug 2025 13:10:25 +0800 Subject: [PATCH 6/7] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E5=A4=A7=E5=B1=8F?= =?UTF-8?q?=E4=B8=AD=E7=9A=84=E5=AD=A6=E6=9C=AF=E4=BA=A7=E5=87=BA=E5=B1=95?= =?UTF-8?q?=E7=A4=BA=EF=BC=81=E8=B0=83=E6=95=B4=E6=99=BA=E8=83=BD=E5=8A=A9?= =?UTF-8?q?=E6=89=8B=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Dashboard.vue | 209 ++++++++++++++++++++++++++--------- src/config.js | 9 +- 2 files changed, 166 insertions(+), 52 deletions(-) diff --git a/src/components/Dashboard.vue b/src/components/Dashboard.vue index 2038ab6..72cb33d 100644 --- a/src/components/Dashboard.vue +++ b/src/components/Dashboard.vue @@ -46,8 +46,8 @@ -