โครงสร้างอัตรากำลัง => เพิ่ม isLock
This commit is contained in:
parent
edbd250c54
commit
914072c8b6
5 changed files with 33 additions and 10 deletions
|
|
@ -384,7 +384,10 @@ watch(
|
|||
<div class="row q-col-gutter-sm q-pl-sm">
|
||||
<div class="col-2" v-if="store.typeOrganizational === 'draft'">
|
||||
<q-btn
|
||||
v-if="checkPermission($route)?.attrOwnership == 'OWNER'"
|
||||
v-if="
|
||||
checkPermission($route)?.attrOwnership == 'OWNER' &&
|
||||
!store.isLosck
|
||||
"
|
||||
dense
|
||||
flat
|
||||
round
|
||||
|
|
@ -399,7 +402,8 @@ watch(
|
|||
<div
|
||||
:class="
|
||||
store.typeOrganizational === 'draft' &&
|
||||
checkPermission($route)?.attrOwnership == 'OWNER'
|
||||
checkPermission($route)?.attrOwnership == 'OWNER ' &&
|
||||
!store.isLosck
|
||||
? 'col-10'
|
||||
: 'col-12'
|
||||
"
|
||||
|
|
@ -468,7 +472,7 @@ watch(
|
|||
</div>
|
||||
|
||||
<q-btn
|
||||
v-if="store.typeOrganizational === 'draft'"
|
||||
v-if="store.typeOrganizational === 'draft' && !store.isLosck"
|
||||
@click.stop
|
||||
flat
|
||||
dense
|
||||
|
|
|
|||
|
|
@ -487,7 +487,7 @@ watch(
|
|||
<!-- TOOLBAR -->
|
||||
<div class="col-12">
|
||||
<q-toolbar style="padding: 0">
|
||||
<div v-if="store.typeOrganizational === 'draft'">
|
||||
<div v-if="store.typeOrganizational === 'draft'&& !store.isLosck">
|
||||
<q-btn
|
||||
flat
|
||||
round
|
||||
|
|
@ -602,7 +602,7 @@ watch(
|
|||
<q-tr :props="props">
|
||||
<q-td>
|
||||
<q-btn
|
||||
v-if="store.typeOrganizational === 'draft'"
|
||||
v-if="store.typeOrganizational === 'draft' && !store.isLosck"
|
||||
flat
|
||||
color="secondary"
|
||||
icon="mdi-dots-horizontal-circle-outline"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue