2024-06-18 17:27:08 +08:00
|
|
|
import{$ as T,Y as j,a0 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.61695454.js";import{_ as Y}from"./index.vue_vue_type_script_setup_true_lang.33ea11c1.js";import{u as z}from"./usePaging.d25ebf19.js";import{a as H}from"./goodsList.c5eab8de.js";import{_ as J}from"./detail.vue_vue_type_script_setup_true_lang.8e0a0324.js";import{d as g,r as C,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 b,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.aab340cd.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.81b5eba5.js";const le={class:"mt-4"},ae={class:"flex mt-4 justify-end"},se=g({name:"manageProjectLists"}),Ge=g({...se,setup(ne){const i=C(!1),f=C(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,w=q,a=G,L=Q,$=Y,N=W;return _(),X("div",null,[e(w,{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((_(),b(w,{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=
|