1 |
- import{_ as u,d as _,b3 as d,F as v,x as h,aA as f,O as m,u as a,o as t,N as b,K as g,c as r,M as k,L as x,J as y,T as C,$ as D,a0 as L,b as B}from"./index.1417328f.js";import{h as P}from"./index.1c6d01e9.js";const w=e=>(D("data-v-5661815d"),e=e(),L(),e),A=w(()=>B("h1",{"font-bold":"","py-2":""},"\u6D41\u7A0B\u5217\u8868",-1)),I=["onClick"],S=_({__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(P())),(j,F)=>{const l=h("el-scrollbar"),p=f("loading");return m((t(),b(l,{"h-full":"","px-5":"",class:"processs-list__content"},{default:g(()=>[A,(t(!0),r(x,null,k(a(c),s=>(t(),r("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,I))),128))]),_:1})),[[p,a(i)]])}}});var O=u(S,[["__scopeId","data-v-5661815d"],["__file","/Users/apple/Desktop/Company Projects/accout-vue3-ui/src/views/parameter/setActionProcess/components/process-list.vue"]]);export{O as default};
|