สิทธ์ ออกคำสั่งลงโทษทางวินัย
This commit is contained in:
parent
37f0ecbc1e
commit
a7bd09d0f1
12 changed files with 240 additions and 83 deletions
|
|
@ -318,7 +318,7 @@ onMounted(async () => {
|
|||
v-if="checkPermission($route)?.attrIsCreate"
|
||||
id="addComplaints"
|
||||
for="addComplaints"
|
||||
size="12px"
|
||||
dense
|
||||
flat
|
||||
round
|
||||
color="primary"
|
||||
|
|
@ -515,13 +515,7 @@ onMounted(async () => {
|
|||
</template>
|
||||
<template v-slot:header="props">
|
||||
<q-tr :props="props">
|
||||
<q-th
|
||||
auto-width
|
||||
v-if="
|
||||
checkPermission($route)?.attrIsGet !== false ||
|
||||
checkPermission($route)?.attrIsUpdate !== false
|
||||
"
|
||||
></q-th>
|
||||
<q-th auto-width></q-th>
|
||||
<q-th
|
||||
v-for="col in props.cols"
|
||||
:key="col.name"
|
||||
|
|
@ -533,19 +527,13 @@ onMounted(async () => {
|
|||
</q-tr>
|
||||
</template>
|
||||
<template v-slot:body="props">
|
||||
<q-tr :props="props" class="cursor-pointer">
|
||||
<q-td
|
||||
auto-width
|
||||
v-if="
|
||||
checkPermission($route)?.attrIsGet !== false ||
|
||||
checkPermission($route)?.attrIsUpdate !== false
|
||||
"
|
||||
>
|
||||
<q-tr :props="props">
|
||||
<q-td auto-width>
|
||||
<q-btn
|
||||
v-if="checkPermission($route)?.attrIsGet"
|
||||
id="addComplaints"
|
||||
for="addComplaints"
|
||||
size="12px"
|
||||
dense
|
||||
flat
|
||||
round
|
||||
color="info"
|
||||
|
|
@ -554,11 +542,14 @@ onMounted(async () => {
|
|||
><q-tooltip>รายละเอียดการอุทธรณ์/ร้องทุกข์</q-tooltip></q-btn
|
||||
>
|
||||
<q-btn
|
||||
v-if="checkPermission($route)?.attrIsUpdate"
|
||||
v-if="
|
||||
checkPermission($route)?.attrIsUpdate &&
|
||||
checkPermission($route)?.attrIsGet
|
||||
"
|
||||
id="addComplaints"
|
||||
for="addComplaints"
|
||||
size="12px"
|
||||
flat
|
||||
dense
|
||||
round
|
||||
color="edit"
|
||||
icon="edit"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue