1 |
- var E=Object.defineProperty;var _=Object.getOwnPropertySymbols;var A=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable;var S=(t,e,o)=>e in t?E(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o,f=(t,e)=>{for(var o in e||(e={}))A.call(e,o)&&S(t,o,e[o]);if(_)for(var o of _(e))k.call(e,o)&&S(t,o,e[o]);return t};import{av as x,a as y,s as R,v as w,b7 as D,a_ as p,o as u,j as m,y as v,m as h,n,w as a,x as s,k as F}from"./index.e732a6c4.js";import $ from"./Step1.752edb6f.js";import V from"./Step2.ab685328.js";import W from"./Step3.c815ac5b.js";import{P as b}from"./index.3b7c359a.js";import{S as i}from"./index.46dd2a8a.js";import"./index.cc5ad1da.js";import"./BasicForm.fe571845.js";/* empty css *//* empty css */import"./index.7a5d609f.js";import"./index.52a860e2.js";import"./Checkbox.cd11793f.js";import"./index.67c9fd33.js";import"./index.8dc260b3.js";import"./Group.94ed732f.js";import"./index.48dc9414.js";import"./eagerComputed.d8debd6e.js";import"./FileOutlined.a9bd2925.js";import"./index.676f2157.js";import"./Form.31f13834.js";import"./Col.f597069f.js";import"./useFlexGapSupport.b687f8e8.js";import"./_baseIteratee.9ce959b8.js";import"./get.cddfc9f0.js";import"./useSize.251fd95d.js";import"./useRefs.c7c3b4e2.js";import"./index.fe26b69e.js";import"./index.87a8710f.js";import"./index.c44e7998.js";import"./useWindowSizeFn.ef03f01e.js";import"./FullscreenOutlined.67299bdd.js";import"./index.bc95baf4.js";import"./DeleteOutlined.9453861b.js";import"./index.2b4dfc13.js";import"./index.f193ab6e.js";import"./download.23a01323.js";import"./base64Conver.08b9f4ec.js";import"./index.f3ce990d.js";import"./index.aeafc823.js";import"./transButton.9d7d2b69.js";import"./index.40d1aea5.js";import"./index.9abce0d5.js";import"./uniqBy.1074b370.js";import"./useForm.d622c54a.js";import"./data.1866c55a.js";import"./index.69904431.js";import"./index.f5df95d1.js";import"./index.5f78f2da.js";import"./index.131a0cf6.js";import"./useContentViewHeight.b55f3b98.js";import"./ArrowLeftOutlined.ed827216.js";import"./index.edd35c1d.js";const j=y({name:"FormStepPage",components:{Step1:$,Step2:V,Step3:W,PageWrapper:b,[i.name]:i,[i.Step.name]:i.Step},setup(){const t=R(0),e=w({initSetp2:!1,initSetp3:!1});function o(r){t.value++,e.initSetp2=!0}function c(){t.value--}function l(r){t.value++,e.initSetp3=!0}function d(){t.value=0,e.initSetp2=!1,e.initSetp3=!1}return f({current:t,handleStep1Next:o,handleStep2Next:l,handleRedo:d,handleStepPrev:c},D(e))}}),I={class:"step-form-form"},q={class:"mt-5"};function z(t,e,o,c,l,d){const r=p("a-step"),B=p("a-steps"),C=p("Step1"),N=p("Step2"),P=p("Step3"),g=p("PageWrapper");return u(),m(g,{title:"\u5206\u6B65\u8868\u5355",contentBackground:"",content:" \u5C06\u4E00\u4E2A\u5197\u957F\u6216\u7528\u6237\u4E0D\u719F\u6089\u7684\u8868\u5355\u4EFB\u52A1\u5206\u6210\u591A\u4E2A\u6B65\u9AA4\uFF0C\u6307\u5BFC\u7528\u6237\u5B8C\u6210\u3002",contentClass:"p-4"},{default:v(()=>[h("div",I,[n(B,{current:t.current},{default:v(()=>[n(r,{title:"\u586B\u5199\u8F6C\u8D26\u4FE1\u606F"}),n(r,{title:"\u786E\u8BA4\u8F6C\u8D26\u4FE1\u606F"}),n(r,{title:"\u5B8C\u6210"})]),_:1},8,["current"])]),h("div",q,[a(n(C,{onNext:t.handleStep1Next},null,8,["onNext"]),[[s,t.current===0]]),t.initSetp2?a((u(),m(N,{key:0,onPrev:t.handleStepPrev,onNext:t.handleStep2Next},null,8,["onPrev","onNext"])),[[s,t.current===1]]):F("",!0),t.initSetp3?a((u(),m(P,{key:1,onRedo:t.handleRedo},null,8,["onRedo"])),[[s,t.current===2]]):F("",!0)])]),_:1})}var Gt=x(j,[["render",z],["__scopeId","data-v-71d43ad8"]]);export{Gt as default};
|