2026-08-25 16:12:17 +03:30
|
|
|
import{_ as $e}from"./BasicMainCard-9a9b0e82.js";import{_ as Re}from"./BasicModal.vue_vue_type_style_index_0_lang-0db8aa6c.js";import{_ as Ue,u as qe}from"./useBaseTable-0fdb84ad.js";import{_ as Be}from"./button.vue_vue_type_style_index_0_lang-0b499337.js";import{I as V}from"./Icon-d1d29ca3.js";import{t as oe}from"./useDataTime-234977eb.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-377ab98e.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-0ae7844c.js";import{n as Ye}from"./subscription-332ac1b1.js";import{M as Ze}from"./index-6d32dcba.js";import{_ as et,T as tt}from"./index-33c0557e.js";import{I as at}from"./index-81a07cb9.js";import{T as H}from"./isSymbol-d0ec885c.js";import{A as ce,a as de}from"./index-8bf25367.js";import{U as st}from"./index-5936ec05.js";import{_ as lt}from"./_plugin-vue_export-helper-277b1c3f.js";import"./Grid-1b086c47.js";import"./index-3189b1a9.js";import"./Col-84747301.js";import"./styleChecker-918e9a0f.js";import"./isPlainObject-4659a577.js";import"./vnode-454b4aa7.js";import"./index-0309284c.js";import"./updateLocale-15cba891.js";import"./index-c2bca1e0.js";import"./shallowequal-a089597b.js";import"./useState-80fd23c9.js";import"./useMemo-19000d17.js";import"./FormItemContext-e7b6ca96.js";import"./omit-e036f60c.js";import"./lodash-6746fa7b.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-630a739a.js";import"./index-ff77e42c.js";import"./Badge-3dfd39bb.js";import"./isNumeric-3f69e2aa.js";import"./index-6585bad2.js";import"./index-c2776ddf.js";import"./index-7d2db2fd.js";import"./index-0c08cf04.js";import"./index-02b92135.js";import"./DialogWrap-930ec585.js";import"./pickAttrs-2e870478.js";import"./css-aae66f86.js";import"./index-a2cfdf13.js";import"./toArray-592e82ea.js";import"./SearchOutlined-8b990494.js";import"./isMobile-e2e89480.js";import"./index-7090fbb0.js";import"./adminDb-3e7064ba.js";import"./pushNotification-8265e648.js";import"./supabaseTableQuery-98b38f56.js";import"./useRefs-0b121885.js";import"./_flatRest-5e9bcb10.js";import"./index-936e9d5d.js";import"./index-9d9cf8fd.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
|