1 |
- import{_,d,w as n,aC as p,H as v,o as m,c as f,h as x,j as i,aN as c}from"./index.js";import h from"./process-list.306b02.js";import g from"./role-list.779bcc.js";import{h as w}from"./index.21ab3104.js";import"./index.84fc395c.js";const D={class:"main role"},B={class:"flex bg-white justify-between h-[calc(100vh-85px)]"},C=d({__name:"index",setup(b){const e=n({}),s=n(!1);async function l(o){const a={action_data:o.filter(u=>!!u),roleid:e.value.id};s.value=!0;const{code:r,message:k}=await w(a);s.value=!1,r===0?c.success("\u4FDD\u5B58\u6210\u529F"):c.warning("\u4FDD\u5B58\u5931\u8D25")}return(o,t)=>{const a=p("loading");return v((m(),f("div",D,[x("div",B,[i(g,{class:"min-w-200px mr-5","current-role":e.value,onChangeCurrentRole:t[0]||(t[0]=r=>e.value=r)},null,8,["current-role"]),i(h,{"flex-1":"","current-role":e.value,onSaveBtnClick:l},null,8,["current-role"])])])),[[a,s.value]])}}});var R=_(C,[["__scopeId","data-v-5b0ecad6"],["__file","C:/Users/Administrator/Desktop/projects/purchase-vue3/src/views/supplierInterest/supplierProcessPermission/index.vue"]]);export{R as default};
|