|
- import{y as w,B as C,b as n,c as u,L as f,h as i,e as m,f as d,d as B,F as x,H as S,t as D,i as F,k as M}from"./index-dd5fae99.js";const N={class:"p-16"},V=M({name:"leaveDialog"}),q=Object.assign(V,{props:{visible:{type:Boolean,default:!1,required:!0},initData:{type:Array,default:()=>[{name:"配置单位流程",remark:"用于项目审核,请先配置单位默认流程。",path:"systemManage/unitSet/flowPathConfiguration"},{name:"配置印章编码",remark:"用于电子签章。",path:"systemManage/unitSet/fiscalCodeSet"}]}},emits:["close"],setup(c,{emit:_}){const y=c,v=w(),g=_,k=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},b=e=>{const t=v.resolve({path:`/systemManage/${e}`,query:k(e)});window.open(t.href,"_blank")};return C(()=>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(),f(r,{"model-value":c.visible,title:"初始化引导",width:"600px","destroy-on-close":"",onClose:t[0]||(t[0]=s=>g("close"))},{default:i(()=>[m("div",null,[d(o,{title:"为保证正常申报项目,请完成以下配置工作:",closable:!1,type:"info","show-icon":"",class:"primary-alert"})]),m("div",N,[d(p,{direction:"vertical",space:100,active:-1},{default:i(()=>[(u(!0),B(x,null,S(c.initData.filter(s=>s.name!=="配置财政编码"),(s,h)=>(u(),f(a,{key:h,title:s.name,status:s.isFinish?"success":"wait"},{description:i(()=>[m("p",null,D(s.remark),1),d(l,{link:"",type:"primary",onClick:$=>b(s.path)},{default:i(()=>t[1]||(t[1]=[F("前往配置")])),_:2},1032,["onClick"])]),_:2},1032,["title","status"]))),128))]),_:1})])]),_:1},8,["model-value"])}}});export{q as default};
|