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.386d9fb7.js";import $ from"./Step1.c957d576.js";import V from"./Step2.3b7178bd.js";import W from"./Step3.bf17c686.js";import{P as b}from"./index.d521ae0a.js";import{S as i}from"./index.44ee4f36.js";import"./index.aa276cac.js";import"./BasicForm.a06b71db.js";/* empty css *//* empty css */import"./index.aed3fcbc.js";import"./index.d1a867f8.js";import"./Checkbox.ac2c3bae.js";import"./index.099bcd75.js";import"./index.772bb79c.js";import"./Group.e744a08a.js";import"./index.02f194d7.js";import"./eagerComputed.49b57638.js";import"./FileOutlined.4755ce7d.js";import"./index.74294103.js";import"./Form.91d201f3.js";import"./Col.7f949b31.js";import"./useFlexGapSupport.587c05ca.js";import"./_baseIteratee.3f358b05.js";import"./get.b8c3006a.js";import"./useSize.1400bc25.js";import"./useRefs.4d8307d4.js";import"./index.02a610c8.js";import"./index.dc654e6b.js";import"./index.02535309.js";import"./useWindowSizeFn.b46c26df.js";import"./FullscreenOutlined.9b13e7c7.js";import"./index.d77b16ba.js";import"./DeleteOutlined.852ea9a3.js";import"./index.d184e3ed.js";import"./index.2e642baa.js";import"./download.65105715.js";import"./base64Conver.08b9f4ec.js";import"./index.bb9930d5.js";import"./index.2741d802.js";import"./transButton.819dbf15.js";import"./index.28a5cbb8.js";import"./index.2adf5889.js";import"./uniqBy.3999e323.js";import"./useForm.67940d69.js";import"./data.1866c55a.js";import"./index.d292c432.js";import"./index.f43fc18b.js";import"./index.507c21d5.js";import"./index.d3334f45.js";import"./useContentViewHeight.c723fc13.js";import"./ArrowLeftOutlined.f1e0008b.js";import"./index.2e8270ab.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};
|