diff --git a/src/modules/01_metadataNew/components/Indicators/indicatorByPlan/IndicatorByPlan.vue b/src/modules/01_metadataNew/components/Indicators/indicatorByPlan/IndicatorByPlan.vue index 17085061c..bf1a832c1 100644 --- a/src/modules/01_metadataNew/components/Indicators/indicatorByPlan/IndicatorByPlan.vue +++ b/src/modules/01_metadataNew/components/Indicators/indicatorByPlan/IndicatorByPlan.vue @@ -298,7 +298,6 @@ onMounted(() => { autoApply year-picker :enableTimePicker="false" - @update:modelValue="planData.period = ''" > @@ -339,7 +335,6 @@ onMounted(() => {
({ meaning: "", //นิยามหรือความหมาย formula: "", //สูตรคำนวณ documentInfoEvidence: "", //ข้อมูลเอกสารหลักฐาน - node: null, nodeId: null, orgRevisionId: null, @@ -125,7 +124,7 @@ function onSubmit() { : config.API.kpiRoleMainList; const body = { - year: form.year == 0 ? null:form.year?.toString(), + year: form.year == 0 ? null : form.year?.toString(), position: form.position, //ตำแหน่ง period: form.round, //รอบการประเมิน(เมษา->APR, ตุลา->OCT) includingName: form.includingName, //ชื่อตัวชี้วัด @@ -184,7 +183,7 @@ function getDetail() { form.weight = data.weight; form.meaning = data.meaning; form.formula = data.formula; - form.documentInfoEvidence = data.documentInfoEvidence + form.documentInfoEvidence = data.documentInfoEvidence; formScore.score1 = data.achievement1; formScore.score2 = data.achievement2; @@ -321,7 +320,6 @@ onMounted(() => { autoApply year-picker :enableTimePicker="false" - @update:model-value="form.round = ''" > @@ -362,7 +357,6 @@ onMounted(() => {
{ dense outlined v-model="nodeData.round" - :model-value="nodeData.round === '' ? 'ทั้งหมด' : nodeData.round" :options="roundOp" label="รอบการประเมิน" option-label="name" diff --git a/src/modules/01_metadataNew/views/indicatorByRole.vue b/src/modules/01_metadataNew/views/indicatorByRole.vue index 6e0dc1a90..c226989ab 100644 --- a/src/modules/01_metadataNew/views/indicatorByRole.vue +++ b/src/modules/01_metadataNew/views/indicatorByRole.vue @@ -338,9 +338,7 @@ onMounted(async () => { autoApply year-picker :enableTimePicker="false" - @update:model-value=" - (formFilter.page = 1), (formFilter.round = ''), fetchList() - " + @update:model-value="(formFilter.page = 1), fetchList()" >