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