mirror of
https://gitee.com/niucloud-team/niucloud-admin.git
synced 2025-12-29 01:40:16 +00:00
2 lines
13 KiB
JavaScript
2 lines
13 KiB
JavaScript
/* empty css *//* empty css */import{E as A}from"./el-overlay-08181e74.js";/* empty css */import{a as H,E as U}from"./el-form-item-1b16c9fc.js";/* empty css *//* empty css */import{b as z}from"./event-f85d77b0.js";import{_ as O,a as W,b as X,c as Y,d as q}from"./money-b4cdc690.js";import{t as o}from"./index-0ca94763.js";import{u as G,v as J,w as K,x as Q,y as Z,z as ee}from"./vipcard-ea2ff005.js";import{c as V}from"./common-c3be41fd.js";import{a as te}from"./vue-router-48fdc1e3.js";import{a as se}from"./index-d469ae66.js";import{E as oe,a as ae}from"./index-a7e8e96f.js";import{E as le}from"./index-9ecd3f93.js";import{E as ie}from"./index-c5914bde.js";import{v as ne}from"./directive-64fb15dc.js";import{d as ce,r as x,M,e as u,f as C,y as l,x as a,g as e,B as t,u as s,H as D,A as re,v as w,aA as de,aB as pe}from"./plugin-vue_export-helper-85a4d40b.js";import{_ as _e}from"./_plugin-vue_export-helper-c27b6911.js";import"./index-313cd2ce.js";import"./index-cf9a2dd7.js";import"./focus-trap-64c402c5.js";import"./index-1ad115d7.js";import"./index-de1d3b53.js";import"./index-bcd7a424.js";import"./_baseClone-3dbf39d6.js";import"./index-7eafba5f.js";import"./index-e513479b.js";import"./el-main-86eb724f.js";import"./index-b9e5f5cb.js";/* empty css *//* empty css */import"./index-4d8f36c6.js";import"./index-ebc73046.js";import"./index-e27c3bb0.js";const g=E=>(de("data-v-47b5a2f0"),E=E(),pe(),E),xe={class:"main-container flex min-h-[300px]"},ue={key:0,class:"main-body flex-1 mr-[15px]"},me={class:"flex items-end"},fe={class:"flex items-center w-[500px] h-[45px] border-[2px] border-primary rounded-l-lg"},ve=g(()=>e("span",{class:"h-[15px] ml-[10px] pr-[10px] border-r-[1px] border-[#DEE1E7] leading-[1]"},[e("img",{class:"w-[15px]",src:O})],-1)),he={class:"mt-[40px]"},ye={class:"text-[18px] font-bold mb-[18px]"},be=g(()=>e("div",{class:"ml-[18px] mr-[21px]"},[e("img",{class:"min-w-[45px] h-[45px] max-w-[45px]",src:W})],-1)),we={class:"flex flex-wrap"},ge={class:"w-full text-[14px]"},Ee={class:"w-full text-[#999999] text-[12px]"},ke=g(()=>e("div",{class:"ml-[18px] mr-[21px]"},[e("img",{class:"min-w-[45px] h-[45px] max-w-[45px]",src:X})],-1)),je={class:"flex flex-wrap"},Ce={class:"w-full text-[14px]"},Me={class:"w-full text-[#999999] text-[12px]"},De=g(()=>e("div",{class:"ml-[18px] mr-[21px]"},[e("img",{class:"min-w-[45px] h-[45px] max-w-[45px]",src:Y})],-1)),Se={class:"flex flex-wrap"},Ne={class:"w-full text-[14px]"},Ve={class:"w-full text-[#999999] text-[12px]"},Ie=g(()=>e("div",{class:"ml-[18px] mr-[21px]"},[e("img",{class:"min-w-[45px] h-[45px] max-w-[45px]",src:q})],-1)),Be={class:"flex flex-wrap"},$e={class:"w-full text-[14px]"},Fe={class:"w-full text-[#999999] text-[12px]"},Re={class:"mt-[40px]"},Te={class:"text-[18px] font-bold mb-[25px]"},Le={class:"w-full py-[16px] px-[20px] border-[#E6E6E6] border-[1px]"},Pe={class:"flex justify-between"},Ae={class:"text-[18px]"},He={class:"my-[20px]"},Ue={class:"flex justify-center"},ze={class:"text-[14px]"},Oe={class:"flex justify-center"},We={class:"text-[28px]"},Xe={class:"flex justify-between"},Ye={class:"text-[14px]"},qe={class:"mr-[60px] text-[14px]"},Ge={class:"w-full py-[16px] px-[20px] border-[#E6E6E6] border-[1px]"},Je={class:"flex justify-between"},Ke={class:"text-[18px]"},Qe={class:"my-[20px]"},Ze={class:"flex justify-center"},et={class:"text-[14px]"},tt={class:"flex justify-center"},st={class:"text-[28px]"},ot={class:"flex justify-between"},at={class:"text-[14px]"},lt={class:"mr-[60px] text-[14px]"},it={class:"w-full py-[16px] px-[20px] border-[#E6E6E6] border-[1px]"},nt={class:"flex justify-between"},ct={class:"text-[18px]"},rt={class:"my-[20px]"},dt={class:"flex justify-center"},pt={class:"text-[14px]"},_t={class:"flex justify-center"},xt={class:"text-[28px]"},ut={class:"flex justify-between"},mt={class:"text-[14px]"},ft={class:"mr-[60px] text-[14px]"},vt={class:"w-full py-[16px] px-[20px] border-[#E6E6E6] border-[1px]"},ht={class:"flex justify-between"},yt={class:"text-[18px]"},bt={class:"my-[20px]"},wt={class:"flex justify-center"},gt={class:"text-[14px]"},Et={class:"flex justify-center"},kt={class:"text-[28px]"},jt={class:"flex justify-between"},Ct={class:"text-[14px]"},Mt={class:"mr-[60px] text-[14px]"},Dt={class:"py-[16px] px-[20px] border-[1px] border-[#E6E6E6] mt-[35PX]"},St={class:"text-[16px]"},Nt={class:"flex justify-center items-center"},Vt={class:"text-[14px]"},It={class:"flex justify-center items-center mt-[10px]"},Bt={class:"text-[28px]"},$t={class:"flex justify-center items-center"},Ft={class:"text-[14px]"},Rt={class:"flex justify-center items-center mt-[10px]"},Tt={class:"text-[28px]"},Lt={class:"flex justify-center items-center"},Pt={class:"text-[14px]"},At={class:"flex justify-center items-center mt-[10px]"},Ht={class:"text-[28px]"},Ut={class:"flex justify-center items-center"},zt={class:"text-[14px]"},Ot={class:"flex justify-center items-center mt-[10px]"},Wt={class:"text-[28px]"},Xt={class:"text-[18px] font-bold mb-[25px]"},Yt={class:"ml-[16px] text-[14px] text-[#fff]"},qt={class:"ml-[16px] text-[30px] text-[#fff]"},Gt={class:"ml-[16px] text-[14px] text-[#fff]"},Jt={class:"ml-[16px] text-[30px] text-[#fff]"},Kt={class:"ml-[16px] text-[14px] text-[#fff]"},Qt={class:"ml-[16px] text-[30px] text-[#fff]"},Zt={class:"input-width"},es={class:"input-width"},ts={class:"input-width"},ss={class:"input-width"},os=["src"],as=["src"],ls={class:"input-width"},is={class:"input-width"},ns={class:"input-width"},cs={class:"dialog-footer"},rs=ce({__name:"index",setup(E){const v=x(!1),I=x([]),h=x([]),y=x([]),r=x([]);(async()=>{I.value=await(await G()).data,h.value=await(await J()).data,y.value=await(await K()).data,r.value=await(await Q()).data,v.value=!1})();const m=x(""),c=x([]),k=x(!1),B=()=>{m.value!=""&&Z(m.value).then(p=>{p.data!=""?(k.value=!0,c.value=p.data):se(o("notVerifyDesc")),v.value=!1})},j=x(!1),$=()=>{m.value!=""&&(j.value||(j.value=!0,k.value=!1,ee(m.value).then(()=>{j.value=!1}).catch(()=>{j.value=!1})))},S=te(),f=p=>{S.push(p)},F=p=>{let i=S.resolve({path:p});window.open(i.href,"_blank")};return(p,i)=>{const n=oe,b=ae,R=le,_=H,T=U,L=ie,P=A,N=ne;return M((u(),C("div",xe,[v.value?D("",!0):(u(),C("div",ue,[l(R,{class:"box-card !border-none",shadow:"never"},{default:a(()=>[l(b,{gutter:60},{default:a(()=>[l(n,{span:19},{default:a(()=>[e("div",me,[e("div",fe,[ve,M(e("input",{class:"w-[400px] h-[40px] outline-none pl-[10px] text-[18px] bg-transparent","onUpdate:modelValue":i[0]||(i[0]=d=>m.value=d)},null,512),[[z,m.value]])]),e("div",{class:"bg-primary h-[45px] flex items-center px-[20px] rounded-[10px] ml-[10px] text-[#fff] cursor-pointer",onClick:B},[e("span",null,t(s(o)("write")),1)]),e("div",{class:"bg-primary h-[45px] flex items-center px-[20px] rounded-[10px] ml-[10px] text-[#fff] cursor-pointer",onClick:i[1]||(i[1]=d=>F("/vipcard/order/verify"))},[e("span",null,t(s(o)("viewWrite")),1)])]),e("div",he,[e("p",ye,t(s(o)("commonFunctions")),1),l(b,{gutter:15},{default:a(()=>[l(n,{span:6},{default:a(()=>[e("div",{class:"w-full py-[20px] flex items-center border-[#E6E6E6] border-[1px] cursor-pointer",onClick:i[2]||(i[2]=d=>f("/vipcard/order/reserve"))},[be,e("div",we,[e("span",ge,t(s(o)("reserveManage")),1),e("span",Ee,t(s(o)("reserveDesc")),1)])])]),_:1}),l(n,{span:6},{default:a(()=>[e("div",{class:"w-full py-[20px] flex items-center border-[#E6E6E6] border-[1px] cursor-pointer",onClick:i[3]||(i[3]=d=>f("/vipcard/goods/service/list"))},[ke,e("div",je,[e("span",Ce,t(s(o)("serviceManage")),1),e("span",Me,t(s(o)("serviceDesc")),1)])])]),_:1}),l(n,{span:6},{default:a(()=>[e("div",{class:"w-full py-[20px] flex items-center border-[#E6E6E6] border-[1px] cursor-pointer",onClick:i[4]||(i[4]=d=>f("/vipcard/goods/technician/list"))},[De,e("div",Se,[e("span",Ne,t(s(o)("technician")),1),e("span",Ve,t(s(o)("technicianDesc")),1)])])]),_:1}),l(n,{span:6},{default:a(()=>[e("div",{class:"w-full py-[20px] flex items-center border-[#E6E6E6] border-[1px] cursor-pointer",onClick:i[5]||(i[5]=d=>f("/vipcard/goods/card/list"))},[Ie,e("div",Be,[e("span",$e,t(s(o)("cardPackage")),1),e("span",Fe,t(s(o)("cardPackageDesc")),1)])])]),_:1})]),_:1})]),e("div",Re,[e("p",Te,t(s(o)("dataSummary")),1),l(b,{gutter:30},{default:a(()=>[l(n,{span:12},{default:a(()=>[e("div",Le,[e("div",Pe,[e("span",Ae,t(s(o)("totalRevenue")),1)]),e("div",He,[e("div",Ue,[e("span",ze,t(s(o)("accumulateMoney")),1)]),e("div",Oe,[e("span",We,t(r.value.order_money),1)])]),e("div",Xe,[e("span",Ye,t(s(o)("today"))+":"+t(h.value.order_money),1),e("span",qe,t(s(o)("thisMonth"))+":"+t(y.value.order_money),1)])])]),_:1}),l(n,{span:12},{default:a(()=>[e("div",Ge,[e("div",Je,[e("span",Ke,t(s(o)("serviceConsumption")),1)]),e("div",Qe,[e("div",Ze,[e("span",et,t(s(o)("accumulateMoney")),1)]),e("div",tt,[e("span",st,t(r.value.buy_service_money),1)])]),e("div",ot,[e("span",at,t(s(o)("today"))+":"+t(h.value.buy_service_money),1),e("span",lt,t(s(o)("thisMonth"))+":"+t(y.value.order_money),1)])])]),_:1})]),_:1}),l(b,{gutter:30,class:"mt-[35px]"},{default:a(()=>[l(n,{span:12},{default:a(()=>[e("div",it,[e("div",nt,[e("span",ct,t(s(o)("refundMoney")),1)]),e("div",rt,[e("div",dt,[e("span",pt,t(s(o)("accumulateMoney")),1)]),e("div",_t,[e("span",xt,t(r.value.refund_money),1)])]),e("div",ut,[e("span",mt,t(s(o)("today"))+":"+t(h.value.refund_money),1),e("span",ft,t(s(o)("thisMonth"))+":"+t(y.value.refund_money),1)])])]),_:1}),l(n,{span:12},{default:a(()=>[e("div",vt,[e("div",ht,[e("span",yt,t(s(o)("memberCard")),1)]),e("div",bt,[e("div",wt,[e("span",gt,t(s(o)("accumulateMoney")),1)]),e("div",Et,[e("span",kt,t(r.value.buy_card_money),1)])]),e("div",jt,[e("span",Ct,t(s(o)("today"))+":"+t(h.value.buy_card_money),1),e("span",Mt,t(s(o)("thisMonth"))+":"+t(y.value.buy_card_money),1)])])]),_:1})]),_:1})]),e("div",Dt,[e("p",St,t(s(o)("orderStat")),1),l(b,{class:"mt-[20px]"},{default:a(()=>[l(n,{span:6},{default:a(()=>[e("div",null,[e("div",Nt,[e("span",Vt,t(s(o)("orderNum")),1)]),e("div",It,[e("span",Bt,t(r.value.order_num),1)])])]),_:1}),l(n,{span:6},{default:a(()=>[e("div",null,[e("div",$t,[e("span",Ft,t(s(o)("refundOrderNum")),1)]),e("div",Rt,[e("span",Tt,t(r.value.refund_num),1)])])]),_:1}),l(n,{span:6},{default:a(()=>[e("div",null,[e("div",Lt,[e("span",Pt,t(s(o)("reserveNum")),1)]),e("div",At,[e("span",Ht,t(r.value.reserve_num),1)])])]),_:1}),l(n,{span:6},{default:a(()=>[e("div",null,[e("div",Ut,[e("span",zt,t(s(o)("cardNum")),1)]),e("div",Ot,[e("span",Wt,t(r.value.buy_card_num),1)])])]),_:1})]),_:1})])]),_:1}),l(n,{span:5},{default:a(()=>[e("p",Xt,t(s(o)("toDo")),1),e("div",null,[e("div",{class:"reserve-item min-w-[200px] h-[90px] pt-[18px] w-full cursor-pointer",onClick:i[6]||(i[6]=d=>f("/vipcard/order/reserve"))},[e("p",Yt,t(s(o)("reserveHandle")),1),e("p",qt,t(r.value.reserve_num),1)]),e("div",{class:"refund-item min-w-[200px] h-[90px] pt-[18px] mt-[18px] w-full cursor-pointer",onClick:i[7]||(i[7]=d=>f("/vipcard/order/refund"))},[e("p",Gt,t(s(o)("refundSales")),1),e("p",Jt,t(r.value.refund_num),1)]),e("div",{class:"service-item min-w-[200px] h-[90px] pt-[18px] mt-[18px] w-full cursor-pointer",onClick:i[8]||(i[8]=d=>f("/vipcard/order/list"))},[e("p",Kt,t(s(o)("serviceFollow")),1),e("p",Qt,t(r.value.buy_service_num),1)])])]),_:1})]),_:1})]),_:1})])),l(P,{modelValue:k.value,"onUpdate:modelValue":i[9]||(i[9]=d=>k.value=d),title:p.title||s(o)("verifyInfo"),width:"500px","destroy-on-close":!0},{footer:a(()=>[e("span",cs,[l(L,{type:"primary",onClick:$},{default:a(()=>[re(t(s(o)("confirm")),1)]),_:1})])]),default:a(()=>[M((u(),w(T,{model:p.formData,"label-width":"110px",ref:"formRef",rules:p.formRules,class:"page-form"},{default:a(()=>[l(_,{label:s(o)("verifyCode")},{default:a(()=>[e("div",Zt,t(m.value),1)]),_:1},8,["label"]),l(_,{label:s(o)("goodsType")},{default:a(()=>[e("div",es,t(c.value.goods_type_name),1)]),_:1},8,["label"]),c.value.goods_type=="service"?(u(),w(_,{key:0,label:s(o)("serviceName")},{default:a(()=>[e("div",ts,t(c.value.goods_name),1)]),_:1},8,["label"])):(u(),w(_,{key:1,label:s(o)("cardName")},{default:a(()=>[e("div",ss,t(c.value.goods_name),1)]),_:1},8,["label"])),c.value.goods_type=="service"?(u(),w(_,{key:2,label:s(o)("serviceImg")},{default:a(()=>[c.value.cover_thumb_small?(u(),C("img",{key:0,src:s(V)(c.value.cover_thumb_small)},null,8,os)):D("",!0)]),_:1},8,["label"])):(u(),w(_,{key:3,label:s(o)("cardImg")},{default:a(()=>[c.value.cover_thumb_small?(u(),C("img",{key:0,src:s(V)(c.value.cover_thumb_small)},null,8,as)):D("",!0)]),_:1},8,["label"])),l(_,{label:s(o)("num")},{default:a(()=>[e("div",ls,t(c.value.num),1)]),_:1},8,["label"]),l(_,{label:s(o)("useNum")},{default:a(()=>[e("div",is,t(c.value.use_num),1)]),_:1},8,["label"]),l(_,{label:s(o)("expireTime")},{default:a(()=>[e("div",ns,t(c.value.expire_time_name),1)]),_:1},8,["label"])]),_:1},8,["model","rules"])),[[N,v.value]])]),_:1},8,["modelValue","title"])])),[[N,v.value]])}}});const Ys=_e(rs,[["__scopeId","data-v-47b5a2f0"]]);export{Ys as default};
|