Files
machartaa_admin_dist/dist/assets/index-a86159a8.js
T

2 lines
13 KiB
JavaScript
Raw Normal View History

2026-08-18 15:43:27 +03:30
import{_ as ye}from"./BasicMainCard-8da61c91.js";import{_ as be}from"./BasicModal.vue_vue_type_style_index_0_lang-dce46cd2.js";import{_ as ge,u as xe}from"./useBaseTable-a305524f.js";import{_ as ke}from"./button.vue_vue_type_style_index_0_lang-ae7cb173.js";import{I as we}from"./Icon-2a751d73.js";import{t as Te}from"./useDataTime-0e280561.js";import{g as K}from"./convert-2ad76038.js";import{t as Ce}from"./textUtils-c37780ad.js";import{j as O,k as Ie,l as Se,n as Re,o as Ue,p as qe,q as Be}from"./support-383496cc.js";import{_ as Ae,T as Pe}from"./index-fe1cc383.js";import{a as J,A as z}from"./index-bd5d0709.js";import{I as $e}from"./index-6f7ee4ee.js";import{d as je,g as f,r as G,h as M,E as De,v as Ne,l as Ee,o,c as r,b as c,w as u,a as t,e as T,F as B,n as P,j as p,i as C,H as Fe,k as I,t as h,D as y,O as Le,P as Ke,p as H}from"./index-64bb19a3.js";import{T as Me}from"./isSymbol-77db9868.js";import{U as Qe}from"./index-96a522ed.js";import{_ as Ve}from"./_plugin-vue_export-helper-47756888.js";import"./Grid-d205a4b4.js";import"./index-53278d29.js";import"./Col-4cc66d2b.js";import"./styleChecker-44a60ba7.js";import"./isPlainObject-908a4d4b.js";import"./vnode-a1a3bc0f.js";import"./index-d19de556.js";import"./index-557a2985.js";import"./DialogWrap-c12b3672.js";import"./shallowequal-a3fa20ee.js";import"./omit-41b1cee4.js";import"./pickAttrs-ff8c51c6.js";import"./index-7a73a23b.js";import"./FormItemContext-78515ae9.js";import"./updateLocale-34973999.js";import"./index-bc659f42.js";import"./useState-45a66864.js";import"./useMemo-fddb4a7a.js";import"./lodash-17ce3880.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-6148f843.js";import"./index-304c1b28.js";import"./Badge-6baddd17.js";import"./isNumeric-3f69e2aa.js";import"./index-2a5be533.js";import"./index-b5f90115.js";import"./index-a5e6bc16.js";import"./index-4ee722bc.js";import"./index-95a0af99.js";import"./css-aae66f86.js";import"./index-ff7b0bbe.js";import"./toArray-156bc105.js";import"./SearchOutlined-5a638563.js";import"./isMobile-e2e89480.js";import"./index-d5b53aee.js";import"./useRefs-10844536.js";import"./_flatRest-6bd9fe69.js";import"./index-43d38a3b.js";import"./index-6fd9e35d.js";function Oe(a){const m=a==null?void 0:a.users;return m?m.name||[m.first_name,m.last_name].filter(Boolean).join(" ")||m.phone||(a==null?void 0:a.account_name)||"—":(a==null?void 0:a.account_name)||"—"}function Je(a){var m;return((m=a==null?void 0:a.users)==null?void 0:m.phone)||(a==null?void 0:a.account_phone)||"—"}const ze=[{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=>Oe(a.record)},{title:"شماره موبایل",dataIndex:"account_phone",key:"account_phone",type:"Text",width:130,customRender:a=>Je(a.record)},{title:"متن تیکت",dataIndex:"problem",key:"problem",type:"Text",width:280,customRender:a=>{const{truncated:m}=Ce(a.record.problem||"",70);return m}},{title:"عملیات",dataIndex:"action",key:"action",width:90,align:"center",slot:"action",filterable:!1}],W=[{value:"codoblo",label:"اشتراک کدوبلو"},{value:"shop",label:"بخش فروشگاه"},{value:"other",label:"بخش‌های دیگر اپلیکیشن"},{value:"feedback",label:"انتقاد و پیشنهاد"}],Ge=[{value:"new",label:"درخواست‌های جدید"},{value:"answered",label:"پاسخ داده‌شده"},{value:"follow_up",label:"ادامه گفتگو"},{value:"closed",label:"بسته‌شده"},{value:"spam",label:"اسپم"}],v=a=>(Le("data-v-1602b54a"),a=a(),Ke(),a),He={class:"tickets-page"},We={class:"tickets-page__inner"},Xe={class:"tickets-page__header flex justify-between items-center gap-3 flex-wrap"},Ye=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"},"مدیریت د