From 278dfd4d930d16b975bc1b27a4a74d668126a1bd Mon Sep 17 00:00:00 2001 From: zhuhao <979263092@qq.com> Date: Tue, 10 Sep 2024 17:17:10 +0800 Subject: [PATCH 01/16] =?UTF-8?q?=E7=AB=A0=E8=8A=82=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/components/choose-textbook/index.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/renderer/src/components/choose-textbook/index.vue b/src/renderer/src/components/choose-textbook/index.vue index 38fd5e1..007f9a0 100644 --- a/src/renderer/src/components/choose-textbook/index.vue +++ b/src/renderer/src/components/choose-textbook/index.vue @@ -100,6 +100,7 @@ const getSubjectContent = async () => { edustage, // entpcourseedituserid: userId, itemgroup: 'textbook', + orderby: 'orderidx asc', pageSize: 10000 } From 77e76fcf7df1060508992d9bf54336b423afc86c Mon Sep 17 00:00:00 2001 From: zhuhao <979263092@qq.com> Date: Tue, 10 Sep 2024 17:21:49 +0800 Subject: [PATCH 02/16] =?UTF-8?q?=E7=89=88=E6=9C=AC=E5=8D=87=E7=BA=A72.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 5e6e438..b43d760 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "aix-win", - "version": "1.1.8", + "version": "1.2.0", "description": "An Electron application with Vue", "main": "./out/main/index.js", "author": "example.com", @@ -69,6 +69,5 @@ "vite-plugin-windicss": "^1.9.3", "vue": "^3.4.30", "windicss": "^3.5.6" - }, - "packageManager": "pnpm@9.9.0+sha512.60c18acd138bff695d339be6ad13f7e936eea6745660d4cc4a776d5247c540d0edee1a563695c183a66eb917ef88f2b4feb1fc25f32a7adcadc7aaf3438e99c1" + } } From 68df866db54218b69b0e12b88f5a2e0fb9932bab Mon Sep 17 00:00:00 2001 From: yangws <1607839436@qq.com> Date: Tue, 10 Sep 2024 17:55:48 +0800 Subject: [PATCH 03/16] =?UTF-8?q?fix:=E4=BF=AE=E6=94=B9=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E7=9A=84=E7=8F=AD=E7=BA=A7;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/router/index.js | 2 +- src/renderer/src/views/classManage/index.vue | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/renderer/src/router/index.js b/src/renderer/src/router/index.js index 4a8a2f4..6bdcac9 100644 --- a/src/renderer/src/router/index.js +++ b/src/renderer/src/router/index.js @@ -71,7 +71,7 @@ export const constantRoutes = [ { path: '/classTask', component: () => import('@/views/classTask/classTask.vue'), - name: 'class', + name: 'classCorrect', meta: {title: '作业批改'}, }, { diff --git a/src/renderer/src/views/classManage/index.vue b/src/renderer/src/views/classManage/index.vue index d83e8e6..8a21df0 100644 --- a/src/renderer/src/views/classManage/index.vue +++ b/src/renderer/src/views/classManage/index.vue @@ -192,13 +192,16 @@ classList.value = [] listClassmain({ classuserid: userStore.userId, pageSize: 100, status: 'open' }).then(response => { classList.value = [...response.rows] - //这里获取组装所有班级 - gradeTree.value = groupByCondition(response.rows, item => item.agekey); if(classList.value.length > 0){ classId.value = classList.value[0].id currentIndex.value = 0 } }); + listClassmain({entpid: userStore.deptId, status: 'open', pageSize: 100}).then(response => { + //这里获取组装所有班级 + gradeTree.value = groupByCondition(response.rows, item => item.agekey); + console.log(gradeTree.value,'gradeTree.value') + }) } //将所有班级筛选成二级的数组 function groupByCondition(arr, condition) { From 08075746c0439f79883c9398a1fb33a6e87a762e Mon Sep 17 00:00:00 2001 From: yangws <1607839436@qq.com> Date: Wed, 11 Sep 2024 09:48:27 +0800 Subject: [PATCH 04/16] =?UTF-8?q?fix:=E6=A0=B7=E5=BC=8F=E9=97=AE=E9=A2=98;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/views/classManage/aside.vue | 1 + src/renderer/src/views/classManage/basicGroup.vue | 2 +- src/renderer/src/views/classManage/index.vue | 8 ++++---- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/renderer/src/views/classManage/aside.vue b/src/renderer/src/views/classManage/aside.vue index 2855249..32bb0d2 100644 --- a/src/renderer/src/views/classManage/aside.vue +++ b/src/renderer/src/views/classManage/aside.vue @@ -4,6 +4,7 @@ class="el-menu-vertical-demo" :default-active="activeIndex" @select="handleSelect" + unique-opened >