niucloud-admin/niucloud/public/admin/assets/site_index-5496527a.js
2023-11-15 15:57:04 +08:00

2 lines
17 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/* empty css *//* empty css */import{E as Y}from"./el-overlay-08181e74.js";import{a as q,E as G}from"./el-form-item-1b16c9fc.js";/* empty css *//* empty css *//* empty css *//* empty css */import{b as J}from"./event-f85d77b0.js";import{_ as K,a as P,b as Q,c as X,d as Z}from"./coupon-b14f13fc.js";import{t as s}from"./index-0ca94763.js";import{w as ee,x as te,y as se,z as oe,A as ae,B as le,C as ne,D as ie}from"./tourism-6d4e6397.js";import{i as F}from"./index-0ca8babb.js";import{c as re}from"./common-c3be41fd.js";import{a as de}from"./vue-router-48fdc1e3.js";import{a as pe}from"./index-d469ae66.js";import{E as ue,a as ce}from"./index-a7e8e96f.js";import{E as _e}from"./index-0431d9e5.js";import{E as me}from"./index-c5914bde.js";import{E as xe}from"./index-9ecd3f93.js";import{v as fe}from"./directive-64fb15dc.js";import{d as ve,r as p,O as he,M as A,e as M,f as I,y as n,x as l,g as e,B as t,u as o,A as w,H as ye,v as we,aA as be,aB as ge}from"./plugin-vue_export-helper-85a4d40b.js";import{_ as Ce}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 r=k=>(be("data-v-a1110937"),k=k(),ge(),k),De={class:"main-container flex min-h-[300px]"},Oe={key:0,class:"main-body flex-1 mr-[15px]"},ke={class:"flex items-end"},Ne={class:"text-[24px] font-bold"},je={class:"flex items-center w-[500px] h-[45px] border-[2px] border-primary ml-[15px] rounded-l-lg"},Ee=r(()=>e("span",{class:"h-[15px] ml-[10px] pr-[10px] border-r-[1px] border-[#DEE1E7] leading-[1]"},[e("img",{class:"w-[15px]",src:K})],-1)),$e={class:"w-full py-[21px] flex items-center text-[#fff] pl-[20px]"},Se=r(()=>e("img",{class:"w-[33px]",src:P},null,-1)),Ve={class:"ml-[10px] text-[14px]"},ze={class:"manage-item h-[30px] w-full flex justify-between items-center text-[10px] text-[#fff]"},Ae={class:"ml-[20px]"},Me=r(()=>e("span",{class:"mr-[20px]"},null,-1)),Be={class:"w-full py-[21px] flex items-center text-[#fff] pl-[20px]"},Fe=r(()=>e("img",{class:"w-[33px]",src:Q},null,-1)),Ie={class:"ml-[10px] text-[14px]"},Te={class:"manage-item h-[30px] w-full flex justify-between items-center text-[10px] text-[#fff]"},Re={class:"ml-[20px]"},He=r(()=>e("span",{class:"mr-[20px]"},null,-1)),Le={class:"w-full py-[21px] flex items-center text-[#fff] pl-[20px]"},Ue=r(()=>e("img",{class:"w-[33px]",src:X},null,-1)),We={class:"ml-[10px] text-[14px]"},Ye={class:"manage-item h-[30px] w-full flex justify-between items-center text-[10px] text-[#fff]"},qe={class:"ml-[20px]"},Ge=r(()=>e("span",{class:"mr-[20px]"},null,-1)),Je={class:"w-full py-[21px] flex items-center text-[#fff] pl-[20px]"},Ke=r(()=>e("img",{class:"w-[33px]",src:Z},null,-1)),Pe={class:"ml-[10px] text-[14px]"},Qe={class:"manage-item h-[30px] w-full flex justify-between items-center text-[10px] text-[#fff]"},Xe={class:"ml-[20px]"},Ze=r(()=>e("span",{class:"mr-[20px]"},null,-1)),et={class:"mt-[20px] pt-[30px] pb-[24px] px-[40px]"},tt={class:"text-[18px] mb-[25px] font-bold"},st={class:"text-[14px] mb-[9px]"},ot={class:"statistic-footer flex justify-between items-end mt-[10px]"},at={class:"footer-item text-[14px] text-[#666]"},lt={class:"green ml-1"},nt={class:"footer-item text-[14px] text-[#666]"},it={class:"green ml-1"},rt=r(()=>e("span",null,null,-1)),dt={class:"text-[14px] mb-[9px]"},pt={class:"statistic-footer flex justify-between items-end mt-[10px]"},ut={class:"footer-item text-[14px] text-[#666]"},ct={class:"green ml-1"},_t={class:"footer-item text-[14px] text-[#666]"},mt={class:"green ml-1"},xt=r(()=>e("span",null,null,-1)),ft={class:"text-[14px] mb-[9px]"},vt={class:"statistic-footer flex justify-between items-end mt-[10px]"},ht={class:"footer-item text-[14px] text-[#666]"},yt={class:"green ml-1"},wt={class:"footer-item text-[14px] text-[#666]"},bt={class:"green ml-1"},gt=r(()=>e("span",null,null,-1)),Ct={class:"text-[14px] mb-[9px]"},Dt={class:"statistic-footer flex justify-between items-end mt-[10px]"},Ot={class:"footer-item text-[14px] text-[#666]"},kt={class:"green ml-1"},Nt={class:"footer-item text-[14px] text-[#666]"},jt={class:"green ml-1"},Et=r(()=>e("span",null,null,-1)),$t={class:"mt-[10px] pt-[20px] pb-[24px] px-[40px]"},St={class:"text-[14px] mb-[9px]"},Vt={class:"statistic-footer flex justify-between items-end mt-[10px]"},zt={class:"footer-item text-[14px] text-[#666]"},At={class:"green ml-1"},Mt={class:"footer-item text-[14px] text-[#666]"},Bt={class:"green ml-1"},Ft=r(()=>e("span",null,null,-1)),It={class:"text-[14px] mb-[9px]"},Tt={class:"statistic-footer flex justify-between items-end mt-[10px]"},Rt={class:"footer-item text-[14px] text-[#666]"},Ht={class:"green ml-1"},Lt={class:"footer-item text-[14px] text-[#666]"},Ut={class:"green ml-1"},Wt=r(()=>e("span",null,null,-1)),Yt={class:"text-[14px] mb-[9px]"},qt={class:"statistic-footer flex justify-between items-end mt-[10px]"},Gt={class:"footer-item text-[14px] text-[#666]"},Jt={class:"green ml-1"},Kt={class:"footer-item text-[14px] text-[#666]"},Pt={class:"green ml-1"},Qt=r(()=>e("span",null,null,-1)),Xt={class:"text-[14px] mb-[9px]"},Zt={class:"statistic-footer flex justify-between items-end mt-[10px]"},es={class:"footer-item text-[14px] text-[#666]"},ts={class:"green ml-1"},ss={class:"footer-item text-[14px] text-[#666]"},os={class:"green ml-1"},as=r(()=>e("span",null,null,-1)),ls={class:"mt-[15px] flex"},ns={class:"card-header"},is={class:"text-[15px]"},rs={class:"h-[300px] relative"},ds={class:"absolute top-0 right-0 z-[1]"},ps={class:"card-header"},us={class:"text-[15px]"},cs={class:"h-[300px] relative"},_s={class:"absolute top-0 right-0 z-[1]"},ms={class:"input-width"},xs={class:"input-width"},fs=["src"],vs={class:"input-width"},hs={class:"input-width"},ys={class:"input-width"},ws={class:"dialog-footer"},bs=ve({__name:"site_index",setup(k){p(!1);const O=p(!0),$=p(null),S=p(null);he({wechat_code:"",enterprise_wechat:"",tel:""});const m=p([]),x=p([]),b=p([]),g=p([]),f=p([]),T=p([]);(async(u=0)=>{m.value=await(await ee()).data,x.value=await(await te()).data,b.value=await(await se({})).data,g.value=await(await oe({})).data,f.value=await(await ae()).data,T.value=await(await le()).data,O.value=!1,setTimeout(()=>{N(""),j("")},20)})();const N=u=>{let a=b.value.hotel_order_num;if(u&&(a=u),!$.value)return;const d=F($.value),_=p({legend:{},xAxis:{data:[]},yAxis:{},tooltip:{trigger:"axis"},series:[{type:"line",data:[]}]});_.value.xAxis.data=b.value.time,_.value.series[0].data=a,d.setOption(_.value)},j=u=>{let a=g.value.hotel_order_money;if(u&&(a=u),!S.value)return;const d=F(S.value),_=p({legend:{},xAxis:{data:[]},yAxis:{},tooltip:{trigger:"axis"},series:[{type:"line",data:[]}]});_.value.xAxis.data=g.value.time,_.value.series[0].data=a,d.setOption(_.value)},E=p(!1),h=p(""),C=p({mobile:"",order_no:"",goods_name:""}),R=()=>{h.value!=""&&ne(h.value).then(u=>{u.data!=""?(E.value=!0,C.value=u.data):pe(s("notVerifyDesc")),O.value=!1})},V=p(!1),H=()=>{h.value!=""&&(V.value||(V.value=!0,E.value=!1,ie(h.value).then(()=>{V.value=!1})))},L=de(),c=u=>{L.push(u)};return(u,a)=>{const d=ue,_=ce,v=_e,y=me,z=xe,D=q,U=G,W=Y,B=fe;return A((M(),I("div",De,[O.value?ye("",!0):(M(),I("div",Oe,[n(z,{class:"box-card !border-none",shadow:"never"},{default:l(()=>[e("div",ke,[e("span",Ne,t(o(s)("write")),1),e("div",je,[Ee,A(e("input",{class:"w-[400px] h-[40px] outline-none pl-[10px] text-[18px] bg-transparent","onUpdate:modelValue":a[0]||(a[0]=i=>h.value=i)},null,512),[[J,h.value]])]),e("div",{class:"bg-primary h-[45px] flex items-center px-[20px] rounded-r-lg ml-[10px] text-[#fff] cursor-pointer",onClick:R},[e("span",null,t(o(s)("write")),1)]),e("span",{class:"text-primary text-[14px] ml-[20px] cursor-pointer",onClick:a[1]||(a[1]=i=>c("/order/tourism/verify"))},t(o(s)("viewWrite")),1)]),n(_,{class:"mt-[40px]",justify:"space-between"},{default:l(()=>[n(d,{span:5},{default:l(()=>[e("div",{class:"w-[163px] 2xl:w-[200px] rounded-[10px] overflow-hidden bg-[#646DFF] flex flex-wrap cursor-pointer",onClick:a[2]||(a[2]=i=>c("/tourism/hotel/hotel"))},[e("div",$e,[Se,e("span",Ve,t(o(s)("hotelManage")),1)]),e("div",ze,[e("span",Ae,t(o(s)("dataDetail")),1),Me])])]),_:1}),n(d,{span:5},{default:l(()=>[e("div",{class:"w-[163px] 2xl:w-[200px] rounded-[10px] overflow-hidden bg-[#F7B500] flex flex-wrap cursor-pointer",onClick:a[3]||(a[3]=i=>c("/tourism/scenic/scenic"))},[e("div",Be,[Fe,e("span",Ie,t(o(s)("scenicManage")),1)]),e("div",Te,[e("span",Re,t(o(s)("dataDetail")),1),He])])]),_:1}),n(d,{span:5},{default:l(()=>[e("div",{class:"w-[163px] 2xl:w-[200px] rounded-[10px] overflow-hidden bg-[#03C1A5] flex flex-wrap cursor-pointer",onClick:a[4]||(a[4]=i=>c("/tourism/way/way"))},[e("div",Le,[Ue,e("span",We,t(o(s)("wayManage")),1)]),e("div",Ye,[e("span",qe,t(o(s)("dataDetail")),1),Ge])])]),_:1}),n(d,{span:5},{default:l(()=>[e("div",{class:"w-[163px] 2xl:w-[200px] rounded-[10px] overflow-hidden bg-[#FF7387] flex flex-wrap cursor-pointer",onClick:a[5]||(a[5]=i=>c("/order/tourism/verify"))},[e("div",Je,[Ke,e("span",Pe,t(o(s)("orderVerify")),1)]),e("div",Qe,[e("span",Xe,t(o(s)("dataDetail")),1),Ze])])]),_:1})]),_:1}),e("div",et,[e("p",tt,t(o(s)("realTimeSummarize")),1),n(_,{justify:"space-between"},{default:l(()=>[n(d,{span:5},{default:l(()=>[n(v,{value:x.value.hotel_order_money},{title:l(()=>[e("div",st,t(o(s)("hotelOrderMoney")),1)]),_:1},8,["value"]),e("div",ot,[e("div",null,[e("div",at,[e("span",null,t(o(s)("accumulateOrderNum"))+"",1),e("span",lt,t(f.value.hotel_order_money),1)]),e("div",nt,[e("span",null,t(o(s)("yesterdayOrderNum"))+"",1),e("span",it," + "+t(m.value.hotel_order_money),1),rt])]),e("div",{onClick:a[6]||(a[6]=i=>c("/order/tourism/hotel")),class:"flex items-center cursor-pointer justify-center border-[1px] border-primary text-[12px] text-primary w-[70px] h-[30px] rounded-[3px]"},[e("span",null,t(o(s)("detailData")),1)])])]),_:1}),n(d,{span:5},{default:l(()=>[n(v,{value:x.value.scenic_order_money},{title:l(()=>[e("div",dt,t(o(s)("scenicOrderMoney")),1)]),_:1},8,["value"]),e("div",pt,[e("div",null,[e("div",ut,[e("span",null,t(o(s)("accumulateOrderNum"))+"",1),e("span",ct,t(f.value.scenic_order_money),1)]),e("div",_t,[e("span",null,t(o(s)("yesterdayOrderNum"))+"",1),e("span",mt," + "+t(m.value.scenic_order_money),1),xt])]),e("div",{onClick:a[7]||(a[7]=i=>c("/order/tourism/scenic")),class:"flex items-center cursor-pointer justify-center border-[1px] border-primary text-[12px] text-primary w-[70px] h-[30px] rounded-[3px]"},[e("span",null,t(o(s)("detailData")),1)])])]),_:1}),n(d,{span:5},{default:l(()=>[n(v,{value:x.value.way_order_money},{title:l(()=>[e("div",ft,t(o(s)("wayOrderMoney")),1)]),_:1},8,["value"]),e("div",vt,[e("div",null,[e("div",ht,[e("span",null,t(o(s)("accumulateOrderNum"))+"",1),e("span",yt,t(f.value.way_order_money),1)]),e("div",wt,[e("span",null,t(o(s)("yesterdayOrderNum"))+"",1),e("span",bt," + "+t(m.value.way_order_money),1),gt])]),e("div",{onClick:a[8]||(a[8]=i=>c("/order/tourism/way")),class:"flex items-center cursor-pointer justify-center border-[1px] border-primary text-[12px] text-primary w-[70px] h-[30px] rounded-[3px]"},[e("span",null,t(o(s)("detailData")),1)])])]),_:1}),n(d,{span:5},{default:l(()=>[n(v,{value:x.value.refund_money},{title:l(()=>[e("div",Ct,t(o(s)("refundOrderMoney")),1)]),_:1},8,["value"]),e("div",Dt,[e("div",null,[e("div",Ot,[e("span",null,t(o(s)("accumulateOrderNum"))+"",1),e("span",kt,t(f.value.refund_money),1)]),e("div",Nt,[e("span",null,t(o(s)("yesterdayOrderNum"))+"",1),e("span",jt," + "+t(m.value.refund_money),1),Et])]),e("div",{onClick:a[9]||(a[9]=i=>c("/order/tourism/refund")),class:"flex items-center cursor-pointer justify-center border-[1px] border-primary text-[12px] text-primary w-[70px] h-[30px] rounded-[3px]"},[e("span",null,t(o(s)("detailData")),1)])])]),_:1})]),_:1})]),e("div",$t,[n(_,{justify:"space-between"},{default:l(()=>[n(d,{span:5},{default:l(()=>[n(v,{value:x.value.hotel_order_num},{title:l(()=>[e("div",St,t(o(s)("hotelOrderNum")),1)]),_:1},8,["value"]),e("div",Vt,[e("div",null,[e("div",zt,[e("span",null,t(o(s)("accumulateOrderNum"))+"",1),e("span",At,t(f.value.hotel_order_num),1)]),e("div",Mt,[e("span",null,t(o(s)("yesterdayOrderNum"))+"",1),e("span",Bt," + "+t(m.value.hotel_order_num),1),Ft])]),e("div",{onClick:a[10]||(a[10]=i=>c("/order/tourism/hotel")),class:"flex items-center cursor-pointer justify-center border-[1px] border-primary text-[12px] text-primary w-[70px] h-[30px] rounded-[3px]"},[e("span",null,t(o(s)("detailData")),1)])])]),_:1}),n(d,{span:5},{default:l(()=>[n(v,{value:x.value.scenic_order_num},{title:l(()=>[e("div",It,t(o(s)("scenicOrderNum")),1)]),_:1},8,["value"]),e("div",Tt,[e("div",null,[e("div",Rt,[e("span",null,t(o(s)("accumulateOrderNum"))+"",1),e("span",Ht,t(f.value.scenic_order_num),1)]),e("div",Lt,[e("span",null,t(o(s)("yesterdayOrderNum"))+"",1),e("span",Ut," + "+t(m.value.scenic_order_num),1),Wt])]),e("div",{onClick:a[11]||(a[11]=i=>c("/order/tourism/scenic")),class:"flex items-center cursor-pointer justify-center border-[1px] border-primary text-[12px] text-primary w-[70px] h-[30px] rounded-[3px]"},[e("span",null,t(o(s)("detailData")),1)])])]),_:1}),n(d,{span:5},{default:l(()=>[n(v,{value:x.value.way_order_num},{title:l(()=>[e("div",Yt,t(o(s)("wayOrderNum")),1)]),_:1},8,["value"]),e("div",qt,[e("div",null,[e("div",Gt,[e("span",null,t(o(s)("accumulateOrderNum"))+"",1),e("span",Jt,t(f.value.way_order_num),1)]),e("div",Kt,[e("span",null,t(o(s)("yesterdayOrderNum"))+"",1),e("span",Pt," + "+t(m.value.way_order_num),1),Qt])]),e("div",{onClick:a[12]||(a[12]=i=>c("/order/tourism/way")),class:"flex items-center cursor-pointer justify-center border-[1px] border-primary text-[12px] text-primary w-[70px] h-[30px] rounded-[3px]"},[e("span",null,t(o(s)("detailData")),1)])])]),_:1}),n(d,{span:5},{default:l(()=>[n(v,{value:x.value.refund_num},{title:l(()=>[e("div",Xt,t(o(s)("refundOrderNum")),1)]),_:1},8,["value"]),e("div",Zt,[e("div",null,[e("div",es,[e("span",null,t(o(s)("accumulateOrderNum"))+"",1),e("span",ts,t(f.value.refund_num),1)]),e("div",ss,[e("span",null,t(o(s)("yesterdayOrderNum"))+"",1),e("span",os," + "+t(m.value.refund_num),1),as])]),e("div",{onClick:a[13]||(a[13]=i=>c("/order/tourism/refund")),class:"flex items-center cursor-pointer justify-center border-[1px] border-primary text-[12px] text-primary w-[70px] h-[30px] rounded-[3px]"},[e("span",null,t(o(s)("detailData")),1)])])]),_:1})]),_:1})]),e("div",ls,[n(z,{class:"box-card !border-none flex-1 mr-[15px]",shadow:"never"},{header:l(()=>[e("div",ns,[e("span",is,t(o(s)("statisticsDesc")),1)])]),default:l(()=>[e("div",rs,[e("div",ds,[n(y,{size:"small",onClick:a[14]||(a[14]=i=>N(b.value.hotel_order_num))},{default:l(()=>[w(t(o(s)("hotelData")),1)]),_:1}),n(y,{size:"small",onClick:a[15]||(a[15]=i=>N(b.value.scenic_order_num))},{default:l(()=>[w(t(o(s)("scenicData")),1)]),_:1}),n(y,{size:"small",onClick:a[16]||(a[16]=i=>N(b.value.way_order_num))},{default:l(()=>[w(t(o(s)("wayData")),1)]),_:1})]),e("div",{ref_key:"visitStat",ref:$,style:{width:"100%",height:"300px"}},null,512)])]),_:1}),n(z,{class:"box-card !border-none flex-1",shadow:"never"},{header:l(()=>[e("div",ps,[e("span",us,t(o(s)("statisticsToDesc")),1)])]),default:l(()=>[e("div",cs,[e("div",_s,[n(y,{size:"small",onClick:a[17]||(a[17]=i=>j(g.value.hotel_order_money))},{default:l(()=>[w(t(o(s)("hotelData")),1)]),_:1}),n(y,{size:"small",onClick:a[18]||(a[18]=i=>j(g.value.scenic_order_money))},{default:l(()=>[w(t(o(s)("scenicData")),1)]),_:1}),n(y,{size:"small",onClick:a[19]||(a[19]=i=>j(g.value.way_order_money))},{default:l(()=>[w(t(o(s)("wayData")),1)]),_:1})]),e("div",{ref_key:"hourStat",ref:S,style:{width:"100%",height:"300px"}},null,512)])]),_:1})])]),_:1})])),n(W,{modelValue:E.value,"onUpdate:modelValue":a[20]||(a[20]=i=>E.value=i),title:u.title||o(s)("verifyInfo"),width:"500px","destroy-on-close":!0},{footer:l(()=>[e("span",ws,[n(y,{type:"primary",onClick:H},{default:l(()=>[w(t(o(s)("confirm")),1)]),_:1})])]),default:l(()=>[A((M(),we(U,{model:u.formData,"label-width":"110px",ref:"formRef",rules:u.formRules,class:"page-form"},{default:l(()=>[n(D,{label:o(s)("verifyCode")},{default:l(()=>[e("div",ms,t(h.value),1)]),_:1},8,["label"]),n(D,{label:o(s)("goodsName")},{default:l(()=>[e("div",xs,t(C.value.goods_name),1)]),_:1},8,["label"]),n(D,{label:o(s)("goodsImg")},{default:l(()=>[e("img",{src:o(re)(C.value.goods_image)},null,8,fs)]),_:1},8,["label"]),n(D,{label:o(s)("mobile")},{default:l(()=>[e("div",vs,t(C.value.mobile),1)]),_:1},8,["label"]),n(D,{label:o(s)("orderTypeName")},{default:l(()=>[e("div",hs,t(C.value.order_type_name),1)]),_:1},8,["label"]),n(D,{label:o(s)("order_no")},{default:l(()=>[e("div",ys,t(C.value.order_no),1)]),_:1},8,["label"])]),_:1},8,["model","rules"])),[[B,O.value]])]),_:1},8,["modelValue","title"])])),[[B,O.value]])}}});const ro=Ce(bs,[["__scopeId","data-v-a1110937"]]);export{ro as default};