เปลี่ยน year เป็น string
This commit is contained in:
parent
94afaca07b
commit
fe0fefdb24
2 changed files with 2 additions and 2 deletions
|
|
@ -209,7 +209,7 @@ function onSubmit() {
|
|||
$q,
|
||||
async () => {
|
||||
const body = {
|
||||
year: year.value == 0 ? null : year.value,
|
||||
year: year.value == 0 ? null : year.value?.toString(),
|
||||
period: planData.period,
|
||||
includingName: planData.includingName,
|
||||
target: planData.target,
|
||||
|
|
|
|||
|
|
@ -125,7 +125,7 @@ function onSubmit() {
|
|||
: config.API.kpiRoleMainList;
|
||||
|
||||
const body = {
|
||||
year: form.year == 0 ? null:form.year,
|
||||
year: form.year == 0 ? null:form.year.toString(),
|
||||
position: form.position, //ตำแหน่ง
|
||||
period: form.round, //รอบการประเมิน(เมษา->APR, ตุลา->OCT)
|
||||
includingName: form.includingName, //ชื่อตัวชี้วัด
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue