API ตำแหน่ง
This commit is contained in:
parent
d8e8259148
commit
6be24fcab3
1 changed files with 2 additions and 2 deletions
|
|
@ -594,8 +594,8 @@ function onSubmit() {
|
|||
|
||||
try {
|
||||
const url = isStatusEdit.value
|
||||
? config.API.profileListSalaryPositionNew(salaryId.value, empType.value)
|
||||
: config.API.profileSalaryPositionNew(empType.value);
|
||||
? config.API.profileListSalaryNew(salaryId.value, empType.value)
|
||||
: config.API.profileSalaryNew(empType.value);
|
||||
const method = isStatusEdit.value ? "patch" : "post";
|
||||
await http[method](url, formData);
|
||||
await fetchListSalary();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue