2 lines
2.9 KiB
JavaScript
2 lines
2.9 KiB
JavaScript
|
import{m as C,aT as T,r as N,bd as S,be as U,p as b,q as $,t as e,v as l,u as s,a2 as d,L as j,y as q,x as E,i as I,b3 as R,b4 as A,aX as O,aW as W,ae as X,aY as Y,b5 as z,b6 as G,b7 as H,b8 as J}from"./.pnpm.1b0299fb.js";import{_ as K}from"./index.vue_vue_type_script_setup_true_lang.b077f234.js";import{u as M}from"./usePaging.00aa976d.js";const Q={class:"mt-4"},Z={class:"flex mt-4 justify-end"},ee=C({name:"manageProjectLists"}),ue=C({...ee,setup(le){const t=T({status:""}),v=N([]),D=i=>{v.value=i.map(({id:o})=>o)},{pager:n,getLists:F,resetParams:g,resetPage:w}=M({params:t}),c=async i=>{};return(i,o)=>{const r=R,B=A,_=O,m=S,k=W,p=X,V=U,x=Y,f=z,u=G,y=H,h=K,P=J;return b(),$("div",null,[e(f,{class:"!border-none mb-4",shadow:"never"},{default:l(()=>[e(x,{class:"mb-[-16px]",model:t,"label-width":"80px"},{default:l(()=>[e(V,null,{default:l(()=>[e(m,{span:6},{default:l(()=>[e(_,{label:"\u968F\u4FBF\u641C"},{default:l(()=>[e(B,{class:"flex-1",modelValue:t.status,"onUpdate:modelValue":o[0]||(o[0]=a=>t.status=a),clearable:"",placeholder:"\u8BF7\u9009\u62E9\u5546\u54C1\u72B6\u6001"},{default:l(()=>[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(m,{span:6},{default:l(()=>[e(_,{label:"\u968F\u4FBF\u641C",prop:"nature"},{default:l(()=>[e(k,{modelValue:t.status,"onUpdate:modelValue":o[1]||(o[1]=a=>t.status=a),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u5546\u54C1\u540D\u79F0"},null,8,["modelValue"])]),_:1})]),_:1}),e(m,{span:6},{default:l(()=>[e(_,null,{default:l(()=>[e(p,{type:"primary",onClick:s(w)},{default:l(()=>o[3]||(o[3]=[d("\u67E5\u8BE2")])),_:1},8,["onClick"]),e(p,{onClick:s(g)},{default:l(()=>o[4]||(o[4]=[d("\u91CD\u7F6E")])),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),j((b(),q(f,{class:"!border-none",shadow:"never"},{default:l(()=>[E("div",Q,[e(y,{data:s(n).lists,onSelectionChange:D},{default:l(()=>[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:l(({row:a})=>[e(p,{type:"primary",link:"",onClick:L=>c(a)},{default:l(()=>o[5]||(o[5]=[d(" \u7F16\u8F91 ")])),_:2},1032,["onClick"]),e(p,{type:"primary",link:"",onClick:L=>c(a)},{default:l(()=>o[6]||(o[6]=[d(" \u8D77\u7801\u5B50 ")])),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])]),E("div",Z,[e(h,{modelValue:s(n),"onUpdate:modelValue":o[2]||(o[2]=a=>I(n)?n.value=a:null),onChange:s(F)},null,8,["modelValue","onChange"])])]),_:1})),[[P,s(n).loading]])])}}});export{ue as default};
|