|
@@ -3,9 +3,7 @@
|
|
|
<el-form label-width="100px" class=" pt20" >
|
|
|
<el-form-item label="院校名称:">
|
|
|
<div class="fx-row jc-between ai-center">
|
|
|
- <el-badge type="info" value="X" class="item" style="cursor: pointer">
|
|
|
- <el-button @click="dialog.visible=true">{{college.name || '添加院校'}}</el-button>
|
|
|
- </el-badge>
|
|
|
+ <el-button @click="dialog.visible=true">{{college.name || '添加院校'}}</el-button>
|
|
|
</div>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
@@ -37,6 +35,9 @@
|
|
|
<el-button type="primary" class="search-btn" @click="search">{{ '查询'}}</el-button>
|
|
|
</mx-search-group>
|
|
|
<mx-table :prop-defines="propDefines" :rows="rows">
|
|
|
+ <template #name="{row}">
|
|
|
+ <span class="pointer" @click="$router.push(`/career/plan/UniversityDetail?code=${row.universityCode}`)">{{row.universityName}}</span>
|
|
|
+ </template>
|
|
|
<template #temp="{row}">
|
|
|
<p>{{`[${row.marjorBelongs}]`}}{{row.marjorName}}</p>
|
|
|
<p class="f-999 f12">{{row.marjorDirection}}</p>
|
|
@@ -82,6 +83,7 @@ export default {
|
|
|
propDefines:{
|
|
|
universityName:{
|
|
|
label:'院校名称',
|
|
|
+ slot:'name'
|
|
|
},
|
|
|
collegeCode:{
|
|
|
label:'院校招生代码'
|
|
@@ -130,8 +132,8 @@ export default {
|
|
|
},
|
|
|
methods:{
|
|
|
search() {
|
|
|
- if(this.form.universityCode == '' || this.form.level == '' || this.form.year == '' ) {
|
|
|
- this.$message.warning('请先选择')
|
|
|
+ if(this.form.universityCode == '' ) {
|
|
|
+ this.$message.warning('请先选择院校')
|
|
|
return
|
|
|
}
|
|
|
this.getList()
|