พ้นราชการ
This commit is contained in:
parent
85b8002585
commit
4a566142b8
2 changed files with 8 additions and 8 deletions
|
|
@ -635,7 +635,7 @@ function updatemodalPersonal(modal: boolean) {
|
||||||
>
|
>
|
||||||
<q-btn
|
<q-btn
|
||||||
v-if="
|
v-if="
|
||||||
!checkRoutePermisson &&
|
(!checkRoutePermisson || props.row.remove === 'EDIT') &&
|
||||||
(typeReport === 'EDIT' ||
|
(typeReport === 'EDIT' ||
|
||||||
typeReport === null ||
|
typeReport === null ||
|
||||||
typeReport === '') &&
|
typeReport === '') &&
|
||||||
|
|
@ -644,7 +644,7 @@ function updatemodalPersonal(modal: boolean) {
|
||||||
"
|
"
|
||||||
flat
|
flat
|
||||||
round
|
round
|
||||||
color="primary"
|
color="edit"
|
||||||
:icon="props.row.remove === 'EDIT' ? 'info' : 'mdi-pencil'"
|
:icon="props.row.remove === 'EDIT' ? 'info' : 'mdi-pencil'"
|
||||||
dense
|
dense
|
||||||
@click.stop="
|
@click.stop="
|
||||||
|
|
@ -658,7 +658,7 @@ function updatemodalPersonal(modal: boolean) {
|
||||||
</q-btn>
|
</q-btn>
|
||||||
<q-btn
|
<q-btn
|
||||||
v-if="
|
v-if="
|
||||||
!checkRoutePermisson &&
|
(!checkRoutePermisson || props.row.remove === 'REMOVE') &&
|
||||||
(typeReport === 'REMOVE' ||
|
(typeReport === 'REMOVE' ||
|
||||||
typeReport === null ||
|
typeReport === null ||
|
||||||
typeReport === '') &&
|
typeReport === '') &&
|
||||||
|
|
@ -726,7 +726,7 @@ function updatemodalPersonal(modal: boolean) {
|
||||||
<!-- note -->
|
<!-- note -->
|
||||||
<q-dialog v-model="modalNote" persistent>
|
<q-dialog v-model="modalNote" persistent>
|
||||||
<q-card style="width: 50vw">
|
<q-card style="width: 50vw">
|
||||||
<DialogHeader tittle="กรอกเหตุผล" :close="closeDialog" />
|
<DialogHeader :tittle="checkRoutePermisson ? 'เหตุผล':'กรอกเหตุผล'" :close="closeDialog" />
|
||||||
<q-separator />
|
<q-separator />
|
||||||
<q-card-section>
|
<q-card-section>
|
||||||
<div class="row q-col-gutter-sm">
|
<div class="row q-col-gutter-sm">
|
||||||
|
|
@ -740,15 +740,15 @@ function updatemodalPersonal(modal: boolean) {
|
||||||
:rules="[(val) => !!val || 'กรุณากรอกเหตุผล']"
|
:rules="[(val) => !!val || 'กรุณากรอกเหตุผล']"
|
||||||
:label="`${'กรอกเหตุผล'}`"
|
:label="`${'กรอกเหตุผล'}`"
|
||||||
type="textarea"
|
type="textarea"
|
||||||
:readonly="statusUpload"
|
:readonly="statusUpload || checkRoutePermisson"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
|
|
||||||
<q-separator />
|
<q-separator v-if="!checkRoutePermisson"/>
|
||||||
|
|
||||||
<q-card-actions align="right" v-if="!statusUpload">
|
<q-card-actions align="right" v-if="!statusUpload&&!checkRoutePermisson">
|
||||||
<q-btn
|
<q-btn
|
||||||
v-if="action === 'delete'"
|
v-if="action === 'delete'"
|
||||||
unelevated
|
unelevated
|
||||||
|
|
|
||||||
|
|
@ -377,7 +377,7 @@ const typeReportChangeName = (val: string) => {
|
||||||
<q-btn
|
<q-btn
|
||||||
v-if="
|
v-if="
|
||||||
checkPermission($route)?.attrIsGet &&
|
checkPermission($route)?.attrIsGet &&
|
||||||
checkPermission($route)?.attrIsUpdate
|
checkPermission($route)?.attrIsUpdate && !props.row.document
|
||||||
"
|
"
|
||||||
flat
|
flat
|
||||||
round
|
round
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue