1 |
- import{_,d as p,br as d,F as v,x as h,aA as f,O as m,u as r,o as t,N as b,K as g,c as a,M as k,L as x,J as y,T as C,$ as D,a0 as L,b as w}from"./index.743f0c80.js";import{h as B}from"./index.9806b57e.js";const A=e=>(D("data-v-5661815d"),e=e(),L(),e),I=A(()=>w("h1",{"font-bold":"","py-2":""},"\u6D41\u7A0B\u5217\u8868",-1)),P=["onClick"],S=p({__name:"process-list",props:{currentProcess:{type:Object,required:!0}},emits:["change-btn-click"],setup(e,{emit:o}){const{run:n,data:c,loading:i}=d({initalData:[],isList:!0,success:()=>o("change-btn-click",c.value[0])});return v(()=>n(B())),(F,M)=>{const l=h("el-scrollbar"),u=f("loading");return m((t(),b(l,{"h-full":"","px-5":"",class:"processs-list__content"},{default:g(()=>[I,(t(!0),a(x,null,k(r(c),s=>(t(),a("p",{class:y(["px-1 hover:bg-#f7f7f7 hover:color-blue cursor-pointer duration-200 rounded",{"is-active":e.currentProcess.id===s.id}]),onClick:()=>o("change-btn-click",s),key:s.id},C(s.process_name),11,P))),128))]),_:1})),[[u,r(i)]])}}});var j=_(S,[["__scopeId","data-v-5661815d"],["__file","D:/work/accout-vue3-ui/src/views/parameter/setActionProcess/components/process-list.vue"]]);export{j as default};
|