refactor: 小修改
continuous-integration/drone/push Build is passing Details

This commit is contained in:
张哲铜 2025-12-23 19:22:38 +08:00
parent 2ba65eee32
commit 71e5c747df
1 changed files with 14 additions and 2 deletions

View File

@ -163,10 +163,22 @@ function navigateToQuality(subjectId: number) {
</view> </view>
<view v-else class="flex space-x-2"> <view v-else class="flex space-x-2">
<!-- 已统分显示已完成按钮灰色禁用样式 -->
<view <view
class="rounded-md bg-orange-100 px-3 py-1" v-if="subject.is_calculated"
class="rounded-md bg-gray-100 px-3 py-1"
> >
<text class="flex items-center text-xs text-orange-600" @click="handleEnterMarking(subject)"> <text class="flex items-center text-xs text-gray-400">
已完成
</text>
</view>
<!-- 未统分显示进入阅卷按钮 -->
<view
v-else
class="rounded-md bg-orange-100 px-3 py-1"
@click="handleEnterMarking(subject)"
>
<text class="flex items-center text-xs text-orange-600">
进入阅卷 进入阅卷
</text> </text>
</view> </view>