Commit a3c530b8 authored by 杨梦雪's avatar 杨梦雪

填写资料修改

parent 4653bc9b
...@@ -1393,8 +1393,37 @@ export default { ...@@ -1393,8 +1393,37 @@ export default {
this.scrollView(object); this.scrollView(object);
return false; return false;
} }
// this.referForm.school = this.school; let code = this.$store.state.indexIdentity;
setAccount(this.referForm).then((res) => { let _this = this;
let obj = {};
obj.name = _this.referForm.name;
obj.gender = _this.referForm.gender;
obj.id_card = _this.referForm.id_card;
obj.age = _this.referForm.age;
obj.education = _this.referForm.education;
obj.address = _this.referForm.address;
obj.country = _this.referForm.country;
obj.nation = _this.referForm.nation;
obj.phone = _this.referForm.phone;
obj.unit_and_identity = _this.referForm.unit_and_identity;
obj.email = _this.referForm.email;
obj.school_province = _this.jgProvinceCode;
obj.school_city = _this.jiguan_city;
obj.recommend = _this.referForm.recommend;
if (
code != "6c6884d1c83040ee8ca17736a8d67b93" &&
code != "479205eb2dbf48fcbbeaee710a9b9d24"
) {
// if (code != "c432d9028b2840ebbbfd56947b38069b") {
obj.start_school_date = _this.referForm.start_school_date;
obj.political_status = _this.referForm.political_status;
obj.birthday = _this.referForm.birthday;
obj.jiguan_code = _this.referForm.jiguan_code;
obj.school = _this.referForm.school;
obj.school_contacts = _this.referForm.school_contacts;
obj.school_phone = _this.referForm.school_phone;
}
setAccount(obj).then((res) => {
// console.log(res, "setAccount"); // console.log(res, "setAccount");
if (res.data.code != 200) { if (res.data.code != 200) {
if (res.data.code == 400068) { if (res.data.code == 400068) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment