From 3d2b102355549377ca5101a9046f2a8fa3aeade9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=9D=A8?= <666> Date: Wed, 13 Nov 2024 17:07:06 +0800 Subject: [PATCH] =?UTF-8?q?add=EF=BC=9A=E4=B8=BB=E9=A1=B5=E8=BF=9B?= =?UTF-8?q?=E5=85=A5=E8=AF=A6=E6=83=85=E7=9A=84=E9=A1=B5=E9=9D=A2=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/router/index.js | 16 ++- .../Details/classroomPresentation/index.vue | 5 + .../views/job-management/Details/index.vue | 97 ++++++++++++++++++ .../Details/selfSearchQuestions/index.vue | 5 + .../src/views/job-management/Right/index.vue | 98 ++++++++++++++++--- .../components/customSelect.vue | 1 - .../src/views/job-management/index.vue | 82 ++++++++++------ 7 files changed, 258 insertions(+), 46 deletions(-) create mode 100644 src/renderer/src/views/job-management/Details/classroomPresentation/index.vue create mode 100644 src/renderer/src/views/job-management/Details/index.vue create mode 100644 src/renderer/src/views/job-management/Details/selfSearchQuestions/index.vue diff --git a/src/renderer/src/router/index.js b/src/renderer/src/router/index.js index 9a1a89c..97cb925 100644 --- a/src/renderer/src/router/index.js +++ b/src/renderer/src/router/index.js @@ -60,7 +60,21 @@ export const constantRoutes = [ path: 'management', component: () => import('@/views/job-management/index.vue'), name: 'job-management', - meta: { title: '作业管理' } + meta: { title: '作业管理' }, + // children: [ + // { + // path: 'details', + // component: () => import('@/views/job-management/Details/index.vue'), + // name: 'details', + // meta: { title: '详情' } + // }, + // { + // path: 'right', + // component: () => import('@/views/job-management/Right/index.vue'), + // name: 'right', + // meta: { title: '主页' } + // }, + // ] }, ] }, diff --git a/src/renderer/src/views/job-management/Details/classroomPresentation/index.vue b/src/renderer/src/views/job-management/Details/classroomPresentation/index.vue new file mode 100644 index 0000000..40f3699 --- /dev/null +++ b/src/renderer/src/views/job-management/Details/classroomPresentation/index.vue @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/src/renderer/src/views/job-management/Details/index.vue b/src/renderer/src/views/job-management/Details/index.vue new file mode 100644 index 0000000..94704e2 --- /dev/null +++ b/src/renderer/src/views/job-management/Details/index.vue @@ -0,0 +1,97 @@ + + + \ No newline at end of file diff --git a/src/renderer/src/views/job-management/Details/selfSearchQuestions/index.vue b/src/renderer/src/views/job-management/Details/selfSearchQuestions/index.vue new file mode 100644 index 0000000..f0b5731 --- /dev/null +++ b/src/renderer/src/views/job-management/Details/selfSearchQuestions/index.vue @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/src/renderer/src/views/job-management/Right/index.vue b/src/renderer/src/views/job-management/Right/index.vue index 4f966cc..95e164f 100644 --- a/src/renderer/src/views/job-management/Right/index.vue +++ b/src/renderer/src/views/job-management/Right/index.vue @@ -12,29 +12,90 @@ - + + @@ -96,12 +157,23 @@ const handleClick = (item) => { text-overflow: ellipsis; word-break: break-all; } -.title-header{ + +.title-header { display: flex; justify-content: space-between; align-items: center; } -.item-bottom{ + +.item-bottom { text-align: right; } + +/* 过渡动画 */ +.fade-enter-active, .fade-leave-active { + transition: opacity 0.3s; +} + +.fade-enter, .fade-leave-to { + opacity: 0; +} \ No newline at end of file diff --git a/src/renderer/src/views/job-management/components/customSelect.vue b/src/renderer/src/views/job-management/components/customSelect.vue index 2a27566..82cec0b 100644 --- a/src/renderer/src/views/job-management/components/customSelect.vue +++ b/src/renderer/src/views/job-management/components/customSelect.vue @@ -46,7 +46,6 @@ const toggleDropup = () => { }; const selectOption = (option) => { - selectedOption.value = option; isDropdownOpen.value = false; emits('select-click', option) }; diff --git a/src/renderer/src/views/job-management/index.vue b/src/renderer/src/views/job-management/index.vue index 0fed1bb..f72e1f1 100644 --- a/src/renderer/src/views/job-management/index.vue +++ b/src/renderer/src/views/job-management/index.vue @@ -1,36 +1,37 @@ - + - + \ No newline at end of file