1 |
- import{_,d as u,bG as d,y as v,r as h,aD as f,H as m,m as c,o as t,G as b,D as g,c as a,F as k,E as y,C,L as D,Q as x,R as L,h as B}from"./index.js";import{h as w}from"./index.ca1aa6c6.js";const I=e=>(x("data-v-5661815d"),e=e(),L(),e),P=I(()=>B("h1",{"font-bold":"","py-2":""},"\u6D41\u7A0B\u5217\u8868",-1)),S=["onClick"],A=u({__name:"process-list",props:{currentProcess:{type:Object,required:!0}},emits:["change-btn-click"],setup(e,{emit:o}){const{run:n,data:r,loading:i}=d({initalData:[],isList:!0,success:()=>o("change-btn-click",r.value[0])});return v(()=>n(w())),(j,E)=>{const l=h("el-scrollbar"),p=f("loading");return m((t(),b(l,{"h-full":"","px-5":"",class:"processs-list__content"},{default:g(()=>[P,(t(!0),a(k,null,y(c(r),s=>(t(),a("p",{class:C(["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},D(s.process_name),11,S))),128))]),_:1})),[[p,c(i)]])}}});var q=_(A,[["__scopeId","data-v-5661815d"],["__file","C:/Users/89793/Desktop/projects/settle-vue3/src/views/parameter/setActionProcess/components/process-list.vue"]]);export{q as default};
|