add relation profile edit

This commit is contained in:
kittapath 2024-11-11 13:32:44 +07:00
parent 7f6a07483f
commit 6055802f10

View file

@ -129,8 +129,8 @@ export class ProfileEditEmployeeController extends Controller {
const _data = getProfileEdit.map((item) => ({ const _data = getProfileEdit.map((item) => ({
id: item.id, id: item.id,
idcard: item.profile.citizenId, idcard: item.profileEmployee.citizenId,
profileId: item.profile.id, profileId: item.profileEmployee.id,
topic: item.topic, topic: item.topic,
detail: item.detail, detail: item.detail,
status: item.status, status: item.status,