Merge branch 'nice' into develop
This commit is contained in:
commit
cd78d15cd6
1 changed files with 2 additions and 2 deletions
|
|
@ -594,8 +594,8 @@ function onSubmit() {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const url = isStatusEdit.value
|
const url = isStatusEdit.value
|
||||||
? config.API.profileListSalaryPositionNew(salaryId.value, empType.value)
|
? config.API.profileListSalaryNew(salaryId.value, empType.value)
|
||||||
: config.API.profileSalaryPositionNew(empType.value);
|
: config.API.profileSalaryNew(empType.value);
|
||||||
const method = isStatusEdit.value ? "patch" : "post";
|
const method = isStatusEdit.value ? "patch" : "post";
|
||||||
await http[method](url, formData);
|
await http[method](url, formData);
|
||||||
await fetchListSalary();
|
await fetchListSalary();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue