|
@@ -3,7 +3,7 @@
|
|
|
<detail-frame :title="mainTitle" returns="/work/index">
|
|
|
<data-form :data="info" :fields="fields" :rules="rules" @save="handleSave" :isNew="isNew">
|
|
|
<template #options>
|
|
|
- <el-option v-for="(item, index) in subjectList" :key="index" :label="item.name" :value="item.code"></el-option>
|
|
|
+ <el-option v-for="(item, index) in subjectList" :key="index" :label="item.name" :value="item._id"></el-option>
|
|
|
</template>
|
|
|
<template #radios>
|
|
|
<el-radio label="0">禁用</el-radio>
|