no message
This commit is contained in:
parent
b3ce9039ff
commit
2c3658e591
14 changed files with 6 additions and 200 deletions
|
|
@ -21,10 +21,7 @@ const dataEdit = async (id: string) => {
|
|||
const data = putDataEdit(id);
|
||||
await http
|
||||
.put(config.API.saveEditAssign(id), data)
|
||||
.then((res) => {
|
||||
// console.log("success put==>",res)
|
||||
// console.log("save")
|
||||
})
|
||||
.then((res) => {})
|
||||
.catch((e) => {})
|
||||
.finally(async () => {
|
||||
status.value = false;
|
||||
|
|
@ -37,7 +34,6 @@ const saveEdit = (id: string) => {
|
|||
};
|
||||
const edit = () => {
|
||||
status.value = true;
|
||||
// console.log(status.value);
|
||||
};
|
||||
const cancel = () => {
|
||||
status.value = false;
|
||||
|
|
@ -305,12 +301,8 @@ const getAssignNew = async (id: string) => {
|
|||
value: data.assign_month,
|
||||
label: `${data.assign_month} เดือน`,
|
||||
};
|
||||
// console.log("Assign-New", data);
|
||||
monthOp.push(monthOption);
|
||||
monthSelect.value = `${data.assign_month} เดือน`;
|
||||
// OPcaretaker.value = data.mentors;
|
||||
// OPcommander.value = [data.commander];
|
||||
// OPchairman.value = [data.chairman];
|
||||
fullname.value = data.person.name;
|
||||
position.value = data.person.OrganizationOrganization;
|
||||
});
|
||||
|
|
@ -685,7 +677,6 @@ const getAssign = async () => {
|
|||
await http.get(config.API.probationsGetAssign(assignId.value)).then((res) => {
|
||||
status.value = false;
|
||||
const data = res.data.data;
|
||||
// console.log("ASSIGN-list ==>", data);
|
||||
fullname.value = data.profile.name;
|
||||
position.value = data.profile.OrganizationOrganization;
|
||||
date_start.value = data.assign.date_start;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue