|
@@ -102,6 +102,7 @@ const {
|
|
|
onOptionInit,
|
|
|
isExpert,
|
|
|
isLeader,
|
|
|
+ isDeputy,
|
|
|
} = useOptions(['subject', 'question', 'group'])
|
|
|
|
|
|
const model = reactive<
|
|
@@ -164,10 +165,11 @@ const formItems = computed<EpFormItem[]>(() => [
|
|
|
{
|
|
|
label: '小组',
|
|
|
slotType: 'select',
|
|
|
- prop: 'markingGroupNumbers',
|
|
|
+ prop: 'markingGroupNumber',
|
|
|
slot: {
|
|
|
options: groupListWithAll.value,
|
|
|
onChange: changeModelValue('group'),
|
|
|
+ disabled: isDeputy.value,
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -374,8 +376,8 @@ const onRefresh = () => {
|
|
|
day < 10 && (day = '0' + day)
|
|
|
if (fetchModel.subjectCode && fetchModel.questionMainNumber) {
|
|
|
fetch({
|
|
|
- ...omit(fetchModel, ['refresh', 'markingGroupNumbers']),
|
|
|
- markingGroupNumbers: [fetchModel.markingGroupNumbers],
|
|
|
+ ...omit(fetchModel, ['refresh', 'markingGroupNumbers', 'markingGroupNumber']),
|
|
|
+ markingGroupNumbers: [fetchModel.markingGroupNumber].filter(Boolean),
|
|
|
// startTime: `${year}${month}${day}000000`,
|
|
|
// endTime: `${year}${month}${day}235959`,
|
|
|
curDay: `${year}${month}${day}`,
|