2026-08-22 12:46:02 +03:30
|
|
|
import{_ as Re}from"./BasicMainCard-5c5f6d5b.js";import{_ as Ue}from"./BasicModal.vue_vue_type_style_index_0_lang-53a0262f.js";import{_ as qe,u as Be}from"./useBaseTable-8494769c.js";import{_ as Pe}from"./button.vue_vue_type_style_index_0_lang-6c8a1754.js";import{I as G}from"./Icon-a994075d.js";import{t as oe}from"./useDataTime-14b71fd1.js";import{g as ae}from"./convert-2ad76038.js";import{t as Ee}from"./textUtils-c37780ad.js";import{i as ie,j as Le,k as ue,l as De,r as Me,n as je,o as Fe}from"./support-cf149f36.js";import{d as Ne,g as x,r as re,h as z,E as Ke,v as Qe,l as Je,o as i,c as d,b as p,w as c,a,e as I,F as L,n as K,j as _,i as w,k as S,J as Oe,t as k,p as se,T as ce,bJ as Q,D as y,bI as Ve,K as Ge,Q as ze,R as He,bK as We,bL as Xe}from"./index-b8949cd5.js";import{l as Ye}from"./subscription-bff8e598.js";import{M as Ze}from"./index-5dac065a.js";import{_ as et,T as tt}from"./index-6175522e.js";import{a as de,A as pe}from"./index-855366d7.js";import{I as at}from"./index-be8f184f.js";import{T as H}from"./isSymbol-71c709aa.js";import{U as st}from"./index-6115353a.js";import{_ as lt}from"./_plugin-vue_export-helper-80a7ceaa.js";import"./Grid-708d80d5.js";import"./index-24c74f31.js";import"./Col-729d4045.js";import"./styleChecker-b373a9d5.js";import"./isPlainObject-ca054af0.js";import"./vnode-30b649a7.js";import"./index-f14a229e.js";import"./updateLocale-8e612d44.js";import"./index-8b168f42.js";import"./shallowequal-a1fb5178.js";import"./useState-3541c1c7.js";import"./useMemo-0a6b6d51.js";import"./FormItemContext-9a696347.js";import"./omit-df5a2f6f.js";import"./lodash-a74993a4.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-db4861df.js";import"./index-d5350fd3.js";import"./Badge-ae00479c.js";import"./isNumeric-3f69e2aa.js";import"./index-97b694b9.js";import"./index-3f37bcfd.js";import"./index-8b8dacd8.js";import"./index-2eed37e0.js";import"./index-21c91830.js";import"./DialogWrap-1ca5eb9f.js";import"./pickAttrs-52cf5a7c.js";import"./css-aae66f86.js";import"./index-fc7471c3.js";import"./toArray-6496b5b4.js";import"./SearchOutlined-78438a74.js";import"./isMobile-e2e89480.js";import"./index-93cdd76f.js";import"./adminDb-3d551abc.js";import"./pushNotification-b3293de1.js";import"./supabaseTableQuery-6c5f43f6.js";import"./useRefs-ac0fbe98.js";import"./_flatRest-1538f4ef.js";import"./index-9f670063.js";import"./index-bc3f8044.js";function nt(o){const h=o==null?void 0:o.users;return h?h.name||[h.first_name,h.last_name].filter(Boolean).join(" ")||h.phone||(o==null?void 0:o.account_name)||"—":(o==null?void 0:o.account_name)||"—"}function ot(o){var h;return((h=o==null?void 0:o.users)==null?void 0:h.phone)||(o==null?void 0:o.account_phone)||"—"}const it=[{title:"ردیف",dataIndex:"id",key:"row_index",filterable:!1,width:70,align:"center",customRender:o=>o.record.index+1},{title:"شماره تیکت",dataIndex:"id",key:"id",type:"Number",width:110,align:"center",customRender:o=>`#${o.record.id}`},{title:"نام کاربر",dataIndex:"account_name",key:"account_name",type:"Text",width:160,customRender:o=>nt(o.record)},{title:"شماره موبایل",dataIndex:"account_phone",key:"account_phone",type:"Text",width:130,customRender:o=>ot(o.record)},{title:"متن تیکت",dataIndex:"problem",key:"problem",type:"Text",width:280,customRender:o=>{const{truncated:h}=Ee(o.record.problem||"",70);return h}},{title:"عملیات",dataIndex:"action",key:"action",width:150,align:"center",slot:"action",filterable:!1}],me=[{value:"codoblo",label:"اشتراک کدوبلو"},{value:"shop",label:"بخش فروشگاه"},{value:"other",label:"بخشهای دیگر اپلیکیشن"},{value:"feedback",label:"انتقاد و پیشنهاد"}],ut=[{value:"new",label:"درخواستهای جدید"},{value:"answered",label:"پاسخ دادهشده"},{value:"follow_up",label:"ادامه گفتگو"},{value:"closed",label:"بستهشده"},{value:"spam",label:"اسپم"}],v=o=>(ze("data-v-1a538510"),o=o(),He(),o),rt={class:"tickets-page"},ct={class:"tickets-page__inner"},dt={class:"tickets-page__header flex justify-bet
|