2 lines
17 KiB
JavaScript
2 lines
17 KiB
JavaScript
import{_ as $e}from"./BasicMainCard-aaaa8dc3.js";import{_ as Re}from"./BasicModal.vue_vue_type_style_index_0_lang-20cc468f.js";import{_ as Ue,u as qe}from"./useBaseTable-1184a002.js";import{_ as Be}from"./button.vue_vue_type_style_index_0_lang-cbfd9667.js";import{I as G}from"./Icon-0c226cc8.js";import{t as oe}from"./useDataTime-35d3ce8c.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 De,r as Me,n as je,o as Fe}from"./support-2579902b.js";import{d as Ne,g as x,r as ue,h as z,E as Ke,v as Qe,l as Je,o as i,c as d,b as p,w as c,a,e as I,F as L,n as K,j as _,i as w,k as S,J as Oe,t as k,p as se,T as re,bK as Q,D as y,bJ as Ve,K as Ge,Q as ze,R as He,bL as We,bM as Xe}from"./index-35c19078.js";import{l as Ye}from"./subscription-d7b77b77.js";import{M as Ze}from"./index-d1bea9c9.js";import{_ as et,T as tt}from"./index-0b82077f.js";import{a as ce,A as de}from"./index-8e7fe0e2.js";import{I as at}from"./index-e2b66426.js";import{T as H}from"./isSymbol-76912a30.js";import{U as st}from"./index-b998e211.js";import{_ as lt}from"./_plugin-vue_export-helper-b8aa26f1.js";import"./Grid-5df717b4.js";import"./index-5e048154.js";import"./Col-93e193e7.js";import"./styleChecker-5378d544.js";import"./isPlainObject-9fc066ac.js";import"./vnode-bd016db8.js";import"./index-c135e3cd.js";import"./updateLocale-674603f1.js";import"./index-317dfb98.js";import"./shallowequal-336924ae.js";import"./useState-0b0c0b26.js";import"./useMemo-141475be.js";import"./FormItemContext-c59740e7.js";import"./omit-fea2187f.js";import"./lodash-e3d7e6b8.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-aa5cbf20.js";import"./index-9c958bd1.js";import"./Badge-5aec0f5b.js";import"./isNumeric-3f69e2aa.js";import"./index-597067d3.js";import"./index-81c6c557.js";import"./index-3e7c49ac.js";import"./index-53a07be2.js";import"./index-e39a0c4e.js";import"./DialogWrap-7ea92471.js";import"./pickAttrs-2a6a34d0.js";import"./css-aae66f86.js";import"./index-0cfe3fb2.js";import"./toArray-f7bbf4fe.js";import"./SearchOutlined-fd97bf7f.js";import"./isMobile-e2e89480.js";import"./index-70f42a71.js";import"./adminDb-a84d3fd5.js";import"./pushNotification-a5d495c3.js";import"./supabaseTableQuery-b8071eb6.js";import"./useRefs-d20fccdf.js";import"./_flatRest-ce9c6e5e.js";import"./index-727899c3.js";import"./index-1016d40d.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 justify-bet
|