import{d as w,A as C,L as x,c as n,e as u,I as _,i,g as m,h as d,f as B,F as S,J as D,t as j,j as A}from"./index.5bb861d3.js";const F={class:"p-16"},M=w({name:"leaveDialog"}),$=Object.assign(M,{props:{visible:{type:Boolean,default:!1,required:!0},initData:{type:Array,default:()=>[{name:"\u914D\u7F6E\u5355\u4F4D\u6D41\u7A0B",remark:"\u7528\u4E8E\u9879\u76EE\u5BA1\u6838\uFF0C\u8BF7\u5148\u914D\u7F6E\u5355\u4F4D\u9ED8\u8BA4\u6D41\u7A0B\u3002",path:"systemManage/unitSet/flowPathConfiguration"},{name:"\u914D\u7F6E\u5370\u7AE0\u7F16\u7801",remark:"\u7528\u4E8E\u7535\u5B50\u7B7E\u7AE0\u3002",path:"systemManage/unitSet/fiscalCodeSet"}]}},emits:["close"],setup(c,{emit:f}){const y=c,g=C(),v=f,h=e=>{const t=(e==null?void 0:e.split("?")[1])||"";if(!t)return{};const o={},l=t.split("&");for(let a=0,p=l.length;a<p;a++){const r=l[a].split("=");o[r[0]]=r[1]}return o},k=e=>{const t=g.resolve({path:`/systemManage/${e}`,query:h(e)});window.open(t.href,"_blank")};return x(()=>y.visible,async e=>{e&&console.log(e)}),(e,t)=>{const o=n("el-alert"),l=n("el-button"),a=n("el-step"),p=n("el-steps"),r=n("el-dialog");return u(),_(r,{"model-value":c.visible,title:"\u521D\u59CB\u5316\u5F15\u5BFC",width:"600px","destroy-on-close":"",onClose:t[0]||(t[0]=s=>v("close"))},{default:i(()=>[m("div",null,[d(o,{title:"\u4E3A\u4FDD\u8BC1\u6B63\u5E38\u7533\u62A5\u9879\u76EE\uFF0C\u8BF7\u5B8C\u6210\u4EE5\u4E0B\u914D\u7F6E\u5DE5\u4F5C\uFF1A",closable:!1,type:"info","show-icon":"",class:"primary-alert"})]),m("div",F,[d(p,{direction:"vertical",space:100,active:-1},{default:i(()=>[(u(!0),B(S,null,D(c.initData.filter(s=>s.name!=="\u914D\u7F6E\u8D22\u653F\u7F16\u7801"),(s,b)=>(u(),_(a,{key:b,title:s.name,status:s.isFinish?"success":"wait"},{description:i(()=>[m("p",null,j(s.remark),1),d(l,{link:"",type:"primary",onClick:N=>k(s.path)},{default:i(()=>[A("\u524D\u5F80\u914D\u7F6E")]),_:2},1032,["onClick"])]),_:2},1032,["title","status"]))),128))]),_:1})])]),_:1},8,["model-value"])}}});export{$ as default};
