แก้ API
This commit is contained in:
parent
6706c63da9
commit
5303e076c3
2 changed files with 2 additions and 1 deletions
|
|
@ -57,6 +57,7 @@ export default {
|
||||||
kpiEvaluationCheck: `${kpiEvaluationUser}/check`,
|
kpiEvaluationCheck: `${kpiEvaluationUser}/check`,
|
||||||
kpiSendToStatus: (id: string) => `${kpiEvaluationUser}/status/${id}`,
|
kpiSendToStatus: (id: string) => `${kpiEvaluationUser}/status/${id}`,
|
||||||
kpiReqEdit: (id: string) => `${kpiEvaluation}/edit/${id}`,
|
kpiReqEdit: (id: string) => `${kpiEvaluation}/edit/${id}`,
|
||||||
|
kpiReqEditUser: (id: string) => `${kpiEvaluationUser}/edit/${id}`,
|
||||||
/**ประเมิน*/
|
/**ประเมิน*/
|
||||||
kpiAchievementDevelop: `${kpiAchievement}/development`,
|
kpiAchievementDevelop: `${kpiAchievement}/development`,
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -320,7 +320,7 @@ function requireEdit() {
|
||||||
if (id.value) {
|
if (id.value) {
|
||||||
showLoader();
|
showLoader();
|
||||||
http
|
http
|
||||||
.put(config.API.kpiReqEdit(id.value), {
|
.put(config.API.kpiReqEditUser(id.value), {
|
||||||
status: "EVALUATOR",
|
status: "EVALUATOR",
|
||||||
})
|
})
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue