Files
machartaa_admin_dist/dist/assets/index-67981362.js
T

2 lines
17 KiB
JavaScript
Raw Normal View History

2026-08-23 14:52:55 +03:30
import{_ as $e}from"./BasicMainCard-774c1aa2.js";import{_ as Re}from"./BasicModal.vue_vue_type_style_index_0_lang-c3017354.js";import{_ as Ue,u as qe}from"./useBaseTable-6d1e031d.js";import{_ as Be}from"./button.vue_vue_type_style_index_0_lang-29638cb6.js";import{I as V}from"./Icon-c8a211f1.js";import{t as oe}from"./useDataTime-4239bab9.js";import{g as ae}from"./convert-2ad76038.js";import{t as Pe}from"./textUtils-c37780ad.js";import{i as ie,j as Ee,k as Le,l as Me,r as De,n as je,o as Fe}from"./support-e3435ac4.js";import{d as Ne,i as x,h as ue,j as z,G 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 L,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,E as y,bJ as Je,L as Ve,R as ze,S as He,bL as We,bM as Xe}from"./index-a28be152.js";import{l as Ye}from"./subscription-da673552.js";import{M as Ze}from"./index-8cc4eae2.js";import{_ as et,T as tt}from"./index-96443f0e.js";import{a as ce,A as de}from"./index-9a5685aa.js";import{I as at}from"./index-f317ca53.js";import{T as H}from"./isSymbol-25ca88cb.js";import{U as st}from"./index-1018439f.js";import{_ as lt}from"./_plugin-vue_export-helper-f8ecc290.js";import"./Grid-442881e7.js";import"./index-51b737a4.js";import"./Col-86738adb.js";import"./styleChecker-8c6ff79a.js";import"./isPlainObject-450bf3c7.js";import"./vnode-4742fc96.js";import"./index-dd708aca.js";import"./updateLocale-619fe8a7.js";import"./index-3bdda65d.js";import"./shallowequal-4c00a664.js";import"./useState-277534ff.js";import"./useMemo-832cfde0.js";import"./FormItemContext-e50ee5a3.js";import"./omit-8084e33b.js";import"./lodash-5d3e4f7d.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-1d4fd99b.js";import"./index-61ef5439.js";import"./Badge-7dd6b925.js";import"./isNumeric-3f69e2aa.js";import"./index-dbebb139.js";import"./index-5222fc6e.js";import"./index-1e365e2e.js";import"./index-12d303fc.js";import"./index-4a3fe357.js";import"./DialogWrap-617bda84.js";import"./pickAttrs-38902005.js";import"./css-aae66f86.js";import"./index-2849b35f.js";import"./toArray-bdec6b87.js";import"./SearchOutlined-4a5562a8.js";import"./isMobile-e2e89480.js";import"./index-f3f71242.js";import"./adminDb-b494d147.js";import"./pushNotification-7da7018d.js";import"./supabaseTableQuery-e3d032a9.js";import"./useRefs-e22a3bf7.js";import"./_flatRest-08328244.js";import"./index-85ba3ddf.js";import"./index-6d9febfe.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