updated format code

This commit is contained in:
Warunee Tamkoo 2024-09-03 11:28:01 +07:00
parent b75d69ea08
commit b14bad2249
241 changed files with 14012 additions and 13811 deletions

View file

@ -287,7 +287,7 @@ async function getDataByYear() {
showLoader();
http
.get(config.API.developmentMain + `/done?year=${formData.year}`)
.then(async(res) => {
.then(async (res) => {
const data = await res.data.result.data;
projectOpMain.value = data;
})
@ -311,7 +311,7 @@ function getProjectDetail(val: any) {
formData.isDevelopment70 = data.isDevelopment70;
formData.isDevelopment20 = data.isDevelopment20;
formData.isDevelopment10 = data.isDevelopment10;
development.value = data.developmentProjectTechniqueActuals;
reasonDevelopment70.value =
data.developmentProjectTechniqueActuals.includes("other1")
@ -384,7 +384,7 @@ function filterOptionFn(val: string, update: Function) {
year-picker
:alt-position="customPosition"
:enableTimePicker="false"
@update:model-value="getDataByYear(),projectName = ''"
@update:model-value="getDataByYear(), (projectName = '')"
>
<template #year="{ year }">{{ year + 543 }}</template>
<template #year-overlay-value="{ value }">{{