รายการแต่งตั้ง-เลื่อน-ย้าย
This commit is contained in:
parent
7a2d0d2811
commit
ad2e4ece16
4 changed files with 211 additions and 97 deletions
|
|
@ -17,11 +17,6 @@ import config from "@/app.config";
|
|||
import PopupPersonal from "@/components/Dialogs/PopupPersonal.vue";
|
||||
import CardProfile from "@/components/CardProfile.vue";
|
||||
|
||||
const formData = reactive<any>({
|
||||
firstName: "",
|
||||
lastName: "",
|
||||
});
|
||||
|
||||
const modalPersonal = ref<boolean>(false);
|
||||
const personId = ref<string>("");
|
||||
const $q = useQuasar();
|
||||
|
|
@ -71,9 +66,6 @@ const fecthappointmentByid = async () => {
|
|||
dataProfile.value = res.data.result as unknown as DataProfile;
|
||||
const data = res.data.result;
|
||||
|
||||
formData.firstName = data.firstName
|
||||
formData.lastName = data.lastName
|
||||
|
||||
profileId.value = data.profileId;
|
||||
title.value.fullname = `${data.prefix}${data.firstname ?? "-"} ${
|
||||
data.lastname ?? "-"
|
||||
|
|
@ -118,10 +110,6 @@ const clickSave = async () => {
|
|||
// เเก้ไขข้อมูล
|
||||
const putAppointment = async () => {
|
||||
let data = {
|
||||
// CitizenId: appointment.value.citizenId,
|
||||
// prefixId: appointment.value.prefixId,
|
||||
Firstname: formData.firstName,
|
||||
Lastname: formData.lastName,
|
||||
educationOld: educationOld.value,
|
||||
organizationPositionOld: organizationPositionOld.value,
|
||||
positionTypeOld: positionTypeOld.value,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue