|
@@ -54,22 +54,38 @@
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="专业" prop="major">
|
|
|
- <el-input
|
|
|
- v-model="queryParams.major"
|
|
|
- placeholder="请输入专业"
|
|
|
+ <el-select
|
|
|
+ v-model="queryParams.major"
|
|
|
+ placeholder="请选择专业"
|
|
|
+ @change="handleSupervisorChange"
|
|
|
clearable
|
|
|
- @keyup.enter="handleQuery"
|
|
|
+ filterable
|
|
|
class="!w-240px"
|
|
|
- />
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="option in majorOptions"
|
|
|
+ :key="option.value"
|
|
|
+ :label="option.value"
|
|
|
+ :value="option.value"
|
|
|
+ />
|
|
|
+ </el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="专硕" prop="masterType">
|
|
|
- <el-input
|
|
|
- v-model="queryParams.masterType"
|
|
|
- placeholder="请输入学位类型"
|
|
|
+ <el-select
|
|
|
+ v-model="queryParams.masterType"
|
|
|
+ placeholder="请选择学位类型"
|
|
|
+ @change="handleSupervisorChange"
|
|
|
clearable
|
|
|
- @keyup.enter="handleQuery"
|
|
|
+ filterable
|
|
|
class="!w-240px"
|
|
|
- />
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="option in masterTypeOptions"
|
|
|
+ :key="option.value"
|
|
|
+ :label="option.value"
|
|
|
+ :value="option.value"
|
|
|
+ />
|
|
|
+ </el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="手机号码" prop="mobile">
|
|
|
<el-input
|
|
@@ -413,6 +429,19 @@ const handleSupervisorChange = (value: number) => {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+// 获取所有专业
|
|
|
+const majorOptions = [
|
|
|
+ { value: '测绘工程' },
|
|
|
+ { value: '地理信息系统' },
|
|
|
+ { value: '遥感科学' },
|
|
|
+]
|
|
|
+
|
|
|
+// 获取所有学位类型
|
|
|
+const masterTypeOptions = [
|
|
|
+ { value: '硕士' },
|
|
|
+ { value: '博士' },
|
|
|
+]
|
|
|
+
|
|
|
// const NewList = (inputList) => {
|
|
|
// if (userInfo.value.userType === '4') {
|
|
|
// return inputList; // 直接返回所有项目
|