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

2 lines
17 KiB
JavaScript
Raw Normal View History

2026-08-23 20:07:06 +03:30
import{_ as $e}from"./BasicMainCard-b6358749.js";import{_ as Re}from"./BasicModal.vue_vue_type_style_index_0_lang-e1cd5348.js";import{_ as Ue,u as qe}from"./useBaseTable-d7cd0f4c.js";import{_ as Be}from"./button.vue_vue_type_style_index_0_lang-5ec31ef5.js";import{I as V}from"./Icon-98831d4d.js";import{t as oe}from"./useDataTime-fe4b1957.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-c5056ce9.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-ffa60a07.js";import{n as Ye}from"./subscription-727d0c76.js";import{M as Ze}from"./index-d1c80ae6.js";import{_ as et,T as tt}from"./index-c7f085be.js";import{a as ce,A as de}from"./index-b01b6a86.js";import{I as at}from"./index-f396abcf.js";import{T as H}from"./isSymbol-6d79c27a.js";import{U as st}from"./index-8ca74419.js";import{_ as lt}from"./_plugin-vue_export-helper-30c9b7f0.js";import"./Grid-ac34307b.js";import"./index-0606b83a.js";import"./Col-89f9984b.js";import"./styleChecker-76ccead7.js";import"./isPlainObject-3a12fb85.js";import"./vnode-57257037.js";import"./index-567b7465.js";import"./updateLocale-d02f2975.js";import"./index-f66de646.js";import"./shallowequal-01dca49b.js";import"./useState-377df27f.js";import"./useMemo-6bc58734.js";import"./FormItemContext-73e37c2d.js";import"./omit-8be067f7.js";import"./lodash-f10c309b.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-df682920.js";import"./index-4ed74117.js";import"./Badge-697bc2f0.js";import"./isNumeric-3f69e2aa.js";import"./index-1fda93f9.js";import"./index-321fdf78.js";import"./index-f5f9d56c.js";import"./index-771c6b16.js";import"./index-cae1f6fd.js";import"./DialogWrap-c8f763fd.js";import"./pickAttrs-4d40f82c.js";import"./css-aae66f86.js";import"./index-4243bdee.js";import"./toArray-fdacf69b.js";import"./SearchOutlined-6637041c.js";import"./isMobile-e2e89480.js";import"./index-61d3d393.js";import"./adminDb-eb82fd48.js";import"./pushNotification-781ac2a5.js";import"./supabaseTableQuery-f60c02e5.js";import"./useRefs-b02214fc.js";import"./_flatRest-337b9ea4.js";import"./index-8f583d38.js";import"./index-44c7d16f.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