fix : items & package & barcode modal & show-modal

This commit is contained in:
zeinab.ashrafi
2025-04-09 12:58:52 +03:30
parent 983d1659db
commit 1d77e7b000
18 changed files with 627 additions and 544 deletions
+3 -3
View File
@@ -98,7 +98,7 @@
<v-btn v-bind="attrs" v-on="on" color="pink" class="WM-ActionButton mr-2"
@click="remove(item.id)"
v-if="$hasRole('Admin') || item.user_id == $store.state.user.id">
<v-icon class="white--text mr-2 caption">fas fa-times</v-icon>
<v-icon class="white--text mr-2 caption">fas fa-trash</v-icon>
<span>Remove</span>
</v-btn>
</template>
@@ -145,12 +145,12 @@ import {mapMutations, mapGetters} from "vuex";
export default {
data: () => ({
headers: [
{sortable: false, text: "Cycle ID", value: "Cycle ID"},
{sortable: false, text: "ID", value: "Cycle ID"},
{sortable: false, text: "Hospital", value: "Hospital"},
{sortable: false, text: "Sterilizer ID", value: "Sterilizer ID"},
{sortable: false, text: "Cycle Number", value: "Cycle Number"},
{sortable: false, text: "Date", value: "date"},
{sortable: false, text: "Action", value: "action", align: "left"}
{sortable: false, text: "Action", value: "action", align: "center"}
],
filter: {},
Menu: false,