2026-08-25 15:58:39 +03:30
|
|
|
import{_ as $e}from"./BasicMainCard-858b87e5.js";import{_ as Re}from"./BasicModal.vue_vue_type_style_index_0_lang-5e13aafb.js";import{_ as Ue,u as qe}from"./useBaseTable-fbe43a97.js";import{_ as Be}from"./button.vue_vue_type_style_index_0_lang-56e9b09f.js";import{I as V}from"./Icon-7c626614.js";import{t as oe}from"./useDataTime-75033b2a.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-31fc30e8.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-864e73c5.js";import{n as Ye}from"./subscription-1240c644.js";import{M as Ze}from"./index-e0e66192.js";import{_ as et,T as tt}from"./index-846ea911.js";import{I as at}from"./index-7c172d43.js";import{T as H}from"./isSymbol-cbbd997a.js";import{A as ce,a as de}from"./index-28f4e531.js";import{U as st}from"./index-00a79bb5.js";import{_ as lt}from"./_plugin-vue_export-helper-a65526b0.js";import"./Grid-b4a61c99.js";import"./index-faaf1291.js";import"./Col-55712802.js";import"./styleChecker-4198f097.js";import"./isPlainObject-13142948.js";import"./vnode-81e10d7c.js";import"./index-bd9719ff.js";import"./updateLocale-71589e17.js";import"./index-69195e76.js";import"./shallowequal-c06f2dba.js";import"./useState-85b22590.js";import"./useMemo-652a8e82.js";import"./FormItemContext-37273d98.js";import"./omit-ab9263d6.js";import"./lodash-ba10e651.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-781130e9.js";import"./index-974d8184.js";import"./Badge-7246b1a5.js";import"./isNumeric-3f69e2aa.js";import"./index-3799ba3b.js";import"./index-e764b6ae.js";import"./index-01d39c58.js";import"./index-b21b8492.js";import"./index-e8adaad2.js";import"./DialogWrap-8cebf5f4.js";import"./pickAttrs-bb0043f0.js";import"./css-aae66f86.js";import"./index-72f07d1b.js";import"./toArray-21522b5d.js";import"./SearchOutlined-8ea30c34.js";import"./isMobile-e2e89480.js";import"./index-07df2e8f.js";import"./adminDb-e44aa5bb.js";import"./pushNotification-296efb1f.js";import"./supabaseTableQuery-21eb0a11.js";import"./useRefs-d7f22ed1.js";import"./_flatRest-2445814a.js";import"./index-391eda35.js";import"./index-041723b0.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
|