aq-fe-framework 0.1.194 → 0.1.195
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -405,6 +405,10 @@ declare function F_core71678_Delete({ id, code }: {
|
|
405
405
|
code: string;
|
406
406
|
}): react_jsx_runtime.JSX.Element;
|
407
407
|
|
408
|
+
interface IUserSkillCenters extends IBaseEntity {
|
409
|
+
userId?: number;
|
410
|
+
skillCenterId?: number;
|
411
|
+
}
|
408
412
|
interface I$5 {
|
409
413
|
id?: number;
|
410
414
|
userName?: string;
|
@@ -412,6 +416,7 @@ interface I$5 {
|
|
412
416
|
fullName?: string;
|
413
417
|
email?: string;
|
414
418
|
phoneNumber?: string;
|
419
|
+
userSkillCenters?: IUserSkillCenters[];
|
415
420
|
}
|
416
421
|
declare function F_core71678_Update({ user }: {
|
417
422
|
user: I$5;
|
@@ -2668,6 +2668,8 @@ function F_core71678_Update({ user }) {
|
|
2668
2668
|
console.log(form.values);
|
2669
2669
|
}, [form.values]);
|
2670
2670
|
return /* @__PURE__ */ jsx50(MyActionIconUpdate, { form, onSubmit: async (values) => {
|
2671
|
+
var _a2;
|
2672
|
+
const formValues = form.getValues();
|
2671
2673
|
return await baseAxios_default.post(
|
2672
2674
|
"/Account/update",
|
2673
2675
|
__spreadProps(__spreadValues({}, values), {
|
@@ -2676,7 +2678,15 @@ function F_core71678_Update({ user }) {
|
|
2676
2678
|
concurrencyStamp: "",
|
2677
2679
|
isBlocked: false,
|
2678
2680
|
isEnabled: true,
|
2679
|
-
workingUnitId: null
|
2681
|
+
workingUnitId: null,
|
2682
|
+
userSkillCenters: (_a2 = formValues.userSkillCenters) == null ? void 0 : _a2.map((item) => ({
|
2683
|
+
id: item.id,
|
2684
|
+
code: "string",
|
2685
|
+
name: "string",
|
2686
|
+
concurrencyStamp: "string",
|
2687
|
+
isEnabled: true,
|
2688
|
+
skillCenterId: parseInt(item.toString())
|
2689
|
+
}))
|
2680
2690
|
})
|
2681
2691
|
);
|
2682
2692
|
}, children: /* @__PURE__ */ jsxs33(MyFlexColumn, { children: [
|