@@ -162,6 +162,17 @@ export default {
});
if (res.status === 1) {
this.$message.success("保存成功!");
+ this.init = {
+ diploma_photo: "",
+ diploma_url: "",
+ start_time: "",
+ end_time: "",
+ date: [],
+ university: "",
+ major: "",
+ education_background: "",
+ description: ""
+ };
this.getData();
return true;
} else {
@@ -121,6 +121,16 @@ export default {
+ work_certify_img: "",
+ company: "",
+ title: "",
+ is_main: 0,
}
},
@@ -120,6 +120,11 @@ export default {
const res = await this.$axios.$post("/api/user_skills/save", data);
+ this.init={
+ skill_name: "",
+ skill_level: "",
+ skill_id: ""
this.editingItem = [];
this.originSkills.splice(idx, 1, item);
@@ -94,15 +94,15 @@ export default {
const res = await this.$axios.$post(`/api/user_works/save`, queryParams);
- this.init= {
name: "",
- industry_id: "",
- function_ops: "",
- duty: "",
- description: "",
- url: "",
- image_list: []
- },
+ industry_id: "",
+ function_ops: "",
+ duty: "",
+ description: "",
+ url: "",
+ image_list: []