/
home
/
liman
/
app
/
assets
/
File Upload :
llllll
Current File: /home/liman/app/assets/index.6b9082d4.js
import{u as w,_ as $}from"./NavBar.f4807b2d.js";import{_ as A}from"./SearchSettingContainer.d2223b06.js";import{I as h,C as k}from"./collapseMotion.e905975b.js";import{_ as v}from"./Tag.a91e644c.js";import{d as g,o as n,c as m,a as s,D as c,J as e,u,n as B,K as F,X as O,b as d,f as z,I as y,G as E,F as I,L as N}from"./index.9d36a389.js";import{D as V}from"./index.81fddb4c.js";import{C as j}from"./Card.faae0a98.js";import{_ as L}from"./FloatButton.8f4c3927.js";import{u as M,E as P}from"./Empty.7c33d52d.js";import"./index.4df800eb.js";import"./TextArea.a58a9020.js";import"./FormItemContext.64df96ea.js";import"./SearchOutlined.66811f59.js";import"./Col.fb560820.js";import"./EyeOutlined.40684d71.js";import"./baseColor.1bb51b09.js";/* empty css */import"./index.ea587821.js";import"./useRefs.055ab1bc.js";const S={class:"flex justify-between"},D=F("158 #"),G=e("span",{class:"text-gray-400"},"12:45 - 1400/05/10",-1),J=e("div",{class:"flex justify-between mt-4"},[e("span",{class:"font-bold"},"\u0639\u0644\u06CC\u0631\u0636\u0627 \u062D\u0633\u06CC\u0646\u06CC"),e("div",{class:"flex items-center"},[e("span",{class:"font-bold text-success mr-1"},"79+"),e("span",{class:"text-small text-success"},"\u06AF\u0631\u0645")])],-1),K={class:"flex justify-between items-center mt-4"},X={class:"flex"},q={class:"flex items-center"},H=e("span",null,"\u067E\u0648\u0644 \u0646\u0642\u062F",-1),Q={class:"flex items-center"},R=e("span",{class:"mr-1"},"\u0645\u0634\u0627\u0647\u062F\u0647",-1),U=g({__name:"Order",props:{type:{default:"primary"}},setup(t){const r=t,{prefixCls:o}=w("order");return(l,_)=>(n(),m("div",{class:B([`${u(o)}`,`${r.type}`])},[s(u(j),{class:"card-padding-16"},{default:c(()=>[e("div",S,[s(v,{type:"light-info"},{default:c(()=>[D]),_:1}),G]),J,s(u(V)),e("div",K,[e("div",X,[s(v,{type:"success",class:"mr-2"},{default:c(()=>[e("div",q,[s(h,{icon:"vuesax-linear:box",size:"14",class:"mr-1"}),H])]),_:1})]),s(u(k),{class:"!text-info !p-0",type:"link"},{default:c(()=>[e("div",Q,[R,s(h,{icon:"vuesax-linear:arrow-left",size:"14"})])]),_:1})])]),_:1})],2))}});var C=(t=>(t[t.document=1]="document",t[t.factor=2]="factor",t))(C||{});async function W(t){return t.filters.push({field:"type",value:C.factor}),await O.post("/my-document/table",t)}const Y={class:"p-4"},ve=g({__name:"index",setup(t){const r=d(),o={page:1,limit:10,filters:[]},l=d(!0),_=d();M(_,async()=>{var a;try{const i=Math.ceil(((a=r.value)==null?void 0:a.count)/o.limit);o.page<i&&(o.page++,await f())}catch(i){console.log(i)}},{distance:50});async function f(){try{l.value=!0;const{data:a}=await W(o);r.value=a}catch(a){console.log(a)}finally{l.value=!1}}return z(async()=>{try{await f()}catch(a){console.log(a)}}),(a,i)=>{var p,x;return n(),m("div",Y,[s($,{title:"\u0644\u06CC\u0633\u062A \u0641\u0627\u06A9\u062A\u0648\u0631\u0647\u0627"}),s(A,{showSetting:!1,placeholder:"\u062C\u0633\u062A\u062C\u0648\u06CC \u0641\u0627\u06A9\u062A\u0648\u0631"}),((p=r.value)==null?void 0:p.rows[0].length)===0?(n(),y(P,{key:0})):E("",!0),(n(!0),m(I,null,N((x=r.value)==null?void 0:x.rows[0],(Z,b)=>(n(),y(U,{key:b,class:"mb-2"}))),128)),s(L)])}}});export{ve as default};
Copyright ©2k19 -
Hexid
|
Tex7ure