2 lines
14 KiB
JavaScript
2 lines
14 KiB
JavaScript
import{_ as be}from"./BasicMainCard-0ad7dc72.js";import{_ as ke}from"./BasicModal.vue_vue_type_style_index_0_lang-4b1d1ef5.js";import{_ as xe,u as we}from"./useBaseTable-f8894810.js";import{_ as Ce}from"./button.vue_vue_type_style_index_0_lang-bc3a48f6.js";import{I as M}from"./Icon-767d2866.js";import{t as Te}from"./useDataTime-4be5c5cf.js";import{g as Q}from"./convert-2ad76038.js";import{t as Ie}from"./textUtils-c37780ad.js";import{j as G,k as Se,l as Re,n as $e,o as Ae,p as Ue,q as qe}from"./support-2cf64a0b.js";import{_ as Be,T as je}from"./index-bcc6b780.js";import{a as H,A as W}from"./index-909488b9.js";import{I as Pe}from"./index-942dc2ed.js";import{d as De,g as y,r as X,h as V,E as Ee,v as Ne,l as Fe,o,c,b as d,w as u,a as t,e as I,F as q,n as j,j as p,i as k,H as Le,k as S,t as h,D as g,O as Ke,P as Me,p as Y}from"./index-24cdd011.js";import{T as O}from"./isSymbol-e7ce9b5a.js";import{U as Qe}from"./index-5477dee9.js";import{_ as Ve}from"./_plugin-vue_export-helper-06d65383.js";import"./Grid-ce03674d.js";import"./index-ef7f0d13.js";import"./Col-8ec8a751.js";import"./styleChecker-aeb3f501.js";import"./isPlainObject-25081d35.js";import"./vnode-562ae89f.js";import"./index-d68d1b34.js";import"./index-5eb1b262.js";import"./DialogWrap-4e2453b1.js";import"./shallowequal-59945f6f.js";import"./omit-08db5ef5.js";import"./pickAttrs-64381c06.js";import"./index-cbf3fafb.js";import"./FormItemContext-a07e1be1.js";import"./updateLocale-58c30845.js";import"./index-bc659f42.js";import"./useState-bb6abd58.js";import"./useMemo-5fb6706d.js";import"./lodash-3126ec34.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-5acaa0f7.js";import"./index-3078e65c.js";import"./Badge-aa4916ac.js";import"./isNumeric-3f69e2aa.js";import"./index-38d9344c.js";import"./index-fec9c5bc.js";import"./index-39621559.js";import"./index-093e137a.js";import"./index-4057f476.js";import"./css-aae66f86.js";import"./index-0ceac0d6.js";import"./toArray-e3c28da8.js";import"./SearchOutlined-3570b8ac.js";import"./isMobile-e2e89480.js";import"./index-559e3814.js";import"./useRefs-2bd76cbf.js";import"./_flatRest-28f96ed6.js";import"./index-3867b2dc.js";import"./index-9df579ce.js";function Oe(s){const f=s==null?void 0:s.users;return f?f.name||[f.first_name,f.last_name].filter(Boolean).join(" ")||f.phone||(s==null?void 0:s.account_name)||"—":(s==null?void 0:s.account_name)||"—"}function Je(s){var f;return((f=s==null?void 0:s.users)==null?void 0:f.phone)||(s==null?void 0:s.account_phone)||"—"}const ze=[{title:"ردیف",dataIndex:"id",key:"row_index",filterable:!1,width:70,align:"center",customRender:s=>s.record.index+1},{title:"شماره تیکت",dataIndex:"id",key:"id",type:"Number",width:110,align:"center",customRender:s=>`#${s.record.id}`},{title:"نام کاربر",dataIndex:"account_name",key:"account_name",type:"Text",width:160,customRender:s=>Oe(s.record)},{title:"شماره موبایل",dataIndex:"account_phone",key:"account_phone",type:"Text",width:130,customRender:s=>Je(s.record)},{title:"متن تیکت",dataIndex:"problem",key:"problem",type:"Text",width:280,customRender:s=>{const{truncated:f}=Ie(s.record.problem||"",70);return f}},{title:"عملیات",dataIndex:"action",key:"action",width:120,align:"center",slot:"action",filterable:!1}],Z=[{value:"codoblo",label:"اشتراک کدوبلو"},{value:"shop",label:"بخش فروشگاه"},{value:"other",label:"بخشهای دیگر اپلیکیشن"},{value:"feedback",label:"انتقاد و پیشنهاد"}],Ge=[{value:"new",label:"درخواستهای جدید"},{value:"answered",label:"پاسخ دادهشده"},{value:"follow_up",label:"ادامه گفتگو"},{value:"closed",label:"بستهشده"},{value:"spam",label:"اسپم"}],_=s=>(Ke("data-v-0983b996"),s=s(),Me(),s),He={class:"tickets-page"},We={class:"tickets-page__inner"},Xe={class:"tickets-page__header flex justify-between items-center gap-3 flex-wrap"},Ye=_(()=>t("div",null,[t("h2",{class:"text-lg font-bold m-0"},"تیکتهای پشتیبانی"),t("p",{class:"text-sm text-gray-500 mt-1 mb-0"},"مدیریت درخو
|