Files
machartaa_admin_dist/dist/assets/index-3e4f201c.js
T

2 lines
12 KiB
JavaScript
Raw Normal View History

2026-08-17 13:34:14 +03:30
import{_ as ve}from"./BasicMainCard-a49bf313.js";import{_ as fe}from"./BasicModal.vue_vue_type_style_index_0_lang-050248e0.js";import{_ as he,u as ye}from"./useBaseTable-a962a6e3.js";import{_ as be}from"./button.vue_vue_type_style_index_0_lang-cf170adf.js";import{I as xe}from"./Icon-21c28098.js";import{t as ge}from"./useDataTime-64353302.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-45f00da3.js";import{_ as Re,T as Ue}from"./index-2170cfa5.js";import{a as Q,A as V}from"./index-2fa24038.js";import{I as Be}from"./index-ff6425ec.js";import{d as Se,g as f,r as O,h as L,E as Pe,v as $e,l as je,o as s,c as i,b as c,w as u,a as t,e as j,F as T,n as B,j as p,i as A,H as Ae,t as h,k as S,D as C,O as qe,P as De,p as J}from"./index-e0c2af95.js";import{T as Ne}from"./isSymbol-16519357.js";import{U as Ee}from"./index-75e285c0.js";import{_ as Le}from"./_plugin-vue_export-helper-ede5981c.js";import"./Grid-6f435e3e.js";import"./index-d7731afc.js";import"./Col-f312538f.js";import"./styleChecker-fa192349.js";import"./isPlainObject-475d5f63.js";import"./vnode-1d9a5f19.js";import"./index-55df0a19.js";import"./index-ba1a268c.js";import"./DialogWrap-3bd23522.js";import"./shallowequal-94cf06f1.js";import"./omit-ef5483a7.js";import"./pickAttrs-e6a1c834.js";import"./index-ccf41683.js";import"./FormItemContext-31ef74d8.js";import"./updateLocale-ddc4d420.js";import"./index-bc659f42.js";import"./useState-9f37179f.js";import"./useMemo-8582dbbb.js";import"./lodash-7e5e5813.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-751e37cd.js";import"./index-3be03c15.js";import"./Badge-0df70937.js";import"./isNumeric-3f69e2aa.js";import"./index-beff19b5.js";import"./index-77288b74.js";import"./index-777eb3d4.js";import"./index-89e8edb2.js";import"./index-329abdc2.js";import"./css-aae66f86.js";import"./index-71bd3b00.js";import"./toArray-590d8ecb.js";import"./SearchOutlined-9dbd40a5.js";import"./isMobile-e2e89480.js";import"./index-f062f0ac.js";import"./index-4a6bfbb1.js";import"./useRefs-f2d2b66f.js";import"./_flatRest-7f56bd12.js";import"./index-3f95615f.js";import"./index-fdf98d11.js";function Ke(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 Me(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=>Ke(a.record)},{title:"شماره موبایل",dataIndex:"account_phone",key:"account_phone",type:"Text",width:130,customRender:a=>Me(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"},Oe={class:"tickets-page__inner"},Je={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"},"مدیریت درخواست‌