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.f9240906.js";import $ from"./Step1.e5fd7e44.js";import V from"./Step2.10139e44.js";import W from"./Step3.5da865b5.js";import{P as b}from"./index.ab16c1d0.js";import{S as i}from"./index.30fe186e.js";import"./index.beaefc64.js";import"./BasicForm.77d882bb.js";/* empty css *//* empty css */import"./index.db62f8f7.js";import"./index.7133fb8f.js";import"./Checkbox.d036b137.js";import"./index.c77d3359.js";import"./index.bc2ce3a3.js";import"./Group.1f288892.js";import"./index.58e9abd1.js";import"./eagerComputed.938959e2.js";import"./FileOutlined.3b0f12f3.js";import"./index.4c8ee6bd.js";import"./Form.01cea6c8.js";import"./Col.46372180.js";import"./useFlexGapSupport.3936e9ba.js";import"./_baseIteratee.dc5455db.js";import"./get.10de1502.js";import"./useSize.3965ca89.js";import"./useRefs.704645bf.js";import"./index.fe79a0f6.js";import"./index.4910aef7.js";import"./index.5dfb37d9.js";import"./useWindowSizeFn.e05ba499.js";import"./FullscreenOutlined.16e551d7.js";import"./index.837faab1.js";import"./DeleteOutlined.a5ce7fb8.js";import"./index.e280a527.js";import"./index.e73b9811.js";import"./download.f0b284ec.js";import"./base64Conver.08b9f4ec.js";import"./index.14dde92d.js";import"./index.6ebf08b3.js";import"./transButton.bc515676.js";import"./index.12dee4f1.js";import"./index.48100a2d.js";import"./uniqBy.8dd4637c.js";import"./useForm.241a9971.js";import"./data.1866c55a.js";import"./index.b5d67c2d.js";import"./index.ed794bf0.js";import"./index.963f7d97.js";import"./index.e6f3c6c4.js";import"./useContentViewHeight.51fb01ea.js";import"./ArrowLeftOutlined.8ef55b3d.js";import"./index.ae5f4215.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};
|