|
@@ -81,16 +81,7 @@ const items: EpFormItem[] = [
|
|
|
const { fetch: getExamInfo } = useFetch('getExamInfo')
|
|
|
if (isEdit) {
|
|
|
getExamInfo({ id: +props.id }).then((result) => {
|
|
|
- Object.assign(model, {
|
|
|
- name: result.name,
|
|
|
- doubtReject: result.doubtReject,
|
|
|
- markingMode: result.markingMode,
|
|
|
- maxMarkingDuration: result.maxMarkingDuration,
|
|
|
- spotCheckReject: result.spotCheckReject,
|
|
|
- userNameCollect: result.userNameCollect,
|
|
|
- enable: result.enable,
|
|
|
- id: result.id,
|
|
|
- })
|
|
|
+ Object.assign(model, result)
|
|
|
})
|
|
|
}
|
|
|
|