2 lines
4.3 KiB
JavaScript
2 lines
4.3 KiB
JavaScript
import{$ as T,Z as U,a0 as j,R as A,S as G,F as O,w as S,G as q,J as I,M as J,N as M,O as Q}from"./element-plus.ab0703f2.js";import{_ as W}from"./index.vue_vue_type_script_setup_true_lang.5fc87b57.js";import{u as Z}from"./usePaging.fff444fa.js";import{a as z}from"./goodsList.6db23e0d.js";import{_ as H}from"./detail.vue_vue_type_script_setup_true_lang.4f2c57d3.js";import{d as g,r as C,$ as K,o as _,c as X,W as e,Q as o,u as r,U as p,R as Y,P as b,a as D,j as ee,T as oe,n as te}from"./@vue.340249d8.js";import"./lodash-es.edba6135.js";import"./@vueuse.e3650918.js";import"./@element-plus.558a564d.js";import"./@popperjs.36402333.js";import"./@ctrl.b082b0c1.js";import"./dayjs.9886411c.js";import"./axios.45058a27.js";import"./async-validator.fb49d0f5.js";import"./memoize-one.4ee5c96d.js";import"./normalize-wheel-es.8aeb3683.js";import"./@floating-ui.0f9ce7c3.js";import"./index.806598d1.js";import"./lodash.3d784a58.js";import"./vue-router.9ddb0e92.js";import"./pinia.97fe9b12.js";import"./css-color-function.5c1c877d.js";import"./color.97e03886.js";import"./clone.cfa55f7b.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.8c276ac9.js";import"./vue-clipboard3.44194d32.js";import"./clipboard.47836ecb.js";import"./echarts.8535e5a6.js";import"./zrender.3eba8991.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.309a94da.js";import"./index.d1f8959e.js";const le={class:"mt-4"},ae={class:"flex mt-4 justify-end"},se=g({name:"manageProjectLists"}),Me=g({...se,setup(re){const i=C(!1),f=C(null),s=K({times:"",types:""}),{pager:n,getLists:v,resetParams:F,resetPage:k}=Z({fetchFun:z,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=G,d=O,c=T,V=U,u=S,x=j,P=q,w=I,a=J,$=M,R=W,L=Q;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:r(k)},{default:o(()=>[p("\u67E5\u8BE2")]),_:1},8,["onClick"]),e(u,{onClick:r(F)},{default:o(()=>[p("\u91CD\u7F6E")]),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),Y((_(),b(w,{class:"!border-none",shadow:"never"},{default:o(()=>[D("div",le,[e($,{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:N=>h(l)},{default:o(()=>[p(" \u8D26\u5355\u8BE6\u60C5 ")]),_:2},1032,["onClick"]),e(u,{type:"primary",link:"",onClick:N=>y(l)},{default:o(()=>[p(" \u4E0B\u8F7D ")]),_:2},1032,["onClick"])]),_:1})]),_:1})]),D("div",ae,[e(R,{modelValue:r(n),"onUpdate:modelValue":t[2]||(t[2]=l=>ee(n)?n.value=l:null),onChange:r(v)},null,8,["modelValue","onChange"])])]),_:1})),[[L,r(n).loading]]),i.value?(_(),b(H,{key:0,ref_key:"detailRef",ref:f,onClose:t[3]||(t[3]=l=>i.value=!1)},null,512)):oe("",!0)])}}});export{Me as default};
|