fixing bug
This commit is contained in:
parent
991ebe49a9
commit
7ee651f8cc
2 changed files with 21 additions and 372 deletions
|
|
@ -123,12 +123,14 @@ function fetchListPlanByid(id: string) {
|
|||
formDetail.achievement4 = data.achievement4;
|
||||
formDetail.achievement5 = data.achievement5;
|
||||
formDetail.documentInfoEvidence = data.documentInfoEvidence;
|
||||
|
||||
if (data.startDate && data.endDate) {
|
||||
formDetail.date = [];
|
||||
formDetail.date[0] = data.startDate;
|
||||
formDetail.date[1] = data.endDate;
|
||||
}
|
||||
clickList(data.kpiPlanId, true);
|
||||
|
||||
listCheckID.value = data.kpiPlanId;
|
||||
})
|
||||
.catch((err) => {
|
||||
messageError($q, err);
|
||||
|
|
@ -183,7 +185,9 @@ function fetchRoleByid(id: string) {
|
|||
formDetail.date[0] = data.startDate;
|
||||
formDetail.date[1] = data.endDate;
|
||||
}
|
||||
clickList(data.kpiRoleId, true);
|
||||
|
||||
listCheckID.value = data.kpiRoleId;
|
||||
// clickList(data.kpiRoleId, true);
|
||||
})
|
||||
.catch((err) => {
|
||||
messageError($q, err);
|
||||
|
|
@ -647,7 +651,7 @@ const title = computed(() => {
|
|||
dense
|
||||
class="inputgreen"
|
||||
:rules="[
|
||||
(val) =>
|
||||
(val:string) =>
|
||||
!!val || `${'กรุณากรอกลำดับ/รหัสตัวชี้วัด'}`,
|
||||
]"
|
||||
lazy-rules
|
||||
|
|
@ -668,7 +672,7 @@ const title = computed(() => {
|
|||
dense
|
||||
class="inputgreen"
|
||||
:rules="[
|
||||
(val) => !!val || `${'กรุณากรอกชื่อตัวชี้วัด'}`,
|
||||
(val:string) => !!val || `${'กรุณากรอกชื่อตัวชี้วัด'}`,
|
||||
]"
|
||||
lazy-rules
|
||||
hide-bottom-space
|
||||
|
|
@ -686,7 +690,7 @@ const title = computed(() => {
|
|||
dense
|
||||
class="inputgreen"
|
||||
:rules="[
|
||||
(val) => !!val || `${'กรุณากรอกค่าเป้าหมาย'}`,
|
||||
(val:string) => !!val || `${'กรุณากรอกค่าเป้าหมาย'}`,
|
||||
]"
|
||||
hide-bottom-space
|
||||
lazy-rules
|
||||
|
|
@ -703,7 +707,7 @@ const title = computed(() => {
|
|||
dense
|
||||
class="inputgreen"
|
||||
:rules="[
|
||||
(val) => !!val || `${'กรุณากรอกหน่วยนับ'}`,
|
||||
(val:string) => !!val || `${'กรุณากรอกหน่วยนับ'}`,
|
||||
]"
|
||||
lazy-rules
|
||||
hide-bottom-space
|
||||
|
|
@ -721,7 +725,7 @@ const title = computed(() => {
|
|||
dense
|
||||
class="inputgreen"
|
||||
:rules="[
|
||||
(val) =>
|
||||
(val:string) =>
|
||||
!!val || `${'กรุณากรอกน้ำหนัก (ร้อยละ)'}`,
|
||||
]"
|
||||
hide-bottom-space
|
||||
|
|
@ -741,10 +745,8 @@ const title = computed(() => {
|
|||
<div class="col-6 text-center">ระดับคะแนน</div>
|
||||
<div class="col-6 text-center">ผลสำเร็จของงาน</div>
|
||||
</div>
|
||||
<q-separator/>
|
||||
<div
|
||||
class="row col-12 items-center q-pa-sm"
|
||||
>
|
||||
<q-separator />
|
||||
<div class="row col-12 items-center q-pa-sm">
|
||||
<div class="col-6 text-center text-body2">5</div>
|
||||
<div class="col-6">
|
||||
<q-input
|
||||
|
|
@ -758,10 +760,8 @@ const title = computed(() => {
|
|||
/>
|
||||
</div>
|
||||
</div>
|
||||
<q-separator/>
|
||||
<div
|
||||
class="row col-12 items-center q-pa-sm"
|
||||
>
|
||||
<q-separator />
|
||||
<div class="row col-12 items-center q-pa-sm">
|
||||
<div class="col-6 text-center text-body2">4</div>
|
||||
<div class="col-6 text-center text-primary">
|
||||
<q-input
|
||||
|
|
@ -775,10 +775,8 @@ const title = computed(() => {
|
|||
/>
|
||||
</div>
|
||||
</div>
|
||||
<q-separator/>
|
||||
<div
|
||||
class="row col-12 items-center q-pa-sm"
|
||||
>
|
||||
<q-separator />
|
||||
<div class="row col-12 items-center q-pa-sm">
|
||||
<div class="col-6 text-center text-body2">3</div>
|
||||
<div class="col-6 text-center text-primary">
|
||||
<q-input
|
||||
|
|
@ -792,10 +790,8 @@ const title = computed(() => {
|
|||
/>
|
||||
</div>
|
||||
</div>
|
||||
<q-separator/>
|
||||
<div
|
||||
class="row col-12 items-center q-pa-sm"
|
||||
>
|
||||
<q-separator />
|
||||
<div class="row col-12 items-center q-pa-sm">
|
||||
<div class="col-6 text-center text-body2">2</div>
|
||||
<div class="col-6 text-center text-primary">
|
||||
<q-input
|
||||
|
|
@ -809,10 +805,8 @@ const title = computed(() => {
|
|||
/>
|
||||
</div>
|
||||
</div>
|
||||
<q-separator/>
|
||||
<div
|
||||
class="row col-12 items-center q-pa-sm"
|
||||
>
|
||||
<q-separator />
|
||||
<div class="row col-12 items-center q-pa-sm">
|
||||
<div class="col-6 text-center text-body2">1</div>
|
||||
<div class="col-6 text-center text-primary">
|
||||
<q-input
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue