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