|
@@ -234,12 +234,18 @@ const items = computed<EpFormItem[]>(() => {
|
|
|
slot: {
|
|
|
placeholder: '选择阶段',
|
|
|
disabled: isEdit,
|
|
|
- options: [
|
|
|
- { label: 'SAMPLE_A', value: 'SAMPLE_A' },
|
|
|
- { label: 'SAMPLE_B', value: 'SAMPLE_B' },
|
|
|
- // { label: '强制考核卷', value: 'FORCE' },
|
|
|
- { label: '正评', value: 'FORMAL' },
|
|
|
- ],
|
|
|
+ options: isEdit
|
|
|
+ ? [
|
|
|
+ { label: 'SAMPLE_A', value: 'SAMPLE_A' },
|
|
|
+ { label: 'SAMPLE_B', value: 'SAMPLE_B' },
|
|
|
+ { label: '强制考核卷', value: 'FORCE' },
|
|
|
+ { label: '正评', value: 'FORMAL' },
|
|
|
+ ]
|
|
|
+ : [
|
|
|
+ { label: 'SAMPLE_A', value: 'SAMPLE_A' },
|
|
|
+ { label: 'SAMPLE_B', value: 'SAMPLE_B' },
|
|
|
+ { label: '正评', value: 'FORMAL' },
|
|
|
+ ],
|
|
|
},
|
|
|
}
|
|
|
: null,
|