no message

This commit is contained in:
setthawutttty 2023-08-09 17:12:37 +07:00
parent b3911ccabc
commit 019e485afa

View file

@ -1599,6 +1599,7 @@ interface MonthOption {
label: string;
}
const monthOp: MonthOption[] = [];
//-----------------(3.1)-----------//
const activityCount = ref<number>(2);
const activityDataArray = ref<any[]>([]);
@ -1811,12 +1812,12 @@ const putData = (id: string) => {
const assign_director = [
{
personal_id: caretakerFoot.value.personal_id,
personal_id: caretaker1.value.personal_id,
role: "mentor",
dated: date2.value instanceof Date ? dateToISO(date2.value) : null,
},
{
personal_id: caretakerFoot2.value.personal_id,
personal_id: caretaker2.value.personal_id,
role: "mentor",
dated: date3.value instanceof Date ? dateToISO(date3.value) : null,
},
@ -1862,8 +1863,7 @@ const putData = (id: string) => {
checked: item.checked,
})),
};
console.log("test", data);
return data
};
const saveData = (id: string) => {
@ -1882,7 +1882,7 @@ const saveData = (id: string) => {
http
.post(config.API.saveFinish(id), data)
.then((res) => {
console.log("🚀 ~ file: FormAssign.vue:1887 ~ .then ~ res:", res);
router.push(`/probation/detail/${id}`);
})
.catch((e) => {})
.finally(() => {