2 lines
15 KiB
JavaScript
2 lines
15 KiB
JavaScript
import{_ as be}from"./BasicMainCard-945a60be.js";import{_ as xe}from"./BasicModal.vue_vue_type_style_index_0_lang-31a77bff.js";import{_ as we,u as Ce}from"./useBaseTable-53dd99af.js";import{_ as Te}from"./button.vue_vue_type_style_index_0_lang-bfd9fcfc.js";import{I as M}from"./Icon-49e380f5.js";import{t as Ie}from"./useDataTime-3763aaa9.js";import{g as O}from"./convert-2ad76038.js";import{t as Se}from"./textUtils-c37780ad.js";import{j as H,k as $e,l as Ae,n as Re,o as Ue,p as qe,q as Be,v as je}from"./support-48b085f1.js";import{M as Pe}from"./index-30f4723a.js";import{_ as De,T as Ee}from"./index-17e4f352.js";import{a as W,A as X}from"./index-d7aee433.js";import{I as Me}from"./index-3a7846ee.js";import{d as Ne,g,r as Y,h as V,E as Fe,v as Le,l as Ke,o,c,b as d,w as u,a,e as T,F as q,n as P,j as m,i as b,k as I,H as Qe,t as x,D as y,O as Oe,P as Ve,p as Z}from"./index-bfe458ac.js";import{T as N}from"./isSymbol-0bccfc01.js";import{U as Je}from"./index-3c17cc81.js";import{_ as ze}from"./_plugin-vue_export-helper-67599eab.js";import"./Grid-653102df.js";import"./index-61da12ec.js";import"./Col-37dd3be5.js";import"./styleChecker-8e2e8c57.js";import"./isPlainObject-d0372073.js";import"./vnode-d4498b2d.js";import"./index-a231d930.js";import"./updateLocale-01f6a4ae.js";import"./index-866ab3cc.js";import"./index-bc659f42.js";import"./shallowequal-58ae19a4.js";import"./useState-28dabf70.js";import"./useMemo-c07be216.js";import"./FormItemContext-50ffb9a1.js";import"./omit-31473f11.js";import"./lodash-6ccdc7c6.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-5abef7b1.js";import"./index-24b7e322.js";import"./Badge-2d408009.js";import"./isNumeric-3f69e2aa.js";import"./index-231f7c05.js";import"./index-d162d812.js";import"./index-f9fac6a3.js";import"./index-78c7f5e8.js";import"./index-d6fc1ec7.js";import"./DialogWrap-f94b796f.js";import"./pickAttrs-c1604177.js";import"./css-aae66f86.js";import"./index-d61dbb2f.js";import"./toArray-54bd8d35.js";import"./SearchOutlined-2adda210.js";import"./isMobile-e2e89480.js";import"./index-d3413392.js";import"./useRefs-7ed7974b.js";import"./_flatRest-e19970cd.js";import"./index-42759bd8.js";import"./index-7bc50da0.js";function Ge(l){const f=l==null?void 0:l.users;return f?f.name||[f.first_name,f.last_name].filter(Boolean).join(" ")||f.phone||(l==null?void 0:l.account_name)||"—":(l==null?void 0:l.account_name)||"—"}function He(l){var f;return((f=l==null?void 0:l.users)==null?void 0:f.phone)||(l==null?void 0:l.account_phone)||"—"}const We=[{title:"ردیف",dataIndex:"id",key:"row_index",filterable:!1,width:70,align:"center",customRender:l=>l.record.index+1},{title:"شماره تیکت",dataIndex:"id",key:"id",type:"Number",width:110,align:"center",customRender:l=>`#${l.record.id}`},{title:"نام کاربر",dataIndex:"account_name",key:"account_name",type:"Text",width:160,customRender:l=>Ge(l.record)},{title:"شماره موبایل",dataIndex:"account_phone",key:"account_phone",type:"Text",width:130,customRender:l=>He(l.record)},{title:"متن تیکت",dataIndex:"problem",key:"problem",type:"Text",width:280,customRender:l=>{const{truncated:f}=Se(l.record.problem||"",70);return f}},{title:"عملیات",dataIndex:"action",key:"action",width:150,align:"center",slot:"action",filterable:!1}],ee=[{value:"codoblo",label:"اشتراک کدوبلو"},{value:"shop",label:"بخش فروشگاه"},{value:"other",label:"بخشهای دیگر اپلیکیشن"},{value:"feedback",label:"انتقاد و پیشنهاد"}],Xe=[{value:"new",label:"درخواستهای جدید"},{value:"answered",label:"پاسخ دادهشده"},{value:"follow_up",label:"ادامه گفتگو"},{value:"closed",label:"بستهشده"},{value:"spam",label:"اسپم"}],_=l=>(Oe("data-v-80dd4ab2"),l=l(),Ve(),l),Ye={class:"tickets-page"},Ze={class:"tickets-page__inner"},et={class:"tickets-page__header flex justify-between items-center gap-3 flex-wrap"},tt=_(()=>a("div",null,[a("h2",{class:"text-lg font-bold m-0"},"تیکتهای پشتیبانی"),a("p",{class:"text-sm text-gray-500 mt-1 mb-0"},"مدیر�
|