multiStoreAdmin/build/store/assets/index.35714d68.js

2 lines
3.3 KiB
JavaScript
Raw Permalink Normal View History

2024-10-12 19:40:17 +08:00
import{$ as N,a0 as R,R as S,S as U,F as j,D as L,w as T,G as I,J as O,M as q,N as A,O as G}from"./element-plus.ab0703f2.js";import{_ as J}from"./index.vue_vue_type_script_setup_true_lang.5fc87b57.js";import{u as M}from"./usePaging.fff444fa.js";import{d as C,$ as Q,r as W,o as E,c as z,W as e,Q as o,u as s,U as i,R as H,P as K,a as b,j as X}from"./@vue.340249d8.js";import"./lodash-es.edba6135.js";import"./@vueuse.e3650918.js";import"./@element-plus.558a564d.js";import"./@popperjs.36402333.js";import"./@ctrl.b082b0c1.js";import"./dayjs.9886411c.js";import"./axios.45058a27.js";import"./async-validator.fb49d0f5.js";import"./memoize-one.4ee5c96d.js";import"./normalize-wheel-es.8aeb3683.js";import"./@floating-ui.0f9ce7c3.js";const Y={class:"mt-4"},Z={class:"flex mt-4 justify-end"},ee=C({name:"manageProjectLists"}),be=C({...ee,setup(oe){const a=Q({status:""}),v=W([]),D=c=>{v.value=c.map(({id:l})=>l)},{pager:n,getLists:F,resetParams:g,resetPage:w}=M({params:a}),d=async c=>{};return(c,l)=>{const r=S,h=U,m=j,_=N,B=L,p=T,k=R,V=I,f=O,u=q,x=A,y=J,P=G;return E(),z("div",null,[e(f,{class:"!border-none mb-4",shadow:"never"},{default:o(()=>[e(V,{class:"mb-[-16px]",model:a,"label-width":"80px"},{default:o(()=>[e(k,null,{default:o(()=>[e(_,{span:6},{default:o(()=>[e(m,{label:"\u968F\u4FBF\u641C"},{default:o(()=>[e(h,{class:"flex-1",modelValue:a.status,"onUpdate:modelValue":l[0]||(l[0]=t=>a.status=t),clearable:"",placeholder:"\u8BF7\u9009\u62E9\u5546\u54C1\u72B6\u6001"},{default:o(()=>[e(r,{label:"\u9500\u552E\u4E2D",value:0}),e(r,{label:"\u4ED3\u5E93\u4E2D",value:0}),e(r,{label:"\u5DF2\u552E\u7F44",value:0}),e(r,{label:"\u5E93\u5B58\u9884\u8B66",value:0})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(_,{span:6},{default:o(()=>[e(m,{label:"\u968F\u4FBF\u641C",prop:"nature"},{default:o(()=>[e(B,{modelValue:a.status,"onUpdate:modelValue":l[1]||(l[1]=t=>a.status=t),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u5546\u54C1\u540D\u79F0"},null,8,["modelValue"])]),_:1})]),_:1}),e(_,{span:6},{default:o(()=>[e(m,null,{default:o(()=>[e(p,{type:"primary",onClick:s(w)},{default:o(()=>[i("\u67E5\u8BE2")]),_:1},8,["onClick"]),e(p,{onClick:s(g)},{default:o(()=>[i("\u91CD\u7F6E")]),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),H((E(),K(f,{class:"!border-none",shadow:"never"},{default:o(()=>[b("div",Y,[e(x,{data:s(n).lists,onSelectionChange:D},{default:o(()=>[e(u,{label:"\u5165\u8D26\u95E8\u5E97",prop:"progress","show-overflow-tooltip":""}),e(u,{label:"\u5165\u8D26\u65F6\u95F4",prop:"progress","show-overflow-tooltip":""}),e(u,{label:"\u5E94\u5165\u5E10\u91D1\u989D",prop:"progress","show-overflow-tooltip":""}),e(u,{label:"\u5DF2\u5165\u8D26\u91D1\u989D",prop:"progress","show-overflow-tooltip":""}),e(u,{label:"\u672A\u5165\u8D26\u91D1\u989D",prop:"progress","show-overflow-tooltip":""}),e(u,{label:"\u64CD\u4F5C",width:"170",fixed:"right"},{default:o(({row:t})=>[e(p,{type:"primary",link:"",onClick:$=>d(t)},{default:o(()=>[i(" \u7F16\u8F91 ")]),_:2},1032,["onClick"]),e(p,{type:"primary",link:"",onClick:$=>d(t)},{default:o(()=>[i(" \u8D77\u7801\u5B50 ")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])]),b("div",Z,[e(y,{modelValue:s(n),"onUpdate:modelValue":l[2]||(l[2]=t=>X(n)?n.value=t:null),onChange:s(F)},null,8,["modelValue","onChange"])])]),_:1})),[[P,s(n).loading]])])}}});export{be as default};