1 |
- import{_ as u,d as _,bv as d,x as v,r as h,aC as f,H as m,u as r,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,b as L}from"./index.fd765376.js";import{h as w}from"./index.0ca0374a.js";const I=e=>(D("data-v-5661815d"),e=e(),B(),e),P=I(()=>L("h1",{"font-bold":"","py-2":""},"\u6D41\u7A0B\u5217\u8868",-1)),S=["onClick"],A=_({__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(w())),(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(()=>[P,(t(!0),a(k,null,C(r(c),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,S))),128))]),_:1})),[[p,r(i)]])}}});var E=u(A,[["__scopeId","data-v-5661815d"],["__file","C:/Users/63107/Desktop/projects/accout-vue3-ui/src/views/parameter/setActionProcess/components/process-list.vue"]]);export{E as default};
|