2 lines
3.2 KiB
JavaScript
2 lines
3.2 KiB
JavaScript
import{_ as N,$ as T,Q as $,R as j,D as I,C as R,w as S,F as U,I as M,L as O,M as q,N as A}from"./element-plus.0a93cab1.js";import{_ as Q}from"./index.vue_vue_type_script_setup_true_lang.3863431c.js";import{u as W}from"./usePaging.d25ebf19.js";import{d as b,a0 as z,r as G,o as E,c as H,W as e,O as o,u as s,T as i,P as J,M as K,a as C,j as X}from"./@vue.c3e77981.js";import"./@vueuse.a48d0173.js";import"./@element-plus.12c58ce2.js";import"./lodash-es.2b5acb28.js";import"./dayjs.16ed1fda.js";import"./axios.a8078129.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.b082b0c1.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";const Y={class:"mt-4"},Z={class:"flex mt-4 justify-end"},ee=b({name:"manageProjectLists"}),Ee=b({...ee,setup(oe){const a=z({status:""}),v=G([]),D=_=>{v.value=_.map(({id:l})=>l)},{pager:n,getLists:F,resetParams:g,resetPage:w}=W({params:a}),d=async _=>{};return(_,l)=>{const r=$,h=j,c=I,m=N,B=R,p=S,k=T,V=U,f=M,u=O,x=q,y=Q,P=A;return E(),H("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(m,{span:6},{default:o(()=>[e(c,{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(m,{span:6},{default:o(()=>[e(c,{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(m,{span:6},{default:o(()=>[e(c,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}),J((E(),K(f,{class:"!border-none",shadow:"never"},{default:o(()=>[C("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:L=>d(t)},{default:o(()=>[i(" \u7F16\u8F91 ")]),_:2},1032,["onClick"]),e(p,{type:"primary",link:"",onClick:L=>d(t)},{default:o(()=>[i(" \u8D77\u7801\u5B50 ")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])]),C("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{Ee as default};
|