2 lines
4.2 KiB
JavaScript
2 lines
4.2 KiB
JavaScript
import{_ as T,Y as j,$ as U,Q as A,R as I,D as M,w as O,F as S,I as q,L as G,M as Q,N as W}from"./element-plus.eb2e53ea.js";import{_ as Y}from"./index.vue_vue_type_script_setup_true_lang.f75f9565.js";import{u as z}from"./usePaging.d25ebf19.js";import{b as H}from"./goodsList.8b033c8e.js";import{_ as J}from"./detail.vue_vue_type_script_setup_true_lang.9523c861.js";import{d as g,r as w,a0 as K,o as _,c as X,W as e,O as o,u as n,T as p,P as Z,M as C,a as D,j as ee,S as oe,n as te}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";import"./index.710daa76.js";import"./lodash.a2abcd4b.js";import"./vue-router.43c06794.js";import"./pinia.b5130627.js";import"./css-color-function.975e80a5.js";import"./color.d986aa86.js";import"./clone.704d8332.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./ms.564e106c.js";import"./nprogress.ded7f805.js";import"./vue-clipboard3.987889a8.js";import"./clipboard.af74a91f.js";import"./echarts.8535e5a6.js";import"./zrender.3eba8991.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.b8b719e9.js";import"./index.d17701d9.js";const le={class:"mt-4"},ae={class:"flex mt-4 justify-end"},se=g({name:"manageProjectLists"}),Ge=g({...se,setup(ne){const i=w(!1),f=w(null),s=K({times:"",types:""}),{pager:r,getLists:v,resetParams:F,resetPage:k}=z({fetchFun:H,params:s}),h=async E=>{i.value=!0,await te(),f.value.open()},y=async E=>{document.createElement("a").click()};return v(),(E,t)=>{const m=A,B=I,d=M,c=T,V=j,u=O,x=U,P=S,b=q,a=G,L=Q,$=Y,N=W;return _(),X("div",null,[e(b,{class:"!border-none mb-4",shadow:"never"},{default:o(()=>[e(P,{class:"mb-[-16px]",model:s,"label-width":"80px"},{default:o(()=>[e(x,null,{default:o(()=>[e(c,{span:6},{default:o(()=>[e(d,{label:"\u8D26\u5355\u7C7B\u578B"},{default:o(()=>[e(B,{class:"flex-1",modelValue:s.types,"onUpdate:modelValue":t[0]||(t[0]=l=>s.types=l),clearable:"",placeholder:"\u8BF7\u9009\u62E9\u8D26\u5355\u7C7B\u578B"},{default:o(()=>[e(m,{label:"\u65E5\u8D26\u5355",value:0}),e(m,{label:"\u5468\u8D26\u5355",value:0}),e(m,{label:"\u6708\u8D26\u5355",value:0})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(c,{span:6},{default:o(()=>[e(d,{label:"\u521B\u5EFA\u65F6\u95F4"},{default:o(()=>[e(V,{modelValue:s.times,"onUpdate:modelValue":t[1]||(t[1]=l=>s.times=l),type:"daterange","range-separator":"-","start-placeholder":"\u5F00\u59CB\u65F6\u95F4","end-placeholder":"\u7ED3\u675F\u65F6\u95F4"},null,8,["modelValue"])]),_:1})]),_:1}),e(c,{span:6},{default:o(()=>[e(d,null,{default:o(()=>[e(u,{type:"primary",onClick:n(k)},{default:o(()=>[p("\u67E5\u8BE2")]),_:1},8,["onClick"]),e(u,{onClick:n(F)},{default:o(()=>[p("\u91CD\u7F6E")]),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),Z((_(),C(b,{class:"!border-none",shadow:"never"},{default:o(()=>[D("div",le,[e(L,{data:[{}]},{default:o(()=>[e(a,{label:"id",prop:"id","show-overflow-tooltip":""}),e(a,{label:"\u6807\u9898",prop:"progress","show-overflow-tooltip":""}),e(a,{label:"\u65E5\u671F",prop:"progress","show-overflow-tooltip":""}),e(a,{label:"\u6536\u5165\u91D1\u989D",prop:"progress","show-overflow-tooltip":""}),e(a,{label:"\u652F\u51FA\u91D1\u989D",prop:"progress","show-overflow-tooltip":""}),e(a,{label:"\u95E8\u5E97\u6536\u5165\u8D26\u91D1\u989D",prop:"progress","show-overflow-tooltip":""}),e(a,{label:"\u64CD\u4F5C",width:"170",fixed:"right"},{default:o(({row:l})=>[e(u,{type:"primary",link:"",onClick:R=>h(l)},{default:o(()=>[p(" \u8D26\u5355\u8BE6\u60C5 ")]),_:2},1032,["onClick"]),e(u,{type:"primary",link:"",onClick:R=>y(l)},{default:o(()=>[p(" \u4E0B\u8F7D ")]),_:2},1032,["onClick"])]),_:1})]),_:1})]),D("div",ae,[e($,{modelValue:n(r),"onUpdate:modelValue":t[2]||(t[2]=l=>ee(r)?r.value=l:null),onChange:n(v)},null,8,["modelValue","onChange"])])]),_:1})),[[N,n(r).loading]]),i.value?(_(),C(J,{key:0,ref_key:"detailRef",ref:f,onClose:t[3]||(t[3]=l=>i.value=!1)},null,512)):oe("",!0)])}}});export{Ge as default};
|