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.4a7d92a3.js";import{_ as A}from"./index.vue_vue_type_script_setup_true_lang.5d4e738c.js";import{u as J}from"./usePaging.6a6670f9.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.18505fe0.js";import"./lodash-es.f52bd8b1.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.fbc6a400.js";import"./@element-plus.edbd5a83.js";import"./dayjs.7347fedc.js";import"./axios.4607972f.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=c=>{v.value=c.map(({id:l})=>l)},{pager:n,getLists:F,resetParams:g,resetPage:w}=J({params:a}),m=async c=>{};return(c,l)=>{const r=T,h=U,_=j,d=N,B=R,p=$,k=S,V=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(V,{class:"mb-[-16px]",model:a,"label-width":"80px"},{default:o(()=>[e(k,null,{default:o(()=>[e(d,{span:6},{default:o(()=>[e(_,{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(d,{span:6},{default:o(()=>[e(_,{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(d,{span:6},{default:o(()=>[e(_,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(),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=>m(t)},{default:o(()=>[i(" \u7F16\u8F91 ")]),_:2},1032,["onClick"]),e(p,{type:"primary",link:"",onClick:P=>m(t)},{default:o(()=>[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};
|