2 lines
3.2 KiB
JavaScript
2 lines
3.2 KiB
JavaScript
import{S as N,T as S,J as T,K as U,D as j,C as R,w as $,F as I,L as K,M,N as O,O as q}from"./element-plus.91c68cc0.js";import{_ as A}from"./index.vue_vue_type_script_setup_true_lang.863ae816.js";import{u as J}from"./usePaging.f8c888e4.js";import{d as b,Z,r as z,o as E,c as G,U as e,L as o,u as s,R as i,M as H,K as Q,a as C,j as W}from"./@vue.76ce7aa3.js";import"./lodash-es.f52bd8b1.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.9ffef7f8.js";import"./@element-plus.73235148.js";import"./dayjs.0112e2c7.js";import"./@babel.80d29b7b.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";const X={class:"mt-4"},Y={class:"flex mt-4 justify-end"},ee=b({name:"manageProjectLists"}),fe=b({...ee,setup(oe){const a=Z({status:""}),v=z([]),D=d=>{v.value=d.map(({id:l})=>l)},{pager:n,getLists:F,resetParams:g,resetPage:w}=J({params:a}),c=async d=>{};return(d,l)=>{const r=T,B=U,m=j,_=N,k=R,p=$,V=S,h=I,f=K,u=M,x=O,y=A,L=q;return E(),G("div",null,[e(f,{class:"!border-none mb-4",shadow:"never"},{default:o(()=>[e(h,{class:"mb-[-16px]",model:a,"label-width":"80px"},{default:o(()=>[e(V,null,{default:o(()=>[e(_,{span:6},{default:o(()=>[e(m,{label:"\u968F\u4FBF\u641C"},{default:o(()=>[e(B,{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(k,{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(()=>l[3]||(l[3]=[i("\u67E5\u8BE2")])),_:1},8,["onClick"]),e(p,{onClick:s(g)},{default:o(()=>l[4]||(l[4]=[i("\u91CD\u7F6E")])),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),H((E(),Q(f,{class:"!border-none",shadow:"never"},{default:o(()=>[C("div",X,[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:P=>c(t)},{default:o(()=>l[5]||(l[5]=[i(" \u7F16\u8F91 ")])),_:2},1032,["onClick"]),e(p,{type:"primary",link:"",onClick:P=>c(t)},{default:o(()=>l[6]||(l[6]=[i(" \u8D77\u7801\u5B50 ")])),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])]),C("div",Y,[e(y,{modelValue:s(n),"onUpdate:modelValue":l[2]||(l[2]=t=>W(n)?n.value=t:null),onChange:s(F)},null,8,["modelValue","onChange"])])]),_:1})),[[L,s(n).loading]])])}}});export{fe as default};
|