2026-08-23 17:45:14 +03:30
|
|
|
import{_ as $e}from"./BasicMainCard-ffb2dbb7.js";import{_ as Re}from"./BasicModal.vue_vue_type_style_index_0_lang-19f7e884.js";import{_ as Ue,u as qe}from"./useBaseTable-b54f1011.js";import{_ as Be}from"./button.vue_vue_type_style_index_0_lang-573c8178.js";import{I as V}from"./Icon-51292ba8.js";import{t as oe}from"./useDataTime-ba303e4c.js";import{g as ae}from"./convert-2ad76038.js";import{t as Pe}from"./textUtils-c37780ad.js";import{i as ie,j as Le,k as Ee,l as Me,r as De,n as je,o as Fe}from"./support-d8c22298.js";import{d as Ne,i as x,h as ue,j as z,y as Ke,x as Oe,p as Qe,o as i,c as d,e as p,w as c,b as a,f as S,F as E,q as K,l as _,k as w,n as I,K as Ge,t as k,s as se,U as re,bK as O,G as y,bJ as Je,L as Ve,R as ze,S as He,bL as We,bM as Xe}from"./index-85b0a871.js";import{l as Ye}from"./subscription-f7ddc90e.js";import{M as Ze}from"./index-8e461858.js";import{_ as et,T as tt}from"./index-bc0fc67e.js";import{a as ce,A as de}from"./index-d659160a.js";import{I as at}from"./index-a4749a4e.js";import{T as H}from"./isSymbol-f096d1f3.js";import{U as st}from"./index-75e74cba.js";import{_ as lt}from"./_plugin-vue_export-helper-7166b54f.js";import"./Grid-d7acf630.js";import"./index-7c9a6ce2.js";import"./Col-2fd15786.js";import"./styleChecker-700d5c9b.js";import"./isPlainObject-3b96d88c.js";import"./vnode-67298ed6.js";import"./index-0bc12b2b.js";import"./updateLocale-e1269d0e.js";import"./index-0ad3a6e0.js";import"./shallowequal-f73ccac4.js";import"./useState-dca0eb62.js";import"./useMemo-2d8f0e33.js";import"./FormItemContext-c3e7c21a.js";import"./omit-6e71f361.js";import"./lodash-a94f6ca6.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-9242d002.js";import"./index-a4228ed0.js";import"./Badge-6e22b582.js";import"./isNumeric-3f69e2aa.js";import"./index-f833d7e1.js";import"./index-d729d8f3.js";import"./index-378e150b.js";import"./index-13a23e48.js";import"./index-4f2f7002.js";import"./DialogWrap-31c1c17a.js";import"./pickAttrs-b5c2621e.js";import"./css-aae66f86.js";import"./index-1e0c5a9f.js";import"./toArray-ede1f933.js";import"./SearchOutlined-2119418f.js";import"./isMobile-e2e89480.js";import"./index-f07edbcd.js";import"./adminDb-4c61febc.js";import"./pushNotification-71fb5d1d.js";import"./supabaseTableQuery-c1fc4a72.js";import"./useRefs-77023e0a.js";import"./_flatRest-11159c04.js";import"./index-f5268db6.js";import"./index-1a963bf1.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}=Pe(o.record.problem||"",70);return h}},{title:"عملیات",dataIndex:"action",key:"action",width:150,align:"center",slot:"action",filterable:!1}],pe=[{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-f4cc8a35"),o=o(),He(),o),rt={class:"tickets-page"},ct={class:"tickets-page__inner"},dt={class:"tickets-page__header flex justif
|