2026-08-22 13:27:44 +03:30
|
|
|
import{_ as Re}from"./BasicMainCard-f06c4dad.js";import{_ as Ue}from"./BasicModal.vue_vue_type_style_index_0_lang-7cc4ab5d.js";import{_ as qe,u as Be}from"./useBaseTable-01dc558f.js";import{_ as Pe}from"./button.vue_vue_type_style_index_0_lang-86273660.js";import{I as G}from"./Icon-cc126d0d.js";import{t as oe}from"./useDataTime-5a09f654.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-a4c4188e.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,bK as Q,D as y,bJ as Ve,K as Ge,Q as ze,R as He,bL as We,bM as Xe}from"./index-d718011e.js";import{l as Ye}from"./subscription-a523ba94.js";import{M as Ze}from"./index-eb860757.js";import{_ as et,T as tt}from"./index-68cba126.js";import{a as de,A as pe}from"./index-be4ed47c.js";import{I as at}from"./index-ba4d9879.js";import{T as H}from"./isSymbol-e219d64b.js";import{U as st}from"./index-c895ada9.js";import{_ as lt}from"./_plugin-vue_export-helper-0ed48b96.js";import"./Grid-162208a5.js";import"./index-44f8c87e.js";import"./Col-7aad654b.js";import"./styleChecker-351d08aa.js";import"./isPlainObject-63126d02.js";import"./vnode-0b482026.js";import"./index-5ade1644.js";import"./updateLocale-dac04afb.js";import"./index-12b8b726.js";import"./shallowequal-c9e151d3.js";import"./useState-d226846a.js";import"./useMemo-9e09b0c8.js";import"./FormItemContext-6bb05345.js";import"./omit-86fc1094.js";import"./lodash-02d12c59.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-e23cf95b.js";import"./index-cbb71dc1.js";import"./Badge-bf61afe1.js";import"./isNumeric-3f69e2aa.js";import"./index-9747fd4d.js";import"./index-7eae579c.js";import"./index-6fc61bbd.js";import"./index-59898946.js";import"./index-5b828516.js";import"./DialogWrap-944b6cdf.js";import"./pickAttrs-49bc9c67.js";import"./css-aae66f86.js";import"./index-4e5c2990.js";import"./toArray-02b8a08a.js";import"./SearchOutlined-31f9ef0b.js";import"./isMobile-e2e89480.js";import"./index-7a44352f.js";import"./adminDb-ba7b3479.js";import"./pushNotification-c3a96d48.js";import"./supabaseTableQuery-bada93b0.js";import"./useRefs-373e2aeb.js";import"./_flatRest-e8ea393e.js";import"./index-7a1bd658.js";import"./index-a2e0d559.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
|