You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
2.0KB

  1. import{d as w,y as C,J as x,c as n,e as u,G as f,i,g as m,h as d,f as B,F as S,H as D,t as j,j as F}from"./index.a2494fc2.js";const M={class:"p-16"},N=w({name:"leaveDialog"}),q=Object.assign(N,{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:_}){const y=c,g=C(),v=_,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},h=e=>{const t=g.resolve({path:`/systemManage/${e}`,query:k(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(),f(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",M,[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(),f(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:V=>h(s.path)},{default:i(()=>t[1]||(t[1]=[F("\u524D\u5F80\u914D\u7F6E")])),_:2},1032,["onClick"])]),_:2},1032,["title","status"]))),128))]),_:1})])]),_:1},8,["model-value"])}}});export{q as default};