Files
machartaa_admin_dist/dist/assets/index-9891352f.js
T

2 lines
12 KiB
JavaScript
Raw Normal View History

2026-08-15 11:59:58 +03:30
import{_ as ve}from"./BasicMainCard-0d04fecc.js";import{_ as fe}from"./BasicModal.vue_vue_type_style_index_0_lang-02d666ae.js";import{_ as he,u as ye}from"./useBaseTable-8cba60ae.js";import{_ as be}from"./button.vue_vue_type_style_index_0_lang-e2b25b37.js";import{I as xe}from"./Icon-7978fe0f.js";import{t as ge}from"./useDataTime-8b5c8616.js";import{g as E}from"./convert-2ad76038.js";import{t as ke}from"./textUtils-c37780ad.js";import{j as F,k as we,l as Te,n as Ce,o as Ie}from"./support-a59a5821.js";import{_ as Re,T as Ue}from"./index-29b429a8.js";import{a as Q,A as V}from"./index-d89e7775.js";import{I as Be}from"./index-e101c0bd.js";import{d as Se,g as f,r as J,h as L,E as $e,v as je,l as Ae,o as s,c as i,b as c,w as u,a as t,e as A,F as T,n as B,j as p,i as P,H as Pe,t as h,k as S,D as C,M as qe,N as De,p as O}from"./index-ac7066b4.js";import{T as Ne}from"./isSymbol-666d5768.js";import{U as Ee}from"./index-097ca7b7.js";import{_ as Le}from"./_plugin-vue_export-helper-4339814c.js";import"./Grid-5e1e05b5.js";import"./index-d94bf113.js";import"./Col-c884cbb4.js";import"./styleChecker-8fccceee.js";import"./isPlainObject-a4fa2df5.js";import"./vnode-ef8e6ff6.js";import"./index-a074700a.js";import"./index-83a7641b.js";import"./DialogWrap-4b820301.js";import"./pickAttrs-73e6cb05.js";import"./index-802e18b7.js";import"./FormItemContext-8e774be4.js";import"./updateLocale-199556b5.js";import"./useState-277f1e57.js";import"./useMemo-51fb250b.js";import"./lodash-875c0571.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-4839fd2a.js";import"./index-25ae81e5.js";import"./Badge-fcb9007c.js";import"./isNumeric-3f69e2aa.js";import"./index-7f62cf48.js";import"./index-74186c79.js";import"./index-fa378035.js";import"./index-b18fec22.js";import"./index-5ae727af.js";import"./css-aae66f86.js";import"./index-ff2f09c7.js";import"./toArray-518515e2.js";import"./SearchOutlined-36fcc6f3.js";import"./isMobile-e2e89480.js";import"./index-f0d8ad9c.js";import"./useRefs-a8a1b35f.js";import"./_flatRest-843ce72e.js";import"./index-27f1c09e.js";function Me(a){const _=a==null?void 0:a.users;return _?_.name||[_.first_name,_.last_name].filter(Boolean).join(" ")||_.phone||(a==null?void 0:a.account_name)||"—":(a==null?void 0:a.account_name)||"—"}function Ke(a){var _;return((_=a==null?void 0:a.users)==null?void 0:_.phone)||(a==null?void 0:a.account_phone)||"—"}const Fe=[{title:"ردیف",dataIndex:"id",key:"row_index",filterable:!1,width:70,align:"center",customRender:a=>a.record.index+1},{title:"شماره تیکت",dataIndex:"id",key:"id",type:"Number",width:110,align:"center",customRender:a=>`#${a.record.id}`},{title:"نام کاربر",dataIndex:"account_name",key:"account_name",type:"Text",width:160,customRender:a=>Me(a.record)},{title:"شماره موبایل",dataIndex:"account_phone",key:"account_phone",type:"Text",width:130,customRender:a=>Ke(a.record)},{title:"متن تیکت",dataIndex:"problem",key:"problem",type:"Text",width:280,customRender:a=>{const{truncated:_}=ke(a.record.problem||"",70);return _}},{title:"عملیات",dataIndex:"action",key:"action",width:90,align:"center",slot:"action",filterable:!1}],z=[{value:"codoblo",label:"اشتراک کدوبلو"},{value:"shop",label:"بخش فروشگاه"},{value:"other",label:"بخش‌های دیگر اپلیکیشن"},{value:"feedback",label:"انتقاد و پیشنهاد"}],Qe=[{value:"new",label:"درخواست‌های جدید"},{value:"answered",label:"پاسخ داده‌شده"},{value:"follow_up",label:"ادامه گفتگو"},{value:"closed",label:"بسته‌شده"}],v=a=>(qe("data-v-baa5a69c"),a=a(),De(),a),Ve={class:"tickets-page"},Je={class:"tickets-page__inner"},Oe={class:"tickets-page__header flex justify-between items-center gap-3 flex-wrap"},ze=v(()=>t("div",null,[t("h2",{class:"text-lg font-bold m-0"},"تیکت‌های پشتیبانی"),t("p",{class:"text-sm text-gray-500 mt-1 mb-0"},"مدیریت درخواست‌های پشتیبانی کاربران")],-1)),Ge={class:"tickets-layout"},He={class:"tickets-queues"},We=v(()=>t("div",{class:"tickets-queues__ti