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

2 lines
12 KiB
JavaScript
Raw Normal View History

2026-08-15 17:53:12 +03:30
import{_ as ve}from"./BasicMainCard-29eef376.js";import{_ as fe}from"./BasicModal.vue_vue_type_style_index_0_lang-7803828f.js";import{_ as he,u as ye}from"./useBaseTable-e4bbf0da.js";import{_ as be}from"./button.vue_vue_type_style_index_0_lang-99dfcd06.js";import{I as xe}from"./Icon-c9ad16b9.js";import{t as ge}from"./useDataTime-5442c624.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-ae309912.js";import{_ as Re,T as Ue}from"./index-627337a8.js";import{a as Q,A as V}from"./index-591f67ff.js";import{I as Be}from"./index-49e2e544.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-bc4edd51.js";import{T as Ne}from"./isSymbol-f9834f4f.js";import{U as Ee}from"./index-368498f7.js";import{_ as Le}from"./_plugin-vue_export-helper-c8347567.js";import"./Grid-08ee34b6.js";import"./index-7fcb5f91.js";import"./Col-96f7f23f.js";import"./styleChecker-bc667521.js";import"./isPlainObject-ed8996b4.js";import"./vnode-f2307909.js";import"./index-d4870df7.js";import"./index-609e9a96.js";import"./DialogWrap-f12e49af.js";import"./shallowequal-cad00b6e.js";import"./omit-6f60253b.js";import"./pickAttrs-1c46cfba.js";import"./index-9df7eaa1.js";import"./FormItemContext-4e017a44.js";import"./updateLocale-7b0be7e3.js";import"./index-bc659f42.js";import"./useState-47ff4833.js";import"./useMemo-8275a234.js";import"./lodash-3efc1909.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-9775c8a5.js";import"./index-5ea3cefd.js";import"./Badge-627fd6d3.js";import"./isNumeric-3f69e2aa.js";import"./index-34768277.js";import"./index-1d49b36b.js";import"./index-4e41e7b6.js";import"./index-393b875d.js";import"./index-47b6ba8f.js";import"./css-aae66f86.js";import"./index-727535d5.js";import"./toArray-b01cb1f9.js";import"./SearchOutlined-4504ec77.js";import"./isMobile-e2e89480.js";import"./index-ae018072.js";import"./index-3aafac3f.js";import"./useRefs-225197bd.js";import"./_flatRest-9adb1e9a.js";import"./index-6d8a75c0.js";import"./index-60d2bcc6.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"},"مدیریت درخواست‌