ตัวชีวัด
This commit is contained in:
parent
6299afbeab
commit
a8773977bb
6 changed files with 451 additions and 641 deletions
|
|
@ -118,13 +118,19 @@ function onClickAddOrView(status: boolean = false, id: string = "") {
|
|||
|
||||
function onClickDelete(id: number) {
|
||||
dialogRemove($q, () => {
|
||||
showLoader();
|
||||
http
|
||||
.delete(config.API.kpiRoleMainList + `/${id}`)
|
||||
.then((res) => {
|
||||
.then(() => {
|
||||
success($q, "ลบข้อมูลสำเร็จ");
|
||||
fetchList();
|
||||
})
|
||||
.finally(() => {});
|
||||
.catch((err) => {
|
||||
messageError($q, err);
|
||||
})
|
||||
.finally(() => {
|
||||
hideLoader();
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
|
|
@ -301,7 +307,6 @@ onMounted(async () => {
|
|||
hide-bottom-space
|
||||
option-label="name"
|
||||
option-value="id"
|
||||
class="inputgreen"
|
||||
:options="positionOp"
|
||||
use-input
|
||||
@input-value="setModel"
|
||||
|
|
@ -325,19 +330,8 @@ onMounted(async () => {
|
|||
</template>
|
||||
</q-select>
|
||||
|
||||
<!-- <q-select
|
||||
dense
|
||||
outlined
|
||||
v-model="formFilter.position"
|
||||
:options="positionOp"
|
||||
label="ตำแหน่ง"
|
||||
option-label="name"
|
||||
option-value="id"
|
||||
emit-value
|
||||
map-options
|
||||
/> -->
|
||||
<datepicker
|
||||
style="width: 120px"
|
||||
style="width: 150px"
|
||||
menu-class-name="modalfix"
|
||||
v-model="formFilter.year"
|
||||
:locale="'th'"
|
||||
|
|
@ -356,7 +350,6 @@ onMounted(async () => {
|
|||
<q-input
|
||||
dense
|
||||
outlined
|
||||
class="inputgreen"
|
||||
:model-value="
|
||||
formFilter.year === null
|
||||
? 'ทั้งหมด'
|
||||
|
|
@ -390,7 +383,6 @@ onMounted(async () => {
|
|||
outlined
|
||||
v-model="formFilter.round"
|
||||
:model-value="formFilter.round === '' ? 'ทั้งหมด' : formFilter.round"
|
||||
class="inputgreen"
|
||||
:options="roundOp"
|
||||
label="รอบการประเมิน"
|
||||
option-label="name"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue