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