no message
This commit is contained in:
parent
b3911ccabc
commit
019e485afa
1 changed files with 5 additions and 5 deletions
|
|
@ -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(() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue