engineering/public/admin/assets/index.bbb8dfd4.js
2024-02-27 10:28:16 +08:00

2 lines
3.9 KiB
JavaScript

import{G as T,H as j,y as S,w as q,D as I,C as M,L as O,M as U,N as G}from"./element-plus.517d4382.js";import{_ as H}from"./index.vue_vue_type_script_setup_true_lang.5ae95555.js";import{u as R}from"./usePaging.f6660143.js";import{u as W}from"./useDictOptions.b5854a9e.js";import{c as $}from"./approve.bbbe5096.js";import{d as B,a0 as z,r as J,a5 as K,ai as Q,o as n,c as h,V as t,M as e,O as v,u as l,L as u,W as X,a8 as Y,a as w,k as Z,T as m}from"./@vue.ab566ce7.js";import"./@vueuse.8fcae4c2.js";import"./@element-plus.b89f1627.js";import"./lodash-es.49f4af13.js";import"./dayjs.4afe12d3.js";import"./axios.37fc980d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.8b1962e9.js";import"./lodash.1d82ee7c.js";import"./vue-router.87ebc608.js";import"./pinia.b6700c26.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.d0bec2c9.js";import"./color.ea90db3f.js";import"./clone.cbd692e6.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.ad6bc3c0.js";import"./ms.a9ae1d6d.js";import"./nprogress.bcdf1f46.js";import"./vue-clipboard3.c45111bf.js";import"./clipboard.1cb79a0d.js";import"./echarts.b30ab882.js";import"./tslib.60310f1a.js";import"./zrender.3760070d.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.62ff6725.js";const tt=m("\u67E5\u8BE2"),et=m("\u91CD\u7F6E"),ot={class:"mt-4"},at=m(" \u8BE6\u60C5 "),lt={class:"flex justify-end mt-4"},st=B({name:"projectLists"}),Rt=B({...st,setup(rt){const i=z({type:1,check_status:""}),b=J([]),k=_=>{b.value=_.map(({id:s})=>s)},{dictData:C}=W("check_status"),{pager:r,getLists:c,resetParams:E,resetPage:y}=R({fetchFun:$,params:i});return c(),(_,s)=>{const g=T,F=j,d=S,p=q,D=I,f=M,o=O,A=K("router-link"),V=U,x=H,L=Q("perms"),N=G;return n(),h("div",null,[t(f,{class:"!border-none mb-4",shadow:"never"},{default:e(()=>[t(D,{class:"mb-[-16px]",model:i,inline:""},{default:e(()=>[t(d,{label:"\u5BA1\u6838\u72B6\u6001",prop:"project_type"},{default:e(()=>[t(F,{modelValue:i.check_status,"onUpdate:modelValue":s[0]||(s[0]=a=>i.check_status=a)},{default:e(()=>[(n(!0),h(X,null,Y(l(C).check_status,(a,P)=>(n(),u(g,{key:P,label:a.name,value:a.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(d,null,{default:e(()=>[t(p,{type:"primary",onClick:l(y)},{default:e(()=>[tt]),_:1},8,["onClick"]),t(p,{onClick:l(E)},{default:e(()=>[et]),_:1},8,["onClick"])]),_:1})]),_:1},8,["model"])]),_:1}),v((n(),u(f,{class:"!border-none",shadow:"never"},{default:e(()=>[w("div",ot,[t(V,{data:l(r).lists,onSelectionChange:k},{default:e(()=>[t(o,{type:"selection",width:"55"}),t(o,{label:"\u5E8F\u53F7",type:"index",width:"55"}),t(o,{label:"\u5BA1\u6279\u4E3B\u9898",prop:"title","show-overflow-tooltip":""}),t(o,{label:"\u7533\u8BF7\u4EBA",prop:"create_user","show-overflow-tooltip":""}),t(o,{label:"\u5BA1\u6838\u72B6\u6001",prop:"check_status","show-overflow-tooltip":""}),t(o,{label:"\u7533\u8BF7\u65F6\u95F4",prop:"create_time","show-overflow-tooltip":""}),t(o,{label:"\u5BA1\u6279\u7C7B\u578B",prop:"flow_type_name","show-overflow-tooltip":""}),t(o,{label:"\u5BA1\u6279\u6D41\u7A0B",prop:"flow_name","show-overflow-tooltip":""}),t(o,{label:"\u5F53\u524D\u5BA1\u6279\u4EBA",prop:"current_check_user","show-overflow-tooltip":""}),t(o,{label:"\u6284\u9001\u4EBA",prop:"copy_user","show-overflow-tooltip":""}),t(o,{label:"\u64CD\u4F5C",width:"150",fixed:"right"},{default:e(({row:a})=>[t(A,{to:{path:a.path,query:{listId:a.content_id}}},{default:e(()=>[v((n(),u(p,{type:"primary",link:""},{default:e(()=>[at]),_:1})),[[L,["safety.safety_target/edit"]]])]),_:2},1032,["to"])]),_:1})]),_:1},8,["data"])]),w("div",lt,[t(x,{modelValue:l(r),"onUpdate:modelValue":s[1]||(s[1]=a=>Z(r)?r.value=a:null),onChange:l(c)},null,8,["modelValue","onChange"])])]),_:1})),[[N,l(r).loading]])])}}});export{Rt as default};