fix: tickets
Deploy banu-front / deploy (push) Failing after 16s

This commit is contained in:
sajjadtalkhabi
2026-06-05 19:42:09 +03:30
parent ea562aeefa
commit b8ccbcc030
24 changed files with 447 additions and 222 deletions
@@ -20,9 +20,9 @@
<LineInfoBlock title="درخواست" :desc="requestText" />
</div>
<div class="service-details__divider" />
<!-- <div class="service-details__divider" /> -->
<footer class="service-details__footer">
<!-- <footer class="service-details__footer">
<BaseButton
text="ارسال پیام"
custom-class="service-details__send-btn"
@@ -32,7 +32,7 @@
<SvgIcon name="arrow-left" :size="18" color="#fff" />
</template>
</BaseButton>
</footer>
</footer> -->
</template>
</div>
</template>
@@ -41,18 +41,17 @@
<script setup>
import { computed } from 'vue'
import { SERVICE_TYPE } from '@/enums'
import useModal from '@/composables/useModal'
import BasicModal from '@/components/BasicModal.vue'
import BaseButton from '@/components/BaseButton.vue'
import SvgIcon from '@/components/icons/SvgIcon.vue'
// import BaseButton from '@/components/BaseButton.vue'
// import SvgIcon from '@/components/icons/SvgIcon.vue'
import LineInfoBlock from '@/components/blocks/LineInfoBlock.vue'
import { useAdminServiceQuery } from '@/services/query/admin-services'
import SkeletonLoaderBlock from '@/components/blocks/SkeletonLoaderBlock.vue'
defineOptions({ name: 'ServiceDetailsModal' })
const { openModal, getModal } = useModal()
const { getModal } = useModal()
const modalData = computed(() => getModal('ServiceDetailsModal')?.data ?? {})
const serviceId = computed(() => modalData.value.id ?? null)
@@ -66,9 +65,7 @@ const serviceTitle = computed(
() => service.value?.subject || service.value?.title || service.value?.serviceTitle || '—'
)
const serviceTypeLabel = computed(
() => service.value?.typeLabel || SERVICE_TYPE[service.value?.type] || '—'
)
const serviceTypeLabel = computed(() => service.value?.category || '—')
// Pre-migration fixtures used `requestText`/`description`; the new schema puts
// the body inside the first message.
@@ -80,9 +77,9 @@ const requestText = computed(
'—'
)
const onSendMessage = () => {
openModal('SendMessageModal', { id: serviceId.value })
}
// const onSendMessage = () => {
// openModal('SendMessageModal', { id: serviceId.value })
// }
</script>
<style lang="scss" scoped>
@@ -112,7 +109,7 @@ const onSendMessage = () => {
&__footer {
display: flex;
justify-content: center;
justify-content: flex-end;
}
&__send-btn {