diff --git a/src/layouts/navbar/index.vue b/src/layouts/navbar/index.vue index 85c6158..17a21d1 100644 --- a/src/layouts/navbar/index.vue +++ b/src/layouts/navbar/index.vue @@ -44,15 +44,15 @@ export default { menus: [], defaultMenus: [ { - index: '/myReview/list', + index: '/myReview', title: '我的评阅任务' }, { - index: '/allocationReview/list', + index: '/allocationReview', title: '分配评阅任务' }, { - index: '/expert/list', + index: '/expert', title: '专家管理' }, ], @@ -64,6 +64,12 @@ export default { ]) }, created () { + const { path } = this.$route + if (path.includes('myReview/')) { + this.active = '/myReview' + } else if (path.includes('allocationReview/')) { + this.active = '/allocationReview' + } this.initMenu() }, methods: { diff --git a/src/pages/allocationReview/list/setup.vue b/src/pages/allocationReview/list/setup.vue index 775291b..dfaac53 100644 --- a/src/pages/allocationReview/list/setup.vue +++ b/src/pages/allocationReview/list/setup.vue @@ -186,12 +186,12 @@ export default { async submit () { if (this.submiting) return false const form = _.cloneDeep(this.form) - const { row } = this - if (form.isTimed && !this.timed.length) return Util.warningMsg(`请选择时间限制`) - if (this.timed.length) { - form.startTime = dayjs(this.timed[0]).format('YYYY-MM-DD HH:mm:ss') - form.endTime = dayjs(this.timed[1]).format('YYYY-MM-DD HH:mm:ss') + const { row, timed } = this + if (timed.length) { + if (timed[0]) form.startTime = dayjs(timed[0]).format('YYYY-MM-DD HH:mm:ss') + if (timed[1]) form.endTime = dayjs(timed[1]).format('YYYY-MM-DD HH:mm:ss') } + if (form.isTimed && (!form.startTime || !form.endTime)) return Util.warningMsg(`请选择时间限制`) form.competitionId = row.id form.stageId = row.stageId this.submiting = true diff --git a/src/pages/allocationReview/records/allocation.vue b/src/pages/allocationReview/records/allocation.vue index 6149b2f..f6738eb 100644 --- a/src/pages/allocationReview/records/allocation.vue +++ b/src/pages/allocationReview/records/allocation.vue @@ -8,45 +8,43 @@
  • - 按整卷分配 + 按整卷分配

    (每份答卷将从以下已选的评阅人员中,按照评阅设置的每题评阅人数随机挑选评阅人员对整卷进行评阅,且以下已选的每位评阅人员分配到的答卷数量基本平均)

    - 按每道人工判分题分配 + 按每道人工判分题分配

    (每份答卷的每道人工判分题将从以下题目已选的评阅人员中,按照评阅设置的每题评阅人数随机挑选评阅人员对该题进行评阅,且以下已选的每位评阅人员分配到的该题答卷数量基本平均)

  • - +
    + - - -
    评阅范围
    -
    - -
    - 全选 -
    - - + + + + +
    @@ -57,10 +55,10 @@ - +
    - +
    @@ -68,35 +66,50 @@ 确定
    + + +
    + +
    + +
    + 关闭 + +
    +
    + + \ No newline at end of file diff --git a/src/pages/allocationReview/records/people.vue b/src/pages/allocationReview/records/people.vue index 6c83ba4..f7ffada 100644 --- a/src/pages/allocationReview/records/people.vue +++ b/src/pages/allocationReview/records/people.vue @@ -1,7 +1,7 @@