|
@@ -465,14 +465,13 @@ export default {
|
|
|
array_Arrivaltime: ['随时', '1周内', '1个月内', '3个月内', '待定'],
|
|
array_Arrivaltime: ['随时', '1周内', '1个月内', '3个月内', '待定'],
|
|
|
array_eduType: ['小学', '初中', '中专/高中', '专科', '本科', '硕士研究生', '博士研究生'],
|
|
array_eduType: ['小学', '初中', '中专/高中', '专科', '本科', '硕士研究生', '博士研究生'],
|
|
|
array_cfType: ['建筑资历证书', '非建筑资历证书'],
|
|
array_cfType: ['建筑资历证书', '非建筑资历证书'],
|
|
|
- userInfo: {},
|
|
|
|
|
userSchool: {},
|
|
userSchool: {},
|
|
|
id: null,
|
|
id: null,
|
|
|
showJDT: false,
|
|
showJDT: false,
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
onLoad(options) {
|
|
onLoad(options) {
|
|
|
- this.getUserInfo();
|
|
|
|
|
|
|
+ // this.getUserInfo();
|
|
|
this.getUserSchool();
|
|
this.getUserSchool();
|
|
|
if (options.id !== undefined) {
|
|
if (options.id !== undefined) {
|
|
|
this.id = options.id;
|
|
this.id = options.id;
|
|
@@ -483,7 +482,7 @@ export default {
|
|
|
onReady() {
|
|
onReady() {
|
|
|
this.$refs.uForm.setRules(this.rules);
|
|
this.$refs.uForm.setRules(this.rules);
|
|
|
},
|
|
},
|
|
|
- computed: { ...mapGetters(['dictObj']) },
|
|
|
|
|
|
|
+ computed: { ...mapGetters(['dictObj','userInfo']) },
|
|
|
mounted() {
|
|
mounted() {
|
|
|
this.getCateList();
|
|
this.getCateList();
|
|
|
},
|
|
},
|
|
@@ -515,11 +514,11 @@ export default {
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
- getUserInfo() {
|
|
|
|
|
- this.$api.getInfo().then(res => {
|
|
|
|
|
- this.userInfo = res.data.data;
|
|
|
|
|
- });
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ // getUserInfo() {
|
|
|
|
|
+ // this.$api.getInfo().then(res => {
|
|
|
|
|
+ // this.userInfo = res.data.data;
|
|
|
|
|
+ // });
|
|
|
|
|
+ // },
|
|
|
getUserSchool() {
|
|
getUserSchool() {
|
|
|
this.$api.getSchoolInfo().then(res => {
|
|
this.$api.getSchoolInfo().then(res => {
|
|
|
this.userSchool = res.data.data;
|
|
this.userSchool = res.data.data;
|