|
@@ -64,6 +64,7 @@ import {
|
|
|
} from '@/api/webApi/shiftLine'
|
|
|
import UniversitiesLineTable from '@/views/career/components/UniversitiesLineTable'
|
|
|
import MxSearchGroup from '@/components/MxSearch/mx-search-group'
|
|
|
+import { mapGetters } from 'vuex'
|
|
|
|
|
|
export default {
|
|
|
name: "UniversitiesLine",
|
|
@@ -109,6 +110,9 @@ import {
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
+ computed:{
|
|
|
+ ...mapGetters(['currentUser']),
|
|
|
+ },
|
|
|
created() {
|
|
|
this.getUniversityLocations()
|
|
|
this.getUniversityYears()
|
|
@@ -119,7 +123,7 @@ import {
|
|
|
},
|
|
|
getUniversityLocations() {
|
|
|
selectUniversityLocations().then(res => {
|
|
|
- this.universityParams.location = res.rows[0]
|
|
|
+ this.universityParams.location = this.currentUser.provinceName
|
|
|
this.locations = res.rows
|
|
|
})
|
|
|
},
|