1 |
- import{_ as Q,W as X,a as l,r as Y,B as Z,a_ as ee,b as z,o as n,g as i,d as e,e as x,w as te,u as _,S as T,F as B,n as F,m as c,c as se,ai as oe,t as u,l as ae,ah as ne,x as ie,I as v,K as le,L as de,y as M,a3 as R,h as p,aG as ce,E as U,a$ as re,b0 as _e}from"./index.72154002.js";import{C as ue}from"./CentreNav.46c20ca0.js";import{i as ve}from"./CountDate.vue_vue_type_style_index_0_scoped_true_lang.3ca8e646.js";import{F as pe}from"./Footer.45af0053.js";import{a as he,d as fe}from"./index.6c4e2837.js";/* empty css */const k=y=>(le("data-v-78fac3f5"),y=y(),de(),y),ge={class:"login-wrapper"},me={class:"register"},ke={class:"register-left"},xe={class:"register-content"},ye=k(()=>e("div",{class:"collect-tops"},[e("div",{class:"icons"},[e("img",{src:"http://screen-test.zhousi.hdlkeji.com/aksdbn/img/order-icon.png"})]),e("div",null,"\u6211\u7684\u8BA2\u5355")],-1)),we={class:"evaluate-nav"},Ce=["data-id","onClick"],be={class:"line"},Ie=oe('<div class="tops" data-v-78fac3f5><div class="tops-order-text" style="margin:0 250px 0 210px;" data-v-78fac3f5>\u8BA2\u5355\u8BE6\u60C5</div><div class="tops-order-text" data-v-78fac3f5>\u91D1\u989D</div><div class="tops-order-text" style="margin:0 170px 0 170px;" data-v-78fac3f5><span data-v-78fac3f5>\u72B6\u6001</span><img src="http://screen-test.zhousi.hdlkeji.com/aksdbn/img/screen-icon.png" width="12" style="margin-left:5px;" data-v-78fac3f5></div><div class="tops-order-text" data-v-78fac3f5>\u64CD\u4F5C</div></div>',1),ze={key:0,class:"news-no"},Be=k(()=>e("img",{src:"http://screen-test.zhousi.hdlkeji.com/aksdbn/img/news-no-bg6.png"},null,-1)),Ee=k(()=>e("div",null,"\u6682\u65E0\u8BA2\u5355\u4FE1\u606F",-1)),Ve=[Be,Ee],Ne=k(()=>e("div",{style:{height:"20px"}},null,-1)),Se=["onClick"],$e={class:"list-tops"},Le={class:"list-time"},Te={class:"orderNo"},Fe={class:"evaluate-goods"},Me={class:"order-info"},Re={class:"order-img"},Ue=["src"],je={class:"order-name overflow2"},De={class:"order-money color-s"},qe={class:"order-money",style:{"border-right":"none","line-height":"normal"}},Oe={key:0,style:{margin:"30px 0 10px 0"}},Ae=["onClick"],Ge=["onClick"],He={key:1},Ke=["href"],Pe=["onClick"],We=["onClick"],Je={key:2},Qe=["href"],Xe=k(()=>e("div",{class:"download",style:{"margin-top":"30px",color:"#999","font-size":"12px"}},"\u5408\u540C\u4E0B\u8F7D",-1)),Ye=[Xe],Ze=["onClick"],et={key:3},tt=["href"],st=k(()=>e("div",{class:"download",style:{"margin-top":"30px",color:"#999","font-size":"12px",cursor:"pointer"}},"\u5408\u540C\u4E0B\u8F7D",-1)),ot=[st],at=["onClick"],nt=["onClick"],it={class:"pages"},lt={__name:"index",setup(y){localStorage.getItem("USER__INFO__")&&X().then(s=>{}),l(["\u8D44\u8BAF\u4E2D\u5FC3"]);let E=l(1),V=l(10),w=l(null);l(0);let N=l(""),h=l(!1),f=l(""),S=l(""),C=l("");const j=s=>{window.location.href=s},D=(s,o)=>{var a=new Image;a.setAttribute("crossOrigin","anonymous"),a.onload=function(){var m=document.createElement("canvas");m.width=a.width,m.height=a.height;var I=m.getContext("2d");I.drawImage(a,0,0,a.width,a.height);var t=m.toDataURL("image/png"),r=document.createElement("a"),d=new MouseEvent("click");r.download=o||"photo",r.href=t,r.dispatchEvent(d)},a.src=s},q=[{name:"\u5168\u90E8\u8BA2\u5355",id:-1},{name:"\u5F85\u4ED8\u6B3E",id:0},{name:"\u5F85\u53D1\u8D27",id:5},{name:"\u5F85\u6536\u8D27",id:10},{name:"\u5DF2\u5B8C\u6210",id:20},{name:"\u5DF2\u53D6\u6D88",id:30},{name:"\u9000\u6B3E\u9000\u8D27",id:40}],O={0:"\u5F85\u652F\u4ED8",5:"\u5F85\u53D1\u8D27",10:"\u5F85\u6536\u8D27",20:"\u5DF2\u5B8C\u6210",30:"\u5DF2\u53D6\u6D88",40:"\u9000\u6B3E\u9000\u8D27"},A=s=>{E.value=s,g()};let $=l(0);const G=(s,o)=>{$.value=s,C.value=o,g()},b=Y({arr:[]}),H=s=>{M(),R.push({path:"/user/order/pay",query:{id:s.id}})},K=(s,o)=>{N.value=s,S.value=o,h.value=!0},P=()=>{if(f.value==""){p.error("\u8BF7\u8F93\u5165\u8BC4\u4EF7\u5185\u5BB9");return}let s={goods_id:N.value,order_id:S.value,content:f.value};ce(s).then(o=>{o.code==1?(p.success("\u8BC4\u4EF7\u6210\u529F"),g(),h.value=!1):p.error(o.msg)})},L=s=>{U({title:"\u63D0\u793A",message:"\u662F\u5426\u786E\u8BA4\u6536\u8D27?",showCancelButton:!0,confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",callback:o=>{o==="confirm"&&re({id:s}).then(a=>{a.code==1?(p.success("\u6536\u8D27\u6210\u529F"),g()):p.error(a.msg)})}})},W=s=>{U({title:"\u63D0\u793A",message:"\u786E\u8BA4\u53D6\u6D88\u8BE5\u8BA2\u5355\u5417\uFF1F",showCancelButton:!0,confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",callback:o=>{o==="confirm"&&_e({id:s}).then(a=>{a.code==1?(p.success("\u53D6\u6D88\u6210\u529F"),g()):p.error(a.msg)})}})};Z(()=>{g()});const g=()=>{let s={page:E.value,limit:V.value};C.value>=0&&(s.status=C.value),ee(s).then(o=>{o.code==1&&(b.arr=o.data.data,w.value=o.data.total)})},J=s=>{M(),R.push({path:"/user/order/detail",query:{id:s}})};return he(),(s,o)=>{const a=z("el-input"),m=z("el-dialog"),I=z("el-pagination");return n(),i(B,null,[e("div",ge,[x(m,{modelValue:_(h),"onUpdate:modelValue":o[1]||(o[1]=t=>T(h)?h.value=t:h=t),"show-close":!1,"align-center":"",title:"\u8BC4\u4EF7\u5546\u54C1"},{default:te(()=>[x(a,{style:{"font-size":"16px"},modelValue:_(f),"onUpdate:modelValue":o[0]||(o[0]=t=>T(f)?f.value=t:f=t),rows:5,type:"textarea",placeholder:"\u8BF7\u7559\u4E0B\u60A8\u5B9D\u8D35\u7684\u610F\u89C1\u2026"},null,8,["modelValue"]),e("div",{class:"buttons",onClick:P},"\u786E\u8BA4")]),_:1},8,["modelValue"]),e("div",null,[x(ve)]),e("div",me,[e("div",ke,[x(ue,{navIndexs:0})]),e("div",xe,[ye,e("div",we,[(n(),i(B,null,F(q,(t,r)=>e("div",{class:"evaluate-nav-view","data-id":r,onClick:d=>G(r,t.id)},[e("div",null,u(t.name),1),ae(e("div",be,null,512),[[ne,_($)==r]])],8,Ce)),64))]),Ie,b.arr==""?(n(),i("div",ze,Ve)):c("v-if",!0),Ne,(n(!0),i(B,null,F(b.arr,(t,r)=>(n(),i("div",null,[t.info[0]?(n(),i("div",{key:0,class:"list",onClick:d=>J(t.id)},[e("div",null,[e("div",$e,[e("div",Le,u(_(fe)(t.create_time)),1),e("div",Te,"\u8BA2\u5355\u53F7\uFF1A"+u(t.order_no),1)]),e("div",Fe,[e("div",Me,[e("div",Re,[e("img",{src:t.info[0].logo},null,8,Ue)]),e("div",je,u(t.info[0].goods_name)+u(t.info[0].sku_name),1)]),e("div",De,"\xA5"+u(t.amount_pay),1),e("div",{class:ie(["order-status order-money","class"+t.status])},u(O[t.status]),3),e("div",qe,[t.status==0?(n(),i("div",Oe,[e("div",{class:"size",onClick:v(d=>W(t.id),["stop"])},"\u53D6\u6D88\u8BA2\u5355",8,Ae),t.status==0?(n(),i("div",{key:0,class:"order-button",style:{"margin-top":"10px"},onClick:v(d=>H(t),["stop"])},"\u7ACB\u5373\u652F\u4ED8",8,Ge)):c("v-if",!0)])):c("v-if",!0),t.status==10?(n(),i("div",He,[e("a",{href:t.contract_link,target:"_self"},[e("div",{class:"download",onClick:v(d=>j(t.contract_link),["stop"]),style:{"margin-top":"30px",color:"#999","font-size":"12px"}},"\u5408\u540C\u4E0B\u8F7D",8,Pe)],8,Ke),e("div",{class:"order-button",onClick:v(d=>L(t.id),["stop"]),style:{"margin-top":"10px"}},"\u786E\u8BA4\u6536\u8D27",8,We),c(' <div class="download" v-if="item.status==5 || item.status==10 || item.status==20" @click.stop="donwload(item.contract_link)" style="margin-top: 40px;color: #999;font-size: 12px;">\u5408\u540C\u4E0B\u8F7D</div> ')])):c("v-if",!0),t.status==5?(n(),i("div",Je,[e("a",{href:t.contract_link},Ye,8,Qe),e("div",{class:"order-button",onClick:v(d=>L(t.id),["stop"]),style:{"margin-top":"10px"}},"\u786E\u8BA4\u6536\u8D27",8,Ze)])):c("v-if",!0),t.status==20?(n(),i("div",et,[e("a",{href:t.contract_link},ot,8,tt),e("div",{class:"download",onClick:v(d=>D(t.tax_link),["stop"]),style:{"margin-top":"5px",color:"#999","font-size":"12px",cursor:"pointer"}},"\u53D1\u7968\u4E0B\u8F7D",8,at),t.is_evaled==!1?(n(),i("div",{key:0,class:"order-button",onClick:v(d=>K(t.info[0].goods_id,t.info[0].order_id),["stop"]),style:{"margin-top":"10px"}},"\u53BB\u8BC4\u4EF7",8,nt)):c("v-if",!0)])):c("v-if",!0)])])])],8,Se)):c("v-if",!0)]))),256)),e("div",it,[_(w)>10?(n(),se(I,{key:0,background:"",layout:"prev, pager, next",total:_(w),class:"mt-4","page-size":_(V),onCurrentChange:A},null,8,["total","page-size"])):c("v-if",!0)])])])]),x(pe)],64)}}};var pt=Q(lt,[["__scopeId","data-v-78fac3f5"]]);export{pt as default};
|