Files
machartaa_admin_dist/dist/assets/index-28f41d8d.js
T

2 lines
12 KiB
JavaScript
Raw Normal View History

2026-08-18 11:53:09 +03:30
import{_ as ve}from"./BasicMainCard-072fc40f.js";import{_ as fe}from"./BasicModal.vue_vue_type_style_index_0_lang-381c939b.js";import{_ as he,u as ye}from"./useBaseTable-6b0100f9.js";import{_ as be}from"./button.vue_vue_type_style_index_0_lang-055ef55a.js";import{I as xe}from"./Icon-e2745237.js";import{t as ge}from"./useDataTime-61faf9b9.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-a4ca251b.js";import{_ as Re,T as Ue}from"./index-d80a30ff.js";import{a as Q,A as V}from"./index-c882a5dd.js";import{I as Be}from"./index-ec36d435.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-74df3455.js";import{T as Ne}from"./isSymbol-62e97e43.js";import{U as Ee}from"./index-90b890a0.js";import{_ as Le}from"./_plugin-vue_export-helper-37aa05ea.js";import"./Grid-eea6eeb5.js";import"./index-a65a4b3b.js";import"./Col-7df1a821.js";import"./styleChecker-4c9a1b23.js";import"./isPlainObject-4825706c.js";import"./vnode-b6bcf78e.js";import"./index-83319668.js";import"./index-65da5dac.js";import"./DialogWrap-93c13aef.js";import"./shallowequal-299ad79c.js";import"./omit-763d2c81.js";import"./pickAttrs-e0ea06b2.js";import"./index-efd9ee2a.js";import"./FormItemContext-6413b4c6.js";import"./updateLocale-5b0fd44f.js";import"./index-bc659f42.js";import"./useState-2abd0489.js";import"./useMemo-a5bf3ddc.js";import"./lodash-6f7438f2.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-d8bae45c.js";import"./index-6a94b684.js";import"./Badge-be9a4aa1.js";import"./isNumeric-3f69e2aa.js";import"./index-7ea4c0f8.js";import"./index-efc8d329.js";import"./index-5ea23f62.js";import"./index-d81adf35.js";import"./index-ee58981c.js";import"./css-aae66f86.js";import"./index-043ef8cd.js";import"./toArray-5920af1b.js";import"./SearchOutlined-8f5d71bf.js";import"./isMobile-e2e89480.js";import"./index-0f51a503.js";import"./useRefs-d90adc8f.js";import"./_flatRest-899894ad.js";import"./index-9a2fbb01.js";import"./index-4e077a6e.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"},"مدیریت درخواست‌های پشتیبانی کا