/
home
/
liman
/
app
/
assets
/
File Upload :
llllll
Current File: //home/liman/app/assets/index.7669a2bb.js
import{_ as d}from"./MenuButton.vue_vue_type_style_index_0_lang.87ea7aa1.js";import{u as D,_ as V}from"./NavBar.df801457.js";import{I as a}from"./Icon.2ba4738b.js";import{V as A}from"./vue3-apexcharts.common.ddd7e177.js";import{_ as F}from"./ColorButton.4e940776.js";import{d as z,o as v,c as h,a as s,w as t,g as e,e as T,n as w,u,B as g,r as N,j as $,t as f,h as p,b7 as I,b2 as O,b8 as U,i as L}from"./index.54bff18b.js";import{a as n,S as k}from"./index.76aa74ca.js";import{D as j}from"./index.58b2963e.js";import{C as E}from"./Card.cf790082.js";import{S}from"./index.5a3a7b97.js";import"./_commonjsHelpers.468b0bfa.js";/* empty css */import"./on-popup-reopen.73441899.js";import"./Col.1a3d1b16.js";import"./useRefs.65d43904.js";import"./FormItemContext.18957c28.js";import"./useMemo.fe846ddc.js";const M={class:"flex flex-col items-center gap-2 cursor-pointer"},P={class:"flex items-center justify-center"},q={key:0,class:"flex justify-center items-center"},m=z({__name:"MenuButton",props:{type:{default:"danger"},icon:null},setup(C){const c=C,{prefixCls:_}=D("color-button");return(i,x)=>(v(),h("div",M,[s(u(g),{type:"primary",class:w([`${u(_)}`,`${c.type}`])},{default:t(()=>[e("div",P,[c.icon?(v(),h("span",q,[s(a,{size:"32",icon:c.icon},null,8,["icon"])])):T("",!0)])]),_:1},8,["class"]),e("span",{class:w([`text-${c.type}`,"font-bold"])},[N(i.$slots,"default")],2)]))}}),G={class:"h-screen"},R={class:"flex gap-3"},W={dir:"ltr",class:"mt-3"},H={class:"flex flex-col gap-2 justify-center items-center"},J=e("span",{class:"font-extrabold"},"\u0645\u0627\u0646\u062F\u0647 \u062D\u0633\u0627\u0628 (\u0646\u0642\u062F\u06CC)",-1),K=e("div",{class:"flex items-center gap-1"},[e("span",null,"\u0631\u06CC\u0627\u0644"),e("span",{class:"font-bold text-2xl",style:{color:"#c43eea"}},"3\u060C400\u060C00")],-1),Q={class:"flex flex-col gap-2 justify-center items-center"},X=e("span",{class:"font-extrabold"},"\u0645\u0627\u0646\u062F\u0647 \u062D\u0633\u0627\u0628 (\u0637\u0644\u0627)",-1),Y=e("div",{class:"flex items-center gap-1"},[e("span",null,"\u06AF\u0631\u0645"),e("span",{class:"font-bold text-2xl",style:{color:"#3e9cea"}},"140")],-1),Z={class:"flex flex-col gap-2 justify-center items-center"},ee=e("span",{class:"font-extrabold"},"\u0628\u062F\u0647\u06A9\u0627\u0631\u06CC",-1),se={class:"flex items-center justify-evenly"},te=e("div",{class:"flex items-center gap-1"},[e("span",null,"\u0631\u0648\u0632"),e("span",{class:"font-bold",style:{color:"#dc2626"}},"21")],-1),ue=e("div",{class:"flex items-center gap-1"},[e("span",null,"\u06AF\u0631\u0645"),e("span",{class:"font-bold",style:{color:"#dc2626"}},"78")],-1),le={class:"flex flex-col gap-2 justify-center items-center"},oe=e("span",{class:"font-extrabold"},"\u0628\u0633\u062A\u0627\u0646\u06A9\u0627\u0631\u06CC",-1),ae={class:"flex items-center justify-evenly"},ne=e("div",{class:"flex items-center gap-1"},[e("span",null,"\u0631\u0648\u0632"),e("span",{class:"font-bold",style:{color:"#16a34a"}},"16")],-1),ie=e("div",{class:"flex items-center gap-1"},[e("span",null,"\u06AF\u0631\u0645"),e("span",{class:"font-bold",style:{color:"#16a34a"}},"140")],-1),ce={class:"flex flex-col gap-2 justify-center items-center"},re=e("span",{class:"font-extrabold"},"\u0645\u0648\u062C\u0648\u062F\u06CC \u0647\u0645\u0631\u0627\u0647",-1),de={class:"flex items-center gap-1"},pe=e("span",null,"\u06A9\u06CC\u0644\u0648\u06AF\u0631\u0645",-1),fe={class:"font-bold text-2xl",style:{color:"#3e46ea"}},_e={class:"flex flex-col gap-2 justify-center items-center"},me=e("span",{class:"font-extrabold"},"\u0631\u0646\u06A9\u06CC\u0646\u06AF",-1),xe={class:"flex items-center gap-1"},ve={class:"font-bold text-2xl",style:{color:"#dc2626"}},he={class:"flex flex-col gap-2 justify-center items-center"},ge=e("div",{class:"flex gap-1"},[e("span",null,"(\u06A9\u06CC\u0644\u0648\u06AF\u0631\u0645)"),e("span",{class:"font-extrabold"},"\u062A\u0627\u0631\u06AF\u062A")],-1),Ce={class:"flex items-center gap-1"},be={class:"font-bold text-2xl",style:{color:"#f59e0b"}},ye={class:"mt-5"},Ae=e("span",{class:"block mb-3 font-bold text-black text-base ml-3"},"\u06AF\u0632\u0627\u0631\u0634\u0627\u062A",-1),Fe={dir:"ltr"},we={class:"flex justify-between items-center"},$e={dir:"rtl"},ke=e("span",{class:"font-bold"},"\u062F\u0631\u06CC\u0627\u0641\u062A \u0637\u0644\u0627",-1),je=e("div",{class:"p-2 rounded !bg-gray-10 flex justify-around",dir:"rtl"},[e("div",{class:"flex flex-col gap-2"},[e("span",null,"\u0645\u06CC\u0627\u0646\u06AF\u06CC\u0646 \u0641\u0631\u0648\u0634"),e("div",{class:"flex text-info items-center gap-1"},[e("span",{class:"font-bold text-lg"},"217.59"),e("span",{class:"text-xs"},"\u06AF\u0631\u0645")])]),e("div",{class:"flex flex-col gap-2"},[e("span",null,"\u0628\u0627\u0644\u0627\u062A\u0631\u06CC\u0646 \u0641\u0631\u0648\u0634"),e("div",{class:"flex text-success items-center gap-1"},[e("span",{class:"font-bold text-lg"},"384.5"),e("span",{class:"text-xs"},"\u06AF\u0631\u0645")])])],-1),Ee={class:"flex justify-between items-center"},Se={dir:"rtl"},ze=e("span",{class:"font-bold"},"\u0645\u062C\u0645\u0648\u0639 \u0641\u0631\u0648\u0634",-1),Be=e("div",{class:"p-2 rounded !bg-gray-10 flex justify-around",dir:"rtl"},[e("div",{class:"flex flex-col gap-2"},[e("span",null,"\u0645\u06CC\u0627\u0646\u06AF\u06CC\u0646 \u0641\u0631\u0648\u0634"),e("div",{class:"flex text-info items-center gap-1"},[e("span",{class:"font-bold text-lg"},"217.59"),e("span",{class:"text-xs"},"\u06AF\u0631\u0645")])]),e("div",{class:"flex flex-col gap-2"},[e("span",null,"\u0628\u0627\u0644\u0627\u062A\u0631\u06CC\u0646 \u0641\u0631\u0648\u0634"),e("div",{class:"flex text-success items-center gap-1"},[e("span",{class:"font-bold text-lg"},"384.5"),e("span",{class:"text-xs"},"\u06AF\u0631\u0645")])])],-1),De={class:"p-4"},Ve=e("span",{class:"block mb-3 font-bold text-black text-base ml-3"},"\u0627\u0645\u06A9\u0627\u0646\u0627\u062A",-1),Te={class:"grid grid-cols-4 gap-4"},Ne=p(" \u06AF\u0632\u0627\u0631\u0634\u0627\u062A "),Ie=p(" \u0645\u0634\u062A\u0631\u06CC\u0627\u0646 "),Oe=p("\u0627\u0633\u0646\u0627\u062F"),Ue=p(" \u0641\u0627\u06A9\u062A\u0648\u0631\u0647\u0627 "),Le={class:"grid grid-cols-2 gap-4 mt-3"},Me=p(" \u0645\u062D\u0635\u0648\u0644\u0627\u062A "),Pe=p(" \u0645\u0630\u0627\u06A9\u0631\u0627\u062A "),as=z({__name:"index",setup(C){const c=$(1),_=$(1),i=I(),x=[{label:"\u0647\u0641\u062A\u06AF\u06CC",value:1},{label:"\u0645\u0627\u0647\u0627\u0646\u0647",value:2},{label:"\u0633\u0627\u0644\u0627\u0646\u0647",value:3}],b=[{data:[8,8,8,8,10,10,10]},{data:[8,8,8,8,8,8,8]}],y={chart:{fontFamily:"iran-yekan",type:"bar",height:50,toolbar:{show:!1}},grid:{show:!1},colors:["#5685EE","#E4EBFC"],plotOptions:{bar:{horizontal:!1,columnWidth:"80%",borderRadius:3,endingShape:"rounded",startingShape:"rounded"}},dataLabels:{enabled:!1},stroke:{show:!0,width:5,colors:["transparent"]},xaxis:{categories:["8/22","8/21","8/20","8/19","8/18","8/17","8/16"]},yaxis:{show:!1},legend:{show:!1},fill:{opacity:1},tooltip:{enabled:!1}};function B(){O.confirm({title:"\u0622\u06CC\u0627 \u0627\u0632 \u0628\u0631\u0646\u0627\u0645\u0647 \u062E\u0627\u0631\u062C \u0645\u06CC \u0634\u0648\u062F \u061F",content:"",okText:"\u0628\u0644\u0647 \u060C \u062E\u0631\u0648\u062C",width:"calc(100vw - 30px)",centered:!0,okType:"success",cancelText:"\u062E\u06CC\u0631",okButtonProps:{type:"primary"},onOk(){U(),L.push({name:"login"})}})}return(r,l)=>(v(),h("div",G,[s(V,{class:"p-3",title:"\u062F\u0627\u0634\u0628\u0631\u062F"},{left:t(()=>[e("div",R,[s(u(g),{class:"!p-2 !border-none",onClick:B},{default:t(()=>[s(a,{icon:"vuesax-linear:logout",size:"15"})]),_:1})])]),right:t(()=>[s(u(g),{class:"!p-2 !border-none",onClick:l[0]||(l[0]=o=>r.$router.push({name:"message"}))},{default:t(()=>[s(a,{icon:"vuesax-linear:notification",size:"16"})]),_:1})]),_:1}),e("div",W,[s(u(k),{"initial-swipe":5,loop:!1,"show-indicators":!1,width:160},{default:t(()=>[s(u(n),null,{default:t(()=>[s(d,{color:"#c43eea",class:"ml-1"},{default:t(()=>[e("div",H,[s(a,{icon:"vuesax-linear:empty-wallet",color:"#c43eea",size:28}),J,K])]),_:1})]),_:1}),s(u(n),null,{default:t(()=>[s(d,{color:"#3e9cea",class:"ml-1"},{default:t(()=>[e("div",Q,[s(a,{icon:"vuesax-linear:wallet-money",color:"#3e9cea",size:"28"}),X,Y])]),_:1})]),_:1}),s(u(n),null,{default:t(()=>[s(d,{color:"#dc2626",class:"ml-1"},{default:t(()=>[e("div",Z,[s(a,{icon:"vuesax-linear:card-send",color:"#dc2626",size:"28"}),ee,e("div",se,[te,s(u(j),{type:"vertical"}),ue])])]),_:1})]),_:1}),s(u(n),null,{default:t(()=>[s(d,{color:"#16A34A",class:"ml-1"},{default:t(()=>[e("div",le,[s(a,{icon:"vuesax-linear:card-receive",color:"#16A34A",size:"28"}),oe,e("div",ae,[ne,s(u(j),{type:"vertical"}),ie])])]),_:1})]),_:1}),s(u(n),null,{default:t(()=>[s(d,{color:"#3E46EA",class:"ml-1"},{default:t(()=>{var o;return[e("div",ce,[s(a,{icon:"vuesax-linear:coin-1",color:"#3E46EA",size:"28"}),re,e("div",de,[pe,e("span",fe,f((o=u(i).state.gold_balance)!=null?o:0),1)])])]}),_:1})]),_:1}),s(u(n),null,{default:t(()=>[s(d,{color:"#DC2626",class:"ml-1"},{default:t(()=>[e("div",_e,[s(a,{icon:"vuesax-linear:profile-circle",color:"#DC2626",size:"28"}),me,e("div",xe,[e("span",null,"\u0627\u0632 "+f(u(i).state.customers.length)+" \u0646\u0641\u0631",1),e("span",ve,f(u(i).state.vertex.gold_rank),1)])])]),_:1})]),_:1}),s(u(n),null,{default:t(()=>[s(d,{color:"#F59E0B",class:"ml-1"},{default:t(()=>[e("div",he,[s(a,{icon:"other:target",color:"#F59E0B"}),ge,e("div",Ce,[e("span",be,f(u(i).state.completed_target),1),e("span",null,"/ "+f(u(i).state.target!=0?u(i).state.target:"\u0646\u0627\u0645\u0634\u062E\u0635"),1)])])]),_:1})]),_:1})]),_:1})]),e("div",ye,[Ae,e("div",Fe,[s(u(k),{"initial-swipe":1,loop:!1,"show-indicators":!1,width:375},{default:t(()=>[s(u(n),null,{default:t(()=>[s(u(E),{class:"mr-3 ml-3 card-padding-8-16"},{default:t(()=>[e("div",we,[e("div",$e,[s(u(S),{value:c.value,"onUpdate:value":l[1]||(l[1]=o=>c.value=o),style:{width:"90px"},options:x},null,8,["value"])]),ke]),s(u(A),{type:"bar",height:"200",options:y,series:b}),je]),_:1})]),_:1}),s(u(n),null,{default:t(()=>[s(u(E),{class:"mr-3 ml-3 card-padding-8-16"},{default:t(()=>[e("div",Ee,[e("div",Se,[s(u(S),{value:_.value,"onUpdate:value":l[2]||(l[2]=o=>_.value=o),options:x},null,8,["value"])]),ze]),s(u(A),{type:"bar",height:"200",options:y,series:b}),Be]),_:1})]),_:1})]),_:1})])]),e("div",De,[Ve,e("div",Te,[s(m,{type:"info",icon:"vuesax-linear:diagram",onClick:l[3]||(l[3]=o=>r.$router.push({name:"report"}))},{default:t(()=>[Ne]),_:1}),s(m,{type:"danger",icon:"vuesax-linear:profile-2user",onClick:l[4]||(l[4]=o=>r.$router.push({name:"customers"}))},{default:t(()=>[Ie]),_:1}),s(m,{type:"success",icon:"vuesax-linear:note-2",onClick:l[5]||(l[5]=o=>r.$router.push({name:"document"}))},{default:t(()=>[Oe]),_:1}),s(m,{type:"warning",icon:"vuesax-linear:box-tick",onClick:l[6]||(l[6]=o=>r.$router.push({name:"order"}))},{default:t(()=>[Ue]),_:1})]),e("div",Le,[s(F,{onClick:l[7]||(l[7]=o=>r.$router.push({name:"product"})),iconSize:"24",icon:"vuesax-linear:element-equal",type:"warning",class:"!w-full"},{default:t(()=>[Me]),_:1}),s(F,{onClick:l[8]||(l[8]=o=>r.$router.push({name:"conversations"})),iconSize:"24",icon:"vuesax-linear:messages-1",type:"info",class:"!w-full"},{default:t(()=>[Pe]),_:1})])])]))}});export{as as default};
Copyright ©2k19 -
Hexid
|
Tex7ure