Files
machartaa_admin_dist/dist/assets/index-518937f5.js
T

2 lines
12 KiB
JavaScript
Raw Normal View History

2026-08-11 18:06:14 +03:30
import{_ as ve}from"./BasicMainCard-16037bcb.js";import{_ as fe}from"./BasicModal.vue_vue_type_style_index_0_lang-1f90009d.js";import{_ as he,u as ye}from"./useBaseTable-253c2441.js";import{_ as be}from"./button.vue_vue_type_style_index_0_lang-3cd9de9f.js";import{I as xe}from"./Icon-1c8e1e9a.js";import{t as ge}from"./useDataTime-083dad6f.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-ecf0a23d.js";import{_ as Re,T as Ue}from"./index-4a70e7da.js";import{a as Q,A as V}from"./index-521f8878.js";import{I as Be}from"./index-2e17d8ae.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-157892ef.js";import{T as Ne}from"./isSymbol-d560f493.js";import{U as Ee}from"./index-d38f12f7.js";import{_ as Le}from"./_plugin-vue_export-helper-b335f697.js";import"./Grid-938ddf81.js";import"./index-dc86b1c3.js";import"./Col-b55f55a6.js";import"./styleChecker-a54924f7.js";import"./isPlainObject-86af753d.js";import"./vnode-4a81629f.js";import"./index-d692d775.js";import"./index-e60f1d66.js";import"./DialogWrap-30578cd1.js";import"./index-47a95ccc.js";import"./omit-e1b41de8.js";import"./pickAttrs-99fc3772.js";import"./FormItemContext-9d898e7c.js";import"./updateLocale-5b074ed4.js";import"./index-bc659f42.js";import"./useState-c3e69ab5.js";import"./index-10655c40.js";import"./toArray-0cb2ab82.js";import"./lodash-b0b4e146.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-18d9510e.js";import"./index-db2fbdbd.js";import"./Badge-65e3af71.js";import"./isNumeric-3f69e2aa.js";import"./index-7e24c386.js";import"./index-3631a093.js";import"./index-d809d721.js";import"./css-aae66f86.js";import"./index-c3f6f95c.js";import"./useRefs-3fd4fb6c.js";import"./_flatRest-6d155af7.js";import"./index-1d294154.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__title"},"وضعیت درخواست‌ها",-1)),Xe=["onClick"],Ye={class:"tickets-queues__item-label"