Files
machartaa_admin_dist/dist/assets/index-69e523ac.js
T

2 lines
16 KiB
JavaScript
Raw Normal View History

2026-08-20 11:30:22 +03:30
import{_ as Ie}from"./BasicMainCard-4207a822.js";import{_ as Se}from"./BasicModal.vue_vue_type_style_index_0_lang-12600cfe.js";import{_ as Ae,u as $e}from"./useBaseTable-09dec183.js";import{_ as Re}from"./button.vue_vue_type_style_index_0_lang-485aa400.js";import{I as N}from"./Icon-b61699b8.js";import{t as Z}from"./useDataTime-c34f53fe.js";import{g as J}from"./convert-2ad76038.js";import{t as Ue}from"./textUtils-c37780ad.js";import{j as ee,k as qe,l as Be,n as Pe,o as je,p as De,q as Ee,v as Me}from"./support-0009ac75.js";import{l as Ne}from"./subscription-3ed8216f.js";import{M as Fe}from"./index-21b3e11b.js";import{_ as Le,T as Ke}from"./index-a94d8106.js";import{a as te,A as ae}from"./index-e25e6bea.js";import{I as Qe}from"./index-f7d24d7c.js";import{d as Oe,g as y,r as se,h as F,E as Ve,v as Je,l as ze,o,c,b as d,w as u,a,e as C,F as B,n as D,j as _,i as b,k as I,H as Ge,t as h,p as z,D as g,O as He,P as We}from"./index-5a216054.js";import{T as L}from"./isSymbol-67342ebb.js";import{U as Xe}from"./index-1dde6b67.js";import{_ as Ye}from"./_plugin-vue_export-helper-bf156267.js";import"./Grid-91e1bfd6.js";import"./index-704d428b.js";import"./Col-a3540e0e.js";import"./styleChecker-559f6f42.js";import"./isPlainObject-3c9a77e7.js";import"./vnode-4ae36afb.js";import"./index-efc9438a.js";import"./updateLocale-67e6a89b.js";import"./index-35a2fbcb.js";import"./index-bc659f42.js";import"./shallowequal-9390c690.js";import"./useState-aaca7c53.js";import"./useMemo-f3fe2319.js";import"./FormItemContext-c093a4c8.js";import"./omit-0e04d816.js";import"./lodash-724580df.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-5d13f90f.js";import"./index-7e28a3d1.js";import"./Badge-f954f9ce.js";import"./isNumeric-3f69e2aa.js";import"./index-16772af6.js";import"./index-70ec4858.js";import"./index-fe5d35f1.js";import"./index-8a5836b4.js";import"./index-99d6fd3f.js";import"./DialogWrap-104be95a.js";import"./pickAttrs-ca601ed4.js";import"./css-aae66f86.js";import"./index-14d22686.js";import"./toArray-6764992d.js";import"./SearchOutlined-4a9dd4f9.js";import"./isMobile-e2e89480.js";import"./index-89aa8d2e.js";import"./pushNotification-7f573de1.js";import"./supabaseTableQuery-8ab5665d.js";import"./useRefs-88e72f09.js";import"./_flatRest-65586b5d.js";import"./index-d9ae5dff.js";import"./index-8c21a425.js";function Ze(n){const f=n==null?void 0:n.users;return f?f.name||[f.first_name,f.last_name].filter(Boolean).join(" ")||f.phone||(n==null?void 0:n.account_name)||"—":(n==null?void 0:n.account_name)||"—"}function et(n){var f;return((f=n==null?void 0:n.users)==null?void 0:f.phone)||(n==null?void 0:n.account_phone)||"—"}const tt=[{title:"ردیف",dataIndex:"id",key:"row_index",filterable:!1,width:70,align:"center",customRender:n=>n.record.index+1},{title:"شماره تیکت",dataIndex:"id",key:"id",type:"Number",width:110,align:"center",customRender:n=>`#${n.record.id}`},{title:"نام کاربر",dataIndex:"account_name",key:"account_name",type:"Text",width:160,customRender:n=>Ze(n.record)},{title:"شماره موبایل",dataIndex:"account_phone",key:"account_phone",type:"Text",width:130,customRender:n=>et(n.record)},{title:"متن تیکت",dataIndex:"problem",key:"problem",type:"Text",width:280,customRender:n=>{const{truncated:f}=Ue(n.record.problem||"",70);return f}},{title:"عملیات",dataIndex:"action",key:"action",width:150,align:"center",slot:"action",filterable:!1}],le=[{value:"codoblo",label:"اشتراک کدوبلو"},{value:"shop",label:"بخش فروشگاه"},{value:"other",label:"بخش‌های دیگر اپلیکیشن"},{value:"feedback",label:"انتقاد و پیشنهاد"}],at=[{value:"new",label:"درخواست‌های جدید"},{value:"answered",label:"پاسخ داده‌شده"},{value:"follow_up",label:"ادامه گفتگو"},{value:"closed",label:"بسته‌شده"},{value:"spam",label:"اسپم"}],m=n=>(He("data-v-18c2d840"),n=n(),We(),n),st={class:"tickets-page"},lt={class:"tickets-page__inner"},nt={class:"tickets-page__header flex justify-between items-center gap-3 flex-wrap"},ot=m(()=>a("div",null,