1 |
- import{_,d as u,bq as d,x as h,r as v,aC as f,H as m,l as r,o as t,G as g,C as b,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-59c501d3"),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:c,loading:i}=d({initalData:[],isList:!0,success:()=>o("change-btn-click",c.value[0])});return h(()=>n(w({page:1,size:1e3}))),(j,q)=>{const l=v("el-scrollbar"),p=f("loading");return m((t(),g(l,{"h-full":"","px-5":"",class:"processs-list__content"},{default:b(()=>[I,(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,P))),128))]),_:1})),[[p,r(i)]])}}});var E=_(S,[["__scopeId","data-v-59c501d3"],["__file","C:/Users/Administrator/Desktop/projects/purchase-vue3/src/views/system/setActionProcess/components/process-list.vue"]]);export{E as default};
|