2026-08-20 17:26:16 +03:30
|
|
|
import{_ as Ie}from"./BasicMainCard-02aee5ac.js";import{_ as Se}from"./BasicModal.vue_vue_type_style_index_0_lang-ca4aa0a6.js";import{_ as Ae,u as $e}from"./useBaseTable-8eb27015.js";import{_ as Re}from"./button.vue_vue_type_style_index_0_lang-b7b1a519.js";import{I as N}from"./Icon-82f6c95b.js";import{t as Z}from"./useDataTime-785ab201.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-e10407b1.js";import{l as Ne}from"./subscription-3191d0ab.js";import{M as Fe}from"./index-9c450bf9.js";import{_ as Le,T as Ke}from"./index-5e6ef189.js";import{a as te,A as ae}from"./index-f04936ef.js";import{I as Qe}from"./index-e626bdbb.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-b279599b.js";import{T as L}from"./isSymbol-4b8c1f3e.js";import{U as Xe}from"./index-98405404.js";import{_ as Ye}from"./_plugin-vue_export-helper-f38a7ea6.js";import"./Grid-ba9af77d.js";import"./index-60598d32.js";import"./Col-c7dcaed0.js";import"./styleChecker-e8fc6c1f.js";import"./isPlainObject-093495b2.js";import"./vnode-cc30a5f9.js";import"./index-86478c3f.js";import"./updateLocale-1fd95539.js";import"./index-9879659d.js";import"./index-bc659f42.js";import"./shallowequal-59da3a36.js";import"./useState-588c2312.js";import"./useMemo-39d0bfae.js";import"./FormItemContext-a76fbf7e.js";import"./omit-4c59a877.js";import"./lodash-98c01373.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-62e181b5.js";import"./index-7dd4f08a.js";import"./Badge-2dd91e64.js";import"./isNumeric-3f69e2aa.js";import"./index-cb1dea06.js";import"./index-cce68701.js";import"./index-076900a0.js";import"./index-624f47cc.js";import"./index-5f5b359c.js";import"./DialogWrap-a7021269.js";import"./pickAttrs-7db0f563.js";import"./css-aae66f86.js";import"./index-6707c586.js";import"./toArray-b7e6b8ed.js";import"./SearchOutlined-3414d521.js";import"./isMobile-e2e89480.js";import"./index-2f258009.js";import"./pushNotification-47cd7dd6.js";import"./supabaseTableQuery-8ab5665d.js";import"./useRefs-72c4a0da.js";import"./_flatRest-cb9a1464.js";import"./index-1fd3daba.js";import"./index-de855912.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,
|