|  | @@ -218,6 +218,7 @@ import "@riophae/vue-treeselect/dist/vue-treeselect.css";
 | 
											
												
													
														|  |  import { deptTreeList } from "@/api/system/public";
 |  |  import { deptTreeList } from "@/api/system/public";
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  import { extendUserInformation } from "@/api/system/information";
 |  |  import { extendUserInformation } from "@/api/system/information";
 | 
											
												
													
														|  | 
 |  | +import dayjs from 'dayjs';
 | 
											
												
													
														|  |  export default {
 |  |  export default {
 | 
											
												
													
														|  |    dicts: ['administrative_level','sys_yes_no','sys_yes_no_num','sys_highest_education', "sys_work_type", "sys_duties", "sys_education_type", 'sys_department_type', 'post_no_pass', 'current_position','department_name'],
 |  |    dicts: ['administrative_level','sys_yes_no','sys_yes_no_num','sys_highest_education', "sys_work_type", "sys_duties", "sys_education_type", 'sys_department_type', 'post_no_pass', 'current_position','department_name'],
 | 
											
												
													
														|  |    fillter: {},
 |  |    fillter: {},
 | 
											
										
											
												
													
														|  | @@ -427,6 +428,7 @@ export default {
 | 
											
												
													
														|  |    },
 |  |    },
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |    methods: {
 |  |    methods: {
 | 
											
												
													
														|  | 
 |  | +    dayjs,
 | 
											
												
													
														|  |      changeDuties(val){
 |  |      changeDuties(val){
 | 
											
												
													
														|  |        console.log(val);
 |  |        console.log(val);
 | 
											
												
													
														|  |        // this.formData.aloneDept = 'N'
 |  |        // this.formData.aloneDept = 'N'
 | 
											
										
											
												
													
														|  | @@ -637,13 +639,18 @@ verifyBirthday(year,month,day,birthday)
 | 
											
												
													
														|  |        this.formData.userId = this.$route.params.userId;
 |  |        this.formData.userId = this.$route.params.userId;
 | 
											
												
													
														|  |       // let imgs = JSON.parse(JSON.stringify(this.imgs));
 |  |       // let imgs = JSON.parse(JSON.stringify(this.imgs));
 | 
											
												
													
														|  |       // let qualificationCertificateUrl = imgs.toString(',');
 |  |       // let qualificationCertificateUrl = imgs.toString(',');
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |        this.$refs['form'].validate((valid) => {
 |  |        this.$refs['form'].validate((valid) => {
 | 
											
												
													
														|  |          if (valid) {
 |  |          if (valid) {
 | 
											
												
													
														|  | -          let data = {
 |  | 
 | 
											
												
													
														|  | 
 |  | +          let requestObj = {
 | 
											
												
													
														|  |              ...this.formData,
 |  |              ...this.formData,
 | 
											
												
													
														|  |             // qualificationCertificateUrl
 |  |             // qualificationCertificateUrl
 | 
											
												
													
														|  |            }
 |  |            }
 | 
											
												
													
														|  | -          extendUserInformation(data).then(res => {
 |  | 
 | 
											
												
													
														|  | 
 |  | +          requestObj.entryTime=dayjs(this.formData.entryTime).format("YYYY-MM-DD");
 | 
											
												
													
														|  | 
 |  | +          requestObj.bornTime=dayjs(this.formData.bornTime).format("YYYY-MM-DD");
 | 
											
												
													
														|  | 
 |  | +          requestObj.workTime=dayjs(this.formData.workTime).format("YYYY-MM-DD");
 | 
											
												
													
														|  | 
 |  | +          // console.log("requestObj",requestObj);
 | 
											
												
													
														|  | 
 |  | +          extendUserInformation(requestObj).then(res => {
 | 
											
												
													
														|  |              this.$message.success('保存成功!')
 |  |              this.$message.success('保存成功!')
 | 
											
												
													
														|  |              this.$router.go(-1)
 |  |              this.$router.go(-1)
 | 
											
												
													
														|  |            })
 |  |            })
 |