|
@@ -492,6 +492,8 @@ import userService from "@/api/sys/userService";
|
|
|
import postService from "@/api/sys/postService";
|
|
|
import roleService from "@/api/sys/roleService";
|
|
|
import officeService from "@/api/sys/officeService";
|
|
|
+import enrollmentRegistrationService from '@/api/human/enrollment/EnrollmentRegistrationService'
|
|
|
+
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
@@ -682,10 +684,18 @@ export default {
|
|
|
userService
|
|
|
.save(this.inputForm)
|
|
|
.then((data) => {
|
|
|
+ console.log(data)
|
|
|
this.loading = false;
|
|
|
this.visible = false;
|
|
|
- this.$message.success(data);
|
|
|
+ this.$message.success(data.msg);
|
|
|
this.$emit("refreshDataList");
|
|
|
+ let param = {
|
|
|
+ name:this.inputForm.name,
|
|
|
+ mobilePhone: this.inputForm.mobile,
|
|
|
+ department:this.inputForm.officeDTO.id,
|
|
|
+ userId: data.userId,
|
|
|
+ }
|
|
|
+ enrollmentRegistrationService.saveInfo(param)
|
|
|
})
|
|
|
.catch(() => {
|
|
|
this.loading = false;
|