multiStoreAdmin/build/store/assets/index.8f21ef92.js

2 lines
4.2 KiB
JavaScript

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.9175fe58.js";import{_ as Y}from"./index.vue_vue_type_script_setup_true_lang.0fb3ad1e.js";import{u as z}from"./usePaging.d25ebf19.js";import{a as H}from"./goodsList.29bb5915.js";import{_ as J}from"./detail.vue_vue_type_script_setup_true_lang.3400185f.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.1f51da93.js";import"./axios.13991fdc.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.669f9987.js";import"./lodash.6c5d06b3.js";import"./vue-router.43c06794.js";import"./pinia.b5130627.js";import"./css-color-function.23ed6179.js";import"./color.9c368256.js";import"./clone.e9277309.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.212df0f4.js";import"./vue-clipboard3.f310ddad.js";import"./clipboard.141ef824.js";import"./echarts.8535e5a6.js";import"./zrender.3eba8991.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.b8b719e9.js";import"./index.c7b1c52d.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=l:null),onChange:n(v)},null,8,["modelValue","onChange"])])]),_:1})),[[N,n(r).loading]]),i.value?(_(),b(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};