|
@@ -175,8 +175,15 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12" v-if="formType === 'create-S' || formType === 'update-S'">
|
|
|
- <el-form-item label="学位类型" prop="masterType" v-if="formType === 'create-S' || formType === 'update-S'">
|
|
|
- <el-input v-model="formData.masterType" placeholder="请输入学位类型" />
|
|
|
+ <el-form-item label="硕士类型" prop="masterType" v-if="formType === 'create-S' || formType === 'update-S'">
|
|
|
+ <el-select v-model="formData.masterType" placeholder="请选择硕士类型">
|
|
|
+ <el-option
|
|
|
+ v-for="option in masterTypeOptions"
|
|
|
+ :key="option.value"
|
|
|
+ :label="option.label"
|
|
|
+ :value="option.value"
|
|
|
+ />
|
|
|
+ </el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
@@ -325,8 +332,8 @@ const majorOptions = [
|
|
|
|
|
|
// 获取所有学位类型
|
|
|
const masterTypeOptions = [
|
|
|
- { value: '学硕' },
|
|
|
- { value: '专硕' },
|
|
|
+ { value: 1, label:"学硕" },
|
|
|
+ { value: 2 , label:"专硕"},
|
|
|
]
|
|
|
|
|
|
|