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

2 lines
16 KiB
JavaScript
Raw Normal View History

2026-08-19 18:36:32 +03:30
import{_ as Ie}from"./BasicMainCard-c1077cbf.js";import{_ as Se}from"./BasicModal.vue_vue_type_style_index_0_lang-0121d908.js";import{_ as Ae,u as $e}from"./useBaseTable-7b78293f.js";import{_ as Re}from"./button.vue_vue_type_style_index_0_lang-dcd86e7a.js";import{I as N}from"./Icon-8dedfa53.js";import{t as Z}from"./useDataTime-a337f5c6.js";import{g as J}from"./convert-2ad76038.js";import{t as Ue}from"./textUtils-c37780ad.js";import{j as ee,k as qe,l as Be,n as Pe,o as je,p as De,q as Ee,v as Me}from"./support-1b2f9550.js";import{l as Ne}from"./subscription-1ca3b141.js";import{M as Fe}from"./index-12bdf78c.js";import{_ as Le,T as Ke}from"./index-f9091817.js";import{a as te,A as ae}from"./index-c4ae3b8b.js";import{I as Qe}from"./index-d18c8f13.js";import{d as Oe,g as y,r as se,h as F,E as Ve,v as Je,l as ze,o,c,b as d,w as u,a,e as C,F as B,n as D,j as _,i as b,k as I,H as Ge,t as h,p as z,D as g,O as He,P as We}from"./index-b0561d74.js";import{T as L}from"./isSymbol-a4291d99.js";import{U as Xe}from"./index-2e6c7b29.js";import{_ as Ye}from"./_plugin-vue_export-helper-130a5518.js";import"./Grid-80c38bfa.js";import"./index-9a77c0e9.js";import"./Col-08664037.js";import"./styleChecker-d39a1d44.js";import"./isPlainObject-3a5eccde.js";import"./vnode-531f9d95.js";import"./index-b7f1770d.js";import"./updateLocale-b730d578.js";import"./index-092c5981.js";import"./index-bc659f42.js";import"./shallowequal-4f931fa5.js";import"./useState-94528018.js";import"./useMemo-0162b583.js";import"./FormItemContext-5520cb52.js";import"./omit-e6701bfc.js";import"./lodash-9a3882db.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-71825e72.js";import"./index-46f9dc77.js";import"./Badge-d2c862d8.js";import"./isNumeric-3f69e2aa.js";import"./index-7febe226.js";import"./index-5d725680.js";import"./index-93c22234.js";import"./index-b618fa76.js";import"./index-2dc7fe57.js";import"./DialogWrap-9c2d8a9c.js";import"./pickAttrs-69dd58a4.js";import"./css-aae66f86.js";import"./index-482a46a3.js";import"./toArray-1ab9b01c.js";import"./SearchOutlined-ca6a4719.js";import"./isMobile-e2e89480.js";import"./index-840dd6b2.js";import"./pushNotification-510f3e6b.js";import"./supabaseTableQuery-8ab5665d.js";import"./useRefs-899ec8f3.js";import"./_flatRest-39f9ed6b.js";import"./index-5398304a.js";import"./index-ea044634.js";function Ze(n){const f=n==null?void 0:n.users;return f?f.name||[f.first_name,f.last_name].filter(Boolean).join(" ")||f.phone||(n==null?void 0:n.account_name)||"—":(n==null?void 0:n.account_name)||"—"}function et(n){var f;return((f=n==null?void 0:n.users)==null?void 0:f.phone)||(n==null?void 0:n.account_phone)||"—"}const tt=[{title:"ردیف",dataIndex:"id",key:"row_index",filterable:!1,width:70,align:"center",customRender:n=>n.record.index+1},{title:"شماره تیکت",dataIndex:"id",key:"id",type:"Number",width:110,align:"center",customRender:n=>`#${n.record.id}`},{title:"نام کاربر",dataIndex:"account_name",key:"account_name",type:"Text",width:160,customRender:n=>Ze(n.record)},{title:"شماره موبایل",dataIndex:"account_phone",key:"account_phone",type:"Text",width:130,customRender:n=>et(n.record)},{title:"متن تیکت",dataIndex:"problem",key:"problem",type:"Text",width:280,customRender:n=>{const{truncated:f}=Ue(n.record.problem||"",70);return f}},{title:"عملیات",dataIndex:"action",key:"action",width:150,align:"center",slot:"action",filterable:!1}],le=[{value:"codoblo",label:"اشتراک کدوبلو"},{value:"shop",label:"بخش فروشگاه"},{value:"other",label:"بخش‌های دیگر اپلیکیشن"},{value:"feedback",label:"انتقاد و پیشنهاد"}],at=[{value:"new",label:"درخواست‌های جدید"},{value:"answered",label:"پاسخ داده‌شده"},{value:"follow_up",label:"ادامه گفتگو"},{value:"closed",label:"بسته‌شده"},{value:"spam",label:"اسپم"}],m=n=>(He("data-v-18c2d840"),n=n(),We(),n),st={class:"tickets-page"},lt={class:"tickets-page__inner"},nt={class:"tickets-page__header flex justify-between items-center gap-3 flex-wrap"},ot=m(()=>a("div",null,