ประวัติฝึกอบรม/ดูงานลูกจ้าง
This commit is contained in:
parent
6fb49dd324
commit
3e625962cf
5 changed files with 69 additions and 71 deletions
|
|
@ -95,7 +95,7 @@ function getClass() {
|
|||
/** save */
|
||||
function onSubmit() {
|
||||
const url = id.value
|
||||
? config.API.developmentHistoryList("officer") + `${id.value}`
|
||||
? config.API.developmentHistoryListByid("officer", id.value)
|
||||
: config.API.developmentHistoryAdd("officer");
|
||||
|
||||
const body = {
|
||||
|
|
@ -162,7 +162,7 @@ function upDateProject(data: any) {
|
|||
function getDataEdit() {
|
||||
showLoader();
|
||||
http
|
||||
.get(config.API.developmentHistoryList("officer") + `${id.value}`)
|
||||
.get(config.API.developmentHistoryListByid("officer", id.value))
|
||||
.then((res) => {
|
||||
const data = res.data.result;
|
||||
formMain.id = id.value;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue