added function for trigger in admin

This commit is contained in:
2026-07-06 19:06:57 +03:30
parent c380fc89d3
commit 6756641efd
14 changed files with 1072 additions and 442 deletions
@@ -2,7 +2,9 @@
<div class="h-full min-h-0 min-w-0 max-w-full overflow-hidden">
<BasicShowContext title="تاریخچه قیمت">
<template #extra>
<BaseButton
<div class="flex items-center gap-2">
<AdminFieldHelp :text="pricingPageIntro" />
<BaseButton
v-if="isMobile"
type="primary"
size="small"
@@ -12,14 +14,15 @@
>
به‌روزرسانی قیمت
</BaseButton>
</div>
</template>
<AdminFieldHelp :text="pricingPageIntro" root-class="mb-3 px-1" />
<div class="flex h-full min-h-0 flex-col">
<BaseTable v-if="!isMobile" class="h-full min-h-0 min-w-0" v-bind="tblProps" @register="submit" ref="tbl">
<template #extraHeader>
<BaseButton
<div class="flex items-center gap-2">
<AdminFieldHelp :text="pricingPageIntro" />
<BaseButton
type="primary"
size="small"
icon="vuesax-linear:refresh"
@@ -28,6 +31,7 @@
>
به‌روزرسانی قیمت
</BaseButton>
</div>
</template>
<template #action="{ record }">
<div class="flex justify-center gap-2">