2 lines
17 KiB
JavaScript
2 lines
17 KiB
JavaScript
import{_ as Re}from"./BasicMainCard-3ff3ca7d.js";import{_ as Ue}from"./BasicModal.vue_vue_type_style_index_0_lang-04d97f2a.js";import{_ as qe,u as Be}from"./useBaseTable-3820970d.js";import{_ as Pe}from"./button.vue_vue_type_style_index_0_lang-5de0d8e3.js";import{I as G}from"./Icon-87be71cf.js";import{t as oe}from"./useDataTime-4d99ffa4.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-63a1bef7.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-6af34310.js";import{l as Ye}from"./subscription-5af44b15.js";import{M as Ze}from"./index-402d2a38.js";import{_ as et,T as tt}from"./index-971b2d4a.js";import{a as de,A as pe}from"./index-9abc8689.js";import{I as at}from"./index-a9aa8901.js";import{T as H}from"./isSymbol-74667f0e.js";import{U as st}from"./index-a8d977ad.js";import{_ as lt}from"./_plugin-vue_export-helper-4395e3ae.js";import"./Grid-c00ab853.js";import"./index-31d268cb.js";import"./Col-1a0e8c9f.js";import"./styleChecker-3b14718f.js";import"./isPlainObject-f211f712.js";import"./vnode-6bd0f81f.js";import"./index-1cc8f5ba.js";import"./updateLocale-ce5acd65.js";import"./index-54c8d4d2.js";import"./shallowequal-73e7ce81.js";import"./useState-99a639ca.js";import"./useMemo-b6d62481.js";import"./FormItemContext-752394af.js";import"./omit-0d248b9d.js";import"./lodash-e4e61e75.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-064ba967.js";import"./index-2e0cb6a7.js";import"./Badge-34585beb.js";import"./isNumeric-3f69e2aa.js";import"./index-12ea9e69.js";import"./index-12698051.js";import"./index-7ce3f98c.js";import"./index-850ddaf5.js";import"./index-56af14ac.js";import"./DialogWrap-532fa905.js";import"./pickAttrs-a6fd0b4c.js";import"./css-aae66f86.js";import"./index-0bc83ff9.js";import"./toArray-1c539327.js";import"./SearchOutlined-15a5b0f1.js";import"./isMobile-e2e89480.js";import"./index-f3fb0dd4.js";import"./adminDb-9a3a5c3e.js";import"./pushNotification-ab619063.js";import"./supabaseTableQuery-bd07e3bd.js";import"./useRefs-a7f6cac5.js";import"./_flatRest-fd0e6fb4.js";import"./index-d224c105.js";import"./index-dd895eee.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
|