Commit aa7119cc by lishengfu

update

parent 4296a7bd
Showing with 1 additions and 3 deletions
...@@ -294,7 +294,7 @@ export default class personInfo extends Vue { ...@@ -294,7 +294,7 @@ export default class personInfo extends Vue {
} }
//档案所在地 //档案所在地
localCity(values: any) { localCity(values: any) {
this.obj.infoFileLocation = values.map((item: any) => item.name).join("/"); this.obj.infoFileLocation = values.join("/");
this.showFile = false; this.showFile = false;
} }
//开始工作时间 //开始工作时间
...@@ -302,7 +302,6 @@ export default class personInfo extends Vue { ...@@ -302,7 +302,6 @@ export default class personInfo extends Vue {
this.obj.infoWorkStartDate = formatDate(value, "yyyy-MM-dd"); this.obj.infoWorkStartDate = formatDate(value, "yyyy-MM-dd");
this.showWorkStartDate = false; this.showWorkStartDate = false;
} }
updatePersonInfo() { updatePersonInfo() {
let params = { let params = {
id: this.$route.query.ed_id, id: this.$route.query.ed_id,
...@@ -317,7 +316,6 @@ export default class personInfo extends Vue { ...@@ -317,7 +316,6 @@ export default class personInfo extends Vue {
}; };
this.$server.EmployeeService.savePersonInfo(params) this.$server.EmployeeService.savePersonInfo(params)
.then(res => { .then(res => {
console.log(res);
Toast.success("保存成功"); Toast.success("保存成功");
this.show = false; this.show = false;
}) })
......
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 sign in to comment