|
@@ -40,22 +40,34 @@
|
|
/>
|
|
/>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item label="专业" prop="major">
|
|
<el-form-item label="专业" prop="major">
|
|
- <el-input
|
|
|
|
- v-model="queryParams.major"
|
|
|
|
- placeholder="请输入专业"
|
|
|
|
- clearable
|
|
|
|
|
|
+ <el-select
|
|
|
|
+ v-model="queryParams.major"
|
|
|
|
+ placeholder="请选择专业"
|
|
@keyup.enter="handleQuery"
|
|
@keyup.enter="handleQuery"
|
|
class="!w-240px"
|
|
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>
|
|
<el-form-item label="专硕" prop="masterType">
|
|
<el-form-item label="专硕" prop="masterType">
|
|
- <el-input
|
|
|
|
- v-model="queryParams.masterType"
|
|
|
|
- placeholder="请输入学位类型"
|
|
|
|
- clearable
|
|
|
|
|
|
+ <el-select
|
|
|
|
+ v-model="queryParams.masterType"
|
|
|
|
+ placeholder="请选择学位类型"
|
|
@keyup.enter="handleQuery"
|
|
@keyup.enter="handleQuery"
|
|
class="!w-240px"
|
|
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>
|
|
<!-- <el-form-item label="工作间" prop="deptName">
|
|
<!-- <el-form-item label="工作间" prop="deptName">
|
|
<el-input v-model="queryParams.deptName" placeholder="请输入工作间" clearable @keyup.enter="handleQuery" class="!w-240px" />
|
|
<el-input v-model="queryParams.deptName" placeholder="请输入工作间" clearable @keyup.enter="handleQuery" class="!w-240px" />
|
|
@@ -350,6 +362,18 @@ const openUserAchievement = (id) => {
|
|
router.push({ name: 'UserAchievement', query: { id: id} });
|
|
router.push({ name: 'UserAchievement', query: { id: id} });
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+// 获取所有专业
|
|
|
|
+const majorOptions = [
|
|
|
|
+ { value: '测绘工程' },
|
|
|
|
+ { value: '地理信息系统' },
|
|
|
|
+ { value: '遥感科学' },
|
|
|
|
+]
|
|
|
|
+
|
|
|
|
+// 获取所有学位类型
|
|
|
|
+const masterTypeOptions = [
|
|
|
|
+ { value: '硕士' },
|
|
|
|
+ { value: '博士' },
|
|
|
|
+]
|
|
|
|
|
|
/** 搜索按钮操作 */
|
|
/** 搜索按钮操作 */
|
|
const handleQuery = () => {
|
|
const handleQuery = () => {
|